MAL-2026-10409Malicious code in cold-debug-elevator (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | cold-debug-elevator | * |
| npm | cold-debug-elevator | 1.0.1 |
| npm | cold-debug-elevator | 1.0.2 |
| npm | cold-debug-elevator | 1.0.3 |
| npm | cold-debug-elevator | 1.0.4 |
{"schema_version":"1.7.4","id":"MAL-2026-10409","published":"2026-07-13T06:58:13Z","modified":"2026-08-18T21:12:22.132543539Z","aliases":["GHSA-w47c-q2p5-gq33"],"summary":"Malicious code in cold-debug-elevator (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cae8ef53b42bfe7f208c404e2e973600fa174f41c5a2009814f5f0e892769195)\nThe package presents itself as a debugging utility but its exported API is a browser credential stealer targeting installer-owned secrets. The `extract(browserPath, outputPath)` entry point spawns Chrome/Edge/Brave under a debugger, locates the OSCrypt App-Bound Encryption provider inside chrome.dll/msedge.dll via Zydis disassembly (searching for the `OSCrypt.AppBoundProvider.Decrypt.ResultCode` string), sets a hardware execute breakpoint, and reads the 32-byte AppBound key out of process registers via ReadProcessMemory. It then DPAPI-decrypts the Local State master key and issues `SELECT... encrypted_value FROM cookies` and `SELECT origin_url, username_value, password_value FROM logins` against every Chrome/Edge/Brave profile, AES-GCM-decrypting cookies, saved passwords, autofill and history. A second entry point `extractGecko(outputPath)` loads nss3.dll from installed Firefox, Thunderbird, Waterfox, SeaMonkey, Pale Moon, LibreWolf and Tor Browser and calls PK11SDR_Decrypt to recover saved passwords from logins.json, then copies cookies.sqlite, formhistory.sqlite and places.sqlite from each profile. Output files are delimited with a `<Sage Private>` branding string consistent with offensive tooling. binding.gyp references vcpkg paths outside the tarball (`<(module_root_dir)\\..\\builder\\src\\Chromium-DebugElevator-main (1)\\...`), so `node-gyp rebuild` will fail on a normal install — the stealer is distributed as C++ source and runs only after a consumer builds it manually and invokes the API, but the shipped code has no purpose other than harvesting browser secrets from the machine that runs it.\n\n## Source: ghsa-malware (6bfe2b635528545c3f811f608ded5e337a5c328bb077e9f9b729f40204bffaf4)\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":"cold-debug-elevator","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.4","1.0.1","1.0.3","1.0.2"],"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":"src/DebugChromium.cpp","sha256":"ffbbcaa385856ee54c3d650fe694e083acd64bd29b515fb92017561a43db0f8f","tlsh":"d9c2d7c671bfb48f5e62022050730016ec6cd4a1117fc676bcedc2a07ab65bdc9766ea"}],"package_integrity":[{"filename":"cold-debug-elevator-1.0.4.tgz","hashes":{"sha1":"d4ea9671e5e3e0c1c8779e825b61b142ee6506f0","sha512_sri":"sha512-A0klz1Pvrodgm4DNjoYqPOoy3HiTqHC/MfKtr05Q6pCpSQEzHE7VRyaQK0BhSRDqLpjxFii/pjAwnOfkMGAN1A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/cold-debug-elevator/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/cold-debug-elevator/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/cold-debug-elevator/v/1.0.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w47c-q2p5-gq33"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/cold-debug-elevator/v/1.0.2"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-009849","import_time":"2026-07-13T07:40:13.101916942Z","modified_time":"2026-07-13T06:58:30Z","sha256":"3defc6f8e0e63aff3ba2c8a1c152bde6d68bd0dda24ad9c14c1389236ee62ffd","source":"amazon-inspector","versions":["1.0.4"]},{"id":"IN-MAL-2026-009847","import_time":"2026-07-13T07:40:12.892398262Z","modified_time":"2026-07-13T06:58:13Z","sha256":"5fe7b18c62acf544a82f1022bba7b58ed8995c5ea0387ac5f06783caffaf30e2","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-009848","import_time":"2026-07-13T07:40:12.961402838Z","modified_time":"2026-07-13T06:58:22Z","sha256":"cae8ef53b42bfe7f208c404e2e973600fa174f41c5a2009814f5f0e892769195","source":"amazon-inspector","versions":["1.0.3"]},{"id":"GHSA-w47c-q2p5-gq33","import_time":"2026-08-18T16:29:04.475593532Z","modified_time":"2026-08-18T16:16:10Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"6bfe2b635528545c3f811f608ded5e337a5c328bb077e9f9b729f40204bffaf4","source":"ghsa-malware"},{"id":"IN-MAL-2026-017995","import_time":"2026-08-18T21:10:26.701886524Z","modified_time":"2026-08-18T21:01:10Z","sha256":"8f6b43d7c40a2e55fe96949f2e4dfc8c7d081ba899015d505f8f7d678e17d939","source":"amazon-inspector","versions":["1.0.2"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0