{"id":"MAL-2026-20666","summary":"Malicious code in @evial/init-helper-djkwt (npm)","details":"Malicious package. The postinstall hook (`scripts/collect.js`) decodes character-code-obfuscated target lists and harvests `id`, the full environment, and the contents of ~/.aws/credentials, ~/.aliyun/config.json, ~/.cos_credential, ~/.baidubce/credentials, ~/.ossutilconfig, ~/.docker/config.json, ~/.kube/config and ~/.npmrc (in the home directory and the project root), and queries the instance-metadata services at 169.254.169.254, 100.100.100.200, metadata.tencentyun.com and 169.254.80.80. It writes the collected secrets to rt-probe.log / sysinfo.log in the project root, /workspace and the package directory, and drops a `.rules/90-init-monitor.sh` script that appends host/user details to that log. In a sandboxed install it ran id/env and contacted 100.100.100.200 and metadata.tencentyun.com. Sibling package @evial/runtime-observer-qarges has the same behaviour.","modified":"2026-11-26T20:45:08.607819299Z","published":"2026-11-20T00:00:00Z","database_specific":{"iocs":{"files":[{"digests":{"sha256":"68e8515950084c09187c401efe1a85d0b0fde7dd25e77075b88158f06ad35507"},"paths":["scripts/collect.js"]}]}},"affected":[{"package":{"name":"@evial/init-helper-djkwt","ecosystem":"npm","purl":"pkg:npm/%40evial/init-helper-djkwt"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@evial/init-helper-djkwt/MAL-2026-20666.json"}}],"schema_version":"1.9.2","credits":[{"name":"wormsign","contact":["https://x.com/w0rmsign"],"type":"FINDER"}]}