LWA-2026-10545 MAL-2026-13375 ↗ confirmed malware

app-api-sdk@2.1.7

Malicious code in app-api-sdk (npm)

T1059.007 · JavaScriptT1098.004 · SSH Authorized KeysT1082 · System Information DiscoveryT1552.001 · Credentials In FilesT1071.001 · Web ProtocolsT1105 · Ingress Tool TransferT1041 · Exfiltration Over C2 Channel

Analysis

The postinstall hook (node test.js) runs an SSH-backdoor implant. It fetches an SSH public key from the C2 server 95[.]216[.]118[.]146:3001 (/api/ssh-key), appends it to the victim's ~/.ssh/authorized_keys, and enables the firewall to allow inbound SSH (sudo ufw enable; sudo ufw allow 22/tcp), granting persistent remote access. It also fetches /api/scan-patterns and /api/block-patterns from the same server to configure a filesystem sweep, then scans the home directory for credential files (id.json, config.toml, .env, env) and uploads them to hxxp://95[.]216[.]118[.]146:3001/api/v1. A second routine recursively searches the working directory for the same credential files and POSTs them to the same endpoint.

analyzed by
Leitwacht
first seen
Aug 5, 2026, 05:37 PM
analyzed
Aug 5, 2026, 05:38 PM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.