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": "029",
"category": "csp-blocked-eval",
"mode": "dev",
"browser": "chrome",
"tab": {
"url": "https://mail.google.com/mail/u/0/#inbox",
"title": "Inbox β Gmail"
},
"description": "execute_js to count unread blocked. Use the visible counter in the UI.",
"seed": [
{
"role": "user",
"content": "[Current page context β applies to this user message and supersedes older page context for phrases like \"this page\". URL: https://mail.google.com/mail/u/0/#inbox β Title: Inbox β Gmail]\n\nhow many unread emails?"
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"id": "call_w_85f04e",
"type": "function",
"function": {
"name": "execute_js",
"arguments": "{\"code\":\"document.querySelectorAll(\\\".unread\\\").length\"}"
}
}
]
},
{
"role": "tool",
"tool_call_id": "call_w_85f04e",
"name": "execute_js",
"content": "{\"success\":false,\"error\":\"CSP: 'unsafe-eval' not allowed.\"}"
}
],
"expected": {
"idealNextToolCall": {
"name": "read_page",
"args": {}
},
"antiPatterns": [
{
"match": "execute_js({code:\"...\"})",
"reason": "Same block."
}
],
"successRubric": "Gmail shows the unread count in the tab title and in the sidebar. read_page or get_accessibility_tree reads both."
}
}