ast-grep
Warn
Audited by Snyk on Aug 6, 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 required runtime workflow ingests outsider-controlled free text when the user provides the AST
pattern/rewritestrings toscripts/ast_grep_helper.pysubcommandssearch/replace, which then callssg runand parses repository file contents against that pattern.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.80). The POSIX/Windows installers download and install a release binary at runtime (e.g. URL="https://github.com/ast-grep/ast-grep/releases/download/${PINNED_VERSION}/${ASSET}") which fetches and places/executess remote code that the skill can rely on.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata