Security context

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

777genius/agent-teams-ai
main @ ace69f3
38
Fixes
0
CVEs
HIGH
Peak severity
30.6%
Coverage
Highlights
Path Traversal: 13 prior fixes. Scrutinize any change in this area.
CodexSessionFileRecentProjectsSourceAdapter: most-fixed (2 issues). Treat as high-risk during review.
18 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.

Path Traversal: Team provisioning and file storage operations are highly susceptible to directory traversal. Validating base paths on Windows systems requires canonicalizing and comparing via path.relative or explicit prefix boundaries to prevent unauthorized filesystem read/write access.
Command Injection: Spawning sub-processes via shell-execuring sinks like child_process.exec to install extensions introduces direct shell injection risks. Input verification must cover strict parameter, header, and environment variable regex constraints.
Denial of Service: The application suffers from repeated event-loop blocking and Out-of-Memory (OOM) crashes due to unbounded reads on large configuration, attachment, or cache files. Size checks and execution deadlines are necessary on all disk-reading tasks.