pentest-business-logic
Skill312 starsChanged 10 months agoApache-2.0View on GitHub
Business logic vulnerability testing — workflow bypass, payment manipulation, state machine abuse, and function limit circumvention per WSTG-BUSL.
In this repository31 other files it gives its agents.
- brainstormingSkill
- executing-plansSkill
- openclaw-security-checkerSkill
- openclaw-threat-detectSkill
- pdfSkill
- pentest-ai-llm-securitySkill
- pentest-api-deepSkill
- pentest-client-advancedSkill
- pentest-cloud-infrastructureSkill
- pentest-config-hardeningSkill
- pentest-ctf-binarySkill
- pentest-ctf-cryptoSkill
- pentest-ctf-forensicsSkill
- seclens-enterprise-webSkill
- pentest-exploit-validationSkill
- pentest-http-smugglingSkill
- pentest-mobile-appSkill
- pentest-network-internalSkill
- pentest-osint-reconSkill
- pentest-race-conditionsSkill
- pentest-recon-attack-surfaceSkill
- pentest-secrets-exposureSkill
- pentest-supply-chainSkill
- pentest-vuln-verify-testSkill
- pentest-whitebox-code-reviewSkill
- planning-with-filesSkill
- pptxSkill
- skill-creatorSkill
- skill-security-auditorSkill
- writing-plansSkill
- xlsxSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Test data seeded for workflow testing (products, coupons, user accounts)
- Distinctive: line 30
Function Limit Bypass: Test coupon reuse, referral loops, vote stuffing, resource exhaustion through legitimate endpoints (WSTG-BUSL-05).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Pentest Business Logic
Purpose
Identify flaws in application workflow enforcement, business rule validation, and state machine integrity that cannot be found by taint analysis or pattern matching. These vulnerabilities require understanding intended behavior and finding deviations.
Prerequisites
Authorization Requirements
- Written authorization with explicit scope for business logic testing
- Test accounts at multiple privilege levels (user, admin, premium, etc.)
- Test payment methods or sandbox payment environment for financial testing
- Rollback plan for any data-mutating tests (order creation, account changes)
Environment Setup
- Burp Suite Professional with Repeater/Intruder configured
- Playwright or Selenium for multi-step browser automation
- Proxy configured to capture all application traffic
- Test data seeded for workflow testing (products, coupons, user accounts)
Core Workflow
- Workflow Mapping: Extract multi-step flows (checkout, registration, approval chains, onboarding) from recon deliverables and source code. Document expected state transitions and business constraints.
- Rule Extraction: Identify server-side business constraints — price validation, quantity limits, role-gated actions, time-based restrictions, coupon rules, referral limits.
- Step Circumvention: Skip, replay, reorder steps in multi-step workflows. Access final-step endpoints directly without completing prerequisites (WSTG-BUSL-06).
- Data Integrity Abuse: Submit negative quantities, zero-price items, boundary values, type confusion in business fields. Test forged request parameters (WSTG-BUSL-02/03).
- Function Limit Bypass: Test coupon reuse, referral loops, vote stuffing, resource exhaustion through legitimate endpoints (WSTG-BUSL-05).
- File Upload Logic: Upload unexpected file types, oversized files, polyglot files, content-type mismatch, path traversal in filenames (WSTG-BUSL-08/09).
- Payment Testing: Price manipulation at each checkout stage, currency confusion, discount stacking, partial payment abuse (WSTG-BUSL-10).
WSTG Coverage
| WSTG ID | Test Name | Status |
| WSTG-BUSL-01 | Test Business Logic Data Validation | ✅ |
| WSTG-BUSL-02 | Test Ability to Forge Requests | ✅ |
| WSTG-BUSL-03 | Test Integrity Checks | ✅ |
| WSTG-BUSL-04 | Test for Process Timing | ✅ |
| WSTG-BUSL-05 | Test Number of Times a Function Can Be Used Limits | ✅ |
| WSTG-BUSL-06 | Testing for the Circumvention of Work Flows | ✅ |
| WSTG-BUSL-07 | Test Defenses Against Application Misuse | ✅ |
| WSTG-BUSL-08 | Test Upload of Unexpected File Types | ✅ |
| WSTG-BUSL-09 | Test Upload of Malicious Files | ✅ |
| WSTG-BUSL-10 | Test Payment Functionality | ✅ |
Tool Categories
| Category | Tools | Purpose |
| Request Manipulation | Burp Repeater, Burp Intruder, mitmproxy | Modify request parameters, replay/reorder steps |
| Browser Automation | Playwright, Selenium | Multi-step workflow testing, UI interaction |
| Scripting | Python requests, aiohttp | Custom workflow abuse scripts, parallel requests |
| File Upload | custom polyglot generators, ExifTool | File type confusion, metadata injection |
| Payment Testing | Stripe test mode, PayPal sandbox | Safe payment manipulation testing |
References
references/tools.md- Tool function signatures and parametersreferences/workflows.md- Attack pattern definitions and test vectors
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

