transformers
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill provides instructions for loading models and datasets from the Hugging Face Hub, which serves as a potential vector for malicious instructions embedded in external artifacts.
- Ingestion points: Model loading via
from_pretrained()inreferences/models.mdand dataset loading viaload_dataset()inreferences/training.md. - Boundary markers: The skill includes explicit warnings in
SKILL.mdto review custom code associated with models before settingtrust_remote_code=True. - Capability inventory: The skill is configured with
Bash,Read,Write, andEdittools, allowing for file system and command-line operations. - Sanitization: The documentation relies on manual user review of model cards and code as the primary safety mechanism.
- [SAFE]: The skill promotes secure credential management by instructing users to avoid hardcoding authentication tokens like
HF_TOKEN, recommending instead the use of environment variables, secret managers, or official CLI login tools. - [SAFE]: All documented package dependencies are well-known, industry-standard libraries for machine learning and data science, with specific version pinning to ensure environment stability.
Audit Metadata