safe-sql-execution
A maintainer skill in the Supabase monorepo that the agent loads before writing Supabase Studio code that builds, fetches, stores or runs SQL.
スキルの内容
A maintainer skill in the Supabase monorepo that the agent loads before writing Supabase Studio code that builds, fetches, stores or runs SQL. Its rule is that people may run SQL they wrote themselves, but SQL that outside input such as URL parameters or model output could shape must never run on its own. Fragments are typed as safe, untrusted or user-written; values go through identifier, literal and keyword helpers; saved snippets stay untrusted; and promotion of untrusted SQL is allowed only inside a click handler, never in queries, render code or effects. The execution function accepts only safe fragments, so the type checker enforces this, and analytics log queries use a separate type and lint rule.
できること
- Sort SQL into safe, untrusted and user-written
- Escape identifiers and literals before interpolation
- Keep untrusted SQL out of automatic execution
- Apply the same rules to analytics log queries
概要
- 公開元
- Supabase
- ツール
- Supabase
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
| 項目 | 内容 | 出典 |
|---|---|---|
| 種類 | スキル | |
| ツール | Supabase, コードレビュー | |
| 公開元 | Supabase | 出典 |
| 公式かどうか | 公式in Supabase's own monorepo; a maintainer skill for Supabase's code, not for Supabase users | 出典 |
| APIキーまたはサインインが必要 | ドキュメントに記載なし | |
| スクリプトを含む | いいえ | 出典 |
| プラットフォーム | ドキュメントに記載なし | |
| AIクライアント | ドキュメントに記載なし | |
| ライセンス | Apache-2.0 | 出典 |
| 料金 | ドキュメントに記載なし | |
| 活動状況 | 最終コミット 2026年11月11日GitHubスター 114,826ダウンロード数のデータなし(npm・PyPIで未公開) | 出典 |
| リンク | リポジトリ Webサイト |
出典
- スキルファイル(SKILL.md)github.com/supabase/supabase · 根拠となる項目:公式かどうか, スクリプトを含む2026年11月10日
- GitHubリポジトリgithub.com/supabase/supabase · 根拠となる項目:ライセンス, 公開元, 活動状況2026年11月11日
- リポジトリ内のフォルダ(safe-sql-execution)github.com/supabase/supabase · 根拠となる項目:スクリプトを含む2026年11月10日