Skip to content
Skillpedia
Security5.4k Β· #14897

hunt-business-logic

What it does

This skill checks business logic in shopping, payment and verification flows, based on patterns from public bug reports. It is for authorized testing of e-commerce and subscription features.

When to use it

  • βœ“When a checkout, coupon or subscription feature is in scope for a security test.
  • βœ“When an app trusts prices or amounts sent from the browser.
  • βœ“When a verification or identity check might be bypassed through unusual steps.

Skill link

https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-business-logic/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-business-logic/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCan you check whether our checkout accepts a negative quantity or stacks the same coupon twice in our authorized test?”

5 new skills a week. 1 minute to read.

How it works

The agent changes the steps and values in a normal flow, such as the order of actions or amounts, and checks whether the app accepts the result. It reports confirmed issues.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Crown Jewel Targets

Business logic vulnerabilities pay highest in platforms where financial transactions, identity verification, and access controls intersect with real-world consequences. The richest targets are:

  • E-commerce & payment platforms (Valve/Steam, Shopify) β€” payment flow manipulation, free goods, price tampering
  • Marketplace & gig economy apps (Airbnb, Uber) β€” identity/verification bypass enabling fraud or unsafe interactions
  • SaaS with tiered access (Mozilla Monitor) β€” bypassing verification to unlock monitoring features without entitlement
  • High-traffic consumer apps (Snapchat, Yelp) β€” rate-limit bypass enabling spam, enumeration, or abuse at scale

Asset types that pay: checkout flows, subscription endpoints, callback/verification systems, webhook handlers, employee/internal portals exposed to the internet, and any endpoint that trusts client-supplied data to make authorization decisions.


Attack Surface Signals

URL patterns to watch:

  • /checkout, /order, /subscribe, /payment, /verify, /confirm, /callback
  • /internal, /employee, /summit, /staff, /admin β€” internal pages accidentally public
  • /api/v*/payment, /api/v*/notify, /webhook β€” payment provider callbacks
  • Endpoints accepting X-Forwarded-For, X-Real-IP, CF-Connecting-IP headers

Response/header signals:

  • Set-Cookie with unvalidated session state tied to cart or order data
  • Payment provider names in responses: Smart2Pay, Stripe, PayPal, Braintree
  • Redirect chains through third-party payment pages (in-flight data opportunity)
  • 200 OK on subscription/verification endpoints with no CAPTCHA or token

JS patterns:

  • Hardcoded internal URLs in frontend bundles (/employee/, /staff/, /internal/)
  • Client-side price calculation before server submission
  • Verification logic that only checks on the frontend (if (verified) { ... })
  • fetch('/api/subscribe', { method: 'POST', body: ... }) with no anti-CSRF token or rate-limit token

Tech stack signals:

  • Shopify storefronts with draft/unpublished channel pages
  • Apps using IP-based rate limiting without session/account binding
  • Payment webhooks with no HMAC signature validation
  • SMS/phone callback flows that don't verify ownership before enabling features

Step-by-Step Hunting Methodology

  1. Map all authentication boundaries. Spider the target. Identify pages/endpoints that serve authenticated content (employee portals, premium features, order pages) and test each unauthenticated. Look for internal pages indexed in JS bundles or linked from robots.txt/sitemap.xml.

  2. Identify every verification flow. Enumerate: email verification, phone/SMS verification, payment verification, CAPTCHA, age gates. For each, test: what happens if you skip the verification step entirely? What happens if you replay a valid token on a different account?

  3. Test rate-limiting controls on every form. For every POST endpoint (subscribe, login, OTP, search), send 50+ rapid requests. Vary: remove cookies, rotate X-Forwarded-For / X-Real-IP headers, change User-Agent. Check if the server uses IP from headers rather than connection IP.

  4. Intercept and tamper with payment flows. Use Burp Suite to intercept every request between your browser, the application, and the payment provider. Identify where price, currency, order ID, or status fields are set. Attempt to modify amounts to $0.01 or currency to a low-value currency. Look for POST-back/webhook endpoints that accept payment confirmation β€” test if they validate HMAC/signature.

  5. Test phone/callback number verification. Whenever a platform accepts a callback number, test: can you set it to a number you don't own? Does the platform call/text that number and grant trust based solely on submission? Try setting it to a victim's number.

  6. Check for unprotected employee/internal surfaces. Search Shodan, GitHub, JS bundles, and Wayback Machine for internal subdomain/path references. Test access without authentication. Check if these surfaces allow order placement, data access, or privilege escalation.

  7. Validate business impact. For each finding, determine: does this result in financial loss, unauthorized access, or data exposure? Document the end-to-end chain.


Payload & Detection Patterns

Rate limit bypass via header rotation:

# Rotate X-Forwarded-For to bypass IP rate limiting
for i in $(seq 1 100); do
  curl
FAQ

What is a coupon race condition?

It is when the same coupon is used many times at once before the system updates its status.

Does it cover client-side price trust?

Yes. The skill covers cases where checkout amounts are trusted from the browser side.

Is it only for shopping sites?

No. It also covers marketplaces, SaaS tiers and internal portals that rely on client input.

Details

Original description by the author

Hunting skill for business logic vulnerabilities. Built from 12 public bug bounty reports. Covers coupon-race-stacking (Instacart, Stripe, Reverb), negative-quantity-in-cart price tampering (Upserve, Eternal/Zomato), decimal/fraction price-field overflow (Shipt), client-side checkout amount trust on PayPal redirect (WordPress.org), price-per-unit mass-assignment (Krisp), and archived-price swap / cart-TOCTOU (Stripe). Use when hunting business logic β€” heavy emphasis on financial-impact-demonstrated cases.

repo: elementalsouls/Claude-BugHunter

Popularity

GitHub stars
5.4k
Ranking position
#14897
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills