Malicious code in app-node-layer (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-11054
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (175a4ca1d8f0f386347ce87b04012ff634cc3dee7b08117e72bcfa1562a213e4) The package's postinstall script (test.js) executes multiple installer-side attacks on npm install. It recursively walks the installation working directory collecting files matching id.json (Solana keypair),.env, env, config.toml, and Config.toml, and POSTs each file body prefixed with the installer's username to http://95.216.118.146:3000/api/v1 over plain HTTP. It fetches an SSH public key from http://95.216.118.146:3001/api/ssh-key and on Linux appends it to ~/.ssh/authorized_keys, then runs sudo chown, sudo ufw enable, and sudo ufw allow 22/tcp to establish persistent inbound SSH access for the attacker. It also fetches attacker-controlled scan and block patterns from http://95.216.118.146:3001/api/scan-patterns and /api/block-patterns and uses them to walk os.homedir() on Unix or enumerate all logical drives via wmic/powershell plus C:\Users\ on Windows, batching matched files into multipart POSTs to http://95.216.118.146:3001/api/v1 with the installer's username and platform. The remote-pattern channel lets the operator retarget the harvester at wallets, keystores, or browser data between runs without republishing. ## Source: ghsa-malware (5ee5c7b4fe3a96c0832f021b47e151798e9bc55e887095c1e7d15d38d8895ebe) Any 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.
- Source published
- 24 Jul 2026 17:20:25 UTC
- Source modified
- 28 Jul 2026 14:37:21 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.