scaffold-firebase-project
Audited by Socket on Sep 4, 2026
1 alert found:
AnomalyNo clear supply-chain malware or backdoor behavior is evident. The code appears to implement standard invitation and membership flows and uses Secret Manager for the SendGrid key. However, security risk centers on authorization and abuse paths: the invitation-email trigger can be abused if invitations are writable by unauthorized users (rules for the invitations collection are not shown), and access control in Firestore depends heavily on custom claims/role handling, including a viewer restriction pattern that may become permissive under missing/stale role claims. These are significant issues to validate via complete Firestore rule coverage and tests, plus ensure invitation token/role and invitation write permissions are tightly controlled.