fix: derive safe child key for spend sharing - #9657
Conversation
Safe-minted wallets have pub-only children (owner material stays on the root), so the share path's scan for an encrypted user key wrongly treated them as cold and sent skipKeychain=true This PR fixes the issue to derive the key correctly and account for safe shared wallets. Ticket: WCN-2429
b5e1c7f to
8a81acf
Compare
|
|
|
Claude finished @davidkaplanbitgo's task —— View job Code Review for PR #9657 ✅SummaryThis PR fixes an important security issue where safe-minted wallets were being incorrectly treated as cold wallets during spend sharing, causing them to bypass key derivation and send Todo List:
Code Review Findings✅ Strengths
✅ Architecture & Logic
🔍 Minor Considerations
🔒 Security Assessment
📋 Code Quality
Overall AssessmentThis is a well-implemented security fix that:
The implementation demonstrates good understanding of the cryptographic requirements and security implications of multi-signature wallet sharing. The code is production-ready. Recommendation: ✅ APPROVE - This is a solid fix that addresses an important security issue while maintaining code quality and test coverage. |
What
Safe-minted wallets have pub-only children (owner material stays on the root), so the share path's scan for an encrypted user key wrongly treated them as cold and sent skipKeychain=true
This PR fixes the issue to derive the key correctly and account for safe shared wallets.
Ticket: WCN-2429