hugging-science
Pass
Audited by Gen Agent Trust Hub on Nov 2, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill fetches resource descriptions and metadata from an external catalog hosted at huggingscience.co. Although the fetch_catalog.py script attempts to sanitize this content by removing code fences and adding a warning banner, the process of ingesting third-party markdown into the agent context creates a potential surface for indirect prompt injection.
- Ingestion points: scripts/fetch_catalog.py fetches llms.txt, llms-full.txt, and topic-specific files.
- Boundary markers: The script prepends a warning (UNTRUSTED_BANNER) to the fetched content.
- Capability inventory: The skill utilizes datasets, transformers (with trust_remote_code capability), and gradio_client.
- Sanitization: The _defang function replaces triple backticks and removes horizontal rules to prevent executable code block generation or context hijacking.
- [EXTERNAL_DOWNLOADS]: The skill performs network requests to huggingscience.co to retrieve catalog indices and topic-specific scientific resource lists.
- [DYNAMIC_EXECUTION]: The skill documentation (references/using-models.md) provides instructions for loading models using the trust_remote_code=True parameter in the Hugging Face transformers library. This allows the execution of arbitrary Python code from the model repository. The skill correctly identifies this as a risk and instructs the agent to ask the user for explicit permission before setting this flag.
Audit Metadata