MAL-2026-5541

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@w2d/web-components/MAL-2026-5541.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5541
Published
2026-06-11T01:57:04Z
Modified
2026-06-11T02:31:32Z
Summary
Malicious code in @w2d/web-components (npm)
Details

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

Source: amazon-inspector (2b8292b80f3e692b249561a14d94d2dfa0196f2377e7eee027b8dd630d251bd1)

The package targets the @w2d scope with an artificially high version (2.999.999) — the canonical dependency-confusion shape designed to outrank an internal registry's real package. On npm install, postinstall.js collects host identity (os.hostname(), os.userInfo(), process.cwd(), process.platform), base64-encodes the payload, and exfiltrates it to a hardcoded Burp Collaborator OAST domain 929u6o01dc28rl4mend089t9b0hr5ht6.oastify.com over both HTTPS GET (postinstall.js:28) and DNS lookup (postinstall.js:31). Comments in the file self-describe the package as a dependency-confusion PoC against Allwyn AG / win2day. Regardless of the author's stated bug-bounty framing, any installer whose registry configuration resolves the public @w2d/web-components instead of the intended internal package will silently beacon host/user/cwd identifiers to the attacker-controlled OAST host on install.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-005370",
            "import_time": "2026-06-11T02:24:28.349039531Z",
            "modified_time": "2026-06-11T01:57:04Z",
            "sha256": "2b8292b80f3e692b249561a14d94d2dfa0196f2377e7eee027b8dd630d251bd1",
            "source": "amazon-inspector",
            "versions": [
                "2.999.999"
            ]
        },
        {
            "id": "IN-MAL-2026-005371",
            "import_time": "2026-06-11T02:24:28.424563817Z",
            "modified_time": "2026-06-11T01:57:04Z",
            "sha256": "c6caf705e5dc4933e633197662744ab0909b77a70e12276408b155e89bbd5fc7",
            "source": "amazon-inspector",
            "versions": [
                "2.999.999"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @w2d/web-components

Package

Name
@w2d/web-components
View open source insights on deps.dev
Purl
pkg:npm/%40w2d%2Fweb-components

Affected ranges

Affected versions

2.*
2.999.999

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "domains": [
        "929u6o01dc28rl4mend089t9b0hr5ht6.oastify.com",
        "eyjwa2cioijadzjkl3dlyi1jb21wb25lbnrziiwiag9zdci6in.929u6o01dc28rl4mend089t9b0hr5ht6.oastify.com"
    ],
    "evidence_files": [
        {
            "path": "postinstall.js",
            "sha256": "4d84f2e09d17eb306c121e5ba7de7813b853258610328a263ae5873c3ea8da96",
            "tlsh": "7f2174fba275c52c08a221d00747373a673bc229ea499080a95c8307ef9a27880979f8"
        },
        {
            "path": "package.json",
            "sha256": "a4d05d79c3980107f36060b9d58d5c09b0306f274e38d4bf60df7bf91fb60cfd",
            "tlsh": "c3d0c23049200a2374c82a980c37544b56e349274008291827cb2098079f17a44bf25e"
        }
    ],
    "package_integrity": [
        {
            "filename": "web-components-2.999.999.tgz",
            "hashes": {
                "sha1": "f9ba7211e066c2f702968d8febcc0e08d7944949",
                "sha512_sri": "sha512-YuZNKVDjLYSNANIhKWC3ETDYQD10cgUC9dpJP/skb/5sva+EVNh/EbLxlMOh3k6HDodyRvX6eucVOaxAnTzcbQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@w2d/web-components/MAL-2026-5541.json"