Skip to content
Lua Sandboxing

Lua Sandboxing

opencollective.com • September 28, 2026

into Lux as our VM for executing untrusted Lua scripts. Today that PR was merged! 🎉🎉

With constant attacks on NPM and even recent attacks on less popular repositories like Emacs's MELPA, security is becoming more vital every day. As of v0.26.0, all rockspecs and manifests are placed in a

, guarded from malicious bytecode, filesystem/network access, DoS attacks, evil dynamic libraries and more!

In the future, we'd like to pair Lux with native support for

, our WIP package hosting for Lua packages. Luanox is built with

and zero-trust in mind - it's even resilient against a

of our internal databases as we don't store API keys nor other sensitive data.

Another positive effect of this change is that we no longer rely on mlua. This means that we can package Lux more easily for all platforms, and it now allows us to automatically download the appropriate version of the Lux loader for use in Lua REPLs.

We're always committed to ensuring security and usability in Lux. Stay safe and cheers to the release 🍻

Extracted Entities

Attack Types (1)