testing-api-for-broken-object-level-authorization

Automates BOLA/IDOR vulnerability detection in REST and GraphQL APIs via Python scripts.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/Renzo-Tognella/UniversalThingsForMyAgents --skill testing-api-for-broken-object-level-authorization-renzo-tognella
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-api-for-broken-object-level-authorization
Source: https://github.com/Renzo-Tognella/UniversalThingsForMyAgents/tree/main/skills/testing-api-for-broken-object-level-authorization
Command: npx skills add https://github.com/Renzo-Tognella/UniversalThingsForMyAgents --skill testing-api-for-broken-object-level-authorization-renzo-tognella

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, json, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the detection of Broken Object Level Authorization (BOLA/IDOR) vulnerabilities in REST and GraphQL APIs, where an authenticated user can access or modify resources belonging to other users by manipulating object identifiers in API requests.

Core Features & Use Cases

  • Automated BOLA Testing: Identifies object ID parameters and replaces them with IDs from other users to test authorization enforcement.
  • API Security Assessment: Activates for requests involving BOLA testing, IDOR in APIs, object-level authorization testing, or API access control bypass.
  • Use Case: For cybersecurity professionals and developers, this Skill can be used to ensure that APIs do not have vulnerabilities like BOLA, which can lead to unauthorized access to sensitive data.

Quick Start

Run the 'agent.py' script with the target API base URL and authentication tokens for both the attacker and victim users.

Frequently Asked Questions about testing-api-for-broken-object-level-authorization

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

FAQPage Schema
How do I test my API for BOLA and IDOR vulnerabilities?

Automated BOLA testing identifies object ID parameters in API requests and replaces them with IDs from other users to verify authorization enforcement and detect unauthorized access patterns.

What is Broken Object Level Authorization in REST and GraphQL APIs?

Broken Object Level Authorization occurs when an authenticated user manipulates object identifiers in API requests to access or modify resources belonging to other users without proper access control.

Does this API security testing approach work with both REST and GraphQL?

Yes, this automated object level authorization testing detects BOLA vulnerabilities in both REST and GraphQL APIs by analyzing HTTP requests and parsing JSON responses for access control bypasses.

What do I need to start automated IDOR vulnerability testing?

You need Python with the requests and json libraries, the target API base URL, and authentication tokens for both attacker and victim users to run the testing script.

What is the best way to automate object level authorization testing?

Automating BOLA detection involves running a script that systematically swaps object IDs across authenticated user sessions to identify parameters lacking proper authorization checks in API endpoints.

Can I use this for API access control bypass assessment in cybersecurity audits?

Yes, cybersecurity professionals use this automated BOLA testing during API security audits to ensure object level authorization is enforced and prevent unauthorized sensitive data access.