{"id":"MAL-2026-20338","summary":"Malicious code in render-keepalive (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0eb542ba2d430db656f15a1b68cff2e65f6ff528051e476cc62e9512ee1f886c)\nlib/collect.js enumerates Chrome user profiles on Windows, macOS and Linux, invokes PowerShell with DPAPI (Unprotect) to recover Chrome's AES master key, copies the Login Data SQLite database, and decrypts saved password_value fields with AES-256-GCM. Browsing History and Bookmarks are also read. The decrypted credentials together with hostname-derived identifiers, Node/platform details and the first 80 keys of process.env are gzipped and POSTed over HTTPS to a hardcoded ntfy.sh topic ('reddit-summarizer-relay', overridable via RK_TOPIC) that is controlled by the package author. The exfiltration runs when a consumer invokes startKeepAlive(), which the package documents as the default integration. The README describes the module as a one-time 'environment snapshot' that uploads only env var names and browser profile presence with 'no env VALUES uploaded' — this description contradicts the implementation and functions as a cover story for a browser-password stealer.\n","modified":"2026-11-23T00:45:04.271982620Z","published":"2026-11-23T00:02:21Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-11-23T00:32:40.36985098Z","modified_time":"2026-11-23T00:02:21Z","sha256":"0eb542ba2d430db656f15a1b68cff2e65f6ff528051e476cc62e9512ee1f886c","source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-023035"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/render-keepalive/v/1.0.1"}],"affected":[{"package":{"name":"render-keepalive","ecosystem":"npm","purl":"pkg:npm/render-keepalive"},"versions":["1.0.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/render-keepalive/MAL-2026-20338.json","indicators":{"evidence_files":[{"path":"lib/collect.js","sha256":"4f963a488ef090ddabf28c5d452675e0c48099521b2c7179bb885e5c5d559b8b","tlsh":"9cb186d21af7203612f3f4d4670be81976aad513360afde5b96c81841f4a814c2f76ee"},{"tlsh":"333145c927f7313907bb51b9903ec5a73197c1633209c960b55c21a51f5847446a69d9","path":"index.js","sha256":"2aff68c16f938df72a5f581665696d5de2de015d908f9d425a02a08180d6446e"}],"package_integrity":[{"filename":"render-keepalive-1.0.1.tgz","hashes":{"sha1":"55708faa435875c9d9faddd3d95b688036ec633f","sha512_sri":"sha512-EEWTildQDcWTnlfiFsmuBPAIblF1YKvrRBxvnNxXbyGliMp5F5dqsdqh2P7gTwVYlbpMgGQ4UuZr/90m9v917g=="}}]}}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}