跳到正文
Skillpedia
安全48k · #4859

hunt-business-logic

它能做什么

这个工具可以帮助查找在线系统中的安全漏洞,尤其是它们在处理业务规则方面的问题。它会寻找绕过支付或身份核验等流程的方法,以获得未授权的访问权限或实施欺诈。

适用场景

  • ✓在测试网上商城和支付系统的安全性时。
  • ✓检查配送、租赁等服务类应用是否能很好地保护用户身份时。
  • ✓分析控制重要资源或信息访问权限的系统时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-business-logic/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-business-logic/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我在 example.com 这个电商网站上查找业务逻辑漏洞。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会检查 URL 模式、响应和代码中的弱点信号。它会测试系统如何应对不同类型的请求,尤其是在支付和身份验证等关键流程中。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.

Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:

  1. Ask the user to state the exact target URL, IP, account, or resource.
  2. Ask the user to confirm written authorization and the permitted scope.
  3. Show the exact command(s) and explain their expected effect.
  4. Wait for explicit confirmation in the current conversation.

Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.

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.

…

常见问题

使用这个工具需要许可吗?

需要。使用之前,你必须获得系统所有者明确的书面许可。未经授权使用属于违法行为。

哪些类型的系统常成为目标?

电商系统、支付平台、服务类应用(例如 Airbnb、Uber),以及带有不同访问等级的软件即服务(SaaS),都是常见目标,因为它们可能带来经济损失或身份盗用等欺诈风险。

它会查找哪些类型的漏洞?

它会查找那些允许篡改价格、免费获取商品或服务、绕过身份验证,或未经授权访问受限功能的漏洞。

详情

作者的原始描述

Hunting skill for business logic vulnerabilities.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4859
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能