Security context

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

basecamp/fizzy
main @ a7c9040
82
Fixes
0
CVEs
HIGH
Peak severity
48.4%
Coverage
Highlights
Auth Bypass: 35 prior fixes. Scrutinize any change in this area.
app/controllers/concerns/authentication.rb: most-fixed (7 issues). Treat as high-risk during review.
65 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 largest class of historical fixes; repeated issues with token authentication, account scoping, and staff checks. Fixes show a pattern of missing before_actions, mis-ordered callbacks, and insufficient scope validation.
SSRF: Multiple fixes address SSRF via DNS rebinding and IPv6 transition mechanisms (NAT64, 6to4, Teredo, SIIT, IPv4-compat). The guard set is complex and has been iteratively hardened, indicating high risk of missing edge cases.
Arbitrary Code Execution: The import pipeline used constantize on untrusted input, leading to arbitrary class instantiation. Fixed by adding an allowlist, but the import path has multiple related fixes (path traversal, cross-tenant integrity) indicating a high-risk surface.