Skip to content
Agentmart
Submit a tool

api-authz-hadrian

Run Praetorian Hadrian for API BOLA/BFLA role-matrix authz when OpenAPI + roles/tokens are available.

Skill by venkatas

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/venkatas-api-authz-hadrian

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Run Praetorian Hadrian for API BOLA/BFLA role-matrix authz when OpenAPI + roles/tokens are available. Complements schemathesis.

Use cases: backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/api-authz-hadrian

What's inside

Skill name
api-authz-hadrian
Description
Run Praetorian Hadrian for API BOLA/BFLA role-matrix authz when OpenAPI + roles/tokens are available. Complements schemathesis.
License
MIT
Instructions
38 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# API Authz — Hadrian

Use when the engagement has an **OpenAPI/Swagger (or GraphQL/gRPC) spec** and
**at least two roles with tokens**. Hadrian cross-tests every role against every
endpoint for BOLA / BFLA / BOPLA. Do **not** substitute it for Schemathesis
(schema conformance) or bac_matrix (HTTP replay matrix without a spec).

## Preconditions
- [ ] Spec path known (`openapi.yaml` / introspection / `.proto`)
- [ ] `roles.yaml` with privilege levels (admin > user > anon)
- [ ] `auth.yaml` with per-role bearer/API-key/cookie tokens (prefer env vars)
- [ ] Staging preferred — mutation templates may create/modify/delete resources
- [ ] Run `--dry-run` / `--hadrian-dry-run` once before live traffic

## Invoke
```bash
python3 hadrian_audit.py --protocol rest \
  --api "$SPEC" --roles roles.yaml --auth auth.yaml

# Orchestrator
python3 vikramaditya.py --hadrian "$SPEC" \
  --hadrian-roles roles.yaml --hadrian-auth auth.yaml
```

Example templates: `templates/hadrian/{roles,auth}.example.yaml`.

## Proof standard
- Cross-role access that returns **victim object data** (not just HTTP 200).
- For writes/deletes: Hadrian three-phase mutation VERIFY proves the change stuck.
- Map report via `tool_parsers.parse_hadrian_json` → status stays `suspected`
  until operator confirms with a replay PoC.

## Related
- `auth-bypass-idor` skill — manual IDOR checklist
- `bac_matrix` / `bfla_scanner` — in-tree HTTP authz without OpenAPI
- Schemathesis — property/schema conformance (not role authz)

From venkatas/vikramaditya, MIT.

More from venkatas/vikramaditya

Signals

Stars
1
Forks
1
Open issues
0
Last commit (this folder)
Sep 7, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from venkatas

Cite this page

api-authz-hadrian skill. Agent Mart. https://agentmart.dev/skills/venkatas-api-authz-hadrian (last updated 2026-10-24)