MAL-2026-5743

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/environment-gate/MAL-2026-5743.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5743
Aliases
  • GHSA-7h69-vjfv-w92w
Published
2026-06-13T20:13:30Z
Modified
2026-07-08T23:46:57Z
Summary
Malicious code in environment-gate (npm)
Details

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

Source: amazon-inspector (80dc74c6c5240e9c146e476300b44582cc114cf1827319ba81d2bcae2d64c2cf)

index.js contains a commented-out line that, if uncommented, would base64-decode the URL https://www.jsonkeeper.com/b/VKUNI, fetch its contents via axios, and eval the response. As shipped the code is inside a // comment and does not execute on require() or install — the only live code is a misspelled conosle.log and the package's gate export is a no-op. No lifecycle hooks are declared in package.json. There is no current installer-side harm in this version, but the presence of a fully-formed remote-fetch-and-eval template targeting an anonymous, mutable paste host (jsonkeeper.com) — combined with the package's otherwise empty functionality — is consistent with a staged or abandoned dropper template rather than a legitimate utility. Routing for human review so a maintainer can assess package legitimacy and watch for activation in subsequent versions.

Source: ghsa-malware (3f6e4b7cef8168fc7a34702dcbb2877618e925d7fca5ca86684a73700d2c7991)

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": "IN-MAL-2026-006373",
            "import_time": "2026-06-13T20:33:18.727279911Z",
            "modified_time": "2026-06-13T20:13:30Z",
            "sha256": "48e4ad756dbae70bb38049d363961eb27239c7cf18c6a92612579aeb818da7b1",
            "source": "amazon-inspector",
            "versions": [
                "7.3.6"
            ]
        },
        {
            "id": "GHSA-7h69-vjfv-w92w",
            "import_time": "2026-07-06T18:54:03.589532488Z",
            "modified_time": "2026-07-06T18:53:09Z",
            "sha256": "3f6e4b7cef8168fc7a34702dcbb2877618e925d7fca5ca86684a73700d2c7991",
            "source": "ghsa-malware",
            "versions": [
                "7.3.6",
                "7.3.5"
            ]
        },
        {
            "id": "IN-MAL-2026-008988",
            "import_time": "2026-07-08T23:27:57.698420503Z",
            "modified_time": "2026-07-08T23:02:21Z",
            "sha256": "80dc74c6c5240e9c146e476300b44582cc114cf1827319ba81d2bcae2d64c2cf",
            "source": "amazon-inspector",
            "versions": [
                "7.3.5"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / environment-gate

Package

Name
environment-gate
View open source insights on deps.dev
Purl
pkg:npm/environment-gate

Affected ranges

Affected versions

7.*
7.3.5
7.3.6

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "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",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "fb1f6e0af7e75169c3664bd9df1a03cb838a15337173c7bf40c396f32d1de803",
            "tlsh": "32c08c7f36d57a96213b9064a08dd40530e2eaa04289a444e12993949fd4e7360eadc8"
        },
        {
            "path": "package.json",
            "sha256": "faced2f21cc7a9889ac899904594b747a7d73b05e1d26b3c2f5022344eca38ab",
            "tlsh": "0ae026241b35993365d02216096e9075b230cf2f0964380827df142cc1eeb7358fd30e"
        }
    ],
    "package_integrity": [
        {
            "filename": "environment-gate-7.3.6.tgz",
            "hashes": {
                "sha1": "8fc431d970cf52fa7b5c74b13a2c1f2289ffe808",
                "sha512_sri": "sha512-O8jisjYIde68QQ3a3q9BBQiVmAhsXV8jK+nw2d2WwuEL2RqV9NqpAXe13jF6VN2w0TAGiAHE+Od2hc92MwHSZw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/environment-gate/MAL-2026-5743.json"