Skip to main content
rsa-detector.preview
RSA Detector - Screenshot 1 - Backend Service project

RSA Detector

Backend Service

Project Summary

A reseller abuse prevention system for e-commerce platforms that detects unauthorized resale activities through address clustering, bulk purchase analysis, and order pattern recognition. Implements automated purchase limits and manual review workflows.

The system analyzes purchasing patterns, shipping addresses, and order histories to identify potential reseller activities using algorithms. It can detect bulk purchases, address clustering, and unusual order patterns in real-time.

Key features include automated intervention capabilities that flag suspicious orders, implement purchase limits, and trigger manual review processes. The system provides tools for managing reseller relationships and setting custom rules for different product categories.

Built with scalability in mind, RSA includes APIs for integration with other fraud prevention systems and generates detailed reports on reseller activities to help businesses maintain fair access to products while preventing unauthorized resale.

Case Study

Overview

Built a reseller-abuse detection service that scores orders in real time, applies purchase limits, and routes edge cases to manual review to protect inventory and ensure fair access.

Problem

Limited-quantity drops were being drained by resellers using bulk orders and address clustering. Manual review was slow, rules were inconsistent across teams, and abuse signals lived in separate systems.

Solution

A backend service with real-time scoring, address clustering, bulk-order detection, automated limits, and a review workflow, plus APIs and reporting for reseller activity.

Goals

  • 1Score orders in under 2 seconds at checkout time.
  • 2Detect clustered addresses and bulk-buy behavior with >90% recall.
  • 3Keep false positives under 2% for legitimate buyers.
  • 4Provide configurable rules per product category and launch.
  • 5Expose an API for integration with existing fraud tooling.

Approach

  • Combined rule-based checks with a weighted scoring model to balance speed and explainability.
  • Used Elasticsearch for fast pattern searches across historical orders and Redis for rate limiting and hot signals.
  • Kept PostgreSQL as the source of truth for review decisions and audit trails.
  • Built a manual review queue with reason codes to tune thresholds post-launch.

Results & Impact

Outcomes

  • Reduced reseller take-rate on limited drops by ~25-35% within the first two launches.
  • Cut review turnaround from hours to ~20 minutes with a prioritized queue.
  • Improved inventory availability for genuine customers without blocking high-value orders.

Key Metrics

Decision latency
< 2 sec
At checkout scoring time.
False positives
1.5–2.0%
Measured on post-review outcomes.
Cluster detection
90–94% recall
Based on confirmed reseller cases.

Timeline

1
Signal discoveryFeb–Mar 2023

Address clustering + bulk patterns.

2
Scoring engineApr–Jun 2023

Rules, thresholds, and audits.

3
Review workflowJul–Aug 2023

Queueing, reason codes, tooling.

4
Rollout + tuningSep–Nov 2023

Launch support and threshold tuning.

Challenges

  • Distinguishing legitimate bulk purchases from reseller behavior.
  • Keeping decisions fast without sacrificing explainability.
  • Reducing false positives while still stopping abuse.

Project Info

Start:February 2023
End:
November 2023
Duration:9 months
Tech:7 used
Images:1 available

Want expert eyes on your architecture?

Strategy, design review, production readiness. Free initial consultation.

Get Expert Guidanceor book a free call

Technologies Used

NodeJS

PostgreSQL

Elasticsearch

Redis

ExpressJS

Azure

Git

Have a Project in Mind?

Let me bring your vision to life. From concept to launch, I deliver high-quality software with modern architecture and clean code.

End-to-End Development
Modern Tech Stack
Scalable Architecture