paper-analyzer
Fail
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: HIGHCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSPRIVILEGE_ESCALATION
Full Analysis
- [COMMAND_EXECUTION]: The workflow in
SKILL.mdinterpolates shell variables ($TITLE,$AUTHORS,$DOMAIN,$SCORE) sourced from external arXiv metadata into command line arguments. Because these variables are passed to scripts likegenerate_note.pywithin a shell context, an attacker providing a paper with a malicious title (e.g., containing backticks or$(...)syntax) could trigger arbitrary command execution on the host system. - [INDIRECT_PROMPT_INJECTION]: The skill exhibits an unsafe data ingestion pattern when processing external academic content:
- Ingestion points: The skill fetches PDFs, source files, and HTML metadata from arXiv using
curlas defined in theSKILL.mdworkflow. - Boundary markers: There are no delimiters or specific instructions provided to the agent to distinguish between the skill's instructions and potentially malicious content embedded in the fetched papers.
- Capability inventory: The skill has broad capabilities, including writing to the local filesystem and performing network operations.
- Sanitization: Content fetched from arXiv is interpolated directly into Markdown and JSON files without validation or escaping.
- [EXTERNAL_DOWNLOADS]: The skill downloads content from
arxiv.orgto a local temporary directory for analysis. While arXiv is a recognized academic service, the automated download and subsequent metadata extraction without integrity verification provides a vector for exploitation if the metadata is crafted to exploit the command execution or path traversal vulnerabilities mentioned above. - [PRIVILEGE_ESCALATION]: The
scripts/generate_note.pyscript is vulnerable to path traversal. Thedomainargument is used directly inos.path.jointo construct the output directory path. A malicious input containing parent directory references (e.g.,../../) would allow the skill to write files to unauthorized locations on the filesystem, bypassing the intended vault directory structure.
Recommendations
- HIGH: Downloads and executes remote code from: https://arxiv.org/pdf/[PAPER_ID] - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata