acme/payments-api
Review complete
Unparameterized query in refund handler
src/routes/refund.ts:84
const r = await db.query(
`SELECT * FROM refunds WHERE id = ${req.params.id}`
); Remediation
Bind the identifier as a parameter. The route accepts unvalidated input from an authenticated caller.