maintain-huggingface
Pass
Audited by Gen Agent Trust Hub on Nov 25, 2026
Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill prepares a private virtual environment and installs a bundled Python wheel (
ever_research-*.whl) to execute therhcommand-line tool. It usessubprocess.runto pass arguments from the agent's context to this tool for repository maintenance tasks. - [CREDENTIALS_UNSAFE]: The skill instructions and scripts utilize Hugging Face authentication tokens (
HF_TOKEN) and manage Space secrets. It provides instructions for the agent to guide users through authentication and to configure these credentials for accessing private repositories. - [EXTERNAL_DOWNLOADS]: Fetches repository snapshots, datasets, and models from Hugging Face's official infrastructure (
huggingface.co) using the officialhuggingface_hublibrary. - [REMOTE_CODE_EXECUTION]: The
scripts/rh.pylauncher may download and install necessary Python dependencies from the official package index during the setup of its private execution environment. - [INDIRECT_PROMPT_INJECTION]: The skill processes external content and metadata from Hugging Face repositories, which presents an attack surface for instructions embedded in third-party data.
- Ingestion points: Repository files, dataset content, and Space configurations downloaded via
scripts/download_assets.pyand thehuggingface_hubAPI. - Boundary markers: The scripts do not explicitly implement delimiter-based isolation or 'ignore' instructions for the content being processed.
- Capability inventory: Includes the ability to execute a local maintenance tool (
rh.py), write files to the local filesystem, and modify remote Hugging Face repositories. - Sanitization: No specific content sanitization or instruction filtering logic is applied to the retrieved repository assets.
Audit Metadata