huggingface-datasets
Fail
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: HIGHDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONREMOTE_CODE_EXECUTION
Full Analysis
- [DATA_EXFILTRATION]: The skill instructs the agent to access sensitive local directories where session logs are stored, such as
~/.claude/projects,~/.codex/sessions, and~/.pi/agent/sessions. These files typically contain conversation history, private source code, and potentially exposed secrets. The documentation provides instructions and commands (e.g.,npx @huggingface/hub uploadandhf upload) to transmit these local files to Hugging Face datasets, which could lead to unauthorized disclosure of private information. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest data from the external Hugging Face Dataset Viewer API, which could contain adversarial instructions targeting the agent.
- Ingestion points: API endpoints like
/rows,/search, and/filterdocumented in SKILL.md. - Boundary markers: No delimiters or warnings to ignore instructions within the data are provided.
- Capability inventory: Shell command execution via
curl,npx, andhfCLI. - Sanitization: No sanitization or validation of the fetched dataset rows is specified.
- [EXTERNAL_DOWNLOADS]: The skill uses
npx -y @huggingface/hubto execute a package from the official Hugging Face registry. While the source is a well-known service, this pattern downloads and runs remote code at runtime. - [REMOTE_CODE_EXECUTION]: Runtime execution of the
@huggingface/hubpackage vianpxis documented for file upload operations. - [COMMAND_EXECUTION]: Multiple shell commands utilizing
curl,npx, and thehfCLI are integrated into the skill's workflow for data retrieval and repository management.
Recommendations
- AI detected serious security threats
Audit Metadata