hugging-science

Pass

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill ingest data from a remote catalog at huggingscience.co using scripts/fetch_catalog.py. This data is third-party and could potentially contain malicious instructions intended to influence the agent.
  • Ingestion points: Remote markdown files fetched from huggingscience.co (topics, index, and full catalog).
  • Boundary markers: The fetching script prepends a clear UNTRUSTED_BANNER to all retrieved content, explicitly instructing the agent to treat the data as untrusted and not as instructions.
  • Capability inventory: The skill allows execution of Python scripts, shell commands via the catalog tool, and model loading via transformers (including trust_remote_code).
  • Sanitization: The _defang function in scripts/fetch_catalog.py sanitizes fetched text by replacing markdown code fences (```) with [fence] and removing triple dashes (---) to prevent the content from being interpreted as executable code blocks or YAML frontmatter by the agent.
  • [DYNAMIC_EXECUTION]: The skill facilitates the use of the trust_remote_code=True flag in Hugging Face's transformers library, which allows for the execution of custom modeling code provided in remote model repositories. This is a common but sensitive operation in scientific ML.
  • Evidence: Instructions in SKILL.md and references/using-models.md detail how to use this flag.
  • Mitigation: The skill includes a strict requirement that the agent must ask for user consent, specifically naming the repository, before enabling the flag.
  • [COMMAND_EXECUTION]: The skill provides a bundled Python script (scripts/fetch_catalog.py) and instructions to use it via the shell. It also recommends using standard package managers like uv to install dependencies. These operations are restricted to the intended discovery and setup workflow.
  • [EXTERNAL_DOWNLOADS]: The skill fetches catalog data from huggingscience.co and recommends downloading datasets and models from the well-known Hugging Face Hub (huggingface.co). These are essential services for the skill's primary function and are used in a transparent manner.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 31, 2026, 01:40 PM