vuln-access-control

Identify access-control vulnerabilities in API and web endpoints.

Updated Jun 23, 2024
One-click install
npx skills add https://github.com/n4igme/randscript --skill vuln-access-control
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vuln-access-control
Source: https://github.com/n4igme/randscript/tree/main/llm/skills/scode/vuln-access-control
Command: npx skills add https://github.com/n4igme/randscript --skill vuln-access-control

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents unauthorized data access by identifying broken access controls like IDOR, missing authz, and privilege escalation, enabling faster remediation.

Core Features & Use Cases

  • Map protected routes to determine where authentication and authorization are enforced.
  • Detect insecure direct object references (IDOR) and missing authorization across endpoints.
  • Identify horizontal and vertical privilege escalations and improper role checks.
  • Append vulnerability findings to the central vulnerabilities file for follow-up triage.

Quick Start

Provide the path to threat-model.md and recon.md (or use the defaults) and run vuln-access-control to append findings to ./assessment/vulnerabilities.md.

Frequently Asked Questions about vuln-access-control

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

FAQPage Schema
How do I detect IDOR and privilege escalation vulnerabilities in my web application?

To detect IDOR and privilege escalation, you scan protected routes and verify object ownership and role checks. This identifies insecure direct object references and missing authorization across API and web endpoints.

What is broken access control and how does an automated scan find it?

Broken access control allows unauthorized data access by exploiting missing authz or IDOR. An automated scan finds it by mapping protected routes and testing authentication middleware to identify horizontal and vertical privilege escalation flaws.

How do I check for missing authorization on API endpoints with role-based access control?

To check for missing authorization on API endpoints, map routes protected by auth middleware and test role-based access control enforcement. This verifies ownership checks and flags endpoints lacking proper authorization constraints.

Can I scan for horizontal and vertical privilege escalation across existing web routes?

Yes, you can scan for horizontal and vertical privilege escalation by mapping protected routes and verifying role checks. The scan identifies improper role enforcement and appends vulnerability findings to a central report file.

Do I need a threat model and recon file to run an access control vulnerability scan?

You need a threat-model.md and recon.md file to run an access control scan. Providing the path to these files allows the scanner to map protected routes and append structured findings to your vulnerabilities.md file.

How are access control vulnerability findings reported and formatted for triage?

Access control vulnerability findings are reported as structured entries appended to ./assessment/vulnerabilities.md. This format consolidates IDOR and privilege escalation flaws into a central file for follow-up triage and remediation.