> For the complete documentation index, see [llms.txt](https://vanishnetwork.gitbook.io/vanishnetwork-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vanishnetwork.gitbook.io/vanishnetwork-docs/security.md). Agents can also search and read this documentation through its [MCP server](https://vanishnetwork.gitbook.io/vanishnetwork-docs/~gitbook/mcp).

# Security

## Custody

You always sign your own transactions. Buying, staking, and unstaking all require your own wallet signature — nothing in the protocol moves your funds without you initiating the action. There is no custodial layer holding user assets on anyone's behalf.

## What the internal review covered

Four utility contracts were built and went through a dedicated internal security pass — not a third-party audit firm, an internal adversarial review pass modeled on standard smart-contract audit practice (reentrancy, access control, integer/rounding edge cases, ownership-safety). We say that plainly rather than imply a formal audit that didn't happen.

Of those four, **staking is the one that deploys at launch.** The other three — the NFT collection, the accrual/claim system, and the VanishRewards treasury — were retired from the launch plan before deployment (see [Overview](https://vanishnetwork.gitbook.io/vanishnetwork-docs/overview.md#a-retired-mechanism-kept-for-transparency)); they're kept in the repository, reviewed and working, but not live.

The review found and fixed one real, exploitable issue, on the (now-dormant) accrual system:

> **Forfeit-on-transfer bypass (Medium severity).** The accrual system's transfer-forfeiture logic could be bypassed by settling an NFT's balance and transferring it in the same block, letting an unclaimed balance slip to the buyer instead of resolving as the design intended. Fixed with a strictly-incrementing hold-epoch counter instead of a timestamp comparison (two transfers can share a block timestamp; they can't share an incrementing counter value), verified with a dedicated test.

Everything the review found — including lower-severity and informational items — is documented in full in the project's internal security report. Nothing is hidden because it made a headline number look worse; a caught bug is the review working, not a mark against it.

## What admin powers exist, and their limits

Every contract is owned by a single address (a multisig in production, per the deploy design). Owner powers exist and are worth knowing plainly:

* **Pause.** Each contract can be paused by the owner. Pausing never blocks you from recovering your own principal — unstaking your own staked $VANISH works even while paused.
* **Rescue.** An emergency function lets the owner recover tokens mistakenly sent to a contract. On the staking contract, this is bounded — the owner mathematically cannot touch staked principal or already-earned, unclaimed rewards, only genuine surplus.
* **Timelocked changes.** Changing the staking contract's reward-token address requires a **2-day timelock** — queued, then committed only after the delay. This is the sole protection against an owner front-running a large stake with a reward-token swap; it's a real mitigation, not a formality. This is the exact mechanism used to point staking at USDG rather than $VANISH — see [Staking](https://vanishnetwork.gitbook.io/vanishnetwork-docs/staking.md#reward-asset-usdg-not-vanish).

The dormant contracts (NFT collection, accrual/claim, VanishRewards treasury) carry their own admin powers too — including a settable-then-permanently-lockable Merkle root for the retired whitelist mechanism — but since none of them deploy at launch, those powers don't affect anything live today.

## No bug bounty program exists yet

There is currently no formal bug bounty or disclosure program. If that changes, this page will be updated with the details — nothing is promised here that isn't live.
