Security context

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

cloudendpoints/endpoints-java
master @ 44933a4
6
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
SwaggerGenerator.java: most-fixed (1 issue). Treat as high-risk during review.
3 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 in the OpenAPI/Swagger generation engine allowed requests to bypass authentication when both JWT and API keys were expected, by mistakenly applying logical OR instead of AND. Developers must ensure swagger generation logic correctly aggregates multiple security requirements.
Auth Bypass: Failure to validate that required parameters (not marked `@Nullable`) were non-null allowed empty payloads to bypass critical application validation rules. Stricter type deserialization checks are needed.
Information Disclosure: Sensitive User and AppEngineUser objects containing actual user identities were written directly to diagnostic logs during JWT and OAuth2 authentication routines.