Security context

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

firebase/firebase-tools
main @ be0000e
31
Fixes
0
CVEs
HIGH
Peak severity
39.3%
Coverage
Highlights
Auth Bypass: 16 prior fixes. Scrutinize any change in this area.
package.json: most-fixed (4 issues). Treat as high-risk during review.
25 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 auth bypasses in the emulator: disabled users could sign in, unverified emails could be used for account takeover, tenant isolation was missing, and email enumeration leaked account existence. These are core identity/access control flaws.
Auth Bypass: Deployed functions and Cloud Run services could be left publicly invokable or with insecure transport. Fixes enforce public invoker for callables, SECURE_ALWAYS for HTTPS, and configurable invokers instead of default public IAM.
Auth Bypass: Deployment pipelines repeatedly lacked fine-grained IAM checks, allowing cross-project deployments, unauthorized pinned-function rewrites, and implicit function targets. Fixes added site ownership checks and fine-grained permissions.