unshETH audit reports

Ethereum, Arbitrum, BNB Chainunsheth.xyzXGitHub

unshETH has 3 public audit reports from CertiK and Paladin; the latest is Paladin, 15 Jun 2023; no critical findings reported. It also holds 13 deployed contracts on 3 chains and 1 incident (latest 30 May 2023).

Critical findings
No open critical findings
Across 3 reports.
Incident
Incident 30 May 2023
Source: De.Fi incident database. 1 audit has been published since. See the incident
Open the latest report
Your label, live
Get the label for your site

Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.

Incidents1

Attached through a shared contract address. Our incident data ends in Nov 2026.

Incident

Incident,

Source: De.Fi incident database.

Audits before it
2.
Audits since
1, the latest dated 15 Jun 2023.

Audits3

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
Audit ReportSecurity firm: PaladinDate: Scope: 6 addresses on EthereumNone openFindings: 6 medium · 26 low
6 fixed · 22 acknowledged · 4 open
paladinsec.co ↗
UnshETH #2Security firm: CertiKDate: Scope: Files listedNone openFindings: 1 high · 1 medium · 5 low
5 fixed · 2 acknowledged
skynet.certik.com ↗
unshETH ProtocolSecurity firm: CertiKDate: Scope: Files listedNone openFindings: 5 low
5 open
skynet.certik.com ↗

Open findings across every firm33

Statuses are the security firms’ own

33 findings are still open or acknowledged in the firms’ reports: 3 medium, 30 low (9 open, 24 acknowledged).

Medium
3
Low
30
  • Medium Open

    LSD array logic is flawed, allowing for the first LSD to be added and enumerability to be more limited than it needs to be

    Audit Report · Paladin · 15 Jun 2023 · Report ↗

  • Medium Open

    The external deposit_stEth function is broken as it does not pull in any stETH from the user

    Audit Report · Paladin · 15 Jun 2023 · Report ↗

  • Medium Acknowledged

    migrateVault contains an error which prevents this function from being called, preventing the team from ever executing migrations

    Audit Report · Paladin · 15 Jun 2023 · Report ↗

  • Low Open

    deposit_lsd lacks a reentrancy guard

    Audit Report · Paladin · 15 Jun 2023 · Report ↗

  • Low Open

    Shangai time safeguard is futile as it can be called repeatedly

    Audit Report · Paladin · 15 Jun 2023 · Report ↗

  • Low Acknowledged

    Division is done before multiplication within exit, causing unnecessary precision loss

    Audit Report · Paladin · 15 Jun 2023 · Report ↗

  • Low Acknowledged

    Gas optimization

    Audit Report · Paladin · 15 Jun 2023 · Report ↗

  • Low Acknowledged

    Gas optimizations

    Audit Report · Paladin · 15 Jun 2023 · Report ↗

  • Low Acknowledged

    Gas optimizations

    Audit Report · Paladin · 15 Jun 2023 · Report ↗

  • Low Acknowledged

    Gas optimizations

    Audit Report · Paladin · 15 Jun 2023 · Report ↗

All 33 open and acknowledged findings

Findings44

Statuses are the security firm’s own, from each report.

SeverityOpenAcknowledgedFixed
Critical000
High001
Medium214
Low7236
MediumLSD array logic is flawed, allowing for the first LSD to be added and enumerability to be more limited than it needs to beAudit Report · Paladin · 15 Jun 2023Open

The report gives no description here.

Open the report
MediumThe external deposit_stEth function is broken as it does not pull in any stETH from the userAudit Report · Paladin · 15 Jun 2023Open

The report gives no description here.

Open the report
Lowdeposit_lsd lacks a reentrancy guardAudit Report · Paladin · 15 Jun 2023Open

The report gives no description here.

Open the report
LowShangai time safeguard is futile as it can be called repeatedlyAudit Report · Paladin · 15 Jun 2023Open

The report gives no description here.

Open the report
LowLacks Flexibility Of Updating Oracle AddressesunshETH Protocol · CertiK · 23 Mar 2023Open

Contract `Darknet` serves as the price oracle for the unshETH protocol, the address `lsd` and `fn_sig` will be set up in the deployment stage and there's no way to update in the later stage. This lacks flexibility.

Open the report
LowMissing Emit EventsunshETH Protocol · CertiK · 23 Mar 2023Open

There should always be events emitted in the sensitive functions that are controlled by centralization roles.

