Plugin Vulnerabilities: Visit a Website and Have Your Source Code Stolen
The text describes a class of vulnerability in ChatGPT plugins where a malicious prompt can cause a plugin to act on the attacker's behalf, leading to source code theft. An attacker could use prompt injection to make a plugin impersonate the user and exfiltrate private data such as source code.
embracethered.com
Published on embracethered.com
In particular powerful plugins that can impersonate a user are not getting the required security scrutiny, or a general mitigation at the platform level.
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 platform does not sufficiently isolate plugin actions from untrusted content, so injected instructions can direct a plugin to act with the user's authority.
What the attacker needed
Victim uses a vulnerable plugin; attacker controls content the AI reads
The fix
The platform should add general mitigations and require stronger security review for powerful plugins that can impersonate a user.
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.
ChatGPT plugins are add-ons that let the AI do things like browse websites or read files. A prompt injection is when hidden instructions in a web page or document trick the AI into following the attacker's commands instead of yours. Here, that trick could make a plugin hand over your private source code to an attacker.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.