Security context

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

firebase/firebase-functions
master @ 78f884e
10
Fixes
0
CVEs
HIGH
Peak severity
85.7%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
package.json: most-fixed (3 issues). Treat as high-risk during review.
9 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 fixes address App Check token enforcement and auth policy callbacks, indicating a fragile, configurable auth layer where defaults or bypass options can weaken security.
Auth Bypass: Token verification for v2 functions was missing the correct audience, allowing potential auth bypass; this is a critical verification detail that must be consistent across all function versions.
Access Control: Invoker misconfiguration (empty or 'public'/'private' values) could expose HTTP functions publicly; validation was added to prevent this, but similar misconfiguration risks may exist elsewhere.