name: testing-payment-flow-security description: >- Test payment processing for price manipulation, currency abuse, coupon stacking, and replay attacks. domain: cybersecurity subdomain: bug-bounty tags: - payment-security - financial - e-commerce - bug-bounty version: "1.0" author: defconxt license: AGPL-3.0 metadata: mitre-attack: ["T1190"]
Testing Payment Flow Security
Overview
Test payment processing for price manipulation, currency abuse, coupon stacking, and replay attacks.
Prerequisites
| Requirement | Install |
|---|---|
| Burp Suite | Request interception |
| Test payment creds | Stripe test mode |
| Python 3.10+ | For agent tooling |
Key Concepts
Payment testing covers price tampering, currency manipulation, transaction replay, coupon stacking, and race conditions. Focus on client-side trust boundaries.
Quick Reference
node agent.js tamper --url https://target.com/checkout --param price --value 0.01
node agent.js coupon --url https://target.com/apply --codes codes.txt
node agent.js replay --request checkout.txt --count 5
node agent.js currency --url https://target.com/checkout --source USD --dest IRR
Workflow
- Map payment flow
- Intercept requests
- Test price manipulation
- Test coupon stacking
- Test replay
- Test currency edge cases
- Document financial impact
Verification
- Verify price tampering
- Confirm coupon combos
- Validate replay detection
- Check currency edges
- Verify financial quantification
References
- OWASP Testing Guide — https://owasp.org/www-project-web-security-testing-guide/
- MITRE ATT&CK — https://attack.mitre.org/
- NIST SP 800-53 — https://csf.tools/reference/nist-sp-800-53/