MAL-2026-4731

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/wml-core/MAL-2026-4731.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4731
Published
2026-05-25T14:16:02Z
Modified
2026-05-26T06:03:06.148589279Z
Summary
Malicious code in wml-core (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (46afe229d6efe1ef10d025302ed21e5c2c44bdd772c8fbb28d037cb1215c84ba)

wml-core@99.0.1 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "46afe229d6efe1ef10d025302ed21e5c2c44bdd772c8fbb28d037cb1215c84ba",
            "id": "IN-MAL-2026-004689",
            "modified_time": "2026-05-25T14:16:02Z",
            "versions": [
                "99.0.1"
            ],
            "import_time": "2026-05-26T05:53:05.587249717Z",
            "source": "amazon-inspector"
        },
        {
            "sha256": "9bb6cda0457187b67ae8822ebe66fe54310bfbecdd658f7beabab10cc54527a7",
            "id": "IN-MAL-2026-004691",
            "import_time": "2026-05-26T05:53:05.789657256Z",
            "modified_time": "2026-05-25T14:16:09Z",
            "versions": [
                "99.0.1"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / wml-core

Package

Affected ranges

Affected versions

99.*
99.0.1

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "265df5fad051a363a33c9a0995299645cd2b6db8d556f8f73ea17e9e4f547ad5",
            "tlsh": "2e71c7d482fa1e30226a74b1b5cd040522d7d3933246f9e4798c1a919f9f8b482f67bd",
            "path": "poc.js"
        },
        {
            "sha256": "4516918d309f587116006e26fdccdef42462a23cc8bc60d10e1d027929747785",
            "tlsh": "7be07d78141010231ad8c2fa05b758479038cd0b1118ac290b93344c42eeb63017eb9d",
            "path": "package.json"
        }
    ],
    "package_integrity": [
        {
            "filename": "wml-core-99.0.1.tgz",
            "hashes": {
                "sha512_sri": "sha512-iNmsyR/PYROCztSYZf+TA67GMIvIx0UsymiDPcF52SDn4dy8yqyGdUWnuzoLBL4RltUiq1pesnSHZIVgDsSOfw==",
                "sha1": "18ca554d51f1778d3a1c9eb113d756d3973f98ff"
            }
        }
    ],
    "domains": [
        "wml-core-7363616e2d63643235663234623137.d8a5d9pon5bugoc35cngp9hcregcqyezu.oast.me",
        "d8a5d9pon5bugoc35cngp9hcregcqyezu.oast.me"
    ]
}
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/wml-core/MAL-2026-4731.json"