hunt-business-logic · h-mmer — Claude Code skill: how to install and use
hunt-business-logic finds business logic flaws like price tampering, race conditions, and 2FA bypasses. Useful for testing checkout workflows and subscription logic.
no license ★ 1,298 updated 2026-06-12
npx skills add H-mmer/pentest-agents --skill hunt-business-logic -a claude-codeWhat hunt-business-logic does
This skill guides security analysis for application-level logic flaws, specifically CWE-840, CWE-841, CWE-639, and financial race conditions under CWE-362. It builds on verified reports from HackerOne, Bugcrowd, Huntr, and GitHub Security Advisories. These vulnerabilities escape standard scanners because they exploit legitimate application workflows rather than missing syntax sanitization.
The workflow targets payment processing, shopping carts, and identity transitions. It checks if handlers accept negative product counts, examines balance deductions under concurrent requests, and probes alternate account flows for missed multi-factor authentication steps.
Without a clear mapping of application endpoints and database transaction boundaries, the agent will produce speculative test cases.
What it helps with
- detect negative quantity or price tampering in checkout endpoints
- uncover TOCTOU race conditions during balance transfers and coupon redemption
- find multi-factor authentication bypasses in secondary account flows
- spot subscription loopholes that allow resetting free trial periods
Example prompts for the agent
- Review the checkout handler in
/api/cartfor client-controlled price or quantity manipulation - Test our wallet balance deduction logic for concurrency race conditions
- Analyze the password recovery route to see if it allows skipping the 2FA requirement
How to install hunt-business-logic
1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill hunt-business-logic -a claude-code2Manually: put the files in place
~/.claude/skills/pentest-agents-hunt-business-logic/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/pentest-agents-hunt-business-logic/
1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill hunt-business-logic -a codex2Manually: put the files in place
.agents/skills/pentest-agents-hunt-business-logic/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill hunt-business-logic -a cursor2Manually: put the files in place
.cursor/skills/pentest-agents-hunt-business-logic/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install H-mmer/pentest-agents providers/cursor/.cursor/skills/pentest-agents-hunt-business-logic2Manually: put the files in place
.github/skills/pentest-agents-hunt-business-logic/SKILL.md1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill hunt-business-logic -a gemini-cli2Platform CLI
gemini skills install https://github.com/H-mmer/pentest-agents --path providers/cursor/.cursor/skills/pentest-agents-hunt-business-logicManually: put the files in place
.devin/skills/pentest-agents-hunt-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 hunt-business-logic
How to install hunt-business-logic in Claude Code?
Run npx skills add H-mmer/pentest-agents --skill pentest-agents-hunt-business-logic -a claude-code. Alternatively, place the skill definition directly into ~/.claude/skills/pentest-agents-hunt-business-logic/SKILL.md.
What does the hunt-business-logic skill do?
It equips the coding agent with patterns to discover business logic errors, including shopping cart tampering, parallel request abuse, and multi-factor authentication bypasses.
Which platforms support hunt-business-logic?
It runs in Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, and Windsurf.
Similar skills
All skills for Security →hunt-business-logic by other authors comes first.