hunt-fintech-graphql
하는 일
이 스킬은 금융 앱의 GraphQL API를 테스트하며, 자금 이동, 원장 데이터, 민감한 고객 필드에 초점을 둡니다. 핀테크 플랫폼을 허가받아 보안 테스트할 때 사용합니다.
사용하는 경우
- ✓금융 앱의 GraphQL API가 송금, 출금, 보상을 처리할 때.
- ✓다른 사용자의 잔액이나 계정 데이터를 읽을 수 있는지 확인하고 싶을 때.
- ✓반복된 요청으로 돈이 두 번 사용될 수 있다고 의심될 때.
스킬 링크
https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-fintech-graphql/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“허가된 테스트에서 저희 핀테크 앱의 GraphQL 송금 mutation에 이중 지출이나 멱등성 허점이 있는지 확인해 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 돈과 관련된 요청을 검토하고, 반복되거나 바뀐 금액으로 시도해 보며, 사용자마다 계정 필드가 보호되는지 확인합니다. 확인된 문제만 보고합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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.Test decimal/precision edge cases on every amount-accepting argument — see Payload section. Confirm server-side rounding matches client-displayed rounding; a mismatch is directly monetizable.
Probe cross-account IDOR on account/portfolio node IDs, same as
hunt-idor/hunt-graphql, but specifically test whether atransferFunds-style mutation validates that the source account belongs to the authenticated caller — not just that some account with that ID exists. This is the fintech-specific IDOR: authz on the source of a debit is easy to forget when authz on the destination of a credit was correctly implemented (crediting an arbitrary account "looks safe" to a developer; debiting one clearly isn't, so it gets checked — but sometimes only one direction does).Check field-level authorization on KYC/PII fields by querying the shared
User/`Accoun
자주 묻는 질문
일반 GraphQL 테스트와 무엇이 다른가요?
자금을 움직이는 버그는 영향이 더 크므로, 스킬은 원장, 반올림, 멱등성 검사에 집중합니다.
멱등성 키란 무엇인가요?
같은 결제가 두 번 처리되지 않도록 막는 고유 키이며, 스킬은 이것이 제대로 작동하는지 확인합니다.
신원 데이터도 다루나요?
네. 신원 정보와 은행 필드가 알맞은 사용자에게만 제한되는지 확인합니다.
상세 정보
작성자의 원본 설명
Hunt fintech-specific GraphQL vulnerabilities: money-movement mutations (transfers, redemptions, withdrawals, card top-ups), ledger/balance/portfolio query IDOR, decimal-precision and rounding abuse, idempotency-key bypass enabling double-spend, KYC/PII field-level authorization gaps, and admin-override mutations reachable via mass assignment. Distinct from hunt-graphql, which owns generic GraphQL discovery and IDOR/mutation methodology — this skill owns the delta introduced when a GraphQL layer sits in front of a ledger, wallet, payments, banking, brokerage, or lending backend, where a resolv
인기도
- GitHub 스타
- 5.4k
- 순위
- #14908
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
apk-redteam-pipeline
5.4k에이전트가 APK 파일을 찾고 디컴파일하는 것부터 노출된 비밀 값을 확인하는 것까지, Android 앱의 보안 약점을 테스트하도록 돕습니다.
bugcrowd-reporting
5.4k에이전트가 올바른 범주를 고르고 범위 밖 이의에 답하며, Bugcrowd 취약점 보고서를 더 잘 쓰도록 돕습니다.
cloud-iam-deep
5.4k에이전트가 승인된 보안 테스트 중 찾은 클라우드 자격 증명이 AWS, Azure, Google Cloud에서 무엇에 접근할 수 있는지 확인하도록 돕습니다.
enterprise-vpn-attack
5.4k에이전트가 승인된 테스트 중 Cisco, Fortinet, Citrix 등의 VPN과 원격 접속 장비에서 알려진 약점을 확인하도록 돕습니다.