MAL-2026-5921

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/proto-bin/MAL-2026-5921.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5921
Aliases
  • GHSA-34hm-qv6p-h859
Published
2026-06-16T18:53:23Z
Modified
2026-11-23T14:30:04Z
Summary
Malicious code in proto-bin (npm)
Details

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

Source: amazon-inspector (1994859460fe293cad87eadf5c704e5c717c71deaaf54842f5e29fce765f99d5)

Package is advertised as a prototype utilities library (pack/unpack/checksum) but its exported pack() function calls an internal _fetch() that downloads a platform-specific binary from https://undinee-dktl.vercel.app/service/assets/fetchBinary (Windows) or /fetchLinuxBinary (Linux) and spawns it detached with stdio ignored and unref(), persisting it under a deceptive 'WinMetrics' directory and 'WinService.exe' / 'WinMetrics' file name in user-writable locations. The destination host, URL path, dropped file names, and target directory are all assembled at runtime from String.fromCharCode numeric arrays (index.js:25-31) to evade static inspection. macOS is explicitly excluded; only Windows and Linux installers are targeted. No hash, signature, or version pin is verified before execution. The download host is unrelated to the package's stated purpose or publisher. Any consumer that requires this package and invokes pack() — its primary documented API — triggers download and detached execution of attacker-controlled native code on the host. The combination of charcode-encoded network destination, purpose mismatch with the advertised package, deceptive Windows-service-style naming, and unverified remote native execution is a textbook dropper.

Source: ghsa-malware (0994693f2e1b2d159b12b4c1ee6406926dcd9293a210ec3a3ea147f7ebf12675)

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-006804",
            "import_time":  "2026-06-16T19:46:14.133914552Z",
            "modified_time":  "2026-06-16T18:53:23Z",
            "sha256":  "1994859460fe293cad87eadf5c704e5c717c71deaaf54842f5e29fce765f99d5",
            "source":  "amazon-inspector",
            "versions":  [
                "2.3.3"
            ]
        },
        {
            "id":  "IN-MAL-2026-006805",
            "import_time":  "2026-06-16T19:46:14.206516813Z",
            "modified_time":  "2026-06-16T18:53:26Z",
            "sha256":  "32cc71148cb6b088f4f10c76b43568dcc912bc79dcad459db46138ab63e498ee",
            "source":  "amazon-inspector",
            "versions":  [
                "2.5.3"
            ]
        },
        {
            "id":  "IN-MAL-2026-006807",
            "import_time":  "2026-06-16T19:46:14.328602386Z",
            "modified_time":  "2026-06-16T18:53:30Z",
            "sha256":  "b2ca8cc817e793592b2c7d26e70809dbcb9dc5a835a24b92931fecf2208a26c4",
            "source":  "amazon-inspector",
            "versions":  [
                "2.5.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-006806",
            "import_time":  "2026-06-16T19:46:14.248065118Z",
            "modified_time":  "2026-06-16T18:53:27Z",
            "sha256":  "bc1160e91309bce8a58d1328f700bf6539719f18e412a3dea43bed2610624ef0",
            "source":  "amazon-inspector",
            "versions":  [
                "2.5.2"
            ]
        },
        {
            "id":  "GHSA-34hm-qv6p-h859",
            "import_time":  "2026-11-23T14:19:32.512661724Z",
            "modified_time":  "2026-11-23T13:57:42Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "0994693f2e1b2d159b12b4c1ee6406926dcd9293a210ec3a3ea147f7ebf12675",
            "source":  "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / proto-bin

Package

Affected ranges

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

Affected versions

2.*
2.3.3
2.5.1
2.5.2
2.5.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"
    },
    {
        "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":  "e17de5ff725ad2a4330302ccb908f2bc2e122a2a998f09dd0868a7b0cdd7dc09",
            "tlsh":  "98a1654372e1703c0727e4ed56a6d80ba15e8902324ce4e0fa9d5d049fc26a4eaf5acc"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "proto-bin-2.3.3.tgz",
            "hashes":  {
                "sha1":  "38ee21a9d53bce41af679ab900cbbf22d73e75cc",
                "sha512_sri":  "sha512-BKMl8gf5BruzzmURSvPrZuUZhmO4deNnLLSIOjrDa1J87t9rcfsJ+2d3GWej6GGG52IUoJBD6Sgs59blqVmIkw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/proto-bin/MAL-2026-5921.json"