Security context

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

HeyPuter/puter
main @ 2690f49
210
Fixes
0
CVEs
CRITICAL
Peak severity
36.7%
Coverage
Highlights
Auth Bypass: 83 prior fixes. Scrutinize any change in this area.
src/backend/controllers/auth/AuthController.ts: most-fixed (18 issues). Treat as high-risk during review.
159 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: Multiple fixes address session lifecycle gaps (revocation, cache invalidation) and token/actor misbinding, allowing revoked or stale credentials to continue accessing data.
Access Control: Filesystem write operations have repeatedly lacked ownership/ACL checks, allowing share recipients or unprivileged actors to write to unauthorized paths.
Privilege Escalation: Permission parsing and mode cascade bugs allowed scoped grants to elevate to broader filesystem access; incorrect actor vs user use and higher-mode implicators were exploited.