Skip to content
Jair Avilés edited this page Feb 7, 2024 · 5 revisions

Welcome to the User Fraud Checker wiki!

These pages contain information about how this module works at a high level.

To get started with it, go to the README: Getting started section.

Go to the Architecture, Project Structure, AWS deployment, and Appendices pages for information about each topic.

Background

The key to prevent fraud is data. Evaluating any potential precedent of malicious pattern is important when committing sensitive transactions such as financial ops.

Requirements

Determine the risk level of a user based on the records of a flagged individual associated with either an email address or a phone number. If any records are found, the user's risk profile should be determined based on the following score threshold.

Risk level Score
High >= 50
Medium 20 < 50
Low 0 < 20

To calculate the score value, the user records are evaluated based on the following attributes and will sum to the final value

  1. If the country associated with the record is marked as High risk, will add 50 points
  2. Otherwise, if the country associated with the record is marked as Mid risk, will add 20 points
  3. If the email, or phone associated with the record is flagged in a external block list, will add 20 points

The user risk profile should include the risk factors associated with the assigned risk level.

Out of scope

  • Implementing authentication and authorization in the module checker
  • Processing multiple user record entries
  • CI/CD process
  • UX/UI design

Clone this wiki locally