Open code423n4 opened 3 years ago
JMukesh
funds can be lost
https://github.com/code-423n4/2021-07-spartan/blob/e2555aab44d9760fdd640df9095b7235b70f035e/contracts/Router.sol#L214
manual review
check recipient address before sending bnb
This is best practices, non-critical.
On second thought, burning by sending to address(0) is a valid use case.
Handle
JMukesh
Vulnerability details
Impact
funds can be lost
Proof of Concept
https://github.com/code-423n4/2021-07-spartan/blob/e2555aab44d9760fdd640df9095b7235b70f035e/contracts/Router.sol#L214
Tools Used
manual review
Recommended Mitigation Steps
check recipient address before sending bnb