hugging-science

Pass

Audited by Gen Agent Trust Hub on Sep 24, 2026

Risk Level: SAFE
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill fetches scientific resource metadata from an external site (huggingscience.co). It proactively mitigates injection risks by defanging the fetched content (removing markdown code fences and potential document separators) and prepending a clear warning banner to the agent's context to ensure fetched content is treated as data rather than instructions. Ingestion point: huggingscience.co. Boundary markers: UNTRUSTED_BANNER. Capability inventory: datasets.load_dataset, transformers.AutoModel, and gradio_client.Client. Sanitization: _defang function replaces code fences and removes separators.\n- [REMOTE_CODE_EXECUTION]: The documentation for using scientific foundation models explicitly addresses the risk of loading custom modeling code via the 'trust_remote_code=True' parameter. It provides clear guidelines for the agent to identify the specific repository, explain the risks of arbitrary code execution to the user, and wait for explicit confirmation before proceeding.\n- [CREDENTIALS_UNSAFE]: Authentication tokens for Hugging Face are handled using best practices. The skill instructs the agent to load credentials from a .env file and avoid hardcoding or logging sensitive tokens, ensuring that user secrets remain protected.\n- [EXTERNAL_DOWNLOADS]: The skill facilitates the download of datasets and models from well-known platforms like Hugging Face and its curated catalog. These operations are core to the skill's purpose and are handled through official libraries and secure coding patterns.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 24, 2026, 02:30 PM