n8n:protect-endpoints

Community

Secure your REST endpoints with RBAC scope decorators.

AuthorRub-git
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures that all authenticated REST endpoints adhere to Role-Based Access Control (RBAC) principles, thereby securing your application against IDOR/permission bypass vulnerabilities.

Core Features & Use Cases

  • RBAC Enforcement: Applies access-scope decorators to REST endpoints, requiring proper authorization for each request.
  • Decorator Usage: Guide on how to add decorators to new or existing controllers and routes.
  • Scoping Logic: Determines the appropriate access scope based on the URL's project context or global scope.
  • Implementation Guidelines: Instructions on adding new resource operations and roles, as well as frontend integration steps.

Quick Start

Add the @ProjectScope decorator to the relevant routes of your controller to enforce access control.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: n8n:protect-endpoints
Download link: https://github.com/Rub-git/n8n-auto/archive/main.zip#n8n-protect-endpoints

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 620,000+ vetted skills library on demand.