hunt-write-gap

Detects unauthorized write-access vulnerabilities in REST and GraphQL APIs.

3|1|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/EntroVyx/hermes-agent-offsec --skill hunt-write-gap-entrovyx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-write-gap
Source: https://github.com/EntroVyx/hermes-agent-offsec/tree/main/skills/offsec/redteam/hunt-write-gap
Command: npx skills add https://github.com/EntroVyx/hermes-agent-offsec --skill hunt-write-gap-entrovyx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the critical security flaw where read-protected endpoints allow unauthorized write operations, such as PATCH, POST, or DELETE, which can lead to privilege escalation and data manipulation.

Core Features & Use Cases

  • Endpoint Discovery: Automatically tests common write methods against discovered API endpoints to confirm accessibility.
  • Privilege Escalation Testing: Validates if authenticated users can modify sensitive fields like user roles, subscription tiers, or account balances.
  • Cross-User Write Detection: Checks for IDOR vulnerabilities by attempting to modify resources belonging to other users.

Quick Start

Use the hunt-write-gap skill to test the target API at https://api.target.com for unauthorized write access using your provided authentication token.

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 APIs for unauthorized write access and privilege escalation?

To test APIs for unauthorized write access, execute PATCH, POST, and DELETE requests against protected resources using curl, then manually verify HTTP response codes to confirm successful unauthorized modifications.

What is an IDOR write vulnerability and how can I detect it in REST APIs?

An IDOR write vulnerability allows authenticated users to modify resources belonging to other users. You can detect this IDOR write vulnerability by attempting cross-user PATCH or POST modifications and checking for successful response codes.

Can I audit Supabase and Firebase backends for unauthorized write operations?

Yes, you can audit Supabase and Firebase backends for unauthorized write operations by testing common write methods against discovered endpoints to confirm accessibility and validate if users can modify sensitive fields like roles or balances.

Do I need curl to check for GraphQL API write flaws?

Yes, you need curl installed to execute HTTP requests when checking for GraphQL API write flaws, as the testing process requires sending PATCH, POST, and DELETE methods against protected resources and manually verifying the responses.

How does privilege escalation testing work for SaaS platform APIs?

Privilege escalation testing for SaaS platform APIs validates if authenticated users can modify sensitive fields like user roles or subscription tiers by sending unauthorized write requests and confirming the modifications were successful.

What are the limitations of detecting unauthorized write access manually?

The limitation of detecting unauthorized write access manually is that it requires manual verification of HTTP response codes after executing curl requests, meaning you must individually inspect each response to confirm a successful unauthorized modification.