betaFeedback

WorksComputer Science

HWRE-Bench: Can LLM Agents Understand Hardware They Did Not Design?

Abstract

Hardware benchmarks for LLM agents all run the design flow forward, from a specification to RTL, a layout or a bug fix. We ask the reverse question: given an implemented artifact, such as a layout, a gate-level netlist or a protected simulation model, can an agent work out what it does well enough to act on that knowledge? We introduce HWRE-Bench, a benchmark for agentic hardware reverse engineering built on one observation. Each step of the forward flow discards information (names, hierarchy, word-level structure, generator parameters, the programming model), and a reverse-engineering task asks the agent to recover what was lost and to prove it with an executable deliverable that the artifact alone cannot supply. Since layout extraction is now mechanical and a correct netlist is already a cycle-exact model, every task carries a mandatory copy-the-netlist control that must score zero. HWRE-Bench spans five tracks (Extract, Abstract, Audit, Interoperate, Modify), four information-loss levels and white- versus black-box access, all on original designs. We report a pilot of 148 rollouts from two agents on four seed tasks under 16 conditions, with stage-annotated trajectories. Agents built their own layout extractors and audited a sanitized layout as reliably as a netlist, at about 27% more turns. Keyless, equivalence-preserving obfuscation changed neither pass rates nor defect-repair scores. Whether agents read the structure at all depended on task framing rather than on necessity, so pass rate alone does not show understanding. Provider safety filters stopped 16% of one agent's runs on the audit tasks. These results argue for deliverables beyond equivalence and for reporting run validity explicitly.

Introduction

Large language model (LLM) agents now write, verify and optimize RTL ([9, 10, 11]), and they operate terminal toolchains for long horizons ([6, 16]). In software, the same capability has been pointed backward: a growing set of benchmarks asks agents to reverse-engineer binaries, solve crackmes and capture flags ([14, 21, 3, 19]). Hardware has no counterpart. Existing hardware agent benchmarks all go forward ([11, 2, 8, 22]), and prior work on hardware reverse engineering (HWRE) evaluates single-step models or human-in-the-loop tools, such as gate-level function identification ([1, 18, 4]) or interactive netlist analysis ([5]). A recent systematization of two decades of HWRE research finds that reproducible artifacts and benchmarks are scarce ([7]).

The gap matters for two reasons. First, understanding hardware one did not design is routine engineering: supply-chain and trust audits, drivers for undocumented peripherals, second sourcing of discontinued parts, post-silicon errata, and metal-only engineering change orders. Forward benchmarks measure whether an agent can design; they say nothing about whether it can read and change an implementation written by someone else. Second, the cost of reverse engineering is what an IP owner must estimate before deciding how much to protect, and anecdotal evidence suggests that the cost is collapsing. In one of our case studies (§ 5.6), an agent recovered a cycle-exact RTL model of a sanitized 7 nm softmax accelerator from its GDSII layout alone in under ten minutes.

Building such a benchmark is not a matter of packaging layouts. Layout-to-netlist extraction is now mechanical, and a functionally correct netlist is already a cycle-exact model. A task that asks for “an RTL equivalent to this chip” can be solved by transcribing the extracted netlist, and an equivalence checker awards full marks. That task measures extraction, not understanding. HWRE-BENCH is therefore built on three principles (Figure 1):

Figure 1. HWRE-BENCH on one real run. (a) The agent receives an implemented design, here the sanitized sky130 layout of the original xbar design at information-loss level L1; the gray chain above it shows what the forward flow threw away. (b) An excerpt of a passing GPT-6.1-sol run on the layout audit task: the agent’s own step headings (italic) and the commands it ran (abridged), each colored by the stage our annotation rules assign (§ 4); the barcode below shows every tool call of the 48-minute run. (c) The deliverable is graded on hidden checks, and every task must pass four controls. The red path is the transcription shortcut that the controls close: reusing the extracted netlist gives a reward of 0.

  • Anti-transcription grading. Every deliverable is something the artifact cannot provide: a design at new generator parameters, a new microcode image, a driver, distinguishing stimuli, or a repaired netlist. Each task ships with a copy-the-netlist control that must score 0.

  • Hidden but fair semantics. Difficulty sits in behavior that white-box reading can derive but black-box probing rarely hits (counter widths, zero-means-maximum encodings, saturation versus wrap-around, clear conditions). Hidden tests probe only derivable behavior.

  • Original, generated designs. All designs are original and come from parameterized families, so fresh instances can be generated at chosen scales and information-loss levels.

