web-assets-optimization

Warn

Audited by Snyk on Jul 26, 2026

Risk Level: MEDIUM
Full Analysis

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

  • Third-party content exposure detected (high risk: 0.72). Step 2 ingests outsider-authored free text from the project’s source files by reading them as UTF-8 with scan-assets.py (collect_references() reads each .md/.html/.js/.tsx/... file and extracts matched asset reference strings, including remoteReferences and per-reference raw candidates), and this extracted text is then fed back into the agent via the tool output in Step 3 (--format markdown/json), creating an indirect prompt-injection pathway if those files contain attacker-controlled text.

Issues (1)

W011
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 26, 2026, 04:18 PM
Issues
1
Security Audit — snyk — web-assets-optimization