transformers-js
Pass
Audited by Gen Agent Trust Hub on Sep 10, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill fetches machine learning models, configuration files, and tokenizer data from Hugging Face Hub.
- Evidence: Mentions
huggingface.coas the primary source for model resolution inSKILL.mdandreferences/CONFIGURATION.md. - [EXTERNAL_DOWNLOADS]: The skill downloads library scripts and ONNX Runtime WebAssembly binaries from the JSDelivr CDN to facilitate model inference.
- Evidence: References to
https://cdn.jsdelivr.net/npm/@huggingface/transformersin browser usage examples. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data, such as text, images, and audio, as inputs to machine learning models, representing a typical integration attack surface.
- Ingestion points: Data inputs provided to the
pipeline()tasks throughout the documentation, including user-provided text, remote image URLs, and audio blobs. - Boundary markers: None; the skill acts as a direct wrapper for model inference without implementing its own prompt delimiters or guardrails.
- Capability inventory: File system access for model caching (Node.js), network operations for acquiring model assets, and CPU/GPU-based inference execution.
- Sanitization: No input validation or output filtering is performed by the skill itself; safety depends on the underlying model and implementation.
- [DYNAMIC_EXECUTION]: The skill dynamically loads and executes WebAssembly (WASM) binaries to provide the execution backend for model inference across different JavaScript runtimes.
- Evidence: Documentation in
references/CONFIGURATION.mddescribes configuringwasmPathsto load.wasmfiles likeort-wasm.wasmfrom CDNs or local storage.
Audit Metadata