patent-oa
Fail
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill attempts to dynamically install and execute an external dependency from a third-party, untrusted source. In
tools/book_to_skill_setup.py, the code fetches the README fromhttps://github.com/virgiliojr94/book-to-skillto extract and run an installation command vianpxorgit clone. This allows for the execution of unverified remote code in the agent's environment. - [EXTERNAL_DOWNLOADS]: The skill downloads content from untrusted external sources at runtime. Specifically,
tools/book_to_skill_setup.pyfetches installation scripts and code from thevirgiliojr94/book-to-skillGitHub repository. - [COMMAND_EXECUTION]: The skill uses
subprocess.runwithshell=Trueto execute commands fetched from a remote README or hardcoded fallback commands involvingnpxandgit. This is documented intools/book_to_skill_setup.pyandtools/stdio_utf8.py. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a significant attack surface for indirect prompt injection.
- Ingestion points: The skill extracts text from external PDF files using
tools/pdf_text.pyandtools/ingest_case.pyto generate patent response drafts. - Boundary markers: No explicit boundary markers or instructions to ignore embedded commands in the processed text were identified.
- Capability inventory: The skill can write files to the filesystem (Obsidian vault via
vault_layout.py), make network requests to various LLM providers (tools/embed.py), and execute shell commands (tools/book_to_skill_setup.py). - Sanitization: There is no evidence of sanitization or filtering of the extracted text before it is interpolated into the agent's context for draft generation.
- [DYNAMIC_EXECUTION]: The skill employs dynamic execution techniques. It uses
__import__in tests (tests/test_oa_store.py) and dynamically executes shell commands constructed from remote string content intools/book_to_skill_setup.py.
Recommendations
- AI detected serious security threats
Audit Metadata