Using GitHub Spark to reverse engineer GitHub Spark

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Spark's leaked system prompt reveals its architecture (Claude-style tooling, Azure OpenAI models, container environment), and its key/value store has serious authorization flaws.

Read this as

GitHub Spark is a new tool that builds a working web app from a plain-language prompt, similar to Claude Artifacts and Lovable. Unlike rivals, its apps come with GitHub login, a simple built-in database, and the ability to run AI prompts charged to the visiting user rather than the app builder. Simon Willison used Spark itself to extract and publish its hidden instructions as a documentation site.

GitHub Spark, in public preview since July 2025 for Copilot Pro subscribers, competes with Claude Artifacts, Lovable, Vercel v0 and Val Town. Willison's reverse engineering exposes two risks for builders: the shared key/value store can be modified or deleted by any signed-in GitHub user, and LLM costs fall on the visiting user. Teams evaluating prompt-to-app tools should note the platform is Debian running on Azure with GPT-4o models.

Spark generates client-side React/TypeScript apps with GitHub-authenticated identity, a server-side key/value store, and prompt execution via Azure OpenAI (GPT-4o and GPT-4o mini only). Willison extracted the system prompt and tools: a str_replace_editor matching Anthropic's Claude text editor tool, npm, bash (Debian 12, 4 AMD EPYC cores, 15 GB RAM, 31 GB disk), and create_suggestions. Each prompt became a commit in his public repo; building outside Spark fails on the private @github/spark library.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

GitHub Spark Simon Willison Claude Artifacts Azure OpenAI GPT-4o Vercel v0 Claude Code

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading