explaingit

tristan0318/fraudbench

Analysis updated 2026-05-18

17PythonAudience · researcherComplexity · 4/5Setup · moderate

TLDR

FraudBench is a research benchmark and dataset for testing whether multimodal AI models can detect AI-generated fake product-damage photos used to commit refund fraud, evaluated across 11 models, 4 detectors, and human reviewers.

Mindmap

mindmap
  root((repo))
    What it does
      Fraud evidence benchmark
      Multimodal detection tests
      Human evaluation
    Tech stack
      Python
      Flask
      Vendor APIs
    Use cases
      Reproduce paper results
      Benchmark detectors
      Run ablation studies
    Audience
      AI researchers
      Fraud detection teams

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Reproduce FraudBench's evaluation of 11 multimodal AI models detecting AI-generated fake refund evidence

USE CASE 2

Benchmark a new fraud detection model against FraudBench's dataset of real and AI-faked product photos

USE CASE 3

Run the ablation studies to test prompt sensitivity or mismatched review and image pairs

USE CASE 4

Use the human evaluation web app to collect blind human judgments on real versus fake images

What is it built with?

PythonFlaskPillowPandas

How does it compare?

tristan0318/fraudbench0petru/sentimoalingalingling/akasha-wechat
Stars171717
LanguagePythonPythonPython
Setup difficultymoderatemoderatehard
Complexity4/53/54/5
Audienceresearcherdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Requires API keys for one or more vendor model providers such as DashScope, xAI, Gemini, or OpenAI, no local GPU needed.

In plain English

FraudBench is the official code and data release for an academic research paper about detecting fake photos used to fraudulently claim refunds. The problem it studies is this: someone buys a product online, then uses AI image editing tools to fake damage on the product photo and submits it as evidence to get a refund without actually returning anything broken. FraudBench tests whether AI models can tell real damaged product photos apart from these AI faked ones. The benchmark includes 822 real customer review samples and nearly 8,000 images spanning 29 different product and service categories, covering online shopping, food delivery, and travel bookings. The fake evidence images were created from genuine undamaged reference photos using six different state of the art image editing and generation tools, so the fakes closely resemble the kind of manipulated evidence a real scammer might produce. The paper evaluates 11 multimodal AI models that can process both text and images, 4 specialized fraud detection tools, and human reviewers, comparing how well each one spots the fakes across five different evaluation angles. Researchers can run the benchmark under six different conditions, such as showing the model a single image alone, showing it alongside the customer's written review, or showing several images either all at once or one at a time in a longer conversation. Two additional ablation studies test how sensitive results are to the exact wording of the prompt, and what happens when a review text is deliberately mismatched with images from a different product category. All model calls go through vendor APIs like Alibaba's DashScope, xAI, Gemini, and OpenAI, using API keys set as environment variables, so no local GPU is needed to reproduce the experiments. A small local web app built with Flask lets human evaluators view images and record their own fraud judgments for comparison against the AI models. The authors are explicit that this benchmark is meant only for academic research into detecting this kind of fraud and building better safeguards, not for helping anyone actually commit refund fraud. Setup requires Python 3.10 or newer and a handful of Python libraries installed via pip.

Copy-paste prompts

Prompt 1
Help me set up API keys and run scripts/run_detect.sh for FraudBench's SingleImage-NoReview condition.
Prompt 2
Explain what the six experiment conditions in FraudBench test and how they differ.
Prompt 3
How do I compute macro-averaged accuracy metrics from FraudBench's main experiment results?
Prompt 4
Walk me through running FraudBench's human evaluation Flask interface locally.

Frequently asked questions

What is fraudbench?

FraudBench is a research benchmark and dataset for testing whether multimodal AI models can detect AI-generated fake product-damage photos used to commit refund fraud, evaluated across 11 models, 4 detectors, and human reviewers.

What language is fraudbench written in?

Mainly Python. The stack also includes Python, Flask, Pillow.

How hard is fraudbench to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is fraudbench for?

Mainly researcher.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.