Page MenuHomePhabricator

Disallow unsuppression of abuse filters (and their log entries & filter notes)
Open, Needs TriagePublicFeature

Description

Feature summary:

  • T290324: Create Oversight-level abuse filters allows restricting access to abuse filters to users with viewsuppressed permissions which also auto-suppresses the abuse log.
  • It's currently possible to remove the suppressed flag again – which also removes the abuse log's auto-suppression. This could lead to unintentional disclosure of PII (not just in abuse logs, but also in the filter notes and of course the filter rules itself).
  • Therefore removing the checkbox for suppressing abuse filters should be disallowed, just like it's not possible to remove an abuse filter's "protected" flag.
  • When using the checkbox to suppress an abuse filter, a warning should be shown that this cannot be reversed, asking oversighters to reconfirm their action (similar to T364485: Alert a filter editor that a filter must be protected if it is saved with a protected variable).
  • A different approach to disallowing unsuppression would be to create a warning reminding oversighters that removing suppression also removes auto-suppression of all filter logs.

Use case / benefit :

  • The current UI doesn't indicate that removing the suppressed flag makes previously suppressed abuse logs public again -> OS could unintentionally leak PII by removing the flag.

Other information:

Event Timeline

A different approach to disallowing unsuppression would be to create a warning reminding oversighters that removing suppression also removes auto-suppression of all filter logs.

I believe warning is enough since suppression (of revisions) is reversable. As long as older abuse log are not unsuppressed automatically.

Also we should allow unsuppressing individual abuse log, when an OS confirmes no PII is involved. This will neither affect the suppression status of filter nor will leak PII inside the filter.

In any cases, abuse filters with zero hit will be safer to unsuppress.

Pppery subscribed.

The fundamental principle of a wiki is that every change that can be done can also be undone. I don't see sufficient cause to break that principle here.

A different approach to disallowing unsuppression would be to create a warning reminding oversighters that removing suppression also removes auto-suppression of all filter logs.

I believe warning is enough since suppression (of revisions) is reversable. As long as older abuse log are not unsuppressed automatically.

The entries would be unsuppressed automatically, because their suppression is tied to the visibility of the filter being suppressed. This is why the "protected" level of privacy cannot be undone in AbuseFilter

The fundamental principle of a wiki is that every change that can be done can also be undone. I don't see sufficient cause to break that principle here.

The proposal is identical to protected variables which also don't allow unprotecting the filter. But I'm open to alternative proposals on how to make sure not to accidentally leak PII in abuse logs...

That's also incorrectly done in my opinion.

It wouldn't be that hard to automatically suppress abuse log entries of suppressed filters and store that bit in the logging table rather than doing it at view time.