backend-rbac-audit-log

Community

Add secure RBAC and audit trails to any backend API.

Authorfreedomw1987
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Backend APIs frequently lack granular role-based access control and reliable audit logging, leading to security vulnerabilities, compliance failures, and inability to trace who modified critical data like user accounts or sales records.

Core Features & Use Cases

  • Centralized Permission Map: Single source of truth for roles and permissions that works across both backend and frontend, supporting frameworks like Elysia, Express, Fastify, Hono, and NestJS.
  • Production-Ready Guardrails: Includes middleware for permission checking, non-throwing audit log helpers that capture user/IP/user-agent without breaking requests, and protections for edge cases like last admin deletion or self-deactivation.
  • Security Auditing Tools: Comes with a script to scan for unauthenticated public endpoints and reference guides for fixing common Elysia plugin boundary issues.
  • Use Case: Ideal for admin panels, CRM systems, or any backend requiring user management, role-based permissions, compliance logging, or tracking of data changes for auditing purposes.

Quick Start

Use the backend-rbac-audit-log skill to implement role-based access control and audit logging for your backend API's user management and CRM routes.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: backend-rbac-audit-log
Download link: https://github.com/freedomw1987/tree_monstor/archive/main.zip#backend-rbac-audit-log

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.