We validate the design with a pilot of 148 roll-outs from two agents on four seed tasks under 16 conditions. We annotate every tool call with a reverse-engineering stage, which turns trajectories into evidence about how the agents work and not only whether they pass. Our main findings are:

  1. Layout delivery is not the bottleneck. Agents wrote their own KLay-out extractors, found and fixed their own extraction bugs, and audited a sanitized layout as reliably as a netlist, at about 27% more turns (Section 5.1).

  2. Pass rate does not reveal understanding. On the same design, a change in task wording moved the share of structural analysis from 33% to 2% of tool calls with no change in pass rate (Section 5.2).

  3. Keyless, equivalence-preserving obfuscation did not slow agents. Pass rates, defect-repair scores and netlist reads were unchanged (Section 5.3).

  4. Run validity must be reported. Provider safety filters stopped 7 of 44 runs (16%) of one agent on the audit tasks, and agent, API and sandbox failures invalidated another 27% of all slots (§ 5.5).

Contributions. (1) A formulation of agentic HWRE as the recovery of information lost by the forward flow, with five tracks, four information-loss levels and two access modes (§ 3). (2) An anti-transcription grading protocol with mandatory negative controls (§ 3.4). (3) An open build pipeline from original RTL through OpenROAD to sanitized layouts with an extraction check (§ 3.5). (4) A pilot study with stage-annotated trajectories, run-validity accounting and statistical tests (§ 4–§ 5).

Related Work

Hardware agent benchmarks. VerilogEval [9] and RTLLM [10] evaluate RTL generation from specifications. CVDP [11] adds verification and debugging tasks; newer agent benchmarks cover real hardware bug repair [2], physical design [8] and cross-stage design closure [22]. All of them treat the specification or RTL as ground truth and move toward an implementation. HWRE-BENCH reverses the direction (Table 1).

HW AgentRev.Layout inputExec. deliv.Anti-copy
VerilogEval, RTLLM✓✗✗✗✓✗
CVDP, HWE-Bench✓✓✗✗✓✗
PDAgent, CLOSER✓✓✗◦✓✗
GNN-RE, Gamora✓✗✓✗✗✗
GenEDA✓✗✓✗◦✗
NYU CTF, Cybench✗✓✓✗✓✗
CrackMe-, ProgramBench✗✓✓✗✓◦
HWRE-BENCH (ours)✓✓✓✓✓✓

Table 1. Positioning. Rev.: the artifact is the only source of truth; Layout input: tasks start from GDSII; Exec. deliv.: graded by executing a deliverable; Anti-copy: a control rejects transcribing the given artifact. ◦ = partially.

Software reverse engineering for agents. Capture-the-flag suites [14, 21] include reversing challenges, and dedicated benchmarks now target binary reversing [3]. ProgramBench [19] asks agents to rebuild programs and blocks solutions that wrap the original executable, which is the software analogue of our copy-the-netlist control. A binary keeps instruction-level semantics, whereas synthesis erases word-level operators and hierarchy, so the hardware setting differs in kind rather than in degree.

Hardware reverse engineering. Classic work recovers word-level modules from flat netlists by structural and functional analysis [15, 17, 12]. Graph neural networks classify gates into modules or identify arithmetic blocks [1, 18], and LLM-based work maps netlists to functional descriptions or RTL in one step [4]. HAL [5] supports human analysts interactively. None of these evaluates an autonomous agent that must chain extraction, simulation, hypothesis testing and an executable deliverable over a long horizon.

Hardware obfuscation. Logic locking and camouflaging protect designs with secrets [13, 20]; keyless structural obfuscation only raises analysis cost. We exclude tasks that defeat protection mechanisms (§ 7). Our obfuscation study uses only keyless, equivalence-preserving transformations of our own designs, to measure whether structure-level defenses affect agents at all.

HWRE-Bench

Reverse engineering as recovery of lost information

The forward flow is a chain of lossy maps (Figure 1, top). Synthesis drops names, hierarchy, word-level structure and generator parameters. Place-and-route turns connectivity into geometry. Shipping a peripheral without a register manual drops its programming model. A HWRE-BENCH task fixes one artifact, one kind of lost information and one deliverable that exhibits it. Figure 2 shows what an agent actually receives.

