LuaRocks.org had a security incident in September 2026. Read the incident report.

Zod-like data validator for Lua 5.1-5.4 and LuaJIT.

$ luarocks install zigo

zigo keeps the Lua side of every boundary: SQL rows, FFI returns, network
packets, config and user input go through a schema that checks the value and
returns a safe one. Immutable fluent API, structured deterministic errors,
codegen for the valid path, network limits, 64-bit integers, UTF-8, cdata and
NULL sentinels, LuaCATS annotations, and direct interop with matchigo-lua.
Zero dependency.

Versions

1.0.0-12 hours ago0 downloads

Dependencies

lua >= 5.1

Manifests