浏览代码

Chore: Update Phishing Build

SukkaW 1 年之前
父节点
当前提交
ab32a1ae74
共有 2 个文件被更改,包括 6 次插入6 次删除
  1. 5 6
      Build/lib/get-phishing-domains.ts
  2. 1 0
      Source/domainset/reject_sukka.conf

+ 5 - 6
Build/lib/get-phishing-domains.ts

@@ -63,8 +63,7 @@ const sensitiveKeywords = createKeywordFilter([
   'facebook-',
   'focebaak',
   '.facebook.',
-  'metamask-',
-  '-metamask',
+  'metamask',
   'www.apple',
   '-coinbase',
   'coinbase-',
@@ -83,9 +82,9 @@ const sensitiveKeywords = createKeywordFilter([
 ]);
 const lowKeywords = createKeywordFilter([
   'transactions-',
-  'payment-',
+  'payment',
+  'wallet',
   '-transactions',
-  '-payment',
   '-faceb', // facebook fake
   '.faceb', // facebook fake
   'facebook',
@@ -213,9 +212,9 @@ export function calcDomainAbuseScore(subdomain: string, fullDomain: string = sub
   const sensitiveKeywordsHit = sensitiveKeywords(fullDomain);
 
   if (sensitiveKeywordsHit) {
-    weight += 9;
+    weight += 10;
     if (hitLowKeywords) {
-      weight += 5;
+      weight += 6;
     }
   } else if (hitLowKeywords) {
     weight += 1.5;

+ 1 - 0
Source/domainset/reject_sukka.conf

@@ -323,6 +323,7 @@ inst.360safe.com
 .googleplay.pro
 .printondemandmerchandise.com
 .thebitmeister.com
+.metamask-app.com
 # Phishing domain like `www-facebook.to-kr.com`
 .to-kr.com
 # Poland Hosting dhosting.pl's free subdomain