Skip to content

[audit] prompt-override rule flags API example code inside Markdown docs — anthropics/skills can never install/update #468

Closed

Description

@483218131

Environment

skillshare v0.25.1, Windows.

Symptoms

install/update of anthropics/skills is always blocked and rolled back by the audit (repeatedly since 2026-06). Taking update as an example: all 18 "SYSTEM: prompt override detected" CRITICAL findings hit SDK example code inside fenced code blocks in skills/claude-api/ READMEs, e.g.:

system: "You are a helpful coding assistant."
anthropic.String("You are a helpful coding agent.")

These are documentation examples, not injections.

Impact

Anyone installing the official anthropics/skills cannot update normally and must use --force / --skip-audit.

Suggested fix

Skip matches inside fenced code blocks in the static rules; or downgrade findings inside code blocks of .md docs to warnings; or provide a per-repo/per-path ignore config (if it already exists, please point me to the docs).

Happy to provide the full list of the 18 findings.

Activity

  1. self-assigned this
    on Oct 7, 2026
  2. added
    feature
    on Oct 7, 2026
  3. runkids commented on Oct 7, 2026

    @runkids
    Owner

    Thanks for reporting this. Fixed in #475, which has been merged and will be included in the next release.

    Recognized SDK system: parameters in Markdown code examples now produce HIGH warnings instead of CRITICAL findings. With the default audit policy, these examples no longer block installation or updates. Strict policy still blocks HIGH findings, and code blocks remain scanned for other security risks.

    We verified the fix against anthropics/skills: claude-api now has no CRITICAL findings and passes the default blocking threshold. Regression tests and Windows CI also pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions