codebase-cleanup-audit
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). In
scripts/cleanup-snapshot/snapshot.mjsthe runtime walks and reads all text/code files under the user-supplied--root(viainventory.mjsandfunction-scanner.mjs), meaning any outsider-authored files placed in that filesystem are ingested as free text at runtime without pre-selecting trusted items.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata