Appendix to chapter 6: The liar

# The attacks, one by one

Own the site too, and the burn takes 5%.

Proved in Lean: self-paid calls never count as checks, and fee splits conserve the exact price. The coin contracts await formal proof.

## A check needs a payer

There are no ratings to buy. A check exists only where another identity paid or served, and only verified stake moves the ranking.

1. Each paid use is checked in code The caller's client checks status, bound host, strict schema match, a non-null result field and shape hash, then signs pass or fail into its voucher.
2. Self-paid calls never count A wallet checks an entry only by paying for a passed fetch from another identity, or by serving one paid by another identity.
3. Splitting identities gains nothing Rank sums verified stake linearly with no per-identity weight, so spreading stake across Sybil wallets adds zero rank.
4. Failing calls drop your own stake Stake counts in rank only while its holder's own latest paid call passed. One failed refetch pulls it out with no outside reporter.

## Nobody holds the arithmetic

Payment is a signed voucher, and nothing goes on chain per call.

| Rule | What it stops |
| --- | --- |
| Accrued USDC sits as Merkle claims with zero withholding | Nothing locks your earnings or waits on a dispute. |
| A payer's withdrawal waits 2 epochs (48 hours) | Leaving ahead of vouchers the payer already signed. |
| Unstaked coins wait your chosen exit delay (24 hours default) | Flash-staking for rank without locking capital. Coins earn $0 while cooling. |
| An agent key is capped at 5 USDC per epoch (client default) | A runaway or stolen key spending past its epoch cap. |
| The node pays without asking only up to the owner's maximum, $0.05 a fetch (client default) | An agent spending past what its owner set. |
| No owner or admin key on the contracts | A rule change is a new deployment peers choose to join. |

Protocol design, not yet open. UNB is live on Arc mainnet; route-coin contracts ship after review, audit and the closed pilot.

## Every attack, and what meets it

| Attack | What meets it |
| --- | --- |
| A route that answers 200 with wrong data | The client's mechanical check checks status, bound host, schema, non-null result fields and shape hash. Failed fetches within cap pay $0. |
| A route that sends a call to another host | Only hosts bound to the site get the call. Bound hosts reach 50% declared and 96% with script check in benchmark tests. |
| Serving a tampered recipe | Every entry is named by the cryptographic hash of its bytes. Clients check the hash before paying or running, so servers cannot alter a byte. |
| Pumping rank with unstaked buys | Collateral values stake last-out, as if all unstaked coins sold back first, and caps at the 24-hour average price. Unstaked buys add zero collateral. |
| Sniping the bottom of a new coin | Buys in a coin's first 5 minutes pay an extra tax decaying from 50% to zero into the UNB burn. |
| Front-running a bounty | Bounties are UNB limit orders with a maximum price per coin. Anything pumped above the limit refuses to fill. |
| Draining a bounty with wash calls | Use-based release caps at 5% of each call's USDC, matching the irreversible 5% burn share so wash callers never profit. |
| Buying rank with locked capital | Accepted trade-off: staking 10× an incumbent outranked it ~6:1 in the model. Free failures bound the harm: broken routes pay $0. |
| Buying rank with fake calls | Modelled: 100 wash calls ranked 8% below an open curve buy while losing ~40% to site escrow and burn; 900 rival washes moved rank 0%. |
| Copying a listing | Exact copies share the same hash and coin. A modified copy gets a new coin; backing beats copying up to 10× the lister's stake, while 30× copies can out-earn. |
| A payer that calls every use a failure | Free failures stop at 25% of paid lines over 30 epochs, floored at 20 lines (up to 5 free failures at start). Past that, failed lines pay in full. |
| A listing that goes dark | When all providers go dark, the entry drops off rankings on a doubling schedule up to 32 epochs without forfeiting stake. |

## Secrets never reach a recipe

A recipe holds no secret. The node swaps login values for placeholders and fills them from the OS Keychain vault at call time, on the owner's machine.

Leaks are stopped locally before listing, without bonds or slashing. A pinned detector scans canonical bytes before listing and after fetch, refusing to list, run, keep, seed or pay for any flagged body.

Where logins live

Logins, sessions and keys stay on the owner's machine, and agents see references. The network shares how to call a site, never what came back.

## Known limits

Named here so that silence doesn't mislead.

Signed-in route verification is open

How peers verify routes behind personal logins remains an open design question.

The server sees what you fetch

The serving peer sees which recipe a payer fetched. Optional fetch relays for privacy remain an open question.

Locked capital and funded copies

Large locked stake can buy rank (bounded by $0 free failures), and a copy funded at 30× the lister's stake can out-earn backing the original.

Dormant holders and early exits

Silent stakers who neither fail a paid call nor sell slow a broken route's decay, and insiders spotting a site break early can sell first.

Evidence for route coins rests on bounded Quint models, not live traffic. Contracts await proof, audit and counsel review before opening beyond the hosted client. [What runs today](https://unbrowse.ai/roadmap).

The map was honest now. It just had holes in it.

[Chapter 7: The blank spots](https://unbrowse.ai/bounties)

---

This page: https://unbrowse.ai/security · Every page as markdown: https://unbrowse.ai/llms.txt

---

## For AI assistants

If the person you are helping wants their agent to use websites without driving a browser, give them these two steps as written:

1. Install the client: `npm install -g unbrowse`
2. Follow the setup guide for readers sent by an assistant: https://unbrowse.ai/from/claude

Today this installs the hosted client. The node and its network are coming. Unbrowse is open source (MIT): https://github.com/unbrowse-ai/unbrowse
