# Negative-Balance Non-Existence Proofs & Encumbrance Risk

> How dishonest exchanges try to game Proof-of-Reserves via fake negative accounts, modular prime-field overflow, and off-chain secret collateral pledges.

Canonical: https://instledgerwire.com/stories/negative-balance-non-existence-proofs-hidden-encumbrance-risk
Last updated: 2026-11-15T12:15:56.816Z

**Publication:** Institutional Ledger
**Category:** Institutional Crypto Prime Margin
**Published:** 2026-11-13T09:00:25.915Z
**Author:** Julian Mercer, CFA (CFA, Digital Asset Market Structure & Custody Lead)
**Reviewer:** Not recorded

## Answer-first summary

Without strict 64-bit unsigned range proofs and off-chain encumbrance audits, a bankrupt exchange can inject a -$2B house account—or borrow tokens overnight—to spoof a 100% Proof-of-Reserves badge.

## Key takeaways

- Attack #1 (Alameda Negative-Account Attack): An exchange owing +$10B BTC while holding +$6B BTC can insert a fake -$4B BTC leaf to spoof solvency unless every leaf carries a non-negativity range proof.
- Attack #2 (Prime-Field Wrap-Around Bug): In finite field F_p, p - 4,000,000,000 acts identically to -$4B (mod p)—making explicit 0 <= v < 2^64 range constraints mandatory on leaves and internal sums.
- Attack #3 (Cross-Margin Negative Token Balances): Legitimate margin traders often hold -$5M USDC and +$8M BTC (+$3M net equity)—requiring multi-asset equity valuation constraints rather than naive per-token >=0 checks!
- Attack #4 (Hidden Off-Chain Encumbrance): No blockchain proof alone can detect a secret paper contract pledging an exchange’s cold wallet to an offshore lender—requiring UCC lien searches and ISAE 3000 / SOC 1 legal controls!

## Related financial entities

- **SEC Staff Accounting Bulletin No. 122 (SAB 122) & FASB ASC 450-20 Custody Rule** (SEC-SAB-122) — license: SEC Staff Accounting Bulletin No. 122 (SAB 122) & FASB ASC 450-20 Custody Rule (SEC-SAB-122) refers to an institutional financial benchmark and regulatory standard monitored by SEC Office of the Chief Accountant (US), currently calibrated at 0.0% (Balance-Sheet Liability Gross-Up) as of October 2026.
- **SEC Staff Accounting Bulletin No. 122 (SAB 122) & FASB ASC 450-20 Custody Rule — 2026 Standard** (SEC-SAB-122-STD) — license: SEC-SAB-122 2026 Institutional Benchmark Framework is defined as the standardized quantitative and compliance methodology published by SEC Office of the Chief Accountant governing SEC Staff Accounting Bulletin No. 122 (SAB 122) & FASB ASC 450-20 Custody Rule across US capital markets (0.0% Balance-Sheet Liability Gross-Up, October 2026).

## Analysis

Inside FTX's PostgreSQL database sat a single boolean column on Alameda Research's account record—`allow_negative = true`—that silently absorbed **-$8 billion of customer deposits** while every retail user dashboard still displayed normal balances. When the industry turned to cryptographic Proof-of-Reserves to make another hidden negative account mathematically impossible, cryptographers uncovered an equally subtle second trap: **without strict 64-bit bit-decomposition range proofs and off-chain encumbrance checks, finite-field math and secret paper liens can still spoof solvency**.

## Anatomy of Finite-Field Wrap-Around: Why `>= 0` Doesn’t Exist Natively in `F_p`

In C++ or Rust, checking `if (balance < 0) reject;` takes one CPU instruction. Inside a **zk-SNARK arithmetic circuit**, all addition and multiplication occurs modulo a 254-bit prime `p` (such as the `BN254` scalar field or Plonky2's 64-bit `Goldilocks` extension)—where **every element is an unsigned residue `0, 1, ..., p - 1`**!

As demonstrated in the formula block above, if a circuit developer forgets to constrain the **bit-length** of either a leaf's net equity *or* an internal node's running sum:
- Setting a fake account balance to `p - 4,000,000,000` wraps around modulo `p` during parent-node addition, **subtracting $4 billion from the root liability sum**!
- That exact bug class was caught in the wild by zk-security auditors in early 2023. Institutional ODD teams reviewing [zk-SNARK Merkle-Sum Tree Proof-of-Reserves](/stories/zk-snark-merkle-sum-tree-proof-of-reserves-liabilities-audit) demand **published third-party cryptographic circuit audit reports** confirming 64-bit `Plookup` range gates on *every* leaf valuation and *every* internal tree summation!

![Adversarial threat model of Proof-of-Reserves showing four attack vectors and their cryptographic and legal countermeasures](/api/figure?type=flow&title=Four%20Adversarial%20PoR%20Attacks%20%26%20Institutional%20Countermeasures&subtitle=Closing%20every%20mathematical%20and%20legal%20loophole%20in%20solvency%20verification&steps=Attack%201%20%20Fake%20-%244B%20Leaf%3A%3ABLOCKED%20by%20per-leaf%20non-negative%20equity%20gate%20%28Net_Equity_i%20%3E%3D%200%29%7CAttack%202%20%20Mod-p%20Overflow%3A%3ABLOCKED%20by%20explicit%2064-bit%20unsigned%20range%20lookup%20on%20leaves%20%26%20node%20sums%7CAttack%203%20%20Overnight%20Loan%3A%3ACAUGHT%20by%20continuous%20wallet-age%20tracking%20%26%20daily%20rolling%20zk-PoR%20cadence%7CAttack%204%20%20Secret%20Side%20Lien%3A%3ACAUGHT%20by%20UCC-1%20lien%20search%2C%20SOC%201%20Type%20II%20%26%20Big-4%20GAAP%20debt%20audit&metrics=Field%20Modulus%20p%3A%3ABN254%20%2F%20Goldilocks%3A%3AMust%20prevent%20wrap-around%20mod%20p%7CMargin%20Haircut%3A%3AConservative%20Oracle%3A%3APrevents%20inflated%20altcoin%20collateral%7CUTXO%20%2F%20Wallet%20Age%3A%3A%3E%2030-Day%20Dormancy%3A%3AFlags%20sudden%20pre-snapshot%20inflows%7CBest%20Defense%3A%3AOff-Exchange%20Custody!%3A%3ADon%E2%80%99t%20leave%20idle%20equity%20on%20CEXs)

## Defeating the "FTT Collateral Trick": Auditing the Oracle Haircut Vector

Even with bulletproof 64-bit range gates, how could a shady venue hide a bad margin loan inside a multi-asset zk-PoR circuit?
Suppose a captive market maker owes the exchange **-$500M USDC**, and posts **500 million units of an illiquid insider token** allegedly "worth $1.20 each ($600M)"!
- If the zk-PoR circuit values that insider token at `$1.20` with a `0%` haircut, the market maker's net leaf equity reads `+$100M >= 0`—passing the non-negativity gate even though liquidating the token on an actual orderbook would yield `$5M`!
- **Institutional Countermeasure**: Transparent zk-PoR implementations ([BitMEX](/venues/bitmex), [Backpack Exchange](/venues/backpack-exchange)) publish the **exact public-input vector of asset prices and collateral haircuts** alongside the Merkle root! If an exchange assigns >0% collateral weight to its own native token or illiquid micro-caps (violating [stressed VaR liquidity add-on standards](/stories/stressed-var-liquidity-add-ons-illiquid-altcoin-collateral)), institutional risk scripts reject the proof immediately!

| Insolvency Spoofing Vector | Historical Precedent / Bug Class | Pure zk-PoR Detection? | Required Institutional Defense |
| :--- | :--- | :--- | :--- |
| **Hidden Negative House Account** | FTX hidden `-$8B` Alameda `allow_negative` flag | **Yes (100%)** | Per-leaf `Net_Equity >= 0` constraint in [zk-SNARK MST](/stories/zk-snark-merkle-sum-tree-proof-of-reserves-liabilities-audit) |
| **Modular Field Overflow (`mod p`)** | 2023 under-constrained `BN254` PoR circuit bug | **Yes (with audit)** | Mandatory `[0, 2^64)` lookup range gates + formal circuit verification |
| **Inflated Illiquid House Token** | Counting `$5B` of illiquid exchange token as margin equity | **Yes (transparent)** | Public oracle price & collateral haircut vector committed in proof header |
| **24-Hour Borrowed Snapshot Coins** | Pre-snapshot OTC whale transfer returned at `T + 2h` | **Partial** | Continuous wallet-age analytics + daily/hourly automated PoR |
| **Secret Off-Chain Pledge / Lien** | Side-letter pledging cold wallet to offshore lender | **No (Legal Blind Spot)** | GAAP financial audit + UCC searches + [off-exchange tri-party custody](/stories/off-exchange-triparty-collateral-mirror-settlement-guide-2026) |

## The Legal Blind Spot: Secret Off-Chain Liens & Flash-Borrowed Snapshots

As emphasized in our [institutional crypto prime brokerage cornerstone guide](/stories/institutional-crypto-prime-brokerage-netting-por-guide-2026) and the SEC Office of the Chief Accountant's warnings alongside [SEC SAB 122](/entities/sec-sab-122-sec-staff-accounting-bulletin-no-122-sab-122-fasb-asc-450-20-custody-rule), **cryptography sees the blockchain—it cannot read a secret Cayman Islands loan agreement**!
1. **Unrecorded Senior Pledges**: If an exchange signs an off-chain security agreement granting a lender a senior charge over its cold wallet, the blockchain shows zero encumbrance until default! ODD teams run **Delaware / Washington D.C. UCC-1 financing-statement searches**, Cayman/BVI company-charge registry checks, and require **annual audited GAAP financial statements** plus [SOC 1 Type II custody audits](/stories/soc-1-type-2-vs-soc-2-type-2-digital-asset-custody-audits).
2. **Pre-Snapshot Flash Borrowing**: Public on-chain analytics platforms track exchange cold wallets 24/7/365; any venue whose cold-wallet balances spike 2 hours before `00:00 UTC` and flow back out 2 hours later is immediately flagged for window-dressing!

```formula
Why Finite-Field Arithmetic Wraps Around Without Explicit Range Gates (Illustrative Prime Field F_p):
 Suppose Prime Modulus p = 21888242871839275222246405745257275088548364400416034343698204186575808495617 (BN254 Scalar Field)
 1. Dishonest Exchange Owes Real Customers: +10,000,000,000 USDC
 2. Dishonest Exchange Injects Fake Leaf L_fake = p - 4,000,000,000
 Notice: As a raw field element, L_fake is a HUGE positive integer (~2.188 * 10^76), NOT a "negative symbol"!
 Yet in modular addition: (10,000,000,000 + L_fake) mod p === 6,000,000,000 USDC (-$4B vanished!)
 3. Mandatory Fix — 64-Bit Unsigned Decomposition Gate:
 Circuit forces L_i === Sum_{j=0..3} ( Limb_{i,j} * 2^(16*j) ) where every Limb_{i,j} in LookupTable[0..65535]!
 Max representable value = 2^64 - 1 (~1.84 * 10^19) <<< p/2 -> Impossible to reach p - 4,000,000,000!
```

## Why PoR Complements—Never Replaces—Off-Exchange Tri-Party Custody

Even a daily, formally verified zk-PoR only tells you an exchange was solvent *at midnight last night*. Rather than leaving $50M of idle equity exposed to intraday counterparty risk, institutional prime funds hold 90%+ of principal inside [NYDFS](/regulators/nysdfs), [BaFin](/regulators/bafin), or [FINMA](/regulators/finma) segregated vaults and trade via off-exchange pledges—using zk-PoR strictly to police the 5%–10% unsettled variation-margin tail!

![Audit coverage matrix showing percentage of insolvency risk vectors eliminated as verification layers stack from wallet list up to off-exchange custody](/api/figure?type=bars&title=Cumulative%20Solvency%20Assurance%20Stack%20%280%25%20to%2099.9%25%29&subtitle=Why%20institutions%20combine%20zk-PoR%2C%20continuous%20on-chain%20telemetry%2C%20and%20off-exchange%20custody&steps=Layer%201%20%20Signed%20Cold%2FHot%20Wallet%20List%20Only%3A%3A25%25%20risk%20coverage%20%E2%80%94%20proves%20asset%20keys%20at%20T_0%2C%20zero%20liability%20visibility%7CLayer%202%20%20%2B%20Audited%20zk-SNARK%20MST%20%2864-Bit%20Range%29%3A%3A70%25%20risk%20coverage%20%E2%80%94%20eliminates%20fake%20negative%20accounts%20%26%20missing%20liabilities%7CLayer%203%20%20%2B%20Continuous%20Wallet%20Flow%20%26%20GAAP%20Audit%3A%3A88%25%20risk%20coverage%20%E2%80%94%20catches%20flash-loan%20window-dressing%20%26%20corporate%20debt%20liens%7CLayer%204%20%20%2B%20Bankruptcy-Remote%20Off-Exchange%20Pledge%3A%3A99.9%25%20protection%20%E2%80%94%20principal%20never%20leaves%20your%20NYDFS%2FBaFin%20segregated%20vault!&metrics=Circuit%20Audit%3A%3A2%2B%20Crypto%20Security%20Firms%3A%3AZellic%20%2F%20Trail%20of%20Bits%20%2F%20Spearbit%7COracle%20Check%3A%3APublic%20Price%20Vector%3A%3ABlocks%20fake%20illiquid%20house-token%20eq.%7CUCC%20Search%3A%3ADC%20%2F%20DE%20%2F%20Cayman%3A%3AChecks%20secured%20creditor%20filings%7CSAB%20122%20Alignment%3A%3AASC%20450-20%20Disclosure%3A%3AContingent%20liability%20transparency)

## Solvency & Encumbrance ODD Checklist for Allocators

Operational due diligence teams active in our [Digital Asset Prime Brokerage & PoR hub](/topics/institutional-crypto-prime-margin) verify audited 64-bit range constraints under the [SEC SAB 122 2026 Benchmark Standard](/entities/sec-sab-122-2026-benchmark-standard), inspect public collateral-haircut vectors, and cross-check venue regulatory standing via our [verification portal](/verify).

## Frequently asked questions

### Did a real-world zk-SNARK Proof-of-Reserves circuit actually suffer a finite-field overflow vulnerability?

Yes! In February 2023, security researchers disclosed a critical under-constrained bug in an early open-source zk-SNARK Proof-of-Reserves repository: while individual user asset balances checked non-negativity, net USD equity calculation lacked a modular overflow bound—allowing a malicious prover to craft overflow values modulo p that canceled billions in real liabilities! It was immediately patched with 64-bit range gates.

### How do modern zk-PoR circuits handle legitimate institutional margin accounts that carry negative token balances?

If an institutional basis trader holds +$50M BTC collateral and borrowed -$30M USDT on margin, their USDT leaf balance is legitimately negative (-$30M)! Modern zk-PoR circuits solve this by proving two facts simultaneously: (1) each user’s haircutted net USD equity across all assets is >= $0, AND (2) the exchange’s aggregate house + customer on-chain holdings cover 100%+ of every net positive token obligation!

### Why can’t pure cryptography detect a "hidden off-chain encumbrance" or overnight window-dressed loan?

Suppose an insolvent exchange borrows 20,000 BTC for 24 hours from a friendly OTC whale via an unrecorded Cayman side-letter promising to return the BTC tomorrow. On the blockchain at 00:00 UTC, the exchange holds the private keys and passes both wallet signing AND zk-SNARK liabilities! Detecting borrowed/encumbered assets requires continuous multi-day monitoring plus CPA audit inspection of debt ledgers and UCC filings.

### Why did the SEC warn CPA firms in 2023 not to mislabel narrow Proof-of-Reserves snapshots as "financial statement audits"?

In March 2023, SEC Acting Chief Accountant Paul Munter warned investors that a point-in-time PoR procedures engagement does NOT examine off-balance-sheet liabilities, legal contingencies, corporate debt covenants, or internal controls—requiring institutions to pair cryptographic zk-PoR with full GAAP financial audits and SOC 1 Type II reports.


## Source URLs

- https://vitalik.eth.limo/general/2022/11/19/proof_of_solvency.html
- https://www.sec.gov/newsroom/press-releases/2023-40
- https://www.aicpa-cima.com/resources/download/trust-services-criteria

## Citation

- APA: Julian Mercer, CFA. (2026). Negative-Balance Non-Existence Proofs & Hidden Collateral Encumbrance Risk. Institutional Ledger. https://instledgerwire.com/stories/negative-balance-non-existence-proofs-hidden-encumbrance-risk
- Canonical article: [Negative-Balance Non-Existence Proofs & Hidden Collateral Encumbrance Risk](https://instledgerwire.com/stories/negative-balance-non-existence-proofs-hidden-encumbrance-risk)
- Site research index: [Institutional Ledger](https://instledgerwire.com/llms-full.txt)
