Lendroid Whalestreet has 2 public audit reports from Quantstamp; the latest is Quantstamp, 26 Nov 2020; no critical findings reported.
Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.
Newest first
| Report | Security firm | Date | Scope | Critical findings | Findings | Source |
|---|---|---|---|---|---|---|
| Lendroid Whalestreet | Security firm: Quantstamp | Date: | Scope: Files listed | None open | Findings: 3 high · 4 medium · 2 low 8 fixed · 1 acknowledged | certificate.quantstamp.com ↗ |
| Lendroid Protocol version 1.0 | Security firm: Quantstamp | Date: | Scope: Files listed | None open | Findings: 6 medium · 9 low 11 fixed · 4 open | certificate.quantstamp.com ↗ |
24 findings in 2 reports: 19 fixed, 1 acknowledged (the team chose not to change the code), 4 open.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 0 | 3 |
| Medium | 0 | 1 | 9 |
| Low | 4 | 0 | 7 |
When updating `cachedRewardPerStake` in `updateRewards` modifier, the calculated value might be wrong. As example, if we assume that `updateRewards` was not called between epoch X and Y (X<Y) and where X belongs to a different rewards series than Y, the distributed reward will vary from the expected total reward distribution depending on how far apart are X and Y epochs. This issue is due to how `rewardPerStake` is implemented since `lastUpdateTime` was in a previous series with a higher or lower reward, and where the actual block.timestamp belongs to an ongoing series. The `rewardRate(currentEpoch())` will return the value of the new series and apply it to a period of the previous series distributing more or less reward than expected to the users.
Report ↗As it presently is constructed, the contract is vulnerable to the allowance double-spend exploit, as with other ERC20 tokens. An example of an exploit goes as follows: 1. Alice allows Bob to transfer N amount of Alice's tokens (N>0) by calling the approve() method on Token smart contract (passing Bob's address and N as method arguments) 2. After some time, Alice decides to change from N to M (M>0) the number of Alice's tokens Bob is allowed to transfer, so she calls the approve() method again, this time passing Bob's address and M as method argments 3. Bob notices Alice's second transaction before it was mined and quickly sends another transaction that calls the transferFrom() method to transfer N Alice's tokens somewhere 4. If Bob's transaction will be executed before Alice's transaction, then Bob will successfully transfer N Alice's tokens and will gain an ability to transfer another M tokens 5. Before Alice notices any irregularities, Bob calls transferFrom() method again, this time to transfer M Alice's tokens. The exploit (as described above) is mitigated through use of functions that increase/decrease the allowance relative to its current value, such as increaseAllowance and decreaseAllowance. Pending community agreement on an ERC standard that would protect against this exploit, we recommend that developers of applications dependent on approve() / transferFrom() should keep in mind that they have to set allowance to 0 first and verify if it was used before setting the new value. Teams who decide to wait for such a standard should make these recommendations to app developers who work with their token contract.
Report ↗Projects may rely on block timestamps for various purposes. However, it's important to realize that miners individually set the timestamp of a block, and attackers may be able to manipulate timestamps for their own purposes. If a smart contract relies on a timestamp, it must take this into account. (L241, 308, 327, 350, 404)
Report ↗Owner Can Whitelist Tokens, Whitelist Wranglers, and Set Position Threshold (Centralization of Power)
Smart contracts will often have owner variables to designate the person with special privileges to make modifications to the smart contract. However, this centralization of power needs to be made clear to the users, especially depending on the level of privilege the contract allows to the owner. L100 set_position_threshold() and L107 set_wrangler_status() both can only be called by the owner but can impact who can interact with the smart contracts.
Report ↗Owner can withdraw deposited collateral (Centralization of Power)
The escape_hatch() function allows the owner to withdraw all tokens that the contract owns. A malicious owner will be able to withdraw all tokens that have been deposited as collateral by borrowers.
Report ↗The reports name a repository or files. Open a report to see its scope.
Trustblock holds 2 public audit reports for Lendroid Whalestreet, dated 18 Feb 2019 to 26 Nov 2020. The latest is by Quantstamp (“Lendroid Whalestreet”).
Quantstamp wrote the 2 reports Trustblock holds for Lendroid Whalestreet.
5 findings are still open or acknowledged in the firms’ reports: 1 medium, 4 low (4 open, 1 acknowledged). No critical finding is reported. Statuses are the security firms’ own.
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