MAL-2026-5383

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@doaction/wasm-loader/MAL-2026-5383.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5383
Aliases
  • GHSA-54mr-v524-rmw6
Published
2026-06-09T14:17:43Z
Modified
2026-06-09T19:01:32.077007008Z
Summary
Malicious code in @doaction/wasm-loader (npm)
Details

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

Source: amazon-inspector (118555cc138d5dbc40c11c385af69fa4c6c5caa2fc05e6b0b49c65cc69491a78)

Package name and description advertise a 'WASM loader,' but the tarball ships no WebAssembly code. Instead, package.json declares "preinstall": "node scripts/postinstall.js", and scripts/preinstall.js unconditionally require()s @doaction/shared/bin/preinstall.js, which the package self-documents as shipping environment telemetry to a Datadog intake on every npm install. This auto-fires for every installer with no opt-in or disclosure in the README, and the destination is hardcoded outside the installer's control. Additionally, src/index.js exports collectEnv and sendToDatadog as part of the public module surface (module.exports = { collectEnv, sendToDatadog, reportWasmEnv, WASM_WHITELIST }), giving any caller a primitive to send arbitrary process.env contents to the same Datadog endpoint, bypassing the advertised WASM_WHITELIST path. The combination of a misleading package identity (wasm loader with no wasm), a 9.9.9 dependency-confusion-shaped version, a scoped org, and install-time + import-time exfiltration primitives to a single hardcoded third-party intake constitutes installer-side data exfiltration.

Source: ghsa-malware (a0b625151fd5954a20ab970790e56e52f1e321705f15ab535f5912ff5b79a3d6)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-54mr-v524-rmw6",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2026-06-09T15:22:39.83808883Z",
            "sha256": "a0b625151fd5954a20ab970790e56e52f1e321705f15ab535f5912ff5b79a3d6",
            "source": "ghsa-malware",
            "modified_time": "2026-06-09T14:17:51Z"
        },
        {
            "id": "IN-MAL-2026-004984",
            "import_time": "2026-06-09T17:45:46.61608094Z",
            "sha256": "cb9c90e1caf6d7000e99e5060eedd4f973921f84d5ebb893adda8710f9e05a2e",
            "source": "amazon-inspector",
            "modified_time": "2026-06-09T17:11:46Z",
            "versions": [
                "99.99.99"
            ]
        },
        {
            "id": "IN-MAL-2026-004983",
            "import_time": "2026-06-09T17:45:46.514643119Z",
            "sha256": "fdbd4f0420997a975fe1f0d850b797138b32f4049d4eaf306eb72865d7250ff5",
            "source": "amazon-inspector",
            "modified_time": "2026-06-09T17:11:45Z",
            "versions": [
                "99.99.99"
            ]
        },
        {
            "id": "IN-MAL-2026-005169",
            "versions": [
                "9.9.9"
            ],
            "sha256": "118555cc138d5dbc40c11c385af69fa4c6c5caa2fc05e6b0b49c65cc69491a78",
            "source": "amazon-inspector",
            "modified_time": "2026-06-09T18:16:09Z",
            "import_time": "2026-06-09T18:50:21.816636305Z"
        },
        {
            "id": "IN-MAL-2026-005170",
            "versions": [
                "9.9.9"
            ],
            "sha256": "4a13cf54b42070bc3647f1077b0f16e6030aace03c89049ad6c93e9c87b8530d",
            "source": "amazon-inspector",
            "modified_time": "2026-06-09T18:16:09Z",
            "import_time": "2026-06-09T18:50:21.891901161Z"
        }
    ]
}
References
Credits

Affected packages

npm / @doaction/wasm-loader

Package

Name
@doaction/wasm-loader
View open source insights on deps.dev
Purl
pkg:npm/%40doaction%2Fwasm-loader

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

9.*
9.9.9
99.*
99.99.99

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "0951a404f7df3df07152544ab0f39cc85fd1d859bb7bfffc63de132bae113986",
            "tlsh": "aff027303b229a331dc165625d37411677b14e2f51487a181acb111dc75d6bba5ff21d"
        }
    ],
    "domains": [
        "e1gjv2ne5a.execute-api.ap-northeast-1.amazonaws.com"
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@doaction/wasm-loader/MAL-2026-5383.json"