HF RL Explorer

Evaluates the agent's ability to create a robust XSS filter that removes JavaScript from HTML files while…

Evaluates the agent's ability to create a robust XSS filter that removes JavaScript from HTML files while…: a task in terminal-bench-2.1-fixed: Terminal-Bench 2.1, environment-drift fixes (Harbor dataset). Create a python file /app/filter.py that removes JavaScript from HTML files to prevent XSS…

The task

Create a python file /app/filter.py that removes JavaScript from HTML files to prevent XSS attacks. You should preserve as much of the HTML as possible (e.g., preserve standard formatting, tables, headers, non-dangerous-attributes, etc).

Part of wxzhengberkeley/terminal-bench-2.1-fixed.