{"id":16153860,"url":"https://github.com/roginvs/bitcoin-scan","last_synced_at":"2026-03-10T05:31:48.295Z","repository":{"id":77829613,"uuid":"594571917","full_name":"roginvs/bitcoin-scan","owner":"roginvs","description":"Bitcoin client \u0026 ECDSA vulnerability scanner","archived":false,"fork":false,"pushed_at":"2023-10-28T10:47:39.000Z","size":963,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-22T09:49:00.665Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roginvs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-29T00:23:33.000Z","updated_at":"2025-08-16T20:27:05.000Z","dependencies_parsed_at":"2023-02-26T08:45:20.033Z","dependency_job_id":"5bb2d2aa-1f58-4afb-9e42-11304222cf2f","html_url":"https://github.com/roginvs/bitcoin-scan","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roginvs/bitcoin-scan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roginvs%2Fbitcoin-scan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roginvs%2Fbitcoin-scan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roginvs%2Fbitcoin-scan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roginvs%2Fbitcoin-scan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roginvs","download_url":"https://codeload.github.com/roginvs/bitcoin-scan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roginvs%2Fbitcoin-scan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30326070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T01:14:46.208Z","updated_at":"2026-03-10T05:31:48.274Z","avatar_url":"https://github.com/roginvs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scan Bitcoin blockchain for vulnerable signatures\n\nThis is a small project to fetch all bitcoin transactions and to find out signatures with the same k value.\n\nCurrently works only with P2PKH scripts.\n\nIn 2023 this is not very actual because all known clients do not have this vulnerability and all vulnerabile wallets are empty now.\n\nIt is easier to obtain the same result just by patching official Bitcoin client but I made this project in order to learn Bitcoin internals.\n\n## Usage\n\n1. Install nodejs at least version 16, do `npm install`.\n\n2. (optional) Copy `.env.defaults` into `.env` and change configuration there\n\n3. Start `./node_modules/.bin/ts-node scanner/main.ts`\n\n4. Periodically check found keys\n\n```\nsqlite3 data/scanner.db -quote 'select * from found_keys'\n```\n\n## Bonus item\n\nThere is a Bitcoin signature verification website https://roginvs.github.io/bitcoin-scan/\n\n## TODO:\n\n- Implement other script types\n\n- Maybe automatically create transaction to withdraw funds into pre-defined wallet (careful here!)\n\n- Listen to mempool transactions and scan them too\n\n## Links\n\nhttps://www.blockchain.com/explorer\n\nhttps://en.bitcoin.it/wiki/OP_CHECKSIG\n\nhttps://developer.bitcoin.org/devguide/transactions.html#locktime_parsing_rules\n\nhttps://en.bitcoin.it/wiki/Script\n\nhttps://en.bitcoin.it/wiki/Protocol_documentation\n\nhttps://en.bitcoin.it/wiki/Transaction\n\nhttps://bitnodes.io/nodes/?q=Finland\n\nhttps://developer.bitcoin.org/devguide/contracts.html\n\nhttps://github.com/bitcoin/bips/blob/master/README.mediawiki\n\nhttps://btcinformation.org/en/developer-guide#block-chain-overview\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froginvs%2Fbitcoin-scan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froginvs%2Fbitcoin-scan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froginvs%2Fbitcoin-scan/lists"}