Skip to content

FastPay is a payment gateway simulation app with built-in vulnerabilities, designed to help you explore and learn about security flaws in payment systems.

Notifications You must be signed in to change notification settings

tauh33dkhan/FastPay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastPay

FastPay is a deliberately vulnerable payment gateway integration simulation app. It mimics a real-world checkout system using Stripe for payment processing — with intentional flaws for you to discover and exploit.

🎯 Purpose

Inspired by vulnerabilities identified in real-world applications, FastPay provides a controlled environment to help you discover, analyze, and exploit security flaws commonly found in actual payment gateway integrations.

It features realistic user flows such as adding balance to a wallet, purchasing clothes, booking movie tickets (with tickets delivered via email), and ordering food online.


Screenshots

Checkout Orders
Orders Checkout
Confirmation Email Dashboard

📦 Prerequisites

1. Stripe API Keys

Create a free Stripe account and grab your test API keys here:
👉 https://dashboard.stripe.com/test/apikeys

Then, add the following to your .env file:

STRIPE_SECRET_KEY=sk_test_**************
STRIPE_PUBLISHABLE_KEY=pk_test_**************

Stripe Keys


2. Configure SMTP for Email Delivery

This app is preconfigured to use a free test SMTP service:
👉 https://www.wpoven.com/tools/free-smtp-server-for-testing

No signup needed — just use any email ID when registering.

SMTP Test Service


3. Add fastpay.com to your Hosts File (for domain simulation)

echo '127.0.0.1 fastpay.com' | sudo tee -a /etc/hosts

Then access the app at: http://fastpay.com


4. Use Stripe Test Card (India Specific)

Card Number: 4000 0035 6000 0008
Expiry Date: Any future date
CVV: Any 3-digit number

More test cards 👉 https://docs.stripe.com/testing?testing-method=card-numbers#India


🚀 Getting Started

1. Clone the Repository

git clone https://github.com/tauh33dkhan/FastPay.git
cd FastPay

2. Install Dependencies

npm install

3. Setup Stripe Webhook Listener

Stripe sends webhook notifications when payments are completed. You’ll need to listen and forward them to your app:

npm install --save stripe
stripe login
stripe listen --forward-to localhost/webhook

4. Start the Server

node server.js

Now visit: http://fastpay.com


🎯 Pentesting Objectives

Explore the system like a real attacker and discover all issues!


🙋‍♂️ Who is This For?

  • Bug bounty hunters
  • Security engineers
  • CTF creators
  • Payment security researchers
  • Developers

🙏 Credits

Created by @tauh33dkhan
Built with ❤️ for the security community.

About

FastPay is a payment gateway simulation app with built-in vulnerabilities, designed to help you explore and learn about security flaws in payment systems.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published