Skip to content
HAYVEN

HAYVEN Security

A token launcher handles the most sensitive thing you own on-chain: the key that controls your funds and your token's authorities. HAYVEN's security model starts from one rule. Hosted infrastructure never receives a private key or a seed phrase, in any form, for any reason. Every design choice below follows from that rule. So does every limit, and we would rather state the limits plainly than overstate the protection.

This page describes the system as built. It names the algorithms, the parameters and the boundaries, so you, or someone you trust, can check them against the behaviour of the running application.

HAYVEN trust boundaryKeys stay inside the browser boundary. Only public artwork, public metadata and already-signed transactions cross to the HAYVEN server, which forwards them to IPFS and Solana RPC.YOUR DEVICE · BROWSERVault: AES-256-GCM keystoreSeed phrase → SLIP-0010 keyTransaction builder + simulation gateed25519 signing (payer + mint)HAYVEN SERVER · RELAY ONLY/api/rpc → Solana RPC/api/ipfs → Pinata (public files)/api/market → CoinGeckoNever receives: keys, seedssigned txpublic files

The trust boundary. Signing material lives on the left. The server on the right only ever sees public data: artwork, metadata JSON, signed transactions and market queries.

Six layers

Defence that does not depend on trusting us.

01

Key generation in the browser

New wallets come from a 128-bit BIP-39 mnemonic drawn from the browser's cryptographic random source. The Solana key is derived with SLIP-0010 on the hardened path m/44'/501'/0'/0', the same path Phantom and Solflare use for the first account, so the phrase can be restored in other wallets. Our tests check the derivation against the official SLIP-0010 test vectors.

02

Encrypted at rest

Before anything is stored, the 64-byte secret key is sealed with AES-256-GCM under a key derived from your password with PBKDF2-SHA-256 at 600,000 iterations, the OWASP 2023 recommendation. Each wallet gets a fresh 16-byte salt and 12-byte nonce. GCM's authentication tag means a wrong password or a tampered file is detected, not silently decrypted to garbage.

03

Plaintext only in memory

Unlocking decrypts the key into the page's memory for signing. Locking, switching wallets, leaving the page, or 15 minutes without signing drops the reference. Decryption also checks that the key matches the public address recorded next to it, which catches a swapped keystore.

04

The browser can only call home

Every HAYVEN page is served with a Content-Security-Policy whose connect-src is 'self'. Scripts on the page cannot open a connection to any other host. So even a compromised third-party script would struggle to send data anywhere except our own API routes, and none of those accept key material.

05

A relay, not a wallet service

The /api/rpc relay forwards a fixed allowlist of JSON-RPC methods: reads, simulateTransaction and sendTransaction. A signed transaction is public by nature once it reaches the network. The relay exists to keep provider API keys off the client, to rate-limit abuse, and to block mainnet submission on deployments where it is disabled.

06

Simulate, confirm, sign the same bytes

Simulation stores the compiled message and its SHA-256 hash. Signing is refused unless that simulation succeeded, the fingerprint of every input still matches, you ticked the confirmation, and the blockhash is still valid. The signer then deserialises the stored bytes, signs them, and checks the hash again. Nothing is rebuilt between review and signature.

What the server sees

An honest data inventory.

Privacy claims mean little without a list. Here is everything that reaches HAYVEN's servers when you use the Launcher, and what happens to it.

RPC requests. Balance lookups, blockhash requests, rent queries, simulations and the final signed transaction pass through the relay to the configured Solana RPC provider. These reveal your public address and the token you are creating, which the network will publish anyway once the transaction lands. The relay does not store request bodies.

Artwork and metadata. When you use Token Studio, the image and the metadata JSON (name, symbol, description, links) are sent to our IPFS route and pinned with Pinata. Pinned IPFS content is public and effectively permanent. Do not upload anything you would not publish.

Market and network queries. The SOL price and network statistics are fetched by our server and cached briefly. They carry nothing about you.

Network metadata. Like any web server, ours sees your IP address and user agent. Rate limiting uses the IP address in memory for one minute. HAYVEN runs no analytics or advertising scripts on the Launcher.

Never. Private keys, seed phrases, vault passwords and the encrypted keystore itself. The keystore lives only in your browser's IndexedDB.

Limits we will not hide

What local signing cannot protect against.

A compromised device. Malware, a malicious browser extension with access to all sites, or someone at your unlocked computer can read what the page can read, including a key while the vault is unlocked. Use a clean browser profile without extensions for launches that matter.

Memory hygiene in JavaScript. Browsers give web pages no way to wipe memory with certainty. Locking drops every reference to the key, but the garbage collector decides when those bytes are overwritten. Hardware wallets avoid this by never exporting the key at all.

Trust in the code you load. Like every web wallet, the protection holds only if the JavaScript served to you is the code described here. A compromised build or hosting account could change it. Strict transport security and a tight CSP shrink that risk but cannot remove it. For high-value launches, run HAYVEN from a build you made yourself.

Weak passwords. PBKDF2 slows guessing but cannot save a short or reused password if someone copies your browser profile. HAYVEN rejects passwords under ten characters. Longer is better.

Your own choices. Simulation proves a transaction will do what it says. It cannot decide whether you should do it. Revoking authorities and locking metadata cannot be undone.

Mainnet safeguards

Devnet is the default network. Mainnet submission is switched off unless the operator enables it for the deployment, and the relay itself refuses mainnet sendTransaction calls when it is off. When mainnet is on, the Launcher shows a permanent warning and asks you to type the token's symbol before the sign button unlocks. Airdrops are refused outside devnet.

Before you sign, the simulator lists every program the transaction invokes, by name and address. For a HAYVEN launch that list contains only the Compute Budget program, the System Program, Token-2022 and the Associated Token Account program. Any other entry would be a reason to stop.

Your checklist

1. Back up the seed phrase on paper when you create a wallet. HAYVEN cannot recover it.

2. Use a dedicated launch wallet funded with only what the launch needs, not your main holdings.

3. Rehearse the full launch on devnet with the same settings you plan to use on mainnet.

4. Read the step list and the programs invoked. Check the mint address on an explorer after launch.

5. Lock the vault when you finish, and remove wallets from shared computers.

Ready to try it? Open the Launcher on devnet, or go back to the overview.

References: SLIP-0010 · BIP-39 · OWASP Password Storage Cheat Sheet · MDN: Content-Security-Policy · Solana simulateTransaction