MAL-2026-11269

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/consumerweb-risk/MAL-2026-11269.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11269
Aliases
  • GHSA-5439-r8p8-2gmx
Published
2026-07-30T17:44:07Z
Modified
2026-08-04T23:04:59Z
Summary
Malicious code in consumerweb-risk (npm)
Details

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

Source: amazon-inspector (aa886e4b335d3fc76fa6bc8e50c2e428ac164165830705c0ab2847857c2b3aa7)

The package's preinstall lifecycle script runs automatically on npm install. It collects the installer's OS username (os.userInfo().username), hostname (os.hostname()), and current working directory (process.cwd()), serializes them to JSON, hex-encodes the payload, chunks it into DNS subdomain labels, and issues dns.lookup() queries against an attacker-controlled nameserver under jgl.red. The lookups themselves carry the encoded host identity out to the attacker's authoritative DNS server, forming a covert DNS-tunnel exfiltration channel that fires on every install regardless of whether the module is ever required.

Source: ghsa-malware (0e5f4efb70659109081158cdf1172001c3a589dbac63414af7c04485d40e42d0)

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-5439-r8p8-2gmx",
            "import_time": "2026-07-31T01:10:09.568751007Z",
            "modified_time": "2026-07-30T17:44:08Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "0e5f4efb70659109081158cdf1172001c3a589dbac63414af7c04485d40e42d0",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-011149",
            "import_time": "2026-08-04T22:30:01.897129355Z",
            "modified_time": "2026-08-04T21:39:32Z",
            "sha256": "aa886e4b335d3fc76fa6bc8e50c2e428ac164165830705c0ab2847857c2b3aa7",
            "source": "amazon-inspector",
            "versions": [
                "3.4.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / consumerweb-risk

Package

Name
consumerweb-risk
View open source insights on deps.dev
Purl
pkg:npm/consumerweb-risk

Affected ranges

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

Affected versions

3.*
3.4.3

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "preinstall.js",
            "sha256": "4cfe32a590ed6e1dbae7ab22adab6ea572acd934570b986007a5aca603663f10",
            "tlsh": "7f11416a13f43030049b20d4db4f0589236aa1273a12dc9c7dec47860f83964eab1deb"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/consumerweb-risk/MAL-2026-11269.json"