kordoc-compare-documents
Warn
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill uses
npm execwith the--packageflag to download and execute thekordocandpdfjs-distpackages from the public NPM registry at runtime. - [COMMAND_EXECUTION]: The skill executes a shell command that invokes
npm execfollowed by a Node.js script passed via a heredoc to perform the document comparison logic. - [DYNAMIC_EXECUTION]: The Node.js script dynamically resolves the installation path of the
kordocpackage by inspecting thePATHenvironment variable and uses a dynamicimport()call to load the module from a computed file URL. - [DATA_EXPOSURE]: The skill uses
fs.readFileSyncto access and read the contents of local files (HWP, HWPX, PDF) provided by the user, which is necessary for the comparison functionality but represents a file system access surface. - [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes the content of two documents, which could contain malicious instructions designed to influence the agent's summary of the comparison results. There are no explicit boundary markers or sanitization steps mentioned for the document content.
Audit Metadata