Binance P2P's Invisible Guardians: Using Computer Vision to Detect Fraud

14 Feb 2024

Problem

In Binance's peer-to-peer (P2P) marketplace, a buyer sends a proof of payment (POP), a screenshot or photo of the bank transfer, and the seller releases the crypto after seeing it. Scammers edit a real receipt in ordinary image editors, changing the amount, date, transaction ID or names, or send the same receipt in many trades. More than 250,000 images a day (not only POPs) pass through its platforms, in many formats and designs.

Example from the article: a demo Banco Pichincha transfer receipt in which the ID (12345678), amount ($9999), date (01 jan.2024) and both names were edited.

Solution in brief

Every image sent in a trade is scanned in real time by three checks. OCR reads text and its position and compares key fields with known records. Error-Level Analysis (ELA) finds regions compressed differently from the rest, which signals editing. An image encoder turns each image into a vector, and a nearest-neighbor search finds reused receipts.

Questions this case answers
  • How to detect tampered or reused image evidence submitted by counterparties in a two-sided marketplace when every image has a different format and design
  • How to find near-duplicate images among millions of stored images within seconds
  • How to detect a doctored proof-of-payment screenshot in a peer-to-peer marketplace?
  • How to catch scammers who reuse the same payment receipt across many trades?

Tools and methods

  • OCR — reads text and its coordinates from the receipt; checks date, transaction ID, amount and names against records
  • Error-Level Analysis (ELA) — highlights regions with a different compression level, which suggests local edits
  • Image encoder with vector search — embeds images and finds identical or lightly modified receipts by nearest-neighbor search
  • Metadata and trading-pattern cross-checks — add context to the image-level signals
Continue reading — it's free

Google or a one-time email code. No password.