bola-idor
bb-huge ๐ค , Personal bug bounty findings hub and bug bounty orchestration for multiple agents
Install / Use
npx skills add ShulkwiSEC/bb-huge --skill bola-idorInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of bola-idor
bola-idor scores 66/100 on our quality scale, 3902nd of 4,617 Development & Engineering skills we index.
Its SKILL.md is 7.5 KB long, well organised into 18 sections with 4 code examples: a thorough specification that gives an agent plenty to work with.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- We could not determine when the repository was last updated.
- Our last check on 2026-10-17 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 68/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit โ read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk โ read a skill before letting an agent act on it.
bola-idor compared with similar skills
All 4 of these similar skills score higher than bola-idor; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| bola-idor (this skill)by ShulkwiSEC | 66 | 0 | โ | SKILL.md |
| taste-skillby Leonxlnx | 100 | 110.6k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 109.2k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.9k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 69.8k | today | CLAUDE.md |
Frequently asked questions
- How do I install bola-idor?
- Run
npx skills add ShulkwiSEC/bb-huge --skill bola-idor. The install tabs above show the steps for each supported agent. - Which AI agents does bola-idor work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is bola-idor safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 68/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is bola-idor still maintained?
- We could not determine when the repository was last updated.
Skill content
View source on GitHubname: bola-idor description: > Use when hunting Broken Object Level Authorization (BOLA) or Insecure Direct Object Reference (IDOR) vulnerabilities in APIs or web applications. Trigger on: "BOLA", "IDOR", "broken object level", "access other users", "object reference", numeric or UUID IDs in URLs or request bodies, user-scoped resources, horizontal privilege escalation, "change the ID in the request", second-order IDOR, blind IDOR, indirect reference, encoded ID, deprecated API version, JSON globbing. license: MIT compatibility: Designed for Claude Code. Burp Suite (Autorize extension) or curl recommended. metadata: category: authorization version: "0.2" source: https://owasp.org/www-project-web-security-testing-guide/stable/ source_types: framework wstg: WSTG-ATHZ-04
Broken Object Level Authorization (BOLA / IDOR)
What Is Broken and Why
The server accepts a resource identifier from the client and fetches the object without verifying the requesting user owns or has access to it. Authorization is enforced at the route level ("is this user logged in?") but not at the object level ("does this user own object 1042?"). An attacker substitutes their identifier for a victim's to read, modify, or delete resources they should never access. BOLA is consistently the #1 OWASP API Security risk because it is trivial to test and almost always yields high-severity findings.
Key Signals
- Numeric or sequential IDs in URL path:
/api/orders/1042,/users/7/profile - UUIDs or hashes in query params or body referencing another user's object
- Parameters named
user_id,account_id,owner_id,ref,target_id,invoice - Write operations (PUT/PATCH/DELETE) accepting an object ID
- Export/download/share endpoints with a resource ID parameter
- Keywords
meorcurrentused as ID aliases โ swappable for integer IDs - Older API versions still accessible:
/v1/,/v2/,/legacy/ - UUIDs discoverable via public profiles, share links, password reset flows, Wayback Machine
Methodology
- Map all object identifiers across the entire app โ URLs, query params, request body, cookies, headers.
- Create two accounts with distinctive names (e.g.
attacker_a,victim_b). Use separate browsers to keep sessions fully isolated. Fully populate the victim account with varied resources and document all encountered IDs. Capture all requests with the victim session. - Replay each request using the attacker token with the victim's object IDs.
- Compare responses โ same data returned = BOLA confirmed.
- Test unauthenticated: remove
Authorizationheader entirely. - Test write operations (PUT/PATCH/DELETE) โ impact is higher than reads.
- Test indirect references: export endpoints, share links, scheduled jobs, email triggers.
- Test less-visible features: auto-save, draft, notification, audit log, attachment endpoints.
- Try older API versions (
/v1/,/beta/) which often lack access control patches. - For second-order IDOR: store a payload referencing victim's ID, trigger async processing, observe outcome.
Payloads & Tools
# ffuf: fuzz numeric IDs around your own
ffuf -w <(seq 1000 2000) -u https://TARGET/api/users/FUZZ \
-H "Authorization: Bearer YOUR_TOKEN" -mc 200 -fs 0
# curl: direct ID swap
curl -s https://TARGET/api/orders/VICTIM_ID \
-H "Authorization: Bearer YOUR_TOKEN"
# Append .json to bypass access control
curl https://TARGET/api/receipts/VICTIM_ID.json \
-H "Authorization: Bearer YOUR_TOKEN"
# Try deprecated API version
curl https://TARGET/v1/users/VICTIM_ID \
-H "Authorization: Bearer YOUR_TOKEN"
# Burp Intruder: fuzz ยฑ1000 around your own ID
GET /api/orders/ยง1042ยง HTTP/1.1
Authorization: Bearer YOUR_TOKEN
# JSON globbing in request body
{"user_id": [YOUR_ID, VICTIM_ID]}
{"user_id": "*"}
{"user_id": true}
{"user_id": 0}
{"user_id": -1}
{"user_id": 1235.0}
Burp extension: Autorize โ automatically replaces session token with low-priv token on every request, flags unexpected 200s and response diffs.
Bypass Techniques
- JSON globbing: replace ID with
[id1, id2],*,true,0,-1,1234.0โ parsers may match all - HTTP verb swap: GET blocked โ try POST, PUT, DELETE, PATCH on same path
- Parameter pollution:
?user_id=YOURS&user_id=VICTIMโ server may process last or first - Encoded references: base64/hex decode the ID, increment, re-encode โ app trusts encoding as security
- Alternate field names:
owner_id,account_id,ref,target,resource_id,parent_id - Path traversal:
/api/users/YOURS/../VICTIM - Static keyword swap: replace
meorcurrentwith a numeric ID - Content-type switch: JSON endpoint may behave differently with
application/x-www-form-urlencoded - Second-order: store a reference to victim's ID in a field, trigger async job that processes it without re-checking auth
- Append extension:
/resource/VICTIM_ID.json,.xml,.csvmay skip access control middleware
Exploitation Scenarios
Scenario 1 โ Account takeover via email change
Setup: PUT /api/users/{id} accepts email as an editable field, no ownership check.
Trigger: Attacker replaces their own id with victim's id in the request body.
Impact: Victim's email changed to attacker's address โ password reset โ full account takeover.
Scenario 2 โ Mass PII leak via sequential ID
Setup: /api/orders/{id} returns full order: name, address, card last4, phone.
Trigger: Attacker iterates integer IDs from 1 to N with their own session token.
Impact: Thousands of customers' PII and payment metadata exfiltrated via scripted enumeration.
Scenario 3 โ Second-order IDOR via scheduled export
Setup: App lets users schedule data exports; export job runs async and emails result.
Trigger: Attacker sets export_for_user_id=VICTIM_ID in the schedule request.
Impact: Victim's full data export emailed to attacker โ no access control on the async job.
False Positives
- API returns 200 but with empty or redacted data โ access control is working, just silent
- Public resources (product listings, public profiles) โ no authorization expected by design
- Response identical regardless of ID โ server reads from session context, ID param is ignored
meandcurrentaliases that correctly resolve to the authenticated user only
Fix Patterns
-- Correct: ownership enforced at query level
SELECT * FROM orders WHERE id = ? AND user_id = current_user_id()
# Wrong: fetch then check (inefficient + race-prone)
order = db.find(id)
if order.user_id != current_user:
raise Forbidden()
# Correct: indirect reference map (never expose raw DB IDs)
user_resource_map = {session_token: [allowed_id_1, allowed_id_2]}
if requested_id not in user_resource_map[session_token]:
raise Forbidden()
- Use indirect reference maps: expose opaque tokens that map server-side to real IDs
- Centralize authorization in middleware โ one place, not scattered per-route
- Apply access control consistently across ALL HTTP methods and API versions
- Disable or equally secure deprecated API versions
Related Skills
[[authz-bypass]] covers the broader authorization failure class โ BOLA is its most common manifestation. When the application uses GraphQL, [[graphql-idor-via-introspection-leak]] shows how to enumerate the schema to find every object type accepting an ID argument. [[path-traversal]] is an IDOR on the filesystem: the same "reference to a resource without ownership check" pattern applied to file paths. IDOR findings frequently reveal [[business-logic-flaws]] โ such as skipping payment by referencing another order's paid state.
Related Skills
taste-skill
110.6kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
109.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu โ one CLI, zero API fees.
headroom
78.9kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
69.8kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit โ see the Safety scan above for what the skill file itself contains.
