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.py ingests outsider-authored free text as the pattern / rewrite arguments to search and replace, then passes them to sg 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).

Issues (2)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 9, 2026, 12:43 PM
Issues
2
Security Audit — snyk — ast-grep