Lin Epsilon Cyber 1.6

Lin Epsilon Cyber 1.6 is a 0.5B-parameter model from LindotAI for static analysis of x86-64 Linux binaries built from Rust. It does two things:

  1. Decompiles disassembly of a stripped Rust binary back into Rust source that compiles.
  2. Describes behaviour: a short summary of what a function does, behaviour tags (file I/O, network, process execution, crypto, ...) and approximate source.

It is fine-tuned from Qwen2.5-Coder-0.5B-Instruct through our Lin-1.1 Epsilon, and is small enough to run on a laptop CPU.

Compared with 1.5, version 1.6 is better on Mid and Hard decompilation, recovers more function signatures on real crates, and tags security-relevant behaviour (file and network I/O, process execution, crypto) more accurately. On the Low tier it is on par.

Benchmarks

Benchmarks

All numbers were measured by us with the same harness. None of the benchmark tasks or crates are used for training.

Decompilation: the model gets the disassembly of a whole stripped crate. The generated Rust is compiled and run against the crate's original tests. The score is the share of tasks that pass, with up to 2 repair turns using compiler feedback. Tiers differ by crate size and optimisation level.

Model Low Mid Hard
Lin Epsilon Cyber 1.6 (0.5B) 22.5 19.4 4.7
Lin Epsilon Cyber 1.5 (0.5B) 23.1 17.4 3.7
Lin-1.1 Locus Cyber Preview 2 (4B, API only) 48.3 35.1 14.0
Gemini 3.8 Flash (Low) 54.1 27.3 12.3
Tencent Hy4-flash (220B) โ€” 15.4 โ€”
Qwen3.8-27B โ€” 8.1 โ€”
Qwen3-Coder-30B-A3B โ€” 5.7 โ€”
Qwen3.5-9B โ€” 2.7 โ€”
Lin-1.1 Epsilon (0.5B, our general Rust model) 1.9 2.0 1.2

โ€” = not measured on that tier.

A later audit found near-duplicates of some benchmark tasks (the same program with renamed identifiers) in our training data. With those tasks excluded, Lin Epsilon Cyber 1.6 scores 17.5 on Low and 4.8 on Hard; on Mid, the 8-bit model we serve scores 11.9 on the remaining 256 tasks. The tables above use the full task sets so that they stay comparable with earlier results.

Real crates (624 functions from published crates.io crates, O0 / O2 / Oz, named and stripped): we report chrF against the original source and the share of functions whose recovered signature matches the original exactly.

Model chrF Signature match
Lin Epsilon Cyber 1.6 (0.5B) 29.0 12.0
Lin Epsilon Cyber 1.5 (0.5B) 27.4 9.6
Lin-1.1 Locus Cyber Preview 2 (4B, API only) 31.1 5.9

Behaviour description (658 functions): here we score the predicted behaviour tags. Security tags are the subset that matters for triage: file_io, dir_walk, process_exec, network, crypto and unsafe_ffi.

Model Tag F1 Security-tag F1 Exact tag set
Lin Epsilon Cyber 1.6 (0.5B) 53.7 37.2 53.5
Lin Epsilon Cyber 1.5 (0.5B) 50.9 31.6 55.3

Prompts

The model works best with the wording it was trained on.

Decompile a crate

Decompile this x86-64 Linux code back into Rust. It was built by rustc (opt-level=2). It is every function of one
library crate, cut out of a stripped executable. The binary is stripped: every function is `sub_<addr>`; imported libc
symbols keep their names. String literals and float constants from .rodata are shown as comments.

```asm
<disassembly, Intel syntax>
```

Write the complete src/lib.rs (std only, no tests, no main) that compiles to equivalent code. Export `sub_401000` as
`pub fn f0`, with the parameter and return types the code implies. Give helper functions and variables meaningful names.

Describe one function

Analyze this x86-64 function from a stripped Rust binary (rustc opt-level=2). Calls are shown with the callee name where
it is known; other functions are `sub_<n>`. Describe what it does in one or two sentences, list its behaviors (file_io,
dir_walk, process_exec, network, crypto, encoding, compression, env_args, threads_sync, time, parsing, unsafe_ffi, or
pure computation), then give approximate Rust source.

```asm
<disassembly of one function>
```

You can get the disassembly with objdump -d -M intel --no-show-raw-insn BINARY. To describe one function, cut its block out of the listing.

Quick start

from transformers import AutoTokenizer, AutoModelForCausalLM

model_id = "LindotAI/Lin-Epsilon-Cyber-1.6"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="auto", device_map="auto")

prompt = open("prompt.txt").read()  # one of the prompts above with your disassembly pasted in
inputs = tok.apply_chat_template([{"role": "user", "content": prompt}], add_generation_prompt=True,
                                 return_tensors="pt").to(model.device)
out = model.generate(inputs, max_new_tokens=2048, do_sample=False)
print(tok.decode(out[0][inputs.shape[1]:], skip_special_tokens=True))

Use greedy decoding (or temperature โ‰ค 0.2) and keep one request under about 12k tokens of assembly. If a crate is larger, split it by module.

Limitations and intended use

  • This model is for static analysis only: reading and understanding binaries you are allowed to analyse. Do not run unknown binaries to obtain inputs for it.
  • It is trained on rustc output for x86-64 Linux. Other compilers, languages and architectures are out of scope.
  • A 0.5B model makes mistakes. Treat its output as a starting point and verify it, for example by recompiling and comparing.
  • Behaviour tags are hints for triage, not a verdict on whether a binary is malicious.
Downloads last month
-
Safetensors
Model size
0.5B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for LindotAI/Lin-Epsilon-Cyber-1.6

Finetuned
(125)
this model