transformers-js
Warn
Audited by Snyk on Aug 18, 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 ingests outsider-authored free text at inference time via user-supplied inputs (e.g.,
extractor(text)/generator(prompt)/req.body.text) rather than only trusted provider-authored content.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.90). The skill includes runtime imports of remote executable artifacts (JS/WASM) from the CDN URLs https://cdn.jsdelivr.net/npm/@huggingface/transformers and https://cdn.jsdelivr.net/npm/onnxruntime-web/dist/, which are fetched and executed in-browser and are required for browser examples.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata