ast-grep
Warn
Audited by Snyk on Aug 9, 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 runtime workflow in
scripts/ast_grep_helper.pyingests outsider-authored free text as thepattern/rewritearguments tosearchandreplace, then passes them tosg run/sg scan(i.e., no prior selection of a specific trusted item first).
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.80). The skill's installers and README explicitly fetch and install prebuilt ast-grep binaries at runtime from GitHub (e.g. https://github.com/ast-grep/ast-grep/releases/download/${PINNED_VERSION}/${ASSET}), which are downloaded during installation 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