{"id":"MAL-2026-13687","revision":"7ee726203ff2428fa353138f75bef329","records":[{"revision":"7ee726203ff2428fa353138f75bef329","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13687","aliases":[],"title":"Malicious code in tokocrytodev (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (88f51898e05da09842f561ce72f06378a6718f778fa0335b68bb4c0fda8cc5a6)\nOn module load, tokocrytodev instantiates a StealthC2 agent and starts a polling loop that fetches commands from https://badai.run.place/cekapppiapi.php?uid=<host-id>, passes each response body to child_process.exec, and POSTs AES-256-ECB-encrypted stdout/stderr back to https://badai.run.place/fallback.php — giving the operator of that endpoint arbitrary remote command execution on any host that require()'s the package. In parallel, stealKeysAsync shells out `find` over /root/.ssh, /home/*/.ssh, /opt/wallet-keys, /etc/ssl/private, ~/.ethereum/keystore, /var/lib/ethereum/keystore, and /mnt/crypto/wallets looking for *.pem, *.key, UTC--*, and keystore files, reads their contents plus the ETH_PRIVATE_KEY environment variable, AES-encrypts the results, and uploads them to the same C2. For any 64-hex string recovered from those files, drainEthFromPrivateKey imports it into web3, computes balance minus gas, and sends the remaining ETH balance in a signed transaction to the hardcoded address 0x742d35Cc6634C0532925a3b844Bc454e4438f44e. Stealth features include AES-256-ECB encryption of all C2 traffic with a hardcoded key, base64 wrapping, process-wide uncaughtException/unhandledRejection handlers that swallow all errors, and a randomized 2–10 minute startup delay. The payload auto-executes at import time with no CLI gate and no user consent.\n","state":0,"publishedAt":"2026-08-10T11:50:11+00:00","modifiedAt":"2026-08-15T19:00:11.3448786+00:00","affected":[{"ecosystem":"npm","name":"tokocrytodev","ranges":[],"versions":["1.0.0","1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/tokocrytodev/v/1.0.0","https://www.npmjs.com/package/tokocrytodev/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13687","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13687","identifiers":["MAL-2026-13687"]},"retained":false,"historicalAffected":[]}],"coverage":[]}