hunt-business-logic
Skill này làm gì
Skill này kiểm tra logic nghiệp vụ trong các luồng mua sắm, thanh toán và xác minh, dựa trên các mẫu từ báo cáo lỗi công khai. Nó dành cho kiểm thử được ủy quyền các tính năng thương mại điện tử và đăng ký.
Khi nào nên dùng
- ✓Khi tính năng thanh toán, mã giảm giá hoặc đăng ký nằm trong phạm vi kiểm thử bảo mật.
- ✓Khi một ứng dụng tin tưởng giá hoặc số tiền gửi từ trình duyệt.
- ✓Khi một bước xác minh hoặc kiểm tra danh tính có thể bị vượt qua bằng các bước bất thường.
Liên kết skill
https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-business-logic/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể kiểm tra xem thanh toán của chúng tôi có chấp nhận số lượng âm hoặc xếp chồng cùng một mã giảm giá hai lần trong kiểm thử được ủy quyền không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent thay đổi các bước và giá trị trong một luồng bình thường, như thứ tự hành động hoặc số tiền, rồi kiểm tra xem ứng dụng có chấp nhận kết quả đó không. Nó báo cáo các vấn đề đã xác nhận.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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-IPheaders
Response/header signals:
Set-Cookiewith 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 OKon 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
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.
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?
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-IPheaders, changeUser-Agent. Check if the server uses IP from headers rather than connection IP.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.
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.
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.
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
Câu hỏi thường gặp
Race condition với mã giảm giá là gì?
Đó là khi cùng một mã giảm giá được dùng nhiều lần cùng lúc trước khi hệ thống cập nhật trạng thái của nó.
Nó có bao gồm việc tin tưởng giá phía client không?
Có. Skill bao gồm các trường hợp số tiền thanh toán được tin tưởng từ phía trình duyệt.
Nó chỉ dành cho trang bán hàng à?
Không. Nó cũng bao gồm sàn giao dịch, các gói SaaS và cổng nội bộ phụ thuộc vào dữ liệu do client gửi.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 5.4k
- Vị trí xếp hạng
- #14897
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
apk-redteam-pipeline
5.4kGiúp agent của bạn kiểm thử một ứng dụng Android về các điểm yếu bảo mật, từ việc tìm file APK và giải mã đến kiểm tra bí mật bị lộ.
bugcrowd-reporting
5.4kGiúp agent của bạn viết báo cáo lỗ hổng Bugcrowd tốt hơn, chọn đúng danh mục và trả lời các phản đối về việc nằm ngoài phạm vi.
cloud-iam-deep
5.4kGiúp agent của bạn kiểm tra thông tin xác thực đám mây tìm được có thể truy cập những gì trên AWS, Azure hoặc Google Cloud, trong một kiểm thử bảo mật được ủy quyền.
enterprise-vpn-attack
5.4kGiúp agent của bạn kiểm tra các thiết bị VPN và truy cập từ xa của Cisco, Fortinet, Citrix và các hãng khác về những điểm yếu đã biết, trong một kiểm thử được ủy quyền.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.