business-logic — Claude Code skill: what it does, how to install
Guides coding assistants in auditing business logic flaws like price tampering, coupon race conditions, and MFA bypasses. Designed to prove impact for bug bounties.
no license ★ 1,298 updated 2026-06-12
npx skills add H-mmer/pentest-agents --skill business-logic -a claude-codeWhat business-logic does
This skill targets application workflow flaws across nine primary attack surfaces. It focuses on cart price tampering with negative values, coupon reuse through time-of-check gaps, quota evasion on trials, workflow step skips, and SSO account hijacking.
The instructions mandate loading the methodology file SKILL.md and querying exploitation techniques via search tools before taking action. Without the companion files from the pentest-agents repository, the agent will miss specific exploit templates and historical vulnerability references.
Testing race conditions requires rigorous verification. The skill instructs the agent to run single-packet HTTP/2 bursts with Turbo Intruder or curl, verify repeatability across multiple attempts, and quantify the monetary exposure instead of reporting an isolated informational bug.
What it helps with
- test checkout endpoints against negative pricing and currency rounding flaws
- find race condition gaps in wallet debits and coupon applications
- check password reset workflows for multi-factor authentication bypasses
- assess trial subscription systems for email alias and fingerprint reuse
Example prompts for the agent
- Audit the cart checkout flow for negative quantity inputs and server-side price validation
- Test this wallet withdrawal endpoint for double-spend race conditions using HTTP/2 batching
- Examine our SSO registration flow for pre-account takeover vulnerabilities
How to install business-logic
1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill business-logic -a claude-code2Manually: put the files in place
~/.claude/skills/agent-business-logic/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/agent-business-logic/
1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill business-logic -a codex2Manually: put the files in place
.agents/skills/agent-business-logic/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill business-logic -a cursor2Manually: put the files in place
.cursor/skills/agent-business-logic/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install H-mmer/pentest-agents providers/cursor/.cursor/skills/agent-business-logic2Manually: put the files in place
.github/skills/agent-business-logic/SKILL.md1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill business-logic -a gemini-cli2Platform CLI
gemini skills install https://github.com/H-mmer/pentest-agents --path providers/cursor/.cursor/skills/agent-business-logicManually: put the files in place
.devin/skills/agent-business-logic/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about business-logic
How do I install business-logic in Claude Code?
Run this command in your terminal: npx skills add H-mmer/pentest-agents --skill agent-business-logic -a claude-code.
What does business-logic do?
It equips your agent with pentesting methodologies for web logic vulnerabilities, covering price manipulation, promo code abuse, workflow bypasses, and account takeovers.
Does this skill depend on other files?
Yes. It instructs the assistant to read ../../skills/hunt-business-logic/SKILL.md and chain tables from the pentest-agents repository, meaning it works best when cloned alongside the full repository structure.