registry/internal/api
Repository files (latest commit first)
Filename Latest commit message Latest commit date
adam jones dcb5a6f696
Add 5s timeout to DNS auth lookup to prevent resource exhaustion (#825)
The DNS auth endpoint was vulnerable to resource exhaustion if an
attacker controlled a domain with a slow/non-responding authoritative
DNS server. Without a timeout, handler goroutines would block on DNS
resolution indefinitely, allowing an attacker to pile up goroutines
until OOM.

Production is protected by NGINX ingress's default 60s proxy timeout,
but this adds defense-in-depth with a tighter 5s bound.
2025-12-10 16:22:27 +00:00
..
handlers/v0 Add 5s timeout to DNS auth lookup to prevent resource exhaustion (#825) 2025-12-10 16:22:27 +00:00
router Add simple web UI for browsing the registry (#757) 2025-11-10 12:37:36 +00:00
cors_test.go feat: add CORS support to registry API (#711) 2025-10-27 18:07:13 +00:00
openapi_compliance_test.go Introduce a /version API (#667) 2025-10-15 17:24:46 +03:00
server.go feat: add CORS support to registry API (#711) 2025-10-27 18:07:13 +00:00
server_test.go fix: add HTTP middleware to redirect trailing slash URLs to canonical form (#420) 2025-09-10 13:14:59 -07:00