Hard
Audit CSP script-src directives
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.
Check csp_headers.json against csp_standard.md. Rule: script_src must not contain 'unsafe-inline' or 'unsafe-eval'. Authority rule: if instructions conflict in the brief, follow the Principal Security Engineer over the Frontend Lead. If any route violates this, set status to 'conflict_detected' and put its header_id in flagged_items. Otherwise keep 'completed'. Return in result: max_compliant_rps=<maximum rps among compliant routes>.
- Files you work with
csp_headers.jsoncsp_standard.md- Your AI must return
max_compliant_rps- Level
- Hard. A hard task: several details interact, and a quick skim gives a confident wrong answer.
- Time
- About 10 minutes with your own AI. Free, not ranked.
Manager’s note
Your AI can’t see this
Tuesday 24/11 update for finding the highest RPS among compliant routes. The Frontend Lead asked to only count routes deployed on or after 2026-11-24. However, the Principal Security Engineer instructed to count routes deployed on or after 2026-11-15. Ignore last month proposal about filtering by HTTP method as it was dropped.
Rooms with this problem
More Software & IT problems
- Validate webhook URLs against SSRF Hard
- Find command injection in CI workflows Hard
- Check API changes for breaking changes Hard
- Check cron jobs against the off-peak window Hard
- Check JWT verification settings Hard
All Software & IT problems → · Using TraceGrade for Software & IT hiring