Security context

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

light-heart-labs/ods
main @ 361101c
107
Fixes
0
CVEs
CRITICAL
Peak severity
82.9%
Coverage
Highlights
Auth Bypass: 22 prior fixes. Scrutinize any change in this area.
dream-server/bin/dream-host-agent.py: most-fixed (8 issues). Treat as high-risk during review.
62 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.

Auth Bypass: The reverse proxy configuration contained several critical authorization flaws where regex-based cookie checks, incorrect redirect matching, and handler ordering rules allowed request routing to bypass the authentication gateway entirely. This was resolved by grouping directives inside a structured route block and enforcing HMAC-verified signatures.
Path Traversal: The host agent and configuration synchronization logic allowed arbitrary file writes and disclosures due to insufficient validation of target directories, uncanonicalized file paths, and unvalidated directory symlinks. It required structural containment checks against the intended base directory.
Command Injection: Several automated GitHub workflow pipelines evaluated dynamic context variables directly inside shell commands, exposing the runner environments to arbitrary command execution via maliciously crafted issue titles or pull request bodies.