stuxctf/PAYGoat
Über uns
PAYGoat is a banking application built for educational purposes, focused on exploring and understanding common business logic flaws in financial platforms.
Lernen und BildungGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Original🐐 PAYGoat
📜 Introduction
PAYGoat is a deliberately flawed banking application built for educational and research purposes.
It allows developers, ethical hackers, and security researchers to explore and understand real-world business logic vulnerabilities in a safe, simulated financial environment.
🚀 Project Overview
PAYGoat focuses on vulnerabilities often overlooked by traditional scanners and static analysis tools — particularly business logic flaws such as:
- Improper balance handling
- Authorization bypasses
- Broken object-level access control (BOLAC)
- Negative balance manipulation
- Race conditions
- Tampering with exchange rates and account identifiers
The application includes typical banking features such as:
- User registration & login (JWT-based)
- Account balance management (USD & EUR)
- Fund transfers between users
- Profile updates
- Credit card data handling
- Multi-stage lessons for vulnerability learning
📚 Educational Use
PAYGoat is designed for:
- 🔍 Security researchers exploring logic flaws
- 🧑🏫 Instructors teaching real-world scenarios
- 🧪 Pentesters sharpening business logic exploitation
- 🧑💻 Developers learning secure backend design
📁 Example Scenarios
All practical examples are located in the lessons/ directory.
Each lesson includes:
- Description and impact
- OWASP/CWE mappings
- Reproduction steps
- Burp Suite automation tips
⚠️ Disclaimer
PAYGoat is for educational purposes only.
It should not be deployed in production or exposed to the internet.
Use this project responsibly and only in controlled environments (e.g., local machines, isolated labs, or CTFs).
🔧 Requirements
- Node.js / Express (Backend)
- Burp Suite / HTTP Proxy (for interacting with logic flaws)
✒️ How It Works
The application is divided into two main parts:
- Backend: runs on port 3000
- Frontend: runs on port 8000
This allows for:
- Performing security testing directly on the API using tools like Postman with Burp Suite.
- Using the interactive Swagger documentation to explore and test the available endpoints (/api-docs).
- Creating a mobile application that consumes these services, enabling security testing in mobile environments as well (this could be implemented later).
🛠️ Installation
⚠️ PAYGoat is intended for local use only. Do not expose it to the public internet.
With Docker
Install Docker
Follow the official instructions to install Docker on your system: https://docs.docker.com/engine/install/
Run the application
git clone https://github.com/stuxctf/PAYGoat cd PAYGoat docker-compose up --buildThe frontend will be available at http://localhost:8000 and the backend at http://localhost:3000.
Manual Installation
Clone the repository:
git clone https://github.com/stuxctf/PAYGoat cd PAYGoatRun in windows
.\runner.batRun in Linux
chmod +x ./runner.sh ./runner.sh
🧠 Next Steps
For now, the focus is on a personal banking system. There are plans to add a business banking module with different user roles, which will allow simulating and exploiting more complex vulnerabilities related to permission management and business logic.
📜 License
MIT License — feel free to use, fork, and improve.
Contributions welcome!
📫 Contact
If you have any questions, issues, or suggestions, feel free to write in our Telegram group, you're welcome to join!
🙌 Author
Made with 💙 by security enthusiasts, for security enthusiasts.
Ähnliche Projekte entdecken
Wird geladen…