hunt-fintech-graphql
它能做什么
这个工具用来查找使用 GraphQL 技术的金融科技(fintech)系统中的安全漏洞。它会寻找能够利用的错误,这些错误可能导致未经授权的资金转移或敏感数据泄露。
适用场景
- ✓测试金融应用的安全性时。
- ✓检查交易是否可能被重复或被不当修改时。
- ✓验证敏感个人信息是否得到了正确保护时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-fintech-graphql/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“扫描一个使用 GraphQL 的金融支付系统,查找漏洞。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会分析金融系统对特定命令的响应。它检查是否可以发送操纵数值、重复交易或访问本不该可见的数据的命令,从而利用系统在处理信息时的缺陷。
技术内容(原始 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.
Why Fintech GraphQL Is a Different Risk Class
Generic GraphQL bugs (IDOR, mass assignment, introspection, batching abuse — see hunt-graphql)
still apply here, but the blast radius changes completely: a resolver bug in a SaaS app leaks
data, the same class of bug in a ledger mutation moves money. Three properties make fintech
GraphQL backends a distinct hunting surface:
- Money-movement mutations are almost always resolvers over a double-entry ledger. A single
GraphQL mutation (
transferFunds,redeemRewards,withdrawToBank) can trigger multiple ledger writes (debit + credit + fee) that must be atomic. GraphQL's flexible input shape and alias batching make it easy to desynchronize those writes. - Decimals are attacker-controlled input, not display formatting. Amounts, exchange rates,
interest, and rewards points are usually passed as GraphQL scalars (
Float,String, customDecimal/Moneyscalar). How the resolver parses and rounds that value is exploitable surface in its own right — this barely exists in non-financial GraphQL APIs. - KYC/PII fields sit next to routine account fields in the same type.
UserorAccounttypes commonly exposessnLast4,routingNumber,kycStatus,governmentIdUrl, orlinkedBankAccountalongsidedisplayNameandemail— one missing field-level authorization check on a type used everywhere in the schema fans out to every query that touches it.
Attack Surface Signals
URL / schema naming patterns (in addition to hunt-graphql's generic /graphql list):
/graphql/ledger
/graphql/payments
/api/wallet/graphql
/internal/ledger-graphql
/banking/graphql
Field/type names worth grepping schema introspection or JS bundles for:
balance, availableBalance, pendingBalance, ledgerEntry, ledgerEntries
transferFunds, withdraw, redeem, topUp, reverseTransaction, adjustBalance
kycStatus, ssnLast4, routingNumber, accountNumber, governmentIdUrl
quoteExchangeRate, interestAccrued, rewardsPoints, portfolioValue
idempotencyKey, clientMutationId
Tech-stack tells specific to this vertical:
- Plaid/Stripe/Dwolla/Marqeta wrapped behind an internal GraphQL gateway (
bankLink,plaidLinkTokenmutations) - Apollo Federation with a dedicated
ledgerorpaymentssubgraph — check for the subgraph's own introspection being reachable directly, bypassing the gateway's stitched-down schema - Custom
Money/Decimal/BigDecimalGraphQL scalar in the schema (scalar Money) — the parser for this scalar is worth fuzzing directly
Run hunt-graphql's discovery + introspection methodology first to get the schema; everything
below assumes you already have (or have partially enumerated) a schema with money-movement types.
Step-by-Step Hunting Methodology
Map every mutation that touches balance, whether directly or as a side effect. Not just
transfer*/withdraw*— alsoredeemRewards,applyCoupon,upgradeTier,closeAccount(often refunds a balance),disputeTransaction(often provisionally credits).For each money-movement mutation, identify the ledger write shape. Does one mutation call produce one ledger entry or several (debit sender, credit receiver, fee entry)? Multi-entry writes are the ones worth racing — see Stage 4.
Test idempotency-key handling. Send the identical mutation (same
idempotencyKey/clientMutationId) twice, back-to-back and with a delay. A ledger write on the second call means idempotency isn't enforced server-side — replay = double-execute.
…
常见问题
什么是 GraphQL?
GraphQL 是应用程序(例如网站或 App)向服务器请求并接收数据的一种方式。它比早期的方法更灵活,但也可能存在自身特有的安全漏洞。
什么是“漏洞”?
漏洞就像系统中的“未上锁的门”或“薄弱点”,攻击者可以利用它们去做本不该做的事,比如窃取信息或资金。
为什么这对金融科技很重要?
金融科技直接涉及资金和个人数据。这些系统中的安全漏洞可能造成严重的经济损失,并影响用户隐私。
详情
热度
- GitHub 星标
- 48k
- 排名
- #4872
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。