The server’s all-interface listener, permissive CORS, and default headless auto-approval create a serious exposure for an agent API without visible authentication. Because this behavior occurs when a user starts the intended server and no covert attack is identified, classify it as suspicious rather than malicious.
Static reason
No blocking static signals were detected.
Trigger
A user starts the server or daemon; a reachable client then sends a request to the API.
Impact
A network-reachable client may be able to make the agent use its tools with the server process's access to project files, commands, and credentials.
Mechanism
The listener binds to 0.0.0.0, CORS accepts any origin, and headless startup enables YOLO auto-approval unless explicitly disabled. The messages route accepts client requests for agent processing.
Evidence
dist/index.jsdist/routes/messages.jsdist/middleware/cors.jsbin/cortex-daemon.js
Network endpoints1
0.0.0.0:<port>/v1/messages (default port 4000)