A Bitcoin signing request can contain the right destination and amount while still granting more flexibility than the signer expects. The missing question is whether those details are actually protected by that signature.
Bitcoin's signature-hash modes, usually shortened to sighash modes, determine which transaction data contributes to the message being signed. A valid signature commits to that message. Data excluded from it may remain changeable without invalidating that particular signature. Bitcoin Core's signature-hashing implementation applies this selection when constructing the message to verify.
For a wallet user, the useful distinction is between what appears in a proposed transaction and what the signature makes binding.
Three choices about outputs
The familiar base modes are SIGHASH_ALL, SIGHASH_NONE and SIGHASH_SINGLE. Think of them first as different commitments to the transaction's outputs:
- ALL commits to every output, including its amount and spending script.
- NONE commits to no outputs.
- SINGLE commits to the output at the same position as the input whose signature is being checked, when that output exists.
BIP 143, which specifies signature hashing for version-zero SegWit inputs, sets out those output-hashing rules. With SINGLE, the relationship is positional. A signature for input number two concerns output number two; Bitcoin does not infer a match by customer name, destination or intended contribution.
This makes NONE and SINGLE powerful but easy to misunderstand. An output can be visible on a signing screen without being protected by that signature. Another required signature might protect it, but that is a property of the complete transaction and protocol, not a guarantee supplied by NONE itself.
ANYONECANPAY answers a different question
SIGHASH_ANYONECANPAY is a modifier, not a fourth alternative on the same output-selection menu. It can be combined with ALL, NONE or SINGLE. Its central effect is to limit the signature's input commitment to the input being signed, instead of committing to the full set of input outpoints.
Thus ALL|ANYONECANPAY retains the commitment to every output while allowing other inputs to be added or removed without invalidating this signature. Those other inputs still need whatever authorization their own spending conditions require. The modifier does not give strangers possession of the signer's private key. These combinations are documented in the developer guide.
As an illustration of those rules, imagine an output list already fixed by such a signature. Another participant can potentially contribute an authorized input. They cannot also insert a new change output while keeping the original ALL signature valid. The permitted input flexibility and the fixed outputs must be considered together.
The practical implication is that ANYONECANPAY is not a generic promise of harmless fee sponsorship. The surrounding protocol must explain who may change funding, what remains fixed and how the final transaction is checked.
The same labels do not erase version differences
The broad mode names span multiple generations of Bitcoin spending rules, but the precise signed message differs. BIP 143 includes the amount of the previous output spent by the signed input. If a signing device is supplied an incorrect amount and signs it, the resulting signature will not validate against the real amount. That is one reason a wallet must know which signing algorithm applies.
Taproot's BIP 341 makes additional commitments. Without ANYONECANPAY, its signature message includes the amounts and spending scripts of all the previous outputs consumed by the transaction. Taproot also defines SIGHASH_DEFAULT, which has the whole-transaction scope of ALL.
A 64-byte Taproot signature implies DEFAULT when no sighash byte is appended. The absence of an explicit mode byte therefore does not mean the signer approved an unspecified or weaker mode.
Edge cases differ too: BIP 341 requires failure when SINGLE has no corresponding output. Developers should not transplant legacy special-case behavior into a Taproot implementation merely because the mode has the same name.
A signer must approve the requested mode
The PSBT specification, BIP 174, provides a field for a requested input sighash type. It also directs signers to reject a supplied type they find unacceptable. A finalizer must reject signatures that do not match a specified type.
That separates two decisions that a signing interface can otherwise blur: whether software can produce a particular signature, and whether the requested authorization is appropriate. Supporting a mode is not the same as recommending it for an ordinary payment.
For users, the practical question is concise: “Which inputs and outputs could still change after I sign?” A cooperative application should answer that in terms of its actual transaction, including any reliance on other participants' signatures.
Do not treat a cryptographic signature as a blanket seal over every byte on a screen. Understand its commitments, require the signing software to enforce the intended mode, and seek an explanation before approving unfamiliar flexibility.
