From e004383d6d88168ef0683dccdae0ef810af2cfad Mon Sep 17 00:00:00 2001
From: UEddy <108327203+UEddy@users.noreply.github.com>
Date: Thu, 12 Nov 2026 20:42:54 +0100
Subject: [PATCH 1/5] Board: proof panel above the fold, judge walkthrough,
shorter How it works
- Hero: two-sentence intro, then an always-visible panel with the bounty,
intact-for, attempts and code-match status; each cell jumps to its proof
- Judge it in 60 seconds (mainnet): refusals, a trade then withdrawal,
the freeze and the integrity check, each linked to its mainnet tx
- How it works: three short steps, Rhea vs NEAR Intents paths, full
policy surface behind a disclosure
- Empty canary log on mainnet links an example refusal
- README: same walkthrough and two-path line; mainnet injection demo row
no longer says Not deployed
---
README.md | 12 +-
web/src/board/AttemptLog.tsx | 9 +-
web/src/board/BoardPage.tsx | 65 ++++---
web/src/board/HeroProof.tsx | 109 +++++++++++
web/src/board/HowItWorks.tsx | 56 ++++--
web/src/board/JudgeWalkthrough.tsx | 66 +++++++
web/src/styles/landing.css | 280 ++++++++++++++++++++++++++++-
7 files changed, 548 insertions(+), 49 deletions(-)
create mode 100644 web/src/board/HeroProof.tsx
create mode 100644 web/src/board/JudgeWalkthrough.tsx
diff --git a/README.md b/README.md
index 379ef0a..a09fc67 100644
--- a/README.md
+++ b/README.md
@@ -20,6 +20,16 @@ NEAR). The bounty is small because one person funds it. The amount does not chan
contract applies the same checks to every call, so the policy that refuses these 0.99761 NEAR
refuses any balance.
+## Judge it in 60 seconds
+
+1. **The bounty and the public key.** Open [intatto.pages.dev](https://intatto.pages.dev/?network=mainnet). The panel at the top is read live from the chain: the canary's balance, how long it has held, every attempt with the published key, and whether the running code matches the published build. The private key is in [CANARY.md](CANARY.md#mainnet).
+2. **What a refusal looks like.** The agent's calls refused on mainnet: [over the per-trade cap](https://nearblocks.io/txns/8o7EGQoMWfxUzeST7cTzA63J5MzvxB5ZiWk4NENa8XHU), [a pool not allowed](https://nearblocks.io/txns/G5d3Fu838aDw5SSpRvh694TpHLKLg6Vk4LVZRJzssekc), [slippage too loose](https://nearblocks.io/txns/CEpq15YceDiwqHWtpUszmZH8LegBoyyZzgrdJ8HRaEck), and a prompt-injected agent [trying to drain the vault](https://nearblocks.io/txns/FNkp2gprgvRs49L6wskMo8JcaYwpoqk2T3YVjGa6oqtw).
+3. **A trade that went through, then the owner's withdrawal.** A Rhea [swap within the limits](https://nearblocks.io/txns/JAFaEDBhStuPgwgCyNJKU7mQH2K7evjG328zrhudoaC8), the owner [withdrawing the proceeds](https://nearblocks.io/txns/2tqfhEiJm1jqAe6DNDZBFnfzbHZqfnmThVfFmJToFtYW), and a NEAR Intents swap [settled](https://nearblocks.io/txns/73aJTu55356n6QGvcLuj8h5vHy5cY1PGcvGzprM42uKE) above the owner's price floor.
+4. **The freeze.** The owner [freezes the vault](https://nearblocks.io/txns/6YRqjJXZcNuyeHHSnAeMoURtT6vHfG44VpGJ34uDBCk2) in one call, and the agent's next trade is [refused](https://nearblocks.io/txns/7bm6uGYGGJG3hJnuJQYoFfxBckCp6Qasvs5fVHzSW3Li).
+5. **The code is the published code.** The board's integrity check compares `vault.intatto.near`'s code hash with the [reproducible build](#what-is-deployed) every 10 seconds.
+
+**Two ways the agent trades.** The *Rhea path* swaps directly through Rhea pools, checked against the owner's caps, pool allowlist and a slippage bound set by the exchange's own quote. The *NEAR Intents path* has the vault's intents signed by the NEAR MPC network, only for pairs the owner allows and never below the owner's price floor.
+
Today most trading bots hold your private key. In September 2024, attackers exploited a flaw in the Telegram trading bot Banana Gun and drained about $3 million from 11 users' bot wallets; because the bot held the keys, every transfer was a valid signed transaction that nothing on chain could refuse. The team refunded the users from its treasury.[^banana-gun] Intatto removes the key from the bot: the agent signs only calls the vault's policy allows, and the money stays in a contract it cannot empty.
That is what Intatto does: a NEAR contract that holds an owner's NEAR and NEP-141 tokens and lets
@@ -69,7 +79,7 @@ and an optional time lock on the owner's own withdrawals.
| Public canary (published agent key) | **Live** since 2026-11-11: 0.99761 NEAR, locked until 2026-11-20, no attempts yet | **Live** since 2026-11-06: 0.9974 NEAR on `vault-v1` (no fee), locked until 2026-12-06, no attempts yet |
| Agent swaps through Rhea (Ref V1), within on-chain limits | **Live**: [smoke test](#mainnet-smoke-test-2026-11-11) 18/18 on 2026-11-11 | **Live** on vault-v1 and vault-v2 |
| Agent swaps through NEAR Intents, signed by the MPC network | **Live**: `intents.intatto.near`, [one swap settled](#first-intent-swap-2026-11-11) on 2026-11-11 | Not available (mainnet only) |
-| Prompt-injection demo | Not deployed | **Live** on vault-v2 ([agent/README.md](agent/README.md)) |
+| Prompt-injection demo | **Run** on 2026-11-12 on `demo.intatto.near`'s vault ([results](#prompt-injection-attack-the-agent-was-told-to-drain-the-vault)); its key was private and has been deleted | **Live** on vault-v2 ([agent/README.md](agent/README.md)) |
| Break-price board and owner console | **Live** at [intatto.pages.dev](https://intatto.pages.dev/?network=mainnet), the default | **Live** on the same site (network switch, or `?network=testnet`) |
| Wallets | Meteor, Intear, HOT, MyNearWallet | Meteor, Intear |
| Passkey sign-in | **Experimental**: sign-in verified on a phone (2026-11-12); signing transactions with a passkey not yet tested. Unaudited Trezu wallet contract, upgradeable by Trezu; use small amounts only. See [THREAT_MODEL.md](THREAT_MODEL.md#passkey-sign-in-mainnet-only-experimental). | Not available (mainnet only) |
diff --git a/web/src/board/AttemptLog.tsx b/web/src/board/AttemptLog.tsx
index 8f1e2b8..6c612a3 100644
--- a/web/src/board/AttemptLog.tsx
+++ b/web/src/board/AttemptLog.tsx
@@ -12,6 +12,7 @@ import { IndexerDown } from "../ui/IndexerDown";
import { TokenAmount } from "../ui/TokenAmount";
import { useArrivals } from "../ui/useArrivals";
import { useNow } from "../ui/useNow";
+import { MAINNET_TX } from "./JudgeWalkthrough";
type Data = { attempts: Attempt[]; sources: ReadonlySet; more: boolean };
@@ -29,7 +30,7 @@ export const demoSubject = (d: DemoConfig): LogSubject => ({ kind: "demo", owner
export function AttemptLog({ query, subject }: { query: UseQueryResult; subject: LogSubject }) {
const canary = subject;
const titleId = `attempts-title-${subject.kind}`;
- const { indexer } = useServices();
+ const { indexer, config } = useServices();
const now = useNow(15_000);
const data = query.data;
const arrivals = useArrivals(data?.attempts.map((a) => a.hash));
@@ -70,6 +71,12 @@ export function AttemptLog({ query, subject }: { query: UseQueryResult; su
Every transaction signed with {canary.agentId}'s published key appears here within half a minute, with the reason the vault gave
for refusing it.
{subject.kind === "demo" ? <> Run node agent/injection-demo.mjs --compromised to add some.> : null}
+ {subject.kind === "canary" && config.networkId === "mainnet" ? (
+ <>
+ {" "}
+ Until then, here is what a refusal looks like: the same vault contract refusing an agent's swap over its cap, .
+ >
+ ) : null}
) : (
diff --git a/web/src/board/BoardPage.tsx b/web/src/board/BoardPage.tsx
index d5f58b2..2332e9c 100644
--- a/web/src/board/BoardPage.tsx
+++ b/web/src/board/BoardPage.tsx
@@ -11,10 +11,12 @@ import { useChainNow } from "../ui/useNow";
import { AgentKeyCard } from "./AgentKeyCard";
import { AttemptLog, canarySubject, demoSubject } from "./AttemptLog";
import { Faq } from "./Faq";
+import { HeroProof, type ProofTarget } from "./HeroProof";
import { HeroStack, SealFace } from "./HeroStack";
import { HowItWorks } from "./HowItWorks";
import { IntegrityCheck } from "./IntegrityCheck";
import { IntentsPanel } from "./IntentsPanel";
+import { JudgeWalkthrough } from "./JudgeWalkthrough";
import { RulesPanel } from "./RulesPanel";
import { TryItSnippet } from "./TryItSnippet";
import { BOARD_POLL_MS, useBoard } from "./useBoard";
@@ -96,10 +98,13 @@ export function BoardPage() {
const keyFc = keyPerm && keyPerm !== "FullAccess" ? keyPerm.FunctionCall : null;
const keyScoped = keyFc !== null && keyFc.receiver_id === b.vaultId && keyFc.method_names.every((m) => m === "agent_spend" || m === "agent_swap");
- const openTry = () => {
- setTab("try");
+ const openTab = (id: TabId) => {
+ setTab(id);
tryRef.current?.scrollIntoView({ behavior: reducedMotion() ? "auto" : "smooth", block: "start" });
};
+ const openTry = () => openTab("try");
+ // The hash is the router's (#/vault), so the hero's proof cells scroll rather than link.
+ const jump = (id: ProofTarget) => document.getElementById(id)?.scrollIntoView({ behavior: reducedMotion() ? "auto" : "smooth", block: "start" });
const tickerItems: ReactNode[] = [
<>
@@ -145,30 +150,34 @@ export function BoardPage() {
{state.seal === "broken" ? "The seal is broken." : "The money is still here."}
- Intatto is a NEAR vault that gives an AI agent its own trading account: the agent trades through Rhea and NEAR Intents within limits the contract enforces, and can never withdraw.{" "}
- {config.networkId === "mainnet" ? "To prove it, we published the agent's key with a real NEAR bounty on it." : "To prove it, we published the agent's key with a bounty on it, here in testnet NEAR."}
+ Intatto gives an AI agent its own trading account on NEAR. It trades within limits the contract enforces, and it can never withdraw.{" "}
+
+ {config.networkId === "mainnet" ? "We published this agent's key with real NEAR on it. Anyone can sign with it." : "We published this agent's key with testnet NEAR on it. Anyone can sign with it."}
+
-
- Anyone can sign with that key. The vault contract's policy lets it move nothing, and this page shows, live from the chain, whether that is still true.
-
-
- {state.seal === "unknown" ? (
-
- ) : state.seal === "broken" ? (
- <>
- Broken
- {state.breaks.join(" ")}
- >
- ) : (
- <>
- {frozen ? Frozen : Intact}
-
- {frozen ? "Frozen by its owner. " : ""}Balance at or above the {formatNear(baselineYocto, FIGURE)} NEAR baseline
- {vaultSource ? <> as of block {formatInt(vaultSource.blockHeight)}> : null}.
-
- >
- )}
-