LWA-2026-12270 MAL-2026-16345 ↗ confirmed malware

starbucks-sdk@1.0.0

Malicious code in starbucks-sdk (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1082 · System Information DiscoveryT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 Channel

Analysis

The preinstall hook runs callback.js, which collects host metadata (hostname, username, platform, current working directory) and the names of environment variables matching secret-related patterns (token/secret/key/pass/auth/api/aws), then POSTs them to a Telegram bot at api[.]telegram[.]org via a hardcoded bot token and chat id. The package name impersonates a well-known brand to lure installs.

analyzed by
Leitwacht
first seen
Sep 20, 2026, 12:29 AM
analyzed
Sep 20, 2026, 12:30 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.