commit fee3996: [Minor] Treat *.zpaq attachments as archives and harmful

twesterhever 40121680+twesterhever at users.noreply.github.com
Fri Nov 3 14:49:03 UTC 2023


Author: twesterhever
Date: 2023-11-03 13:38:05 +0000
URL: https://github.com/rspamd/rspamd/commit/fee399699dd908f5ea229070f28fcb6cf8e5ac6e (refs/pull/4680/head)

[Minor] Treat *.zpaq attachments as archives and harmful
Rationale: https://dshield.org/diary/Malware+Dropped+Through+a+ZPAQ+Archive/30366/

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

diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua
index ebd8a8028..167ed38e2 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -56,6 +56,7 @@ local settings = {
     exe = 1,
     iso = 4,
     jar = 2,
+    zpaq = 2,
     -- In contrast to HTML MIME parts, dedicated HTML attachments are considered harmful
     htm = 1,
     html = 1,
@@ -218,6 +219,7 @@ local settings = {
     rar = 1,
     xz = 1,
     zip = 1,
+    zpaq = 1,
   },
 
   -- Not really archives


More information about the Commits mailing list