Skip to content

Security: Random21m/VOIDFORGE

SECURITY.md

Security

Status

VOIDFORGE is not independently audited. It is a single HTML file you can read, with automated tests (known-answer vectors, differential tests against independent libraries, and tests that deliberately break the code). That raises confidence; it does not mean VOIDFORGE has been independently audited. For large amounts, generate on dedicated hardware (SeedSigner, Coldcard, etc.) and use VOIDFORGE only to cross-check.

How VOIDFORGE is checked

Every release passes all of these before it is published (RELEASING.md says how to run each):

  • The self-test in the page. Known-answer vectors from the published standards (BIP39, BIP32, BIP84/86/49/44, BIP85, BIP352, Electrum's own test wallets and more) run each time the page opens; if one fails, the tools that make or check keys stay off.
  • Unit tests (tests/test.js): over 1,550 checks of every feature, in a simulated browser.
  • Oracle tests (tests/oracle.test.mjs): the same inputs through the page and through independent libraries (@scure, @noble, bc-ur, bbqr), compared byte for byte.
  • Property tests (tests/fuzz.test.mjs): random inputs (seeds, Unicode passphrases, any derivation path, roll strings, damaged addresses, arbitrary text) through the page and the independent libraries.
  • Bitcoin Core (tests/core.test.mjs): on a private test network, Core checks the page's descriptors and import commands for every address type, sees payments to the page's addresses in the watch-only wallet, derives the same multisig addresses, and makes the transactions and signed messages the page reads.
  • Device makers' rules (tests/vendor.test.mjs): "Check your device's dice" against SeedSigner's, Coldcard's and Keystone's own dice code, and Check a Coldcard seed mix against Coinkite's own checker and vectors, read at pinned commits.
  • Other projects' own code (v2.10.0): punch plates against Krux (tests/krux.test.mjs), raw card entropy against Ian Coleman's BIP39 tool (tests/coleman.test.mjs), new SLIP39 shares against python-shamir-mnemonic (tests/slip39.test.mjs), old Electrum seeds against Electrum's source and tests, encrypted descriptor backups against the official BIP138 vectors, signature checks against Bitcoin Core's sighash.json and tx_valid.json (tests/sigcheck.test.mjs), and (v2.11.0) codex32 against every BIP93 test vector, the BIP's own Python, python-codex32 and Coldcard's code (tests/codex32.test.mjs), and Taproot multisig against embit, @scure/btc-signer and BIP387's vectors. Each file is pinned by commit and SHA-256, and only its pure functions are run.
  • Device backups (v2.12.0, tests/devbackup.test.mjs): TAPSIGNER, Krux and Coldcard backups against Krux's test vectors (Krux v26.09.0), Coinkite's sample Coldcard backups, and backups of every format and version made independently in the test with node:crypto.
  • Practice signer (v2.13.0, tests/simulator.test.mjs; with the v2.14.0 lessons the whole file has 268 checks): the SeedSigner 0.8.7 port is driven with its own buttons in a real Chromium, offline. Seeds, xpubs, addresses, SeedQR codes, signed transactions and signed messages are compared with @scure, @noble and jsqr, never with the page's own code. It is a port of SeedSigner's source, so SeedSigner's own checks do not apply to it.
  • The Damascus method (v2.14.0, tests/vfmethod.test.mjs): the three worked examples and 2,000 random sheets (1,000 of 12 words and 1,000 of 24) give the same grids, hallmarks, words, last-word range and bias boxes in the page as in the method's reference code, and the same phrases, fingerprints and first addresses as @scure/bip39, @scure/bip32 and @scure/btc-signer. The assay's two phrases are checked to XOR to the seed and the assay screen to show neither the Forge grid nor the seed. The printed sheets are checked for one page on Letter and A4, and the memory test checks the Damascus boxes are wiped. SeedSigner's own final-word steps are driven in the practice signer (and, when its source is given, SeedSigner's own Python is run) to agree on the last word, fingerprint and first address. The Damascus tab's CALCULATE LAST WORD (the last word from the Forge sheet alone) is checked against @scure/bip39 and against the practice signer's Calc 12th/24th word, and the five steps' live checks, the dice pad and the card picker are driven in the page.
  • Real signing (v2.17.0, tests/oracle.test.mjs, tests/simulator.test.mjs, tests/mutation.test.mjs section 83): PSBTs built with @scure/btc-signer for a seed that is not public, one of each kind (P2PKH with its previous transaction, P2SH-P2WPKH, P2WPKH, P2TR key path with SIGHASH_DEFAULT and SIGHASH_ALL, 2-of-3 P2WSH and P2SH-P2WSH, mixed inputs), are signed by the device's own Approve transaction; the result must be SeedSigner's trimmed PSBT byte for byte, each ECDSA signature the one a real signer makes (RFC 6979, low S, low R ground as embit and Bitcoin Core do), each Schnorr signature valid (@noble/curves) and equal to the BIP-340 signature with the nonce from the key itself, and btc-signer must finalize and extract the transaction (with a second cosigner's signature for multisig). Sighash types other than ALL (and DEFAULT for Taproot) are not signed, and a PSBT for another network is refused. In Chromium a real seed's PSBT is pasted, reviewed on the device, signed after the question, read back from the animated QR (jsqr and bc-ur), and compared with the text and .psbt file the page gives. Messages are checked by public key recovery.
  • Lessons on the practice signer (v2.14.0, tests/simulator.test.mjs): each of the six lessons is driven with the device's own keys, so every step must move on when the device shows the expected screen; the practice transaction is made from @scure keys, signed on the device, read from its screen and checked with @scure/btc-signer and @noble; CLEAR ALL must wipe it. FORGE SEED below the device (a seed loaded on the practice signer into MAKE A SEED's usual result, marked PRACTICE when it is public) and LOAD INTO THE PRACTICE SIGNER (v2.16.1: any seed under YOUR SEED, or a practice Damascus seed, loaded in one click: its SeedQR held up to the device's camera and the device's own keys pressed, Home > Scan > Done) are driven there too, with a real seed from the page's dice method. The fingerprint line FORGE SEED shows next to the device's is a consistency check only: both values come from this page's own code. The independent checks are the tests against @scure.
  • Stop costly mistakes (v2.15.0, tests/mistakes.test.mjs): re-hide is driven in jsdom and in a real Chromium (a real window blur when another page takes the focus, the real print events of the browser's Print and of VOIDFORGE's own PRINT sheets, real mouse activity, and the covered words checked to be unreadable in a screenshot); the passphrase check, passphrase practice (fingerprints against @scure/bip32) and Link as QR (read back from the screen with jsQR, and every kind of secret refused).
  • House style and re-hide (v2.15.0, tests/style.test.mjs): reads the page as written and fails on a second gold button in a tool box, a second warning style, a straight apostrophe in visible text, or "audit" outside "has not been independently audited".
  • Recover old wallets (v2.16.0, tests/recover.test.mjs): Electrum wallet files made by Electrum 4.8.4 itself (source at commit b991f249ded4) and older formats are read, and every answer (addresses, fingerprints, paths, keys, seeds, labels) is compared with what Electrum said about the same file; encrypted files are checked against Node's own crypto, wrong passwords and broken files are refused, and every address of any path in Open this wallet is compared with @scure/bip32, in jsdom and in a real Chromium with no network request.
  • Bitcoin Core wallet.dat (v2.16.0, tests/walletdat.test.mjs): legacy (Berkeley DB) and descriptor (SQLite) wallets written by the real libraries, with every record laid out as the Bitcoin Core v29.0 source files write it; every key, address, xpub, xprv and WIF is worked out again with independent code, and the encryption is checked against node:crypto. Damaged and cut-short files must fail cleanly.
  • Three browser engines (tests/browsers.test.mjs): Chromium, Firefox and WebKit.
  • Prints (tests/print.test.mjs): every printed sheet is exactly one page on Letter and A4, in a real browser.
  • Memory (tests/memory.test.mjs): after CLEAR ALL, auto-clear and END SESSION, a heap snapshot holds none of the seed words, rolls or passphrases.
  • Screens (tests/screens.test.mjs): the main screens against saved pictures.
  • Mutation tests (tests/mutation.test.mjs): about 2,500 deliberate small bugs; each one must be caught by the self-test or an end-to-end check. A bug that freezes the page counts as caught; one that only makes the checks run too long counts as not caught.
  • A fresh AI code review before every release, by a model that did not write the code, and a full review of the whole file before the first signed release. These reviews do not mean VOIDFORGE has been independently audited.

