md-to-word

Warn

Audited by Socket on Aug 11, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/md-to-word.cjs

No clear evidence of stealthy malware (tracking/backdoor/exfiltration) is present in this snippet. However, the module is operationally risky: it uses execSync to invoke shell commands (npx mmdc, npx svgexport, and pandoc) with interpolated arguments derived from user-controlled inputs/paths, and it enables arbitrary Pandoc Lua execution via a user-supplied --lua-filter. In a threat model where an attacker can influence inputs or file paths, this can become command injection / arbitrary code execution during conversion.

Confidence: 67%Severity: 62%
Audit Metadata
Analyzed At
Aug 11, 2026, 03:11 AM
Package URL
pkg:socket/skills-sh/fabioc-aloha%2Fairs_data_analysis%2Fmd-to-word%2F@f3aa6089137dd385c52ecc96b36551ff37a3cabeda13e10210077972acc7b448
Security Audit — socket — md-to-word