Sign inGet started
–

n8n:protect-endpoints

by n8n-io/n8n · Coding & Development

Applies n8n's RBAC scope decorators to REST endpoints so every authenticated route is properly gated by project or global permission scopes.

Lift · GLM-5.3-flash—not yet benchmarked
81
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
License—metadata + link-out

What it does

Applies n8n's RBAC scope decorators to REST endpoints. Use when creating a new @RestController, adding any @Get/@Post/@Put/@Patch/@Delete route to an existing controller, or reviewing endpoint authorization. Every authenticated endpoint must be gated by @ProjectScope or @GlobalScope.

#authorization#backend#decorators#n8n#rbac#rest-api

Quality judgment

completeness
9.0/10
clarity
9.0/10
trigger quality
8.0/10
examples
9.0/10
structure
9.0/10
overall
9.0/10

Excellent skill: crisp decision rules, complete worked examples, edge cases (skipAuth, missing scopes, frontend wiring, snapshot tests), a regression-test template, and defense-in-depth guidance. Trigger conditions in the description are specific and actionable. Only minor gaps: no failure-mode/troubleshooting section and the middleware internals could be linked more explicitly.

Files (1)

SKILL.md · 7.3 KB