md-to-word
Fail
Audited by Gen Agent Trust Hub on Aug 11, 2026
Risk Level: HIGHCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/md-to-word.cjsis vulnerable to shell command injection. It useschild_process.execSyncto runnpx svgexportwith paths extracted from markdown content via regular expressions (svgPatternandhtmlImgSvgPattern). These paths are not sanitized, allowing an attacker to escape the shell command using metacharacters and execute arbitrary code. Similar injection points exist in the handling of CLI arguments for output paths and image directories.\n- [REMOTE_CODE_EXECUTION]: The skill utilizesnpxto dynamically download and execute themmdcandsvgexportpackages from the npm registry at runtime. This introduces a risk of executing malicious code from remote sources.\n- [EXTERNAL_DOWNLOADS]: The skill's workflow relies on several external tools and packages without integrity verification or version pinning, increasing the risk of supply chain vulnerabilities.\n- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection. It processes untrusted markdown content that can contain payloads designed to exploit the command injection vulnerabilities in the conversion script.\n - Ingestion points: Markdown source files read by
fs.readFileSyncinscripts/md-to-word.cjs.\n - Boundary markers: None; the content is processed without safety delimiters.\n
- Capability inventory: Shell execution (
execSync), file system access (fs), and remote package execution (npx).\n - Sanitization: No escaping or validation is performed on content-derived strings before they are used in shell commands.
Recommendations
- AI detected serious security threats
Audit Metadata