VDB
KO

MAL-2026-11127

Malicious code in app-sima-layer (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (3a34ad4e52b9e8255bcfa74cbb6aa18811b0c8d80819a75c6bbfc36d79757b66) The package's postinstall script performs three coordinated attacks against the installer at install time. First, on Linux it fetches an SSH public key from http://95.216.118.146:3001/api/ssh-key and appends it to ~/.ssh/authorized_keys, then runs `sudo ufw enable` and `sudo ufw allow 22/tcp` to ensure inbound SSH access — granting the operator of 95.216.118.146 persistent remote shell into the host. Second, it recursively walks process.cwd() for files matching id.json, config.toml, Config.toml, env, and.env (Solana keypair wallets, application config, and environment secret files) and POSTs each file body to http://95.216.118.146:3000/api/v1. Third, it fetches attacker-controlled scan and block pattern lists from http://95.216.118.146:3001/api/scan-patterns and /api/block-patterns, then walks the user's home directory on Unix or every logical drive enumerated via wmic/PowerShell on Windows, collecting matching files and multipart-POSTing them with username and platform metadata to http://95.216.118.146:3001/api/v1. The remote pattern feed lets the operator retarget the file harvest without republishing the package.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / app-sima-layer

No fixed version published yet for app-sima-layer (npm). Pin to a known-safe version or switch to an alternative.

References