Trace untrusted input to the operation that uses it. A value taken from a request query should not become SQL syntax through string concatenation. A proposal can preserve the visible happy-path result while removing an essential boundary. In this lesson you review a deliberately unsafe database call and identify the exact changed expression. The workbench accepts a grounded security finding and the bounded repair action. It does not run the SQL or contact a database. In real review, confirm the query API's parameter binding contract in its documentation. Escaping by hand and removing the test are not substitutes for binding values.
A worked artifact for a separate fictional task. Compare its actions with the contract.