offensive_business_logic
Offensive security skill for offensive business logic
Skill by Akapi895
Chalk Labs
Need help deploying offensive_business_logic?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/akapi895-offensive-business-logic
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/offensive-business-logic
What's inside
- Skill name
offensive_business_logic- Description
- Offensive security skill for offensive business logic
- License
- Apache-2.0
- Instructions
- 400 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "offensive_business_logic" does not match folder "offensive-business-logic"
Files (1)
- SKILL.md
SKILL.md (first lines)
---
name: offensive-business-logic
description: "Business logic vulnerability testing for web/mobile/API engagements. Covers workflow bypass, state machine violations, multi-step process abuse, price/quantity/discount manipulation, currency confusion, coupon stacking, refund/chargeback abuse, race conditions on logic boundaries, parameter tampering for hidden flows, role/tenant boundary violations, time-of-check vs use, anti-automation defeat, fraud-detection evasion, and subscription/quota abuse. Use when scoping an application after surface-level OWASP Top 10 has been covered, or when the asset is a transactional/marketplace/fintech/e-commerce/SaaS app where logic flaws produce direct financial impact."
---
# Business Logic — Offensive Testing Methodology
Business logic flaws are the highest-paying class of vulnerability for bug bounty and the hardest for scanners to detect. They live in the gap between what the developer specified and what an attacker can convince the system to accept.
## Quick Workflow
1. Map every multi-step flow as a state machine (states + allowed transitions + side effects)
2. For each transition, ask: who can call it, in what state, with what inputs, how many times
3. Probe each axis (state, identity, input, frequency) for assumptions
4. Combine flaws — single-axis flaws are usually low severity; chains are critical
5. Quantify financial impact per finding (loss-per-attack × scale)
---
## Reconnaissance — Mapping the Logic
### Build the State Machine
For each user flow, draw:
- **States**: cart, pending payment, paid, shipped, refunded, cancelled
- **Transitions**: which API/UI action, which role, which preconditions
- **Side effects**: balance change, inventory change, email, webhook
Look for transitions that:
- Skip intermediate states (`cart` → `shipped` without `paid`)
- Are reversible when they shouldn't be (`shipped` → `cart`)
- Trigger side effects more than once
- Allow cross-role invocation
### Hidden / Internal Endpoints
```bash
# Compare authenticated and unauthenticated JS bundles for buried admin routes
diff <(curl https://app/main.js) <(curl -H "Cookie: ..." https://app/main.js)
# Look for flag/feature toggles that change UI but not server-side enforcement
grep -E '(isAdmin|isInternal|featureFlag|debug)' bundle.js
# API spec (OpenAPI/Swagger) often lists endpoints the UI never calls
curl https://app/api/openapi.json | jq '.paths | keys'
```
---
## Workflow / State-Machine Bypass
### Skip a Required Step
```http
# Normal flow: /verify-email → /set-password → /enable-2fa → /dashboard
# Try jumping directly:
GET /dashboard
GET /api/account/details
POST /api/payout-settings
```
```http
# Checkout flow: /cart → /address → /shipping → /payment → /confirm
# Skip /payment by replaying /confirm with a previous order's payment-token reference:
POST /api/order/confirm
{ "cartId": "current", "paymentRef": "<old-paid-order-payment-ref>" }
```
### Replay a One-Time Action
```http
# Refund endpoint without idempotency
POST /api/orders/123/refund # First call: $50 refunded, order marked refunded
POST /api/orders/123/refund # Second call: server checks "is order refunded?" — race the check (see TOCTOU)
```
### State Downgrade
Move a finalized object back to an editable state where mutations have effect:
```http
PUT /api/order/123
{ "status": "draft" } # If accepted, you can now edit the price field
PUT /api/order/123
{ "items": [{ "id": "tv", "price": 1 }] }
```
### Direct Endpoint Invocation
Many admin/backend transitions are reachable from any authenticated user if route-level RBAC is missing while the UI hides them.
```bash
# Enumerate verbs on every discovered path
for path in $(cat paths.txt); do
for v in GET POST PUT PATCH DELETE OPTIONS; do
code=$(curl -s -o /dev/null -w "%{http_code}" -X $v -H "Authorization: Bearer $T" https://app$path)
echo "$v $path $code"
done
done | grep -v -E ' (401|403|404) '
```
---
## Price / Quantity / Currency Manipulation
### Negative / Zero / Float Quantities
```http
POST /api/cart/add
{ "sku": "tv", "qty": -1 } # Refund issued for adding negative items?
{ "sku": "tv", "qty": 0.0001 } # Float rounding: $0 line item, full product shipped?
{ "sku": "tv", "qty": 9e99 } # Overflow → wraps to small number, $0 cost?
```
### Hidden Price Fields
```http
POST /api/checkout
{ "items": [{"sku":"tv","qty":1,"price":1}], "total": 1, "tax": 0, "shipping": 0 }From Akapi895/RedForge, Apache-2.0.
More from Akapi895/RedForge
- 0.526score
cyberstrike-eino-demo
Akapi895
Full-featured example skill package: SKILL.md + optional scripts/, references/, assets/, and other directories; validates Eino skills and HTTP…
SkillBFreshness: BClaude Code +9 - 0.524score
attack-surface-recon
Akapi895
Reconnaissance/attack-surface mapping: passive whois/amass/crt.sh/FOFA/Shodan, active subfinder/httpx/naabu/katana/nuclei, DNS geography/CDN/Nginx…
SkillBFreshness: BClaude Code +9 - 0.524score
binary-mobile-reversing
Akapi895
APK/EXE/binary: UniApp/DCloud/Flutter reverse engineering, certificate-pinning bypass, exported components, memory-corruption exploit chains, and IoT firmware.
SkillBFreshness: BClaude Code +9 - 0.524score
capability-primitive-search
Akapi895
Capability primitives + state-space search: combine primitives such as read/write/exec/ssrf into RCE equations A-F, map low-severity findings, search forward…
SkillBFreshness: BClaude Code +9 - 0.524score
cloud-attack-methods
Akapi895
Cloud attacks: metadata APIs, S3/K8s, AWS/Azure/GCP identity privilege escalation, MinIO attack matrix, Aliyun FC, and ChengZi SDK decryption.
SkillBFreshness: BClaude Code +9 - 0.524score
component-vuln-intel
Akapi895
Internet intelligence collection: after identifying a component, always perform CVE/search-engine/Chinese-community/GitHub…
SkillBFreshness: BClaude Code +9 - 0.519score
initial-access-phishing
Akapi895
Initial access/phishing/social engineering: password spraying, AiTM, device codes, OAuth-consent phishing, payloads, and vishing.
SkillBFreshness: BClaude Code +9 - 0.519score
blockchain-contract-attack
Akapi895
Blockchain/smart contracts: Etherscan, slither/mythril, reentrancy, access control, oracles, flash loans, cross-chain bridges, and exposed RPC endpoints.
SkillBFreshness: BClaude Code +9 - 0.519score
ai-llm-app-attack
Akapi895
AI/LLM application attacks: prompt injection, Agent tool abuse leading to RCE, RAG poisoning, MCP supply chain, and torch.load pickle RCE.
SkillBFreshness: BClaude Code +9 - 0.519score
active-directory-attack
Akapi895
Internal-domain attacks: BloodHound, Kerberoast, ADCS ESC1/ESC8, NTLM Relay, coercion, DACL, DCSync, Zerologon/NoPac/PrintNightmare, mitm6, LLMNR, and Linux…
SkillBFreshness: BClaude Code +9 - 0.507score
offensive_active_directory
Akapi895
Offensive security skill for offensive active directory
SkillBFreshness: BClaude Code +9 - 0.503score
offensive_anti_forensics
Akapi895
Offensive security skill for offensive anti forensics
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 21, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/Akapi895/RedForge
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Akapi895
- 0.526score
cyberstrike-eino-demo
Akapi895
Full-featured example skill package: SKILL.md + optional scripts/, references/, assets/, and other directories; validates Eino skills and HTTP…
SkillBFreshness: BClaude Code +9 - 0.524score
cloud-attack-methods
Akapi895
Cloud attacks: metadata APIs, S3/K8s, AWS/Azure/GCP identity privilege escalation, MinIO attack matrix, Aliyun FC, and ChengZi SDK decryption.
SkillBFreshness: BClaude Code +9 - 0.524score
capability-primitive-search
Akapi895
Capability primitives + state-space search: combine primitives such as read/write/exec/ssrf into RCE equations A-F, map low-severity findings, search forward…
SkillBFreshness: BClaude Code +9 - 0.524score
binary-mobile-reversing
Akapi895
APK/EXE/binary: UniApp/DCloud/Flutter reverse engineering, certificate-pinning bypass, exported components, memory-corruption exploit chains, and IoT firmware.
SkillBFreshness: BClaude Code +9 - 0.524score
attack-surface-recon
Akapi895
Reconnaissance/attack-surface mapping: passive whois/amass/crt.sh/FOFA/Shodan, active subfinder/httpx/naabu/katana/nuclei, DNS geography/CDN/Nginx…
SkillBFreshness: BClaude Code +9 - 0.524score
component-vuln-intel
Akapi895
Internet intelligence collection: after identifying a component, always perform CVE/search-engine/Chinese-community/GitHub…
SkillBFreshness: BClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get offensive_business_logic running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
offensive_business_logic skill. Agent Mart. https://agentmart.dev/skills/akapi895-offensive-business-logic (last updated 2026-10-24)