Security context

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

transformeroptimus/superagi
main @ c3c1982
18
Fixes
12
CVEs
CRITICAL
Peak severity
29.4%
Coverage
Highlights
Auth Bypass: 11 prior fixes. Scrutinize any change in this area.
superagi/controllers/google_oauth.py: most-fixed (3 issues). Treat as high-risk during review.
14 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: Misconfiguration of core auth helper functions and incorrect forwarding of authorization contexts historically permitted complete authentication bypasses. The failure to return validated claims in check_auth exposed downstream routing endpoints.
Remote Code Execution: Processing untrusted agent template configurations (such as instructions, constraints, and goals) using unsafe python evaluation functions (eval) introduces a critical remote code execution vector, as also noted in CVE-2025-51472 and CVE-2024-9439.
IDOR: Endpoints serving downloads and retrieving templates failed to perform proper multi-tenant organization boundaries, exposing database records and arbitrary resource downloads to unauthorized organization users.