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
medium
front-running
true
false
## Medium: Large vault share price updates can be captured by open/close short ### Description When opening a short, the user deposits \( \frac{c}{c_0} \times dy - dz \times c \). When closing in the same transaction, they receive base proceeds which are also \( \frac{c'}{c_0} \times dy - dz \times c' \), where \( dz ...
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: Refrain From Shadowing State Variables ### Description ## Severity: Low Risk ## Context - Periphery.sol#L351 - CAdapter.sol#L133 - CAdapter.sol#L156 ## Situation Shadowing variables (factory and target), i.e. by having function parameters or other local variables declared with the same name, could lead to un...
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: Security and sanity check bypass in `MultiCallOptimizedSwapper` ### Description As well as similar functions, [`execute`](https://github.com/yearn/hardhat-monorepo/blob/ecc0b5147992b34c315e08af170ceb4a5fe071ee/packages/yswaps/contracts/TradeFactory/TradeFactoryExecutor.sol#L126) performs several sanity 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
medium
other
false
false
## Medium: Fund receiving address can be changed by owner for a brief period ### Description The [`setMultisig`](https://github.com/CoinFabrik/ico/blob/142f43f3bec4afd0ffff3fce06946cf67cb0272f/contracts/Crowdsale.sol#L417) function allows the owner to change the address where funds are sent. It can be used for a brief...
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
liquidation
true
false
## Low: Partial filled short does not reset liquidation flag after user gets fully liquidated, meaning healthy position will still be flagged if the rest of the order gets filled. ### Description - The protocol allows a short order to be partially matched, generating a short record for the matched amount. The unmatche...
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: Inverted use of boolean value in `L2NativeTokenVault.constructor` would cause revert or unnecessary deployment of `bridgedTokenBeacon` ### Description The `L2GatewayUpgradeHelper._getForceDeploymentsData` function in `L2GatewayUpgradeHelper` provides the `ForceDeployment` struct used to deploy the `L2Native...
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: Users are able to create an unlimited amount of locks. ### Description **Description** LockedStaking.sol: function addLock().
 There is no limitation on the amount of locks for each user. Each lock is added to the user's array of locks. In case user has created too many locks, this can cause to revert 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
