transformers

Pass

Audited by Gen Agent Trust Hub on Oct 2, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process data from external sources such as the Hugging Face Hub (models) and various datasets. The processing of potentially attacker-controlled models or datasets presents a surface for indirect prompt injection.
  • Ingestion points: Uses datasets.load_dataset and AutoModel.from_pretrained (e.g., in SKILL.md, references/models.md, and references/training.md) to fetch external content.
  • Boundary markers: The provided code snippets do not demonstrate explicit boundary markers when interpolating dataset content into prompts.
  • Capability inventory: The skill environment permits Bash, Read, Write, and Edit tools, which could be abused if malicious instructions are followed.
  • Sanitization: The instructions do not include specific sanitization steps for external data beyond standard library usage.
  • [DYNAMIC_EXECUTION]: The documentation provides patterns for using the trust_remote_code=True parameter, which enables the execution of arbitrary code included in remote model repositories.
  • Evidence: SKILL.md and references/models.md discuss the use of trust_remote_code=True for custom model architectures.
  • Mitigation: The skill correctly warns users to only enable this for reviewed code, but the capability remains a high-tier risk factor.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 2, 2026, 05:01 PM