What the agent receives for the xbar seed design

Figure 2. What the agent receives for the xbar seed design (2,072 standard cells, 188 flip-flops). (a) The sanitized sky130hd layout: top renamed, every internal name and property removed, instance order shuffled; colors show cell classes recovered from the cell library, gray strokes are met3/met4 routing. (b) A 14 µm window of the full geometry that extraction must interpret. (c) The fan-in cone of one output port in the netlist extracted from (a), whose nets are anonymized (n1…n2073).

Tracks

Extract recovers a gate-level netlist from a layout. It is the only track where a netlist is a legitimate deliverable (graded by equivalence checking), and it is used at the hardest information-loss level. Abstract recovers structure that synthesis erased: given layouts of three variants of one generator with their parameter manifests, deliver a parameterized RTL graded at hidden parameter points; or, given a ROM-programmed sequencer, deliver a new ROM image that implements a new function from micro-operations present in the old one. Audit gives a specification and an artifact with KK independent seeded defects (KK disclosed); the agent delivers a self-checking testbench and one reproducer per defect, graded two-sidedly (pass the correct design, reject every single-defect mutant, each reproducer exposes exactly its own defect). Interoperate gives the layout of an undocumented peripheral and its SoC integration facts; the agent delivers a driver against a fixed C API, graded on hidden co-simulation scenarios. Modify changes the artifact itself: repair a defective netlist against the specification, or perform a metal-only ECO with spare cells.

Information-loss levels and access

Each design is released at four levels. L0: hierarchical layout with cell and port names. L1: ports renamed, all internal names and properties removed, instance order shuffled (Figure 2a). L2: L1 with LEF abstracts only, without Liberty functions. L3: anonymized cells whose functions must be recognized from transistor geometry. Independently, a task is white-box (layout or netlist) or black-box (a compiled, protected simulation model), which isolates the value of structural access.

Anti-transcription grading

Every task is a container with an isolated verifier that writes a binary reward. Before a task is admitted it must pass four controls: the oracle solution scores 1, a no-op submission scores 0, a copy-the-netlist submission (the extracted netlist wrapped as the deliverable) scores 0, and a submission that hard-codes the public tests scores 0. The authors also re-derive the reference solution from the sanitized inputs alone, which confirms that every hidden behavior is derivable. Besides pass@k, the harness logs turns, tokens, wall-clock time, artifact reads and a stage-annotated trace.

Build pipeline

Designs are original parameterized RTL families. Each is run through Yosys and OpenROAD-flow-scripts on open PDKs (sky130hd and ASAP7). A sanitizer removes names and properties for the target level, and a check flow re-extracts the netlist from the sanitized layout and proves it equivalent to the flow’s netlist before release. Tasks are packaged in the Harbor and Terminal-Bench format ([16]) and run in E2B sandboxes with KLayout, Yosys/ABC, eqy, Icarus Verilog and Verilator installed. The target release has 8–12 design families expanded into 60–100 instances across tracks, levels and three scale points (about 1k, 10k and 50k cells).

Pilot Setup

Seed tasks. The pilot uses three original designs. xbar is a two-master, three-slave register crossbar with address decoding, reservations, arbitration budgets and error counters (2,072 cells, 188 flip-flops). Its Audit task seeds 8 independent defects; we ran it from the gate-level netlist (task revisions 2–3 and 4, which differ in wording, Section 5.2) and from the sanitized L1 layout with the sky130 PDK. Its Modify task gives the defective netlist and asks for a repaired one, scored 0–8 by replaying eight single-defect isolation traces against the golden design. pmover is a DMA peripheral (APB slave, DMA master, level interrupt) whose register-level behavior is undocumented; its Interoperate task gives the L1 layout and asks for a C driver graded on 30 hidden co-simulation scenarios. pkr is a packet rewriter released only as a protected Verilator model with 8 seeded bugs; it serves as a black-box reference. All tasks passed the oracle and no-op controls; the copy-the-netlist control is trivially 0 for these deliverables (a testbench, a driver, or a repaired netlist judged against defects the given netlist contains).

Obfuscation conditions. For xbar we built three keyless variants of the delivered netlist, each proven equivalent to it by sequential equivalence checking (ABC dsec): V0r, the original netlist re-exported through the same AIG-to-gate mapping as the variants (+0.4% gates), which also flattens its word-level vector declarations into scalars (the controlled baseline); T2×3, three rounds of randomized ABC resynthesis recipes (+1.0% AIG nodes); and W25, windowed selective hiding that removes the named intermediate signals of chosen register windows at up to +25% area. V0 denotes the unmodified netlist.

