MAL-2026-13783Malicious code in bcnfjndwbkf2 (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | bcnfjndwbkf2 | * |
| npm | bcnfjndwbkf2 | 1.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-13783","published":"2026-08-12T10:29:52Z","modified":"2026-08-12T12:53:35.984756968Z","aliases":["GHSA-7cv8-7v66-c3mh"],"summary":"Malicious code in bcnfjndwbkf2 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5a1fc1ec45930a69372eadc47b662c5d82b247b5b4227feacda3d1c4302b4bf3)\nThe package contains only index.html and declares main: 'index.html' with no scripts, no bin, and no JavaScript library surface. The HTML mimics a Cloudflare 'Just a moment...' interstitial and, after a 1s timeout, runs obfuscator.io-style code that reconstructs a target URL from a rotated base64 string array (visible fragments include 'gin.microc' and '/') and calls window.location.replace() to it, forwarding current URL search params. Because main points at an HTML file, the package cannot be require()'d or import()'d, has no lifecycle hooks, and does not execute code on npm install. Installing or depending on this package does not run the redirector against the installer — the content only affects browser visitors who fetch the HTML via an npm CDN mirror (unpkg/jsdelivr). This is npm-as-static-host abuse for a browser-side redirect page rather than a supply-chain attack against installers.\n\n## Source: ghsa-malware (7b5740dffc794b8911973e8fe1861f4bb3bf1185a727066bf2c9c9c9b661de99)\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":"bcnfjndwbkf2","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.html","sha256":"261482e36bffcc39c6398f6228a683b51ac7c4960889ef85a2be9d8154d59f5a","tlsh":"b2c2976127c038d0264bdb7a2f2ff2d5eb295daa314508cbf44cbe84ef96514dad19b0"},{"path":"package.json","sha256":"1ae93244cd196a693e698179ba7b3267daf097b21ac8c467b784faea034bd51a","tlsh":"66b0925041a2741261e8aed49aea598263130c3b404039059306303d0afbb73386c71d"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-7cv8-7v66-c3mh"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/bcnfjndwbkf2/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-7cv8-7v66-c3mh","import_time":"2026-08-12T10:39:02.38652766Z","modified_time":"2026-08-12T10:29:53Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"7b5740dffc794b8911973e8fe1861f4bb3bf1185a727066bf2c9c9c9b661de99","source":"ghsa-malware"},{"id":"IN-MAL-2026-017535","import_time":"2026-08-12T12:51:48.553964008Z","modified_time":"2026-08-12T12:35:15Z","sha256":"5a1fc1ec45930a69372eadc47b662c5d82b247b5b4227feacda3d1c4302b4bf3","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0