[{"data":1,"prerenderedAt":106},["ShallowReactive",2],{"project-\u002Fprojects\u002Fprotocol-security-research":3},{"id":4,"title":5,"body":6,"demo":89,"description":81,"extension":90,"featured":91,"meta":92,"navigation":91,"order":93,"path":94,"pitch":95,"repo":89,"seo":96,"showcase":89,"stack":97,"stem":101,"tags":102,"__hash__":105},"projects\u002Fprojects\u002Fprotocol-security-research.md","Protocol security research",{"type":7,"value":8,"toc":80},"minimark",[9,14,18,21,25,28,31,34,41,45,48,51,55,61,67,73,77],[10,11,13],"h2",{"id":12},"the-problem","The problem",[15,16,17],"p",{},"Payment protocols move real money on rules that almost nobody reads. The\nspecification tells you what the system is supposed to do; the source tells you\nwhat it actually does. Where those two drift apart is where the money leaks —\nand that gap is invisible unless somebody goes and looks.",[15,19,20],{},"Nobody had gone and looked at this particular corner of a live, production\npayment network.",[10,22,24],{"id":23},"what-i-built","What I built",[15,26,27],{},"The system was the XRP Ledger (XRPL), the payment network maintained by Ripple.",[15,29,30],{},"I read the protocol's C++ implementation at source level and built a working\nmodel of how the system actually behaved, rather than how its specification\nsaid it did. Where the two diverged, there was a systemic weakness — one in the\nprotocol's design rather than in any single deployment.",[15,32,33],{},"I then proved it end to end on a test network, so the finding was a\ndemonstration rather than an argument, and designed and deployed a mitigation\nthat closed it. The work was presented as a technical talk.",[15,35,36,40],{},[37,38,39],"strong",{},"On the missing detail:"," Ripple asked that the specifics stay private.\nThat request is why this page describes the shape of the work and not the\nmechanism — no attack path, no proof-of-concept, no affected component. A\nfinding like this gets reported quietly and fixed before it gets published.",[10,42,44],{"id":43},"how-it-works","How it works",[15,46,47],{},"The method matters more than the finding here, and the method is not\nconfidential:",[15,49,50],{},"Start from the source, not the specification — the specification is a claim and\nthe source is the evidence. Reconstruct the real behaviour of the subsystem you\ncare about until you can predict its output. Where your model and the running\nsystem disagree, you have either misunderstood it or found something. Then build\nthe smallest possible demonstration on a network where being wrong is free, and\nonly once it reproduces, take it to the people who own the system.",[10,52,54],{"id":53},"decisions-and-trade-offs","Decisions and trade-offs",[15,56,57,60],{},[37,58,59],{},"Reading source over fuzzing."," Fuzzing finds crashes; it does not find a\nsystem that runs cleanly while doing something other than what its\nspecification claims. That gap is only visible once you have a model of the\nreal behaviour to hold against the claimed one.",[15,62,63,66],{},[37,64,65],{},"Proving it before reporting it."," An unproven report is a theory, and theories\nget triaged into a backlog. A working demonstration on a test network gets\nfixed.",[15,68,69,72],{},[37,70,71],{},"Reporting privately, and staying quiet afterwards."," The finding was worth\nmore as a fix than as a publication. Reporting privately and saying nothing\npublicly was the point — the interesting part of security work is the part\nyou do not get to show.",[10,74,76],{"id":75},"what-id-do-differently","What I'd do differently",[15,78,79],{},"I would write the mitigation and the disclosure timeline at the same time as the\nproof, instead of after it. By the time I had something that reproduced, I was\nnegotiating what could be said publicly with material that had not been written\nwith that constraint in mind. Deciding upfront what is publishable would have\ncost nothing and saved the rework.",{"title":81,"searchDepth":82,"depth":82,"links":83},"",2,[84,85,86,87,88],{"id":12,"depth":82,"text":13},{"id":23,"depth":82,"text":24},{"id":43,"depth":82,"text":44},{"id":53,"depth":82,"text":54},{"id":75,"depth":82,"text":76},null,"md",true,{},1,"\u002Fprojects\u002Fprotocol-security-research","Found a systemic weakness in the XRP Ledger's payment protocol by reading its source, proved it on a test network, and shipped the fix.",{"title":5,"description":81},[98,99,100],"C++","Protocol analysis","Test networks","projects\u002Fprotocol-security-research",[103,98,104],"Security Research","Protocol Design","6trVVebOcyr4w_pb1Q6S0-NOWfAkK5RfMUIOt97ZOjo",1793108521137]