kalipto-runtime
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-g6f3-9j93-879j
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in kalipto-runtime (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (a918c615e1b451efabe6e88b3ecb90108abea31ac6b963be88c0a667e7a31f3a)
The package's main entry (src/server.js) is a self-executing Express server that binds to 0.0.0.0 on port 3000 and exposes POST /execute, which passes the request body's command field directly to child_process.exec with a 30-second timeout. The endpoint is gated by an API key read from process.env.RUNTIME_API_KEY, but the package's tarball includes a.env file containing RUNTIME_API_KEY=kalipto_runtime_secret_123 — a shared secret known to anyone who downloads the package from npm. Because main points at this server, both npm start and require('kalipto-runtime') cause the listener to come up. Any installer who runs this package exposes an internet-reachable arbitrary-command-execution service to every network their host is attached to, authenticated by a publicly known key. This is a backdoor: any attacker with the package contents (i.e., anyone) can run arbitrary shell commands on any host running the package.
Source: ghsa-malware (4edc1c5c90212c63aac45d49d3f67b13e97d9e503312e05ac51f3e88bcbbfd18)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0