Security context

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

labring/sealos
main @ 607befb
49
Fixes
2
CVEs
CRITICAL
Peak severity
35.1%
Coverage
Highlights
Auth Bypass: 19 prior fixes. Scrutinize any change in this area.
controllers/account/api/v1/debt_webhook.go: most-fixed (3 issues). Treat as high-risk during review.
30 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: Admission webhooks historically failed to properly validate user identities or enforce debt limits, allowing users in arrears to perform unauthorized resource operations or modify system-imposed quotas.
Privilege Escalation: Misconfigured RBAC rules historically assigned cluster-admin clusterrolebindings to service accounts, leading to full cluster takeover (CVE-2023-33190).
Auth Bypass: API routes accepted unverified decoded JWT payloads rather than verifying the signature, leading to complete authentication bypass on devbox environments.