hunt-api-misconfig

Detect API security misconfigurations including mass assignment, JWT attacks, and prototype pollution.

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/bpnrockstar/UnifiedBugHunter --skill hunt-api-misconfig-bpnrockstar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-api-misconfig
Source: https://github.com/bpnrockstar/UnifiedBugHunter/tree/main/skills/hunt-api-misconfig
Command: npx skills add https://github.com/bpnrockstar/UnifiedBugHunter --skill hunt-api-misconfig-bpnrockstar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, jwt_tool, hashcat, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill identifies security misconfigurations and vulnerabilities in APIs, helping users to ensure the security of their applications.

Core Features & Use Cases

  • API Security Misconfiguration Detection: Identifies issues such as mass assignment, JWT attacks, prototype pollution, and HTTP verb tampering.
  • JWT Attacks: Automates the detection of JWT-related vulnerabilities like algorithm stripping, weak HMAC secret crack, and key confusion.
  • Mass Assignment: Detects mass assignment vulnerabilities by checking for changes in server state after sending extra fields.
  • Prototype Pollution: Identifies prototype pollution vulnerabilities by checking for polluted properties that affect authorization checks.
  • Use Case: For example, it can be used to scan an API for potential security issues before deploying it to production.

Quick Start

Use the hunt-api-misconfig skill to scan the API at 'https://target.example/api' for security misconfigurations.

Frequently Asked Questions about hunt-api-misconfig

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan an API for security misconfigurations and vulnerabilities?

Scanning an API for security misconfigurations involves targeting the endpoint URL to detect mass assignment, JWT attacks, prototype pollution, and HTTP verb tampering vulnerabilities. This automates penetration testing tasks to identify security flaws before production deployment.

What is a mass assignment vulnerability in API security?

A mass assignment vulnerability in API security occurs when an API endpoint accepts extra fields from user input and modifies server-side object properties without proper authorization. Detection involves sending additional fields and checking for unauthorized changes in server state.

How do JWT attacks like algorithm stripping and key confusion work?

JWT attacks like algorithm stripping and key confusion exploit weak token validation by manipulating the JWT header to bypass authentication. They involve cracking weak HMAC secrets using tools like jwt_tool and hashcat to forge valid tokens and gain unauthorized API access.

Do I need Python libraries to test for prototype pollution and HTTP verb tampering?

Yes, you need Python libraries like requests to test for prototype pollution and HTTP verb tampering. These dependencies enable automated scripts to send crafted HTTP requests, identify polluted properties affecting authorization checks, and detect improper HTTP method handling.

Can I use this approach for penetration testing pre-production APIs?

Yes, you can use this approach for penetration testing pre-production APIs. It identifies security misconfigurations by automating attack vectors like JWT manipulation and prototype pollution, ensuring application security before deploying the API to production environments.

What are the limitations of automated API vulnerability detection?

Automated API vulnerability detection limitations include potential false positives and reliance on predefined checks for mass assignment and HTTP verb tampering. It requires specific dependencies like jwt_tool and hashcat, meaning it may miss complex business logic flaws.