THREAT_MODEL.md says what VOIDFORGE protects, against whom, and what it cannot do.

Reporting a vulnerability

Please report privately, not in a public issue:

  1. On GitHub, open the repository's Security tab and choose Report a vulnerability (private advisory form), so only the maintainer can read it, or
  2. If that is unavailable, open an issue that says only "security report, please contact me" and no details; the maintainer will arrange a private channel.

Please include the version (shown at the bottom of the page), the browser, and steps to reproduce. Reports of anything that could leak a seed, passphrase or rolls, produce a wrong seed or address, or weaken the offline guarantees are the most important.

What is in scope

  • Wrong seed words, fingerprint or first receive address for given inputs
  • Anything that causes the page to make a network request, store data (beyond the theme and text size, and the start-notice flag kept for one tab session), turn the camera on without a SCAN button being pressed, or expose a seed, rolls or passphrase
  • A signed message reported VALID when it is not
  • Weaknesses in the self-test gate or the release/verification process

Known limits (not vulnerabilities)

  • The secp256k1 code is not constant-time. This is acceptable offline but is why the tool must never run on a networked or shared computer.
  • The self-test runs inside the same file it checks, so a tampered file could fake a pass. Verify the SHA256 with a tool that is not the page (see RELEASING.md).
  • The randomness check is advisory and cannot prove your dice or coin are fair.
  • After FORGE the page lists the first 10 receive and 10 change addresses of native SegWit and Taproot, account 0; Open this wallet shows any address type, account or custom path. A wallet app on another path or type shows other addresses (the Wallet Detective helps find them).
  • The PSBT inspector can check that an output marked as change is really the wallet's own only when that wallet's words are typed in CHECK A BACKUP (and only for single-key outputs). Without them it says the mark is unchecked: a change mark is written by whoever made the PSBT.
  • The Practice signer (v2.13.0) adds about 1 MB of code to the page (the file grew from about 1.4 MB to 2.4 MB). It is a real, working signer that starts on Mainnet, like SeedSigner, and since v2.16.1 it takes any seed, as the real device does. It runs inside the page, so it is as safe as the page itself (an offline computer, seeds written on paper); re-hide covers it while it holds a seed that is not public. It wipes with CLEAR ALL, auto-clear, END SESSION and closing its box (closing keeps only the settings saved to its practice microSD, and a later auto-clear still wipes them). Its own camera reads a real seed's QR code only while the page is offline; since v2.17.0 a public or practice seed is read online too, and LOAD INTO THE PRACTICE SIGNER loads a real seed online only after the person says yes to a plain warning. It decodes animated UR fountain codes. It is a port, not SeedSigner itself: a screen, a wording or a rule can differ from the real device (it leaves out Taproot script-path signing), so check what the real device shows before you trust it. Its fonts and code are credited in THIRD_PARTY_NOTICES.md.
  • The Damascus method (v2.14.0) is a hand method. Its hallmarks catch copying mistakes, not cheating; its dice and card checks catch badly broken dice or a lazy shuffle, not small flaws; and anyone who sees one sheet before filling in the other can choose the seed. Hallmarks reveal part of the seed (22 bits for 12 words, 34 for 24), so keep them only next to the words. Practice sheets are made from a published rule and are never seeds to keep. The assay shows an assayer one sheet's hallmarks and its own Seed XOR phrase, never the seed, but only if the other sheet was made well and kept apart. The method and its checks have not been independently audited.
  • The practice signer's lessons (v2.14.0) load the public test seed when no seed is on the device; since v2.17.0 they work with whatever seed is loaded, real or practice. The practice transaction spends made-up coins that can never be broadcast. Never put real coins on a seed from a lesson.
  • Real signing (v2.17.0). The practice signer signs your own PSBTs and messages for real (CHECK A BACKUP, Practice signer, Use it for real). What that means: a seed you load is in this browser tab's memory, and its signatures are real ones that can move real coins once your wallet sends the transaction. The risks, and what the page does about them:
    • A browser is not a hardware signer. A real SeedSigner keeps the seed off every computer; this does not. Malware, a browser extension or a screen recorder on this computer could copy the seed. Use it with real coins only on an offline computer you trust, then wipe it (CLEAR ALL) and restart the computer.
    • Signing while online. Before a seed that is not public signs a PSBT or a message, the page asks you to confirm that you checked what the device shows and that the computer is offline; while it is online, the question says so plainly. A public seed, the made-up practice transaction and the message lesson's practice message sign with no question, and so does nothing at all: when the seed cannot sign any input, the page asks nothing and says "Nothing signed".
    • A transaction that is not what you meant. The device reviews the PSBT as SeedSigner does: single-key change only when it makes the address again from the seed; anything else is shown as a payment. Before the scan the page warns about a PSBT for another network (never signed), one no seed on the device can sign, inputs of other signers and inputs the seed will leave unsigned, sighash types SeedSigner does not sign, a fee higher than the payment or above 1,000 sat/vB (red) or of 10% of the amount sent or above 250 sat/vB (amber), change at an odd path (another account than the inputs', an unusual depth, an address number past 10,000: the device verifies it, but a wallet app may never show it), an output that names your seed but is not provably yours, and legacy inputs without their previous transaction. A PSBT the device cannot read is not held up.
    • Multisig change. SeedSigner checks multisig change only against a wallet descriptor loaded on the device; without one it offers Skip verification and shows what the PSBT claims, and the PSBT's own cosigner xpubs, if any, come from the same wallet that built it. The page calls such change "claimed change, NOT verified" in red, and before a real seed signs it asks a second question that names the amount. A descriptor counts only if it holds the signing seed's own key at the origin it names (the page derives it) and also makes the coins being spent; a descriptor of anyone else's that "verifies" an attacker's output is called out in red. VOIDFORGE keeps a loaded descriptor until the device is switched off or another is scanned (SeedSigner 0.8.7 forgets it at Home).
    • Forged previous transactions. For an input with its full previous transaction (non_witness_utxo), SeedSigner 0.8.7 takes the amount from it without checking that it is the coin the input spends. A PSBT can so claim 1 BTC for a 10 BTC coin and hide a 9 BTC fee. VOIDFORGE works out the previous transaction's txid with the page's own code and refuses to sign (on the device's screen) when it does not match, when it has no such output, or when it disagrees with the input's witness UTXO.
    • The SegWit v0 two-pass fee attack. For a SegWit v0 input without its full previous transaction, the amount comes from the witness UTXO alone; a BIP-143 signature commits to its own input's amount but not to the others'. A wallet that asks you to sign the same transaction twice, each time lowering a different input's amount, can combine the two signatures into one transaction with a far larger fee than either review showed. This is how SeedSigner 0.8.7 and this page work; the page cannot detect it from one PSBT, so it shows an amber note when a PSBT with more than one input leaves out a SegWit v0 input's full previous transaction (an attacker can sidestep the forged-transaction check that way). Taproot signatures commit to every input's amount. Be wary of being asked to sign the same transaction again, and prefer PSBTs with full previous transactions, which the page checks.
    • What is given back. The signed PSBT is offered to copy or save only when the page's own code finds its transaction the same as the one held up and checks every signature valid; otherwise it says so in red and offers nothing. The sequence of every input is kept exactly (a VOIDFORGE fix): SeedSigner 0.8.7, through embit, turns a sequence of 0 into 0xFFFFFFFF and so signs a different transaction than the wallet made. A partly signed result names the inputs left unsigned.
    • Secrets pasted by mistake. Seeds and keys in their common forms are refused in the box, never repeated, and the box is cleared: seed words (numbered, with commas or "and", in a sentence, run together, the first 4 letters, with a typo or two), SLIP-39 share words, SeedQR digits (spaced or not), hex keys or entropy (also with colons), WIF keys (also behind bitcoin:), BIP38 keys, codex32 shares and xprv keys. The message box refuses a seed with a right checksum. A file is checked before it goes in, the camera never puts a SeedQR or a key there, and re-hide covers the box. An address is checked with the page's own address checker. This is a safety net, not a guarantee: no check knows every form a secret can take.
    • Nonces. ECDSA signatures are RFC 6979 (deterministic), low S, ground for a low R exactly as embit (SeedSigner) and Bitcoin Core do. Taproot (BIP-340) signatures use no auxiliary randomness: the nonce is derived from the secret key, the public key and the message, as the libsecp256k1 build that SeedSigner's embit uses does when it is given no aux data. BIP-340 allows this (aux randomness only hardens against side channels); the page has no source of random numbers by design. Both are checked against independent code in tests/oracle.test.mjs.
    • What is covered and wiped. The PSBT you paste is not secret. The signed output is covered by re-hide while a seed that is not public is loaded, a message signature always, and the typed message is a secret box; CLEAR ALL, auto-clear, END SESSION, wiping the seed and closing the practice signer clear them all.
  • Link as QR (v2.15.0) refuses common secret formats (seed words, SeedQR digits, codex32, hex keys, WIF, mini keys, xprv). That is a safety net, not a guarantee: a QR code shows anyone what it holds, so never put anything secret in it.
  • The file readers (v2.16.0: Open an Electrum wallet file, Read a Bitcoin Core wallet file) only read. They work offline, send nothing and never write to the file you choose. But a wallet file holds private keys, so open a copy of it on an offline computer, not the only original and not on a networked one. The seed or private keys stay behind SHOW THE SECRET and SHOW THE PRIVATE KEYS, and CLEAR, CLEAR ALL, auto-clear and END SESSION wipe them. Which network a legacy wallet.dat belongs to is a guess (the file does not say), so check the addresses before you trust them. Electrum files written by hardware-encrypted wallets (BIE2) are refused. The readers follow Electrum 4.8.4 (commit b991f249ded4) and the Bitcoin Core v29.0 source files; a file made by other software or a later version may not open or may differ.
  • Re-hide (v2.15.0) covers secrets on the screen again when the tab is hidden, the window loses focus, the browser's own Print runs, or the page has been idle (5 minutes by default). It hides the screen only. It does not protect against malware, a screen recorder or screen sharing that is already running, a keylogger, or someone watching the screen or looking over your shoulder; nothing is wiped, and SHOW uncovers the secrets again. VOIDFORGE's own PRINT sheets are not covered (they print what they say), and the practice signer is covered only while it holds a seed that is not public, a seed is being loaded or a passphrase is typed on it (v2.16.1).
  • The passphrase check (v2.15.0) is advice, never a block, and it changes nothing you typed. Its facts come from the makers' own source code: the Coldcard firmware's passphrase screen (100 characters at most, ASCII 32 to 126), SeedSigner 0.8.7's passphrase keyboard (printable ASCII only), and BIP39's rule that the passphrase is used after NFKD normalization. A wallet that does not follow BIP39 can differ.
  • Phones: for learning and practice only, never for real funds. File previews (Quick Look, email, phone Files) do not run the page.

Release signing key

Releases from v2.8.1 on are signed with this OpenPGP key (ed25519, created 2026-11-06, expires 2028-11-05 unless extended):

2509 D115 03B7 2CBF BCB5 408F 4B72 9F05 6A52 9340

The public key is voidforge-signing-key.asc in this repository. It carries no email address. Releases up to v2.8.0 are not signed; check them with SHA256SUMS and CID.txt (see RELEASING.md). From v2.8.1, the first signed release, each release also has SHA256SUMS.asc. To check it:

gpg --import voidforge-signing-key.asc
gpg --verify SHA256SUMS.asc SHA256SUMS
sha256sum -c SHA256SUMS

A good signature names the fingerprint above; compare all 40 characters. The fingerprint is also on the release pages, so a single altered copy can be noticed.

Supported versions

Only the latest release is supported.

Security acknowledgements

Thanks to everyone who reports problems responsibly.

Date Reporter Issue Advisory
2026-10-27 MrHodlX Release workflow could sign files that had been changed after dependencies were installed; fixed in v1.8.1 GHSA-8xcw-qx5p-8rmr (on the former GitHub page)

There aren't any published security advisories