paper2wechat

Pass

Audited by Gen Agent Trust Hub on Jul 16, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes external command-line tools to process data. In scripts/parse_pdf.py, it uses pdftoppm to convert PDF pages into images, and in scripts/publish.py, it invokes md2wechat to upload drafts to WeChat. These executions are performed using the subprocess.run function with arguments provided as a list, which effectively prevents shell command injection.
  • [EXTERNAL_DOWNLOADS]: The skill interacts with external services to provide its core features. It uploads PDF files to the MinerU API (mineru.net) for extraction and downloads the resulting data. It also uses the OpenAI API to generate cover images and the WeChat API for publishing. These interactions involve well-known, legitimate technology providers and are necessary for the skill's operation.
  • [DATA_EXFILTRATION]: The skill transmits the user's PDF documents to the third-party MinerU service for analysis. This transfer is the primary function of the skill and is required for parsing the complex layout of academic papers.
  • [PROMPT_INJECTION]: The skill is potentially vulnerable to indirect prompt injection as it processes untrusted PDF content and presents it to the AI for article creation.
  • Ingestion points: Data extracted from PDFs is stored in JSON files (parsed/sections.json) which are then used by the agent to draft articles.
  • Boundary markers: The instructions do not specify any delimiters to isolate the content of the research paper from the agent's instructions.
  • Capability inventory: The agent has access to system tools like Bash and can write files to the local environment.
  • Sanitization: There is no evidence of filtering or sanitizing the PDF text before it is consumed by the AI, which could allow a malicious paper to influence the agent's drafting process.
Audit Metadata
Risk Level
SAFE
Analyzed
Jul 16, 2026, 10:22 AM