payment-security

A security-testing guide for online payment flows, including carts, checkout, payment gateways, and refunds. It focuses on finding logic flaws that could let someone pay too little, access another customer’s payment data, or abuse refunds.

In plain words
What is it for?
Authorized testing of e-commerce payment systems, including mapping checkout flows, checking price and cart changes, testing access controls, examining gateway behavior, and reviewing refund handling.
Why use it?
Payment mistakes can cause direct financial loss and expose sensitive customer or business data. The guide provides an ordered way to check less obvious cases such as race conditions, tampered prices, and bypassed gateway steps.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/ogrodev/fsociety/payment-security
Any agent
npx skills add ogrodev/fsociety --skill payment-security
Clone the repo
git clone --depth 1 https://github.com/ogrodev/fsociety

Made for: Claude Code, Codex.

Per session 308 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,284 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00308 $0.03284
Opus 5 $0.00154 $0.01642
Sonnet 5 $0.00062 $0.00657
Haiku 4.5 $0.00031 $0.00328

Measured 2d ago against content hash 94e520ebda43, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

payment-security scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

elliot/skills/payment-security/SKILL.md · 289 lines

How it starts

The opening of the file, as written. The whole thing — 289 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Payment Security Testing

Payment systems are the highest-impact attack surface in any e-commerce application. A single vulnerability translates directly to financial loss, regulatory exposure, and reputational damage. Payment findings are almost always HIGH or CRITICAL severity -- a confirmed price manipulation or payment bypass is an automatic CRITICAL.

This skill covers the full offensive lifecycle against payment systems: flow mapping, price manipulation, race conditions, IDOR exploitation, gateway bypass, cart tampering, and refund abuse.

Triage Workflow

Follow this sequence. Each phase builds on the previous one. Skip nothing -- payment logic bugs hide in edge cases.

Phase 1 -- Payment Flow Mapping

Before attacking, map the entire payment lifecycle. Every request from cart to confirmation is in scope.

Map these flows:

  1. Add to cart -- item selection, quantity, variant, pricing source
  2. Cart management -- update quantity, remove items, apply coupons/discounts
  3. Checkout initiation -- address entry, shipping method selection, tax calculation
  4. Payment method selection -- card entry, saved card, wallet, gateway redirect
  5. Payment processing -- tokenization, charge creation, 3DS challenge
  6. Payment confirmation -- callback/webhook, order status update, fulfillment trigger
  7. Post-payment -- refund flow, cancellation, subscription management

Capture with HTTP Repeater:

Load: ToolSearch -> select:mcp__hexstrike-ai__http_repeater

Intercept the full checkout flow from cart to confirmation.
For each request, note:
- Which parameters control price, quantity, item identity
- Which parameters reference user identity (user_id, session, account)
- Where the server trusts client-supplied values vs. server-side lookup
- Where the flow can be short-circuited (skip steps, replay confirmations)

Key questions to answer during mapping:

  • Does the server recalculate totals, or trust the client-submitted amount?
  • Are item prices embedded in the request, or looked up by product ID?
  • Is the payment amount derived from the cart at checkout time, or passed as a parameter?
  • Does the webhook/callback validate the payment amount matches the order total?
  • Can checkout steps be reordered or skipped?

Read the full file on GitHub · 289 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 289 lines · 308 tokens per session scan A 94e520ebda43

Subscribe to this mod's changes

payment-security is a skill published in the GitHub repository ogrodev/fsociety (20 stars, last pushed 5mo ago), licensed MIT. It adds 308 tokens to every session and 3,284 once invoked, about $0.0015 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

api-22-business-logic

Business logic vulnerability testing for web/mobile/API engagements. Covers workflow bypass, state machine violations, multi-step process abuse, price/quantity/discount manipulation, currency confusion, coupon stacking, refund/chargeback abuse, race conditions on logic boundaries, parameter tampering for hidden flows…

vigilantshield/Claude-HunterKit · 136 tokens

race-conditions

Use when testing for race conditions, single-packet attacks, TOCTOU vulnerabilities, limit-bypass via concurrent requests, coupon/voucher reuse, double-spend, rate limit bypass, or parallel request timing attacks. Also use when the user says "race condition", "single packet attack", "concurrent requests", "double…

kalpmodi/akira · 81 tokens

pwnote-engagement-file

Create or validate a pwnote engagement import/export JSON file. Use when the user wants to generate, edit, or verify a pwnote engagement file for data transfer between pwnote instances. The file bundles an entire pentest engagement — metadata, notebook documents, code/host/credential blocks, findings with…

Pwnote/skills · 113 tokens

pwnote-cve-research

Use whenever the user is doing vulnerability research aimed at a CVE/advisory — tracking a responsible disclosure timeline, drafting a vendor notification, requesting a CVE ID from MITRE or a CNA, writing a public security advisory, or mapping a finding to a CWE. Trigger on "CVE", "CNA", "MITRE", "advisory"…

Pwnote/skills · 107 tokens

pwnote-offsec-osai

Use whenever the user is working on Offsec's OSAI / AI Red Teaming certification track, or on AI/LLM/agentic security engagements generally — prompt injection findings, tool-use abuse, agent trajectory documentation, or writing up AI-specific security findings that don't map cleanly to traditional CVSS. Trigger on…

Pwnote/skills · 108 tokens

pwnote-offsec-web300

Use whenever the user is working on Offsec's WEB-300 course/OSWE — whitebox source code review methodology, exploit chain documentation, PoC scripting, or OSWE exam report writing. Trigger on "OSWE", "WEB-300", "whitebox", "source code review" in a pentest context, or "exploit chain", even without the word "skill".

Pwnote/skills · 87 tokens