academic-citation
Fail
Audited by Gen Agent Trust Hub on Aug 24, 2026
Risk Level: HIGHPROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes content extracted from external PDF files and interpolates it directly into the
literature-reader-agent.mdprompt, creating a surface for indirect injection. - Ingestion points: The
markdown_contentvariable inagents/literature-reader-agent.mdreceives the full text of documents processed by the MinerU API. - Boundary markers: There are no delimiters or "ignore" instructions surrounding the untrusted content in the prompt template, allowing documents to potentially override agent behavior.
- Capability inventory: The skill includes scripts that write files and directories to the local project structure (
scripts/convert_pdfs_to_md_mineru_api.py). - Sanitization: No sanitization or filtering is performed on the Markdown content before it is read by the agent.
- [EXTERNAL_DOWNLOADS]: The script
scripts/convert_pdfs_to_md_mineru_api.pydownloads conversion results from the MinerU API. - Evidence: The
download_filefunction fetches ZIP archives from URLs provided by themineru.netservice. - Mitigation: The skill implements path traversal checks in the
safe_extract_zipfunction to ensure files are only written within the designated output directory. - [COMMAND_EXECUTION]: The skill uses system commands to support its download functionality.
- Evidence:
scripts/convert_pdfs_to_md_mineru_api.pyinvokescurlviasubprocess.runif the standard library'surllibfails. - Security: Commands are executed using a list of arguments without a shell, which prevents shell injection vulnerabilities.
- [DYNAMIC_EXECUTION]: The skill performs local dynamic loading of its own scripts.
- Evidence:
scripts/convert-pdfs-to-md.pyusesrunpy.run_pathto execute the main conversion logic inconvert_pdfs_to_md_mineru_api.py. This is a standard method for delegating execution between bundled scripts.
Recommendations
- HIGH: Downloads and executes remote code from: unknown (check file) - DO NOT USE without thorough review
Audit Metadata