commit 8171424: [Minor] Increase scoring of *.exe attachments

twesterhever 40121680+twesterhever at users.noreply.github.com
Wed Oct 25 17:56:05 UTC 2023


Author: twesterhever
Date: 2023-10-22 20:24:23 +0000
URL: https://github.com/rspamd/rspamd/commit/8171424d846a3e33b5d0f9f7f4ee09ec8d553a03

[Minor] Increase scoring of *.exe attachments
These are already banned in most environments, including GMail and
Outlook. We may as well bump this score up to 4 eventually.

---
 src/plugins/lua/mime_types.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua
index d6a9ff06f..adf831716 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -53,7 +53,7 @@ local settings = {
 
   bad_extensions = {
     cue = 2,
-    exe = 1,
+    exe = 2,
     iso = 4,
     jar = 2,
     -- In contrast to HTML MIME parts, dedicated HTML attachments are considered harmful


More information about the Commits mailing list