Agents. GPT-6.1-sol (reasoning effort xhigh) in the Codex CLI harness, and DeepSeek-flash (effort max, the highest the harness offers) in the DeepSeek harness (dsh). Each slot is an independent run in a fresh sandbox with a wall-clock limit set by the task.

Validity. A run is valid if the verifier produced a reward and the trial raised no exception. Runs stopped by a provider safety filter, an agent or API crash, or a sandbox failure are invalid; they are reported (Table 3) but never counted as task failures. In one condition the verifier sandbox failed after the agent had finished; those submissions were re-graded locally with the same grader.

AgentLaunchedValidRefusalAgent/APISandbox
GPT-6.1-sol784771410
DeepSeek-flash70540511

Table 3. Run accounting for all pilot slots. Refusal: the provider’s cyber-safety filter stopped the run (AgentSafetyRefusalError); Agent/API: agent process crash or provider overload; Sandbox: cold-boot or connection failures of the execution sandbox. Invalid runs are excluded from pass rates and are never re-graded as failures.

Stage annotation. We assign every tool call to one of six stages with deterministic rules on the command text (Appendix § 8): orient (reading the specification and files), extract (layout processing), structural analysis (reading or querying the netlist, tracing cones), behavioral probing (simulating, replaying stimuli, testing hypotheses against a model), author (writing tools, reference models or the deliverable) and self-validate (running the public checker). Process polling is excluded. An artifact read is any call whose arguments name the DUT netlist or layout.

Statistics. Pass rates carry Wilson 95% intervals. We compare pass counts with two-sided Fisher exact tests and turn counts or repair scores with exact two-sided Mann–Whitney tests. With 4–10 valid runs per cell, the pilot can detect only large effects; we report the tests to bound what the data can and cannot say.

Results

Table 2 lists every condition. Across tasks, valid-run pass rates range from 0.00 to 0.80, median runs last 21–194 minutes and 41–270 turns, and no

ConditionAgentSlotsPass / validPass rate [95% CI]TurnsMinutesTokens (M)Artifact reads
Audit: specification vs. implementation (xbar, 8 seeded defects)
Netlist, task rev. 2–3sol106/90.67 [0.35, 0.88]42252.916
Netlist, task rev. 4sol73/50.60 [0.23, 0.88]49254.25
Sanitized GDS (L1) + PDKsol72/40.50 [0.15, 0.85]62375.410
Audit under keyless obfuscation (xbar rev. 4)
V0r re-sanitizedsol62/50.40 [0.12, 0.77]41273.06
T2×3 resynthesissol73/40.75 [0.30, 0.95]46333.97
W25 windowed hidingsol73/40.75 [0.30, 0.95]54314.16
V0 baselineDS62/50.40 [0.12, 0.77]1878174.046
V0r re-sanitizedDS60/50.00 [0.00, 0.43]1889364.846
T2×3 resynthesisDS71/50.20 [0.04, 0.62]23315585.732
W25 windowed hidingDS50/50.00 [0.00, 0.43]270194111.048
Modify: repair the defective netlist (xbar, graded 0–8)
V0 baselineDS84/60.67 [0.30, 0.90]1172131.837
V0r re-sanitizedDS145/80.62 [0.31, 0.86]1264432.542
T2×3 resynthesisDS148/100.80 [0.49, 0.94]1364435.928
W25 windowed hidingDS107/100.70 [0.40, 0.89]1263930.631
Interoperate: driver for an undocumented DMA peripheral
Sanitized GDS (L1) + PDKsol131/20.50 [0.09, 0.91]1324319.324
Black-box reference: audit with a compiled model only (pkr)
Protected Verilator modelsol165/140.36 [0.16, 0.61]82408.80

Table 2. Pilot rollouts. Slots counts every launched run; valid excludes runs that ended in an infrastructure error or a provider safety refusal (Table 3). Pass rates carry Wilson 95% intervals. Turns, minutes, input tokens and artifact reads (tool calls that open the DUT netlist or layout) are medians over valid runs. sol = GPT-6.1-sol (xhigh, Codex harness); DS = DeepSeek-flash (max effort, DeepSeek harness). For the repair task, pass means all 8 defects repaired; Figure 5 shows the full 0–8 scores. The sol rev. 4 netlist row (V0) ran on a different provider channel from V0r/T2×3/W25, so V0r is the controlled baseline for sol.

task is saturated. We organize the results by four questions.

Is a layout harder than a netlist?

On the xbar audit, the sanitized layout produced 2 passes in 4 valid runs against 3 in 5 from the netlist (Fisher p=1.0p=1.0), with median turns rising from 49 to 62.5 (Mann–Whitney p=0.024p=0.024) and median time from 25 to 37 minutes. The trajectories show why the cost is modest. Without being asked, the agent loaded the GDSII with the KLayout Python API, wrote an extractor that traces pins, metal and vias into a netlist, wrapped the sky130 Liberty cells in a Yosys flow, and only then switched to the same analysis it uses on a netlist. Extraction took 16% of tool calls (Figure 3) and was concentrated at the start of the run (Figure 4, top row). In the softmax case study the agent also noticed a missing metal layer in its own extraction from undriven nets and repaired it. These observations support starting a threat model at the netlist, and placing benchmark difficulty in semantics rather than in the input format.

Figure 3. Share of tool calls per reverse-engineering stage, pooled over valid runs (numbers are percentages ≥ 9). sol = GPT-6.1-sol, DS = DeepSeek-flash. On the same xbar design, task revision 4 moved sol from structural analysis (33%) to authoring a model from the specification (71%).

Figure 4. Trajectory barcodes: one representative passing run per setting (the run whose turn count is closest to the condition median), each tick a tool call colored by stage and placed on normalized wall-clock time. Layout runs front-load extraction; DeepSeek interleaves behavioral probing throughout; the black-box run has nothing to extract or trace.

How do agents reverse-engineer?

Figure 3 shows four distinct strategies. With layout input, sol extracts first and spends the rest of the run authoring analysis tools (cone tracers, replay harnesses), a reference model and the deliverable. On the pmover driver task, extraction took 21% of calls and authoring 66%: the deliverable is software, so most of the work is iterating on the driver. DeepSeek spends a third of its calls on behavioral probing, running many small simulations, and on the repair task 24% on structural analysis, where it must localize faults in the netlist. With only a compiled model (pkr), structural analysis disappears and probing rises to 37%.

Pass rate does not reveal whether the structure was understood. xbar audit revisions 2–3 and revision 4 use the same design, the same eight defects and the same deliverables. Revision 4 condenses the instruction from 1,980 to 278 words (the specification moves to a separate file), calls the DUT a black box observed only through its ports, and asks explicitly for an executable reference model in the testbench. Under revisions 2–3, 33% of sol’s calls analyzed the netlist (a median of 16 artifact reads per run). Under revision 4 this fell to 2% (5 reads), and the agent instead wrote a reference model from the specification and compared it with the netlist in simulation. Pass rates were indistinguishable (6/9 against 3/5). A benchmark that reports only pass rate cannot tell these strategies apart, and an audit task with a complete specification can be solved largely without reading the structure. This is why HWRE-BENCH favors deliverables that require structural knowledge, such as new parameter points or new microcode (§ 3.2).

Does keyless obfuscation slow agents?

Figure 5 compares V0/V0r with two very different keyless transformations. For sol, T2×3 and W25 each passed 3/4 against 2/5 for V0r (Fisher p=0.52p=0.52 each). For DeepSeek, pass rates were low in every condition (0–2 of 5). On the repair task, scores sat at the ceiling in all four conditions (means 7.50–7.80 of 8, Mann–Whitney p≥0.65p \ge0.65 against the pooled baselines), and the number of netlist reads per run did not change in a consistent direction. A complementary offline probe found that, after normalization with ABC (strash; fraig; resyn2; dch) and simulation against the original, nearly all internal register bits of the transformed netlists still map one-to-one to named RTL signals, so an agent that simulates loses little. We read this as evidence that structure-level, keyless obfuscation is largely irrelevant to simulating agents when a specification is available, not as proof that no obfuscation can help: the repair scores show a ceiling effect, and a variant of the repair task with a structure-fidelity requirement (the submission must preserve most of the given gates) is the natural next test.

Keyless obfuscation of the xbar netlist

