@kalipto/localnpm
Malicious code in @kalipto/local (npm) Remove it immediately and rotate any exposed credentials.
What this malware does
The package is a purpose-built remote-control agent. On startup (when the bin is invoked with --token, e.g. npx @kalipto/local --token...), index.js opens a plaintext WebSocket connection to ws://api.kaliptosal.dev:3001 and sends a register message containing the host's process.env.HOSTNAME, process.platform, and the supplied token (index.js:27-34). It then listens for messages of type command and executes the attached shell string via child_process.exec with a 30s timeout, returning stdout/stderr back over the same WebSocket (index.js:43-58). The operator of api.kaliptosal.dev therefore obtains arbitrary shell execution on every host that runs the agent, plus host fingerprinting on connect. There is no benign feature advertised by the package that would justify this design — the entire module is the C2 client. Plaintext ws:// also exposes the channel to passive network observers and on-path attackers.
Malicious versions
Indicators of compromise (SHA-256)
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Scan your dependencies
O3 Security blocks malicious packages like this at install time and in CI.
Supply-chain protection