Skip to content
AI / LLM Write-up Beginner

Hacking Google Bard

The author used prompt injection techniques to trick Google Bard into writing phishing emails, revealing its own prompt, generating malicious code, and bypassing its safety filters. The text claims these attacks worked but provides no technical details beyond screenshots.

Harish SG Follow

Published on infosecwriteups.com

I am Harish SG, a security researcher who studies Masters in Cybersecurity at UT Dallas,previously hunted on the Microsoft Bug Bounty Program and Google VRP.

Harish SG, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the LLM lacked robust safeguards against adversarial prompts, allowing users to bypass safety filters through role-play, obfuscation, and instruction splitting.

Impact

An attacker could use these techniques to generate phishing content, extract non-sensitive information, or produce malicious code, though the text does not demonstrate access to sensitive data or real-world harm.

What the attacker needed

Access to Google Bard

The fix

The text suggests using guardrails to secure AI against prompt injection, but does not state that a specific fix was applied.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A large language model (LLM) like Google Bard is an AI that generates text. Prompt injection is when someone crafts input that makes the AI ignore its safety rules and do something it shouldn't, such as writing a phishing email or revealing hidden instructions. This article shows several such tricks but doesn't explain exactly how they were done.

What is AI / LLM?

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.

More by Harish SG

View all

10 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

AI and LLM vulnerabilities

The lesson behind this report.

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.