Figure 5. Keyless obfuscation of the xbar netlist. (a) Audit pass rate with Wilson 95% intervals and pass/valid counts; the sol V0 point comes from an earlier batch, so V0r is the controlled baseline. (b) Defects repaired out of 8 in the repair task, one dot per valid run, bar = mean. (c) Netlist reads per run, bar = median. No contrast with V0/V0r is significant (Fisher p≥0.44p \ge0.44 for pass counts; Mann–Whitney p≥0.65p \ge0.65 for repair scores).

Where do agents fail, and at what cost?

Failures concentrate on hidden semantics. Of the 29 failed valid audit runs on xbar (both agents), 26 missed at least one of the ten hidden mutants, 12 failed the reproducer-isolation check and 12 missed a shipped defect variant, while only 4 rejected the correct design. The testbenches were usually sound but incomplete. On the repair task, all ten imperfect runs missed one or both of the same two defects (each missed in 6 runs), and no other defect was ever missed. This is the “hidden but fair” regime the benchmark targets: these semantics are in the specification and the structure, but random probing rarely reaches them.

Cost and model differences. Figure 6 plots turns against wall-clock for every valid run. DeepSeek used 4–5× more turns and 17–27× more input tokens (including cached tokens) than sol on the same audit conditions, with lower pass rates; on the repair task it reached high scores in 20–45 minutes. The pymover driver task shows the widest spread: one valid run passed all 30 scenarios in 41 turns and 14 minutes, the other passed 12 of 30 after 223 turns and 71 minutes, which makes interoperation the track with the longest horizon.

Figure 6. Cost of every valid run (log–log). Filled markers passed, hollow markers failed. The two agents occupy different regions, and the same task can cost an order of magnitude more for one agent than for the other.

Run validity

Table 3 accounts for all 148 launched slots, of which 101 were valid. For sol, the provider’s cyber-safety filter stopped 7 of the 44 runs on the xbar audit tasks: none of the 10 runs on revisions 2–3, and 7 of 34 on revision 4 and its variants (netlist 2/7, layout 1/7, obfuscated 4/20). It stopped none of the 29 runs on pmover or pkr. The task text was identical across slots of a condition, so refusal is stochastic per run, not a property of the prompt. For a reverse-engineering benchmark this matters twice: a refusal counted as a failure would misreport capability, and a refusal rate that varies across conditions is itself a confound. HWRE-BENCH therefore reports refusals separately and draws comparisons only between valid runs.

Case study: a softmax accelerator from its layout

We built an 8-lane int8 softmax accelerator (causal mask, 10-segment exponential lookup, iterative normalization; about 1.9k gates), ran it through OpenROAD on ASAP7, and sanitized the layout to L1. Given only the GDSII, Claude Opus 5.5 extracted a netlist with KLayout, built behavioral cell models, fixed its own extraction error, probed the design in simulation, identified max-and-index search, exponential accumulation, lane masking and normalization, and wrote an RTL that matched the reference on every output in every cycle over more than 250k simulated cycles, including all 256 lookup differences, in under ten minutes. Under HWRE-BENCH rules this task would be rejected, because a transcribed netlist also passes an equivalence check. Its value is as a lower bound: recovering a small datapath from a layout is already cheap, which is why the benchmark must ask for more than equivalence.

Discussion

The pilot suggests three design rules that the full release adopts. Ask for what the artifact cannot give. Equivalence-graded recovery is solved by transcription (§ 5.6), and audit tasks with a complete specification can be solved without reading the structure (Section 5.2). Abstract and Interoperate tasks, whose deliverables need knowledge of parameters or a programming model, carry most of the signal. Measure process, not only outcome. Stage traces and artifact reads distinguished strategies that pass rate could not, and they are cheap to compute from logged trajectories. Report validity. Refusals and sandbox failures removed a third of the slots; without explicit accounting the same data would read as a capability gap.

Responsible Scope

Hardware reverse engineering is dual-use. HWRE-BENCH uses only original designs built by the authors on open PDKs. It contains no tasks that defeat IP protection mechanisms (logic locking, camouflaging, watermark removal), no tasks that extract secrets (side channels, scan-chain attacks), no tasks against third-party commercial chips and no tasks that insert malicious logic. Each task corresponds to legitimate engineering on one’s own or licensed hardware: audit, interoperability, maintenance and repair. Measuring how cheap reverse engineering has become helps defenders more than attackers, because it tells IP owners which protections still matter.

Limitations

The pilot covers three designs, two agents and 101 valid runs; with 4–10 valid runs per cell only large effects are detectable, and the null results on obfuscation are bounded accordingly. Task revisions and provider channels changed between some batches (noted in Table 2 and Figure 5), so we compare only conditions run under the same revision and channel. Stage labels come from rules over command text and can misassign multi-purpose scripts; the rules and the extraction scripts are released for audit. Several tracks (Extract at L3, metal-only ECO, microcode recovery, parameterized families) are not yet instantiated, and analog layouts are out of scope. The two agents ran in their native harnesses, so harness and model effects are confounded. Finally, procedurally generated designs may carry stylistic regularities that agents could exploit; we will audit this before release.

Stage Annotation Rules

Each tool call is reduced to its command text (the shell command for Codex exec_command and dsh bash; the JSON arguments otherwise) and assigned the first matching stage:

  1. poll (excluded): write_stdin without a new command.

  1. author: apply_patch, file creation through cat > or heredocs, or Python that writes a file.

  1. extract: KLayout, gdstk/gdspy, .gds/.lef/.lyt files, read_liberty, LayoutToNetlist.

  1. self-validate: the public checker (tbcheck.py check, pmcheck, a grade or validate script).

  1. structural analysis: anonymized net names, the DUT netlist path under grep/sed/head/cat, cone and fan-in/fan-out queries, ABC, read_verilog, netlist JSON.

  1. behavioral probing: simulators (Icarus, Verilator), replay, co-simulation, fuzzing, hypothesis and model scripts.

  1. orient: specification and documentation files, the checker’s source, and directory listing commands.

  1. other: everything else (5–20% of calls).

The rules are coarse by design and are meant for aggregate shares, not for labeling individual calls; the main ambiguity is Python scripts that both simulate and write files, which the rules count as authoring. We have not yet measured agreement with human labels.

Seed Task Details

TaskGivenGraded on
xbar auditspec; netlist or L1 GDS + PDK; 3 golden tracesTB passes golden on 3 seeds, ≥9/10\ge9/10 coverage points, kills shipped and hidden mutants; 8 isolated reproducers
xbar repairspec; defective netlist (V0/V0r/T2×\times3/W25); replay toolper-defect replay vs. golden (0–8); pass = 8
pmover driverL1 GDS + PDK; Verilator co-sim harness; C API30 hidden scenarios over init, copy, scatter-gather, checksum and error reporting; pass = 30/30
pkr auditspec; protected Verilator model with 8 bugssign-off TB plus 8 directed tests; 60 hidden checks; pass = 60/60

Table 4. Seed tasks used in the pilot.

