Skip to content
Back to skills

Api Abuse

ASecurity

Business-flow / automation abuse of value-bearing API flows (OWASP API6) — script value-generating flows (purchase, referral/credit, free-trial, inventory) to check for anti-automation controls and race conditions. Tier 1. Use when an API flow has financial/business value if automated at scale.

  • 16 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 17, 2026
securityrustapibackend

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill api-abuse --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Abuse?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Abuse
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-api-abuse/badge)](https://www.skillsdirectory.com/skills/anandjogawade-api-abuse)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: api-abuse
description: Business-flow / automation abuse of value-bearing API flows (OWASP API6) — script value-generating flows (purchase, referral/credit, free-trial, inventory) to check for anti-automation controls and race conditions. Tier 1. Use when an API flow has financial/business value if automated at scale.
---

# API Business-Flow Abuse (API6)

Some flows are fine once but harmful automated at scale — scalping, fraud, farming. Test whether the business logic resists automation, not just whether each request is "authorized".

## Trigger phrases
`business logic abuse, api6, automation abuse, scalping, referral abuse, free trial farming, coupon abuse, race condition, inventory hoarding`

## Method
1. **Identify value-bearing flows** — ticket/sneaker/limited-stock purchase, referral/credit/cashback, coupon/discount redemption, free-trial/account creation, review/comment posting, inventory reservation, points/loyalty, withdrawals/transfers.
2. **Model the flow** — capture the full request sequence (add-to-cart → reserve → pay; or invite → signup → credit). Note tokens/state tied to each step.
3. **Script it repeatedly** — replay the flow at volume (Burp/ffuf/custom script) and check for anti-automation: CAPTCHA, device fingerprint, velocity/business-logic rate limits, per-user caps.
4. **Constraint bypass** — reuse/share single-use coupons; self-referral loops; recreate "one-per-user" rewards via new/throwaway accounts or tweaked identifiers; skip or reorder steps (pay before price-lock).
5. **Race conditions** — fire concurrent requests at a check-then-act flow (redeem-once coupon, balance withdrawal, stock decrement) to double-spend. Use Burp Turbo Intruder **single-packet attack** (HTTP/2) to land requests simultaneously.

## Bypass / evasion
Rotate identity/IP/device headers to defeat per-identity caps (`api-resource-consumption`); alias/batch (`graphql`, `api-json-rpc`) to amplify; parameter tweaks to appear as distinct users. See `${CLAUDE_PLUGIN_ROOT}/payloads/waf-bypass.md`.

## Modern / rare techniques
- **[RARE] Race-condition double-spend** — single-packet concurrent requests bypass "check then decrement" (coupon/balance/stock).
- **[RARE] Step-skip / reorder** — jump straight to a privileged/final step without the gating ones (price set, payment, verification).
- **[RARE] Reward/limit farming** — "one per user/device" enforced weakly → mass-generate via throwaways or identifier tweaks.

## Escalation / chaining
Financial loss, scalping/hoarding, fraud, reputational harm. Amplified by missing rate limits (`api-resource-consumption`), self-elevation (`api-bopla`), and trusted-channel poisoning (`api-unsafe-consumption`).

## Backend & tooling
Preferred Kali path (WSL+Kali / Kali-MCP / HexStrike): Burp Turbo Intruder (single-packet) for races, scripted flow replay; multiple test accounts. Keep volumes bounded and within RoE. See `zazy-orchestrator`.

## Verification (background, before reporting)
Reproduce the abuse end-to-end (e.g., coupon redeemed N times, N trial credits from one identity, double-spend confirmed) with a clean repro; show the control is absent/bypassable, not just slow. True positives only; avoid real financial harm — prove with minimal value.

## Evidence
The scripted flow + evidence of the business impact (duplicate redemptions, extra credits, over-reserved stock, successful race), with the missing/bypassed control named. Impact + remediation (bot detection, business-logic/velocity limits, human-interaction challenges, atomic check-and-act / idempotency).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.