{"id":"MAL-2026-13520","revision":"40a16a83b743461f9b16e22347548b0d","records":[{"revision":"40a16a83b743461f9b16e22347548b0d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13520","aliases":[],"title":"Malicious code in @aster110/cc2wechat (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a22dda7bf5c10da8b67b359d665b133709826bdebbd6632fc0fcf04551f1efac)\nThe package runs a daemon that long-polls Tencent's iLink Bot API (ilinkai.weixin.qq.com) for incoming WeChat messages and forwards each message body into a locally hosted AI agent that is spawned with all approval and sandbox gates disabled. Specifically, TmuxDelivery.deliver writes the message text (`sendToSession(sessionName, \"[微信...] \" + ctx.text)`) into a tmux session whose command line is `CC2WECHAT_CONTEXT=... claude --dangerously-skip-permissions`, using tmux `load-buffer` + `paste-buffer` + `send-keys Enter` to submit the input. An alternative backend spawns `codex exec --json --dangerously-bypass-approvals-and-sandbox` and feeds the same WeChat message stream into it. Because these AI CLIs are configured to auto-execute shell commands and filesystem operations without prompts when safety flags are disabled, any party able to send a WeChat message to the linked account can drive arbitrary shell and file operations on the machine running the daemon. The tool is documented in the README as full-host access requiring a disposable VM. The startup entry point is a `bin` CLI (`cc2wechat start`), so the remote-shell surface materializes when the operator launches the daemon rather than on `npm install` or `require()`.\n","state":0,"publishedAt":"2026-08-07T12:43:35+00:00","modifiedAt":"2026-08-07T13:20:11.0040241+00:00","affected":[{"ecosystem":"npm","name":"@aster110/cc2wechat","ranges":[],"versions":["5.1.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@aster110/cc2wechat/v/5.1.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13520","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13520","identifiers":["MAL-2026-13520"]},"retained":false,"historicalAffected":[]}],"coverage":[]}