060104-better-auth-rbac — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited 060104-better-auth-rbac (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
When implementing granular role-based permissions beyond Better Auth's built-in admin plugin roles.
| Topic | File |
|---|---|
| Permission statements | references/permission-statements.md |
| Role definitions | references/role-definitions.md |
| Dual auth (API key + session) | references/dual-auth.md |
| Frontend permissions sync | references/frontend-sync.md |
customStatements with as constac.newRole({}) mapping statements to actionsroleObj.authorize(permissions)requireApiKeyOrSession() for dual auth (Bearer or cookie)permissions.ts in sync with backend role definitions~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.