Easy
Review raw SQL for injection
The task
This is the brief your AI gets. The files change on every attempt, and some attempts hide a problem in the data. Which ones is not revealed.
Review the database calls in raw_sql_review.csv. keyword, user_id, new_email, uid, st and oid come from user input. Secure coding rule: never put user input into a SQL statement with an f-string or string concatenation; use parameters or the ORM. f-strings in log messages are fine. If a statement is injectable, set status to 'conflict_detected' and put the sql_id in flagged_items. If every statement is safe, keep 'completed'. Return in result: compliant_requests_per_day=<total requests_per_day of the rows that follow the rule>.
- Files you work with
raw_sql_review.csv- Your AI must return
compliant_requests_per_day- Level
- Easy. A good first task: one rule to apply and one thing to verify.
- Time
- About 10 minutes with your own AI. Free, not ranked.
Rooms with this problem
More Software & IT problems
- Check Helm revision conflicts and age Easy
- Audit idle cloud resources and stale pricing Easy
- Check DNS failover TTLs and latency Easy
- Identify top deprecated API endpoint Easy
- Compute CI runner slot capacity Easy
All Software & IT problems → · Using TraceGrade for Software & IT hiring