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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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:
- Ask the user to state the exact target URL, IP, account, or resource.
- Ask the user to confirm written authorization and the permitted scope.
- Show the exact command(s) and explain their expected effect.
- 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-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.
…
常见问题
使用这个工具需要许可吗?
需要。使用之前,你必须获得系统所有者明确的书面许可。未经授权使用属于违法行为。
哪些类型的系统常成为目标?
电商系统、支付平台、服务类应用(例如 Airbnb、Uber),以及带有不同访问等级的软件即服务(SaaS),都是常见目标,因为它们可能带来经济损失或身份盗用等欺诈风险。
它会查找哪些类型的漏洞?
它会查找那些允许篡改价格、免费获取商品或服务、绕过身份验证,或未经授权访问受限功能的漏洞。
详情
热度
- GitHub 星标
- 48k
- 排名
- #4859
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。