app-node-layer @2.1.6
Vulnerability report · Last retrieved from osv.dev July 28, 2026 at 4:33 PM UTC
OSV ID
MAL-2026-11054
Ecosystem
npm
Summary
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: amazon-inspector (175a4ca1d8f0f386347ce87b04012ff634cc3dee7b08117e72bcfa1562a213e4)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.