Individual skill
hunt-api-misconfig
Hunt API security misconfiguration — mass assignment, JWT attacks, prototype pollution, HTTP verb tampering. Mass assignment: send {is_admin:true, role:admin, verified:true} on profile/account/reset endpoints — server blindly applies. JWT: alg=none, weak HMAC bruteforce, kid path traversal, JWK injection, token confusion. Prototype pollution: __proto__ injection in JSON merge / Object.assign / lodash _.merge → polluted prototype reaches sink (RCE in Node, XSS in browser). HTTP verb: GET-bypass-CSRF, X-HTTP-Method-Override, TRACE enabled. Detection: API responses with extra fields, JWTs in headers (decode at jwt.io). CORS misconfiguration (reflect-any-origin, null origin, subdomain-regex bypass, postMessage) is owned by hunt-cors. Use when hunting API misconfigs, JWT flaws, mass-assignment, prototype pollution.
redteam/hunt-api-misconfig/SKILL.md
Source commit 1260244136edc6ae698d76d3d526f503e322778d
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,366
- Repository last updated
- Nov 7, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- bug-bounty Repository topic
- cloud-security Repository topic
- firebase-hacking Repository topic
- hermes-agent Repository topic
- jwt-attacks Repository topic
- offensive-security Repository topic
- penetration-testing Repository topic
- reconnaissance Repository topic
- red-team Repository topic
- security-automation Repository topic
- api Declared skill tag
- misconfiguration Declared skill tag
- hunt Declared skill tag
- redteam Declared skill tag
- security Derived category
- security-application Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytesSKILL.mdcore · 25,529 bytes
Read excerpt
## 12. API SECURITY MISCONFIGURATION
### Mass Assignment
```javascript
User.update(req.body) // body has {"role": "admin"} → privilege escalation
```
### JWT None Algorithm
```python
header = {"alg": "none", "typ": "JWT"}
payload = {"sub": 1, "role": "admin"}
[Credential-related source omitted]
```