| license: mit | |
| pretty_name: devirt-corpus | |
| tags: | |
| - code | |
| - javascript | |
| - deobfuscation | |
| - obfuscation | |
| size_categories: | |
| - 1K<n<10K | |
| configs: | |
| - config_name: default | |
| data_files: | |
| - split: train | |
| path: metrics/*.jsonl | |
| # devirt-corpus | |
| Obfuscated JavaScript with per-sample deobfuscation metrics. Each sample is run | |
| through a deobfuscator; the obfuscated input, the deobfuscated output, and | |
| readability scores are published in `metrics/*.jsonl` and browsable in the | |
| Dataset Viewer. | |
| ## Columns | |
| | column | meaning | | |
| |---|---| | |
| | `path` | sample path | | |
| | `source` | technique / origin (e.g. `generated/strings_rc4`, `real/tranco`) | | |
| | `in_bytes` / `out_bytes` | obfuscated input vs. deobfuscated output size | | |
| | `kept_pct` | `out_bytes / in_bytes` | | |
| | `opaque_in` / `opaque_out` | percent of identifiers that look machine-generated (hex `_0x…` or 1–2 chars), before and after | | |
| | `input` / `output` | the obfuscated and deobfuscated source | | |
| ## Layout | |
| - `generated/<profile>/<seed>.js` — seeds obfuscated under | |
| [javascript-obfuscator](https://github.com/javascript-obfuscator/javascript-obfuscator) | |
| profiles. | |
| - `real/<source>/…` — real-world scripts, filtered and deduped. | |
| - `seeds/` — the plain source programs the generated set is built from. | |
| - `metrics/*.jsonl` — the per-sample table that powers the Dataset Viewer. | |