other
true
false
## Low: Reward distribution can be skipped when executed within the vote window buffer of a new epoch ### Description **Description:** `DistributionManager::distribute` is validated to only be callable when voting is not active. This is achieved by calling `_validateCanDistribute()`; however, this fails to account for...
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
liquidation
false
false
## Medium: Centralisation risk with `liquidationResolver` as it can steal 100% of locked funds ### Description **Proof of Concept** Currently the `liquidationResolver` has the power to steal 100% of locked funds in the following way: 1. Call `freezeFunds` for every user that has a locked balance 2. Wait some time un...
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
overflow
false
false
## Gas: Use a more recent version of solidity ### Description - Use a solidity version of at least 0.8.0 to get overflow protection without `SafeMath` - Use a solidity version of at least 0.8.2 to get simple compiler automatic inlining - Use a solidity version of at least 0.8.3 to get better struct packing and cheaper...
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: Invalid Threshold range ### Description ## Multisig Implementation and Validation The threshold represents the minimum number of signatures required for authenticating a transaction. The Aptos multisig implementation validates that the threshold is not zero. ## Code Reference **File:** `aptos-core/crates/apt...
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: DOS of market operations with malicious offers ### Description The Rubicon market has two functions that are interesting: `buyAllAmount` and `sellAllAmount`. These functions are responsible for using up offers until the entire amount is bought or sold. The contract stores offers in a sorted linked list, each ...
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
false
false
## Low: Parameters not validated for zero address ### Description The methods: - `createPoolInitial()` at https://github.com/clearpool-finance/permissionless-protocol/blob/f1f38c5ba83e2c3a68155042229b04678d9425ce/contracts/PoolFactory.sol#L225, - `createPool()` at https://github.com/clearpool-finance/permissionless-p...
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 Reading and writing to state if the value is zero ### Description **Instance 1:** Refactor `FeeManager.increaseIncentiveA()` to avoid reading or writing to state if `_value` is `0`. https://github.com/code-423n4/2024-02-wise-lending/blob/main/contracts/FeeManager/FeeManager.sol#L220 In the `FeeManager...
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: `NFTPositionInfo` will not work properly in ZKSync ### Description _Acknowledged_ It is expected that the contracts can be deployed on any network where UniswapV3 is deployed. In ZKSync, however, the `NFTPositionInfo` library will not work properly, as the version of `PoolAddress` it uses is [not compatible w...
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: Violations of Solidity Style Guide Conventions - magic numbers. ### Description **Severity**: Informational **Status**: Acknowledged **description** Hard-coded constants like: are not self-explanatory or defined as named constants, making it difficult to understand their meaning or how they were derived. ...
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: Non-Atomic packet ID May Result in Collisions ### Description In the `PacketIdHandler` contract, the `endpoint.getPacketId` function is used to generate packet IDs, but it requires manual nonce increment via `endpoint.incrementNonce()`. If the developer forgets to call `incrementNonce`, or if the function fail...
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: Use of 3rd party library in Factory contract. ### Description **Description** In the Factory contract, all except init and update of the contract are using third-party lib, which is out of scope. programs/nft_factory **Recommendation** We need verification from the Onemind team that out-of-scope libs can 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
access-control
false
false
## Low: Using DEFAULT_ADMIN_ROLE for multiple privileged actions across protocol contracts is a cen- tralization risk ### Description Multiple protocol contracts grant the deployer the `DEFAULT_ADMIN_ROLE`, which is authorized to execute various privileged actions, including: - Pausing/unpausing contracts - Setting 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
medium
other
false
false
## Medium: No Validation on the feeWallet Address ### Description **Severity**: Low **Status**: Resolved **Description**: The `_updateFeeWallet` function allows setting the `feeWallet` without any validation if it's a valid address or not. It's possible to set it to the zero address or another potentially harmful ...
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
front-running
true
true
## High: Arbitrary call in `LendingPool.reBalance()` leads to asset theft ### Description - https://github.com/Liquorice-HQ/contracts/blob/a5b4c6a56df589b8ea4f6c7b8cb028b1723ad479/src/contracts/LendingPool.sol#L229 The `reBalance()` function in the `LendingPool` contract improperly allows callers to execute any funct...
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: Missing slippage protection on buy and sell ### Description ### Finding description The `sell` and `buy` functions in the `FRouter` contract lack a slippage check to ensure that the `amountOut` (the amount of tokens received after the trade) is not less than a certain percentage of the expected `amountOut`...
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
liquidation
true
false
## Low: Bad debt will not be socialised in certain edge case ### Description At the end of the liquidation process, debt is socialized when the liquidatee has no liquidatable collateral but still has debt: ```solidity function executeLiquidation(VaultCache memory vaultCache, LiquidationCache memory liqCache, uint256 ...
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
rounding
false
false
## Medium: Precision loss in reward calculation leads to incorrect accounting for residual amounts ### Description The precision loss in reward calculation leads to incorrect accounting for residual amounts. ### Recommendation The calculation needs to be reconsidered with the amount lost to division in `leftover / re...
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: If the Variable Side Withdraws Before the Fixed Side Depositor, the Future Earnings of the Fixed Depositor Will Not Be Charged Fees ### Description **Update** The Saffron team has deemed this as acceptable behavior. **File(s) affected:**`UniV3Vault.sol` **Description:** The `UniV3Vault.withdraw()` function 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
false
false
## High: Missing Message Type Registrations in Regulation Module ### Description Several message types defined in the regulation module are not properly registered in the RegisterInterfaces function. Specifically, the following message types are missing from the registration: **- MsgProposeBlock** **- MsgProposeAdd*...
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: TWABDelegator: Consider renaming `_delegateCall()` to `_setDelegateeCall()` ### Description `_delegateCall()` could easily be confused for the inbuilt `delegatecall()` method. I recommend renaming it to something more distinguishable like `_setDelegateeCall()`. **[PierrickGT (PoolTogether) confirmed and comme...
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
true
## High: Error in totalvotes formula reflects wrong number of votes ### Description In `_getTotal()`, `votesTotal` is calculated by the formula: ``` votesTotal += typeVoteChange * typeWeight; ``` and is assigned to `totalVotes[timestamp] = votesTotal;`. However, `typeVoteChange` only reflects the amount of change at 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
gas
reentrancy
false
false
## Gas: Not respecting the Checks-Effects-Interactions pattern that can be a place for bugs ### Description **Potential Reentrancy Attack**: Even though the contract uses a reentrancy guard, it's crucial to ensure that all external calls are at the end of the function (the Checks-Effects-Interactions pattern). 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
true
false
## Medium: System Debt Is Not Handled When Insurance Pools Become Insolvent ### Description _Submitted by leastwood_ If an incident has occurred where an insurance policy is to be redeemed. The market is put into the `MarketStatus.Payingout` mode where the `_insurance.insured` account is allowed to redeem their cover...
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
false
false
## Medium: First depositor inflation attack in StakedToken contract ### Description The StakedToken contract inherits from the ERC4626 standard. This contract is susceptible to a well-known exploit referred to as the "first depositor inflation attack." This vulnerability occurs due to the lack of protective mechanisms...
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: The PythOracle won't work with positive expparameter ### Description The Pyth oracle is using an `expparameter` to determine the decimals that the price will be normalized to result in the actual price. The formula is: ``` price * 10^exp ``` We checked all the current feeds and the `expvalue` is between -5/...
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 is replayable ### Description **Severity**: Medium **Status**: Resolved **Description** WalletAccount.sol - Function `validateUserOp()` (i.e. in BaseAccount.sol) is susceptible to replay attacks. A rogue caller is able because of this vulnerability to reuse an already executed signature to auth...
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: The `VoterUpgradeableV2.distributeFees()` function always reverts ### Description The `VoterUpgradeableV2.distributeFees()` function distributes fees to a list of gauges. It calls the `gauges.claimFees()` function at L400. The `gauges.claimFees()` function calls the `feeVault.claimFees()` function at L394. ...
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: No zero address check ### Description **Description** RuleEngine.sol, line 37 - no check for zero addresses. It is mentioned as an issue, because there is no visible deployment script, so there is a place for mistakes. It is also important, since there is no interface for StakingContract changing. **Recommen...
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: Oracle price does not compound ### Description _Submitted by cmichel_ [ScalingPriceOracle.sol#L136](https://github.com/code-423n4/2022-03-volt/blob/f1210bf3151095e4d371c9e9d7682d9031860bbd/contracts/oracle/ScalingPriceOracle.sol#L136) [ScalingPriceOracle.sol#L113](https://github.com/code-423n4/2022-03-volt/b...
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: A Future Action Can Lead to a Vulnerability ### Description In upgradeable contracts, every new version of the implementation contract needs to have all the state variables of the previous implementation in the same layout or else it can lead to a storage collision. Attackers can use this vulnerability to over...
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: Missing Initializer Calls in GeniusVaultCore's Initialization Function ### Description The **GeniusVaultCore** contract inherits from `ReentrancyGuardUpgradeable` and `UUPSUpgradeable` but fails to call their respective initializer functions during initialization. This omission breaks the initialization cha...
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: Introduction of approvals use case opens up attack surface w.r.t. long term allowances ### Description PR 161 introduces the use of token approval/allowances for the proxy contract to create streams rather than use explicit Permit2 signatures. The intended use case is for Safe users to avoid having to let ever...
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
storage
true
false
## Gas: VArray can remove `included` field to save gas ### Description Currently, the `VerifiableArray` struct has the following elements: Rather than using an additional storage slot to store `included`, this could be made more efficient by encoding whether or not the element is included within the `indexOf` field. ...
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
high
Reentrancy
true
true
Source: https://github.com/sherlock-audit/2023-12-arcadia-judging/issues/153 ## Found by 0xadrii, zzykxx ## Summary It is possible to drain a liquidity pool/creditor if the pool’s asset is an ERC777 token by triggering a reentrancy flow using flash actions. ## Vulnerability Detail The following vulnerability descri...
Sherlock
5
Arcadia
[ { "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
storage
false
false
## High: Anyone can deposit and mint withdrawal proxy shares to capture distributed yield from borrower interests ### Description Anyone can deposit and mint Withdrawal proxy shares by directly interacting with the base `ERC4626Cloned` contract's functions, allowing them to capture distributed yield from borrower inte...
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
oracle-manipulation
false
false
## Low: Confusing field name `minimumLiveness` in `PriceData` struct ### Description The [`PriceData`](https://github.com/ondoprotocol/rwa-internal/blob/a74d03f4a71bd9cac09e8223377b47f7d64ca8d4/contracts/globalMarkets/tokenManager/sanityCheckOracle/OndoSanityCheckOracle.sol#L37-L49) struct in `OndoSanityCheckOracle` 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
low
other
false
false
## Low: Unnecessary update ### Description If `contractToAdapter[targetContract] == adapter` , update is unnecessary: https://github.com/Gearbox-protocol/gearbox-contracts/blob/0ac33ba87212ce056ac6b6357ad74161d417158a/contracts/credit/CreditFilter.sol#L192 ### Recommendation We recommend adding additional check.
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: Inaccurate Execution Time Reporting in Proposal Execution Revert ### Description The governance contract reverts with a `ProposalAlreadyExecuted` error when a proposal is attempted to be executed after it has already been processed. However, the error message reports the current block timestamp instead of 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
high
dos
true
false
## High: A Trusted Website Can Add Any Address to the Snaps Address Storage; No Control Over Added Addresses; Confirmation Is a Notification ✓ Fixed ### Description Trusted websites can add addresses to the list of addresses the user wants to receive notifications for. However, the user has no control over the 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
low
initialization
true
false
## Low: [9] Lack of setter function for the apwineAddr ### Description On the Redemeer contract, there is not setter function on the apwineAddr address. This can cause misfunctionality on the redeemer contract. ### Proof of Concept 1. Navigate to contract: https://github.com/code-423n4/2022-06-illuminate/blob/main/...
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: account.holdsToken is never set ### Description ## Email address mail@cmichel.io ## Handle @cmichelio ## Eth address 0x6823636c2462cfdcD8d33fE53fBCD0EdbE2752ad ## Vulnerability details The `addHolding` function does not update the `account.holdsToken` map. This leads to a critical vulnerability 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
liquidation
false
false
## Low: Borrowers are allowed to operatate after the maximum period has passed ### Description The [`Holdefi` contract](https://github.com/holdefi/Holdefi/blob/f4df394d7cf6df347b1f1e9af8e2676c5933c2c9/contracts/Holdefi.sol) establishes a maximum period of time in which a borrower can be sure that his assets will not b...
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: The method `multiTransfer(...)` fails to transfer tokens to recipients ### Description **Severity**: High **Status**: Resolved **Description** In Contract DevvE.sol, the method multiTransfer(...) fails to transfer tokens to recipients due to the following line: Here even if `msg.sender` has approved the D...
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: Insufficient verification and checks for FeeOnTop ### Description **Severity**: Informational **Status**: Resolved **Description** The FeeOnTop can be set arbitrarily to any value(lesser than itemPrice) by the caller. This can result in the caller/buyer bypassing the FeeOnTop entirely, or paying a value le...
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: Caching storage variables in memory to save gas ### Description ### PROBLEM Anytime you are reading from storage more than once, it is cheaper in gas cost to cache the variable in memory: a SLOAD cost 100gas, while MLOAD and MSTORE cost 3 gas. In particular, in `for` loops, when using the length of a storage...
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: Use of non-named numeric constants ### Description Constants should be defined instead of using magic numbers. *There are 285 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...
cyfrin_structured
low
other
true
false
## Low: Return fast in `TradingAccountBranch::getAccountLeverage` when margin balance is zero ### Description Return fast in `TradingAccountBranch::getAccountLeverage` when margin balance is zero: ```solidity function getAccountLeverage(uint128 tradingAccountId) external view returns (UD60x18) { TradingAccount.Dat...
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: `LendingTerm` inconsistency between debt ceiling as calculated in `borrow()` and `debtCeiling()` ### Description There is an inconsistency in the calculation of the `debtCeiling` between the [`borrow()`](https://github.com/code-423n4/2023-12-ethereumcreditguild/blob/main/src/loan/LendingTerm.sol#L394-L397) ...
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: Successful redeem of aTokens may not pay assets in exchange ### Description The [`redeem` function](https://gitlab.com/aave-tech/dlp/contracts/blob/1f8e5e65a99a887a5a13ad9af6486ebf93f57d02/contracts/tokenization/AToken.sol#L73) in the `AToken` contract allows holders of aTokens to redeem them for the underl...
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: Suboptimal Code Structure with Two Separate For Loops ### Description **Severity**: Informational **Status**: Unresolved **Location**: multiTransfer **Description** The function [`multiTransfer`] contains two separate for loops that iterate over similar data structures. Consolidating these loops into a sin...
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
true
false
## Low: Re-initialization of the Balancer pool is potentially possible ### Description Instead of creating a new Balancer pool for an auction every time, the same pool is getting re-used repeatedly. When this happens, the old liquidity is withdrawn, and if there is enough FEI in the contract, the weights are shifted p...
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: Improper Order Of Iterator Operations ### Description ## Application Filtering Issue Within `get_applications` in `applications`, there is an issue concerning the order of the iterator methods applied to `application`. Specifically, the `filter` operation applies before the `take` operation. > _assert statem...
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: Lack of contract existence check on transfer / transferFrom calls ### Description The MesonHelpers contract uses the low-level call function to execute the transfer / transferFrom function of an ERC20 token. However, it does not first perform a contract existence check. Thus, if there is no contract at the 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
medium
access-control
false
false
## Medium: Reducing the epoch length results in leaking value from advancement incentives ### Description _Submitted by TomFrench_ Unintended advancement incentives being paid out to third party #### Proof of Concept `DAO.sol` incentives outside parties to advance the epoch by minting 100 MALT tokens for calling 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
high
overflow
true
false
## High: Missing `lower<upper` check in `mint_position` ### Description The current implementation does not perform a check for `lower upper`:** Unlike the previous case, when `lower > upper` it is possible to create a position with both liquidity and balance. However, the potential issue arises when calling the `get...
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: SimpleInterestTermsContract will silently accept other tokens ### Description The function [`registerRepayment`](https://github.com/dharmaprotocol/charta/blob/b110959477cf37375bf7e9344d40eb85219c8575/contracts/examples/SimpleInterestTermsContract.sol#L57) implemented in [`SimpleInterestTermsContract`](https...
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
true
false
## Low: Pending Deposits Cannot Be Withdrawn Until Converted to Shares, Forcing Exposure to Game Risk ### Description Users cannot withdraw pending deposits until they are converted to shares after drawing settlement, forcing exposure to game risk before withdrawal is possible. When users deposit during a drawing, 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
other
false
false
## Low: Fixed execution gas amount might not work for all potential target chains ### Description In [`_sendASD`(…)](https://github.com/code-423n4/2024-03-canto/blob/1516028017a34ccfb4b0b19f5c5f17f5fa4cad42/contracts/asd/asdRouter.sol# L151-L152), when `asD` is transferred to another chain via LayerZero, a fixed gas 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
low
other
false
false
## Low: Lack of Events for Critical Changes ### Description **Severity**: Informational **Status**: Resolved **Description**: Some critical state changes, like updateSwapEnabled or enableTrading, don't emit events. This makes it harder for external systems to track the contract's actions and state changes. **Rec...
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: Optimizer will misallocate when StakeDAO is above full boost ### Description On Page 5 of the whitepaper, it says: > We can assume that when this balance is reached for a given gauge, neither Convex nor Stake DAO have maximum boost, which enables us to get rid of the min formula. The `min` in the formula ...
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
overflow
true
false
## High: TRST-H-2 Users will be unable to claim emissions from veSatin tokens if they withdraw it or merge it ### Description **Description:** The function `_calculateClaim()` uses the variable **lockEndTime** when checking if a veSatin is entitled to emissions for a particular week (code with mitigation from TRST-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
low
liquidation
false
false
## Low: Absence of inactivity leaks and slashing penalties allows inactive/malicious validators ### Description Absence of inactivity leaks and slashing penalties currently in Berachain BeaconKit allows inactive/malicious validators to negatively impact the consensus mechanism. ### Recommendation Consider introducing...
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: `BORG_SAFE` is not checked ### Description Constructor: missing a `BORG_SAFE` zero check. https://github.com/MetaLex-Tech/borg-core/blob/9074503d37cfa1d777ef16f6c88b84c98b4f54eb/src/libs/conditions/deadManSwitchCondition.sol#L27 ### Recommendation We recommend adding parameters checks from the description.
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
high
token
true
true
## High: Rewards can be stolen when `IncentivizedERC20` tokens are recursively provided as liquidity ### Description By virtue of the composable nature of DeFi, it is common to have wrapped liquidity tokens that encapsulate some form of yield or other tokenized incentives in a manner similar to Valkyrie. With the ubiq...
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: Abort via Large Node Capacity Value ### Description ## Potential Flaw in Vote Calculations There is a potential flaw in how the vote calculations are handled in `select_committee_and_calculate_votes`, particularly with the `node_capacity` parameter, which may result in an abort. The `node_capacity` refers ...
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: [10] Missing function to calculate how much liquidity a user will get on `buy()` and tokens on `claim()` ### Description [`buy()`](https://github.com/code-423n4/2024-06-vultisig/blob/main/src/ILOPool.sol#L126) operations involve some complex [calculations](https://github.com/code-423n4/2024-06-vultisig/blob/ma...
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: Adversary can utilise approved to Magnetar `oTAP` and `tOLP` NFTs ### Description The idea of Magnetar is to allow users to batch transactions towards certain contract within the Tapioca contracts, including `TapiocaOptionBroker` and `TapiocaOptionLiquidityProvision`. In order to do so, users will have to giv...
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: Use Of Ownable Can Be Skipped ### Description **Severity** - Informational **Status** - Acknowledged **Description** The contract uses the ownable library and mint the initial total supply to the owner , but since there are no onlyOwner functions in this token contract , this can be skipped . We can simply ...
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: Loan Extension Fails Due to Unused Time Calculation ### Description The `extendLoan` function in `DebitaV3Loan::extendLoan` has redundant time calculation logic that causes transaction reversions when borrowers attempt to extend loans near their deadline. ### Impact Borrowers cannot extend loans near their...
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: Due to the use of `msg.value` in for loop, anyone can drain all the funds from the `THORChain_Router` contract ### Description ### Vulnerability details The functions [`transferOutAndCallV5()`](https://github.com/code-423n4/2024-06-thorchain/blob/e3fd3c75ff994dce50d6eb66eb290d467bd494f5/chain/ethereum/cont...
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
false
false
## Medium: DepositReceipt_Base.sol#L21 : HEARTBEAT_TIME gap is too huge ### Description HEARTBEAT_TIME = 24 hours could not be safe. The oracle data still be stale one. ### Impact Stale data used. Front runnable issue. ### Recommendation Use 3 hours as hearbeat.
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: NFT minting limit dependence on block gas limit ### Description ## Handle 0xRajeev ## Vulnerability details ## Impact The current block gas limit is 15M and not 12.5 as indicated in the comment for setNFTMintingLimit(60) in Factory’s constructor. So this could be changed accordingly but a safe threshold n...
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: Approvals should be revoked when unstaking in HoneyLocker.sol ### Description In `HoneyLocker.stake()`, the function will approve the staking contract with an arbitrary amount. When unstaking, the approval is not nullified. Set approvals to zero to prevent the staking contract from having lingering approva...
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: `abi.encodePacked()` should not be used with dynamic types when passing the result to a hash function such as `keccak256()` ### Description **Description:** `abi.encodePacked()` should not be used with dynamic types when passing the result to a hash function such as `keccak256()`. Use `abi.encode()` instead w...
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: At `MuteAmplifier.update()` skip updating if done in the same block ### Description Gas saved: A few thousands When `update()` is being called a second time in the same block both the `_totalWeight` and `_mostRecentValueCalcTime` don't really change. But the logic to update them still run and uses a few thous...
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
front-running
false
false
## Low: A `topUp` call can be front-run ### Description A `topUp` call can dramatically increase the exchange rate, so users that will front-run this call will "steal" some rewards https://github.com/TwoFiftySixLabs/mntEth/blob/bd15a96aee7df0fc0566d662df0cf50ff2619d31/src/Staking.sol#L523-L525. ### Recommendation We ...
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
overflow
true
false
## Gas: [G‑05] `++i`/`i++` should be `unchecked{++i}`/`unchecked{i++}` when it is not possible for them to overflow, as is the case when used in `for`- and `while`-loops ### Description The `unchecked` keyword is new in solidity version 0.8.0, so this only applies to that version or higher, which these instances are....
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
medium
front-running
true
true
## Medium: Attacker can corrupt `RewardsDistributor` internal accounting forcing LP token incentive deposits to revert for tokens like `cUSDCv3` ### Description Some tokens like [cUSDCv3](https://etherscan.io/address/0x9e4dde024f7ea5cf13d5f09c51a1555305c99f0c#code#F1#L930) contains a special case for `amount == type(u...
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
true
false
## Medium: If `FFactory::buyTax` and / or `FFactory::sellTax` is set to 0, buy / sell would revert ### Description ### Finding description The [`FFactory::setTaxParams`](https://github.com/code-423n4/2025-04-virtuals-protocol/blob/28e93273daec5a9c73c438e216dde04c084be452/contracts/fun/FFactory.sol# L74) can be called...
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
false
false
## Low: setUpdatePermissionStatus() andsetSponsorshipStatus() Erroneously Emit Events ### Description Description The setUpdatePermissionStatus() and setSponsorshipStatus() functions are both called by sponsor accounts to enable the respective requester accounts to make beacon requests. However, if a requester account...
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: Wrong calculation for the new `rewardRate[token]` can cause some of the late users can not get their rewards ### Description _Submitted by WatchPug_ In `Gauge.sol#notifyRewardAmount()`, the updated rewardRate for the token: `rewardRate[token]` is calculated based on the newly added amount of tokens (`amou...
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: Creating proposal is not trustless ✓ Fixed in Pull Pattern ### Description Usually, if someone submits a proposal and transfers some amount of tribute tokens, these tokens are transferred back if the proposal is rejected. But if the proposal is not processed before the emergency processing, these tokens will ...
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: Worker is removed from the active workers list too early ### Description During `deregister` call we remove worker from the `activeWorkerIds` array right away, however `deregisteredAt` value is set to the next epoch and according to the `isWorkerActive`, worker is considered active if `deregisteredAt >= bl...
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: L03] Not following consistent code style ### Description ###### Low Components: all A consistent code style is essential to make the code base clear and readable and to make it possible to combine contributions from wildly diverse people, as is the case in open source projects. Consider making every file...
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
false
false
## High: `VaultProxy` implementation can be initialized by anyone and self-destructed ### Description When the `VaultFactory` contract is deployed and initialized, the `initialise` method on the newly created `VaultProxy` implementation contract is never called. As such, anyone can call that method and pass in whateve...
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: `increaseAllowances()` Can Not Be Called Again Until the Entire Allowance of `principalToken` Is Used ### Description Possible DoS depending on the amount of portal tokens in existence (future risk). This is due to `increaseAllowances()` increasing the allowance of the principal token with `safeIncreaseAllowan...
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
high
token
true
false
## High: Pending payouts when resolving an investor are lost because there is no mechanism to claim the resolved payment ### Description When resolving a user who loses access to their account, the `ChildToken::resolveUser` function migrates balances, locks, and frozen tokens to a new address, ensuring the investor re...
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: ERC721 max token per user limit can always be bypassed by one ### Description Both `transferFrom()` and `safeTransferFrom()` functions in `ERC721DAO` have an off-by-one error when calculating the max amount of tokens a user can have: ```solidity require(balanceOf(to) <= erc721DaoDetails.maxTokensPerUser); ...
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: RFTLib incompatible with fee-on-transfer tokens ### Description When the RFT library requests tokens from a non-RFTPayer address (EOA or non-RFTPayer contract), it uses `safeTransferFrom` to pull the exact requested amount. However, with `fee-on-transfer` tokens, the actual received amount will be less than 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
liquidation
true
false
## Low: Per-block issuance limit can be bypassed ### Description Because of a rounding error in a division operation, the per-block issuance limit can be bypassed. The protocol imposes a delay on large RToken issuances to prevent rapid inflation of the RToken supply and to prevent attacks that can be executed when 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
low
flash-loan
false
false
## Low: Flash minting and burning can reduce the paid fees when purchasing a membership or opening a cost-share request ### Description ## Handle shw ## Vulnerability details ## Impact Users can pay fewer FSD tokens when purchasing a membership or opening a cost share request by flash minting and burning FSD toke...
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
true
## Low: Consider explicitly denying `allowUser` assigning admin privileges to`ChildToken` contracts ### Description The 1:1 invariant of a child token can be broken as follows: Admin: - calls `allowUser` on a child token contract - calls `transfer` to directly send central token to the child token This breaks the 1:...
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: Blocklisted investors can still claim USDC in `TokenSale.sol` ### Description A wrong argument is passed when checking if a user is blacklisted for claiming in [`TokenSale.claim()`](https://github.com/sherlock-audit/2024-03-zap-protocol/blob/c2ad35aa844899fa24f6ed0cbfcf6c7e611b061a/zap-contracts-labs/contra...
0