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.cousingscripts/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_BANNERto 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(includingtrust_remote_code). - Sanitization: The
_defangfunction inscripts/fetch_catalog.pysanitizes 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=Trueflag in Hugging Face'stransformerslibrary, 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.mdandreferences/using-models.mddetail 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 likeuvto install dependencies. These operations are restricted to the intended discovery and setup workflow. - [EXTERNAL_DOWNLOADS]: The skill fetches catalog data from
huggingscience.coand 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