pentest-idor

Automate discovery and exploitation of IDOR vulnerabilities in web APIs.

74|10|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/yhy0/ghsa-skill-builder --skill pentest-idor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pentest-idor
Source: https://github.com/yhy0/ghsa-skill-builder/tree/main/vuln-skills/skills/pentest-idor
Command: npx skills add https://github.com/yhy0/ghsa-skill-builder --skill pentest-idor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps penetration testers identify and exploit Insecure Direct Object Reference (IDOR) vulnerabilities, a common flaw allowing unauthorized access to sensitive data or resources.

Core Features & Use Cases

  • Attack Surface Discovery: Identifies high-risk API endpoints and parameters susceptible to IDOR.
  • Exploitation Techniques: Provides methods for testing and exploiting IDOR, including parameter tampering, HTTP method switching, and GraphQL manipulation.
  • Use Case: When testing an e-commerce API, use this Skill to systematically check if you can access or modify another user's order details by manipulating order IDs in API requests.

Quick Start

Use the pentest-idor skill to identify and test for insecure direct object reference vulnerabilities in the target API.

Frequently Asked Questions about pentest-idor

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

FAQPage Schema
How do I test for IDOR vulnerabilities in web APIs?

To discover IDOR vulnerabilities in web APIs, you systematically tamper with object identifiers in API endpoints and query parameters to verify unauthorized data access. This involves testing parameter manipulation and switching HTTP methods to expose object-level authorization flaws.

What is an insecure direct object reference flaw?

An insecure direct object reference (IDOR) flaw is an object-level authorization vulnerability allowing unauthorized access to sensitive data. It occurs when web applications expose direct object references without verifying if the user has permission to access or modify that specific resource.

Can I exploit IDOR vulnerabilities in GraphQL APIs?

Yes, you can exploit IDOR vulnerabilities in GraphQL APIs through targeted GraphQL manipulation techniques. The process involves systematically altering object identifiers and parameters within GraphQL queries to detect privilege escalation and unauthorized data access capabilities.

What is the best way to automate IDOR discovery during penetration testing?

The best way to automate IDOR discovery during penetration testing is to systematically test high-risk API endpoints and query parameters. This involves automating parameter tampering and HTTP method switching across the attack surface to identify unauthorized data modification capabilities.

Does this IDOR testing approach work for privilege escalation through parameter tampering?

Yes, this IDOR testing approach works for privilege escalation through direct object manipulation and parameter tampering. It targets object-level authorization flaws by altering API requests and switching HTTP methods to expose unauthorized data modification capabilities.

When should I check API endpoints for insecure direct object reference vulnerabilities?

You should check API endpoints for insecure direct object reference vulnerabilities whenever web applications or APIs expose direct object identifiers. Testing is necessary to prevent unauthorized access or modification of sensitive resources like another user's order details via parameter tampering.