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.
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-gapRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/uphiago/recon-skills /tmp/recon-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/recon-skills/redteam/hunt-write-gap ~/.gemini/antigravity-cli/skills/hunt-write-gapAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
