Matt Corallo's avatar
Matt Corallo
matt@bitcoin.ninja
npub185h9...wrdp
10th known contributor to Bitcoin Core. Now Full-Time Open-Source Bitcoin+Lightning Projects at Spiral (Part of Block).
Matt Corallo's avatar
matt 5 days ago
LLMs are very two-sided for security. On the one hand, long-latent bugs are finally surfacing. On the other hand, before you choose to use a product, you can get your own code review done for incredibly low cost*! In the short term it’s incredibly bad, in the long-term it democratizes code review greatly. “Don’t trust, verify” finally becomes an actual possibility for normal people! * of course LLMs do still make up issues when asked, push any such review to write PoCs to check their analysis!
Matt Corallo's avatar
matt 6 days ago
There are related vulnerabilities in later hardware as well. At this juncture I would migrate funds off of any single-sig (or multi-sig of only) colcard wallets that were generated on-device without dice or passphrase. View quoted note →
Matt Corallo's avatar
matt 2 weeks ago
LLMs are so well tuned for optimizing the lighting pathfinding problem. Give them a dataset and tell them to optimize a parameter and they go ham. Big things ahead for the LDK pathfinder and lighting payment success rates.
Matt Corallo's avatar
matt 2 weeks ago
This idea that lightning nodes, by default, store every single invoice or offer you generate over RPC is insane. There’s no reason to bloat the DB and expose users to DoS risk if they generate invoices automatically, the damn things can be stateless and additional metadata you need can be stored in the invoice and retrieved on payment, rather than stored.