kordoc-parse-metadata
Warn
Audited by Gen Agent Trust Hub on Oct 3, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill uses
npm execto install and run thekordocpackage from the public npm registry. While the accompanyingpdfjs-distpackage is from a well-known source,kordocis an external dependency from a third-party source not listed as a trusted vendor. - [DYNAMIC_EXECUTION]: The Node.js script dynamically loads code at runtime using
import(). The target path (kUrl) is constructed using environment variables (process.env.PATH) to resolve the location of the installedkordocpackage, which is a form of dynamic loading from computed paths. - [COMMAND_EXECUTION]: The skill executes shell commands including
npm execandnode, passing a multi-line script via a heredoc to the Node.js interpreter. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to parse and extract metadata from HWP, HWPX, and PDF documents, creating an attack surface where malicious document metadata could influence agent behavior.
- Ingestion points: Local document files provided or attached by the user (as specified in
SKILL.md). - Boundary markers: No delimiters or safety instructions are used to wrap the extracted metadata before it is returned to the agent.
- Capability inventory: The script has filesystem read access (
fs.readFileSync) and the ability to execute commands vianpm. - Sanitization: There is no evidence of sanitization or validation performed on the metadata extracted from the documents.
Audit Metadata