authz-bypass

authz-bypass is a skill for Claude Code, Codex from ShulkwiSEC/bb-huge. It costs 110 tokens per session (2,251 once invoked), scanned A, original, MIT.

A security-testing skill for checking whether users can access other users’ data or perform actions reserved for higher-privilege accounts. IDOR means an application exposes a direct object reference, such as an invoice or user ID, without verifying ownership.

In plain words
What is it for?
Use it during authorised testing to check horizontal access between peer accounts, vertical access to admin actions, object ownership checks, and routing or proxy rules.
Why use it?
It finds access-control flaws that may be hidden behind a normal user interface, including weaknesses caused by changing identifiers or special request headers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it during authorised testing to check horizontal access between peer accounts…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shulkwisec/bb-huge/authz-bypass
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ShulkwiSEC/bb-huge --skill authz-bypass
Clone the repo
git clone --depth 1 https://github.com/ShulkwiSEC/bb-huge

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for authz-bypass

README.md
[![agentmods](https://agentmods.dev/badge/skills/shulkwisec/bb-huge/authz-bypass.svg)](https://agentmods.dev/skills/shulkwisec/bb-huge/authz-bypass)
Your own site
<a href="https://agentmods.dev/skills/shulkwisec/bb-huge/authz-bypass"><img src="https://agentmods.dev/badge/skills/shulkwisec/bb-huge/authz-bypass.svg" alt="Measured on agentmods" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,251 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00110 $0.02251
Opus 5 $0.00055 $0.01125
Sonnet 5 $0.00022 $0.00450
Haiku 4.5 $0.00011 $0.00225

Measured 7d ago against content hash 74a278902e1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

authz-bypass scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "https://TARGET/invoice?id=12345" \
skills/curated/authz-bypass/SKILL.md · 181 lines

How it starts

The opening of the file, as written. The whole thing — 181 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Authorization Bypass and IDOR

What Is Broken and Why

Access control failures occur when applications enforce authorization only at the UI layer, rely on obscurity of object identifiers, or fail to validate that the requesting session owns the referenced resource. Horizontal bypass allows users to access peer accounts' data by swapping identifiers. Vertical bypass allows low-privileged users to invoke admin-only operations by replaying high-privilege request structures with a low-privilege session. IDOR (Insecure Direct Object Reference) exposes any predictable or discoverable resource identifier as a direct handle to unauthorized data. Special request headers (X-Original-URL, X-Rewrite-URL) can override routing in some reverse proxy configurations, bypassing ACL rules applied at the path level.

Key Signals

  • Numeric or sequential IDs in URLs or parameters: invoice=12345, user=100, EventID=1000001
  • Different accounts created at similar times with adjacent IDs
  • Responses containing another user's PII, financial data, or account settings when ID swapped
  • Admin-only actions (delete, promote, deactivate) accessible via session swap
  • X-Original-URL or X-Rewrite-URL headers triggering 404 vs 403 — confirms header processing
  • X-Forwarded-For: 127.0.0.1 bypassing IP-based access restrictions to admin panels
  • GUIDs or opaque tokens that, when substituted, return another user's object
  • menuitem= or accessPage= parameters accepting values outside a user's visible menu set
  • Password change endpoint accepting user= parameter without session-ownership validation

Methodology

  1. Map object references: During application use, record every parameter that references a resource (document ID, user ID, order number, file name, menu item).
  2. Create test accounts: Register at least two accounts at different privilege levels; note all object IDs each account owns.
  3. Horizontal bypass: With Account B's session, request objects owned by Account A by substituting Account A's IDs.
  4. Vertical bypass: With low-privilege session, replay admin-only requests (delete, role change, config update) captured from an admin session.
  5. IDOR enumeration: Increment/decrement integer IDs; test adjacent values; attempt GUID prediction if UUIDs appear time-seeded.
  6. Header injection test: Send X-Original-URL: /admin and X-Rewrite-URL: /admin on a request to /; 404 response (vs 403 on direct access) confirms header support.
  7. IP spoofing header test: Send X-Forwarded-For: 127.0.0.1 on requests to IP-restricted admin endpoints; observe access control difference.
  8. POST-to-GET conversion: Test if server accepts session ID or IDOR parameter via GET when originally designed for POST.

Read the full file on GitHub · 181 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 181 lines · 110 tokens per session scan A 74a278902e1b

Subscribe to this mod's changes

authz-bypass is a skill published in the GitHub repository ShulkwiSEC/bb-huge (22 stars, last pushed 1mo ago), licensed MIT. It adds 110 tokens to every session and 2,251 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

bugcrowd-reporting

Bugcrowd-specific reporting tactics complementing report-writing: VRT category search-and-fallback strategy when no exact match exists, manual severity override when VRT defaults underrate impact, severity-request paragraph as first body section, OOS-clause rebuttal templates (rate limiting on auth-flow endpoints…

elementalsouls/Claude-BugHunter · 171 tokens

skill-context-detection

Auto-detect work context (Dev vs Knowledge) — use to tailor workflows based on current task type.

nyldn/claude-octopus · 25 tokens

skill-copilot-provider

GitHub Copilot CLI as optional zero-cost provider via copilot -p programmatic mode.

nyldn/claude-octopus · 24 tokens

skill-security-framing

URL validation and content sanitization for untrusted sources — use when handling external input safely.

nyldn/claude-octopus · 22 tokens

race

Race condition / TOCTOU playbook — limit overrun (one-time codes used twice, gift cards spent twice), single-packet attack (last-byte sync) to force parallel processing, and state-confusion races (file upload + read, order before payment). Use when timing-sensitive logic could be abused — one-time codes, coupons/gift…

PentesterFlow/agent · 82 tokens

my-skill

One line on what this playbook does, then a "Use when ..." clause so the agent knows when to load it (e.g. "Use when the target exposes X / you see Y in requests"). Max 1024 chars. This description is the ONLY thing the model sees until it loads the skill — make the trigger conditions explicit, since there is no…

PentesterFlow/agent · 84 tokens