FI

firebase-security-review

Security review assistant for Firebase rules, App Check enforcement, and sensitive data exposure.

Install

mkdir -p .claude/skills/firebase-security-review && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14707" && unzip -o skill.zip -d .claude/skills/firebase-security-review && rm skill.zip

Installs to .claude/skills/firebase-security-review

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Audit this Firebase + Vue app for security issues before deploy. Use when asked to "security review", "セキュリティレビュー", "安全性チェック", "デプロイ前チェック", "脆弱性チェック", or after changing rules / functions / auth. Covers Firestore & Storage rules, App Check enforcement, exposed secrets, callable-function auth guards, and hosting / CSP headers. Reports findings with severity, file:line, and a concrete fix.
389 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Audit Firestore and Storage security rules
  • Verify App Check enforcement in callable functions
  • Scan for exposed secrets in the codebase
  • Check function authorization and input validation
  • Review hosting and Content Security Policy (CSP) headers
  • Audit frontend code for XSS and auth guards

How it works

The skill systematically audits specified areas of a Firebase + Vue application, checking for common security vulnerabilities and misconfigurations.

Inputs & outputs

You give it
Firebase + Vue app codebase
You get back
Security findings grouped by severity with file:line, explanation, and concrete fix

When to use firebase-security-review

  • Pre-deployment security audit
  • Reviewing Firestore security rules
  • Checking for hardcoded API keys

About this skill

Firebase security review

Audit the surfaces below. For each finding report severity (High / Med / Low), file:line, why it matters, and the concrete fix. Verify claims against the code — do not assume.

1. Firestore & Storage rules (firestore.rules, storage.rules)

  • Default-deny catch-all present and last? Any if true / unauthenticated writes to real data?
  • Per-user data gated on request.auth.uid? Write payloads validated (hasOnly, type/size)?
  • Storage scoped per path, or a blanket if request.auth != null over {allPaths=**}? (deep-dive with the firestore-rules skill).

2. App Check

  • Callables should enforce App Check — either the enforceAppCheck: true option, or a manual guard that rejects un-attested calls:
    if (request.app == undefined) {
      throw new HttpsError("failed-precondition", "…App Check verified app.");
    }
    
    Confirm each onCall in functions/src/wrappers/ enforces this. Without it, callables are reachable by anything holding the public config.

3. Secrets vs. public config

  • src/config/project.ts firebaseConfig is public web config — not a leak. Don't flag it.
  • DO flag: service-account JSON, private keys, API secrets, or tokens committed anywhere, or secrets hardcoded in functions/ instead of Cloud Secret Manager (defineSecret from firebase-functions/params). Grep for PRIVATE KEY, secret, token, .json credential files.

4. Function authorization & input

  • Every onCall that touches user data must check request.auth before acting — a signed-out or wrong user must not read/write another's data.
  • HTTP servers (functions/functions/server/* hono/express) exposed via hosting rewrites (/api/*, /hono_api/*, /v2_api/*): validate/authorize each route; don't trust the body.
  • Set sane resource limits in the function options (maxInstances, timeoutSeconds, memory) to cap abuse/cost.

5. Hosting headers (firebase.json)

  • Confirm CSP frame-ancestors 'none', X-Frame-Options: deny, X-Content-Type-Options: nosniff, Referrer-Policy: no-referrer are still present on source: "**".

6. Frontend

  • No v-html (XSS); no secrets in client code; auth guards (requireLogin) actually block protected views rather than only hiding UI.

7. Dependencies

  • yarn npm audit (root and functions/) for known-vulnerable packages; note Dependabot alerts.

Output

Group findings by severity, most severe first. If clean, say so explicitly and list what was checked. Recommend the exact deploy scope for any fix (firebase deploy --only firestore:rules etc.).

When not to use it

  • When performing static code quality audits unrelated to security
  • When debugging backend agent issues

Limitations

  • Does not perform static code quality audits
  • Does not debug backend agent issues
  • Does not troubleshoot bot platform issues

How it compares

This skill provides a structured, multi-faceted security review specific to Firebase + Vue applications, covering rules, App Check, secrets, and frontend, unlike a generic code scanner.

Compared to similar skills

firebase-security-review side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
firebase-security-review (this skill)01moNo flagsIntermediate
data-safety-auditor37moNo flagsAdvanced
xss-scan06moReviewBeginner
1password273moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

data-safety-auditor

ananddtyagi

Comprehensive data safety auditor for Vue 3 + Pinia + IndexedDB + PouchDB applications. Detects data loss risks, sync issues, race conditions, and browser-specific vulnerabilities with actionable remediation guidance.

38

xss-scan

itsimonfredlingjack

You are a frontend security specialist focusing on Cross-Site Scripting (XSS) vulnerability detection and prevention. Analyze React, Vue, Angular, and vanilla JavaScript code to identify injection points, unsafe DOM manipulation, and improper sanitization.

00

1password

openclaw

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.

2799

security-compliance

davila7

Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and risk assessments, managing security operations and incident response, and embedding security throughout the SDLC.

1981

information-security-manager-iso27001

davila7

Senior Information Security Manager specializing in ISO 27001 and ISO 27002 implementation for HealthTech and MedTech companies. Provides ISMS implementation, cybersecurity risk assessment, security controls management, and compliance oversight. Use for ISMS design, security risk assessments, control implementation, and ISO 27001 certification activities.

1169

cursor-sso-integration

jeremylongshore

Configure SSO and enterprise authentication in Cursor. Triggers on "cursor sso", "cursor saml", "cursor oauth", "enterprise cursor auth", "cursor okta". Use when working with cursor sso integration functionality. Trigger with phrases like "cursor sso integration", "cursor integration", "cursor".

433

Search skills

Search the agent skills registry