📖 Step 7: Testing & Quality#464 / 498
SQL Injection
SQL Injection
📖One-line summary
An attack that slips SQL into input fields to read or tamper with the database without permission.
✨Example
// SQL 인젝션
✓ 입력값에 SQL 구문을 끼워 넣어 데이터베이스를 무단으로 조회·조작하는 공격
Tests: 1 passed
⚡Vibe coding prompt examples
>_
Fix this search API that builds queries by string concatenation to use parameter binding (prepared statements).
>_
Explain how to audit places using Supabase RPC and raw SQL for possible SQL injection.
>_
Show how SQL injection happens with a login-form example, and explain why using an ORM prevents most of it.
Try these prompts in your AI coding assistant!