skill-diff
Warn
Audited by Snyk on Jun 21, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.95). In
scripts/compare.shfull mode, the script fetches outsider-authored free text from GitHub at runtime viagh api repos/$R_OWNER/$R_REPO/contents/$R_PATH(upstreamSKILL.md), then passes both local and fetched text intodiff -uand prints the raw diff for Claude to ingest.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.90). The script calls the GitHub API at runtime (via gh api "repos/$owner/$repo/git/trees/HEAD?recursive=1" and gh api "repos/$R_OWNER/$R_REPO/contents/$R_PATH" — i.e. https://api.github.com/repos///contents/) to fetch the upstream SKILL.md and injects that content (the raw diff) into the agent's interpretation step, so external content directly controls the agent prompt/output.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata