Closed (fixed)
Project:
MyREST
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2026 at 14:18 UTC
Updated:
7 Aug 2026 at 14:26 UTC
Jump to comment: Most recent
Endpoints that create content or increment counters (ReviewAddResource, NodeArticleLikeAddResource, NodeVideoViewAddResource, form submissions) can be called repeatedly by anonymous clients. There is no rate limiting, so counters can be inflated and the site spammed.
flood service and register an event per write endpoint.Retry-After header when the limit is exceeded.Implement flood checks in MyrestResourceBase and expose the settings.
New rate-limit settings section.
Clients may receive 429 responses.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
sergeydruua commentedComment #6
sergeydruua commented