transformers
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The skill documents the use of the
trust_remote_code=Trueparameter when loading models. This parameter allows the Transformers library to download and execute custom Python code provided by the model repository on the Hugging Face Hub. The instructions appropriately advise the user to enable this only for code that has been reviewed. - [INDIRECT_PROMPT_INJECTION]: The skill provides instructions for the agent to fetch citation metadata from the arXiv API (
export.arxiv.org) and incorporate it into documents. This creates a surface where content from a remote API could potentially influence the agent's output. - [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to process external data—such as text, images, and audio—using machine learning models. This inherently creates an attack surface for indirect prompt injection if the input data contains malicious instructions designed to be interpreted by the model or the agent processing the model's output.
- Ingestion points: arXiv API fetch in
SKILL.md, input parameters for various pipeline and model calls inreferences/pipelines.mdandreferences/generation.md. - Boundary markers: Not explicitly defined for the citation fetching or model input processes.
- Capability inventory: File system access (
Read,Write,Edittools) and shell execution (Bashtool). - Sanitization: The skill does not define specific sanitization or filtering protocols for external content processed by models.
- [EXTERNAL_DOWNLOADS]: The skill facilitates the installation of numerous Python packages from PyPI and the downloading of pre-trained models from the Hugging Face Hub. These operations target well-known services and are standard for the Transformers ecosystem.
Audit Metadata