transformers-js
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFE
Full Analysis
- [External Resource Loading]: The skill downloads pre-trained machine learning models and WASM binaries from the Hugging Face Hub and official CDNs. These are core functionalities of the library and originate from trusted infrastructure. The documentation correctly identifies how to restrict these to local-only mode for air-gapped environments.
- [Dependency Management]: The skill references official Node.js packages such as
@huggingface/transformersand@huggingface/tokenizers. These are legitimate packages managed by the vendor and do not exhibit suspicious installation patterns. - [Network Configuration]: The configuration options provided (e.g., custom
env.fetch) are intended for legitimate use cases such as adding authentication headers for private model repositories or managing retries, rather than data exfiltration. - [Resource Management]: The instructions consistently emphasize memory management through the
pipe.dispose()method, which is an important best practice for maintaining application stability in machine learning workflows.
Audit Metadata