登录 注册
其他
537
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Lua
语言
—
创建时间
最近更新

项目能做什么

纯 Lua 编写的 Lua 代码混淆器。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<div align="center">

<img width="100%" src="https://capsule-render.vercel.app/api?type=waving&height=180&color=gradient&text=Prometheus&fontAlign=50&fontAlignY=35&fontSize=42&desc=Lua%20Obfuscator%20%E2%80%A2%20AST%20Transformations%20%E2%80%A2%20Control%20Flow%20Obfuscation&descAlign=50&descAlignY=60" />

<a href="https://github.com/prometheus-lua/Prometheus">
  <img src="https://readme-typing-svg.demolab.com?font=JetBrains+Mono&weight=600&size=24&duration=2500&pause=900&center=true&vCenter=true&width=760&lines=Pure+Lua+Obfuscation;AST+Transforms+%E2%80%A2+Encryption+%E2%80%A2+Anti-Tamper;Lua+5.1+and+LuaU+support;Built+for+code+protection" alt="Typing SVG" />
</a>

<br/>

<a href="https://prometheus-lua.github.io/Prometheus/">
  <img src="https://img.shields.io/badge/Playground-Try%20Out-0F766E?style=for-the-badge&logo=github&logoColor=white" alt="Open Prometheus Playground" />
</a>
<a href="https://github.com/prometheus-lua/Prometheus/actions/workflows/Test.yml">
  <img src="https://img.shields.io/github/actions/workflow/status/prometheus-lua/Prometheus/Test.yml?branch=master&style=for-the-badge&label=Tests" alt="Tests" />
</a>
<a href="https://github.com/prometheus-lua/Prometheus/stargazers">
  <img src="https://img.shields.io/github/stars/prometheus-lua/Prometheus?style=for-the-badge&logo=github&label=Stars" alt="GitHub stars" />
</a>
<a href="https://discord.gg/U8h4d4Rf64">
  <img src="https://img.shields.io/badge/Discord-Join%20Server-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="Discord server" />
</a>

</div>

---

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

**Prometheus** is a Lua obfuscator written in pure Lua.

It applies a range of **AST-based transformations** to make source code significantly harder to read, analyze, and reverse engineer.  
These include **register VM virtualization**, **control-flow flattening**, **constant encryption**, and other Lua-specific obfuscation strategies.

The project was inspired by the excellent [javascript-obfuscator](https://github.com/javascript-obfuscator/javascript-obfuscator).

Currently, Prometheus supports:

- **Lua 5.1**
- **LuaU** *(basic support is available, but still not fully finished)*

See [Limitations](doc/reference/limitations.md) for compatibility details.

---


## Quick Start

Try the browser version first:


<a href="https://prometheus-lua.github.io/Prometheus/">
  <img src="https://img.shields.io/badge/Playground-Try%20Out-0F766E?style=for-the-badge&logo=github&logoColor=white" alt="Open Prometheus Playground" />
</a>

### Install CLI (Linux/macOS)

Install latest release with one command:

```bash
curl -fsSL https://raw.githubusercontent.com/prometheus-lua/Prometheus/master/install.sh | sh
```

Then use the CLI directly:

```bash
prometheus-lua --version
prometheus-lua --preset Medium ./your_file.lua
```

The release bundle includes a Lua runtime, so no separate Lua inst
阅读完整原文

项目深度分析 AI 生成

在线 Lua 混淆与分发 SaaS (Web + API)

产品构想将纯 Lua CLI 封装为开箱即用的在线混淆平台,提供多预设管理、API 接入、批量混淆与下载服务。
核心功能网页端实时混淆预览、REST API 接口、多种安全预设(虚拟机虚拟化/控制流平坦化/常量加密)、构建流水线集成(GitHub Actions / Webhook)
目标用户游戏脚本作者、小型独立游戏/模组团队、个人开发者
难度/周期低至中等 · 2-4 周 · 成本:极低(轻量 VPS / Serverless 容器即可承载无状态混淆执行)
收费模式免费基础功能 + 订阅制(按月收取并发数、API 调用额度、高级混淆规则配置费用)
竞争风险开源混淆器生成的代码易被逆向社区针对性编写 deobfuscator;服务器端存在恶意脚本利用风险。
依据 已验证事实(已具备 Web 体验版与 CLI 功能,且支持 AST 与控制流混淆)

Lua 脚本商业化授权与保护套件 (Obfuscation + Licensing SDK)

产品构想结合混淆能力与远程授权系统,为付费 Lua 脚本提供防篡改、设备绑定(HWID)、远程注销与心跳鉴权一站式方案。
核心功能客户端混淆保护(防篡改 + VM 虚拟化)、远程 License 鉴权接入代码自动注入、HWID 机器绑定、控制台黑白名单管理
目标用户Roblox 脚本卖家、FiveM 商业模组工作室、游戏外挂与自动化脚本开发者
难度/周期中等 · 1-2 个月 · 成本:低(鉴权服务 API + 简单管理后台)
收费模式SaaS 阶梯月费(基于活跃终端数/验证请求数)或销售额抽成
竞争风险Lua 纯脚本环境在 Hook/Memory 调试下容易被 bypass,需要持续攻防对抗;涉及黑产灰产的法律与合规风险。
依据 数据支持的判断(支持 Lua 5.1/Luau,该生态是游戏模组与脚本商业化的核心活跃区)

企业级定制化 Lua 安全加固咨询与离线工具包

产品构想针对使用 Lua 作为核心业务逻辑(如金融/网关/IoT)的客户,提供定制化的专有混淆 AST 转换算子与反逆向安全加固技术支持。
核心功能私有化混淆节点定制(不公开算法)、离线部署 CLI、CI/CD 深度集成支持、混淆后性能与内存开销调优
目标用户使用 OpenResty/Nginx Lua 的企业、嵌入式设备厂商、商用游戏研发公司
难度/周期中等至高 · 按项目定制(2-6 周/单) · 成本:极低(主要为人力交付成本)
收费模式企业离线商业授权许可费用 + 安全咨询服务费
竞争风险License 标识为 NOASSERTION,商业转授权或企业使用存在版权法律边界不明确的风险;客户群体相对小众。
依据 尚需验证的假设(企业端使用 Lua 核心逻辑并有强烈防逆向预算的需求量需要市场验证)
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建时间待补全,最近推送 ,发布过 24 个 Release
社区活跃Star 537 / Fork 0 / Issue 0(数据支持,可自行核实)
许可证未检测到(需人工确认)
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。