code-complexity-stats-pr
Warn
Audited by Snyk on Aug 15, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (medium risk: 0.30). The GitHub Actions workflow checks out the PR’s code, runs
scc, readsscc-output.txt(derived from repository file contents authored by outsiders), and injects that raw text into the PR comment body viaactions/github-script—so outsider-authored free text is ingested at runtime without selecting a specific item first.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.90). The workflow's Install step downloads and then runs the scc tarball from "https://github.com/boyter/scc/releases/download/v${SCC_VERSION}/scc_Linux_x86_64.tar.gz" at runtime, meaning remote code is fetched and executed as a required dependency.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata