N/A Is Not a Green Light: The Silent Failure Problem in Crypto's Risk Engines

NeoPanda • • Technology

N/A Is Not a Green Light: The Silent Failure Problem in Crypto's Risk Engines

The risk matrix arrived with every cell empty. Seven rows — technical, market, operational, regulatory, competitive, narrative, and one labeled, with grim humor, meta — and beside each of them the same three characters: N/A. No probability. No impact estimate. No mitigation. The composite verdict at the bottom read, in the flat register of a machine that has been instructed to be honest: cannot be assessed.

I read it twice. The first time as a reviewer, hunting for the flaw. The second time as something closer to a frightened user, because by then I understood exactly what would happen next.

The document had been produced by an automated due-diligence pipeline. Upstream, a scraper had hit a wall — a paywall, a parser that returned an empty body, an encoding mismatch nobody had logged. Stage one extracted zero information points. Stage two, correctly and with real intellectual discipline, refused to fabricate. It filled nine analytical dimensions with insufficient information, flagged the missing input as a meta-risk, and even recommended that an assertion be added so the pipeline would hard-fail instead of producing a document.

And then it would have been filed. Because it looked complete. It had headings. It had tables. It had a risk matrix, a confidence scale, a disclaimer, a list of signals to monitor. It had the shape of diligence.

Somewhere downstream, a dashboard would have ingested it, found no red flags, and rendered green.

That is what I want to write about. Not the empty report. The green light.

Context: We Automated the Verifier and Forgot to Verify It

In 2017, during the peak of the ICO mania, I turned down paid advisory roles to run an unpaid security review of a DAO governance framework on Ethereum. Three reentrancy paths, roughly twelve million dollars of exposure, weeks of solitude reading line by line. I have written about that episode often enough that it has become a kind of origin story, and I am wary of retelling it. But there is a detail I usually leave out, and it belongs here.

Every test in that codebase passed. All of them. The suite was green the day I opened it and green the day I closed it. The vulnerabilities lived in the space between what the tests sent and what an attacker could send — a call path the authors had never imagined, and therefore never asserted against. The absence of a failing test was read, by everyone involved, as evidence of safety.

It was evidence of nothing.

That was 2017, when verification meant a human being with a debugger and too much coffee. By 2020, watching automated market makers pull liquidity provision out of the hands of market makers and into the hands of anyone with a wallet, I wrote a paper arguing that this was a democratic act. Fifty thousand people read it in a month. I believed then, and largely still believe, that financial sovereignty is a human right and that permissionless liquidity is one of the few genuinely emancipatory mechanisms this industry has produced.

But I also watched what grew alongside it. The dashboard. The TVL chart as a proxy for safety. The five-number summary that told a reader everything about a protocol except the thing they actually needed to know.

Then came 2022. Terra. Celsius. Three Arrows. FTX. I took six months off after that, withdrew from public writing, and did very little except read and think about what had actually broken. The comfortable story is that leverage broke, or that fraud broke, or that the Fed broke it. The uncomfortable story — the one I kept arriving at in the Boston hills with no audience to perform for — is that what broke was the assumption that somebody, somewhere, was checking.

We responded to a crisis of trust by building more machines and asking people to trust them.

That is the irony I cannot get past. The founding instruction of this entire industry is don't trust, verify. Six words, stamped on everything. And yet the verification layer we have built since 2022 is now so deep, so layered, so dependent on aggregators and oracles and indexers and scoring engines and, increasingly, on language models summarizing all of the above, that almost nobody verifies the verifiers. We did not eliminate trust. We relocated it into systems that cannot be cross-examined, and we gave those systems confident voices.

In a bear market this stops being a philosophical complaint. Readers write to me now with a very specific question, phrased a hundred different ways: is my money safe? And the honest answer, far more often than the industry would like to admit, is: we don't know, the systems that are supposed to tell you don't know either, and they were never designed to say so out loud.

Core: The Null Is a Number, and Numbers Look Like Facts

Start with the smallest possible unit of the problem, because it is a type error before it is a governance failure.

Solidity has no null. A uint256 cannot be unknown. An uninitialized storage slot is zero. A failed external call that has been wrapped in a try/catch and given a default is zero. An oracle that has never answered and an oracle that has answered with the value zero are, to the consuming contract, the same object. The absence of information and the presence of a specific piece of information are indistinguishable at the type level, and every downstream decision inherits that ambiguity.

Now look at how most integrations actually consume a price feed. The canonical aggregator interface exposes a round identifier, an answeredInRound, an updatedAt timestamp, and an answer. A correct integration checks that the round is complete, that the answer was computed in that round, and — critically — that updatedAt is recent enough relative to block.timestamp. In my experience reviewing integrations over the last several years, the third check is the one that gets dropped. What survives is require(answer > 0).

I want to be precise about why that is insufficient, because it is the kind of point that gets nodded at and then ignored. answer > 0 is a check for a plausible value. It is not a check for a fresh value. A feed that has been stuck at the same price for eighteen hours passes answer > 0 flawlessly. It is a positive number. It is a number that was once true. And a lending market liquidating against it will behave with total confidence, because confidence is what numbers produce.

Feeds update on two triggers: a deviation threshold and a heartbeat. On a deep, liquid pair, deviation fires constantly and the heartbeat is a formality. On a thin pair — and in a bear market, everything is a thin pair — deviation may not fire for a very long time. The heartbeat becomes the only thing keeping the feed alive. If that heartbeat is measured in hours, and the asset moves forty percent in an afternoon, then for some window the protocol is consuming a value that is simultaneously valid by every check it performs and wrong by any measure that matters. This is not a bug in the oracle. It is a bug in the contract's theory of what a number means.

MakerDAO's Oracle Security Module exists because somebody, years ago, sat down and made an explicit decision about the semantics of staleness: a one-hour delay on price delivery, accepting that the system will sometimes act on old prices, in exchange for a window in which governance can intervene against a manipulated one. You can argue with the tradeoff. What you cannot argue with is that the tradeoff was made, written down, and owned. Most protocols never make it. They inherit it from a library, or from a tutorial, or from the type system's refusal to represent ignorance.

The decentralization of the oracle layer deserves the same scrutiny, and rarely gets it. A feed secured by a committee of node operators who are selected, paid, and removable is a governance structure wearing a technical costume. The interesting question is never how many nodes. The interesting question is: who is permitted to be wrong, how many of them must be wrong simultaneously before the feed admits it, and what happens to the consuming contract in the interval between the first wrong answer and the admission. Every oracle design is an answer to that question, whether or not its authors know they are answering it.

We code the trust, but we must audit the soul.

Now widen the lens from the contract to the pipeline, because the same error recurs at every scale.

Consider the document I opened. Stage one was permitted to return an empty array. Stage two was permitted to return N/A. Neither stage was required to stop. The interface between them had no assertion, no schema constraint on minimum cardinality, no error channel. Each component behaved correctly in isolation and the composition behaved catastrophically. This is the textbook definition of a silent failure: a system that, given invalid input, returns an output indistinguishable from a valid negative result.

The report said we could not assess. Any reader downstream, human or machine, received nothing was found. Those are not the same sentence. They are not even the same kind of sentence. One is an epistemic statement; the other is a clean bill of health.

The fix is boring and almost never implemented. Assert at the boundary. If the information-point count is below a floor, return an error code rather than a document. Fail closed. Make the empty path loud. In a bull market, a fail-open risk engine is a nuisance — it occasionally lets something through and nobody notices because everything is going up anyway. In a bear market, a fail-open risk engine is a liquidation with a footnote. Survival, right now, is a function of how loudly your systems are allowed to say I don't know.

I keep returning to that 2017 codebase because the structure of the failure is identical across nine years and three orders of magnitude. The tests passed because no test ever sent the input that made the state inconsistent. The pipeline passed because no test ever fed it an empty source. The auditors signed because the audit scope did not include the empty-input path. In every case, the system was validated against the inputs its designers imagined, and the failure arrived through the door nobody had drawn.

There is a further layer now, and it is the one that worries me most.

In 2026 I helped lead a consortium of five organizations designing a decentralized identity framework for autonomous AI entities on a modular chain — three ethicists, two protocol architects, and me, on too many late calls. The public framing of that work was about identity: how does an agent prove who it is, under what authority it acts, who is accountable when it errs. The hard problem turned out to be somewhere else entirely.

A signature proves that you asserted something. Nothing on-chain proves that you were ignorant of something. There is no cryptographic primitive for I had no data. An agent can attest to what it read, what it computed, what it signed. It cannot attest to the shape of its own blind spot. And since we could not solve that, we did the only honest thing available: we wrote into the charter that an agent unable to attest its inputs must mark its output UNVERIFIED, and that UNVERIFIED must be non-actionable by any downstream contract. Not low confidence. Low confidence is a number, and numbers get multiplied by position size and become trades. Non-actionable is a state.

That distinction cost us three weeks of argument and is, I think, the most important sentence in the document.

Proof is binary; meaning is fluid. The corollary I resisted for years is that ignorance is neither. Ignorance does not fit into a boolean, and every system that forces it into one has already lied to someone — usually to the person who needed it most.

Even the industry's most criticized design gets this partly right, which is worth saying because it complicates the usual story. A compliance-first stablecoin that can freeze an address within a day is a centralization risk of the first order; I have written that sentence many times and I stand behind it. But notice how it fails. Loudly. There is a blacklist event, a transaction hash, a public record, a support queue. The frozen user knows they are frozen. Compare that with the quiet failures surrounding it: the attestation report published with a month of lag, the reserve line item that simply stops appearing, the issuer that goes silent for a cycle. Absence of a negative disclosure reads, to almost every human reader, as a positive. The protocol is neutral, but the user is human, and humans fill silence with comfort.

One more layer, and then I will stop building this tower.

Decentralization is sold as redundancy, and redundancy is sold as safety. But redundancy of computation is not redundancy of meaning. Nine validators that all read from the same upstream API, or that all coerce null to zero through the same library, or that all inherit the same default from the same framework, are not nine independent checks. They are one check performed nine times, with nine signatures attached. The question that matters is not how many nodes. It is: how many independent ways can this system be wrong? Not how many participants. How many semantics.

This is why I have grown impatient with the OP Stack versus ZK Stack debate as it is usually conducted. At the level of proving systems, the differences are real and technically interesting. At the level that determines outcomes, the contest is about distribution — who convinces more teams to deploy chains that inherit their assumptions. And the most valuable assumption to own is not the proof system. It is the default. Whichever stack becomes the substrate for a hundred chains gets to define, for all of them, what empty means, what stale means, and what a dashboard shows when the answer is we don't know. That is a larger prize than a shorter proving time, and almost nobody is bidding for it explicitly.

Contrarian: More Instrumentation Has Made Us Less Safe

Here is the claim I expect to be argued with, so let me state it cleanly. The industry's response to 2022 — instrument everything, monitor everything, automate the analysis — has, in one specific and important dimension, made us less safe rather than more.

It increased the number of places where a silent failure can occur while decreasing the number of humans positioned to notice one. A dashboard with four hundred metrics is not four hundred times safer than a dashboard with four. It is four hundred times more likely to contain one metric that is quietly zero, and it is dramatically more likely that the person reading it will assume that a panel without red is a panel that was checked. Instrumentation does not create attention. It consumes it. Every metric you add is a small tax on the reader's scrutiny, and the tax is regressive: the metrics that matter most are usually the ones that look least alarming when they break.

Second, and less comfortable for someone who has signed audit reports: an audit that does not test the empty-input path is theater. Well-produced theater, competently executed, honestly reported within its scope — and useless against the failure mode that actually kills protocols. I have signed reports. I know precisely which paths I did not exercise, and I know that the reader of the report had no way to know that. An audit is a point-in-time statement about a bounded surface. It is not a warranty, and treating it as one is the industry's most expensive habit.

Third — and this is where I part company with the loudest voices on my own side — sometimes failing open is correct. A lending market that halts because an oracle missed a heartbeat has its own failure mode, and it is not obviously better than the one it avoided. Liveness is a real value. The sin is not choosing fail-open. The sin is inheriting fail-open from a language default, a framework convention, or a tutorial, and then describing the result as architecture. A tradeoff that has been written down and owned by a named human is engineering. The same tradeoff, undocumented and discovered during an incident review, is negligence wearing the same clothes.

And a concession, because the contrarian position should be able to survive its own audit: the empty report I opened was, in its narrow way, the most honest document I read that month. It said I don't know nine times, in nine different dimensions, with a confidence rating attached to each admission. Most reports I read say safe once. I would rather read an honest void than a confident lie — provided, and this is the whole argument, that the void is not rendered in green.

Takeaway: Null Must Propagate

What I want, and what I have started insisting on in every system I touch, is a single rule with three clauses: null must propagate, absence must be typed, and unknown must be non-actionable until a human upgrades it.

That is not a technical novelty. It is a discipline. It means every risk engine carries an explicit UNKNOWN state that cannot be silently coerced into a number. It means every pipeline asserts on its inputs before it produces a document. It means every dashboard has a third color, and that color is not green. It means the question is my money safe gets an answer that includes the word unverified when that is the truth, and the industry stops treating that word as a reputational failure.

We are not moving money; we are moving belief. And belief is only as durable as the honesty of the systems that underwrite it.

So: in a world of ledgers, who holds the memory of what was never written? The next generation of protocols will not be judged by how much they know. They will be judged by how precisely they can declare what they do not — and by whether anyone downstream is still paying enough attention to read the difference between a zero and a blank.