This repository contains tutorials showing how to use Fingerprint to solve common fraud prevention and account security problems.
Each tutorial is a self-contained demo application with:
- A starter branch with the initial project setup
- A final branch with the completed Fingerprint implementation
Current tutorials:
- Account sharing prevention – Prevent account sharing across multiple devices.
- Ban evasion prevention – Prevent banned users from evading enforcement and returning under new accounts.
- Card testing prevention – Stop card testing and card cracking attacks using device intelligence.
- Chargeback dispute support – Link purchases to devices to help investigate and dispute chargebacks.
- Coupon abuse prevention – Enforce appropriate coupon usage per visitor.
- Credential stuffing prevention – Prevent credential stuffing attacks and protect against account takeover.
- Loan application fraud prevention – Collect high-quality, low-risk loan applications and prevent loan application fraud.
- New account fraud prevention – Stop multi-accounting, free trial abuse, and other new account fraud.
- Paywall enforcement – Enforce paywalls even when users clear cookies or change IP addresses.
- Regional pricing enforcement – Enforce region-based pricing and stop VPN-based pricing abuse.
- SMS pumping prevention – Prevent automated SMS pumping abuse and reduce messaging costs.
- Survey fraud prevention – Stop duplicate and fraudulent survey submissions.
- Web scraping prevention – Protect your proprietary content from being scraped by bots.
- Clone this repo and within the use case folder of interest, run:
npm install-
Copy or rename
.env.exampleto.envand add your Fingerprint secret API key. -
Start the server:
npm run dev- Visit http://localhost:3000 in your browser to view the demo application.
To reset the demo database for a given use case:
- Click Reset demo DB at the bottom of the demo app page, or
- Run this from the terminal:
npm run reset-db