Project / Security

Security

What makes Xenia different, what we've checked, and what's still open. Every result here comes from a test you can run yourself. The commands and full results are in STATUS.md.

What Xenia does differently

Most of these exist somewhere else on their own. We don't know another chain that has all of them together, and we say where something similar exists.

Ethereum and Solana programs on one set of accounts

A stock Solidity contract and a Solana program both run, and both see the same balance: an ERC-20 to one, an SPL token to the other. There's no bridge, so a coin can't exist twice.

Ours is checked live with the standard tools developers already use: Foundry for Ethereum, and the Solana CLI and Anchor for Solana.

Payments that can't be taken back before the block is final

Turn on lock mode and the validators sign each payment as soon as they see it. The payer can no longer spend that coin twice, long before the block is final. In simulation this takes about 0.125 s. It switches on live at block 470,000, and we'll publish the measured time.

Sui has a similar fast path for simple transfers. Here it's an account setting, backed by two thirds of stake.

A payment lane that apps can't clog

Simple payments have their own block space and a fixed small fee. A rush on apps or trading doesn't change what a payment costs.

Solana prices congestion per account. Reserved, fixed-fee lane for payments is the difference.

Spending limits for software agents that the chain enforces

An agent card has a daily cap, a cap per payment, an allowed list of shops and an expiry. The chain checks them, the owner can switch the card off instantly, and a shop can check a receipt in one call.

Ethereum smart-contract wallets can do something like it, each built by its own app. Here it's part of the chain.

Payments hidden until they're ordered

Every payment is encrypted until its place in the block is fixed, so nobody can jump the queue or sandwich it.

Aptos launched an encrypted mempool on mainnet in October 2026, and others are working on it. Here it applies to every payment.

One private pool for every coin

Private payments for XNIA, tUSD and any issued coin share one pool, so a private payment doesn't show which coin moved. Proofs are made in your browser, and view keys let an accountant see what you choose.

Here it sits on the same chain as fast payments, names and the safety features above.

A quantum-safe backup key on every account

An account can commit to a backup key that doesn't rely on elliptic curves. One transaction switches to it, drops the old keys and voids pending actions.

Other chains are still researching this. Validator votes and the private pool are next, see below.

Checked

6
XeniaBFT under attack

5,000 simulated networks of 4 to 7 validators, up to a third of them lying, with dropped messages, splits and crashes.

✓No two conflicting blocks ever final. Every run recovered after the network healed.

Vault and allowance limits

Kani, a model checker, tried every possible input against the spending limit code.

✓Proved for all inputs. The first run found a real bug near the end of the 64-bit clock, which is fixed.

Decoders and addresses

Fuzzing: hundreds of millions of random inputs against the transaction decoder, address parser, signature check and state tree.

✓No crash or panic.

Coins created from nothing

Property tests over thousands of random blocks, checking total supply after every block.

✓Supply always conserved. Parallel and one-at-a-time execution always agree.

Do the tests catch bugs?

Mutation testing: we break the code on purpose and check a test fails.

✓Every planted bug is caught now. Where an early run missed one, the test was made stricter.

Dependencies

cargo audit and cargo deny on every build.

✓Clean. Four advisories in the TLS library were fixed by upgrading.

Still open

No outside audit yet

Everything above was done by the people who wrote the code. An independent audit comes before mainnet.

Validators are close together

All 7 are run by the Xenia team today, and 4 of them are in Mumbai. That keeps the network fast, but it isn't decentralized yet. Bringing in outside validators is the next testnet step.

Quantum safety: accounts done, the rest next

Every account can already switch to a quantum-safe backup key or use a hybrid key. Validator votes, sealed payments and the private pool are next to move to quantum-safe methods.

Private pool limits

Each account can hold at most 10,000 tUSD worth in the pool until the pool is audited.

Phone proving speed

Proving a private payment on a phone still takes tens of seconds. The goal is under 3 seconds.

Wallet trusts the explorer

The web wallet reads balances from this explorer. The plan is for the phone app to check them against the chain using state proofs.

The full threat model, what each protection is meant to stop, is in THREAT_MODEL.md.

Bug bounty

coming soon

The bug bounty is coming soon. Until then, please report security problems privately through GitHub's private vulnerability report, not in a public issue.