Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

hunt-write-gap

Skill by uphiago

hunt-write-gap is a security testing skill for finding API write endpoints (PATCH, POST, DELETE) that accept changes without authorization while GET is protected. It is for security testers working on Supabase, Firebase, REST or GraphQL backends.

  • Score 77
  • 1.4k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install hunt-write-gap

Built from the published package, never by AI.

git clone --depth 1 https://github.com/uphiago/recon-skills /tmp/recon-skills && mkdir -p ~/.claude/skills && cp -r /tmp/recon-skills/redteam/hunt-write-gap ~/.claude/skills/hunt-write-gap

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install hunt-write-gap in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

hunt-write-gap is a security testing skill that checks whether write methods such as PATCH, POST and DELETE are protected when read access is restricted. It targets APIs that look secure on GET but may accept unauthorized writes. The source says the method is agnostic and covers Supabase, Firebase, REST and GraphQL backends.

The skill has three phases. It first uses curl to probe common endpoints with PUT, PATCH and POST and reads the status codes to find writable routes. It then tests whether privileged fields such as tier, role, balance or usage limits can be changed on the user's own records. A final phase tests whether a filter can reach other users' records. The skill also explains how to verify results with a follow-up GET and suggests severity ratings.

It is aimed at security testers who already have authenticated access to a target and have done prior reconnaissance.

Written from the project's SKILL.md and checked against it.

What it can do

  • Writable endpoint discoveryPhase 1 uses a curl loop to send PUT, PATCH and POST to common endpoints and reads the status codes.
  • Privileged field write testsPhase 2 gives curl examples for changing tier, balance, profile and AI usage limit fields.
  • Cross-user write testsPhase 3 sends a filter targeting other users' rows to check for IDOR-style writes.
  • Result verification guidanceExplains how to classify results as confirmed, protected or false positive using a follow-up GET.
  • Follow-up routingSuggests severity levels and points to hunt-business-logic for self-modification impact.

What you need

  • Authenticated access to the target API
  • A bearer token for the target
  • curl and bash

Try asking

  • Check whether my account can PATCH fields like tier or role on the API
  • Test if PATCH /profiles lets me change other users' rows
  • Probe common endpoints for PUT, PATCH and POST write access

Good to know

  • Assumes prior reconnaissance such as schema enumeration or JS bundle analysis.
  • The built-in self-test only checks file structure, not whether any endpoint is vulnerable.
  • Some pitfalls text covers memory and file-write issues that do not apply to API testing.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: redteam/hunt-write-gap/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to hunt-write-gap

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

hunt-write-gap: common questions

What does hunt-write-gap test for?

According to its description, it tests whether PATCH, POST or DELETE accept changes without authorization while GET is protected.

Which backends does it cover?

The source describes it as agnostic and names Supabase, Firebase, REST and GraphQL backends.

Does it need a valid login?

Its examples send a bearer token from an authenticated session, and it assumes you can read your own data.

How do I install hunt-write-gap?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is hunt-write-gap free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is hunt-write-gap safe to use?

It scores 77 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to hunt-write-gap?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

hunt-write-gap Install

Add to stack

Loading.