mcpField
B
business-logic-vuln

business-logic-vuln

github.com/yaklangSecurity2.6k3.7k installsUpdated 6w ago
Repository

About business-logic-vuln

A routing guide for business-logic and state-machine security issues, aimed at assessing workflows such as coupons, payments, approvals, and quotas. It recommends mapping states and one-time actions before checking timing windows, sequence dependencies, and cross-step authorization.

Key features

  1. 01Routes business-logic and state-machine issues
  2. 02Covers coupons, inventory, payments, and approvals
  3. 03Maps business states and one-time actions
  4. 04Checks for check-then-act timing windows
  5. 05Finds sequence dependencies and cross-step authorization gaps

Use cases

  1. 01Testing stacked discounts or price tampering
  2. 02Checking race conditions in payment and inventory flows
  3. 03Assessing bypasses in approval, quota, or trial workflows
  4. 04Tracing chains involving APIs, uploads, or object permissions

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/yaklang/hack-skills --skill business-logic-vuln

After installing, type/business-logic-vulnin Claude Code to confirm it loaded.

Details

From the project README

Business Logic Router

This is the routing entry point for business-logic and state-machine issues.

When to Use

  • The target involves coupons, inventory, payment, approvals, quotas, invites, trials, or state transitions
  • The issue is not parser-level; it is about when checks happen and which business conditions are checked
  • You suspect race conditions, workflow bypass, price tampering, negative values, stacked discounts, or multi-step flaws

Skill Map

Recommended Flow

  1. First map key business states and one-time actions
  2. Then check for check-then-act windows, sequence dependencies, or missing cross-step authorization
  3. If the chain depends on APIs, uploads, or object permissions, return to the corresponding router skill to complete the path

Related Categories

Comments

Markdown supported