[P0] Admin/web UI binds 0.0.0.0:9876 unauthenticated; SSE auth off by default #36
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_shrimp#36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The web UI is reachable on all interfaces (
socat TCP-LISTEN:9876,bind=0.0.0.0 → web.sock) with no auth, and SSE only enforces a bearer token whenSHRIMP_REQUIRE_AUTH=1. On a non-trusted network this exposes the agent (file/shell tools) to anyone.Evidence
crates/hero_shrimp_server/src/rpc/sse.rs— auth gated behindSHRIMP_REQUIRE_AUTH.0.0.0.0:9876.Proposed fix
Default to localhost bind; require a token for non-loopback access; document the secure exposure path (reverse proxy + auth).
Filed from a comparative audit of Hero Shrimp vs Qwen-Code / kimi-cli / picoclaw (2026-05-23). Severity in title: P0=correctness/trust, P1=reliability/UX, P2=cleanup.