New change ready for review
Changed lines · bug + security checksReview the pull request
Install the app once. CodePeel reviews new pull requests and puts findings on the lines that need attention, with a walkthrough for the whole change.
Explore GitHub reviews
🔒 Interpolated values in a SQL query
What's happening:
• Request values are inserted directly into the query string, creating a SQL injection vulnerability.
Recommendation:
• Apply the suggested parameterized query below
VALUES ('${req.userId}', ${req.amount}, ...)VALUES ($1, $2, $3, $4, $5)