LLM reverse-engineering pipelines accept adversarial binaries and suggest unsafe actions
Representation-confusion attacks cause LLM-assisted RE systems to propose unsafe actions unless provenance-based controls are applied
Security & privacy arXiv 14 Jul 2026 Measurement Prototype evidence
Published as “When Binaries Talk Back: Representation-Confusion Attacks on LLM-Assisted Reverse Engineering”
Why it matters
LLM-assisted reverse-engineering tools must incorporate provenance-aware gating to prevent malicious binaries from influencing analysis outcomes.
Summary
Provenance Gate eliminates all false claims while preserving legitimate analyst requests, whereas earlier controls still allow unsafe proposals. Without any runtime controls, LLMs propose a planted unsafe action in 35/40 adversarial binaries and none in clean binaries; even with Data-Only rendering they still make 15 unsafe proposals. Tool Authorization blocks those 15 and approves all 40 legitimate requests. Support Gate, however, validates 23/40 false claims, but Provenance Gate validates 0/40 false claims and retains all 40 true claims. In larger fused drafts, Support Gate validates 32/32 false claims, while Provenance Gate again blocks all of them and keeps all true claims.
What they found 1
- Without runtime controls, LLMs propose a planted unsafe action in 35 out of 40 adversarial cases and none in clean cases.
“Without runtime controls, the models propose a planted unsafe action in 35/40 adversarial cases and 0/40 clean cases.”
Caveats 2
- Data-Only rendering still leads to 15 unsafe proposals.
- Support Gate validates 23/40 false claims, showing it can be fooled.
What’s new here 4
- Introduces the concept of Representation-Confusion Attacks in LLM-assisted reverse engineering (RARE).
- Provides RARE-Bench, a benchmark of clean and adversarial binaries to measure such attacks.
- Proposes RARE-Guard, a suite of runtime controls (Tool Authorization, Support Gate, Provenance Gate) to enforce provenance and authority.
- Demonstrates a deterministic renderer that prevents downgraded claims from reappearing in final reports.