offensive-business-logic

Featured

Business logic vulnerability testing for web/mobile/API engagements. Covers workflow bypass, state machine violations, multi-step process abuse, price/quantity/discount manipulation, currency confusion, coupon stacking, refund/chargeback abuse, race conditions on logic boundaries, parameter tampering for hidden flows, role/tenant boundary violations, time-of-check vs use, anti-automation defeat, fraud-detection evasion, and subscription/quota abuse. Use when scoping an application after surface-level OWASP Top 10 has been covered, or when the asset is a transactional/marketplace/fintech/e-commerce/SaaS app where logic flaws produce direct financial impact.

AI & Automation 719 stars 91 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
95
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Business Logic — Offensive Testing Methodology Business logic flaws are the highest-paying class of vulnerability for bug bounty and the hardest for scanners to detect. They live in the gap between what the developer specified and what an attacker can convince the system to accept. ## Quick Workflow 1. Map every multi-step flow as a state machine (states + allowed transitions + side effects) 2. For each transition, ask: who can call it, in what state, with what inputs, how many times 3. Probe each axis (state, identity, input, frequency) for assumptions 4. Combine flaws — single-axis flaws are usually low severity; chains are critical 5. Quantify financial impact per finding (loss-per-attack × scale) --- ## Reconnaissance — Mapping the Logic ### Build the State Machine For each user flow, draw: - **States**: cart, pending payment, paid, shipped, refunded, cancelled - **Transitions**: which API/UI action, which role, which preconditions - **Side effects**: balance change, inventory change, email, webhook Look for transitions that: - Skip intermediate states (`cart` → `shipped` without `paid`) - Are reversible when they shouldn't be (`shipped` → `cart`) - Trigger side effects more than once - Allow cross-role invocation ### Hidden / Internal Endpoints ```bash # Compare authenticated and unauthenticated JS bundles for buried admin routes diff <(curl https://app/main.js) <(curl -H "Cookie: ..." https://app/main.js) # Look for flag/feature toggles that change UI but n...

Details

Author
0xwilliamortiz
Repository
0xwilliamortiz/claude-red
Created
2 weeks ago
Last Updated
1 weeks ago
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

hunting-business-logic-flaws

Hunt for vulnerabilities that live in what an application is allowed to do, not in how it is coded: workflow steps that can be skipped or reordered, quantity/price/limit values that go negative or overflow a cap, state transitions that should be unreachable, replay and concurrency abuse, and privileged outcomes reached through a sequence of individually-valid requests. Use when reviewing checkout, transfers, redemption, quotas, or any rule the code enforces implicitly. These are the flaws static analysis and scanners structurally miss.

4 Updated yesterday
UnboundCompute
AI & Automation Listed

sast-businesslogic

Detect business logic vulnerabilities in a codebase using a three-phase approach: threat modeling (domain analysis and attack scenarios), batched verify (check exploitable gaps in parallel subagents, 3 scenarios each), and merge (consolidate batch results). Covers price manipulation, workflow bypass, limit violations, race conditions, reward abuse, etc. Requires sast/architecture.md (run sast-analysis first). Outputs findings to sast/businesslogic-results.md. Use when asked to find business logic, logic flaws, or abuse-of-function bugs.

0 Updated today
reasonless-throne486
AI & Automation Listed

pentest-bizlogic

Business logic flaw hunting — price manipulation, race condition, workflow bypass, authorization edge case advisory. Triggers on business logic, bizlogic, race condition, price manipulation, workflow bypass, payment flaw, coupon abuse, refund abuse, time-of-check race.

7 Updated 4 days ago
fatihkan