hunt-write-gap

Detect unprotected write endpoints in authenticated APIs for penetration testing.

1.1k|191|Updated Jun 24, 2026
One-click install
npx skills add https://github.com/uphiago/recon-skills --skill hunt-write-gap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-write-gap
Source: https://github.com/uphiago/recon-skills/tree/main/redteam/hunt-write-gap
Command: npx skills add https://github.com/uphiago/recon-skills --skill hunt-write-gap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many APIs have broken access control where read operations are properly protected by authentication and authorization, but write operations (PATCH, POST, DELETE) are left unguarded. This allows authenticated attackers to modify data they should not have access to, such as upgrading account tiers, manipulating balances, or altering other users' information, leading to critical privilege escalation and data integrity risks.

Core Features & Use Cases

  • Writeable Endpoint Discovery: Tests common API paths with write methods to identify endpoints that accept modifications.
  • Self-Modification Write Gap Testing: Checks if authenticated users can alter their own privileged data (account tiers, usage limits, balances) beyond their authorized permissions.
  • Cross-User IDOR Write Testing: Detects if attackers can modify other users' data by adjusting request filters, a critical insecure direct object reference vulnerability.
  • Use Case: Ideal for penetration testers assessing Supabase, Firebase, REST, or GraphQL APIs during security audits to uncover high-severity access control flaws that could lead to full account takeover or business logic bypass.

Quick Start

Use the hunt-write-gap skill to test your authenticated target API for unprotected write endpoints that allow unauthorized modification of user account data, tiers, and settings.

Frequently Asked Questions about hunt-write-gap

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

FAQPage Schema
How do I test for broken access control on write endpoints in a REST API?

A write gap vulnerability occurs when read operations are properly protected but write operations like PATCH, POST, or DELETE are left unguarded. This allows authenticated attackers to modify protected data, leading to privilege escalation and data integrity risks.

How do I detect IDOR write vulnerabilities in Supabase?

Detecting IDOR write vulnerabilities in Supabase requires testing if authenticated users can modify other users' data by adjusting request filters. This skill targets Supabase backends to detect cross-user insecure direct object reference flaws during security audits.

Can I test GraphQL backends for self-modification write gaps?

Yes, you can test GraphQL backends for self-modification write gaps. This skill checks if authenticated users can alter their own privileged data, such as account tiers or usage limits, beyond their authorized permissions across REST and GraphQL APIs.

What is the best way to find unprotected write endpoints for privilege escalation?

The best way to find unprotected write endpoints is to test common API paths with write methods to identify endpoints accepting modifications. This skill automates writable endpoint discovery to assess privilege escalation and data tampering risks.

Does this access control testing approach work with Firebase APIs?

Yes, this access control testing approach works with Firebase APIs. The skill is designed for penetration testing engagements targeting Supabase, Firebase, custom REST APIs, and GraphQL backends with authenticated user access to uncover high-severity access control flaws.