
farenhytee/database-sentinel
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
RLS の構成、露出されたキー、auth のバイパスおよび貯蔵の脆弱性のためのあなたのプロジェクトを監査する Claude スキル。 CVE-2025-48757および10の保安検査から供給される27の反パターン.
概要
「私のデータベースを監査」に依頼し、正確な修正コードでスコアレポートを入手してください。 任意のAIクライアントのために(Supabase、MongoDB)、または独自のモデル(Supabase)を使用して動作します。 - stdio のスコアテスト F1 0.865、精密 0.905、重大なリコール 1.0 (results) 上の実質サーバーを運転するモデル。 ハーネス: evals/mcp client.py、evalシステムm。 - 4つの読み取り専用Suppabaseツール、監査プロンプト、およびカタログリソース。 ベンチマークされたエンドツーエンド: stdio スコアテスト上のサーバーを駆動するモデル F1 0.865, 重要なリコール 1.0. - セッションプール, BYPASSRLS で読み取り専用ロール, すべての 20 クエリ. - Q1 では API の付与が確認されています: RLS は anon/authenticated revoked でオフが公開されていないと報告されません。 ・ 監査プロンプトは、SECURITY INVOKER関数が、呼び出し者の権利のみを持っていることを知っています。 - 実際のプロジェクトで見つかった、新しい dev ケース 026 。 - git+https://github.com/Farenhytee/[email protected] 任意の uvx/pipx コマンドで。 Claudeコードプラグインは自動的にピン留めされます。 - 1つのプロンプト+ anon-probeの検証、~$ 0.
概要(AI 翻訳)
データベースバックエンドのセキュリティ監査。 「私のデータベースを監査」に依頼し、正確な修正コードでスコアレポートを入手してください。
Claude Skill*(Supabase、MongoDB)、任意のAIクライアントのためのread-only MCPサーバー、または独自のモデル(Supabase)を使用する**CLIエージェントとして動作します。
→ MCPサーバの設定と利用ガイド
→ 自分で走ってみませんか? locksoup はホストされているバージョンです。スケジュールされたリチェックとアラートで Supabase セキュリティ監査。
お問い合わせ
変更ログ
2026-10-01 (v1.0.1) -Fixed: CHECKなしで更新されたポリシーは、ユーザーが列の所有権を再割り当てするように報告されなくなりました(Postgresはチェックとして使用を再利用します)。 Q8のラベルとエージェントのプロンプトは、そうでなければ言いました。これは、実際のプロジェクトで偽の大量課題の発見を生成しました。
- Benchmark:そのプロジェクトから新しいdevの場合027。 F1は変更されていない(0.836対0.838、同じ日)をテストします。 ログイン
2026-09-30 (文書)
- MCPフローベンチマーク: stdioスコアテストF1 0.865、精度 0.905、重要なリコール1.0(結果)上の実際のサーバーを駆動するモデル。 ハーネス:[
evals/mcp_client.py]、楕円形システム[m]。
v1.0.0 (2026-09-30): MCP サーバーリリース
- **MCPサーバーv1.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
🛡️ Database Sentinel
Security audits for your database backend. Ask “audit my database” and get a scored report with exact fix code.
Works as a Claude Skill (Supabase, MongoDB), a read-only MCP server for any AI client, or a CLI agent that uses your own model (both Supabase).
→ MCP server setup and usage guide
→ Don’t want to run it yourself? Locksoup is the hosted version: a Supabase security audit with scheduled re-checks and alerts.
Changelog
2026-10-01 (v1.0.1)
- Fixed: an UPDATE policy without WITH CHECK is no longer reported as letting users reassign row ownership (Postgres reuses USING as the check). Q8’s label and the agent prompt said otherwise, which produced false mass-assignment findings on real projects.
- Benchmark: new dev case 027 from that project. Test F1 unchanged (0.836 vs 0.838, same day). Runs.
2026-09-30 (docs)
- MCP flow benchmarked: a model driving the real server over stdio scored test F1 0.865, precision 0.905, critical recall 1.0 (results). Harness:
evals/mcp_client.py, eval systemm.
v1.0.0 (2026-09-30): MCP server release
- MCP server v1.0: four read-only Supabase tools, an
auditprompt and the catalog resources. Benchmarked end to end: a model driving the server over stdio scored test F1 0.865, with critical recall 1.0. - Verified on hosted Supabase: session pooler, read-only role with
BYPASSRLS, all 20 queries. - Fewer false alarms:
- Q1 now checks API grants: RLS off with
anon/authenticatedrevoked isn’t reported as exposed. - The audit prompt knows SECURITY INVOKER functions only have the caller’s rights.
- Found on a real project; new dev case
026.
- Q1 now checks API grants: RLS off with
- Pin a version:
git+https://github.com/Farenhytee/[email protected]in anyuvx/pipxcommand. The Claude Code plugin is pinned automatically. - Standard audit is now the CLI default: one prompt plus anon-probe verification, ~$0.0007 and ~15s per audit.
--deepruns the tool-using agent, which scored the same on our bench at ~5× the cost.
v0.2.1 (2026-09-30)
- Test F1: agent 0.782 → 0.831, single-prompt 0.766 → 0.849. No crashes or timeouts (results).
- Fixed:
- A bad tool argument no longer ends the audit; the error goes back to the model.
- OpenRouter calls route to the fastest provider (slow ones caused timeouts).
- The agent’s final findings step no longer lists candidates it had dismissed.
v0.2.0 (2026-09-29)
- Published test results: agent F1 0.782, single-prompt 0.766, rules 0.559 on a blind, locked 10-case test split, 3 runs each (results).
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add farenhytee/database-sentinel