Ethena Labs - matrix_0wl's results

Enabling The Internet Bond

General Information

Platform: Code4rena

Start Date: 24/10/2023

Pot Size: $36,500 USDC

Total HM: 4

Participants: 147

Period: 6 days

Judge: 0xDjango

Id: 299

League: ETH

Ethena Labs

Findings Distribution

Researcher Performance

Rank: 126/147

Findings: 1

Award: $4.52

QA:
grade-b

🌟 Selected for report: 0

🚀 Solo Findings: 0

Lines of code

https://github.com/code-423n4/2023-10-ethena/blob/main/contracts/USDeSilo.sol#L12

Vulnerability details

Impact

The USDeSilo contract lacks the implementation of the supportsInterface(bytes4) function, a standard requirement specified by ERC-165. This omission could potentially hinder interoperability with other contracts and applications that rely on this interface detection mechanism. Without this function, external contracts may face challenges in determining the capabilities of the USDeSilo contract, leading to limited integration possibilities.

Proof of Concept

Output form slither:

# Check USDeSilo ## Check functions [ ] supportsInterface(bytes4) is missing

Tools Used

VS Code, Slither

To resolve this issue, the contract owner should implement the supportsInterface(bytes4) function as per the ERC-165 standard. The function should return true for the ERC-165 interface identifier and any other relevant interfaces used by the contract, such as ERC-20 and other custom interfaces. By implementing this function, the contract will comply with the ERC-165 standard, ensuring seamless integration and interaction with other Ethereum contracts and applications.

Assessed type

Other

#0 - c4-pre-sort

2023-10-31T07:57:07Z

raymondfam marked the issue as low quality report

#1 - c4-pre-sort

2023-10-31T07:57:13Z

raymondfam marked the issue as primary issue

#2 - raymondfam

2023-10-31T07:57:31Z

Informational. QA at best.

#3 - c4-judge

2023-11-14T16:09:27Z

fatherGoose1 changed the severity to QA (Quality Assurance)

#4 - c4-judge

2023-11-14T16:09:33Z

fatherGoose1 marked the issue as grade-b

AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter