From 9a1e863079b64883beadaba7b283621f1b3cf70a Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Thu, 29 Oct 2026 19:49:44 +0100 Subject: fix(receiver): rate limit Webmention submissions Protect the public endpoint from abusive request floods and repeated duplicate submissions that would otherwise trigger unnecessary verification work. Add per-client and global limits, require shared limiter storage in production, and only reverify existing Webmentions after a configurable cooldown. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 58e3be4..f42752a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ dependencies = [ "coloredlogs>=15.0.1", "dnspython>=2.8.0", "flask>=3.1.3", + "flask-limiter>=4.1.1", "flask-login>=0.6.3", "flask-mail>=0.10.0", "flask-migrate>=4.1.0", -- cgit v1.3.1