baoyu-markdown-to-html
Warn
Audited by Socket on Aug 14, 2026
1 alert found:
AnomalyAnomalyscripts/main.ts
LOWAnomalyLOW
scripts/main.ts
No clear indicator of intentional malware/backdoor behavior in this module. However, it presents meaningful security risk when processing untrusted Markdown: it can download arbitrary http/https resources referenced in Markdown (including following redirects, without host/IP restrictions), it executes external tooling via spawnSync('npx', ...) with environment/tooling trust dependencies, and it injects unescaped local path strings into HTML attributes, creating potential HTML/attribute injection risks in the generated HTML. Review/limit input trust, restrict remote URL handling, and escape/encode HTML attribute values.
Confidence: 70%Severity: 65%
Audit Metadata