wml-corenpm
Advisory published Updated
wml-core is a confirmed malicious npm package (MAL-2026-4731) that steals credentials and exfiltrates sensitive data (malicious version 99.0.1). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in wml-core (npm)
What this malware does
[email protected] is a dependency-confusion package targeting an internal wml-* namespace, published with an inflated version (99.0.1) to win npm resolution against an internal package of the same name. The preinstall script poc.js runs automatically on npm install and harvests: hostname, username, OS/platform info, full network configuration (ipconfig /all on Windows or ip a + /etc/resolv.conf on Linux), whoami /all / id output, git remote URLs, the parent project's package.json, CI configuration files (.gitlab-ci.yml, .github/workflows/*, Jenkinsfile, azure-pipelines.yml), and a filtered dump of process.env matching credential-bearing prefixes including TOKEN, AWS, AZURE, NPM, GITHUB, GITLAB, JENKINS, WALMART, WMT, CI_. The collected JSON blob is POSTed to d8a5d9pon5bugoc35cngp9hcregcqyezu.oast.me (an Interactsh out-of-band callback host) over HTTPS, with a DNS callback emitted as a side channel. Any installer outside the intended target scope — including unintended internal builds and any third party who installs this name — has their build environment, CI secrets, and cloud/registry tokens exfiltrated. The package's self-description as 'authorized bug bounty research' does not change installer-side harm: the payload fires unconditionally on any npm install.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for wml-core (version 99.0.1).
If you installed it — respond
wml-core is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If wml-core was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks wml-core-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.