From vulnerability to prevention
A teammate flags that ShelfLife's book search endpoint might be vulnerable: it builds a database query by dropping user input directly into an SQL string.
You want to use Copilot to fix the immediate problem, check whether similar issues exist elsewhere, and make sure the pattern doesn't come back.
This exercise is part of the course
Software Development with GitHub Copilot
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise