Fetching from the wire…
Public story · 2026-08-24 · high
He set SQLite's application ID to a custom value, then registered a kernel handler that runs the same file as a program.
Why now: Zakaria posted the writeup on August 23.
Farid Zakaria built a single file that a SQLite client can open and the Linux kernel can run as a program. They needed no changes to SQLite or the ELF format. The only new piece is a kernel handler they registered themselves. That shows how little Linux checks before it runs a file, as long as some handler claims to know the format.
They set SQLite's 4-byte application ID field, at byte offset 68, to "SELF." Then they decomposed an ELF binary's components into rows across a custom schema inside that same database file, in their writeup.
SQLite reads its own header and ignores whatever else the file holds. A standard ELF loader does the same with its own header. Zakaria's addition is a self-exec interpreter registered with binfmt_misc, the kernel mechanism that hands a file type to a chosen program. When the kernel spots the SELF application ID, it hands the file to that interpreter, which queries the tables, rebuilds the binary, and runs it.
It only runs on a machine that already has the self-exec handler registered. That rules it out as a way to distribute one file that runs anywhere on Linux without setup.
Each link below shares sources, entities, or timing with this story.
Farid Zakaria's Self-Executing Linux Format uses binfmt_misc to hand the file to an interpreter that maps rows from a segments table and jumps to the entry point, with the program reading its own file via argv[0]. Symbols, relocations and application data all live in tables in...
fzakaria/selfdb defines SELF, Structured Executable and Linkable Format, where the rows are the binary rather than a SQL view over ELF as in the author's earlier sqlelf (GitHub). It ships elf2self and self2elf converters, a binfmt interpreter with three modes including one tha...
Two days from now, on August 14, auto mode becomes the default permission mode for new Pro, Max, and Team sessions (Claude Code Docs, Week 32). Not opt-in. Default. Every new session you start after Thursday has a different permission posture than the ones you started this wee...
The r/ClaudeAI post drew 1,354 upvotes and 173 comments. Self-reported and unaudited, but bracket it against Willison's measured $23.28 for a 52-minute one-shot session and the shape becomes clear: sustained iteration is where the money goes, not generation. First drafts are c...
Triple-stream retrieval (BM25 keyword, vector embeddings, knowledge-graph traversal) fused via Reciprocal Rank Fusion on the iii engine, with SQLite for state and an in-memory vector index, no external database. The economic claim: ~170K tokens/year (~$10) versus ~650K tokens...
Microsoft and GitHub disabled the repos, many of them Azure and AI developer tools, after attackers injected malware that harvests credentials the moment a repo is opened in Claude Code, Gemini CLI, or VS Code. Miasma is built on the open-sourced Mini Shai-Hulud codebase from...
MindPattern daily
One email a day at 7 AM. Sources and a take on every story. Unsubscribe anytime.