PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing.

Are AI Browser Extensions Putting You at Risk? Prompt Injection Attacks Explained

AI agents that can control and read data from an internet browser are also susceptible to obeying malicious text circulating in web content.

 & Michael Kan Principal Reporter

Our team tests, rates, and reviews more than 1,500 products each year to help you make better buying decisions and get more from technology.

Our Expert
LOOK INSIDE PC LABS HOW WE TEST
65 EXPERTS
43 YEARS
41,500+ REVIEWS

Be careful around AI-powered browsers: Hackers could take advantage of generative AI that's been integrated into web surfing.

Anthropic warned about the threat on Tuesday. It's been testing a Claude AI Chrome extension that allows its AI to control the browser, helping users perform searches, conduct research, and create content. But for now, it's limited to paid subscribers as a research preview because the integration introduces new security vulnerabilities. Claude has been reading data on the browser and misinterpreting it as a command that it should execute. 

(Credit: Anthropic)

These “prompt injection attacks” also mean a hacker could secretly embed instructions in web content to manipulate the Claude extension into executing a malicious request.

“Prompt injection attacks can cause AIs to delete files, steal data, or make financial transactions. This isn't speculation: we’ve run ‘red-teaming’ experiments to test Claude for Chrome and, without mitigations, we’ve found some concerning results,” Anthropic says.

Anthropic’s investigation involved “123 test cases representing 29 different attack scenarios,” which resulted in a 23.6% success rate through the prompt injections. For example, one successful attack used a phishing email to demand that all other emails in the inbox be deleted. “When processing the inbox, Claude followed these instructions to delete the user’s emails without confirmation,” the company says. 

(Credit: Anthropic)

Although Anthropic has since implemented a fix, the mitigations only reduced the rate of a successful prompt injection attack from 23.6% to 11.2%. Its findings also suggest hackers could pull off even scarier attacks if the AI is granted control of the computer itself. 

The company performed another set of “four browser-specific attack types,” which found that the mitigations were able to reduce the attack success rate from 35.7% to 0%. Still, Anthropic will not release the extension beyond the research preview, citing the need for more threat testing. “New forms of prompt injection attacks are also constantly being developed by malicious actors,” the company notes. 

Anthropic published the findings a week after Brave Software also warned about the threat of prompt injection attacks on Perplexity’s AI-powered Comet browser. In the company’s testing, Brave found that Comet was susceptible to the attack if the user asked it to summarize a web page that had malicious instructions embedded in it. 

(Credit: Brave)

“The malicious instructions could even be included in user-generated content on a website the attacker doesn’t control (for example, attack instructions hidden in a Reddit comment). The attack is both indirect in interaction and browser-wide in scope,” Brave says.

Brave says Perplexity “still hasn’t fully mitigated the kind of attack" despite an attempt to patch it. However, Perplexity tells PCMag the flaw has been fixed.

"We have a robust security program and worked with Brave to identify and repair the vulnerability. No users attempted the malicious prompt prior to fixing the vulnerability, although many have attempted malicious acts since Brave's publicity tour. None of those have succeeded," Perplexity says.

Still, other critics, such as software engineer Simon Willison, have called out agentic browser extensions as “fatally flawed” due to the prompt injection vulnerability.

According to him, the heart of the problem is that for an LLM, trusted instructions and untrusted content are merged into the same token sequence, and to date, "nobody has demonstrated a convincing and effective way of distinguishing between the two.

“In the absence of 100% reliable protection, I have trouble imagining a world in which it's a good idea to unleash this pattern,” he adds

However, Perplexity says: "As an industry, all AI companies take this very seriously and enjoy a collaborative effort reporting and fixing vulnerabilities. Like any cybersecurity work, this will be an ongoing and increasingly sophisticated battle."

About Our Expert

Michael Kan

Michael Kan

Principal Reporter

My Experience

I've been a journalist for over 15 years. I got my start as a schools and cities reporter in Kansas City and joined PCMag in 2017, where I cover satellite internet services, cybersecurity, PC hardware, and more. I'm currently based in San Francisco, but previously spent over five years in China, covering the country's technology sector.

Since 2020, I've covered the launch and explosive growth of SpaceX's Starlink satellite internet service, writing 600+ stories on availability and feature launches, but also the regulatory battles over the expansion of satellite constellations, fights with rival providers like AST SpaceMobile and Amazon, and the effort to expand into satellite-based mobile service. I've combed through FCC filings for the latest news and driven to remote corners of California to test Starlink's cellular service.

I also cover cyber threats, from ransomware gangs to the emergence of AI-based malware. In 2024 and 2025, the FTC forced Avast to pay consumers $16.5 million for secretly harvesting and selling their personal information to third-party clients, as revealed in my joint investigation with Motherboard.

I also cover the PC graphics card market. Pandemic-era shortages led me to camp out in front of a Best Buy to get an RTX 3000. I'm now following how the AI-driven memory shortage is impacting the entire consumer electronics market. I'm always eager to learn more, so please jump in the comments with feedback and send me tips.

The Best Tech I've Had:

  • My first video game console: a Nintendo Famicom
  • I loved my Sega Saturn despite PlayStation's popularity.
  • The iPod Video I received as a gift in college
  • Xbox 360 FTW
  • The Galaxy Nexus was the first smartphone I was proud to own.
  • The PC desktop I built in 2013, which still works to this day.

Read full bio