HF RL Explorer

Task: JSON Security Scanner for Top-Level Array Vulnerability

Task: JSON Security Scanner for Top-Level Array Vulnerability: a task in Terminal-Lego-15k (Harbor dataset). Top-level JSON arrays represent a historical security vulnerability. When a JSON API response returns a top-level array (e.g., {"id":1,"secret":"data"} ) instead of a wrapped object (e.g…

The task

Top-level JSON arrays represent a historical security vulnerability. When a JSON API response returns a top-level array (e.g., `[{"id":1,"secret":"data"}]`) instead of a wrapped object (e.g., `{"results":[{"id":1,"secret":"data"}]}`), it was historically exploitable via JSON hijacking. Attackers could override the…

Part of PrimeIntellect/Terminal-Lego-15k.