It's possible to put SDX orderbook into invalid state and execute trades at arbitrary price
该报告还没有中文解读。
原文摘录
摘自原文(2490 字符中的一小部分)
stellar-core improperly handles creation of a buy offer which crosses existing sell offers (immediate execution) but can only be filled partially due to a trustline limit on the source account. This makes it possible to create a valid offer to buy any custom asset at higher price than existing sell …
原文中的代码
Transaction(
source = H,
operations = [
manageOffer(selling=XLM, buying=ABC, amount=P, price=P, offerId=0),
changeTrust(asset=ABC, limit=2)
]
)默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Stellar.org 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @nebolsin · 版权归作者与 Stellar.org 所有