Every captured commit receives deterministic security triage and a separate communication-quality score. Security candidates and broader second-pass signals receive full-patch Ollama analysis.
Message quality measures whether a commit identifies its scope, purpose, rationale, testing, and supporting references. It does not change the security-severity score.
This is a documentation-only change that updates a single URL in a README file. The old URL redirects to the new location, so the change has no functional or security effect.
This is a documentation-only change that updates a single URL in a README file. The old URL still works, but it now points to the current GitHub organization that hosts the asmap-data repository. There is no code change and no security ris…
This change removes an outdated web address list (21.ninja) from the instructions Bitcoin developers use when building the list of network seed nodes that ship with new Bitcoin Core releases. The old list had not been updated in about six …
Removal of stale external seed source from release-build documentationSupply-chain risk if compromised domain injects malicious peer addressesNo executable code change; documentation/instructions only
This commit fixes a flaky-test problem on FreeBSD and OpenBSD, not a security vulnerability in the Bitcoin Core software users run. The test framework sometimes randomly picked a network source port that collided with a port used by the te…
Fixes self-connect scenario in test HTTP clients on BSDPrevents source-port collision between test client and test listener portsOnly affects test framework, not production node networking
This commit fixes a test-only bug in a Bitcoin Core functional test. The test was supposed to verify that calling prioritisetransaction causes getblocktemplate to rebuild its block template, but it was actually passing for the wrong reason…
This change is a defensive memory-optimization refactor for how Bitcoin Core stores transaction witness data. It replaces a structure that used many small memory allocations with a single compact serialized buffer. The primary security ben…
Memory-usage reduction for attacker-controlled transaction witnessesMitigation of resource-exhaustion DoS via large witness stacksImmutable witness representation prevents in-place modification bugs
This commit is a housekeeping change for Bitcoin Core. It adds a new automated linter that checks whether source files have the correct copyright header, and it updates or adds those headers across 27 files. There is no change to how Bitco…
This change fixes a networking quirk in Bitcoin Core where the program could be woken up repeatedly by a rare TCP 'urgent data' signal, even though there was no real data to read. The fix makes the program only watch for that signal while …
Avoids spurious wakeups from TCP urgent data on select()-based buildsReduces CPU-waste / small-scale denial-of-service surface from malicious or misbehaving peersAdds explicit ErrorEvent opt-in to Sock::Wait() API
This Bitcoin Core update hardens the wallet migration tool so that if something goes wrong while converting an old wallet to the new SQLite format, the original wallet is preserved or restored automatically instead of being left in a broke…
Original migration code deleted the legacy BDB file before the new SQLite database was fully created, risking data loss on failureNew migration builds SQLite database in a temporary path and atomically moves it only after successful record writeLeftover SQLite journal at destination is now rejected to prevent rollback corruption of the migrated database
This commit removes an optional HTML output feature from a Bitcoin Core test helper script called combine_logs.py. The change drops the third-party jinja2 library and the associated --html command-line option. There is no security fix here…
This commit only refactors how test and benchmark code builds Bitcoin transactions. It replaces imperative 'resize then fill' patterns with declarative lists of inputs and outputs. The pull request explicitly states there is no change in b…
This change fixes a C++ programming rule violation where two unrelated pieces of benchmark code happened to use the same name, 'InputType', for slightly different lists of Bitcoin address types. With whole-program optimization enabled, thi…
ODR violation in benchmark-only codeNo runtime security boundary crossedNo input parsing, network, wallet, or consensus code modified
This commit only changes a test file. It reorganizes an existing test into four separate, independent test cases and makes the two test transactions slightly different so the test correctly checks that a mempool transaction is rejected as …
This change fixes a flaw in Bitcoin Core's release-binary verification helper script. Previously, signatures made with expired or revoked developer keys were counted as valid toward the required number of 'good' signatures. That meant an a…
Logic flaw in trust threshold countingExpired/revoked signatures previously treated as good signaturesResponsible disclosure by external Red Team
This commit only fixes comments and documentation. It renames references in comments to match the actual function/variable names in the code. No code behavior changes. No security impact.
This commit is a code cleanup: it moves the legacy wallet migration code out of the large wallet/wallet.cpp file into a new dedicated file wallet/migration.cpp, renames the old BerkeleyDB helper file from migrate.h/.cpp to legacybdb.h/.cpp…
No security-relevant change claimed by the author or reviewersCode is described as move-only / refactor and reviewers recommend --color-moved=dimmed-zebraNo functional changes to migration logic, database handling, or wallet settings behavior
This commit only updates release-note documentation files and adds a lint check to ensure those files reference their associated pull request number. It does not change any executable code, network behavior, wallet logic, or RPC behavior, …
This update fixes a crash in Bitcoin Core that could happen right after starting the node with an empty data directory or during a blockchain reindex. If an external program called the mining interface's checkBlock function in a brief wind…
Denial-of-service vector: external IPC client can crash the node during startupAssertion failure in TestBlockValidity due to null chain tipRace condition between chainstate load and genesis block connection
This commit fixes two mistakes in Bitcoin Core's automated test scripts. In one test, the code was accidentally checking the wrong digital wallet (w7 instead of w8), so it never verified that a new 'avoid reuse' wallet worked correctly. In…
This is a code-cleanup change in Bitcoin Core that moves ownership of several optional indexes (used to look up transactions, block filters, and coin statistics) from global variables into the NodeContext object. The pull request descripti…
Removal of global mutable state for indexesIntroduction of custom IndexDeleter to manage index lifetimes within NodeContextPeerManager now uses an injected callback for block filter index lookup instead of a global function
Allows callers to jump to any ancestor of a block tree entry by height using the skiplist-backed GetAncestor, which runs in O(log N) rather than walking back one entry at a time with btck_block_tree_entry_get_previous.
Includes a C++ convenience wrapper and tests in btck_block_tree_entry_tests.
This commit adds a new public function to the Bitcoin Core library API that lets callers efficiently look up any ancestor block of a given block by its height. It is a pure feature addition with no security-relevant changes to existing behavior. There is no bug fix, no vulnerability disclosure, and no indication of a security issue.
logging: pass log::Entry through to logging functions
Use the entry's timestamp and thread_name, captured at the call site, instead of re-capturing them in the logger.
65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Informational 15/100
This commit is a straightforward internal code cleanup in Bitcoin Core's logging system. It bundles log details (timestamp, thread name, message, category, etc.) into a single struct called log::Entry and passes that struct around instead of many separate arguments. There is no security fix or behavior change visible in the diff.
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 15/100
This commit adds two pieces of metadata to each log entry: the time it was created and the name of the thread that created it. It is a straightforward internal logging improvement with no apparent security relevance.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 15/100
This is a minor code-quality change that adds the C++ keyword 'explicit' to a constructor. It prevents the compiler from silently converting other types into a SourceLocation object, following a common C++ best-practice guideline. There is no security bug being fixed here.
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
fuzzing or regression evidence
AI analysis · Informational 15/100
This commit removes an extra linker flag (-lstdc++) from a Bitcoin Core continuous integration (CI) script used only for a memory-sanitizer fuzz-testing build. It is a build-configuration cleanup, not a code change affecting the Bitcoin software users run. There is no security-relevant change to the project's runtime behavior or to shipped binaries.
✓ Subject identifies a change✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 15/100
This commit simply updates the version of the LLVM compiler toolchain used in automated testing from 22.1.0 to 22.1.3. It is a routine maintenance change to the project's continuous integration (CI) setup and does not alter Bitcoin Core's actual code or how it runs for users.
doc: fix typos and formatting in CONTRIBUTING, i2p, bitcoin-conf, files
- CONTRIBUTING.md: "Valid areas as" -> "Valid areas are" - doc/i2p.md: remove double space after period - doc/bitcoin-conf.md: "some negating some lists" -> "some negating lists" - doc/files.md: missing space after comma in "macOS,the"
73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
documentation-only discount
AI analysis · Informational 15/100
This commit fixes four minor typos and spacing issues in documentation files only. There are no code changes and no security implications.
refactor: torcontrol add connection checks to restart_with_mock
62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 15/100
This commit is a minor cleanup of a Bitcoin Core functional test file. It moves some connection-checking code into a helper method so it is reused by multiple tests, rather than being duplicated in each test. There is no change to the actual Bitcoin Core software that users run, and no security issue is introduced or fixed.
BTree pages contain the level in the BTree that the page is supposed to be at. The root starts at some level between 1 and 255, leaves are always level 1. Internal pages must be a level that is one less than its parent. Validating that pages are at their expected level (except for the root page) enforces that no cycles can occur.
68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
defensive validationsigning or wallet pathparser or protocol pathsecond-pass: near security thresholdsecond-pass: security-sensitive path
AI analysis · Moderate 59/100
This change adds a safety check while reading old Berkeley DB (BDB) wallet files during migration. It verifies that each page in the database's tree structure is at the expected depth level, which prevents malformed or attacker-crafted files from causing infinite loops or confusion during wallet import. The patch is defensive hardening rather than a fix for an active exploit, and it includes a new fuzz-test error path so the security check can be automatically exercised.
The total length of the data in an overflow record is being given to us. We should validate that the length is reasonable (fits in the total size of the file), and to stop reading additional data if the amount of data read exceeds the stated legnth. This prevents infinite looping behavior.
73/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Names security-relevant behavior explicitly
Why it was queued
memory safetydefensive validationsigning or wallet path
AI analysis · Moderate 60/100
This patch fixes a bug in Bitcoin Core's wallet migration code that reads old Berkeley DB wallet files. A malformed wallet file could claim an overflow data record was extremely long, causing the software to loop through pages forever. The fix checks that the claimed length fits within the actual file size and stops reading if the collected data exceeds that claimed length. This prevents a denial-of-service via infinite loop when opening a crafted wallet file.
test: Require named arg for create_block ntime arg
The named arg is useful, so that the two integral args (possibly integral literals) `height` and `ntime` are not confused.
100/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification
AI analysis · Informational 15/100
This is a test-only code cleanup. It changes how test scripts call a helper function named create_block so that the timestamp argument must be passed by its keyword name (ntime=...) rather than as a plain positional number. This makes the tests easier to read and prevents developers from accidentally swapping the height and timestamp arguments, but it does not change Bitcoin Core's production code or network behavior at all.
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100
This commit only removes unused 'create_coinbase' import statements from 17 Bitcoin Core test files. It is a routine code cleanup with no effect on the actual Bitcoin node software or its security.
AI review queuedscripted-diff: Use new create_block height optionby MarcoFalke · fad6deb3 · Apr 16, 2026 · 22 filesMessage 78 · AdequateInformational 15Details
Commit message · MarcoFalke
scripted-diff: Use new create_block height option
-BEGIN VERIFY SCRIPT-
# Replace single-arg create_coinbase calls ... # ... followed by ntime arg sed --in-place --regexp-extended 's/create_block\((.+), create_coinbase\(([^,]+)\), /create_block(\1, height=\2, ntime=/g' $( git grep -l 'create_block(' ) # ... not followed by any other args sed --in-place --regexp-extended 's/create_block\((.+), create_coinbase\(([^,]+)\)\)/create_block(\1, height=\2)/g' $( git grep -l 'create_block(' )
-END VERIFY SCRIPT-
78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
signing or wallet pathsecond-pass: unusually broad changesecond-pass: security-sensitive path
AI analysis · Informational 15/100
This commit is a purely mechanical update to Bitcoin Core's internal test suite. It changes how test scripts call a helper function named create_block, switching from passing a pre-built coinbase transaction to passing just the block height and letting the helper build the coinbase internally. No production code, consensus rules, or network behavior are modified. There is no security relevance.
Lower-prioritytest: Allow to set height in create_blockby MarcoFalke · fa5eb74b · Apr 16, 2026 · 2 filesMessage 90 · StrongInformational 15Details
Commit message · MarcoFalke
test: Allow to set height in create_block
Previously, it was only possible to set the height indirectly by calling create_coinbase outside the create_block function. This is fine, but verbose and not needed.
Just like hashprev can be set directly (instead of using the value from tmpl), allow height to be set directly.
Also, use it in one place. The other places are done in a scripted-diff.
Also, add a unit test for the new feature.
90/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100
This is a harmless test-framework cleanup. It lets Bitcoin Core's internal test helper create_block accept a block height directly, instead of forcing test writers to manually build a coinbase transaction first. It only touches test code and adds a unit test for the new convenience option.
cli, rpc: add -rpcid option for custom request IDs
Add a -rpcid CLI argument to bitcoin-cli that allows setting a custom string as the JSON-RPC request ID instead of the hardcoded default of 1. This enables correlating requests and responses when debugging or when multiple clients are making concurrent calls.
On the server side, include the request ID in the RPC debug log line when it differs from the default value of 1, so that custom IDs are visible in the debug.log output.
85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Informational 15/100
This commit adds a new command-line option `-rpcid` to bitcoin-cli that lets users set their own identifier on JSON-RPC requests, and includes that identifier in server debug logs. It is a usability/debugging feature with no security relevance visible in the code or commit message.
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100
This commit only adds a new release-notes document for Bitcoin Core version 31.0. It contains no code changes, no configuration changes, and no bug fixes. It is purely documentation summarizing features and changes already present in the release.
test: Add missing self.options.timeout_factor scale in tool_bitcoin_chainstate.py
Apply the timeout factor inside the add_block function.
Also, force named args for the two expected strings.
Also, add trailing comma for style.
95/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100
This is a minor test-only fix. It makes a Bitcoin Core functional test respect the configurable timeout factor when waiting for a helper tool to respond, and makes two function arguments require explicit names. It does not change the actual Bitcoin node software or introduce any security issue.
This commit removes one source file from the build list for the bitcoinkernel library because that file is not actually used by anything in that library. It is a routine cleanup change with no security relevance.
Add `btck_block_header_to_bytes` serialization method to serialize a `btck_BlockHeader` into an 80-byte buffer using `SpanWriter` to ensure zero-allocation serialization.
80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Informational 15/100
This commit adds a new public library function that converts a Bitcoin block header into its standard 80-byte wire format. It is a straightforward feature addition with no visible bug fix or security change. The code uses safe, fixed-size buffers and existing well-tested serialization routines.
Lower-prioritytest: Add check for return type in `HasToBytes` conceptby yuvicc · 577a3e74 · Apr 14, 2026 · 1 fileMessage 87 · StrongInformational 15Details
Commit message · yuvicc
test: Add check for return type in `HasToBytes` concept
Add return type check for `ToBytes()` which should be convertible to `std::span<const std::byte>`.
87/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Mentions testing or verification
AI analysis · Informational 15/100
This commit tightens a test-only C++ concept so that any `ToBytes()` method must return something convertible to a byte span. It is purely a test-code quality improvement and does not change production behavior or fix a security bug.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Informational 15/100
This commit adds a new helper class called SpanWriter that lets Bitcoin Core write serialized data into a fixed-size byte buffer without allocating new memory. It includes bounds checking so writing past the end throws an error, and it comes with unit tests. There is no indication this is a security fix or that it addresses any reported vulnerability.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 15/100
This commit only changes a benchmark test file. It refines how the performance of a script verification test is measured so that setup work (clearing the stack) is not counted in the timing. There is no change to the Bitcoin Core software that users run, no change to consensus or validation rules, and no security issue.
bench: add script verification benchmark for P2TR script-path spends
To reflect the likely most common real-world scenario, a single OP_CHECKSIG is contained in the Tapscript leaf.
While touching this benchmark, also set the operation unit to "script" and do some minor refactorings to deduplicate code and improve readability.
Co-authored-by: David Gumberg <davidzgumberg@gmail.com> Co-authored-by: Lőrinc <pap.lorinc@gmail.com>
83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
defensive validation
AI analysis · Informational 15/100
This commit only adds a new performance benchmark to Bitcoin Core. It measures how long it takes to verify a specific kind of Taproot transaction (a P2TR script-path spend) and makes minor cleanups to existing benchmark code. It does not change any production wallet, consensus, or networking code, so it cannot directly affect user funds or network security.
The `Socks5Server` utility handles multiple incoming connections, which are handled in separate background threads. The `stop()` method unblocks and waits for the main background thread cleanly, but it doesn't attempt to wait for any handler threads. This change stores handler threads and connections, and attempts to shut them down before `stop()` returns.
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 18/100
This is a test-only change to the SOCKS5 server helper used in Bitcoin Core's functional tests. It makes the test server shut down its background connection-handler threads cleanly instead of leaving them running. It does not affect the Bitcoin Core node software that users run on the network, so it has no direct security impact on live Bitcoin operations.
ci: Rename vcpkg binary cache entity to force rebuild
62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100
This commit changes a single line in a GitHub Actions CI workflow file. It renames the cache key used for storing pre-built vcpkg dependency packages so that the CI system will rebuild them from scratch instead of reusing the old cached versions. This is a routine build-infrastructure maintenance change with no apparent security relevance.