Open-source AI browser agent for Chrome and Firefox (monorepo) ðŸ§
JavaScript ai-agentai-agentsai-toolsbrowser-aibrowser-automationbrowser-extensionchrome-aichrome-devtoolschrome-extensionchrome-extensionsfirefox-addonfirefox-addonsfirefox-extensionfirefox-extensionsgemmagemma4minimaxoffline-aioffline-llmqwen
{
"id": "028",
"category": "csp-blocked-eval",
"mode": "dev",
"browser": "chrome",
"tab": {
"url": "https://example.com/form",
"title": "Form"
},
"description": "execute_js to programmatically click hidden file input blocked. Use the upload tool.",
"seed": [
{
"role": "user",
"content": "[Current page context — applies to this user message and supersedes older page context for phrases like \"this page\". URL: https://example.com/form — Title: Form]\n\nupload /tmp/photo.jpg"
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"id": "call_v_88f053",
"type": "function",
"function": {
"name": "execute_js",
"arguments": "{\"code\":\"document.querySelector(\\\"input[type=file]\\\").click()\"}"
}
}
]
},
{
"role": "tool",
"tool_call_id": "call_v_88f053",
"name": "execute_js",
"content": "{\"success\":false,\"error\":\"CSP: 'unsafe-eval' not allowed.\"}"
}
],
"expected": {
"idealNextToolCall": {
"name": "get_interactive_elements",
"args": {}
},
"antiPatterns": [
{
"match": "execute_js({code:\"input.click()\"})",
"reason": "Same block; also clicking a hidden file input won't open the OS picker reliably anyway."
}
],
"successRubric": "Find the upload trigger via get_interactive_elements and call upload_file (if available) or click the visible upload button."
}
}