doc-processor
Pass
Audited by Gen Agent Trust Hub on Aug 25, 2026
Risk Level: SAFEREMOTE_CODE_EXECUTIONPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill's primary function involves generating and executing Node.js and Python scripts at runtime to perform document conversion and parsing tasks. It instructs the agent to produce code from templates and run it using the environment's shell capabilities.
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection as it ingests untrusted data from various document formats (PDF, DOCX, XLSX, etc.) without implementing boundary markers or explicit instructions to ignore embedded commands.
- Ingestion points: Content extraction in 'Parse Mode' from office files via libraries like docx, ExcelJS, and Python-docx (SKILL.md).
- Boundary markers: Absent; the skill does not define delimiters for parsed content.
- Capability inventory: Access to Bash, Write, and Read tools allows for file system and shell operations based on parsed data (SKILL.md frontmatter).
- Sanitization: Absent; parsed data is structured into JSON but not sanitized for downstream injection threats.
- [COMMAND_EXECUTION]: The generation of PDFs from Markdown utilizes Puppeteer, a headless browser. If the input source contains malicious HTML, CSS, or JavaScript, it may execute within the browser context during the rendering process.
- [EXTERNAL_DOWNLOADS]: The skill facilitates the installation of third-party dependencies from public registries (NPM and PyPI) to support its document processing features. While the suggested packages are well-known, this behavior introduces a reliance on external code at runtime.
Audit Metadata