access-idor

Detect IDOR vulnerabilities across REST, GraphQL, gRPC, and WebSocket APIs.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill access-idor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: access-idor
Source: https://github.com/salmanabdurrahman/pi-pentest-agent/tree/main/skills/access-idor
Command: npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill access-idor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the critical security risk of Insecure Direct Object Reference (IDOR) vulnerabilities, where unauthorized users can access or manipulate objects belonging to other accounts or tenants.

Core Features & Use Cases

  • Cross-Account Validation: Systematically tests if Account-A can access or modify objects owned by Account-B.
  • Differential Analysis: Detects subtle leaks through timing, response size, and transport-specific behavior across REST, GraphQL, and gRPC.
  • Evidence Collection: Generates a structured role-pair matrix to document findings, impact, and confidence levels for security reports.

Quick Start

Use the access-idor skill to perform a cross-account validation between the two provided test accounts on the target API endpoint.

Frequently Asked Questions about access-idor

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

FAQPage Schema
How do I test for IDOR vulnerabilities across different API transport layers?

To test for IDOR vulnerabilities, you need to systematically probe identifier surfaces across REST, GraphQL, gRPC, and WebSocket interfaces. This process validates object-level authorization to ensure strict tenant and role isolation between accounts.

What is an Insecure Direct Object Reference vulnerability in API security?

An Insecure Direct Object Reference (IDOR) vulnerability occurs when unauthorized users can access or manipulate objects belonging to other accounts. It exists due to missing object-level authorization controls, allowing cross-account data manipulation.

How do I validate object-level authorization controls for cross-account access?

You validate object-level authorization by performing cross-account validation between defined test accounts. This involves systematic probing of identifier surfaces on a target API endpoint to confirm access control enforcement and detect unauthorized data access.

Do I need specific test accounts to perform an IDOR pentest?

Yes, performing an IDOR pentest requires defined test accounts and an explicitly authorized scope. You must have at least two distinct accounts to systematically test if Account-A can access or modify objects owned by Account-B.

Can I detect IDOR leaks through differential analysis on GraphQL and gRPC?

Yes, differential analysis detects subtle IDOR leaks by examining timing, response size, and transport-specific behavior across GraphQL and gRPC. This method identifies unauthorized data exposure even without direct object manipulation.

How do I document IDOR findings for a security assessment report?

You document IDOR findings by generating a structured role-pair matrix that records evidence collection. This matrix documents the impact, confidence levels, and cross-account validation results for your security assessment report.