CyberStark
CyberStark
Get a Quote

AI Browser Agents Can Be Hijacked Mid-Task: What the BragJack Attack Means for UK Small Businesses

21 September 2026 · 5 min read

Person reviewing AI assistant activity on a laptop with multiple browser sessions open on a desk

Photo by Kari Shea on Unsplash

If your business uses an AI tool that can browse websites, fill in forms, or carry out tasks online while you focus on something else, you need to understand what BragJack is. Security researchers have documented a technique that can take over an AI browser agent mid-task and redirect what it does, without triggering any obvious warning and without you ever knowing it happened.

This is not a theoretical edge case. It is a practical, repeatable attack on a category of tools that UK small businesses are adopting quickly, often without the same security scrutiny they would apply to a new piece of software or a new staff account.

What is an AI browser agent?

A browser agent is an AI that can operate a web browser the way a person would. It opens pages, reads content, clicks buttons, fills in forms, logs into accounts, and works through multi-step tasks autonomously. You give it a job and it handles the steps. Research a supplier, pull together a price comparison, summarize a thread, process a booking. Useful, and getting more capable month by month.

The risk that comes with that usefulness is straightforward once you say it plainly: the agent has access to whatever your browser can access. Your email. Your cloud storage. Your supplier portals. Your finance platform. If you are logged in, the agent can reach it. That access is the point. It is also the attack surface.

How BragJack works

BragJack exploits a weakness in how AI agents process the content they encounter while working. An attacker embeds hidden instructions into a web page, a document, or any other content the agent reads during a task. The AI processes that content, and because it is built to read text and act on instructions, it follows what it finds there. The agent now has two sets of instructions: yours, and the attacker's. In a successful BragJack attack, the attacker's win.

The underlying technique is called prompt injection. You may have seen it discussed in the context of chatbots being manipulated through clever phrasing. This is more dangerous because the instruction does not come from a user typing something suspicious. It comes from a page the agent visits while doing legitimate work. A compromised third-party website, a maliciously crafted supplier document, even an email thread the agent is asked to summarize could all carry the payload.

We have covered the broader shift toward autonomous AI tools before, including what agentic AI cyber threats mean for small businesses in practice. BragJack is what that threat looks like when it moves from concept to documented technique.

What an attacker can actually do with this

The specific impact depends on what the agent can access during the compromised session, but researchers working on this class of attack have identified scenarios that include:

  • Copying files, emails, or contact data and sending them to an external address
  • Changing account recovery settings to hand an attacker persistent access later
  • Initiating orders, transfers, or requests the business owner never authorized
  • Logging session tokens that allow the attacker to return to the account independently
  • Gathering information about internal systems, suppliers, or staff that makes follow-on attacks easier

None of this requires breaking down a door. The attacker just needs to get their instructions in front of your AI agent. The agent does the rest, with the legitimate access you already gave it.

What UK small businesses should do right now

Agentic AI security is still a developing area and there is no single control that neutralizes BragJack entirely. But there are sensible, practical steps worth taking today.

Treat AI agents like privileged users. If a new member of staff had simultaneous access to your email, cloud storage, and supplier portals, you would want oversight and limits on what they could do without a second approval. Apply the same logic to AI agents. Limit each agent's access to what it genuinely needs for the task in front of it, not everything it could possibly reach.

Do not run agents on long-lived sessions with broad permissions. The more an agent can access, the more an attacker can redirect it toward. Short-lived, scoped sessions reduce what is at risk if something interferes with the agent's instructions.

Treat unexpected agent behaviour as a signal, not a glitch. If an AI tool has done something you did not ask for, acted strangely on a task, or produced output that does not match what you expected, investigate rather than dismiss it. Unusual behaviour is often the first visible sign that instructions have been tampered with.

Make sure your team understands how this works. People who know that AI tools can be fed malicious instructions through web content are better placed to spot suspicious outputs and flag them. Security awareness training that covers AI-specific risks is moving from optional to necessary as these tools become embedded in day-to-day work.

Keep your endpoint and network controls current. Prompt injection happens at the application layer, so your existing controls will not intercept it directly. But DNS-level threat filtering reduces the number of malicious sites an agent could ever reach, which shrinks the opportunity for a BragJack payload to land in the first place. Fewer bad pages means fewer chances for injected instructions to reach your agent.

The wider point

BragJack is not a reason to pull AI tools out of your business. It is a reason to deploy them with the same security thinking you would apply to any other tool that holds a set of your passwords and has a login to your accounts. The attack surface has expanded because the capabilities have expanded. That is not new in security terms. It just requires the response it has always required: know what access you have granted, reduce it where you can, and pay attention to what happens when that access is used.

If you are unsure how your current security posture applies to AI tool activity in your business, talking to a specialist is a practical starting point. You cannot protect access you have not mapped.

FAQ

Common questions

BragJack is a technique that hijacks AI browser agents by embedding malicious instructions inside web content the agent reads during a task. The AI follows those instructions instead of, or in addition to, the ones you gave it. The result is that the agent can be redirected to steal data, change account settings, or take actions you never authorized, without you seeing any obvious sign that something went wrong.

If the AI tool you use can browse the web, open documents, or interact with online accounts on your behalf, then yes, you are in the category of users this attack targets. The risk is higher when the agent has broad access and runs on sessions where you are logged into sensitive accounts. Limiting what the agent can reach, and keeping an eye on what it actually does, reduces your exposure.

That is part of what makes BragJack particularly concerning. There may be no obvious sign. The agent continues to complete its task while also carrying out the attacker's instructions in the background. Things to watch for include unexpected account activity, files or emails being moved or forwarded without your instruction, settings changes you did not make, and agent outputs that do not quite match what you asked for.

Not directly. Prompt injection attacks happen at the application layer, inside the AI tool itself, so traditional endpoint controls do not intercept them. That said, DNS-level filtering can block access to known malicious sites before the agent reaches them, which removes some of the routes an attacker could use to deliver the payload. Keeping all endpoint security tools current is still worthwhile because it reduces the overall attack surface around your devices.

No, but they should use them carefully. Apply the same principle you would to any tool that has access to your accounts: limit permissions to what is actually needed, use short-lived sessions, and stay alert to unexpected behaviour. The answer to a new class of risk is not to avoid the technology. It is to deploy it with your eyes open and your controls in place.

Get certified in as little as 5 days

Tell us a little about your organisation and we'll send an itemised quote, no obligation, no sales call required to get pricing.

We use essential cookies to make this site work (e.g. keeping your quote calculator session active), and, only if you accept, Google Analytics and the Meta (Facebook) Pixel for analytics and advertising measurement. See our Cookie Policy for details.