Malicious code in @cliphijack/santaclaude (npm)
The @cliphijack/santaclaude npm package contains malicious code that establishes a persistent WebSocket connection to a remote server, allowing that server to execute arbitrary shell commands within the user's tmux sessions. The package also supports remote-controlled updates by re-executing versions specified by the server, and it sends host identifiers back to the server via shell hooks. This design effectively grants unauthenticated remote control over the host environment where the package is installed.
AI Analysis
Technical Summary
The santaclaude binary in the @cliphijack/santaclaude npm package opens a persistent WebSocket connection to santaclaude.app and long-polls a control API endpoint. Commands received are executed as shell keystrokes in tmux sessions, enabling arbitrary command execution. It can spawn new tmux windows running an AI coding agent configured to bypass tool-use confirmations, further escalating control. Additionally, the package polls for updates from the server and can re-execute a server-chosen package version, allowing dynamic remote code execution. Shell hooks send host identifiers back to the server. This architecture provides an unauthenticated remote-control channel into the host shell and agent.
Potential Impact
An attacker controlling the remote server can execute arbitrary shell commands on the victim's host via tmux sessions, potentially leading to full system compromise. The remote server can also force the client to update to any version it chooses, enabling persistent and evolving malicious control. Host identifiers are exfiltrated to the attacker, facilitating tracking or targeted attacks.
Mitigation Recommendations
No official patch or remediation is currently available. Users should immediately uninstall the @cliphijack/santaclaude package and avoid running it. Monitor for any unexpected tmux sessions or network connections to santaclaude.app. Since the package allows unauthenticated remote control, it should be considered fully compromised if installed. Check for vendor advisories for updates on remediation.
Malicious code in @cliphijack/santaclaude (npm)
Description
The @cliphijack/santaclaude npm package contains malicious code that establishes a persistent WebSocket connection to a remote server, allowing that server to execute arbitrary shell commands within the user's tmux sessions. The package also supports remote-controlled updates by re-executing versions specified by the server, and it sends host identifiers back to the server via shell hooks. This design effectively grants unauthenticated remote control over the host environment where the package is installed.
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 santaclaude binary in the @cliphijack/santaclaude npm package opens a persistent WebSocket connection to santaclaude.app and long-polls a control API endpoint. Commands received are executed as shell keystrokes in tmux sessions, enabling arbitrary command execution. It can spawn new tmux windows running an AI coding agent configured to bypass tool-use confirmations, further escalating control. Additionally, the package polls for updates from the server and can re-execute a server-chosen package version, allowing dynamic remote code execution. Shell hooks send host identifiers back to the server. This architecture provides an unauthenticated remote-control channel into the host shell and agent.
Potential Impact
An attacker controlling the remote server can execute arbitrary shell commands on the victim's host via tmux sessions, potentially leading to full system compromise. The remote server can also force the client to update to any version it chooses, enabling persistent and evolving malicious control. Host identifiers are exfiltrated to the attacker, facilitating tracking or targeted attacks.
Defensive Guidance
No official patch or remediation is currently available. Users should immediately uninstall the @cliphijack/santaclaude package and avoid running it. Monitor for any unexpected tmux sessions or network connections to santaclaude.app. Since the package allows unauthenticated remote control, it should be considered fully compromised if installed. Check for vendor advisories for updates on remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13363
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cf8cbf8831d5391ae611
Added to database: 08/06/2026, 18:16:44 UTC
Last enriched: 08/06/2026, 18:32:10 UTC
Last updated: 08/06/2026, 18:32:10 UTC
Views: 2
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.