Skip to main content
skill CX Codex

business-logic-vuln — Claude Code skill: how to install

Routes security testing toward business logic and state machine flaws. Focuses on race conditions, stacked discounts, quota bypasses, and workflow abuse.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add yaklang/hack-skills --skill business-logic-vuln -a claude-code
Open on GitHub

What business-logic-vuln does

This skill serves as an entry P1 category router for assessing business logic weaknesses. Instead of searching for parser injections, it directs attention to state transitions and the exact moments checks execute. It focuses on workflows like coupons, payments, inventory reservations, quotas, invites, and trial periods.

The recommended flow starts with mapping key business states and one-time actions. Next, it looks for check-then-act windows, missing cross-step authorization, and sequence dependencies. When an attack chain depends on raw API endpoints or file permissions, it refers out to api-sec, auth-sec, or file-access-vuln.

The guide will not help with simple payload injections, because it targets state-machine logic and business rules exclusively.

What it helps with

  • identify race conditions in quota and inventory updates
  • spot negative balance and price tampering vulnerabilities
  • test multi-step workflows for missing sequence authorization
  • detect stacked discount and coupon abuse flaws

Example prompts for the agent

  • Audit our checkout workflow for race conditions and stacked coupon logic.
  • Trace the order state machine to check for sequence bypasses and negative amounts.

How to install business-logic-vuln

1Skills CLI (Vercel)

npx skills add yaklang/hack-skills --skill business-logic-vuln -a claude-code

2Manually: put the files in place

~/.claude/skills/business-logic-vuln/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/business-logic-vuln/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about business-logic-vuln

How to install business-logic-vuln in Claude Code?

Run npx skills add yaklang/hack-skills --skill business-logic-vuln -a claude-code in your terminal.

What does the business-logic-vuln skill do?

It acts as a router for testing state machines, price tampering, race conditions, and sequence dependencies across business workflows.

Which related categories connect to this skill?

It links directly to business-logic-vulnerabilities and routes to api-sec, auth-sec, or file-access-vuln when attack chains involve APIs or file permissions.

Source text

SKILL.md · MIT
---
name: business-logic-vuln
description: >-
  Entry P1 category router for business logic testing. Use when workflow abuse,
  race conditions, pricing flaws, or multi-step state attacks matter more than
  parser-level input injection.
---

# 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

- [Business Logic Vulnerabilities](../business-logic-vulnerabilities/SKILL.md)

## 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

- [api-sec](../api-sec/SKILL.md)
- [auth-sec](../auth-sec/SKILL.md)
- [file-access-vuln](../file-access-vuln/SKILL.md)

© yaklang · MIT · yaklang/hack-skills

Similar skills

Everything for Security →

From the same set93

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor