business-logic-review

business-logic-review is a skill for Claude Code from MuhammedZohaib/patchman. It costs 56 tokens per session (167 once invoked), scanned A, original, MIT.

A security review focused on flaws in application workflows and rules, such as approvals, refunds, invitations, quotas, billing, and multi-step state changes.

In plain words
What is it for?
Use it to inspect alternate paths, retries, duplicate processing, race conditions, background jobs, and webhooks for approval bypasses, quota abuse, replay issues, and incorrect state transitions.
Why use it?
It finds ways users or repeated requests might bypass rules that the product intends to enforce, including checks that exist only in the user interface.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the patchman plugin — 7 skills, 9 commands shipped together

Good fit Use it to inspect alternate paths, retries, duplicate processing, race conditions, background jobs, and webhooks for approval bypasses, quota abuse, replay issues, and incorrect state transitions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/muhammedzohaib/patchman/business-logic-review
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 MuhammedZohaib/patchman --skill business-logic-review
Clone the repo
git clone --depth 1 https://github.com/MuhammedZohaib/patchman

Made for: Claude Code.

Or install patchman, the plugin that ships this one along with the rest of its 7 skills, 9 commands.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/muhammedzohaib/patchman/business-logic-review/github.svg)](https://agentmods.dev/skills/muhammedzohaib/patchman/business-logic-review)
Your own site
<a href="https://agentmods.dev/skills/muhammedzohaib/patchman/business-logic-review"><img src="https://agentmods.dev/badge/skills/muhammedzohaib/patchman/business-logic-review/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-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/muhammedzohaib/patchman/business-logic-review"><img src="https://agentmods.dev/badge/skills/muhammedzohaib/patchman/business-logic-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 167 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00056 $0.00167
Opus 5 $0.00028 $0.00084
Sonnet 5 $0.00011 $0.00033
Haiku 4.5 $0.00006 $0.00017

Measured 9d ago against content hash 5c51650915e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

business-logic-review scanned grade A with 0 findings 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/patchman/skills/business-logic-review/SKILL.md · 23 lines

What it actually says

Business Logic Review

Focus

  • state machine gaps
  • approval or refund bypasses
  • replay and duplicate processing
  • quota and entitlement circumvention
  • race conditions around credits, inventory, or invitations
  • UI-only controls missing server-side enforcement

Method

  1. Identify the invariant the product is trying to preserve.
  2. Trace where the invariant is enforced.
  3. Look for alternate paths, retries, replays, and admin shortcuts.
  4. Confirm whether enforcement survives background jobs and webhooks.
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. 9d ago First seen · 23 lines · 56 tokens per session scan A 5c51650915e2

Subscribe to this mod's changes

business-logic-review is a skill published in the GitHub repository MuhammedZohaib/patchman (3 stars, last pushed 4mo ago), licensed MIT. It adds 56 tokens to every session and 167 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

API Security Testing

Comprehensive API security testing based on OWASP API Security Top 10 including broken authentication, injection attacks, rate limiting, BOLA/BFLA vulnerabilities, and automated security scanning with ZAP and custom scripts.

PramodDutta/qaskills · 46 tokens

exploiting-broken-function-level-authorization

Tests APIs for Broken Function Level Authorization (BFLA) vulnerabilities where regular users can invoke administrative functions or access privileged API endpoints by directly calling them. The tester identifies admin and privileged endpoints, then attempts to access them with regular user credentials by manipulating…

xalgorix/xalgorix · 108 tokens

testing-api-authentication-weaknesses

Tests API authentication mechanisms for weaknesses including broken token validation, missing authentication on endpoints, weak password policies, credential stuffing susceptibility, token leakage in URLs or logs, and session management flaws. The tester evaluates JWT implementation, API key handling, OAuth flows, and…

xalgorix/xalgorix · 102 tokens

testing-oauth2-implementation-flaws

Tests OAuth 2.0 and OpenID Connect implementations for security flaws including authorization code interception, redirect URI manipulation, CSRF in OAuth flows, token leakage, scope escalation, and PKCE bypass. The tester evaluates the authorization server, client application, and token handling for common…

xalgorix/xalgorix · 100 tokens

testing-websocket-api-security

Tests WebSocket API implementations for security vulnerabilities including missing authentication on WebSocket upgrade, Cross-Site WebSocket Hijacking (CSWSH), injection attacks through WebSocket messages, insufficient input validation, denial-of-service via message flooding, and information leakage through WebSocket…

xalgorix/xalgorix · 117 tokens

Auth Bypass Tester

Comprehensive authentication and authorization bypass testing including session hijacking, privilege escalation, JWT manipulation, and access control verification.

PramodDutta/qaskills · 27 tokens