Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more input type validation to prevent injection #49

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

0237h
Copy link
Collaborator

@0237h 0237h commented Nov 3, 2023

SQL injection was possible on most string types, although it's impact was limited due to the client connection being readonly. The changes add more robust input validation using a combination of zod and type casts.

@github-actions github-actions bot added the feature New feature or request label Nov 3, 2023
SQL injection was possible on most string types, although it's impact
was limited due to the client connection being `readonly`. The changes
add more robust input validation using a combination of `zod` and type
casts.
@0237h 0237h force-pushed the feature/input-type-validation branch from b22d8f8 to e2a3e3a Compare November 3, 2023 12:54
@0237h 0237h merged commit f755963 into main Nov 3, 2023
@0237h 0237h deleted the feature/input-type-validation branch November 3, 2023 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant