transformers
Pass
Audited by Gen Agent Trust Hub on Jul 12, 2026
Risk Level: SAFEREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill documents the
trust_remote_code=Trueparameter, which enables the execution of arbitrary Python code included in model repositories on the Hugging Face Hub. The documentation includes a clear safety warning, advising users to only use this feature when they have reviewed the model's custom code.- [COMMAND_EXECUTION]: The skill provides instructions for the agent to execute shell commands, specificallyuv pip installto set up official Python dependencies liketransformers,huggingface_hub, anddatasets.- [PROMPT_INJECTION]: The skill handles data from external model repositories and generates text based on user input, creating a vulnerability surface for indirect prompt injection. - Ingestion points: Remote model weights, metadata, and custom scripts loaded from the Hugging Face Hub via the
AutoModelandpipelineAPIs. - Boundary markers: The skill examples follow basic library usage and do not demonstrate explicit sanitization or input delimiters.
- Capability inventory: The skill is granted access to bash, file system operations, and network connectivity for model management.
- Sanitization: No explicit input filtering or output sanitization is implemented in the provided documentation snippets.
Audit Metadata