hugging-science
Pass
Audited by Gen Agent Trust Hub on Oct 2, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external scientific catalogs, creating a surface for potential indirect injection. This is addressed through several mitigations:\n
- Ingestion points: Resource descriptions are fetched from huggingscience.co via the scripts/fetch_catalog.py script.\n
- Boundary markers: Fetched content is prepended with a UNTRUSTED_BANNER to distinguish third-party data from agent instructions.\n
- Capability inventory: The skill utilizes network operations (urllib), model loading (transformers), and dataset processing (datasets), all of which are managed via instructions in SKILL.md and scripts/fetch_catalog.py.\n
- Sanitization: The _defang function in scripts/fetch_catalog.py removes potential injection triggers like code fences and horizontal rules before the data reaches the agent's context.\n- [DYNAMIC_EXECUTION]: The skill facilitates the use of specialized scientific ML models. It provides clear instructions in SKILL.md and references/using-models.md for the agent to explicitly warn the user and seek confirmation before enabling the trust_remote_code flag when loading models from the Hugging Face Hub.\n- [DATA_EXFILTRATION]: Authenticated access to datasets and models is handled through Hugging Face tokens. The skill documentation in SKILL.md and references/using-spaces.md guides the agent to use secure environment variables and to confirm with the user before performing authenticated operations on third-party interactive demos (Spaces).\n- [EXTERNAL_DOWNLOADS]: The skill manages resource discovery and acquisition from the vendor's catalog domain and well-known machine learning infrastructure. All downloads are performed using standard, reputable libraries as described in the scripts/ and references/ directories.
Audit Metadata