nature-paper-to-patent

Pass

Audited by Gen Agent Trust Hub on Nov 20, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill utilizes subprocess.run in scripts/build_patent_package.py and scripts/disclosure/mermaid_render.py to execute internal scripts and external rendering tools like the Mermaid CLI (mmdc). These operations are used for generating SVGs, PNGs, and final Word documents.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data from sources like PDF, Word, and PowerPoint files through scripts such as extract_pdf_text.py, docx_to_md.py, and pptx_to_md.py.
  • Ingestion points: Document extraction scripts process research papers and inventor notes into the agent's context.
  • Boundary markers: The skill lacks explicit boundary markers or instructions to ignore potential commands embedded in the source documents.
  • Capability inventory: The skill has access to shell command execution (subprocess.run) and network requests (Playwright).
  • Sanitization: There is no evidence of filtering or sanitizing extracted text before it is used in subsequent analysis or search queries.
  • [EXTERNAL_DOWNLOADS]: The skill performs network requests to the China National Intellectual Property Administration (CNIPA) website (epub.cnipa.gov.cn) using Playwright to automate patent searches. It also guides the agent to use well-known services such as Google Scholar, Google Patents, and arXiv for prior-art verification.
  • [DYNAMIC_EXECUTION]: Several scripts, including scripts/build_patent_package.py, use importlib.util to dynamically load and execute local validation and rendering modules based on file paths relative to the skill directory.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 20, 2026, 08:34 AM