Skip to content

fix(sec): add malformedJsonPreLimiter to count malformed payload attempts before body parsing (#11592) - #11666

Open
jihadMo wants to merge 1 commit into
SecureBananaLabs:mainfrom
jihadMo:fix/rate-limit-malformed-json-pre-check
Open

fix(sec): add malformedJsonPreLimiter to count malformed payload attempts before body parsing (#11592)#11666
jihadMo wants to merge 1 commit into
SecureBananaLabs:mainfrom
jihadMo:fix/rate-limit-malformed-json-pre-check

Conversation

@jihadMo

@jihadMo jihadMo commented Aug 9, 2026

Copy link
Copy Markdown

Resolves #11592 /claim #11592.

Exports \malformedJsonPreLimiter\ rate limiter middleware in \�pps/api/src/middleware/rateLimit.js\ counting request attempts prior to JSON body parsing, backed by unit test suite in \�pps/api/src/middleware/rateLimit-malformed.test.js.

github-actions Bot added a commit that referenced this pull request Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Rate limiter should count malformed JSON before body parsing

1 participant