HeadlinesBriefing favicon HeadlinesBriefing.com

Crazierl: Browser-Based Erlang OS Demo Sparks Security Concerns

Hacker News •
×

A new experimental operating system called Crazierl lets users run Erlang distributions directly in browsers via the v86 emulator. Developed as a hobby project, it enables basic networking between nodes using hashtags and a consent checkbox, with a simple chat app accessible via `chat:start()`. The demo relies on Apache-licensed code and runs on emulated x86 hardware, though performance remains sluggish on mobile devices. While functional, the project highlights Erlang's legacy VGA dependencies and concurrency issues under stress.

The system supports SMP configurations but becomes unstable with high core counts in QEMU, exposing potential kernel bugs. Networking via gen_tcp_dist uses plaintext communication, raising red flags for security-conscious users. Erlang core team member Jhogberg warned against exposing such systems to untrusted networks, emphasizing the lack of encryption and authentication. The browser demo routes traffic through relay.widgetry.org, a third-party service outside the project's control.

Technical constraints include 32-bit x86 architecture, BIOS boot requirements, and limited NIC driver support (virtio-net and Realtek 8168). Despite these limitations, the project demonstrates Erlang's potential for distributed clusters in controlled environments. Commenters noted the irony of running an esoteric OS in a browser while acknowledging its educational value for understanding distributed systems.

Crazierl's existence underscores the niche appeal of hobbyist Erlang projects. While not production-ready, it offers a tangible way to explore BEAM virtual machine internals. Users are urged to avoid sharing sensitive data, as v86 VM escapes could theoretically compromise browser sessions. The project remains a curiosity for enthusiasts rather than a practical tool.