plan-rls-audit SKILL.md skillA
This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.
plan-rls-audit from kensaurus/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add kensaurus/skills/plan-rls-audit@git:20261009.3771283Pins git:20261009.3771283 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- kensaurus/skills
- Path
skills/plan-rls-audit/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261009.3771283, committed Oct 9, 2026
- First version recorded
- Aug 19, 2026
- Size
- 11,524 bytes
- Repository stars
- 9
- License
- MIT
Plan-only Supabase/Postgres RLS and access-control audit. Use when "is my Supabase secure", "anyone can read my data", "lock down my tables", "service_role key", or "security advisor". Route gates → audit-auth-flows.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# RLS & Access-Control Audit + Remediation Plan **Degree of freedom: MIXED** — access matrix and severity are judgment; table inventory and policy reads run exactly. Stay **plan-only**. No SQL until approved. ## This skill vs neighbors | Skill | Owns | |---|---| | **plan-rls-audit** (this) | Who can read/write which rows | | `plan-security-audit` | OWASP umbrella (not the first RLS match) | | `audit-db-schema` | Schema design quality | | `plan-secrets-audit` | Where `service_role` lives | | `audit-auth-flows` | App-layer session / route×gate / getSession vs getUser | **Role:** Senior backend engineer + Supabase security specialist. **Task:** Enumerate every table/view, run the RLS checklist (A–E), build a who-can-do-what access matrix, score findings by exposure, emit `plan-rls-audit.md`. **Audit & plan only — no SQL runs until each phase is approved.** ## How to reason (every plan item) 1. **Propose** — enable RLS, scope a policy, rotate a client `service_role`, or fix inverted logic 2. **Risk** — anon/authed can read or write rows they should not 3. **Keep-working** — tables whose policies already enforce ownership …
Read the whole file at its exact version.
How to install
mdr add kensaurus/skills/plan-rls-audit@sha256:bfb60d284a37438bThe line at the top of this page pins the label git:20261009.3771283, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_buvvxiquwqza7vzr)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Aug 19, 2026 and Oct 9, 2026, about one every 13 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261009.3771283 latest | 2026-10-09 | 3771283 | 11,524 B | A | view · diff |
| git:20261006.39320f8 | 2026-10-06 | 39320f8 | 11,524 B | A | view · diff |
| git:20260923.68c095e | 2026-09-23 | 68c095e | 11,571 B | A | view · diff |
| git:20260923.cf348bd | 2026-09-23 | cf348bd | 11,619 B | A | view · diff |
| git:20260819.170df67 | 2026-08-19 | 170df67 | 11,328 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (11524 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
kensaurus/skills · 9 stars · license MIT · pushed 2026-10-19 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_buvvxiquwqza7vzr GET https://markdownregistry.com/api/v1/resolve?ref=kensaurus/skills/plan-rls-audit GET https://markdownregistry.com/api/v1/blob/bfb60d284a37438b44a8b9eefcf8118050cfadd981b775ecafc3b13d7b190625
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from kensaurus/skills
Every file in kensaurus/skills