transformers
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill provides patterns for loading models and datasets from the Hugging Face Hub, which involves ingesting external, potentially untrusted third-party content into the agent's execution environment.\n
- Ingestion points: The skill utilizes
AutoModel.from_pretrained(),load_dataset(), andpipeline()to fetch resources fromhuggingface.co(found inSKILL.mdandreferences/training.md).\n - Boundary markers: No specific boundary markers are enforced, but the documentation highlights the use of
safetensorsas a safer alternative to pickle-based formats.\n - Capability inventory: The skill environment allows file writes, network access for model downloads, and shell command execution via the
Bashtool.\n - Sanitization: The instructions recommend manual verification of model metadata and pinning revisions to specific, immutable commits to ensure content integrity.\n- [DYNAMIC_EXECUTION]: The documentation describes the use of the
trust_remote_codeparameter, which allows the library to execute custom Python code provided with a model architecture.\n - Evidence:
SKILL.mdexplicitly warns users to review custom code and use pinned revisions before enabling this parameter, mitigating the risk of executing unauthorized remote code.
Audit Metadata