MAL-2026-5382

    Dashboard / Malicious Package / MAL-2026-5382

    MAL-2026-5382

    Published: 9 Jun 2026Last Modified: 9 Jun 2026Aliases: 
    GHSA-m5q9-qwgm-wvqx

    Summary: Malicious code in @doaction/types (npm)

    Details: Source: amazon-inspector (4092c28082abff16427aa0e246a327796294411786dae585fb4ab3114ad6504f) @doaction/[email protected] is a dependency-confusion lure targeting an internal `@doaction` scope. The package.json declares `"version": "99.99.99"` and pins `"@doaction/shared": "^99.99.99"` — the canonical version-flooding pattern designed to beat any private-registry copy of the same scoped name. The preinstall lifecycle hook (`"preinstall": "node scripts/postinstall.js"`) runs automatically on `npm install` and require()s `@doaction/shared/bin/preinstall.js`; src/index.js wires `reportEnvToDatadog` from `@doaction/shared`, whose declared purpose is to collect environment variables and POST them to Datadog. The installer never opts in. The require() is wrapped in a try/catch that swallows everything except MODULE_NOT_FOUND, suppressing exfil errors in CI logs. The combination — internal-scope name confusion, 99.99.99 version flood, automatic preinstall execution, env-var shipment via a sibling package, and silenced error output — is the textbook dependency-confusion exfiltration shape and produces direct attacker benefit (capture of internal env vars, which routinely include CI tokens, cloud credentials, and registry auth). Source: ghsa-malware (d1c332f0151e48396ca14ef9a9003bba8e208793e54d347df951900a232ef850) 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.

    Affected packages

    Package

    Name: @doaction/types

    Purl: pkg:npm/%40doaction%2Ftypes

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    99.99.99
    MAL-2026-5382 | CVE-DB