Security context

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

team9ai/team9
main @ fdc1143
74
Fixes
0
CVEs
HIGH
Peak severity
35.0%
Coverage
Highlights
Auth Bypass: 58 prior fixes. Scrutinize any change in this area.
apps/server/apps/gateway/src/bot/bot-auth-cache.service.ts: most-fixed (6 issues). Treat as high-risk during review.
42 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: Routines lacking assigned bots or explicit validation silently bypassed ownership and tenant checks, allowing unauthorized cross-tenant read/write operations.
Auth Bypass: Race conditions, versioning omissions, and silent failures in Redis-backed token validation allowed revoked or invalidated bot credentials to bypass active validation controls.
Path Traversal: Lack of strict validation on user-controlled inputs in file-system operations permitted path traversal attacks on both the backend wikis and client identity directories.