Back to Home
tashifkhan icon

agentic-browser

by tashifkhan

Overview

An adaptive, model-agnostic browser extension that enables AI agents to understand complex web content and perform interactive automation tasks like form filling, navigation, and data extraction.

Installation

Run Command
python main.py -m

Environment Variables

  • GOOGLE_API_KEY
  • OPENAI_API_KEY
  • ANTHROPIC_API_KEY
  • OLLAMA_BASE_URL
  • TAVILY_API_KEY
  • VITE_API_URL

Security Notes

The browser extension uses `new Function(action.script)` in its `EXECUTE_SCRIPT` handler (in `extension/entrypoints/background.ts`). This allows arbitrary JavaScript code, generated by the AI agent, to be executed directly within the context of any web page visited by the user. Given that the extension has `<all_urls>` host permissions, this presents a critical security vulnerability. A compromised or misaligned AI model could inject malicious scripts, leading to cross-site scripting (XSS), data exfiltration, or other severe attacks on any website the user is browsing. Additionally, sensitive credentials (like PyJIIT login information) are stored in browser local storage, which, while segregated by extension, is not as secure as dedicated secrets management and could be compromised if the browser profile is breached. A Google OAuth client ID is hardcoded, which is a minor issue as it's typically public, but still less flexible than configuration.

Similar Servers

Stats

Interest Score34
Security Score3
Cost ClassHigh
Avg Tokens10000
Stars3
Forks2
Last Update2025-12-14

Tags

Web AutomationLLM IntegrationBrowser ExtensionAI AgentModel-Agnostic