webtorrent
Warn
Audited by Snyk on Aug 8, 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). SKILL.md’s runtime workflow ingests outsider-authored free text indirectly via user-supplied torrent identifiers (magnet URI / remote .torrent URL) passed to
client.add(...), which then leads the library to fetch and parse torrent metadata and per-file fields like names/comments.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.90). The browser example imports remote JavaScript from https://esm.sh/webtorrent which would be fetched and executed at runtime, allowing arbitrary remote code to run in the executing environment.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata