issues
search
code-423n4
/
2022-01-insure-findings
2
stars
0
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
getLockup and getWithdrawable can change after withdrawalReq is initiated
#312
code423n4
opened
2 years ago
0
`targetLev` can be set to 0 in `IndexTemplate:setLeverage`
#311
code423n4
opened
2 years ago
3
Insurance NFT
#310
code423n4
opened
2 years ago
2
deposit and _depositFrom are almost similar
#309
code423n4
opened
2 years ago
1
Repeated math operations
#308
code423n4
opened
2 years ago
0
repayDebt optimization
#307
code423n4
opened
2 years ago
1
Repeated storage reads
#306
code423n4
opened
2 years ago
0
Gas: Cache `totalSupply()` in `IndexTemplate:rate()`
#305
code423n4
closed
2 years ago
2
Repeated external calls
#304
code423n4
opened
2 years ago
0
Eliminate else block
#303
code423n4
opened
2 years ago
0
Gas Optimization: Variables that could be set immutable
#302
code423n4
closed
2 years ago
1
Gas: Cache `totalLiquidity()` in `IndexTemplate:leverage()`
#301
code423n4
opened
2 years ago
0
Gas: Optimize Conditional Statements in `IndexTemplate.sol:deposit()`
#300
code423n4
opened
2 years ago
2
Gas Optimization: `> 0` is less efficient than `!= 0` for uint
#299
code423n4
closed
2 years ago
2
`Factory:approveTemplate` could make 1 SSTORE instead of 3
#298
code423n4
opened
2 years ago
0
Spec error on function: `Factory:setCondition` (difference with code comment)
#297
code423n4
opened
2 years ago
2
Spec error on function: `Factory:approveTemplate`
#296
code423n4
opened
2 years ago
1
`requestWithdraw` without obligation to withdraw allow underwriter to avoid payout
#295
code423n4
opened
2 years ago
1
Gas Optimization: Cache array length in for loop
#294
code423n4
closed
2 years ago
1
For `uint` checking `!= 0` is cheaper than `> 0`
#293
code423n4
closed
2 years ago
2
`Factory` still has the `hardhat/console` import
#292
code423n4
closed
2 years ago
1
If Vault contains tokens that charge a fee on transfer the internally kept balance will be wrong
#291
code423n4
closed
2 years ago
1
`Vault.withdrawRedundant()` allows the owner to accidentally take out the vault's whole balance
#290
code423n4
closed
2 years ago
1
Looping over dynamic array might result in DoS through the block gas limit
#289
code423n4
closed
2 years ago
2
Looping from a long list of storage can impact other people paying more gas than it used to
#288
code423n4
closed
2 years ago
1
Inconsistent divide by 0 checks for `totalSupply()`
#287
code423n4
opened
2 years ago
0
unlock function is callable by anyone
#286
code423n4
closed
2 years ago
2
Gas: Optimize Conditional Statements in `CDSTemplate.sol:deposit()`
#285
code423n4
opened
2 years ago
2
Wrong comment on fund function
#284
code423n4
opened
2 years ago
2
[WP-H39] `PoolTemplate.sol#resume()` Wrong implementation of `resume()` will compensate overmuch redeem amount from index pools
#283
code423n4
opened
2 years ago
0
[WP-G37] Change `public` constant variables to `private` / `internal` can save gas
#282
code423n4
opened
2 years ago
0
[WP-H36] Admin of the index pool can `withdrawCredit()` after `applyCover()` to avoid taking loss for the compensation paid for a certain pool
#281
code423n4
opened
2 years ago
4
[WP-M35] `PoolTemplate#applyCover` Unbounded for loops allows an attacker to malfunction `applyCover()`, making it impossible to change the marketStatus of the Pool to Payingout status
#280
code423n4
closed
2 years ago
1
[WP-L34] PoolTemplate, IndexTemplate, CDSTemplate withdrawal timelock can be bypassed
#279
code423n4
closed
2 years ago
2
[WP-H33] `IndexTemplate.sol` Wrong implementation allows lp of the index pool to resume a locked `PayingOut` pool and escape the responsibility for the compensation
#278
code423n4
opened
2 years ago
0
[WP-H32] `PoolTemplate.sol` Attacker can call `Factory#createMarket()` and transfer funds from another user's wallet to the pool
#277
code423n4
closed
2 years ago
4
using memory pointer inside a function didnt change the actual amount in the storage
#276
code423n4
closed
2 years ago
1
`initialize` function was disable by `constructor()`
#275
code423n4
closed
2 years ago
1
using operator `&&` used more gas
#274
code423n4
opened
2 years ago
0
[WP-G31] Unnecessary checked arithmetic in for loops
#273
code423n4
closed
2 years ago
1
[WP-H30] A malicious/compromised Registry or Factory admin can drain all the funds from the Vault contracts
#272
code423n4
opened
2 years ago
2
[WP-H29] `Vault#setController()` owner of the Vault contracts can drain funds from the Vault
#271
code423n4
opened
2 years ago
2
[WP-L28] `Vault#_unutilize()` Lack of validation for the amount of funds received
#270
code423n4
opened
2 years ago
2
[WP-H27] `IndexTemplate.sol#compensate()` will most certainly fail
#269
code423n4
opened
2 years ago
5
[WP-L26] `Vault#setController()` Lack of validation for the amount of migrated funds
#268
code423n4
opened
2 years ago
2
[WP-L25] `CDSTemplate.sol#fund()` User may lose funds due to misleading comment
#267
code423n4
closed
2 years ago
1
[WP-H24] Wrong design/implementation of permission control allows malicious/compromised Registry or Factory admin to steal funds from users' wallet balances
#266
code423n4
opened
2 years ago
2
[WP-G23] Avoiding unnecessary storage read can save gas
#265
code423n4
opened
2 years ago
0
[WP-G21] Cache external call results can save gas
#264
code423n4
opened
2 years ago
1
the first depositor to a pool can drain all users
#263
code423n4
opened
2 years ago
3
Previous
Next