hugging-face-paper-publisher
Pass
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill exhibits an attack surface for indirect prompt injection by processing data from external sources and user inputs to modify repository files.
- Ingestion points: Data enters the system via the
arxiv_idandcitationarguments inscripts/paper_manager.py, as well as responses from the external arXiv API (export.arxiv.org). - Boundary markers: The script uses explicit HTML comments (
<!-- paper-manager:start -->and<!-- paper-manager:end -->) to delimit generated content in repository README files, which helps mitigate but not eliminate injection risks. - Capability inventory: The skill utilizes the
huggingface_hublibrary to perform repository writes, including direct commits and pull request creation. - Sanitization: The implementation includes
_sanitize_textand_escape_yaml_valuemethods inscripts/paper_manager.pyto neutralize markdown code fences and YAML document delimiters. - [COMMAND_EXECUTION]: The skill instructions frequently prompt the agent to execute the bundled
scripts/paper_manager.pyusinguv run. This script performs network operations and local file system writes to generate research articles from templates. - [EXTERNAL_DOWNLOADS]: The skill makes network requests to
huggingface.cofor repository management andexport.arxiv.orgto fetch research paper metadata. These are well-known services in the research and AI ecosystem and are used for their intended primary purposes.
Audit Metadata