Skip to content

Add Milk Sad weak key addresses dataset - #91

Merged
0xB10C merged 1 commit into
bitcoin-data:mainfrom
b10claude:add-milksad-weak-key-addresses
Nov 13, 2026
Merged

0xB10C merged 1 commit into
bitcoin-data:mainfrom
b10claude:add-milksad-weak-key-addresses

Conversation

@b10claude

Copy link
Copy Markdown

Adds datasets/milksad-weak-key-addresses.toml.

Sources

Every claim in the entry, and what backs it.

What one record is, and the format

  • Fetched main.tar.gz and checked the files directly: 119 files, ~16 MB, of
    which 85 are .txt address lists. Every line of every
    victim_*addresses*bitcoin* file matches a base58/bech32 address pattern
    (0 non-matching lines), sorted, one per line. Sample from
    MT19937__bx_pattern/BIP39/256bit/…no_prng_offsets…txt:
    14B7igUenkJ2vjS6iRQk1yXwxN3RnCmdH6.
  • The directory layout is PRNG family → consumption pattern → derivation:
    MT19937__bx_pattern/BIP39/256bit/…, MT19937__trust_wallet_pattern/…,
    LCG16807_MINSTD_RAND0__trezor_crypto_A_pattern/…,
    MT_RAND_PHP__PHPCoinAddress_pattern/direct/…, crypto-js/BIP39_EN/…,
    dart_random__cake_wallet_pattern__electrum_mnemonic/…, plus brainwallet/
    for passphrase-derived keys. That is what "split by generator and key
    derivation" refers to.
  • all_bitcoin_addresses.sh and all_ethereum_addresses.sh concatenate and
    sort -u the per-pattern files. Running the Bitcoin one over a fresh
    checkout yields 314,770 unique addresses; the root README's statistics
    snapshot reports 294,065 unique weak-PRNG and 20,582 brainwallet Bitcoin
    addresses, consistent with that. No count is stated in the entry, per the
    timeless rule.

Where it comes from

  • milksad.info: "We're a small team of security researchers looking into the
    practical problems of weak private keys in popular cryptocurrencies", and
    "As part of this continued effort, we publish research data to help other
    researchers identify thefts and attackers on-chain." That is the source for
    both the author field and the stated use.
  • The work began with Libbitcoin Explorer CVE-2023-39910, where bx seed used
    Mersenne Twister for key material, and continued into Trust Wallet
    (CVE-2023-31290, CVE-2024-23660), PHPCoinAddress, trezor-crypto, crypto-js
    and Cake Wallet's Dart Random.
  • Bloom filtering: the root README's "Data Accuracy" section explains that
    addresses are matched against on-chain usage with a bloom filter, and the
    file names carry the filter date, e.g. bloom2025_11_19.
  • Recency: latest commit 2026-08-22 ("Update crypto-js"); the repository has
    commits through 2026 adding new pattern families.

The caveat

  • Root README: "we're currently very selective when it comes to publishing raw
    data on specific affected wallets or keys. Our current published collections
    focus on discovered addresses". Hence absence from a list does not mean a
    wallet is unaffected.
  • The same section notes the opposite direction too: "there may be a few
    addresses included here which are from weak wallets, but do not have a
    known on-chain usage".
  • Deliberately generated canary wallets are kept out of the victim_* lists
    and placed in separate canary_* files
    (MT19937__bx_pattern/BIP39/256bit/canary_addresses_bitcoin_…txt), so the
    victim lists are not polluted by the researchers' own test funds.

License

  • There is no LICENSE file. The root README says: "This repository does not
    have an official copyright license yet… We're currently considering the
    [CC BY 4.0] license but this is not yet decided." The entry states that
    rather than asserting a license.

Not verified / left out

  • Whether the lists are complete for any given pattern. They are explicitly
    not: brainwallet/direct_others/README.md says "This collection does not
    attempt to be complete."
  • The repository also holds material that is not Bitcoin addresses, which the
    three-sentence description does not cover: Ethereum, Litecoin and Bitcoin
    Cash address lists; SHA-256 hashes of Cake Wallet mnemonics
    (dart_random…/hashed_mnemonic_sha256_…txt, the list shipped to the vendor
    for client-side warnings); observed BIP39 derivation paths; and raw private
    keys in simple_privkey/ and brainwallet/direct_others/. Both of those key
    folders state the keys were "previously published by others", so nothing
    unpublished is being exposed.
  • Hosting is a Forgejo instance run by Distrust (git.distrust.co), not a
    forge with an archival guarantee. There is no DOI and no mirror found.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EQFKPv3mB1J6LFakJnjNsd

@github-actions

Copy link
Copy Markdown

Dataset preview (1 changed entry)

How these entries will read once merged, straight from the generator.

Milk Sad weak key addresses

/datasets/milksad-weak-key-addresses/

Bitcoin addresses of wallets whose keys came from a broken random number generator or a guessable passphrase, sorted text files, one address per line, split by generator and key derivation. The Milk Sad researchers brute-force the seed space of each flaw and keep addresses that a bloom filter shows were used on-chain. Useful for flagging affected wallets and thefts from them; publication is selective, so a missing address proves nothing.

Field Value
Category Transactions
Format Plain text
License Not specified (the repository states that a license, possibly CC BY 4.0, is still under consideration)
Author Milk Sad research team
Tags addresses, attribution, forensics, mainnet
Description 3 sentences, 70 words

Links, in the order they will render:

Generated by ci/preview.py.

@0xB10C
0xB10C merged commit 48cce46 into bitcoin-data:main Nov 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants