Security context

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

microsoft/onefuzz
main @ 82fffbe
26
Fixes
0
CVEs
CRITICAL
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 11 prior fixes. Scrutinize any change in this area.
src/api-service/__app__/onefuzzlib/endpoint_authorization.py: most-fixed (3 issues). Treat as high-risk during review.
19 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 authorization bypasses were fixed across both C# and Python codebases, including missing checks on agent endpoints, incorrect agent identity verification, inverted admin logic, and misplaced access control checks. These are high-impact because they allow unauthorized access to sensitive operations.
Information Disclosure: Secret values were exposed through serialization, logging, and deployment outputs. Multiple fixes address redaction and keyvault migration, but the risk remains high if any path misses these protections.
Auth Bypass: Authorization logic in the Python API had multiple flaws: inverted admin check, access control not running for all requests, and missing application_id requirement. These are subtle logic errors that are easy to reintroduce.