doc-reader
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from external URLs or local PDF files. This creates a vulnerability surface where malicious instructions embedded in the source documents could influence the agent's behavior during the translation or slide generation phases.
- Ingestion points: The
web_fetcher.pyscript retrieves external content from user-provided URLs or PDF paths. - Boundary markers: The instructions do not specify explicit delimiters or "ignore embedded instructions" warnings when the fetched content is passed to the agent for processing.
- Capability inventory: The skill has access to network operations (
urllib.request), file system writes, and local script execution (subprocess.run). - Sanitization: The
web_fetcher.pyscript performs basic cleaning of Markdown residues and SVG data but does not sanitize natural language instructions from the input. - [COMMAND_EXECUTION]: The skill requires the agent to execute local Python scripts (
web_fetcher.py,generate_slides.py, andbuild.py) to perform its core tasks. - The
generate_slides.pyscript usessubprocess.runto call thecodexCLI tool. The analysis of the script shows it uses a list for command arguments rather than a shell string, which is a safer practice. - The
web_fetcher.pyscript includes an optional--insecureflag that allows the agent to bypass SSL certificate verification (ssl._create_unverified_context) when fetching content, which could expose the session to man-in-the-middle attacks. - [EXTERNAL_DOWNLOADS]: The
build.pyscript generates apreview.htmlfile that loads themarked.jsMarkdown rendering library from the jsDelivr CDN at runtime.
Audit Metadata