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(), and pipeline() to fetch resources from huggingface.co (found in SKILL.md and references/training.md).\n
  • Boundary markers: No specific boundary markers are enforced, but the documentation highlights the use of safetensors as 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 Bash tool.\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_code parameter, which allows the library to execute custom Python code provided with a model architecture.\n
  • Evidence: SKILL.md explicitly warns users to review custom code and use pinned revisions before enabling this parameter, mitigating the risk of executing unauthorized remote code.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 31, 2026, 01:35 PM