Malicious code in kisama-js (npm)
Description
The kisama-js npm package versions including 0.1.8, 0.1.9, 0.2.0, 0.2.4, 0.3.0, 0.3.5, 0.4.6, and 0.4.8 contain malicious code. The package ships an obfuscated agent that listens on all network interfaces at port 8000, exposing endpoints that allow remote shell command execution, interactive terminal control, full filesystem access, and task scheduling. It also uses Cloudflare quick-tunnels to expose the local listener to the internet without requiring port forwarding. The agent collects and reports host fingerprinting information and suppresses diagnostic messages to evade detection. Any system with this package installed or running should be considered fully compromised, and secrets on the system should be rotated immediately from a different machine.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The kisama-js package versions specified contain heavily obfuscated malicious code in index.js that runs a network agent binding to 0.0.0.0:8000. This agent exposes a REST API for executing shell commands, controlling an interactive PTY, and performing full filesystem operations (list, read, upload, download, delete, move, copy). It also supports cron and one-time task scheduling. The agent uses Cloudflare quick-tunnels to create an internet-accessible endpoint without requiring the operator to open ports. Host fingerprinting is performed via multiple IP services and system information is collected and reported. The obfuscation includes string-array encoding, control-flow flattening, and suppression of diagnostic output. The package references an anonymous pastebin and self-references an older version, pulling in code from a different release line. Due to these capabilities, any host running this package is fully compromised.
Potential Impact
Full remote control of the host system is possible via exposed HTTP and WebSocket endpoints, including remote shell execution, interactive terminal control, and full filesystem access. The agent's use of Cloudflare quick-tunnels allows it to bypass network restrictions and be reachable from the internet without explicit port forwarding. Host fingerprinting and system information collection enable attackers to gather detailed environment data. The compromise is severe enough that all secrets and keys on the affected system should be considered exposed and rotated immediately. Removing the package alone may not fully remediate the infection due to potential additional malicious software installed.
Mitigation Recommendations
No official patch or fix is available. The package should be removed immediately from any affected system. Because the package grants full remote control to attackers, all secrets, credentials, and keys stored on the compromised host must be rotated from a separate, trusted machine. Incident response should assume full system compromise and consider rebuilding or isolating the affected host. Monitor for any network connections to port 8000 or unexpected Cloudflare tunnel activity. Due to the severity and persistence risk, removal alone is insufficient to guarantee remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15645
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-vqwx-8v7g-55j3"]
- Ecosystems
- ["npm"]
Threat ID: 6a9ad4e8acd9273b49b6768e
Added to database: 09/04/2026, 14:25:44 UTC
Last enriched: 09/07/2026, 18:09:20 UTC
Last updated: 10/04/2026, 05:41:14 UTC
Views: 29
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.