Using a SQLite database file as an executable binary on Linux

Simon Willison · rss · 2026-08-24

Simon Willison highlights a neat Linux pattern where a SQLite database file functions as an executable binary. By setting the application ID to SELF and storing ELF components in tables, a custom C interpreter can extract and run the code. This can be integrated with the kernel via binfmtmisc.

Original post →

More from Infra

Infra channel →