MAL-2026-13758Malicious code in bs58-11 (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | bs58-11 | * |
| npm | bs58-11 | 6.0.1 |
{"schema_version":"1.7.4","id":"MAL-2026-13758","published":"2026-08-11T16:40:07Z","modified":"2026-08-12T12:25:59.993315837Z","aliases":["GHSA-mw39-7442-3p8m"],"summary":"Malicious code in bs58-11 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (af29bcf6fea2d386f8beb757fa38bac5f1cc6dbae984795f5fd1f4356afd83f7)\nPackage `bs58-11` is published under a name that resembles the popular `bs58` module. Its README self-identifies as `bs58` and instructs `npm i --save bs58`, while `package.json` declares the name as `bs58-11`. The tarball contains only a two-line wrapper (`index.cjs`) that `require`s `base65-11x` — a name resembling the legitimate `base-x` package — and immediately invokes its default export at module load. The wrapper itself contains no exfiltration, credential access, install-time fetch-and-execute, silent-relay, or backdoor code. Any behavior beyond base-x-style alphabet decoding depends on the content of the `base65-11x` dependency, which is not part of this tarball.\n\n## Source: ghsa-malware (8a9f90466ed9f42f4891cc53d4a86bd0dc7477c72e007decc817a8dcc7648093)\nAny 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.\n","affected":[{"package":{"name":"bs58-11","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["6.0.1"],"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"}],"indicators":{"evidence_files":[{"path":"src/cjs/index.cjs","sha256":"8615addc712e54edc3f12bf38bfe20c4a71342444c3a6810da67b696b51ae1f1","tlsh":"89e0615a7db7e4914264004e4235c8932efd4c7f0484345a72cf9fbad25409568a1d17"},{"path":"README.md","sha256":"33f92b51c3593bd10c488bac7e8af00e234ebd9ba513565f1749a8c0b6e02980","tlsh":"6341939b9cc820aa0fbdd0e655ce685bf7afe685649c98cd087a45d202014fb0f7e43c"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mw39-7442-3p8m"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/bs58-11/v/6.0.1"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-mw39-7442-3p8m","import_time":"2026-08-12T00:17:04.869533177Z","modified_time":"2026-08-11T16:40:07Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"8a9f90466ed9f42f4891cc53d4a86bd0dc7477c72e007decc817a8dcc7648093","source":"ghsa-malware"},{"id":"IN-MAL-2026-017436","import_time":"2026-08-12T12:24:13.584727706Z","modified_time":"2026-08-12T12:21:21Z","sha256":"af29bcf6fea2d386f8beb757fa38bac5f1cc6dbae984795f5fd1f4356afd83f7","source":"amazon-inspector","versions":["6.0.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0