detecting-malicious-npm-packages
Warn
Audited by Snyk on Aug 3, 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 required runtime workflow reads outsider-authored free text from the contents of npm-distributed tarballs/JS source (e.g.,
scripts/agent.pydownloadsdist.tarballvianpm view … dist.tarballand then parsespackage.jsonscripts and scans extracted*.jstext for regex matches), which is attacker-controlled.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata