No authentication on proxy endpoints, no TLS #8

Open
opened 2026-05-18 02:18:50 +00:00 by renekv · 0 comments
Contributor

Severity: Medium

The proxy defaults to 127.0.0.1 but the config allows binding to 0.0.0.0 with no warning. Requests are unencrypted (no TLS). Any user or website on the same machine can issue requests through the proxy.

Files: cmd/ocgo/main.go:297-299, 357-359

Fix: Warn if binding to non-localhost. Consider adding TLS support or at minimum documenting the risk.

**Severity: Medium** The proxy defaults to `127.0.0.1` but the config allows binding to `0.0.0.0` with no warning. Requests are unencrypted (no TLS). Any user or website on the same machine can issue requests through the proxy. **Files:** `cmd/ocgo/main.go:297-299`, `357-359` **Fix:** Warn if binding to non-localhost. Consider adding TLS support or at minimum documenting the risk.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: opencode/ocgo#8
No description provided.