Validate webhook URLs against SSRF
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 webhook targets in webhook_targets.csv. resolved_ip is the address the host name resolves to. SSRF rule: a webhook must not resolve to a loopback, private or link-local address: 127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12 (172.16 to 172.31), 192.168.0.0/16 or 169.254.0.0/16. If a webhook resolves into one of those ranges, set status to 'conflict_detected' and put the webhook_id in flagged_items. If every target is public, keep 'completed'. Return in result: compliant_calls_per_day=<total calls_per_day of the rows that follow the rule>.
- Files you work with
webhook_targets.csv- Your AI must return
compliant_calls_per_day- 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.
Rooms with this problem
More Software & IT problems
- 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
- Find the bugs in a Python function Hard
All Software & IT problems → · Using TraceGrade for Software & IT hiring