Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

jwadow/kiro-gateway
main @ a5292ca
2
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Denial of Service: 1 prior fix. Scrutinize any change in this area.
Build: most-fixed (1 issue). Treat as high-risk during review.
0 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Denial of Service: Using a single shared connection pool client for LLM streaming requests caused a connection leak (CLOSE_WAIT), potentially exhausting available file descriptors and leading to denial of service. Per-request HTTP clients must be used instead.
Information Disclosure: Sensitive local files like `credentials.json` and `state.json` were historically leaked into the final Docker image layers because they were not explicitly excluded from the build context. This exposes static secrets to anyone with image access.