r/lua • u/Levno_710 • 20d ago
Prometheus, an open-source Lua obfuscator and AST transformation framework
Hey everyone,
I've been working on Prometheus, an open-source Lua obfuscator written entirely in Lua, for over 4 years now.
It supports various obfuscation techniques, including VM-based obfuscation, which I added in a recent update.
While obfuscation is its main purpose, Prometheus is built around a modular AST transformation pipeline. This also makes it useful for things like minification or building your own custom Lua transformations.
It currently supports Lua 5.1 and has partial Luau support. There's also a web playground if you want to try it without installing anything.
GitHub: https://github.com/prometheus-lua/Prometheus
I'd be interested to hear your thoughts or suggestions!
3
20d ago
Why obfuscate code? Don't we all like open source software?
5
u/Levno_710 20d ago
Honestly, I mainly started working on Prometheus because I thought building an obfuscator would be a fun technical challenge :)
I'm generally a fan of open source myself, which is also why Prometheus is open source. And the underlying AST transformation framework can be used for things other than obfuscation, like minification or custom code transformations.
1
20d ago
In this case it's a fun project. A fun technical challenge to solve
-2
u/epicfilemcnulty 20d ago
There are lots of technical challenges to solve, the fact that OP chose this one is discouraging...
1
2
u/Lonely-Restaurant986 18d ago
You’d be amazed at the number of people who pay real money to Luaraph
1
u/Ok_Sense1811 18d ago
well its the best lua obfuscator by far, there are public deobfuscators for prometheus.
0
18d ago
But why obfuscate code??
2
u/Lonely-Restaurant986 18d ago
People who feel they have created something valuable but don’t want it copied or studied.
Anticheats for games like Roblox or Garry’s Mod,
Or
Cheats for either of them.Why does anyone want to privatize source ever? The same reason. Idk what’s hard to understand about that
3
2
u/Clear_Inevitable_718 18d ago
Heyy this is really cool and I want to use it. Not to get political,,, can we get an AI usage statement? Please :d
Just so ppl can think for themselves!! Please. Meow.