arxiv
Fail
Audited by Gen Agent Trust Hub on Jul 18, 2026
Risk Level: HIGHCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: User-controlled input from
$ARGUMENTSis directly interpolated into bash commands and Python code strings across multiple steps. For example, in Step 2, theQUERYis placed directly into a bash command and an inline Python script. An attacker can craft a query containing shell metacharacters like;,$(...), or|to execute arbitrary commands, or Python escape sequences to execute arbitrary Python code. - [COMMAND_EXECUTION]: The skill allows the user to specify a directory (
PAPER_DIR) and uses it in amkdir -pcommand without validation. This presents a path traversal risk, as a user could provide a path to a sensitive system directory. - [EXTERNAL_DOWNLOADS]: The skill downloads PDF documents from arXiv's official repository. While the source itself is a well-known and legitimate academic service, the skill constructs the local destination path using the user-provided
PAPER_DIRandARXIV_ID. Without sanitization, a malicious ID like../../filenamecould be used to write files to arbitrary locations on the filesystem.
Recommendations
- AI detected serious security threats
Audit Metadata