Malicious code in test-brotli2-testmetest (npm)
test-brotli2-testmetest 1.0.0 ships a rebuild of the data-pipeline-testmetest 2.0.1 credential stealer and runs it on `npm install`: its `install` script runs `node-gyp rebuild`, and the `binding.gyp` source `/dev/null 2>&1; echo stub.c)` makes node-gyp run `index.js`, an obfuscated loader that decrypts a Brotli-compressed payload and pipes it into Bun. Published by npm account `testnewtestme2` on 2026-10-21. --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (191cc40d7896b393d37ba01dd32b1087b769c9fc7dd7b2debb32ba4ef34de11d) The package's scripts.install runs node-gyp rebuild, and binding.gyp uses GYP command-expansion (`
- Products
- test-brotli2-testmetest
- Affected versions
- 1.0.0
- Fixed versions
- Not specified
- CVEs
- Not specified
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 17:45 UTC · Revision 1
Source evidence
Malicious code in test-brotli2-testmetest (npm)
core-osv · Original sourcePublished 21 Oct 2026, 18:00 UTC
test-brotli2-testmetest 1.0.0 ships a rebuild of the data-pipeline-testmetest 2.0.1 credential stealer and runs it on `npm install`: its `install` script runs `node-gyp rebuild`, and the `binding.gyp` source `/dev/null 2>&1; echo stub.c)` makes node-gyp run `index.js`, an obfuscated loader that decrypts a Brotli-compressed payload and pipes it into Bun. Published by npm account `testnewtestme2` on 2026-10-21. --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (191cc40d7896b393d37ba01dd32b1087b769c9fc7dd7b2debb32ba4ef34de11d) The package's scripts.install runs node-gyp rebuild, and binding.gyp uses GYP command-expansion (`
osv:MAL-2026-18182
test-brotli2-testmetest
Fixed versions: Not specified
Complete source record
{
"id": "229d5a90bebed4a45ee0a7d10eaed209f0698c72b5ef2f26e8ac8d9b8796901b",
"url": "https://osv.dev/vulnerability/MAL-2026-18182",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Malicious code in test-brotli2-testmetest (npm)",
"summary": "test-brotli2-testmetest 1.0.0 ships a rebuild of the data-pipeline-testmetest 2.0.1 credential stealer and runs it on `npm install`: its `install` script runs `node-gyp rebuild`, and the `binding.gyp` source `/dev/null 2>&1; echo stub.c)` makes node-gyp run `index.js`, an obfuscated loader that decrypts a Brotli-compressed payload and pipes it into Bun. Published by npm account `testnewtestme2` on 2026-10-21. --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (191cc40d7896b393d37ba01dd32b1087b769c9fc7dd7b2debb32ba4ef34de11d) The package's scripts.install runs node-gyp rebuild, and binding.gyp uses GYP command-expansion (`",
"evidence": "osv:MAL-2026-18182",
"products": [
{
"name": {
"value": "test-brotli2-testmetest",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.0",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "MAL-2026-18182",
"aliases": [
"MAL-2026-18182"
],
"affected": [
{
"package": {
"name": "test-brotli2-testmetest",
"purl": "pkg:npm/test-brotli2-testmetest",
"ecosystem": "npm"
},
"versions": [
"1.0.0"
],
"database_specific": {
"cwes": [
{
"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."
}
],
"source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/test-brotli2-testmetest/MAL-2026-18182.json",
"indicators": {
"evidence_files": [
{
"path": "binding.gyp",
"tlsh": "d3c08c3cb4380a453ad8082490e8840264b202a3081a2440e6da60286fb841f2449b9e",
"sha256": "9a876c0a21782b54495d13be1db41e55da1a386c01a3f8dcd15643c609056663"
},
{
"path": "index.js",
"tlsh": "20c4f7d3578c1beda6944cea520c3617a4f2c17b3c6e228dfae24617b43ee117925b70",
"sha256": "930736600c86e9daeb6d8d87a4d821fa0b721302bcffc6277d95512dff4c0a25"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "4adb5bcd230d3da102e7cafc49916d6e0592b3a1",
"sha512_sri": "sha512-FQe/UXjeU4p6tOlY+nEze9LMuxdDaGHlCUejXIDyg0WCwwFgKLE0HbXXGWmjX0mW3H33j68QCm7h7+DoJt27Vw=="
},
"filename": "test-brotli2-testmetest-1.0.0.tgz"
}
]
}
}
}
],
"modified": "2026-10-22T06:45:05.741775574Z",
"provider": "osv",
"references": [
"https://www.npmjs.com/package/test-brotli2-testmetest/v/1.0.0"
],
"provider_metadata": {
"iocs": {
"files": [
{
"note": "install hook: node-gyp runs `env node index.js`",
"paths": [
"binding.gyp"
],
"source": "PACKAGE_ARCHIVE",
"digests": {
"sha256": "9a876c0a21782b54495d13be1db41e55da1a386c01a3f8dcd15643c609056663"
}
},
{
"note": "obfuscated loader; decrypts a Brotli-compressed payload and pipes it into `bun run -`",
"paths": [
"index.js"
],
"source": "PACKAGE_ARCHIVE",
"digests": {
"sha256": "930736600c86e9daeb6d8d87a4d821fa0b721302bcffc6277d95512dff4c0a25"
}
},
{
"note": "decrypted 435 KB Bun payload, a rebuild of the data-pipeline-testmetest 2.0.1 stealer",
"source": "IN_MEMORY",
"digests": {
"sha256": "0084e249dc90d3f08528a519da95bf54967c9f9b996c047f6dc2327f74182d72"
}
}
]
},
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-021575",
"sha256": "191cc40d7896b393d37ba01dd32b1087b769c9fc7dd7b2debb32ba4ef34de11d",
"source": "amazon-inspector",
"versions": [
"1.0.0"
],
"import_time": "2026-10-22T06:30:24.528135696Z",
"modified_time": "2026-10-22T06:11:24Z"
}
]
}
},
"related_cves": [],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 404575,
"published_at": "2026-10-21T18:00:00+00:00"
}