Open the report
LowUsage of Hardhat's ConsoleunshETH Protocol · CertiK · 23 Mar 2023Open

The contract uses the console contract from Hardhat, which is meant to be used for testing purposes.

Open the report
LowVariable could be declared as `constant`unshETH Protocol · CertiK · 23 Mar 2023Open

In the contract `EuclideanFarm.sol`, the following variables could be set to constant to save gas: ```solidity uint256 public max_cord_multiplier = uint256(3e18); uint256 public min_cord_multiplier = uint256(1e18); uint256 public max_nonce = 2; //no more than 2 changes to targetRatio ``` In the contract `LSDRegistry.sol`, the following variables could be set to constant to save gas: ```solidity uint256 public minUpdateCooldown = 21 days; //minimum number of time before ratios/tokens can be changed again uint256 public min_update_distance = 0.5e18; uint256 public max_nonce = 2; ``` These variables could be declared as `constant` since these state variables are never to be changed.

Open the report
LowVariables Can Be Declared as `Immutable`unshETH Protocol · CertiK · 23 Mar 2023Open

The following variables assigned in the constructor can be declared as `Immutable`. Immutable state variables can be assigned during contract creation but will remain constant throughout the lifetime of a deployed contract. An advantage of immutable variables is that reading them is significantly cheaper than reading from regular state variables since they are not located in storage. ```solidity address public lsdVaultAddress; // 0xE76Ffee8722c21b390eebe71b67D95602f58237F; address public unshETHAddress; //0x846982C0a47b0e9f4c13F3251ba972Bb8D32a8cA; address public wstETHAddress; //0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0; address public frxETHAddress; //0xbafa44efe7901e04e39dad13167d089c559c1138; address public sfrxETHAddress; //0xac3e018457b222d93114458476f3e3416abbe38f; address public rETHRouterAddress; //0x16D5A408e807db8eF7c578279BEeEe6b228f1c1C; address public rETHAddress; //0xae78736cd615f374d3085123a210448e74fc6393; ```

Open the report

Contracts13

AddressChainSource code
0x0ae38f7e10a43b5b2fb064b42a2f4514cba909efChain: BNB ChainSource code: Verified source
0x51a80238b5738725128d3a3e06ab41c1d4c05c74Chain: ArbitrumSource code: Verified source
0x0ae38f7e10a43b5b2fb064b42a2f4514cba909efChain: ArbitrumSource code: Verified source
0xd41d27ff3205787a4a617708f6675a44821c53ecChain: EthereumSource code: Verified source
0x33890b88f98a9d511678954ad8db0510b6953cfcChain: EthereumSource code: Verified source
0xe60779cc1b2c1d0580611c526a8df0e3f870ec48Chain: EthereumSource code: Verified source
0x91d6d6af7635b7b23a8ced9508117965180e2362Chain: BNB ChainSource code: Verified source
0x0ae38f7e10a43b5b2fb064b42a2f4514cba909efChain: EthereumSource code: Verified source
0xc258ff338322b6852c281936d4edeff8adff23eeChain: EthereumSource code: Verified source
0xb250216b5bce306fa37f7de76a82409663ed52c3Chain: EthereumSource code: Verified source

All 13 addresses and the files the reports name

unshETH: questions

Is unshETH audited?

Trustblock holds 3 public audit reports for unshETH, dated 23 Mar 2023 to 15 Jun 2023. The latest is by Paladin (“Audit Report”).

Who audited unshETH?

2 security firms wrote the reports Trustblock holds for unshETH: CertiK and Paladin.

Are there open findings in unshETH’s audits?

33 findings are still open or acknowledged in the firms’ reports: 3 medium, 30 low (9 open, 24 acknowledged). No critical finding is reported. Statuses are the security firms’ own.

Show this on your site

Is this your project? Show this record on your own website. The label states what the record holds, links to this page and updates by itself. It is free and needs no sign-in.

Content

Facts

Automatic: the three strongest facts of this project’s own record (its last audit and two more), highlighted. They update with the record. Picking a fact turns Automatic off.

Fixed as
Language

Style

Layout
Theme
Accent
Corners

Format

Size
Date
Embed as
HTML
<head>
<script src="https://widget.trustblock.run/project-widget.min.js" defer></script>
</head>
<body>
<div
data-tb-project-widget
data-tb-project-slug="unsheth"
></div>
</body>

Paste the code where the label should appear. It uses no API credit and updates by itself.

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us