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.mjs the runtime walks and reads all text/code files under the user-supplied --root (via inventory.mjs and function-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
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 9, 2026, 11:48 AM
Issues
1
Security Audit — snyk — codebase-cleanup-audit