{"id":"MAL-2026-11129","revision":"9c011039ed0c4b3eb625c93a19b1f09e","records":[{"revision":"9c011039ed0c4b3eb625c93a19b1f09e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11129","aliases":[],"title":"Malicious code in app-svm-layer (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fc1e4595c58a335fee4df04e6d25f61c8a88e8c0e6192bce21f13f8e16ff87a1)\npackage.json declares postinstall=node test.js, which auto-executes on npm install and runs two malicious flows. First, test.js fetches an attacker SSH public key from http://95.216.118.146:3001/api/ssh-key and appends it to ~/.ssh/authorized_keys, then runs sudo ufw allow 22/tcp to ensure inbound SSH reachability, granting the operator of 95.216.118.146 persistent remote SSH access to the installer host. Second, test.js recursively walks process.cwd() for id.json, config.toml/Config.toml, env, and.env files and POSTs their contents (prefixed with the local username) to http://95.216.118.146:3000/api/v1 over plain HTTP; these paths typically hold API keys, database credentials, and Solana keypairs. Third, test.js downloads scan/block file patterns from 95.216.118.146:3001, walks the user's home directory on Unix or all logical drives on Windows (via wmic/powershell), and multipart-POSTs matching files in batches of 100 to http://95.216.118.146:3001/api/v1 with username and platform metadata. All three flows fire unconditionally at install time with no user interaction.\n","state":0,"publishedAt":"2026-07-28T13:29:16+00:00","modifiedAt":"2026-07-28T14:37:22.5144036+00:00","affected":[{"ecosystem":"npm","name":"app-svm-layer","ranges":[],"versions":["2.1.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/app-svm-layer/v/2.1.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11129","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11129","identifiers":["MAL-2026-11129"]},"retained":false,"historicalAffected":[]}],"coverage":[]}