t2-p2-06draft3–5h
Injection protection, proven by test
requires: t2-p2-05
Spec
Audit every endpoint for SQL injection - it should already be safe via parameterised queries, so verify with a test - and sanitise user-generated content rendered elsewhere, such as comment bodies.
Why this matters
"We use an ORM so we're safe" is usually true and occasionally catastrophically false, at exactly the one place someone dropped to raw SQL. A test is the difference between believing and knowing.
Verify
No result yet. Run `learn verify t2-p2-06` locally, or push to trigger CI.
contract
unrun