Skip to main content

StopForumSpam

StopForumSpam integration for FlaskBB. Checks new registrations against StopForumSpam's database of known spammer usernames, email addresses and IP addresses, and lets moderators report new spammers back to it.

See flaskbb/flaskbb#391.

Installation

Install flaskbb-plugin-stopforumspam with pip install flaskbb-plugin-stopforumspam

For local development against a FlaskBB checkout, from FlaskBB's root folder:

uv pip install -e ../flaskbb-plugin-stopforumspam

Then install the plugin from the admin panel and run the migrations (flaskbb db upgrade).

Usage

Every registration is looked up on StopForumSpam. If the username, email address or IP address is listed with at least the configured confidence score, the registration is rejected with a generic message and the attempt is logged. Admins can review and clear that log from the admin panel's "StopForumSpam" page.

Users who can ban a member also get a "Report spammer" button on that member's profile. It submits the username, email address and the IP the member registered from to StopForumSpam, optionally with evidence, and can ban the member at the same time. Reporting needs an API key. FlaskBB doesn't store registration IPs itself, so only members who registered while this plugin was installed can be reported.

If FlaskBB runs behind a reverse proxy, configure it to pass on the client's address (for example with Werkzeug's ProxyFix), otherwise every registration is checked against the proxy's IP. Private and loopback addresses are never sent.

Settings

StopForumSpam Settings, under the admin panel's Plugin Settings:

  • Check registrations - master toggle for the lookup (default: on).
  • Check username / email address / IP address - which fields are looked up (default: all).
  • Minimum confidence (%) - reject a registration if any checked field is listed with at least this confidence (default: 50, 0 rejects any listing).
  • Send email addresses hashed - send an MD5 hash instead of the plain address. StopForumSpam skips its domain blacklists and address normalisation for hashed lookups (default: off).
  • Reject registrations when StopForumSpam is unreachable - fail closed instead of open (default: off).
  • Request timeout (seconds) - default: 5.
  • API key - only needed for reporting spammers.

The blueprint is mounted at /stopforumspam; override it with PLUGIN_STOPFORUMSPAM_URL_PREFIX in your FlaskBB config.

License

This project is licensed under the terms of the BSD License.

Metadata

Release files for flaskbb-plugin-stopforumspam 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flaskbb-plugin-stopforumspam 1.0.1
File Size Uploaded
flaskbb_plugin_stopforumspam-1.0.1.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flaskbb-plugin-stopforumspam 1.0.1
File Interpreter ABI Platform
flaskbb_plugin_stopforumspam-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 32.5 kB

Release files / flaskbb_plugin_stopforumspam-1.0.1.tar.gz

Download URL flaskbb_plugin_stopforumspam-1.0.1.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
576d8974bf52074fdb2148299aad592bd93a5cbbc72a20cfeb4efcc156ecdce7
BLAKE2b-256 checksum
How to use checksums
67500bffe7e15089ebf37ce16f9e8a1351e6ae7309e4dced7a696aee4a6d6530
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / flaskbb_plugin_stopforumspam-1.0.1-py3-none-any.whl

Download URL flaskbb_plugin_stopforumspam-1.0.1-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f2d30e0e1778c7710541e0af91586a76ac1ecbe641bd829118ace4f0525bb6c
BLAKE2b-256 checksum
How to use checksums
79e84c890a6c81cf91f5f9eb722beb28deb7fe04c5aa7d4da20ce47a2a3a5a70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.2

2 release files

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page