Hard
Check enforced CSP default-src wildcards
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 csp_policies.json. Rule: enforced policies (report_only = false) must not use wildcard default_src '*'. Report-only policies may use '*' during testing. If an enforced policy uses '*', set status to 'conflict_detected' and put its policy_id in flagged_items. Otherwise keep 'completed'. Return in result: enforced_route_count=<count of compliant enforced policies>.
- Files you work with
csp_policies.json- Your AI must return
enforced_route_count- 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
Wednesday 25/11 update on counting compliant enforced CSP policies. When counting, skip report_only policies and leave the beta zone out of the reported count. Someone asked whether to drop the eu zone too; we declined, so keep it in. Still check wildcard default-src rules across all policies.
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