The package’s intended server function exposes an unauthenticated agent endpoint on all interfaces, and headless startup automatically approves tools. This is a reachable security vulnerability requiring a warning, though starting the server is an explicit user action.
Static reason
No blocking static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
A user starts the server or daemon in a non-TTY environment; a network client sends a POST request to /v1/messages.
Impact
A reachable client may induce the agent to run tools with the server process’s project access and privileges. This is a serious exposure in deployments where the listener is reachable by untrusted clients.
Mechanism
The server binds to 0.0.0.0. Headless startup defaults to auto-approval, while the message route accepts prompts without an authentication check and enables built-in tools when tools are omitted.
Evidence
bin/cortex-daemon.jsdist/index.jsdist/routes/messages.js
Network endpoints2
0.0.0.0:<PORT> (default port 4000)POST /v1/messages