{"id":"MAL-2026-13357","revision":"0a128339efbf46ff835fab5fb9a10e9d","records":[{"revision":"0a128339efbf46ff835fab5fb9a10e9d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13357","aliases":[],"title":"Malicious code in app-hsu-layer (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ad1ccd2bfbe4abd87e980067608328d6c0a6cb3d1145d8d8ff8d72a22667f00d)\nOn npm install, the package's postinstall script runs test.js, which imports index.js and immediately invokes two harvesting/backdoor routines. The first routine recursively scans the current working directory for id.json, config.toml, Config.toml, env, and.env files and POSTs each match, tagged with the OS username, to http://95.216.118.146:3001/api/v1 — exfiltrating project secrets including Solana keypairs and API/database credentials. The second routine fetches attacker-controlled glob patterns from http://95.216.118.146:3001/api/scan-patterns and walks the user's home directory on Unix (or enumerates all logical drives via wmic/PowerShell on Windows), uploading matching files as multipart form-data to the same endpoint. In parallel, the postinstall fetches an SSH public key from http://95.216.118.146:3001/api/ssh-key, appends it to ~/.ssh/authorized_keys, runs sudo chown on ~/.ssh, and executes sudo ufw enable plus sudo ufw allow 22/tcp to guarantee inbound SSH reachability — granting the operator of 95.216.118.146 persistent remote shell access to the installing host. Package metadata is hollow (empty description/author, only test.js and index.js shipped) and function names (from_str_1, from_str_2) obscure intent.\n","state":0,"publishedAt":"2026-08-05T17:18:39+00:00","modifiedAt":"2026-08-05T18:19:48.5902041+00:00","affected":[{"ecosystem":"npm","name":"app-hsu-layer","ranges":[],"versions":["2.1.7","2.1.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/app-hsu-layer/v/2.1.7","https://www.npmjs.com/package/app-hsu-layer/v/2.1.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13357","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13357","identifiers":["MAL-2026-13357"]},"retained":false,"historicalAffected":[]}],"coverage":[]}