References

  1. [1]Lilas Alrahis, Abhrajit Sengupta, Johann Knechtel, Satwik Patnaik, Hani Saleh, Baker Mohammad, Mahmoud Al-Qutayri, and Ozgur Sinanoglu. 2022. GNN-RE: Graph neural networks for reverse engineering of gate-level netlists. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.DOI
  2. [2]Fan Cui, Hongyuan Hou, Zizhang Luo, et al. 2026. HWE-Bench: Benchmarking LLM agents on real-world hardware bug repair tasks. arXiv preprint arXiv:2604.14709.arxiv.org/abs/2604.14709
  3. [3]Isaac David and Arthur Gervais. 2026. CrackMeBench: Binary reverse engineering for agents. arXiv preprint arXiv:2605.10597.arxiv.org/abs/2605.10597
  4. [4]Wenji Fang, Jing Wang, Yao Lu, et al. 2025. GenEDA: Towards generative netlist functional reasoning via cross-modal circuit encoder-decoder alignment. arXiv preprint arXiv:2504.09485.arxiv.org/abs/2504.09485
  5. [5]Marc Fyrbiak, Sebastian Wallat, Pawel Swierczynski, Max Hoffmann, Sebastian Hoppach, Matthias Wilhelm, Tobias Weidlich, Russell Tessier, and Christof Paar. 2019. HAL—the missing piece of the puzzle for hardware reverse engineering, trojan detection and insertion. IEEE Transactions on Dependable and Secure Computing.
  6. [6]Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik Narasimhan. 2024. SWE-bench: Can language models resolve real-world GitHub issues? In International Conference on Learning Representations (ICLR).arxiv.org/abs/2310.06770
  7. [7]Zehra Karadağ, Simon Klix, René Walendy, et al. 2026. SoK: From silicon to netlist and beyond – two decades of hardware reverse engineering research. arXiv preprint arXiv:2603.17883.arxiv.org/abs/2603.17883
  8. [8]Qiufeng Li, Rongqian Chen, Quan Cheng, et al. 2026. PDAgent-Bench: Characterizing, grounding, and architecting LLM/VLM agents for VLSI physical design. arXiv preprint arXiv:2606.17253.arxiv.org/abs/2606.17253
  9. [9]Mingjie Liu, Nathaniel Pinckney, Brucek Khailany, and Haoxing Ren. 2023. VerilogEval: Evaluating large language models for Verilog code generation. In IEEE/ACM International Conference on Computer-Aided Design (ICCAD).arxiv.org/abs/2309.07544
  10. [10]Yao Lu, Shang Liu, Qijun Zhang, and Zhiyao Xie. 2024. RTLLM: An open-source benchmark for design RTL generation with large language model. In Asia and South Pacific Design Automation Conference (ASPDAC).arxiv.org/abs/2308.05345
  11. [11]Nathaniel Pinckney, Chenhui Deng, Chia-Tung Ho, et al. 2025. Comprehensive Verilog design problems: A next-generation benchmark dataset for evaluating large language models and agents on RTL design and verification. arXiv preprint arXiv:2506.14074.arxiv.org/abs/2506.14074
  12. [12]Shahed E. Quadir, Junlin Chen, Domenic Forte, Navid Asadizanjani, Sina Shahbazmohamadi, Lei Wang, John Chandy, and Mark Tehranipoor. 2016. A survey on chip to system reverse engineering. ACM Journal on Emerging Technologies in Computing Systems.DOI
  13. [13]Jeyavijayan Rajendran, Huan Zhang, Chi Zhang, Garrett S. Rose, Youngok Pino, Ozgur Sinanoglu, and Ramesh Karri. 2015. Fault analysis-based logic encryption. IEEE Transactions on Computers.
  14. [14]Minghao Shao et al. 2024. NYU CTF bench: A scalable open-source benchmark dataset for evaluating LLMs in offensive security. In Advances in Neural Information Processing Systems, Datasets and Benchmarks Track.arxiv.org/abs/2406.05590
  15. [15]Pramod Subramanyan, Nestan Tskitaridze, Wenchao Li, Adria Gascón, Wei Yang Tan, Ashish Tiwari, Natarajan Shankar, Sanjit A. Seshia, and Sharad Malik. 2014. Reverse engineering digital circuits using structural and functional analyses. IEEE Transactions on Emerging Topics in Computing.DOI
  16. [16]The Terminal-Bench Team. 2025. Terminal-bench: A benchmark for AI agents in terminal environments. https://www.tbench.ai.
  17. [17]Randy Torrance and Dick James. 2009. The state-of-the-art in IC reverse engineering. In Cryptographic Hardware and Embedded Systems (CHES).DOI
  18. [18]Nan Wu, Yingjie Li, Cong Hao, Steve Dai, Cunxi Yu, and Yuan Xie. 2023. Gamora: Graph learning based symbolic reasoning for large-scale Boolean networks. In ACM/IEEE Design Automation Conference (DAC).arxiv.org/abs/2303.08256
  19. [19]John Yang, Kilian Lieret, Jeffrey Ma, et al. 2026. Pro-gramBench: Can language models rebuild programs from scratch? arXiv preprint arXiv:2605.03546.arxiv.org/abs/2605.03546
  20. [20]Muhammad Yasin, Abhrajit Sengupta, Mohammed Thari Nabeel, Mohammed Ashraf, Jeyavijayan Rajendran, and Ozgur Sinanoglu. 2017. Provably-secure logic locking: From theory to practice. In ACM SIGSAC Conference on Computer and Communications Security (CCS).DOI
  21. [21]Andy K. Zhang et al. 2025. Cybench: A framework for evaluating cybersecurity capabilities and risks of language models. In International Conference on Learning Representations (ICLR).arxiv.org/abs/2408.08926
  22. [22]Peilong Zhou, Zhirong Chen, Cangyuan Li, et al. 2026. CLOSER-Bench: Evaluating budgeted cross-stage design closure for hardware agents. arXiv preprint arXiv:2607.16632.arxiv.org/abs/2607.16632

Paper details

vlnc:W_uksq2grx
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents