Vulnerability 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.