File size: 1,341 Bytes
b130a09
 
de93233
 
 
 
 
 
 
 
 
 
 
 
 
b130a09
de93233
 
 
279ba79
 
 
 
de93233
279ba79
de93233
 
 
279ba79
de93233
 
279ba79
 
 
de93233
 
 
279ba79
de93233
 
279ba79
de93233
279ba79
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
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.