Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics Security

Memory safety

Memory-safety bugs and mitigations, safe languages for security.

Search within Memory safety, or combine it with other topics →

2026

ClickHouse

Memory safety for Postgres extensions in C/C++

Case study 4 min +40 XP

Postgres's palloc/MemoryContext allocation and setjmp/longjmp-based error handling clash with C++ new/delete, destructors and exceptions: longjmp skips destructors (undefined behavior), exceptions bypass PG_CATCH, and an uncaught exception aborts the process and forces cluster-wide crash recovery.

Calif

Apple MIE exploitation challenge

Deep dive 8 min +80 XP

A public bypass of Apple MIE on macOS 26.4.1 chains two kernel bugs: an SMB create-context type confusion (CVE-2026-64704) in which a malicious server replies with a lease context and the parser reinterprets the client's Resolve ID object as a lease, and a WebDAV information leak (CVE-2026-64699) where the kext copies the full requested length from an uninitialized buffer after accepting an empty successful HTTP response.

Calif

Journey to Root, Episode I: The Maglev King

Research 46 min +460 XP

A three-person team used AI assistants to discover and weaponize a five-vulnerability Google Chrome exploit chain, including a Maglev representation-confusion bug that causes incorrect write-barrier elision, a JavaScript Promise Integration sandbox escape, and an ExternalOneByteString information leak.

2024

2023

2022

Undated

Project Naptime: Evaluating Offensive Security Capabilities of Large Language Models

Research 25 min +250 XP

Project Naptime is Google Project Zero's LLM agent framework for vulnerability research, built on a few principles: room for reasoning, an interactive environment, specialised tools (code browser, sandboxed Python, an AddressSanitizer-instrumented debugger, and a reporter), automatic crash-based verification, and sampling over many independent trajectories.

The quest for software engineering knowledge.

Look:
Layout: