licenseCheck
Recovered in the JavaScript application graph. A comparison against an embedded literal — the control that decided access.
Organisations run critical systems whose source, vendors and authors are gone — but the binaries remain. Agent-native reverse engineering turns those artifacts into evidence, specifications and a bridge to replacement. A toy experiment, an honest workflow, and the limits that still matter.
Every large organisation owns a room it rarely opens. Inside is software that still moves money, schedules trains, prices insurance or keeps a factory line honest — written by people who have retired, vendors who were acquired twice, or a contractor whose contract ended in 2011. The source may exist on a tape nobody can read. The documentation describes a system that was changed forty times afterwards. What remains, reliably, is the binary: the thing that actually runs.
That inversion is worth pausing on. We treat source code as the truth and the compiled program as its shadow. In legacy estates the shadow is the only truth left. The binary is the specification — not because it wants to be, but because everything else has drifted, departed or decayed. Reverse engineering, in that world, is not an attack. It is reading the only honest document the company still possesses.
REA — Reverse Engineer Anything — is built for that reading, and built for a reader who is not human. It is an agent-facing toolkit: hundreds of commands that return structured Evidence rather than terminal scrollback, hashed artifacts, graphs of what was observed, and an explicit account of what could not be determined. Where a human analyst keeps a notebook, REA keeps receipts.
We tested the mechanism at toy scale, and the scale matters — we will not pretend otherwise. We wrote a twelve-line program and its JavaScript twin, hid a license check and a planted flag (REA_HIDDEN_FLAG_panther-42) inside, compiled it, and then behaved as if its authors had left the company. We locked it in an offline container — no network, read-only targets, output in an auditable folder — and asked REA to tell us what the program does.
On the JavaScript side, with no native analysis engine at all, REA reconstructed the application graph and named the machinery plainly: licenseCheck, soundPan, unlock. The planted secret sat in the evidence, because a secret embedded in shipped code was never a secret. On the native binary, REA's objdump provider returned the symbol table as evidence; disassembly showed the license check comparing an input against a literal, and a small cubic function doing its work in the registers.
The flag was never hidden. It was only unread — and unread is a condition agents are ending.
That is a proof of mechanism, not of migration. A toy binary with symbols intact is to a thirty-year-old core system what a sentence is to a library. But the mechanism is the interesting part: behaviour, recovered from the artifact, expressed as evidence a second party can check.
Recovered in the JavaScript application graph. A comparison against an embedded literal — the control that decided access.
The cubic curve x·x·x, observed statically and in native disassembly (SSE registers).
The composed path: check input, gate the result, expose the outcome. Behaviour, not source, recovered.
Found in REA evidence and by strings. A literal in shipped code is not a secret.
ev_c808e447…, rea-agents 6.7.0, offline container rea-lab. Full reports in ~/rea-sandbox/out/.Imagine that mechanism pointed, patiently, at a real estate. The workflow writes itself, and it looks less like hacking than like due diligence.
First, inventory: which binaries, bundles and Electron or .NET applications actually run the business, hashed and catalogued. Then behavioural recovery: functions, interfaces, dependencies and embedded business rules extracted as evidence — the discount rule nobody remembered, the rounding convention finance depends on, the interface a partner system silently requires. From that, an evidence-backed functional specification: not a consultant's reconstruction from interviews, but claims tied to artifacts. Then interface and data mapping, a parallel rebuild, equivalence testing against the original's observed behaviour, and finally strangler-style replacement, one capability at a time, with the old system as the reference oracle until it can be switched off.
Each step attacks a familiar cost. Discovery — historically the quarter spent interviewing retirees and reading dead code — compresses. Key-person and vendor dependency, the ransom quietly paid every renewal, weakens when the knowledge lives in evidence rather than in one engineer's memory. Hidden business rules, the kind discovered in month nine when the new system prices something wrong, surface before the rebuild rather than after it. And migration becomes safer in a specific way: the old binary remains testable against its replacement, behaviour for behaviour.
REA does not recover original source, comments, or intent. It recovers what the artifact does, which is a different and sometimes insufficient thing. Deep native decompilation still needs a real engine behind it — in our sandbox, rea doctor reported Ghidra, Hopper and IDA absent, and told us so in structured form rather than bluffing. That self-report is not a footnote; an instrument that records the boundary of its own evidence is the only kind you should let near a core system.
The rest of the limits are organisational, not technical. You need the legal right to reverse what you own licences to — ownership of a binary and permission to dissect it are different questions. Obfuscated or hardware-coupled software resists. Data is the deepest trap: a binary can show you a field; it cannot tell you that the field's meaning changed in 2009 and everyone downstream quietly compensates. Runtime behaviour, load, failure modes — none of that is in the artifact. Tests, observation and people remain necessary. Anyone who sells you otherwise is selling.
Something quieter shifts underneath. Companies have long treated legacy systems as liabilities to be feared and eventually replaced in a panic. A system that can be read is a different kind of asset: its knowledge becomes portable, separable from the vendor who wrote it and the decade that hosted it. The strangler fig does not argue with the old tree. It grows around it, using its shape, until the shape is supported by new wood.
We left our laboratory running — a persistent container, network off, waiting for the next artifact. Scale that posture up and it is probably the correct one for the enterprise version too: agents in laboratories, evidence in folders, humans checking the receipts. The binaries were always the truth. We have only just built readers patient enough to ask them.