Log date · Tue
How to assess AI reverse-engineering with Reveree
Assess AI reverse engineering by recording discovery, comprehension and validation separately; Reveree and a toy example show why.
How can we tell whether an agent understands logic?
Record what an agent observed and explained, and whether its evidence supports that explanation, instead of relying on the final answer alone. Reveree evaluated nine models on 88 CTF reversing challenges and found failures concentrated in comprehension; some answers to public challenges could also come from recall. [1] In our Java sample, removing debug information hid the local variable name, but both builds still exposed the same branch instructions and produced the same outputs for three inputs.
| Question | Finding |
|---|---|
| What does the paper measure? | Outcome, progress across eight stages, and behavior. |
| What changed in our sample? | The local variable table disappeared without debug information; branch instructions remained. |
| What happened at the boundary? | 9, 10 and 11 produced 90, 80 and 88 in both builds. |
| Does a correct answer prove understanding? | No; check the explanation against trajectory evidence. |
What Reveree actually measures
On September 1, 2026 (UTC), Hadjer Benkraouda, Hongyu Cai, Berkay Celik and Gang Wang submitted Reveree v1. [1] The paper uses 88 picoCTF and NYU-CTF challenges to compare nine frontier models and four prompting strategies. The base model mattered most; prompting had a smaller, model-dependent effect, and larger, newer or more expensive models were not reliably stronger. Additional budget or reasoning effort rescued few comprehension failures.
The framework retains solve rate while tracking eight stages, from triage and surface mapping through understanding control flow, transformations and constraints, then solver creation and validation. Deterministic checks handle mechanical actions; an outcome-blinded LLM judge scores comprehension against evidence in the trajectory, compared with a human expert. Agreement on comprehension stages was 53/60 decisions across 15 runs: a limited validation sample, not a guarantee that the judge is always right. [1]
The paper also distinguishes stage coverage from consecutive progress: a run can reach the final outcome while skipping intermediate steps, so a count of reached stages does not establish complete understanding. Models reproduced some picoCTF flags from descriptions alone, while measurable recall on NYU-CTF was minimal; most solves survived surface perturbations. Recall and analysis can coexist rather than explaining every success in the same way.
Our sample: separate observation from understanding
We wrote a pricing function and compiled it with JDK 17.0.19 using -g and -g:none, then inspected the classes with javap. [2][3] This toy experiment uses another tool to illustrate staged evaluation: we ran neither Reveree nor an LLM, and it is neither a replication of the paper nor a measurement of protected commercial apps.
static int quote(int units) {
if (units >= 10) return units * 8;
return units * 10;
}Both variants returned 90, 80 and 88 for 9, 10 and 11. Seeing 80 for input 10 alone cannot distinguish a fixed result from multiplication by 8. Inputs on either side of the boundary add evidence for checking a hypothesis. Even three matching points do not establish the rule for every input; here we can also compare the actual bytecode with our own source.
9 -> 90
10 -> 80
11 -> 88The -c option prints instructions and -l shows line and local-variable tables. [2] Both quote outputs contain a comparison with 10 and multiplication by 8 or 10. The debug build also shows the local variable units; the other has no such table. [3] Seeing instructions is structural evidence; correctly explaining which path executes under which condition is a separate comprehension claim to verify.
0: iload_0
1: bipush 10
3: if_icmplt 11
6: iload_0
7: bipush 8
9: imul
10: ireturn
11: iload_0
12: bipush 10
14: imul
15: ireturnDesign an assessment record
For an assessment, have someone familiar with the code prepare a short reference describing the rule and boundary inputs, with access restricted. Record the artifact, tool calls and outputs available to the evaluator. Require concrete evidence for each claim: whether the class and method were found, whether the branch condition was explained correctly, and whether boundary inputs check it. Running a disassembler does not automatically establish understanding of the business rule.
To reduce outcome bias, have a reviewer inspect the trajectory and reference before seeing the final answer, and record uncertain verdicts. State whether the evaluator received source, public documentation or prior results. Assess public dependencies separately from proprietary rules: a model may have encountered public material, and describing it correctly does not establish analysis of this build. Retain model and version, prompt, tools, budget and build identifier; repeat under comparable conditions after changes.
| Finding | Recommendation |
|---|---|
| Only class and method found | Record structural discovery; check conditions and boundaries next. |
| Explanation is plausible but untested | Design boundary inputs and have someone familiar with the rule review it. |
| Public component explained | Record separately from proprietary rules and consider exposure to public material. |
| A critical rule must remain confidential | Keep it on a controlled server where feasible and verify interface permissions. |
These are engineering recommendations, not protection benefits measured in our experiment. A server split also requires review of interface leakage, authorization and availability: the client may still observe requests and responses. Describe a failure as a result for a particular model, budget and build, not a permanent security conclusion.
Check your own Java release build
Reproduce the sample first, then substitute the class path and class name for a Java build you are authorized to inspect. javap output can contain internal information; retain it under your team’s access controls. The first four commands reproduce the two build configurations and inspections; replace the path and class in the last command for your own artifact.
javac -g -d debug Policy.java
javac -g:none -d nodebug Policy.java
javap -classpath debug -c -l -private Policy
javap -classpath nodebug -c -l -private Policy
# Substitute your own artifact and class.
javap -classpath path/to/your-release.jar -c -l -private com.example.YourClassChoose a real, testable business boundary and prepare expected results and counterexamples. Record structural discovery, rule explanation and actual validation separately, then have someone familiar with the implementation check them. Hold inputs and assessment conditions constant across configurations and retain the original trajectory. If evidence is missing, mark that stage unknown rather than inferring it from the final answer.
Your checklist
- Record model, prompt, tools, budget and build identifier.
- Separate structural discovery, rule explanation and outcome validation.
- Prepare boundary inputs and counterexamples for critical rules.
- Assess public dependencies separately from proprietary logic.
- Have someone familiar with the implementation review evidence and repeat after changes.
Primary sources
- arXiv: Reveree: Diagnosing LLM Reverse-Engineering Agents (2609.01185) · Source date 2026-09-01 · Checked 2026-10-12
- Oracle: javap command · Checked 2026-11-11
- Oracle: javac command · Checked 2026-11-11