Simon Willison

How We Took Over ChatGPT Accounts

Read the original on Simon Willison →

Parameter Labs discovered a complex exploit in ChatGPT’s handling of interactive custom HTML apps, which were displayed in a sandboxed iframe. The attack chain leveraged the MathLive library’s virtual keyboard, postMessage communication, and OpenAI’s CSP rules to inject malicious HTML and eventually execute JavaScript via a YouTube oEmbed endpoint. With JavaScript execution, the attacker could fetch and exfiltrate private user data or perform actions on behalf of the user through a crafted share URL.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Simon Willison.

Simon Willison
Oct 6

EmbeddingGemma 2

Simon Willison comments on EmbeddingGemma 2, noting its Apache 2.0 license and expressing preference for open‑weight models over proprietary, hosted‑only options. He argues that embedding models are often used to generate and store large numbers of vectors, and a closed model could force costly re‑embedding if the vendor discontinues service. Willison prefers a hosted solution that allows him to switch to the open‑weight version if needed.

Simon Willison
Oct 26

webframe: evaluated as a scraper and a sandbox

webframe is a Go‑based tool that runs a web page in a hidden headless browser and streams console output and errors to the terminal. It uses the glaze library to access native browser engines (WKWebView, WebKitGTK, WebView2) without bundling its own engine, making it lightweight compared to tools like Playwright. The author evaluated it as both a sandboxing solution and a web‑scraping utility, comparing it to his own shot‑scraper JavaScript tool.

Simon Willison
6d ago

External sandboxes for coding agents

Simon Willison describes a new external sandbox pattern for coding agents, where the agent runs outside a dedicated sandbox while its code executes inside one. He released three sandbox server implementations—external-sandbox-v86 (Node.js + v86), external-sandbox-container (Python + Alpine Linux in Apple Containers), and external-sandbox-quicksand (Python + Microsoft’s Quicksand library)—all exposing the same localhost API. The sandboxes also offer an optional HTTP/HTTPS allow‑list proxy and a credential‑replacement mechanism to control network access and secure API calls.

Simon Willison
Sep 17

Be alert: targeted attacks on prominent Rustaceans

The article warns of a targeted campaign against prominent Rust developers and crate owners, aiming to compromise their devices and accounts to publish malware. Attackers use seemingly legitimate video calls to trick targets into installing malicious software or executing commands, such as a fake audio codec or clipboard command. A recent supply‑chain attack on the array‑ref crate illustrates the threat, and the author suggests using dependency cooldowns as a defensive measure.

arXiv Machine Learning
Oct 3

The Innocent Courier: Covert Exfiltration Through Legitimate LLM Web Fetching

The paper introduces LLMLeak, a covert exfiltration technique that exploits Large‑Language‑Model (LLM) web‑fetching capabilities to transmit confidential data. By embedding a secret into a URL and presenting the corresponding website as part of a legitimate task, the malicious client tricks the LLM into fetching the URL, thereby leaking the secret to an attacker‑controlled server. Experiments on eleven open‑parameter models show a 79.7% success rate, and a real‑world case study confirms the attack’s practicality.

By Alessandro Pegoraro, Daryan Merx, Phillip Rieger, Ahmad-Reza Sadeghi