MAL-2026-20280

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/stream-buffer-utils-testmetest/MAL-2026-20280.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20280
Published
2026-11-20T02:09:39Z
Modified
2026-11-20T02:30:08Z
Summary
Malicious code in stream-buffer-utils-testmetest (npm)
Details

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

Source: amazon-inspector (3f98853d3cbad88cc14f8d522013ad661d83bee6b5e895ecd48931e498a618ac)

On require(), index.js brotli-decompresses a hex-encoded blob and pipes the decoded script into a bun - subprocess, resolving the Bun binary from /usr/local/bin/bun, $HOME/.bun/bin/bun, and $BUN_INSTALL/bin/bun. The payload is shipped as opaque compressed bytes rather than readable source, and executes through a sibling runtime so the code path is not visible to Node-source review of the shipped file. The package advertises itself as a generic utility library, which does not require decoding and executing an embedded blob under an alternate runtime at module load. The current decoded content is a trivial console.log, but the delivery mechanism supports swapping in arbitrary code in any subsequent publish while keeping the Node-level file structurally unchanged. The package name has a placeholder/test shape (stream-buffer-utils-testmetest).

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-022920",
            "import_time": "2026-11-20T02:16:23.115320903Z",
            "modified_time": "2026-11-20T02:09:39Z",
            "sha256": "3f98853d3cbad88cc14f8d522013ad661d83bee6b5e895ecd48931e498a618ac",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / stream-buffer-utils-testmetest

Package

Name
stream-buffer-utils-testmetest
View open source insights on deps.dev
Purl
pkg:npm/stream-buffer-utils-testmetest

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "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": "93ae01268a4d74435a7be5b9a43ba0b40abdc2ca118ff5cad22a6ddbe1aaa705",
            "tlsh": "98f041e893d37fd877822382903d4a1a68b3c1000749d0a0c8a672d72ae4b8d5b468f2"
        }
    ],
    "package_integrity": [
        {
            "filename": "stream-buffer-utils-testmetest-1.0.0.tgz",
            "hashes": {
                "sha1": "895704f07c15f70bb92f38b926ea451c19eedfcb",
                "sha512_sri": "sha512-s8JnoFz+SXs0jV1tEBt/trEGGIJJ2iphd7xwKZPvsBcQm4KoVPLmPgX2OXIL7VrLrTMaCfIytTkpkzWlCI37NA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/stream-buffer-utils-testmetest/MAL-2026-20280.json"