Skills firebase
๐Ÿ“ฆ

firebase

Content revision r2 Medium Risk โš™๏ธ External commands๐ŸŒ Network access

Build Secure Firebase Backends

Firebase simplifies backend development, but weak rules and inefficient data models create security and cost risks. This skill provides practical patterns for secure, scalable Firebase applications.

Supports: Claude Codex Code(CC)
๐Ÿ“Š 69 Adequate

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "firebase" from https://skillstore.io/skills/sickn33-firebase.md and its manifest at https://skillstore.io/api/skills/sickn33-firebase/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Your Agent should still show its plan and request any confirmation required by the security policy.

Agent-readable resources

Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.

Test it

Using "firebase". Design Firestore storage for published posts, drafts, tags, and author profiles.

Expected outcome:

  • Keep posts in one queryable collection with publication state, author summary, tags, and timestamps.
  • Store sensitive profile fields separately from public author data.
  • Index publication state with creation time and test every supported tag query.

Using "firebase". Review a rule that lets any signed-in user update every field on their profile.

Expected outcome:

  • Restrict writes to the matching authenticated user.
  • Validate allowed fields and prevent client changes to roles or administrative claims.
  • Test unauthenticated, wrong-user, valid-owner, and privileged-field updates in the emulator.

Using "firebase". Reduce unexpected costs from a live activity feed.

Expected outcome:

  • Limit the query window and paginate older records.
  • Unsubscribe listeners when views close and avoid duplicate subscriptions.
  • Measure document reads in the emulator and production monitoring before expanding the feed.

Security Audit

Medium Risk
v5 โ€ข 7/23/2026 Open versioned report

Eight alerts are false positives caused by JavaScript template literals, Markdown backticks, and normal authentication response code. Two network findings are confirmed because the API helper sends current and refreshed ID tokens to an unrestricted URL. No prompt injection or malicious intent was found, but the client-written session cookie lacks standard cookie protections.

1
Files scanned
696
Lines analyzed
2
Review items
0
False positives ignored

Confirmed security concerns (1)

Medium
Insecure client-side token cookie
The example writes a Firebase ID token to document.cookie without Secure, SameSite, or HttpOnly protection. This can expose credentials through script access or unsafe transport.
The cookie assignment is explicit, and no protective attributes are present. Client-side JavaScript also cannot add HttpOnly protection.
Capability review items (2)

These are real local capabilities that may be expected for this skill, so they require review but are not counted as confirmed malicious behavior.

Low
Fetch API call
const res = await fetch(url, {
The helper sends a Firebase ID token as a bearer credential to the unrestricted url parameter. An untrusted or mistaken destination can receive the token.
Low
Fetch API call
return fetch(url, { ...opts, headers: { ...opts.headers, Authorization: "Bearer " + newToken }});
The retry sends a freshly refreshed ID token to the same unrestricted url parameter. This repeats the credential disclosure risk with a current token.

Risk Factors

โš™๏ธ External commands (4)
๐ŸŒ Network access (2)
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/sickn33-firebase/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/sickn33-firebase/security.svg)](https://skillstore.io/skills/sickn33-firebase?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/sickn33-firebase?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-firebase/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/sickn33-firebase.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

sickn33. (2026). firebase security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-firebase/audits/5

BibTeX citation

@techreport{sickn33-sickn33-firebase-2026, author = {sickn33}, title = {firebase security audit report (audit version 5)}, institution = {Skillstore}, year = {2026}, number = {5}, url = {https://skillstore.io/skills/sickn33-firebase/audits/5}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "firebase security audit report (audit version 5)" version: "unspecified" type: report authors: - name: "sickn33" date-released: "2026-07-23" url: "https://skillstore.io/skills/sickn33-firebase/audits/5" identifiers: - type: other value: "skillstore:sickn33-firebase:audit:5" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: High
55
Architecture
85
Maintainability
87
Content
69
Community
78
Spec Compliance

What You Can Build

Build a real-time web application

Plan Authentication, Firestore queries, listeners, and cleanup for a responsive application with controlled read costs.

Create serverless backend workflows

Design Cloud Functions for authenticated endpoints, Firestore triggers, scheduled maintenance, and atomic updates.

Review Firebase access controls

Evaluate ownership checks, custom claims, public data boundaries, and emulator test scenarios before deployment.

Try These Prompts

Plan a Firebase application
Plan a Firebase backend for [application]. Include services, collections, authentication methods, core queries, security boundaries, and emulator tests.
Design a Firestore model
Design Firestore collections for [requirements]. Map each query, explain denormalization choices, identify indexes, and estimate listener read behavior.
Audit security rules
Review these Firebase security rules against [roles and permissions]. Identify unauthorized access paths and propose emulator tests for every rule.
Optimize a production architecture
Assess this Firebase architecture for security, cost, scale, consistency, and failure handling. Prioritize changes and explain measurable validation steps.

Best Practices

  • Design documents around known queries and indexes before implementing user interfaces.
  • Test security rules with authenticated, unauthenticated, owner, non-owner, and administrator scenarios.
  • Use emulators and monitoring to validate listeners, functions, read volume, and failure behavior before production deployment.

Avoid

  • Do not use open read or write rules as a temporary production configuration.
  • Do not attach unbounded listeners to large collections or leave subscriptions active after a view closes.
  • Do not place privileged operations in clients because Firebase Admin SDK operations bypass security rules.

Frequently Asked Questions

Which Firebase services does this skill cover?
It covers Authentication, Firestore, Realtime Database, Cloud Functions, Storage, Hosting, Admin SDK usage, security rules, and emulators.
Can it design Firestore security rules?
Yes. It can draft ownership, public access, and custom-claim rules, but every rule requires emulator testing for your application.
Does it support social authentication?
Yes. It covers Google, GitHub, Apple, popup and redirect flows, provider linking, persistence, verification, and password recovery.
Can it help reduce Firestore costs?
Yes. It recommends query-focused models, bounded listeners, cleanup, pagination, denormalization, and read-volume measurement.
Does it generate production-ready code?
It provides implementation patterns. You must complete imports, configuration, validation, error handling, rule tests, and deployment checks.
When should I choose another database?
Choose another database when your workload requires complex joins, strong relational constraints, or native full-text search.

Developer Details

Author

sickn33

License

MIT

Skillstore revision

r2

Version notice

The author did not declare a version.

Ref

88a8e9a07f4c54ab105c1c41b6267c287146b07b

Maintenance freshness

7/26/2026

Usage

7 downloads ยท 140 views

File structure

๐Ÿ“„ SKILL.md