patent-reader
Pass
Audited by Gen Agent Trust Hub on Nov 19, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPERSISTENCE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted HTML content from arbitrary external URLs to generate technical clues for patent analysis. This data enters the agent's context and is written to local notes.
- Ingestion points: External URLs are fetched and parsed in tools/vault/clues/summary.py.
- Boundary markers: Ingested content is sequestered in markdown callouts labeled with warning markers to distinguish it from official patent evidence.
- Capability inventory: The skill suite possesses file system write access, the ability to execute shell commands for environment configuration, and manages automated browser sessions.
- Sanitization: HTML tags are stripped and summaries are cleaned in tools/vault/clues/summary.py, but technical descriptions remain in natural language for agent processing.
- [COMMAND_EXECUTION]: The skill uses subprocess.run to execute shell commands for setting up the user's workspace.
- Evidence: tools/vault/check_obsidian_env.py executes the setx command on Windows to store the Obsidian vault path. tools/vault/obsidian_bootstrap.py attempts to use the obsidian CLI to manage file properties.
- [EXTERNAL_DOWNLOADS]: The skill fetches data and PDF documents from remote servers to perform patent extraction.
- Evidence: tools/extract/fetch_patent_pdf.py downloads content from patents.google.com and patentimages.storage.googleapis.com. tools/crawl/cnipa_epub_crawler.py accesses the official Chinese patent office website.
- [PERSISTENCE]: The skill modifies system environment variables to maintain the configuration of the integrated workspace across different sessions.
- Evidence: Persists the PATENT_READER_OBSIDIAN_VAULT path using the setx command in tools/vault/check_obsidian_env.py.
Audit Metadata