MAL-2026-13759

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bs58-12/MAL-2026-13759.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13759
Aliases
  • GHSA-x9c8-g63x-mh7q
Published
2026-08-11T16:40:07Z
Modified
2026-08-12T12:30:16.495849980Z
Summary
Malicious code in bs58-12 (npm)
Details

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

Source: amazon-inspector (4d59b2d561269e6779eed82e12abe726403e9a2419936c01a4deaea9c3e70b2c)

Package bs58-12 presents itself as the popular bs58 base58 library (README copied from bs58, advertising npm i --save bs58) but its own code is a thin wrapper: index.js does require("base65-12x") and the sole declared runtime dependency is base65-12x at ^5.0.1, a name resembling the base-x library the real bs58 uses. The package under analysis contains no exfiltration, credential access, install/import-time destructive action, or lifecycle scripts; the only installer-facing behavior is pulling in base65-12x as a dependency. Whether installing bs58-12 causes harm depends on the code shipped by base65-12x, which is a separate package not analyzed here.

Source: ghsa-malware (c9410cfc5179babda824df65e0e58d3b719fc5e1c372187750023af1a23702d2)

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": [
        {
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "id": "GHSA-x9c8-g63x-mh7q",
            "import_time": "2026-08-12T00:17:04.875369276Z",
            "sha256": "c9410cfc5179babda824df65e0e58d3b719fc5e1c372187750023af1a23702d2",
            "modified_time": "2026-08-11T16:40:08Z",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-017434",
            "import_time": "2026-08-12T12:24:13.394306592Z",
            "sha256": "4d59b2d561269e6779eed82e12abe726403e9a2419936c01a4deaea9c3e70b2c",
            "modified_time": "2026-08-12T12:21:04Z",
            "source": "amazon-inspector",
            "versions": [
                "6.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bs58-12

Package

Affected ranges

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

Affected versions

6.*
6.0.1

Database specific

cwes
[
    {
        "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"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bs58-12/MAL-2026-13759.json"
indicators
{
    "evidence_files": [
        {
            "path": "src/cjs/index.cjs",
            "tlsh": "65e0615abdb7e4954274004e4629c8932efd4c7f0484345a72cf9fbad25409568a1d17",
            "sha256": "1a43c5439c2a51381a4acffb26679c4dcd1327571c6ce303a811cc0d5d4a18a6"
        }
    ]
}