XRP Ledger Partial Payments: A Hidden Threat to Exchanges and Projects
A recent tweet by Vet highlighted a long-standing XRP Ledger functionality that can be exploited if not implemented correctly.
This 'Partial Payment' feature allows a payment to succeed while delivering less than the stated amount, which can be used by bad actors to trick exchanges and projects into crediting them more funds than they are sending.
Vet noted that this functionality is well understood by large exchanges but emphasized the need for new projects to understand it correctly to prevent mistakes that might arise from incorrect implementation of partial payments.
The XRP Ledger Partial Payment flag allows a payment to succeed by reducing the amount received instead of increasing the amount sent, and the sender's transaction fee is always deducted from their account, irrespective of the transaction type.