BragJack attacks hijack AI browser agents through malicious extensions
A researcher demonstrated a technique to hijack AI browser assistants using a single malicious extension, earning bug bounties and producing two CVEs.
Overview
A security researcher named Gal Weizman found a way to take control of AI assistants built into popular web browsers using a single malicious extension. This technique, called BragJack, works against five different browser systems, including those from Google, Microsoft, and Anthropic. The attack works because these AI tools have a brain that makes decisions and a body that performs actions like reading web pages or taking screenshots. The malicious extension uses a feature called declarativeNetRequest to change how the browser handles network requests, which lets it bypass normal security blocks. By doing this, the extension can run code inside the AI system without the user doing anything, giving it access to sensitive information like local files, cameras, and microphones.
Terms in this story
- proof-of-concept
- A working sample of code or steps that shows a reported security flaw can really be triggered. When researchers publish a proof-of-concept for a new bug, defenders can test their own systems, but criminals also watch for that code and adapt it for real attacks.
- Prompt
- The text instruction or question a user or program sends to an artificial intelligence model. In AI security news, a prompt includes both the visible question typed by a user and the hidden instructions that an attacker might embed in a web page.
- CVEs
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- browser extension
- A small add-on program installed inside a web browser to add features like ad blocking. Because a browser extension can often read and change every web page you visit, attackers buy or hijack legitimate extensions to steal session cookies and passwords.
- privileges
- The level of authority an account or process has to change settings, read files, or run commands. Ordinary user accounts run with limited privileges so a single mistake cannot break the operating system, whereas administrator privileges allow installing drivers and viewing all files.
- exploit
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- scripts
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- JavaScript
- The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
- AI agents
- Artificial intelligence software that can plan steps, call tools, and take actions on its own. Many stories cover agentic AI when companies connect language models to email, browsers, and databases, creating new risks if a hidden prompt tricks the agent into leaking data.
- domains
- The human-readable name for a website or a centrally managed group of workplace computers. In security stories, domain refers either to a web address that criminals register for phishing or to an organization's internal computer network managed by a central server.
- redirect
- A web flaw where a trusted site accepts an outside URL parameter and forwards visitors there. Attackers abuse an open redirect on a well-known website so the link in their email starts with a trusted domain name before forwarding the victim to a fake login page.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the BleepingComputer website. Cite the article, not this page.
Read the full article on BleepingComputer (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"Security researcher Gal Weizman of Forever Security has disclosed a new attack technique..." Found by reading the article; these exact words are in it - Who is affected: "...five Chromium-based browsers or browser assistants..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"......earned over $20,000 in bounties and two CVEs." Found in the opening sentences - Security+ 4.3 Explain various activities associated with vulnerability management.
"......earned over $20,000 in bounties and two CVEs." Found in the opening sentences - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"......Gal Weizman, hijacks the AI assistants in Chrome, Edge, Opera Neon, Perplexity Comet, and..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"......earned over $20,000 in bounties and two CVEs." Found in the opening sentences - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"BragJack attacks hijack AI browser agents through malicious extensions..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of AI security risks, threats, and vulnerabilities and potential risk mitigation solutions.
"AI assistants built into popular browsers..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- BragJack Attack Hijacks AI Assistants in 5 Popular Browsers With Zero Clicks
- BragJack Attack Lets Malicious Extensions Hijack AI Agents Across 5 Major Browsers