SA Bugzilla – Bug 7710
FUZZY_WALLET false positive
Last modified: 2019-05-03 19:00:30 UTC
Hi, we encountered a strange problem with the FUZZY_WALLET rule. This rule should try to match this regex: /<W>(?!allet)<A><L><L><E><T>/i but in the email there is nothing matching this pattern. I can't provide the email and i can only access to this logs: 2019-04-30 09:32:55 rawresponse: SPAMD/1.1 0 EX_OK Content-length: 209 Spam: False ; 2.5 / 5.0 Detailed report: (2.5 scored, 5.0 requested) Score Rule_name Description ---- ---------------------- -------------------------------------------------- 2.5 FUZZY_WALLET BODY: Obfuscated "Wallet" 2019-04-30 09:32:55 score 2.5 key FUZZY_WALLET detail BODY: Obfuscated "Wallet" 2019-04-30 09:32:55 procotol version: 1.1 2019-04-30 09:32:55 headers: {Content-length=209, Spam=False ; 2.5 / 5.0} 2019-04-30 09:32:55 threshold: 5.0 2019-04-30 09:32:55 response message: EX_OK 2019-04-30 09:32:56 score 2.5 key FUZZY_WALLET detail BODY: Obfuscated "Wallet" This rule should only match a text like "<W><A><L><L><E><T>" (case insensitive) right?
(In reply to Dennis Mercuriali from comment #0) > Hi, > > we encountered a strange problem with the FUZZY_WALLET rule. > > This rule should try to match this regex: /<W>(?!allet)<A><L><L><E><T>/i > but in the email there is nothing matching this pattern. If you are unwilling to provide *actual evidence* of that, this is not an actionable bug report. Actual evidence would be a message which matches the rule but should not. Any matching message would do, even one invented to demonstrate the problem. > This rule should only match a text like "<W><A><L><L><E><T>" (case > insensitive) right? Wrong. Run "perldoc Mail::SpamAssassin::Plugin::ReplaceTags" for more information.
Also: please take rules questions to the SA Users list first.
Thank you for the tip on the rule regex. I'm unable to reproduce the problem and i can't share the original for legal reasons. The message doesnt match the rule. Submitting to spamassassin a copy of the email produce no errors while the original keeps on producing it. Could it be an encoding or similar error in the original message? Anyway sorry for opening this ticket, if it happens again i'll do more tests.
Feel free to bring it to the Users list as well.
(In reply to Dennis Mercuriali from comment #3) > Submitting to spamassassin a copy of the > email produce no errors while the original keeps on producing it. > > .. if it happens again I'm not sure what you are saying here. The wording suggests that "the original" is a single email which you can retest. Your comment about encoding suggests that "the copy" may then be rendered text from an email client. If that's correct then, try testing it like this: spamassassin -D 2>&1 < original | grep 'rule FUZZY_WALLET'