arxiv
Fail
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: HIGHINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The instructions in
SKILL.mduse shell pipes to pass XML and JSON data from the arXiv and Semantic Scholar APIs into Python one-liners (python -c "...") and the standard JSON formatting module (python -m json.tool). While these commands involve dynamic execution of Python code, the code itself is a static string provided within the command for parsing purposes and does not execute the remote content as code. This pattern is a routine method for processing API responses in development workflows. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from academic sources which could potentially contain malicious instructions intended to influence the agent's behavior.
- Ingestion points:
SKILL.mdandscripts/search_arxiv.pyingest data fromexport.arxiv.organdapi.semanticscholar.org, including paper titles, abstracts, and author names. - Boundary markers: Absent; the data is interpolated directly into the agent's context or processed by parsing scripts without delimiters or instructions to ignore embedded commands.
- Capability inventory: The skill possesses network access (
curl) and utilizes paper extraction tools (web_extract), which could be abused if the agent follows instructions hidden within paper metadata. - Sanitization: The parsing logic performs basic string cleaning (whitespace stripping, newline replacement) but does not implement security sanitization or filtering to detect or remove potential prompt injection payloads.
Recommendations
- HIGH: Downloads and executes remote code from: https://api.semanticscholar.org/graph/v1/paper/arXiv:2402.03300?fields=title,authors,citationCount,referenceCount,influentialCitationCount,year,abstract, https://export.arxiv.org/api/query?id_list=1706.03762, https://export.arxiv.org/api/query?search_query=all:GRPO+reinforcement+learning&max_results=5&sortBy=submittedDate&sortOrder=descending - DO NOT USE without thorough review
Audit Metadata