Commit Graph

49 Commits

Author SHA1 Message Date
Vsevolod Stakhov
1803e71558
[Rules] Reduce score of HTTP_TO_HTTPS - subject to remove completely 2022-10-18 23:11:17 +01:00
Vsevolod Stakhov
d2ca787313 [Rules] Improve zero font rule 2021-09-07 15:01:30 +01:00
Vsevolod Stakhov
dde092ef09 [Minor] Fix checks safety 2021-07-19 10:23:44 +01:00
Vsevolod Stakhov
7a181b1fe6 [Minor] Add safety guards 2021-07-08 15:45:06 +01:00
Vsevolod Stakhov
f1f2f27585 [Minor] Pet luacheck 2021-06-14 14:12:20 +01:00
Vsevolod Stakhov
ea35232b98 [Project] Rework html visibility rule 2021-06-14 14:07:29 +01:00
Vsevolod Stakhov
3e5cc9ef2d [Rules] Fix zerofont rule (partially) 2021-06-12 14:40:26 +01:00
Vsevolod Stakhov
017d5a8d6a [Rules] Fix HTTP_TO_HTTPS rule 2021-04-09 10:40:05 +01:00
Vsevolod Stakhov
8e9cde0829 [Rules] Do not trigger HTML_SHORT_LINK_IMG on external images 2021-04-08 17:55:17 +01:00
Vsevolod Stakhov
028e4ecefe [Rules] Another fix to HTTP_TO_HTTPS rule 2021-03-16 11:39:10 +00:00
Vsevolod Stakhov
e2d44157b3 [Rules] Fix HTTP_TO_HTTPS rule 2021-03-13 10:43:10 +00:00
Vsevolod Stakhov
663a156d5c [Fix] Fix white on white rule and add is_leaf flag 2020-01-23 18:58:46 +00:00
Vsevolod Stakhov
90fb3cc286 [Fix] Fix embedded images linking logic 2019-09-19 12:07:03 +01:00
Vsevolod Stakhov
2ded1a6c45 [Rules] Improve html images detection logic 2019-02-21 12:01:37 +00:00
Vsevolod Stakhov
d31f486d55 [Fix] Fix groups mess 2018-09-29 14:51:29 +01:00
Vsevolod Stakhov
d4271e0a88 [Feature] Improve WHITE_ON_WHITE rule 2018-07-04 19:02:57 +01:00
Vsevolod Stakhov
d36a02d833 [Minor] Temporarily reset scores of new symbols unless tested 2018-06-21 19:27:00 +01:00
Vsevolod Stakhov
3311d34901 [Feature] Address ZeroFont exploit 2018-06-21 14:38:37 +01:00
Vsevolod Stakhov
48a8489567 [Fix] Cleanup mess with groups 2017-11-11 19:06:06 +00:00
Vsevolod Stakhov
e287d09848 [Fix] Fix enormous scores for R_WHITE_ON_WHITE
MFH: 1.6
2017-09-28 19:16:32 +01:00
Andrew Lewis
b51ce98889 [Minor] Fix tests 2017-09-11 16:05:51 +02:00
Andrew Lewis
76a60e836e [Minor] WHITE_ON_WHITE: Use per-part transparency length 2017-07-10 11:34:23 +02:00
Andrew Lewis
74dfbe1912 [Fix] WHITE_ON_WHITE: Ensure score is matched to part that fired the rule 2017-07-10 10:18:21 +02:00
Steve Freegard
5ff5ec0a9f Fix HTTP_TO_IP in the same way as HTTP_TO_HTTPS 2017-04-13 11:38:41 +01:00
Steve Freegard
77f3cfc710 Fix HTTP_TO_HTTPS where message is_html but get_html returns nil 2017-04-13 09:00:42 +01:00
Steve Freegard
9aa169e092 New rules 2017-04-12 15:50:45 +01:00
Vsevolod Stakhov
0ab83056ad [Feature] Add EXT_CSS rule 2016-12-01 17:16:25 +00:00
Andrew Lewis
f63fa491d1 [Minor] Reduce scoring on some rules 2016-11-29 14:30:47 +02:00
Andrew Lewis
3590c28e73 [Minor] Lint Lua plugins & global functions 2016-11-14 15:54:21 +02:00
Andrew Lewis
c45aaab61f [Minor] Some linting for rules 2016-11-13 13:13:47 +02:00
Vsevolod Stakhov
7a820f15c1 [Feature] Track visibility of HTML elements 2016-11-01 15:30:14 +00:00
Vsevolod Stakhov
f809803e8e [Feature] Consider more tags when doing WHITE_ON_WHITE rule 2016-11-01 13:20:58 +00:00
Andrew Lewis
28866f6063 [Minor] Finish reworking rules 2016-08-31 10:22:52 +02:00
Vsevolod Stakhov
fd24c961ae [Fix] Further fixes for white on white rule 2016-08-08 15:56:29 +01:00
Vsevolod Stakhov
d4dd679a8c [Fix] Fix length calculations in white on white rule 2016-08-08 15:04:14 +01:00
Vsevolod Stakhov
b8132cfbab [Fix] Some more fixes for low contrast fonts detector 2016-08-08 14:21:17 +01:00
Vsevolod Stakhov
842f6c31ca [Feature] Try to avoid FP for low contrast fonts detection 2016-08-08 14:16:55 +01:00
Vsevolod Stakhov
ad36a88b58 [Feature] Properly implement R_WHITE_ON_WHITE rule 2016-08-05 16:06:22 +01:00
Vsevolod Stakhov
37b9edfcf5 [Fix] Trigger HTML_SHORT_LINK_IMG on any external image 2016-08-05 16:06:22 +01:00
Alexander Moisseev
029d2f4fa1 Don't trigger R_EMPTY_IMAGE on image links
as they covered with `HTML_SHORT_LINK_IMG_1` rule.
It should be safe for legitimate emails with images attached since `R_EMPTY_IMAGE` and `HTML_SHORT_LINK_IMG_1` won't be triggered at the same time any more.
2016-02-20 10:45:22 +03:00
Alexander Moisseev
af66bcae90 Don't trigger HTML_SHORT_LINK_IMG on small images
It's common for legitimate emails to have small image links (buttons, social networks junk e.t.c.)
2016-02-20 10:34:34 +03:00
Vsevolod Stakhov
bd9428b149 Fix html images rules to reduce FP rates
Suggested by: @moisseev
Issue: #525
2016-02-16 12:04:51 +00:00
Vsevolod Stakhov
b775598428 More sanity checks 2016-02-05 12:53:52 +00:00
Vsevolod Stakhov
94f5e3dcf6 Add safety guard for rule 2016-02-05 12:49:25 +00:00
Vsevolod Stakhov
c4bc17b845 SUSPICIOUS_IMAGES now trigger merely for embedded images 2015-11-17 16:14:26 +00:00
Vsevolod Stakhov
af1be71be0 Improve empty image rule. 2015-11-17 16:12:43 +00:00
Vsevolod Stakhov
0ea784ef25 Add R_SUSPICIOUS_IMAGES rule. 2015-10-13 12:51:23 +01:00
Vsevolod Stakhov
2e549cbde6 Rework HTML rules. 2015-08-08 20:55:47 +01:00
Vsevolod Stakhov
4135a3b422 Move lua rules to rules dir. 2015-08-07 14:09:14 +01:00