Authorization Matrix

Generate and verify an authorization matrix for Go API endpoints.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/cdalsoniii/brightpath-coder --skill authorization-matrix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Authorization Matrix
Source: https://github.com/cdalsoniii/brightpath-coder/tree/main/.cursor/skills/authorization-matrix
Command: npx skills add https://github.com/cdalsoniii/brightpath-coder --skill authorization-matrix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps identify and fix security vulnerabilities in your API by ensuring all routes are properly authenticated, authorized, and have ownership checks.

Core Features & Use Cases

  • Route Analysis: Builds a comprehensive map of all API endpoints and their associated security measures.
  • Vulnerability Detection: Pinpoints unprotected routes, missing ownership checks, and scope misconfigurations.
  • Use Case: Before deploying new API features, run this Skill to automatically verify that all new endpoints are secured against unauthorized access and comply with your organization's security policies.

Quick Start

Use the Authorization Matrix skill to build and verify the authorization matrix for the project.

Frequently Asked Questions about Authorization Matrix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my API endpoints for missing authentication and authorization vulnerabilities?

To check API endpoints for missing authentication and authorization vulnerabilities, you need an authorization matrix that maps route configurations and handler files to identify unprotected routes, missing ownership checks, and scope misconfigurations. This skill automatically generates and verifies that matrix by analyzing route registration and authentication middleware.

How does an authorization matrix detect unprotected routes in a codebase?

An authorization matrix detects unprotected routes by parsing code to map API endpoints against their applied security measures. This skill analyzes route registrations and authentication middleware to pinpoint endpoints lacking proper authentication, ownership checks, or correct scope configurations.

Can I verify ownership checks and scope misconfigurations for API routes written in Go?

Yes, you can verify ownership checks and scope misconfigurations for API routes written in Go. This skill specifically parses Go code for route registration and middleware application to build a comprehensive map of endpoints and verify their compliance with security rules.

What is the best way to audit API route configurations for security compliance before deployment?

The best way to audit API route configurations for security compliance before deployment is to automatically generate an authorization matrix. This process analyzes route configurations, authentication middleware, and handler files to ensure all new endpoints are secured against unauthorized access.

Why do I need to analyze authentication middleware to secure API endpoints?

You need to analyze authentication middleware to secure API endpoints because middleware defines the security rules applied to each route. Evaluating middleware application ensures every endpoint has proper authentication and authorization checks, preventing unauthorized access and scope misconfigurations.

Are there limitations when parsing Go code to build an authorization matrix for API security?

A limitation when building an authorization matrix for API security is the dependency on parsing Go code. Because this skill requires parsing Go code for route registration and middleware application, it is specialized for Go codebases and may not support other programming languages or frameworks.