Skip to content

docs(readme): consider preParsing hook safe#251

Merged
Fdawgs merged 1 commit intomasterfrom
Fdawgs-patch-1
Jan 30, 2025
Merged

docs(readme): consider preParsing hook safe#251
Fdawgs merged 1 commit intomasterfrom
Fdawgs-patch-1

Conversation

@Fdawgs
Copy link
Copy Markdown
Member

@Fdawgs Fdawgs commented Jan 29, 2025

This PR updates the security considerations to consider the preParsing hook safe for auth functionality. The body is not parsed at this stage, so DoS attacks are negated just like they would be with an onRequest hook.

Inspired by discussion in fastify/fastify-bearer-auth#207

Checklist

Signed-off-by: Frazer Smith <frazer.dev@icloud.com>
@Fdawgs Fdawgs merged commit ba755cc into master Jan 30, 2025
@Fdawgs Fdawgs deleted the Fdawgs-patch-1 branch January 30, 2025 10:18
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.

2 participants