Skip to main content

RSA Detector

Backend Service

rsa-detector.preview
RSA Detector - Screenshot 1 - Backend Service project

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.

Goals

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

Approach

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

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.

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

Signal discovery
Feb–Mar 2023
Address clustering + bulk patterns.
Scoring engine
Apr–Jun 2023
Rules, thresholds, and audits.
Review workflow
Jul–Aug 2023
Queueing, reason codes, tooling.
Rollout + tuning
Sep–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.

معلومات المشروع

البداية:فبراير 2023
النهاية:نوفمبر 2023
المدة:9 أشهر
التقنيات:7 مستخدمة
الصور:1 متاحة

التقنيات المستخدمة