-
Notifications
You must be signed in to change notification settings - Fork 70
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
Adds bound parameters for enhanced security #31
base: master
Are you sure you want to change the base?
Conversation
Hi, I was wondering about the status of this PR? Support for bound parameters is an important security feature... thanks! |
Hi @mdesousa - waiting for it to be merged as indeed it is useful! |
Thanks for your wonderful work in creating this library, @ghdna. |
ok, let me look into this one next. |
sorry - it's been a while, i can look into updating the code and resolve merge conflicts at some point soon to make it easier for @ghdna |
PR updated to bring it in line with master @ghdna |
Wondering the status on this? Came across this PR 3 years later as I was looking for this feature. Still relevant, please merge if possible! |
What is the PR status? Athena supports parameterized queries already so it would be really nice to have that integrated in athena-express. |
I suspect this project is abandoned, and considering it doesn't properly escape parameters I'd say it's not secure enough to use. One option is to use code from my PR: |
That's too bad... we went the direction of integrating But if it's no longer maintained we might have to go back to using the regular AWS SDK I guess |
Its maintained. The PR has conflicts. Once they are resolved, I can merge it |
Conflicts have been resolved a year ago, and since then new conflicts have been introduced. I can not re-issue a fix as I don't have time for it. |
Examples:
await athenaExpress.query('SELECT * FROM movies WHERE movie_title = ?', ['Spider-Man']);
await athenaExpress
.query({ sql: 'SELECT * FROM movies WHERE movie_title = ?', queryParams: ['Spider-Man']});