MAL-2026-20666

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@evial/init-helper-djkwt/MAL-2026-20666.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20666
Published
2026-11-20T00:00:00Z
Modified
2026-11-26T20:45:08Z
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.

Database specific
{
    "iocs":  {
        "files":  [
            {
                "digests":  {
                    "sha256":  "68e8515950084c09187c401efe1a85d0b0fde7dd25e77075b88158f06ad35507"
                },
                "paths":  [
                    "scripts/collect.js"
                ]
            }
        ]
    }
}
Credits

Affected packages

npm / @evial/init-helper-djkwt

Package

Name
@evial/init-helper-djkwt
View open source insights on deps.dev
Purl
pkg:npm/%40evial/init-helper-djkwt

Affected ranges

Affected versions

1.*
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"