// 1️⃣ CLASSE PRINCIPALE DE DÉTECTION DE FRAUDE class FraudDetectionSystem { constructor(config = {}) { this.suspiciousThreshold = config.threshold || 70; this.blacklistedEmails = new Set(); this.blacklistedIPs = new Set(); this.blacklistedPhones = new Set(); this.userOrderHistory = new Map(); this.disposableDomains = [ 'tempmail.com', '10minutemail.com', 'guerrillamail.com', 'mailinator.com', 'throwaway.email', 'yopmail.com', 'temp-mail.org', 'fakeinbox.com', 'trashmail.com' ]; } /** * Analyser une commande complète */ analyzeOrder(order) { let fraudScore = 0; const checks = {}; // ✅ CHECK 1: Email checks.email = this.checkEmail(order.email); fraudScore += checks.email.score; // ✅ CHECK 2: Téléphone checks.phone = this.checkPhoneNumber(order.phone, order.country); fraudScore += checks.phone.score; // ✅ CHECK 3: Données manquantes checks.dataCompletion = this.checkDataCompletion(order); fraudScore += checks.dataCompletion.score; // ✅ CHECK 4: Montant anormal checks.amount = this.checkAmount(order.amount, order.country); fraudScore += checks.amount.score; // ✅ CHECK 5: Géolocalisation checks.geolocation = this.checkGeolocation(order.ipAddress, order.billingAddress); fraudScore += checks.geolocation.score; // ✅ CHECK 6: Vitesse de commande checks.orderVelocity = this.checkOrderVelocity(order.userId, order.email); fraudScore += checks.orderVelocity.score; // ✅ CHECK 7: Adresse suspecte checks.address = this.checkAddress(order.billingAddress, order.shippingAddress); fraudScore += checks.address.score; // ✅ CHECK 8: Historique utilisateur checks.history = this.checkUserHistory(order.userId); fraudScore += checks.history.

 اسرع واطلب الآن

عرض خاص: التوصيل بالمجان و الدفع عند الاستلام

اسرع واطلب الآن

اتصل بنا

للتواصل معنا عبر البريد الإلكتروني:

للتواصل معنا عبر الهاتف:

سنكون سعداء بالتواصل معكم والإجابة عن أسئلتكم.