The package’s purpose is to provide an HTTP server, and startup requires an explicit command, but the default all-interface binding exposes unauthenticated message, settings-write, and shutdown routes. This is a significant security risk for deployments reachable by untrusted clients, though the source does not establish malicious intent.
Static reason
No blocking static signals were detected.; previous stored version diff introduced dangerous source
Trigger
A user starts the server with its CLI or daemon command, then a network client reaches its configured port.
Impact
A reachable client may submit agent requests, alter global runtime settings, or shut down the server; consequences of agent requests depend on configured tools and their permission controls.
Mechanism
The server binds to 0.0.0.0 and mounts message, configuration-write, and shutdown routes without authentication checks in the inspected handlers.
Evidence
dist/index.jsdist/routes/config.jsdist/routes/messages.jsbin/cortex-server.jsbin/cortex-daemon.jsdist/hfSpaceLifecycle.js