什麼是 postgres-rls?
涉及身份驗證表、租戶隔離、RLS 策略或多租戶資料庫程式碼時強制執行 - 強制執行行級安全性最佳實踐並捕獲常見的繞過漏洞 來源:troykelly/codex-skills。
涉及身份驗證表、租戶隔離、RLS 策略或多租戶資料庫程式碼時強制執行 - 強制執行行級安全性最佳實踐並捕獲常見的繞過漏洞
透過命令列快速安裝 postgres-rls AI 技能到你的開發環境
來源:troykelly/codex-skills。
Row Level Security (RLS) provides defense-in-depth for data isolation. When implemented correctly, it prevents data leaks even if application code misses a filter. When implemented incorrectly, it creates false security confidence while data bleeds between tenants.
Core principle: RLS is your last line of defense, not your only one. Get it wrong and you have a data breach.
Announce at start: "I'm applying postgres-rls to verify Row Level Security implementation."
涉及身份驗證表、租戶隔離、RLS 策略或多租戶資料庫程式碼時強制執行 - 強制執行行級安全性最佳實踐並捕獲常見的繞過漏洞 來源:troykelly/codex-skills。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/troykelly/codex-skills --skill postgres-rls涉及身份驗證表、租戶隔離、RLS 策略或多租戶資料庫程式碼時強制執行 - 強制執行行級安全性最佳實踐並捕獲常見的繞過漏洞 來源:troykelly/codex-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/troykelly/codex-skills --skill postgres-rls 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/troykelly/codex-skills