firestore-security-rules-auditor
78审计 Firestore 安全规则
Firestore 规则经常遗漏更新绕过、所有权检查和验证缺口。此技能会引导 Claude、Codex 或 Claude Code 进行聚焦的安全审查。
审计 Firebase 安全规则
Firestore 规则可能会意外允许数据泄露、角色提升或不安全更新。此技能会引导 Claude、Codex 和 Claude Code 对访问控制和验证缺口进行聚焦审查。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "firebase-security-rules-auditor" from https://skillstore.io/skills/firebase-firebase-security-rules-auditor.md and its manifest at https://skillstore.io/api/skills/firebase-firebase-security-rules-auditor/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“firebase-security-rules-auditor”。 规则允许已认证用户使用 hasOnly() 更新个人资料显示名称,但没有所有权检查。
预期结果:
主要发现:字段限制约束了可更改的内容,但没有约束谁可以更改其他人的个人资料。允许更新前应添加所有权检查。
正在使用“firebase-security-rules-auditor”。 create 规则验证字段类型,但 update 规则允许同一文档使用任何新数据。
预期结果:
危急发现:update 路径可以绕过 create 验证。对 update 复用相同的类型、大小和允许字段检查。
正在使用“firebase-security-rules-auditor”。 管理员规则检查固定电子邮件,同时还要求 email_verified 为 true。
预期结果:
轻微问题或无问题:当没有规则允许用户添加新管理员或绕过验证时,这种有限的引导模式可以接受。
Static analysis flagged Markdown backticks and security-audit wording in SKILL.md. Manual review found these are non-executable Firestore rule references and legitimate audit checklist items, with no prompt injection or malicious intent found.
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/firebase-firebase-security-rules-auditor/audits/4?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/firebase-firebase-security-rules-auditor?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/firebase-firebase-security-rules-auditor?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/firebase-firebase-security-rules-auditor/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/firebase-firebase-security-rules-auditor.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>firebase. (2026). firebase-security-rules-auditor security audit report (audit version 4) [Author version unspecified]. Skillstore. https://skillstore.io/skills/firebase-firebase-security-rules-auditor/audits/4@techreport{firebase-firebase-firebase-security-rules-auditor-2026,
author = {firebase},
title = {firebase-security-rules-auditor security audit report (audit version 4)},
institution = {Skillstore},
year = {2026},
number = {4},
url = {https://skillstore.io/skills/firebase-firebase-security-rules-auditor/audits/4},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "firebase-security-rules-auditor security audit report (audit version 4)"
version: "unspecified"
type: report
authors:
- name: "firebase"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/firebase-firebase-security-rules-auditor/audits/4"
identifiers:
- type: other
value: "skillstore:firebase-firebase-security-rules-auditor:audit:4"
description: "Skillstore immutable audit report identifier"
在部署前检查新的 Firestore 规则,并识别授权或验证缺口。
按严重性优先处理规则弱点,并将其转化为具体修复任务。
验证规则是否支持协作、所有权和管理员工作流,同时避免不安全捷径。
审计这些 Firestore 安全规则。总结主要风险,给出 1 到 5 的评分,并列出实用修复措施。
审查这些规则是否存在 update 绕过。比较 create 和 update 对角色、所有权字段、大小和数据类型的验证。
审计这些规则是否信任用户提供的权限字段。检查 ownerId、role、isAdmin 和协作者访问路径。
对这些 Firestore 规则执行发布门禁审计。包括严重性、漏洞利用场景、受影响的工作流和建议的规则变更。
作者
firebase许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
a06681402992ceae98ba04d54cfd4ab004862696
维护新鲜度
2026/7/18
使用量
1 次下载 · 23 次浏览
文件结构
📄 SKILL.md
审计 Firestore 安全规则
Firestore 规则经常遗漏更新绕过、所有权检查和验证缺口。此技能会引导 Claude、Codex 或 Claude Code 进行聚焦的安全审查。
在应用中集成 Firebase AI Logic
向 Firebase 应用添加 Gemini 功能需要针对平台的设置和生产环境防护措施。此技能为 Web、移动端和 Flutter 项目提供聚焦的 Firebase AI Logic 指导。
集成 Firebase AI Logic
开发者通常需要 Firebase AI 功能,但不想维护单独的后端。此技能指导 Web 应用的设置、Gemini 模型使用、多模态提示、结构化输出以及生产环境安全。
安全构建 Firestore Standard 应用
如果将规则、索引和 SDK 使用方式分开规划,Firestore 设置可能会失败。此技能帮助 Claude、Codex 和 Claude Code 创建安全的项目文件、验证访问模式,并指导 Web SDK 集成。
构建 Genkit JS 应用
Genkit 变化很快,过时示例会导致 TypeScript 流程中断。此技能可指导当前 Genkit JavaScript 工作中的设置、文档查找、示例和故障排除。
部署 Firebase Hosting 站点
在 classic Hosting、App Hosting 和 deployment channels 之间进行选择时,Firebase Hosting 设置可能令人困惑。此技能会指导代理完成 static sites、SPAs 和 simple services 的配置、本地仿真、preview channels 和安全发布。
验证 Firebase 安全性和就绪状态
由 2389-research
Firebase 项目可能会在规则薄弱、测试缺失或部署设置不安全的情况下发布。此技能会指导对配置、身份验证、函数和发布就绪状态进行结构化审查。
加固 AWS IAM 访问控制
由 sickn33
IAM 权限常常会漂移为有风险的访问模式。此技能指导策略审查、MFA 检查、访问密钥规范管理以及最小权限修复。
审查文化数据实践
由 Acurioustractor
当同意、访问和所有权规则不明确时,敏感故事可能会被不当处理。此技能使用 OCAP、敏感度级别和审批工作流来指导审查。
审计 UniFi 安全策略
由 DataKnifeAI
UniFi 团队需要对区域、ACL 和访客访问进行清晰审查。此技能可指导 Claude、Codex 和 Claude Code 完成审计、策略检查以及可用于合规的摘要。
Review Supabase RLS and Database Grants
由 edtrackai
Supabase migrations can leave tables exposed or deny intended Data API access. This skill reviews migration history for RLS, policy, function, and grant issues.
发布前审查应用安全
由 sickn33
团队在部署前可能会遗漏常见安全缺陷。此技能提供一个结构化清单,覆盖密钥、输入验证、身份验证和测试。