baoyu-markdown-to-html
Fail
Audited by Gen Agent Trust Hub on Mar 9, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [REMOTE_CODE_EXECUTION]: The file
scripts/md/utils/languages.tsuses dynamicimport()to fetch and execute language definitions from a remote CDN (cdn-doocs.oss-cn-shenzhen.aliyuncs.com), allowing for arbitrary code execution if the remote source is compromised. - [COMMAND_EXECUTION]: The main script
scripts/main.tsexecutes shell commands usingspawnSyncto run the rendering process and manage dependencies vianpxandbun. - [EXTERNAL_DOWNLOADS]: The
downloadFilefunction inscripts/main.tsfetches content from arbitrary external URLs provided within the input Markdown and saves them to a local temporary directory. - [EXTERNAL_DOWNLOADS]: The skill triggers external downloads from the npm registry during execution through the use of
npx -y.
Recommendations
- AI detected serious security threats
Audit Metadata