mediumLogic errorEVM-Solidity
Union Finance: `UnionToken` should check whitelist on `from`?
- Payout
- $0
- Protocol
- Union Finance
- Disclosed
- Aug 7, 2026
- Source
- code4rena
Union Finance's UnionToken enforces its whitelist guest list inside the OpenZeppelin ERC20 _beforeTokenTransfer hook, but validates isWhitelisted(msg.sender) rather than isWhitelisted(from). Because the hook fires on both transfer and transferFrom, a single wh …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2021-10-union-findings/issues/69
- https://github.com/code-423n4/2021-10-union-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.