Skip to content

Prevent spam actions against trusted users

Ian Anderson requested to merge paid-user-prevent-spam-blocking into master

What does this MR do and why?

The current deployment of the spamcheck service does not return blocking spam verdicts. The model accuracy has reached the point that we are ready to implement blocking. This MR adds guardrails to ensure we do not adversely affect paid users with anti-spam mitigations. If a user is on a paid plan and submits a spammable that is flagged as spam, a spam log will be created but no blocking actions will take place.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Example Spam Issue content

Title: Live streaming!!!
Description: Live sports streaming free here https://livestreams.com
  1. Simulate SaaS in GDK.
  2. Enable spamcheck for local development
  3. As a regular user create a spam issue. The attempted spam submission should be challenged by recaptcha or blocked.
  4. Perform the same action as an ultimate user. The spam submission should not be challenged.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Ian Anderson

Merge request reports

Loading