prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
true
false
## Low: External calls in an un-bounded `for-`loop may result in a DOS ### Description Consider limiting the number of iterations in `for-`loops that make external calls. ### Proof Of Concept https://github.com/code-423n4/2023-06-llama/tree/main/src/LlamaPolicy.sol#L151 https://github.com/code-423n4/2023-06-llama/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: It's possible to top up a closed distribution ### Description If the manager calls by mistake `updateDistribtionTotalEarningsAmounts()` or `updateDistributionEventCollectionIds()` for a closed distribution, it will be topped up using the athlete's funds. These funds will be stuck because it's impossible to cl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
false
false
## Medium: DoS in CometBFT Block Sync (github.com/cometbft/cometbft/blocksync) ### Description **Severity:** Medium **Status:** Acknowledged **Description:** A malicious peer can cause a DoS by sending a block with a very high LastCommit round, leading to excessive memory usage and potential crashes. **Impact:** ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: DoS attack on initialization is possible ### Description **Severity** **Impact:** High, as the initialization can be blocked **Likelihood:** Low, as it a front-running type of an attack with no benefit for the attacker **Description** The `initializeDistributor` method in `TokenDistributor` has the foll...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
access-control
true
false
## Low: `L2MessageService::reinitializePauseTypesAndPermissions` should use `reinitializer(2)` ### Description `TokenBridge::reinitializePauseTypesAndPermissions` uses `reinitializer(2)` because: ``` export ETH_RPC_URL=mainnet_rpc cast storage 0x051F1D88f0aF5763fB888eC4378b4D8B29ea3319 0 0x0000000000000000000000000000...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
false
false
## Low: `increment` in `Counters` library does not use SafeMath. ### Description **Description** Library Counters - in body of increment(Counter storage counter) internal Increment is executed without using the SafeMath library. PS: Unless that is intended to save computation cost as overflow is almost impossible to...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: (s *DispersalServer) validateBlobRequest contains externally triggerable data race ### Description In `(s *DispersalServer) validateBlobRequest` there are multiple reads of `s.quorumCount` without a lock. This is externally reachable via the DispersalServer API, so a data race could bring down the disperser. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
reentrancy
true
false
## High: Re-entrancy attack allows to buy EternalHeroes cheaper ✓ Addressed ### Description When buying eternal heroes in `_buy` function of `EternalHeroesFactory` contract, a buyer can do re-entracy before items are minted. **code/contracts/shop/EternalHeroesFactory.sol:L278-L284** ``` uint256 refundAmount = \_a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Incorrect assignment of reverse record ownership ### Description In the `reservedRegister` function of the `RegistrarController`contract, the `_registerRequest`function is used to process the registration. If the `reverseRecord` flag in the request is set to **true**, the `_setReverseRecord` function is calle...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
false
false
## Low: | Superfluous Code ### Description **Description** In the `Bep20` function the `payable` cast on line 331 is unnecessary as the `safeTransfer` function simply accepts an address. **Recommendation** Remove the `payable` cast. **Resolution** Bridges Team: -Removed the payable cast.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
false
false
## Low: Missing `ReentrancyGuards` in Vesting can increase risk of recursive programming used maliciously ### Description **Severity**: Informational **Status**: Resolved The team noticed that Vesting.sol smart contract is not upgradable and it inherits the upgradable version of reentrancy guard. **Recommendation**...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
false
false
## Medium: Proposal’s update can assume prior states ### Description The [`updateProposal`](https://github.com/graphprotocol/contracts/blob/d51553b3d70c61108852f0ffe1ed249254c91e9a/contracts/governance/GraphGovernance.sol#L78) function of the `GraphGovernance` contract is designed to update either the votes or the res...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
false
false
## Medium: Signatures for the first batch will be rejected by VerifyVoteExtensionHandler ### Description An incorrect check for the first batch number will result in all vote extensions with batch signatures being rejected. ### Impact Inability to sign the first batch. ### Recommendation The check for the first batc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: Unsupported asset can be set in withdraw asset by index collision ### Description The setWithdrawAsset() function allows setting any ERC20 token as the withdrawable asset, but it checks support using the index returned by $.assetIndexes[asset]. If the given asset is not supported, assetIndexes[asset] will retu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
true
false
## Low: Using empty functions instead of interfaces leaves contract error-prone ### Description `WithdrawalDelayerInterface` is a contract meant to be an interface. It contains functions with empty bodies instead of function signatures, which might lead to unexpected behavior. ```solidity contract WithdrawalDelayer...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
true
false
## High: RPC starkNet_sendTransaction - The User Displayed Message Generated With getSigningTxnText() Is Prone to Markdown/Control Chars Injection From contractCallData ✓ Fixed ### Description In the code snippet below, `contractCallData` is potentially untrusted and may contain Markdown renderable strings or strings ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
true
false
## Low: Lack of event emission ### Description **Severity**: Low **Status**: Resolved **Description** WalletAccount.sol - Function `withdrawDepositTo()` is an important function that is called by privileged admin in order to withdraw valuable assets. This function should emit event to help the stakeholders in the ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Excessive msg.value lost when buying ### Description **Severity** **Impact:** High, funds lost forever **Likelihood:** Low, requires a mistake from a user **Description** `msg.value` is considered incorrect only in this equation: As a result, `msg.value` above price+fees will pass, but never return an...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing Vault Input Validation ### Description During the code review, It has been observed that vault is not validated. The address check should be added into the function. ### Proof Of Concept [SingleStrategyController.sol#L75](https://github.com/code-423n4/2022-03-prepo/blob/d62d7146b27fd39a5f1358ffde0876...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
true
false
## Medium: erc777 cross function re-entrancy ### Description When an erc777 is used as asset for the vault, you can re-enter the `\_mint` function by minting the double you would have minted with a normal erc20 token. ### Vulnerability Details The following 2 functions allow minting in the vault. One is for depositi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
true
false
## Low: keep-tecdsa - Change state-mutability of checkSignatureFraud to view ✓ Addressed ### Description `BondedECDSAKeep.sol.submitSignatureFraud` is not state-changing and should, therefore, be declared with the function state-mutability `view`. ### Recommendation Addressed as part of with commits from [keep-netwo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Multiple ops for the same address case ### Description **Severity** **Impact:** High **Likelihood:** Low **Description** A possible failure of transaction done in [handleOps](https://github.com/0xPolycode/klaster-smart-contracts/blob/a819679b17716bb0b01e787fbb7fc54d7c70127e/contracts/KlasterPaymaster.so...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
rounding
false
false
## Gas: Unnecessary multiplication and division by 1e18 ### Description Gas saved: ~20 units (200+ units when using `SafeMath`) In [the following line](https://github.com/code-423n4/2023-03-mute/blob/4d8b13add2907b17ac14627cfa04e0c3cc9a2bed/contracts/dao/dMute.sol#L57) the multiplication and division by 1e18 is unnec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Escher721 contract does not have setTokenRoyalty function ### Description On the Code4rena page of this contest there is a "SALES PATTERNS" section that describes the flow of how to use Sales: It contains this statement: > If the artist would like sales and royalties to go somewhere other than the defaul...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: break from the loop once lpIndex is found ### Description The `withdrawAllLP()` function loops through `activeLpAddresses` to find the index at which the LP address is stored. However, once that index is found, it still iterates through the rest of the array, which is unnecessary. ### Recommendation Break fro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Redundant and fragile ERC20 transfer ### Description The [`payOracleFeesErc20`](https://github.com/UMAprotocol/protocol/blob/9d403ddb5f2f07194daefe7da51e0e0a6306f2c4/core/contracts/oracle/implementation/Store.sol#L67) function of the `Store` contract allows the caller to deposit ERC20 tokens into the `Store` c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Floating Pragma Version in Solidity Files ### Description **Severity**: Informational **Status**: Resolved **Description** The Solidity files in this codebase contain pragma statements specifying the compiler version in a floating manner (e.g., ^0.8.20 ). Floating pragmas can introduce unpredictability in c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: particlepositionmanager fails to implement pausableupgradeable properly ### Description The contract `ParticlePositionManager` inherits the `PausableUpgradeable` contract from the OpenZeppelin library and uses the `whenNotPaused` modifier across multiple instances in the contract. However, the contract fails ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Many ERC20 tokens not supported - fee on transfer, cUSDCv3, etc... ### Description The protocol assumes a standard ERC20 without unusual behavior such as fee on transfer, transferring of amounts that differ from calldata arguments (cUSDCv3), etc. In the event one of these tokens is used, severe issues and loss...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
true
false
## High: Incorrect handling of first deposit for new modules leads to all liquidity sent to vault manager ### Description See detail. ### Impact 100% of the pool liquidity is lost after the first deposit occurs in a new module. It is sent to the `ArrakisStandardManager` The value of everyone’s shares in the vault go...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
false
false
## Medium: There is no Support For The Trading of Cryptopunks ### Description _Submitted by leastwood_ Cryptopunks are at the core of the NFT ecosystem. As one of the first NFTs, it embodies the culture of NFT marketplaces. By not supporting the trading of cryptopunks, Foundation is at a severe disadvantage when comp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
true
false
## High: Chainlink Oracle Could Process Stale and Incorrect Data ### Description **Update** **Quantstamp:** Sperax team ensures that the returned price is not a negative number, verifies that the oracle was updated within the expected time period, which can be configured. **Update** Marked as "Fixed" by the client. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
token
false
false
## Low: Burn and bridge mechanism can be delayed due to paused token bridge state ### Description Contract RollupRevenueVault provides the BURNER_ROLE with the burnAndBridge() function. In this process, Linea tokens are meant to be bridged to L1 and burned there. For bridging, the `tokenBridge` service is used, which...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
Front-Running
false
true
_Submitted by kirk-baird_ A `merkleRoot` may only be used once in `createSplit()` since it is used as `salt` to the deployment of a `SplitProxy`. The result is an attacker may front-run any `createSplit()` transaction in the mem pool and create another `createSplit()` transaction with a higher gas price that uses the...
Code4rena
3
Joyn
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: User can increase their unclaimed Flux token without limits ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/VotingEscrow.sol Impacts: - unbound minting of token - Manipulation of governance voting result deviating from voted outcome and ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: [08] Incomplete NatSpec Comments ### Description NatSpec comments provide rich code documentation. The following functions are some examples that miss the `@param` and/or `@return` comments. Please consider completing the NatSpec comments for functions like these.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
false
false
## Medium: StakingRewards: recoverERC20() can be used as a backdoor by the owner to retrieve rewardsToken ### Description Similar to StakingRewards.recoverERC20 rightfully checks against the stakingToken being sweeped away. However, there’s no check against the rewardsToken. This is the case of an admin privilege, wh...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Redundant cast ### Description The type of the variable is the same as the type to which the variable is being cast *There are 4 instances of this issue.*
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
false
false
## Medium: Unclear the Blocklist Limitations ### Description The [blocklist feature](https://github.com/mountainprotocol/tokens/blob/d548aa6f037d9c7ed653a8004f83949b70133c7a/contracts/USDM.sol#L352) is meant to prevent some users from transferring `USDM` tokens. The list of blocked addresses is managed by any address ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
false
false
## High: Unaccounted Funds Due to Unprotected `LendingMarket.cleanUpOrders()` ### Description **Update** Access control added to `cleanUpOrders()` with a new modifier `onlyLendingMarketController`. Addressed in: `626fe5bcfa2ea080a8d70f2bd9fe2949963349b2` and `bd222dcae6c3d88d2975fc5860204e7df573cb4d`. **File(s) affec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Return Values of `ERC-20` Transfers Are Not Validated ### Description **Update** Marked as "Fixed" by the client. Addressed in: `de27bd91238b19bd8e411a9ec5e69d8256cc35f2`. **File(s) affected:**`AGStaking.sol` **Description:** Following the `ERC-20` standard, transfers will return a boolean value (`true` if s...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
cross-chain
true
false
## Medium: NativeOptimismImpl - Events Will Not Be Emitted in Case of Non-Native Tokens Bridging ### Description In the case of the usage of non-native tokens by users, the `SocketBridge` event will not be emitted since the code will return early. ### Recommendation Remediated as per the client team in [SocketDotTech...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Two/three forks in a row will force expiration of execution-awaiting proposals ### Description Proposal execution on the original DAO is disallowed during the forking period. While the proposed fork period is currently 7 days, `MAX_FORK_PERIOD` is 14 days. `GRACE_PERIOD`, which is the time allowed for a queued...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: Auction bonder can steal user funds if bond block is high enough ### Description _Submitted by kenzo_. After an auction has started, as time passes and according to the `bondBlock`, `newRatio` (which starts at 2\*ibRatio) gets smaller and smaller and therefore less and less tokens need to remain in the bas...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
true
false
## Low: updatedRelayerFeePct can be lower than expected ### Description In the `SpokePool` contract, the `speedUpDeposit` function [performs the following check](https://github.com/across-protocol/contracts-v2/blob/c01d48cdb2e72812b6b9780fe215d44faced50ba/contracts/SpokePool.sol#L463) on the `updatedRelayerFeePct` var...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: Insufficient validation of amount provided to notifyRewardAmount ### Description In `MultiRewards.notifyRewardAmount`, we validate that the `_rewardsToken` balance of the contract is sufficient to cover future reward emissions: ```solidity uint256 balance = IERC20(_rewardsToken).balanceOf(address(this)); req...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: unused function and variable found ### Description **Description:** Unused variable - [(https://github.com/Crelde/IOTA-Heroes-Contracts/blob/3e345747f723637c0a1ce884d1ae0e158401 5e98/contracts/HeroMarketplace.sol#L31)](https://github.com/Crelde/IOTA-Heroes-Contracts/blob/3e345747f723637c0a1ce884d1ae0e1584015e...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Attribute changes via `setAttribute` or `updateInvestor` do NOT trigger compliance count updates. ### Description **Description:** The compliance system maintains several count variables (`accreditedInvestorsCount`, `usAccreditedInvestorsCount`, `euRetailInvestorsCount`, between others) to enforce investor lim...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
token
false
false
## Gas: Transfer erc20 immediately to Dripshub ### Description - `Dripshub: give()` gas saved: 9449 - `AddressDriver: give()` gas saved: 29439 - `NFTDriver: give()` gas saved: 18936 When you call the `give()` function in the Address or NFTDriver. The erc20 token are first getting send to those contracts and afterward...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
true
false
## Medium: Signature replay ### Description _Submitted by 0x1f8b_ Signature replay in `PoolTemplate`. #### Proof of Concept The `redeem` method of `PoolTemplate` verifies the data stored in `incident`, and the verification logic of this process is performed as following: As can be seen, the only data related to t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: OidcRecoveryValidator Does Not Follow the ERC-1271 Flow ### Description The [`validateSignature` function](https://github.com/matter-labs/zksync-sso-clave-contracts/blob/ed21d09add8da99d9c82d0f7c30659625c6636e6/src/validators/OidcRecoveryValidator.sol#L289) of the `OidcRecoveryValidator` contract reverts when ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
true
false
## Low: Possible reentrancy in allocateFunds ### Description There is a potential reentrancy in the `allocateFunds` function, because there is a foreign call (ERC20 approve) on a user input (markets). However, the user is an administrator and is not likely to use a malicious contract address as an input, and legitimat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: Centralization Risks ### Description This issue has been identified in the `setCalldataRules` and `removeCalldataRules` functions of the `P2pLendingProxyFactory` contract. The P2P operator can update calldata rules crucial for the lending protocol integrations. Malicious or erroneous rule changes could disru...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
dos
true
false
Source: https://github.com/sherlock-audit/2023-02-olympus-judging/issues/125 ## Found by RaymondFam, shark ## Summary In WstethLiquidityVault.sol, the for loop in `_accumulateExternalRewards()` utilizes `continue` so it could proceed to the next iteration upon having a true condition in the sanity check. This will ...
Sherlock
5
Olympusdao
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
reentrancy
true
false
## High: 1. ERC777 RE-ENTRANCY ATTACK ### Description **Severity:** Critical **Path:** PolygonZkEvmBridge.sol **Description:** In the function bridgeAsset() any user can bridge his ERC20 tokens specifying the destination network and the destination address, in case it is not a wrapped token it will call transferFro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
initialization
false
false
## Low: `BridgeCCIP.isL1` can be immutable ### Description [`BridgeCCIP.isL1`](https://github.com/YieldFiLabs/contracts/blob/40caad6c60625d750cc5c3a5a7df92b96a93a2fb/contracts/bridge/ccip/BridgeCCIP.sol#L34) is only [assigned](https://github.com/YieldFiLabs/contracts/blob/40caad6c60625d750cc5c3a5a7df92b96a93a2fb/contr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
false
false
## Medium: Potential DOS in delegation_service Pool ### Description ## Delegation Service Vulnerability In `delegation_service`, there is a hard limit on the number of direct delegators a pool can have: **MAX_NUMBER_OF_DELEGATIONS** (currently 100). A malicious user could fill the delegator list with fake delega...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Possible to initiate Ownership Transfer with the null address ### Description Function [`initiateOwnershipTransfer`](https://github.com/OpenSTFoundation/SimpleTokenSale/blob/1a1e863441ba0149d7585203f5dbc6e800af00cf/contracts/Owned.sol#L41) allows initiating a transfer passing the `0x0` address as a `_proposedO...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: Inconsistent use of safeTransfer for collateralToken ### Description The Raft contracts rely on ERC-20 tokens as collateral that must be deposited in order to mint R tokens. However, although the SafeERC20 library is used for collateral token transfers, there are a few places where the `safeTransfer` functi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
false
false
## Low: Lack Of Cross-Chain Blacklist Synchronization ### Description ## Vulnerability Summary The vulnerability arises from the fact that in both **StakedUSDeOFT** and **StakedUSDeOFTAdapter**, the destination chain checks whether the receiver is in the local blacklist. This creates a potential window of opportunity...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
true
false
## Medium: MultiInvoker closableAmount the calculation logic is wrong ### Description in `MultiInvoker._latest()` The incorrect use of `previousMagnitude = latestPosition.magnitude()` has led to an error in the calculation of `closableAmount`. This has caused errors in judgments that use this variable, such as `_liqui...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
false
false
## Low: OPEN TODOs ### Description Open To-dos can point to architecture or programming issues that still need to be resolved. Often these kinds of comments indicate areas of complexity or confusion for developers. This provides value and insight to an attacker who aims to cause damage to the protocol. Code Location ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: Unbonding Period Bypass ### Description ## stFLUO Redemption Issue In stFLUO, `initiateRedeem` allows users to initiate the redemption of stFLUO tokens for FLUO tokens with a specified unbonding period. The issue arises due to users bypassing this unbonding period. The bypass occurs by calling `withdraw`, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
rounding
true
false
## High: Incorrect parenthesis usage results in a completely wrong calculation ### Description Upon calling `Edge.calcLowerImplied()` when the price is below the narrow range low tick, we have the following piece of code: ```solidity uint256 xyX192 = (x << (128 / y)) << 64; ``` It aims to compute the `x/y` ratio in ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: ShapeShift Manages MetaMasks Ethereum Private Keys ### Description As the Snap Outline in this report mentions, the ShapeShift snap requests access to the BIP32 entropy for the Ethereum private keys. This effectively allows the ShapeShift snap to manage MetaMasks Ethereum keys directly, which comes with great...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
false
false
## Low: Checking duplicate items in DAO chains list ### Description There's no check that DAO chain deployment list have duplicate items and if it has duplicate items then the DAO may have unexpected behavior in the side chains because the configs for that DAO would be set two times in the side chains and those config...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
false
false
## Medium: _beforeProviderOp susceptible to running out of gas ### Description In [`SmartYield`](https://github.com/BarnBridge/BarnBridge-SmartYieldBonds/blob/943df3a8fcd8dd128af3beb0c85a0480c0e95ead/contracts/SmartYield.sol), the [`_beforeProviderOp`](https://github.com/BarnBridge/BarnBridge-SmartYieldBonds/blob/943d...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: RocketDAOProposals - Unpredictable behavior due to short vote delay ✓ Addressed ### Description A proposal can be voted and passed when it enters the `ACTIVE` state. Voting starts when the current `block.number` is greater than the `startBlock` configured in the proposal (up until the `endBlock`). The require...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
false
false
## Medium: Unbounded Iteration on Collateral Assets ### Description **Update** Mitigated in commit [b6a9a63](https://github.com/hifi-finance/hifi/commit/b6a9a63) by adding a new state variable `maxCollaterals` and checking against it in `depositCollateral()`. **File(s) affected:**`packages/protocol/contracts/core/bal...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Failure in emergencyClose results in funds being stuck ### Description In order to activate the emergency withdrawals, the vault needs to reach the CLOSED status. If the vault fails to do so, users won't be able to withdraw their funds. ### Impact Users cannot retrieve their funds after the pause unless all t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
initialization
true
false
## Gas: Method IDs can be fiddled with to reduce gas costs ### Description See [this](https://medium.com/joyso/solidity-how-does-function-name-affect-gas-consumption-in-smart-contract-47d270d8ac92) page for details **[PierrickGT (PoolTogether) commented](https://github.com/code-423n4/2022-04-pooltogether-findings/is...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
false
false
## Medium: `VoterProxy` incorrectly assumes a 1-1 mapping between the gauge and the LP tokens. ### Description _Submitted by Picodes_ ### Impact When calling `withdrawAll`, to compute the amount to withdraw, the contract checks the balance of gauge tokens and assume that `1 gauge token = 1 LP token` by doing `uint2...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Lending pool state transition will be broken when pool is expired in late state ### Description Lending pool state transition will be broken when pool is expired in late state ### Impact Depending on situation, capital can be locked forever or protection buyers will not be compensated. ### Recommendation Th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
true
false
## Low: Side e�ects are triggered regardless of disk_farms validity ### Description The `farm` function checks the `disk_farms` arguments, which originate from the front end. The `farm` function’s checks are spread across the code and are interleaved with code that triggers side effects that do not influence the subse...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
oracle
true
true
<https://github.com/code-423n4/2023-10-badger/blob/f2f2e2cf9965a1020661d179af46cb49e993cb7e/packages/contracts/contracts/PriceFeed.sol#L341> <https://github.com/code-423n4/2023-10-badger/blob/f2f2e2cf9965a1020661d179af46cb49e993cb7e/packages/contracts/contracts/PriceFeed.sol#L231> `PriceFeed.sol:fetchPrice()` can r...
Code4rena
5
eBTC Protocol
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: IdleCDO.harvest() allows price manipulation in certain circumstances ### Description The function `IdleCDO.harvest()` uses Uniswap to liquidate rewards earned by the contract’s strategy, then updates the relevant positions and internal accounting. This function can only be called by the contract `owner` or ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: [01] Several `InitialETHCrowdfund` and `ETHCrowdfundBase` functions can be called without passing by a proxy ### Description https://github.com/code-423n4/2023-10-party/blob/b23c65d62a20921c709582b0b76b387f2bb9ebb5/contracts/crowdfund/InitialETHCrowdfund.sol#L318 https://github.com/code-423n4/2023-10-party/blo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: Multiple `staticcall` success booleans are not checked ### Description The success boolean returned when performing a `staticcall` on the given ERC20 token is not currently checked for any of the instances. It is understood this is a trust assumption in that legitimate implementations should always have `IERC2...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Modifier VaultController._verifyCreatorOrOwner does not work as intented ### Description ### Impact Modifier `VaultController._verifyCreatorOrOwner` does not work. Instead of checking the condition `msg.sender is creator OR owner`, it makes `msg.sender is creator AND owner`. This would block access to all cr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
false
false
## Medium: Incompatibility With Rebasing/Deflationary/Inflationary tokens ### Description _Submitted by defsec_ The TraderJOE protocol do not appear to support rebasing/deflationary/inflationary tokens whose balance changes during transfers or over time. The necessary checks include at least verifying the amount of t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Vault cannot be added back into the vault registry ### Description Source: https://github.com/sherlock-audit/2023-06-tokemak-judging/issues/674 ## Found by 0x70C9, AuditorPraise, Aymen0909, KingNFT, Phantasmagoria, ast3ros, carrotsmuggler, dipp, techOptimizor, xiaoming90 The vault registry does not clea...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
cross-chain
true
false
## Gas: Multiple accesses of a mapping/array should use a local variable cache ### Description Caching a mapping's value in a local storage or calldata variable when the value is accessed multiple times saves ~42 gas per access due to not having to perform the same offset calculation every time. Help the Optimizer by ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: `_condition` absence check ### Description In `addConditionToFunction()`: `_condition` address should be checked for absence in `conditionsByFunction[_functionSignature]`. https://github.com/MetaLex-Tech/borg-core/blob/9074503d37cfa1d777ef16f6c88b84c98b4f54eb/src/libs/conditions/conditionManager.sol#L93 ### R...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: Avoid using `SafeMath::div` when it is not possible for the divisor to be zero ### Description Use of `SafeMath::div` is only necessary if the divisor can be zero. Therefore, if the divisor cannot be zero then use of this function can be avoided. The following instances have been identified where this is the c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
true
false
## Low: Potential Overflow on `_lock()` Method ### Description There is a potential for overflow in the `_lock()` function from the `CSBondLock` contract. The unchecked block in `_lock()` is problematic because it adds the new amount to any existing locked amount. Even if individual calls don't use extremely large va...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: `CLGauge` should use `ERC721HolderUpgradeable` instead of `ERC721Holder` ### Description The `CLGauge` contract is designed to be upgradeable but currently inherits from `ERC721Holder`. It should instead inherit from `ERC721HolderUpgradeable` to ensure compatibility with upgradeable patterns. Since `CLGauge`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: [L-02] ### Description [L-02] ecrecover() not checked for signer address of zero The ecrecover() function returns an address of zero when the signature does not match. This can cause problems if address zero is ever the owner of assets, and someone uses the permit function on address zero. If that happens, an...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Fixed interest rates can be manipulated by a whale borrower ### Description A whale borrower can manipulate the fixed interest rate by repaying a huge amount of funds, taking a fixed loan, and borrowing the funds previously repaid. ### Impact A whale borrower can manipulate the fixed interest rate by repay...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
false
false
## Medium: Missing check for vetoed proposal's target timelock can cancel transactions from other proposals on new DAO treasury ### Description The `veto()` function always assumes that the proposal being vetoed is targeting `ds.timelock` (i.e., the new DAO treasury) instead of checking via `getProposalTimelock()` as ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
false
false
## Medium: `LendingPool#flashAction` is broken when trying to refinance position across `LendingPools` due to improper access control ### Description When refinancing an account, `LendingPool#flashAction` is used to facilitate the transfer. However due to access restrictions on `updateActionTimestampByCreditor`, the c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
true
false
## High: Incorrect slippage protection on deposits ### Description ### Relevant GitHub Links https://github.com/Cyfrin/2023-10-SteadeFi/blob/0f909e2f0917cb9ad02986f631d622376510abec/contracts/strategy/gmx/GMXDeposit.sol#L136-L140 ## Vulnerability Details The slippage on deposits is enforced by the `minMarketTokenAmt...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: minBorrowUSD not initialized in the contract ### Description ## Handle gpersoon ## Vulnerability details ## Impact The parameter minBorrowUSD of the contract Controller isn't initialized. If someone is able to Borrow before the function setMinBorrowUSD is called, he might be able to borrow a very small amo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
storage
false
false
## Medium: Funds are not claimed from syndicate for valid BLS keys of first key is invalid (no longer part of syndicate). ### Description claimRewards in StakingFundsVault.sol has this code: if (i == 0 && !Syndicate(payable(liquidStakingNetworkManager.syndicate())).isNoLongerPartOfSyndicate(_blsPubKeys[i])) { // ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
true
false
## Medium: TRST-M-1 multiplication overflow in getPoolPrice() likely ### Description **Description:** `getPoolPrice()` is used in hedgeDelta to get the price directly from Uniswap v3 pool: The issue is that calculation of p is likely to overflow. sqrtPriceX96 has 96 bits for decimals, 10** `token0.decimals()` will h...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: The `TimelockController::executeEmergencyAction()` function does not update the `_operations` mapping, which can lead to an operation being executed twice. ### Description The `TimelockController::executeEmergencyAction()` function does not update the `_operations` mapping, which can lead to an operation be...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Unusable variable ### Description The variable is defined and initialized, but not used in the smart contract: https://github.com/mixbytes/lido-dot-ksm/blob/76a10efa5f223c4c613f26794802b8fb9bb188e1/contracts/Lido.sol#L201 ### Recommendation We recommend removing this variable.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: BaseJumpRateModelV2 uses outdated blockPerYear value ### Description In `BaseJumpRateModelV2.sol`, which is intended to be used as the rate model for all non-ERC721 markets, we use the following constant for `blocksPerYear`: This value is used when setting interest rates, which are inputted on an annual ba...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: NFT-owner can run minting again after `MintSaleBase.removeTokensAndReclaimOwnership()` was called ### Description After `MintSaleBase.removeTokensAndReclaimOwnership()` was called by NFT-owner, they can make a minting contract minter again with `VibeERC721.setMinter()`: https://github.com/vibexyz/vibe-contract...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
false
false
## High: CBEthCollateral and AnkrStakedEthCollateral \_underlyingRefPerTok is incorrect ### Description ### Lines of Code The `CBEthCollateral._underlyingRefPerTok()` function just uses `CBEth.exchangeRate()` to get the ref/tok rate. The `CBEth.exchangeRate()` can only get the conversion rate from cbETH to staked ET...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Mark `L1MessageManagerV1::outboxL1L2MessageStatus` as deprecated ### Description **Description:** `L1MessageManagerV1::outboxL1L2MessageStatus` is never read or written to anymore apart from the test suite: Therefore it should be marked as deprecated with a comment similar to how `LineaRollup` handles its de...
0