firestore-security-rules-auditor
Firestore セキュリティルールを監査する
Firestore ルールでは、更新によるバイパス、所有権チェック、検証の抜けが見落とされがちです。このスキルは、Claude、Codex、または Claude Code による重点的なセキュリティレビューをガイドします。
自分のエージェントでインストール
このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。
Review the Skillstore skill "firestore-security-rules-auditor" from https://skillstore.io/skills/firebase-firestore-security-rules-auditor.md and its manifest at https://skillstore.io/api/skills/firebase-firestore-security-rules-auditor/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。
エージェントが読めるリソース
AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。
テストする
「firestore-security-rules-auditor」を使用しています。 create および update アクセスを持つユーザープロフィールコレクションの Firestore ルール。
期待される結果:
- スコア: 5 点中 3 点。
- 主な問題: update ルールにより、作成後に保護されたプロフィールフィールドを変更できます。
- 推奨修正: create と update 操作に同等の検証を適用してください。
「firestore-security-rules-auditor」を使用しています。 メンバーと所有者を持つ共有ワークスペースアプリのルール。
期待される結果:
- スコア: 5 点中 2 点。
- 主な問題: リクエスト元が書き込んだメンバーシップデータによってアクセスが付与される可能性があります。
- 推奨修正: 信頼できるメンバーシップレコードと厳格な所有権チェックに基づいて権限を決定してください。
「firestore-security-rules-auditor」を使用しています。 認証済み書き込みを持つ公開コンテンツコレクションのルール。
期待される結果:
- スコア: 5 点中 4 点。
- 主な問題: テキストフィールドにサイズ制限がなく、ストレージの悪用を許す可能性があります。
- 推奨修正: 書き込み可能なフィールドに長さ制限と型チェックを追加してください。
セキュリティ監査
安全All three static findings are false positives caused by Markdown guidance in SKILL.md. The skill provides Firestore rules audit instructions and does not run commands or request system reconnaissance.
リスク要因
⚙️ 外部コマンド (1)
このレポートを共有・引用
バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。
レポートリンクをコピー
https://skillstore.io/skills/firebase-firestore-security-rules-auditor/audits/4?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdownバッジ
[](https://skillstore.io/skills/firebase-firestore-security-rules-auditor?utm_source=security_passport_badge)HTMLバッジ
<a href="https://skillstore.io/skills/firebase-firestore-security-rules-auditor?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/firebase-firestore-security-rules-auditor/security.svg" alt="Skillstore security assessment" loading="lazy"></a>埋め込みカード
<iframe src="https://skillstore.io/embed/skills/firebase-firestore-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>学術引用 (APA · BibTeX · CFF)
APA形式の引用
firebase. (2026). firestore-security-rules-auditor security audit report (audit version 4) [Author version unspecified]. Skillstore. https://skillstore.io/skills/firebase-firestore-security-rules-auditor/audits/4BibTeX形式の引用
@techreport{firebase-firebase-firestore-security-rules-auditor-2026,
author = {firebase},
title = {firestore-security-rules-auditor security audit report (audit version 4)},
institution = {Skillstore},
year = {2026},
number = {4},
url = {https://skillstore.io/skills/firebase-firestore-security-rules-auditor/audits/4},
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: "firestore-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-firestore-security-rules-auditor/audits/4"
identifiers:
- type: other
value: "skillstore:firebase-firestore-security-rules-auditor:audit:4"
description: "Skillstore immutable audit report identifier"
Skillstore スコア
このスコアの理由 証拠の信頼度: 高作成できるもの
リリース前に新しいルールをレビューする
Firestore ルールが本番環境に到達する前に、アクセス制御と検証の問題を見つけます。
認可リスクをトリアージする
ルールセット内の権限昇格、データ露出、安全でない更新経路の可能性を特定します。
クライアント向け修正対応を準備する
ルールの弱点を明確な重大度評価と実践的な修正推奨事項に変換します。
これらのプロンプトを試す
これらの Firestore Security Rules について、明らかな認可と検証の問題を監査してください。スコア、主要なリスク、修正案を要約してください。
create ルールと update ルールを比較してください。ユーザーが有効なデータを作成した後、安全でない状態に更新できる経路を特定してください。
これらのルールが所有者、ロール、管理者アクセスをどのように検証しているかをレビューしてください。ユーザー制御のドキュメントフィールドに依存する機密性の高い権限を指摘してください。
以下のアプリコンテキストを使用して、厳密な Firestore ルール監査を実施してください。ルールをスコアリングし、critical、major、moderate、minor の検出事項を報告してください。
ベストプラクティス
- ルールファイルとアプリケーションのデータモデルを一緒に提供してください。
- 読み取り、作成、更新、削除を分けてレビューするよう依頼してください。
- 高リスクの推奨事項を検証するためにローカルテストを使用してください。
回避
- ロールと所有権の前提なしに、合格または不合格だけを求めないでください。
- フィールドのホワイトリストを認可チェックとして扱わないでください。
- 機密フィールドについて create と update の違いを無視しないでください。