A developer has introduced liblzraven — an open-source implementation of the LZRAVEN (COMPRESSION_LZRAVEN) compression codec used in Apple system updates starting from OS 27. The library was written entirely using the Claude AI and has passed strict verification against the original.

image

What Happened

The liblzraven library is implemented in C11 and has been tested via Apple libcompression emulation and differential testing. On Apple Silicon architecture (M4 Pro), the decoder demonstrates speeds of approximately 954 MB/s, which is roughly three times faster than traditional xz (-6).

Context

The LZRAVEN codec is a proprietary Apple standard for data compression in OTA updates. Prior to the release of liblzraven, access to unpacking these updates outside the macOS ecosystem was limited by Apple's closed libraries.

Why It Matters for the Industry

The emergence of an open-source implementation is critical for developers of third-party systems, such as watchOS or Linux tools, that need to work with Apple formats. This case confirms the ability of LLMs to move from generating high-level code to creating complex, high-performance system components and automating reverse engineering processes.

Why It Matters for Users

For developers, this serves as an example of how AI can significantly accelerate reverse engineering and the creation of reliable system components, ensuring a high degree of accuracy through automated verification methods such as fuzzing and differential testing.

Uncertainties / Limitations

There are doubts regarding the readiness of such AI-driven solutions for mass corporate adoption without the implementation of additional rigorous quality control mechanisms.

Sources

Author

Look at AI, Editorial Staff