business-logic-vuln

Identify business logic and state-machine vulnerabilities across multi-step workflows.

5|2|Updated May 16, 2026
One-click install
npx skills add https://github.com/DorianGallo/hack-skills-local --skill business-logic-vuln-doriangallo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: business-logic-vuln
Source: https://github.com/DorianGallo/hack-skills-local/tree/main/skills/business-logic-vuln
Command: npx skills add https://github.com/DorianGallo/hack-skills-local --skill business-logic-vuln-doriangallo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps identify vulnerabilities where the security impact comes from how an application’s business rules, state transitions, and workflow checks interact across multiple steps—not from classic input parsing bugs.

Core Features & Use Cases

  • Workflow abuse & state-machine issues: Target missing or incorrectly ordered checks across transitions like coupons, quotas, approvals, invites, and trials.
  • Check-then-act and sequencing flaws: Detect race conditions, sequence dependencies, and windows where authorization or validation changes between steps.
  • Cross-step authorization gaps: Find multi-step attacks where later actions are not properly bound to earlier permissions or business conditions.

Quick Start

Use the business-logic-vuln skill when you suspect a pricing, inventory, payment, approval, or authorization weakness that only appears after multiple actions or state changes.

Frequently Asked Questions about business-logic-vuln

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are business logic vulnerabilities and how do they differ from injection flaws?

Business logic vulnerabilities are security flaws caused by how application rules and state transitions interact across multiple steps, rather than classic input parsing or injection errors. They exploit workflow sequencing, check-then-act conditions, and cross-step authorization gaps.

How do I test for race conditions in multi-step payment and approval workflows?

To test for race conditions in multi-step workflows, map the business states and actions, then validate cross-step authorization and sequencing dependencies. Focus on windows where validation or permissions change between steps, such as during payments, approvals, or coupon redemption.

When do I need to map state machines to find workflow abuse vulnerabilities?

You need to map state machines when you suspect pricing, inventory, quota, invite, or trial weaknesses that only appear after multiple actions. Mapping state transitions helps identify missing or incorrectly ordered checks across the workflow that enable abuse.

Can I detect cross-step authorization gaps in coupon and inventory systems?

Yes, you can detect cross-step authorization gaps in systems involving coupons and inventory by validating whether later actions are properly bound to earlier permissions or business conditions. This targets multi-step attacks where state transitions bypass intended authorization checks.

What is the best way to identify check-then-act sequencing flaws in application workflows?

The best way to identify check-then-act sequencing flaws is to analyze the application's state-machine transitions for windows where authorization or validation changes between steps. This detects race conditions and sequence dependencies across multi-step processes like trials and approvals.

Does this approach find parser-level input validation bugs or state transition vulnerabilities?

This approach specifically finds state transition vulnerabilities and workflow abuse issues, not parser-level input validation bugs. It targets business logic flaws by validating cross-step authorization, sequencing, and race window dependencies across multi-step application workflows.