Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in @bananacool467/ui-tools (npm)

0
Critical
Published: 08/06/2026 (08/06/2026, 13:54:59 UTC)
Source: GCVE Database
Product: @bananacool467/ui-tools

Description

The npm package @bananacool467/ui-tools, marketed as a UI-components library, contains malicious code that implements an unauthenticated WebSocket server exposing an interactive shell on the server. This backdoor allows remote command execution as the server process without any authentication or origin checks. The package ships both the server-side middleware and a browser client that together create a remote shell channel, posing a severe security risk to any system using it.

Affected software

npmghsa
@bananacool467/ui-tools
Affected versions
=0.1.4-beta=0.1.0-beta=0.1.7-beta=0.1.3-beta=0.1.1-beta=0.1.5-beta=0.1.2-beta=0.1.6-beta

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

AILast updated: 08/06/2026, 18:34:01 UTC

Technical Analysis

The @bananacool467/ui-tools npm package includes a server-side middleware called useTerminal that creates a WebSocketServer at the path /terminal-stream. Incoming WebSocket messages are directly written into a spawned PTY (bash or powershell) running with the server's environment and home directory as the working directory. Output from the PTY is streamed back to the client. There is no authentication, origin verification, or handshake token protecting this WebSocket connection. The package also provides a browser client that connects to this WebSocket and sends keystrokes, effectively enabling an unauthenticated remote shell with full command execution capabilities on the server process. This functionality is hidden under the guise of a UI toolkit, constituting a backdoor.

Potential Impact

Any server that installs and uses this package and mounts the exported useTerminal hook exposes itself to full unauthenticated remote code execution. Attackers can execute arbitrary commands with the privileges of the server process, potentially leading to complete system compromise. The lack of any authentication or access controls makes exploitation trivial once the package is in use.

Mitigation Recommendations

No official patch or remediation is currently available. Users should immediately remove the @bananacool467/ui-tools package from their projects and avoid using any versions listed as affected. Audit your dependencies to ensure this package is not included transitively. Consider rebuilding affected environments after removal to ensure no persistent backdoors remain.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-13416
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a74cf8cbf8831d5391ae73c

Added to database: 08/06/2026, 18:16:44 UTC

Last enriched: 08/06/2026, 18:34:01 UTC

Last updated: 08/06/2026, 18:34:01 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses