diff options
| author | Dennis Fink | 2026-10-29 19:49:44 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-10-29 19:49:44 +0100 |
| commit | 9a1e863079b64883beadaba7b283621f1b3cf70a (patch) | |
| tree | 3737edbe481460b13dad9e12eaeb3ed5208dda1b /pyproject.toml | |
| parent | 38f5a47ed79fac6b5cdb525e50168beb67c4a0b3 (diff) | |
| download | webmentions-ssg-9a1e863079b64883beadaba7b283621f1b3cf70a.tar.gz webmentions-ssg-9a1e863079b64883beadaba7b283621f1b3cf70a.zip | |
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.
Diffstat (limited to '')
| -rw-r--r-- | pyproject.toml | 1 |
1 files changed, 1 insertions, 0 deletions
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", |
