SKROCK← All work05 / 05

( Case study · AI system )

FraudGuard

Real-time fraud scoring where every flag comes with a reason.

Role
Design and build
Type
Fraud detection engine
Stack
Django, Celery, Channels, Postgres, Redis, scikit-learn, Next.js
Links
FraudGuard — the live site

( Overview )

A fraud alert is only useful if an analyst can trust it. FraudGuard scores every transaction in real time and shows exactly which signals fired and how much each one added.

( How it works )

  1. 01Explainable rules (velocity, impossible travel, spending against the account's own history) score each transaction alongside an Isolation Forest model.
  2. 02Alerts stream live to a Next.js analyst console over WebSockets.
  3. 03Analyst decisions become training labels. A challenger model is retrained and only promoted if it beats the current one.
  4. 04Every decision is written to an audit trail.

( Tested honestly )

On the public ULB credit-card dataset, amount-only features barely beat chance, while the same algorithm on the full behavioural features reaches a ROC-AUC of 0.94. That result shaped the design: per-account baselines and explainable rules carry the weight, and the model's score is a supporting signal.

FeaturesROC-AUC
Amount-only features0.53
Full behavioural features0.94

Source: the project's published benchmark on the ULB credit-card dataset.

( Details )

Next projectEcavo A staples brand from Prayagraj, given a site as warm as its kitchens.