Payout Address Field Incorrectly Accepts Public Addresses as Private Key Seeds, Resulting in Unexpected Key Derivation
Report
This report references XS-0008 as requested by the XE team, so the original discovery and reporting timeline can be taken into account.
The payout address binding functionality incorrectly accepts a public XE address as a private key seed.
The issue occurs because an XE address and a key seed share the same format and length (64 hexadecimal characters). As a result, when a user pastes a public address into the "Payout address" field, the application interprets it as a seed and derives a new key pair from that public string instead of binding the intended address.
This causes the application to bind an entirely different address without clearly indicating that the original input was interpreted as a seed.
Steps to Reproduce
Navigate to /account.
Locate the "Payout address" section.
Copy a valid public XE address (64 hexadecimal characters).
Paste the public address into the payout address input field.
Submit the binding request.
Observe the address displayed as bound.
Actual Result
The application treats the supplied public address as a private key seed and derives a new key pair from it.
Consequently, the application binds the address derived from the supplied public string rather than the original public address entered by the user.
The user may incorrectly assume that their intended payout address has been successfully bound.
Expected Result
The application should validate that the input is a valid key seed and clearly distinguish between a private key seed and a public XE address.
If a public address is entered instead of a seed, the application should reject the input and display an appropriate validation error.
Before binding, the application should also display the derived public address so users can verify that it is the intended payout destination.
Security Impact
This issue can cause users to unintentionally bind an incorrect payout address.
Because the derived address is not necessarily controlled by the user, any payout sent to that address could become inaccessible to the intended recipient.
This creates a risk of misdirected or permanently lost bounty payments, particularly for users who assume that entering their public address is sufficient to bind their payout destination.
Suggested Remediation
Explicitly validate the expected key seed format and distinguish it from public addresses.
Reject public addresses submitted in the seed input field.
Display the derived public address before the user confirms the binding operation.
Clearly label the field to indicate that it requires a key seed rather than a public address.
Additional Information
The issue was initially reported and acknowledged by the XE team. The team confirmed the underlying behavior and subsequently implemented changes to reject public addresses entered as seeds and display the derived address before binding.
This report references XS-0008 as requested by the XE team, so the original discovery and reporting timeline can be taken into account.
Thread
Thanks for filing this here as we asked on XS-0008. We have confirmed the behaviour of the payout address field and the change that refuses an address pasted as a seed and shows the derived address before binding is live. Your ticket is at https://bounty.xe.network/XE-1448; the time of your first report on XS-0008 has been taken into account.