Back to skills
SKILL.md
Api Json Rpc
ASecurityJSON-RPC security testing — method enumeration, calling admin/internal methods (BFLA), IDOR in params, batch amplification for rate-limit bypass, and injection through params. Tier 1. Use whenever a target speaks JSON-RPC (single endpoint, method/params/id envelope).
- 16 stars
- 0 votes
- 0 copies
- 3 views
- Added November 17, 2026
Works with
Security analysis
100/100npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill api-json-rpc --agent claude-codeAre you the author of Api Json Rpc?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-api-json-rpc)---
name: api-json-rpc
description: JSON-RPC security testing — method enumeration, calling admin/internal methods (BFLA), IDOR in params, batch amplification for rate-limit bypass, and injection through params. Tier 1. Use whenever a target speaks JSON-RPC (single endpoint, method/params/id envelope).
---
# JSON-RPC Security
A single endpoint dispatches by `method` name — enumerate methods, call the privileged ones, and inject through `params`.
## Trigger phrases
`json-rpc, jsonrpc, rpc endpoint, method enumeration, batch request, rpc injection, rpc bfla`
## Method
1. **Discovery** — single endpoint (`/rpc`, `/api/jsonrpc`, `/json_rpc`, `/api`); envelope:
```json
{"jsonrpc":"2.0","method":"getUser","params":[1],"id":1}
```
2. **Method enumeration** — from docs, from error differences (`Method not found` vs `Invalid params` vs `Internal error`), and by fuzzing `method` with a wordlist:
```bash
ffuf -u https://TARGET/api/jsonrpc -X POST -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","method":"FUZZ","params":[],"id":1}' -w methods.txt \
-mr "Invalid params" # "Invalid params" => method exists, bad args
```
3. **Call admin/internal methods (BFLA)** — invoke `admin.*`, `system.*`, `debug.*`, `user.setRole` with a low-priv identity (`api-bfla` logic).
4. **IDOR in params (BOLA)** — swap object IDs in `params` across accounts (`api-bola`).
5. **Injection in params** — SQLi/NoSQLi/command/SSTI in string params (`${CLAUDE_PLUGIN_ROOT}/payloads/sqli.md`, `nosql.md`, `command-exec.md`); blind → `api-oast-blind`.
6. **Batch** — array of calls in one request (see Bypass).
## Bypass / evasion
- **Batch amplification** — `[{"jsonrpc":"2.0","method":"login","params":[...],"id":1}, {...}, ...]` packs many operations into one HTTP request → rate-limit bypass / brute-force (cross-ref `api-resource-consumption`).
- Method-name case/alias tricks; notification form (omit `id`) to suppress responses/abuse side effects. See `${CLAUDE_PLUGIN_ROOT}/payloads/waf-bypass.md`.
## Modern / rare techniques
- **[RARE] Internal methods on a public endpoint** — admin/debug methods reachable because dispatch doesn't authorize per method.
- **[RARE] Batch brute-force** — single-request credential/OTP brute via batched calls that evade per-request limits.
- **[RARE] Notification abuse** — `id`-less calls trigger state changes without returning errors, masking the attack.
## Escalation / chaining
Admin method → `api-bfla` impact; param IDOR → `api-bola`; param injection → `api-injection` (RCE/SQLi); batch → amplified brute/abuse. Enumerate surface via `api-recon`.
## Backend & tooling
Preferred Kali path (WSL+Kali / Kali-MCP / HexStrike): ffuf/Intruder for method fuzz, Burp Repeater for batch/param PoCs, interactsh for blind. See `zazy-orchestrator`.
## Verification (background, before reporting)
Confirm the privileged method acts / param IDOR returns another tenant's object / injection fires — via second identity or OAST, reproduced. Distinguish "method exists" errors from real execution. True positives only.
## Evidence
The JSON-RPC request + response proving the issue (admin action, cross-tenant object, injection result, batch bypass). Impact + remediation (authorize per method, disable internal methods on public endpoints, batch limits, validate params).
Attribution
Related skills
View all in security →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.