hugging-science

Pass

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill fetches scientific catalog data from huggingscience.co to help the agent discover models and datasets. This creates an attack surface where instructions could be hidden in resource descriptions. However, the skill implements proactive mitigations:
  • Ingestion points: scripts/fetch_catalog.py fetches data from huggingscience.co/topics/<slug>.md and other catalog endpoints.
  • Boundary markers: The script wraps all fetched content with a UNTRUSTED_BANNER that explicitly warns the agent that the data is untrusted and should not be treated as instructions.
  • Capability inventory: The skill uses urllib for network requests and provides code templates for loading Hugging Face resources using the datasets and transformers libraries.
  • Sanitization: The _defang function in scripts/fetch_catalog.py neutralizes potential injection vectors by replacing markdown code fences (backticks) and removing horizontal rules that could be used to spoof frontmatter.
  • [EXTERNAL_DOWNLOADS]: The skill performs network operations to fetch metadata and citations from known sources:
  • Fetches catalog indices and topic files from huggingscience.co (the project's official domain).
  • Instructs the agent to fetch citation metadata from arxiv.org (a well-known scientific repository).
  • These operations are consistent with the skill's primary purpose and use trusted or project-specific infrastructure.
  • [DYNAMIC_EXECUTION]: The skill documentation discusses the trust_remote_code=True parameter required by certain Hugging Face models to execute custom architecture code. It correctly identifies this as a potential security risk and provides responsible guidance, such as requiring manual review of the repository and pinning specific code revisions to prevent the execution of unverified updates.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 01:32 PM