Malicious code in render-keepalive (npm)
Description
lib/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.