LWA-2026-5285 MAL-2026-5781 ↗ confirmed malware

portal-backend@999.0.0

Malicious code in portal-backend (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1082 · System Information DiscoveryT1552.001 · Credentials In FilesT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 Channel

Analysis

portal-backend@999.0.0 is a dependency-confusion package impersonating an internal service. The preinstall hook runs postinstall.js which collects the following from the installation environment: hostname, username, current working directory, npm registry/prefix configuration, and every environment variable whose name matches key|secret|token|pass|private|ssh|deploy|auth|api|rpc|wallet|sentry|docker|graph|slack|host (harvesting API keys, tokens, passwords, and other secrets). This collected data is serialized as JSON and POSTed over HTTPS to 185[.]130[.]46[.]35:8443/collect. Errors from both the data collection and the network request are silently swallowed (the preinstall script uses `|| true` and an empty catch block), making the attack invisible during installation.

analyzed by
Leitwacht
first seen
Jun 15, 2026, 02:54 AM
analyzed
Jun 15, 2026, 02:55 AM

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.