Closed code423n4 closed 1 year ago
https://github.com/code-423n4/2023-05-juicebox/blob/9d0458282511ff269b3b35b5b082b56d5cc08663/juice-buyback/contracts/JBXBuybackDelegate.sol#L359-L362
The supportsInterface implementation does not comply to EIP-165.
https://eips.ethereum.org/EIPS/eip-165
function supportsInterface(bytes4 _interfaceId) external pure override returns (bool) { return interfaceId == type(IERC165).interfaceId _interfaceId == type(IJBFundingCycleDataSource).interfaceId || _interfaceId == type(IJBPayDelegate).interfaceId; }
Other
dmvt marked the issue as low quality report
Lacking information about the impact of this oversight
dmvt marked the issue as unsatisfactory: Insufficient quality
Lines of code
https://github.com/code-423n4/2023-05-juicebox/blob/9d0458282511ff269b3b35b5b082b56d5cc08663/juice-buyback/contracts/JBXBuybackDelegate.sol#L359-L362
Vulnerability details
Detail
The supportsInterface implementation does not comply to EIP-165.
Tools Used
https://eips.ethereum.org/EIPS/eip-165
Recommended Mitigation Steps
Assessed type
Other