Skip to content
Heist/ feed
Back to feed
Unrated

Malicious code in test-brotli-testmetest (npm)

Type: advisorySources: OSV

test-brotli-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 (d79f43824b57545810f0628c311b37ec5640a6c969053057d0158f46af613b33) The package ships a binding.gyp whose sources field uses GYP command expansion `

Products
test-brotli-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-brotli-testmetest (npm)

core-osv · Original source

Published 21 Oct 2026, 18:00 UTC

test-brotli-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 (d79f43824b57545810f0628c311b37ec5640a6c969053057d0158f46af613b33) The package ships a binding.gyp whose sources field uses GYP command expansion `

osv:MAL-2026-18181

test-brotli-testmetest

Fixed versions: Not specified

Complete source record
{
  "id": "b4635002f4f409e66786d2adb2950426d6ed3f3d414898d572f208fb99b1cb55",
  "url": "https://osv.dev/vulnerability/MAL-2026-18181",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Malicious code in test-brotli-testmetest (npm)",
    "summary": "test-brotli-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 (d79f43824b57545810f0628c311b37ec5640a6c969053057d0158f46af613b33) The package ships a binding.gyp whose sources field uses GYP command expansion `",
    "evidence": "osv:MAL-2026-18181",
    "products": [
      {
        "name": {
          "value": "test-brotli-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-18181",
      "aliases": [
        "MAL-2026-18181"
      ],
      "affected": [
        {
          "package": {
            "name": "test-brotli-testmetest",
            "purl": "pkg:npm/test-brotli-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-brotli-testmetest/MAL-2026-18181.json",
            "indicators": {
              "evidence_files": [
                {
                  "path": "binding.gyp",
                  "tlsh": "d3c08c3cb4380a453ad8082490e8840264b202a3081a2440e6da60286fb841f2449b9e",
                  "sha256": "9a876c0a21782b54495d13be1db41e55da1a386c01a3f8dcd15643c609056663"
                },
                {
                  "path": "index.js",
                  "tlsh": "32c408d3578c1beda6944cea520c3617a4f2c17b3c6e228dfae24617f43ee217925670",
                  "sha256": "13762599a19f5b7133be0b6fda57c20857654c9a42df805eb0325a0c4f2c1a3a"
                }
              ],
              "package_integrity": [
                {
                  "hashes": {
                    "sha1": "e768c2ac5612164acdbae55e1c636b7b9392b5c8",
                    "sha512_sri": "sha512-U/nCnVhBrlknwyvYqoYKKRTP7DWFBmZ8QInGRflLI6gh+vglA7qOo05A5M/g+wvEzIIm6cQjHlNVP/+p/e2/MQ=="
                  },
                  "filename": "test-brotli-testmetest-1.0.0.tgz"
                }
              ]
            }
          }
        }
      ],
      "modified": "2026-10-22T06:45:05.796018424Z",
      "provider": "osv",
      "references": [
        "https://www.npmjs.com/package/test-brotli-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": "13762599a19f5b7133be0b6fda57c20857654c9a42df805eb0325a0c4f2c1a3a"
              }
            },
            {
              "note": "decrypted 435 KB Bun payload, a rebuild of the data-pipeline-testmetest 2.0.1 stealer",
              "source": "IN_MEMORY",
              "digests": {
                "sha256": "d655da796cdc462d6cac0e241310a417e3b7186701cda6e6d822fe50c6f85705"
              }
            }
          ]
        },
        "malicious-packages-origins": [
          {
            "id": "IN-MAL-2026-021571",
            "sha256": "d79f43824b57545810f0628c311b37ec5640a6c969053057d0158f46af613b33",
            "source": "amazon-inspector",
            "versions": [
              "1.0.0"
            ],
            "import_time": "2026-10-22T06:30:24.123303019Z",
            "modified_time": "2026-10-22T06:10:57Z"
          }
        ]
      }
    },
    "related_cves": [],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 404577,
  "published_at": "2026-10-21T18:00:00+00:00"
}