SkillAgentSearch skills...

Prometheus

Lua Obfuscator written in pure Lua

Install / Use

/learn @prometheus-lua/Prometheus
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

:fire: Prometheus Lua Obfuscator

Test

Prometheus is a Lua obfuscator written in pure Lua. It uses several AST-based transformations including Control-Flow Flattening, Constant Encryption and more.

This project was inspired by the amazing javascript-obfuscator.
It can currently obfuscate Lua51 and Roblox's LuaU, however LuaU support is not finished yet.

You can find the full Documentation including a getting started guide here.

Prometheus has an official Discord server.

<p align="center"> <img src="assets/readme/obfuscation-preview.gif" alt="Prometheus obfuscation process preview" width="900" /> </p>

Installation

To install Prometheus, simply clone the GitHub repository using:

git clone https://github.com/prometheus-lua/Prometheus.git

Alternatively you can download the sources here.

Prometheus also Requires LuaJIT or Lua51 in order to work. The Lua51 binaries can be downloaded here.

Usage

To quickly obfuscate a script:

lua ./cli.lua --preset Medium ./your_file.lua

Example output

-- input.lua
print("Hello, World!");
-- input.obfuscated.lua
return(function(...)local L={"afT6mf1V","/7mJXsuvmE1c/fT3";"tn1ZSn6=","37ghSJM=";"WqermfWAWuuZpb3XX7M=","tqXGSJ3u","XQXpL9x21dxAWJa//p==","SrM=";"3q+5SJM=","/D==";"t7XUt0p=";"mIeOmIx9";"LdgrBfWdWuNABsb+KJxj","SJWJ4dahKsebW7t+KQv=","/cDu3AvP/D==";"Llv7uD==","tJWhFfTE";"TQ43ctIuy9HIop==","mEu93p==";"WJax1sXEXEaxWuxGt6==","t0gPSEp=",...
-- remaining obfuscated output omitted

For more advanced use cases see the Documentation.

Tests

To perform the Prometheus Tests, just run

lua ./tests.lua [--Linux]

License and Commercial Use

Prometheus is licensed under the Prometheus License, a modified MIT-style license. You are free to use, modify, and distribute this software, including for commercial purposes, under the following conditions:

  • Any commercial product, wrapper, or service (including SaaS or hosted solutions) that uses or integrates Prometheus must include clear attribution to:
Based on Prometheus by Elias Oelschner, https://github.com/prometheus-lua/Prometheus
  • The attribution must be visible in the product’s UI, documentation, and public website.
  • The obfuscated output files generated by Prometheus do not need to include any license or copyright notice.
  • Derivative works and public forks must also include a statement in their README noting that they are based on Prometheus.

Full license text: Prometheus License

Related Skills

View on GitHub
GitHub Stars398
CategoryDevelopment
Updated10h ago
Forks185

Languages

Lua

Security Score

85/100

Audited on Mar 30, 2026

No findings