AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 15 Bitcoin

Merge bitcoin/bitcoin#36329: psbt: add new test vectors

Public commit record

What the developer wrote

Authored by merge-script

91/100 · Strong
Merge bitcoin/bitcoin#36329: psbt: add new test vectors

6fa2f3974cbb69fb2086a8f89d300deec4486662 test: add BIP174 invalid value size vector (Sjors Provoost)
029bc15f2cb575ad4e19d99338cd133a4140e66f test: add BIP174 sighash combiner vector (Sjors Provoost)

Pull request description:

Add the two new test vectors from:

- https://github.com/bitcoin/bips/pull/2275
- https://github.com/bitcoin/bips/pull/1971

https://github.com/bitcoin/bips/pull/2275 additionally requires _existing_ `Combine` vectors to run in both orders, so we do that here too.

ACKs for top commit:
brunoerg:
reACK 6fa2f3974cbb69fb2086a8f89d300deec4486662
aaron-leeb:
reACK [6fa2f39](https://github.com/bitcoin/bitcoin/pull/36329/commits/6fa2f3974cbb69fb2086a8f89d300deec4486662)
sedited:
ACK 6fa2f3974cbb69fb2086a8f89d300deec4486662

Tree-SHA512: 5a07026cadbe0551728ac30e9b20212f94e322a2ab31a31a84c86320fc95d2ada82a12e7c2a50c7cd7c12ad202036fdc45b6ad4fc820a8d6f2cd71c87476a6f5
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This commit only adds new test cases for PSBT (Partially Signed Bitcoin Transaction) handling. It does not change any production code, so it cannot introduce a security vulnerability or fix one directly. The new tests check that malformed PSBT data is rejected and that combining PSBTs works in both input orders.

Recommended action

No security action required. This is a routine test-coverage improvement.

Security signals we found

01

No production code changes

02

Test-only addition of PSBT validation vectors

03

No bug fix, vulnerability fix, or behavior change in consensus/network/wallet code

Risk score

Why this scored 15/100

Our methodology →
Potential impact 0/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 0/15
Confidence 10/10
Evidence quality 5/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.