Open photoninger opened 9 months ago
are you using the report template in emails that the end user receives? because the disclosure would only happen if you run "spamassassin -t" or, probably, if you use the report_template.
in that case it would be probably more useful to substitute the zone with, at least, the hash of the listed component, for debugging purposes
Only admins get reports from spamassassin. But others might also send reports to end users and if they don't configure a description for the checks, their DQS API key might leak. In my opinion it is better to prevent such mistakes. And in the case of HBL there is only one zone which is used, so there is no need to use the zone name in the description.
remove $prs->{zone} from default rule description. zone contains the DQS API key.