svn commit: r1933152 - spamassassin/trunk/rules
[email protected] Sat, 18 Apr 2026 18:26:38 -0000
| Newsgroups | gmane.mail.spam.spamassassin.cvs |
|---|---|
| Message-ID | <177653679845.76961.13155632645714795846@svn03-he-fi> |
Author: jhardin Date: Sat Apr 18 18:26:38 2026 New Revision: 1933152 Log: Remove some dubious letter obfuscations of digits, might be used but increases FP risk Modified: spamassassin/trunk/rules/25_replace.cf Modified: spamassassin/trunk/rules/25_replace.cf ============================================================================== --- spamassassin/trunk/rules/25_replace.cf Sat Apr 18 18:17:32 2026 (r1933151) +++ spamassassin/trunk/rules/25_replace.cf Sat Apr 18 18:26:38 2026 (r1933152) @@ -58,22 +58,22 @@ replace_tag Z (?:[zZs\xc6]|[\xc5][\xb9\x replace_tag ZERO (?:[0oO]|[\xc2][\xb0]|[\xce][\x9f\xbf]|[\xd0][\x9e\xbe]|[\xef][\xbc][\x90]|[\xe2](?:[\x81][\xb0]|[\x82][\x80]|[\x88][\x85]|[\x93][\xaa\xbf]|[\x97][\x8b])|[\xf0][\x9d][\x9f][\x8e\x98\xa2\xac\xb6]) # <1>: 1 I i l | ! ¹ І і ∣ 1 ₁ ① ⑴ ⓵ ❶ 𝟏 𝟙 𝟣 𝟭 𝟷 replace_tag 1 (?:[1Ii|!]|(?-i:l)|[\xc2][\xb9]|[\xd0][\x86]|[\xd1][\x96]|[\xef][\xbc][\x91]|[\xe2](?:[\x82][\x81]|[\x88][\xa3]|[\x91][\xa0\xb4]|[\x93][\xb5]|[\x9d][\xb6])|[\xf0][\x9d][\x9f][\x8f\x99\xa3\xad\xb7]) -# <2>: 2 z Z ² ƨ ƻ 2 ₂ ② ⑵ ⓶ ❷ 𝟐 𝟚 𝟤 𝟮 𝟸 -replace_tag 2 (?:[2zZ]|[\xc2][\xb2]|[\xc6][\xa8\xbb]|[\xef][\xbc][\x92]|[\xe2](?:[\x82][\x82]|[\x91][\xa1\xb5]|[\x93][\xb6]|[\x9d][\xb7])|[\xf0][\x9d][\x9f][\x90\x9a\xa4\xae\xb8]) +# <2>: 2 ² ƨ ƻ 2 ₂ ② ⑵ ⓶ ❷ 𝟐 𝟚 𝟤 𝟮 𝟸 +replace_tag 2 (?:2|[\xc2][\xb2]|[\xc6][\xa8\xbb]|[\xef][\xbc][\x92]|[\xe2](?:[\x82][\x82]|[\x91][\xa1\xb5]|[\x93][\xb6]|[\x9d][\xb7])|[\xf0][\x9d][\x9f][\x90\x9a\xa4\xae\xb8]) # <3>: 3 ³ Ʒ ʒ З з ∃ ∋ ∍ ⋺ 3 ₃ ③ ⑶ ⓷ ❸ 𝟑 𝟛 𝟥 𝟯 𝟹 replace_tag 3 (?:3|[\xc2][\xb3]|[\xc6][\xb7]|[\xca][\x92]|[\xd0][\x97\xb7]|[\xef][\xbc][\x93]|[\xe2](?:[\x82][\x83]|[\x88][\x83\x8b\x8d]|[\x8b][\xba]|[\x91][\xa2\xb6]|[\x93][\xb7]|[\x9d][\xb8])|[\xf0][\x9d][\x9f][\x91\x9b\xa5\xaf\xb9]) # <4>: 4 A 4 ⁴ ₄ ④ ⑷ ⓸ ❹ 𝟒 𝟜 𝟦 𝟰 𝟺 replace_tag 4 (?:4|(?-i:A)|[\xef][\xbc][\x94]|[\xe2](?:[\x81][\xb4]|[\x82][\x84]|[\x91][\xa3\xb7]|[\x93][\xb8]|[\x9d][\xb9])|[\xf0][\x9d][\x9f][\x92\x9c\xa6\xb0\xba]) -# <5>: 5 s S Ƽ ƽ 5 ⁵ ₅ ⑤ ⑸ ⓹ ❺ 𝟓 𝟝 𝟧 𝟱 𝟻 -replace_tag 5 (?:[5sS]|[\xc6][\xbc\xbd]|[\xef][\xbc][\x95]|[\xe2](?:[\x81][\xb5]|[\x82][\x85]|[\x91][\xa4\xb8]|[\x93][\xb9]|[\x9d][\xba])|[\xf0][\x9d][\x9f][\x93\x9d\xa7\xb1\xbb]) -# <6>: 6 G б 6 ⁶ ₆ ⑥ ⑹ ⓺ ❻ 𝟔 𝟞 𝟨 𝟲 𝟼 -replace_tag 6 (?:6|(?-i:G)|[\xd0][\xb1]|[\xef][\xbc][\x96]|[\xe2](?:[\x81][\xb6]|[\x82][\x86]|[\x91][\xa5\xb9]|[\x93][\xba]|[\x9d][\xbb])|[\xf0][\x9d][\x9f][\x94\x9e\xa8\xb2\xbc]) +# <5>: 5 Ƽ ƽ 5 ⁵ ₅ ⑤ ⑸ ⓹ ❺ 𝟓 𝟝 𝟧 𝟱 𝟻 +replace_tag 5 (?:5|[\xc6][\xbc\xbd]|[\xef][\xbc][\x95]|[\xe2](?:[\x81][\xb5]|[\x82][\x85]|[\x91][\xa4\xb8]|[\x93][\xb9]|[\x9d][\xba])|[\xf0][\x9d][\x9f][\x93\x9d\xa7\xb1\xbb]) +# <6>: 6 б 6 ⁶ ₆ ⑥ ⑹ ⓺ ❻ 𝟔 𝟞 𝟨 𝟲 𝟼 +replace_tag 6 (?:6|[\xd0][\xb1]|[\xef][\xbc][\x96]|[\xe2](?:[\x81][\xb6]|[\x82][\x86]|[\x91][\xa5\xb9]|[\x93][\xba]|[\x9d][\xbb])|[\xf0][\x9d][\x9f][\x94\x9e\xa8\xb2\xbc]) # <7>: 7 7 ⁷ ₇ ⑦ ⑺ ⓻ ❼ 𝟕 𝟟 𝟩 𝟳 𝟽 replace_tag 7 (?:[7]|[\xef][\xbc][\x97]|[\xe2](?:[\x81][\xb7]|[\x82][\x87]|[\x91][\xa6\xba]|[\x93][\xbb]|[\x9d][\xbc])|[\xf0][\x9d][\x9f][\x95\x9f\xa9\xb3\xbd]) # <8>: 8 8 ⁸ ₈ ⑧ ⑻ ⓼ ❽ 𝟖 𝟠 𝟪 𝟴 𝟾 replace_tag 8 (?:[8]|[\xef][\xbc][\x98]|[\xe2](?:[\x81][\xb8]|[\x82][\x88]|[\x91][\xa7\xbb]|[\x93][\xbc]|[\x9d][\xbd])|[\xf0][\x9d][\x9f][\x96\xa0\xaa\xb4\xbe]) -# <9>: 9 q g 9 ⁹ ₉ ⑨ ⑼ ⓽ ❾ 𝟗 𝟡 𝟫 𝟵 𝟿 -replace_tag 9 (?:9|(?-i:[qg])|[\xef][\xbc][\x99]|[\xe2](?:[\x81][\xb9]|[\x82][\x89]|[\x91][\xa8\xbc]|[\x93][\xbd]|[\x9d][\xbe])|[\xf0][\x9d][\x9f][\x97\xa1\xab\xb5\xbf]) +# <9>: 9 9 ⁹ ₉ ⑨ ⑼ ⓽ ❾ 𝟗 𝟡 𝟫 𝟵 𝟿 +replace_tag 9 (?:9|[\xef][\xbc][\x99]|[\xe2](?:[\x81][\xb9]|[\x82][\x89]|[\x91][\xa8\xbc]|[\x93][\xbd]|[\x9d][\xbe])|[\xf0][\x9d][\x9f][\x97\xa1\xab\xb5\xbf]) # <DIGIT>: ⁰-⁹ ₀-₉ ①-⑨ ⑴-⑼ ⓪⓵-⓽⓿ ❶-❾ ➀-➈ ➊-➒ 🄋🄌 0-9 𝟎-𝟿 replace_tag DIGIT (?:[0-9]|[\xc2][\xb2\xb3\xb9]|[\xef][\xbc][\x90-\x99]|[\xe2](?:[\x81][\xb0\xb4-\xb9]|[\x82][\x80-\x89]|[\x91][\xa0-\xa8\xb4-\xbc]|[\x93][\xaa\xb5-\xbd\xbf]|[\x9d][\xb6-\xbe])|[\xf0][\x9d][\x9f][\x8e-\xbf]) # <EMOJI>: U+2600-U+27BF (Misc Symbols + Dingbats) and main 4-byte emoji blocks