-
# rebuildCaches lack input validation
`rebuildCaches` function will call `rebuildCache()` for arbitary destinations contract
https://github.com/code-423n4/2022-02-nested/blob/fe6f9ef7783c3c84798c8ab5f…
-
GiuseppeDeLaZara
high
# All ETH can be stolen during rebalancing for `mTOFTs` that hold native
## Summary
Rebalancing of ETH transfers the ETH to the destination mTOFT without calling `sgRecieve` w…
-
# Lines of code
https://github.com/code-423n4/2024-03-taiko/blob/main/packages/protocol/contracts/bridge/Bridge.sol#L82-L95
https://github.com/code-423n4/2024-03-taiko/blob/main/packages/protocol/con…
-
# Handle
robee
# Vulnerability details
In the following files there are state variables that could be set immutable to save gas.
The list of format , :
There are some variables that I was not su…
-
**Context:** [ReceiverStargateV2.sol#L147](https://github.com/lifinance/contracts/blob/d622002440317580b5d0fb90ef22b839d84957e2/src/Periphery/ReceiverStargateV2.sol#L147)
**Description:** The funct…
-
# Lines of code
https://github.com/code-423n4/2022-05-cudos/blob/main/solidity/contracts/Gravity.sol#L600
# Vulnerability details
## Impact
Since the `_tokenContract` can be any token, it is possi…
-
# Lines of code
https://github.com/code-423n4/2023-09-maia/blob/f5ba4de628836b2a29f9b5fff59499690008c463/src/RootBridgeAgent.sol#L818
https://github.com/code-423n4/2023-09-maia/blob/f5ba4de628836b2a2…
-
# Lines of code
https://github.com/code-423n4/2022-05-factorydao/blob/db415804c06143d8af6880bc4cda7222e5463c0e/contracts/MerkleDropFactory.sol#L94
# Vulnerability details
> Bank is a token vesting…
-
# 1. Cache array length outside of loop
## Impact
Caching the array length outside a loop saves reading it on each iteration, as long as the array's length is not changed during the loop.
## Proof of…
-
# Gas Optimizations
## [G01] Use `calldata` instead of `memory`:
For external function's dynamic params, calldata is the cheapest location to use.
```
MerkleDropFactory.sol
88,82: function withd…