| | --- |
| | license: cc-by-sa-4.0 |
| | task_categories: |
| | - text-classification |
| | - token-classification |
| | language: |
| | - en |
| | tags: |
| | - code |
| | pretty_name: Lua Obfuscator Corpus |
| | size_categories: |
| | - 10K<n<100K |
| | configs: |
| | - config_name: default |
| | data_files: |
| | - split: train |
| | path: "train.parquet" |
| | default: true |
| | extra_gated_prompt: >- |
| | The Lua Obfuscator Corpus is a collection of obfuscated and unobfuscated Luau source code. We ask that you read and acknowledge the following points before using the dataset: |
| | |
| | 1. The dataset is licensed under CC BY-SA 4.0. Any use of all or part of the data must provide appropriate credit, include a link to the license, and indicate if changes were made. |
| |
|
| | 2. Derivative works must be distributed under the same CC BY-SA 4.0 license. |
| |
|
| | 3. This dataset is intended for research purposes only. It should not be used to develop or improve obfuscation tools for malicious purposes. |
| | extra_gated_fields: |
| | Name: text |
| | Affiliation: text |
| | Use case: text |
| | I agree to use this dataset for research purposes only and to provide appropriate attribution: checkbox |
| | --- |
| | |
| | # Lua Obfuscator Corpus |
| |
|
| | ### Dataset Summary |
| |
|
| | The Lua Obfuscator Corpus contains **26,357 Lua/Luau source files** across 17 Lua/Luau obfuscators and 1,244 unobfuscated baselines. The dataset was created to support research into Lua/Luau code obfuscation detection, obfuscator identification, and code analysis. All files have been validated using tree-sitter-lua & luau parsers to ensure syntactic validity. |
| |
|
| | | Obfuscator | Files | |
| | |---|---| |
| | | 25ms | 693 | |
| | | 77fuscator | 885 | |
| | | AztupBrew | 88 | |
| | | Boronide | 4,512 | |
| | | Hercules | 2,608 | |
| | | Ironbrew 1 | 56 | |
| | | Ironbrew 2 | 2,333 | |
| | | LuaObfuscator | 3,053 | |
| | | Luraph | 3,875 | |
| | | MoonSec | 1,675 | |
| | | MoonVeil | 488 | |
| | | Prometheus | 4,277 | |
| | | PSU | 372 | |
| | | Secrovia:ObscuraLua | 70 | |
| | | Synapse Xen | 88 | |
| | | Unobfuscated | 1,244 | |
| | | wYnFuscate | 40 | |
| |
|
| | ## Dataset Structure |
| |
|
| | ### Data Fields |
| |
|
| | - `file_name` (string): Relative path to the `.lua` or `.luau` file. |
| | - `obfuscator` (string): Name of the obfuscator used. |
| | - `obfuscated` (bool): Whether the file is obfuscated. |
| | - `dialect` (string): Lua dialect (`luau`). |
| | - `file_size` (int): File size in bytes. |
| | - `version` (string): Obfuscator version, if applicable. |
| | - `content` (string): Full source code contents. |
| |
|
| | ### Data Splits |
| |
|
| | The dataset has no splits and all data is loaded as train split by default. |
| |
|
| | ## Dataset Creation |
| |
|
| | ### Source Data |
| |
|
| | Obfuscated samples were scraped from public open-source repositories or generated from a common set of unobfuscated Luau scripts using each obfuscator's CLI or web interface. Unobfuscated baselines are decompiled Roblox scripts. |
| |
|
| | ## Licensing Information |
| |
|
| | The Lua Obfuscator Corpus is licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/). Any use of this dataset must provide appropriate credit, include a link to the license, and indicate if changes were made. Derivative works must be distributed under the same license. |
| |
|