business-logic-flaws

business-logic-flaws is a skill for Claude Code, Codex from SecurityTalent/bugskill-ai. It costs 98 tokens per session (1,869 once invoked), scanned A, a copy of business-logic-flaws, MIT.

A security-testing guide for finding business logic flaws, where an application behaves incorrectly when its normal features are used in an unexpected order or with unexpected values.

In plain words
What is it for?
It is for testing checkout and payment flows, coupons, quantities, hidden fields, multi-step processes, race conditions, and privilege-related parameters.
Why use it?
These problems can bypass rules that automated security checks often miss, such as limits, prices, discounts, or required workflow steps.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit It is for testing checkout and payment flows, coupons, quantities, hidden fields, multi-step processes, race conditions, and privilege-related parameters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/securitytalent/bugskill-ai/business-logic-flaws
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SecurityTalent/bugskill-ai --skill business-logic-flaws
Clone the repo
git clone --depth 1 https://github.com/SecurityTalent/bugskill-ai

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for business-logic-flaws

README.md
[![agentmods](https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/business-logic-flaws/github.svg)](https://agentmods.dev/skills/securitytalent/bugskill-ai/business-logic-flaws)
Your own site
<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/business-logic-flaws"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/business-logic-flaws/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for business-logic-flaws

Your own site · 80×15
<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/business-logic-flaws"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/business-logic-flaws.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,869 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00098 $0.01869
Opus 5.5 $0.00039 $0.00748
Sonnet 5.5 $0.00020 $0.00374
Haiku 4.5 $0.00010 $0.00187

Measured 20d ago against content hash 7dc77441a3b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

business-logic-flaws scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -b "session=TOKEN" TARGET/orders/1001
Origin

This is a copy

100% identical to business-logic-flaws — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

Awesome-Claude-Code-Agent-Skills/03-Authentication-and-Access-Control/business-logic-flaws/SKILL.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Business Logic Flaws

What Is Broken and Why

Business logic flaws occur when an application's security controls are implemented only on the client side, or when developers assume users will always follow the intended workflow. Unlike injection attacks, these vulnerabilities use the application's own features correctly from a technical standpoint but in unintended sequences or with unexpected values. They are particularly dangerous because automated scanners rarely detect them — they require understanding the application's intended purpose. Common manifestations include price/quantity manipulation, workflow step bypass, coupon reuse, race conditions in financial operations, and privilege escalation via hidden or predictable parameters.

Key Signals

  • Hidden form fields containing prices, discount amounts, user roles, or IDs
  • Multi-step purchase/checkout workflows where steps can be skipped via direct URL navigation
  • Coupon or discount codes accepted multiple times
  • Pricing or quantity fields not validated server-side (only validated in JavaScript)
  • Parameters incrementing predictably (orderId=1001, 1002…) suggesting enumerable resources
  • Time-sensitive operations (balance checks, reservation holds) that can be exploited between check and action
  • Admin or privilege flags passed in HTTP parameters
  • Audit log endpoints with insufficient access controls

Methodology

  1. Data Validation Testing (BUSL-01)

    • Identify all data entry and handoff points between system components
    • Intercept HTTP requests and submit logically invalid values: negative quantities, non-existent IDs, out-of-range prices
    • Verify server rejects logically invalid data (not just client-side validation)
  2. Request Forging (BUSL-02)

    • Monitor POST/GET for guessable or predictable parameter values
    • Identify hidden features (debug flags, admin toggles) in HTTP parameters
    • Modify discovered values to test for unintended access or behavior
  3. Integrity Check Testing (BUSL-03)

    • Compare hidden HTTP fields against visible GUI fields
    • Submit alternative values in "read-only" fields via proxy
    • Test log file and audit trail manipulation via unauthorized access

Read the full file on GitHub · 157 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 20d ago First seen · 157 lines · 98 tokens per session scan A 7dc77441a3b4

Subscribe to this mod's changes

business-logic-flaws is a skill published in the GitHub repository SecurityTalent/bugskill-ai (13 stars, last pushed 21d ago), licensed MIT. It adds 98 tokens to every session and 1,869 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to business-logic-flaws, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

email-marketing-bible

Email marketing operating manual for AI agents, with hard send-safety gates. Use when someone plans, writes, designs, audits or sends an email campaign, newsletter, welcome series, abandoned-cart, post-purchase or win-back flow; builds a list or segment; drives Klaviyo, Mailchimp, Brevo, Kit or any ESP through MCP, an…

CosmoBlk/email-marketing-bible · 195 tokens

omg-payment

A natural-language guide for helping non-technical merchants in Taiwan connect to the OMG payment gateway, which handles online payments such as cards, ATM transfers, and convenience-store payments.

chenmitchell/omg-payment-skill · 190 tokens

amazon-reviews-api-skill

This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express needs like getting reviews for Amazon product with ASIN B07TS6R1SF, analyzing customer feedback for a specific Amazon item, getting ratings and comments for a…

browser-act/skills · 124 tokens

amazon-competitor-analyzer

Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis. Compares specifications, pricing, review quality, and visual strategies to identify competitor moats and vulnerabilities.

browser-act/skills · 48 tokens

food-order

Reorder previous Foodora orders, preview cart contents, and track delivery ETA/status with ordercli. Use when the user wants to reorder food, check delivery status, or browse recent Foodora order history. Never confirm an order without explicit user approval.

Bitterbot-AI/bitterbot-desktop · 53 tokens

Product Photoshoot Workflow

A workflow for turning one product photo into a set of four e-commerce images from different visual directions.

jau123/MeiGen-AI-Design-MCP · 111 tokens