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
initialization
true
false
## Medium: Initial deploy won't succeed because of too high `initialMintAmount` for USDC market ### Description At the time of deploy, deployer initializes token markets with initial amount to prevent exploit. At least USDC and WETH markets will be initialized during deploy. But `initialMintAmount` is hardcoded to `1e...
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: EulerSavingsRate maxWithdraw and maxRedeem are not returning the correct underestimated value when owner has a controller enabled ### Description The `EulerSavingsRate` is an ERC4626 vault that integrates with the EVC ecosystem, allowing the module to be used as collateral for EVK vaults. Because ESR shar...
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
Wrong Math
false
true
_Submitted by 0x52_ Inconsistent manager fees could lead to lack of incentivization to rebalance and unexpected liquidation. ### Proof of Concept uint256 managerFee = managedVault.fixedFee + flData.amount.wadMul(managedVault.varFee); IERC20(a.stablex()).safeTransfer(managedVault.manager, managerFee); The v...
Code4rena
4
Mimo DeFi
[ { "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: The price from `StableOracleDAI` is returned with the incorrect number of decimals ### Description The price returned from the `getPriceUSD` function of the `StableOracleDAI` is scaled up by `1e10`, which results in 28 decimals instead of the intended 18. ### Impact This means that the price returned from 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: IN THE EVENTS, INCLUDE THE OLD AND NEW VALUES OF THE UPDATED PARAMETERS TO TRACK THE CHANGES MADE ### Description The following functions `RubiconMarket.setOwner`, `RubiconMarket.setMinSell`, and `Position.increaseMargin` make critical changes and should include the `old and new values` of the updated paramete...
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: Formula and documentation mismatch ### Description The [formula for `overheadForPublicData`](https://www.notion.so/matterlabs/zkSync-fee-model-8e6c9196f4f84105a958a0e2463c3b39?pvs=4#0fc2b9fcb5f24acc90f926f78df90bd3) uses `Tm` which is defined [as the maximal transaction ergs limit here](https://www.notion.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
low
other
false
false
## Low: Use of pragma experimental ABIEncoderV2 ### Description **Severity** : Low **Status** : Acknowledged **Description** The code contains "pragma experimental ABIEncoderV2;" In the later Solidity versions it is no longer necessary to use the "experimental" version. Using experimental constructions is not reco...
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: 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 ...
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: UNIMPLEMENTED MESSAGE ### Description The `QueryMsg::GetBufferedRewards` message is not implemented in the **krp-staking-contracts/basset\_sei\_rewards\_dispatcher** contract and could generate a panic if it is called. Although it is a minor issue, it is advisable to fix the logic in a **production environment...
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: Undocumented literal values ### Description Throughout the code base, there are several instances of literal values with unexplained meaning. Moreover, some of them are not declared as constant state variables, which further hinders code readability. Literal values in the code base without an explained meaning...
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
true
## High: New pair creation can overwrite existing pairs ### Description An overflow of the maximum value of `uint24` could occur in the `_createPair()` function, which can be used to overwrite existing pairs. As shown in figure 9.1, the `_createPair()` function uses an unchecked block to compute and cast the value of ...
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
true
false
## Low: [06] External queries from `PriceFeed#getSqrtPrice()` should be be wrapped in a try catch ### Description https://github.com/code-423n4/2024-05-predy/blob/a9246db5f874a91fb71c296aac6a66902289306a/src/PriceFeed.sol#L45-L58 This function returns the square root of the `baseToken` price quoted in `quoteToken`, ...
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
false
false
## High: Sponsorship front-running ✓ Fixed in Pull Pattern ### Description If proposal submission and sponsorship are done in 2 different transactions, it’s possible to front-run the `sponsorProposal` function by any member. The incentive to do that is to be able to block the proposal afterwards. It’s sometimes possib...
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: Overridden totalAssets function leads to ERC4626 non compliance ### Description The `totalAssets` function includes references to currently staked assets. These assets held outside of the vault inflate the value returned by `maxWithdraw` and `maxRedeem`. Similarly, `previewWithdraw` and `previewRedeem` return ...
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: `min_admin_fee` lacks initialization and update ### Description _Resolved_ In `LT.vy`, the variable `min_admin_fee` is declared as a public and is used in the fee calculation within the `_calculate_values` function: The calculation for `f_a` uses `self.min_admin_fee` to determine the minimum fee that should...
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: Consider making some constants as non-public to save gas ### Description Reducing from `public` to `private` or `internal` can save gas when a constant isn't used outside of its contract. I suggest changing the visibility from `public` to `internal` or `private` here:
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
initialization
true
false
## Difficulty: Low ## Type: Data Validation ### Description The swap functionality of the BunniSwapMath library is not accurately implemented, allowing users to gain tokens during round-trip swaps (i.e., swapping token0 for token1 and then swapping the same amount of token1 for token0). The `computeSwap` function in ...
TrailOfBits
5
Bunni v2
[ { "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: Users Can Prevent Maximum Deposit Cap from Being Reached ### Description The vulnerability arises in the `depositEth()` function within the contract, specifically when dealing with the `launchParams.maxRaiseAmount` and `launchParams.minAllocation` parameters. The contract imposes a minimum allocation requir...
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: Denial Of Withdrawal ### Description ## Denial-of-Withdrawal Vulnerability in `processWithdrawalQueue` `processWithdrawalQueue` is susceptible to a denial-of-withdrawal if the queue contains a reverting receiver. The function is designed to process withdrawal requests from the withdrawal queue in a LIFO fa...
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: Comment can be updated to provide more detail ### Description Comments in the `withdraw()` and `redeem()` functions state: `DOES NOT support controller != msg.sender`. However, this is not completely accurate. `msg.sender` can be different from the controller if `msg.sender` happens to be an operator of the co...
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: App susceptible to App Links hijacking ### Description Magma allows redirecting users from a web link to the app (e.g., a link opened in the browser). However, automatic verification is not enabled and domains claimed by the App can be hijacked by any other App on the device. ### Recommendation Android M (6.x...
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: Corruption of facets array on selector replacement ### Description The [`Diamond` library](https://github.com/matter-labs/zksync-2-dev/blob/c05b49d7e303996f60a0e35f18ef224e45ee19f5/contracts/ethereum/contracts/zksync/libraries/Diamond.sol) allows replacing a selector’s facet with itself which is non-complia...
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: `_athleteSecondarySalesBPS` and `_fantiumSecondarySalesBPS` should be restricted ### Description `_athleteSecondarySalesBPS` and `_fantiumSecondarySalesBPS` should be restricted because they will be used in other contracts to calculate royalties with base point = 1 / 10_000, so if `_athleteSecondarySalesBPS +...
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
access-control
true
true
**Description:** Multiple enforcer contracts (`AllowedMethodsEnforcer` and `AllowedTargetsEnforcer`) don't validate the uniqueness of entries in their terms data, allowing malicious users to intentionally create delegations with excessive duplicates, dramatically increasing gas costs during validation. `AllowedMethods...
Cyfrin
5
Metamask Delegationframework
[ { "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: Return status ignored ### Description **Description** ClaimAssessor.requestClaim At contracts/ClaimAssessor.sol#11-19 ignores return value by ICohort(_cohort).requestClaim(_from,uint16(_protocolIdx),_amount) contracts/ClaimAssessor.sol#18 If the return value is the success status, then it’s important to ch...
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: Variable already cached but in the wrong order - refactor to save 1 SLOAD(100 Gas) ### Description https://github.com/open-dollar/od-contracts/blob/f4f0246bb26277249c1d5afe6201d4d9096e52e6/src/contracts/proxies/Vault721.sol#L94-L99
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: Emit event ### Description **Description** It makes sense to emit an event for history and also to inform the front-end about some important settings changing. contracts/Cohort.sol#119 contracts/Cohort.sol#275 **Recommendation**: Emit event on important settings changing.
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: It's impossible to retrieve collected fines from the yield staking contract ### Description ### Impact No means to retrieve collected fines from the staking contract. ### Proof of Concept If `botAdmin` forcefully unstakes a position, a staker will have to pay an additional fine when the stake is repayed:...
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: Unnecessary variables in `TransactionValidator.sol` ### Description **Function `getOverheadForTransaction`:** Variables `txSlotOverhead`, `overheadForLength`, `numerator` and `denominator` are used only once, which means they don't need to be declared at all. The code snippet below can be changed from: [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
low
oracle
false
false
## Low: Missing stale price validation in chainlink 's agreggator latestRoundData() call ### Description Chainlink's AggregatorV3 could return stale prices, which in turn results in wrong price assumptions. It is necessary to verify that the returned price is fresh enough before using it. ### Recommendation Consider ...
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: [01] An attacker can force the distributor to mint MOR rewards in a period of no new generated yield ### Description The `distributeRewards()` function of the Distributor contract determines reward amounts to be distributed to DepositPool appropriately. The reward token minted is MOR tokens in this case. In 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
access-control
false
false
## Low: Role Transfer Not Following Two-Step Pattern ### Description **Update** Marked as "Fixed" by the client. Addressed in: `6e0ede085d8c725e95e865a67b498bd6428d1597`, `ae0fe9cf9b788b093bdb88681e476faa382cd08d`. The client provided the following explanation: > Two Step Procedure Implemented using Ownable2Step **F...
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
token
true
false
## Medium: In `Bet::cancel` if one transfer reverts but the other succeeds, one users's tokens are permanently locked in the `Bet` contract ### Description `Bet::cancel` does this when refunding token transfers: ```solidity try IERC20(b.asset).transfer(b.maker, makerRefund) {} catch {} try IERC20(b.asset).transfer(b.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
initialization
true
false
## Low: First depositor attack is possible in `HyperEvmVault` ### Description The `HyperEvmVault` is vulnerable to a classic first depositor attack due to the way share-to-asset ratios are initialized when the vault has low or no supply. Steps: 1. Victim is preparing to deposit 10e8 USDC. 2. Attacker front-runs 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
false
false
## Low: [17] ### Description There should be a factory contract for VTVLVesting contract which can keep track of all vesting contracts deployed by different founders. The Factory contract aligns better with the business usecase of VTVL protocol owners. From the spec, "The core function of VTVL is to allow users 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
low
other
true
true
## Low: Incorrect binary search logic in getL2OutputIndexAfter function ### Description The `getL2OutputIndexAfter` function uses binary search to find the first output greater than or equal to the input block number. It incorporates an offset value as well, to account for the re-use of the `l2Outputs` array. The issu...
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: tradingFunction returns wrong invariant at bounds, allowing to steal all pool reserves ### Description The `tradingFunction` computing the invariant value of \[ k = \Phi^{-1}(y/K) - \Phi^{-1}(1-x) + \sigma \tau \] returns the wrong value at the bounds of `x` and `y`. - The bounds of `x` are 0 and 1e18. -...
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: Confusing function comment on `setMinimumDepositAmount` ### Description There is a little confusion between the dev comment and the if statement in the function. As per dev comment the inputed `_minimumDepositAmount` should be larger than the `BPS_DENOMINATOR`. But the if statement actually allows for the ``_m...
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
rounding
true
false
## Low: utilizationRate IS NOT IN TERMS OF ASSET’S DECIMALS. ### Description **Severity**: Informational **Status**: Invalid **Description** The function `utilizationRate()` is assuming that the asset’s decimals are 18. There is a restriction that does not allow asset’s decimals to be higher than 18 but it does al...
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: Consider the AccountFactory trust assumptions ### Description In the AccountFactory, only the privileged `_deployer` address can deploy accounts. Also, this address decides the initializer bytes that are used, meaning they are trusted to choose appropriate `initialR1Owner` and `initialR1Validator` values durin...
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: ZapOFTComposer._lzCompose may fail with USDT ### Description The `ZapOFTComposer` contract uses the standard approve method despite importing `SafeERC20`, which can cause transactions to fail when processing certain tokens like USDT that do not allow approving a new non-zero amount when an existing non-zero ap...
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
true
false
## Medium: Incorrect PayoutManager.payoutDustThreshold implementation leads to more tokens getting burned than expected ### Description The `PayoutManager.payoutDustThreshold` function intends to return 0.01 token equivalent of deal token, but currently, it returns 1 token equivalent. ```solidity function payoutDustT...
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
liquidation
true
false
## High: Infinite partial redemptions for manually converted LOCs ### Description In cases of partial redemptions, the credited token amount is not updated for manually converted LOCs, which leads to infinite partial redemptions and drains funds from the LetterOfCredit contract. Partial redemptions allow the beneficiar...
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: No expiration check enables unauthorized access to reward pools ### Description The `addIp` function, defined in the **GroupingModule** contract, is responsible for adding IP Assets to a group. It performs several checks to ensure that both the group and the IP Assets meet specific criteria before the addit...
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: `VAULT_MGR_ROLE` Role Holder Can Embezzle Rewards ### Description **Update** The Blex team acknowledged the issue and provided the following explanation: > The role can indeed prevent any rewards from being issued during a certain period of time in this way We will not make any changes in this version but wil...
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: Optimizations ### Description **File(s) affected:**`ZRC.sol`, `ZRCL2.sol`, `Distributor.sol` **Description:** We have identified two minor gas optimizations: * The `Distributor.ZRC_ADDRESS` variable can be marked as `immutable`. * The for loops can be gas-optimized by caching the `array.length` in a `memor...
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 Docstrings ### Description Throughout the codebase, multiple instances of missing docstrings were identified: * In `BaseHook.sol`, the [`poolManager` state variable](https://github.com/OpenZeppelin/uniswap-hooks/blob/3e9fa228ec0f7fe05a95e09e25442466b459a712/./src/base/BaseHook.sol#L30) * In `Liquidity...
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: Modifier written in CapWords style ### Description **Description:** The modifier `MintedStarted`is written in CapWords style instead of mixedCase. **Recommendations:** "It is suggested to use mixedCase when naming a modifier e.g. `mintedStarted`. Read the docs:ht[tps://docs.soliditylang.org/en/latest/sty...
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
signature
true
false
## High: Incorrect `gnosis_safe_disable_module_offset` constant leads to removing the rental safe's `module` without verification ### Description The `gnosis_safe_disable_module_offset` constant was incorrectly specified to point at an incorrect function parameter of the `disableModule(address prevModule, address modu...
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: Potential rewards loss due to LpTokenStaker switch in RewardManager ### Description Changing the LpTokenStaker via `Controller.switchLpTokenStaker()` results in all users losing a portion of their rewards in RewardManager. It happens because after changing the LpTokenStaker, `RewardManager._accountCheckpoin...
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: Incorrect documentation on capacity resizing ### Description ### Issue Description The whitepaper (on page 5) states that the "maximum capacity of a vault can be adjusted at will up or down by the borrower depending on the current need." However, the `maxCapacity` can only be reduced down to the current 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
oracle
true
false
## Low: [05] Fix typos & documentations _(Multiple instances)_ ### Description ### Proof of Concept - Take a look at https://github.com/code-423n4/2024-03-zksync/blob/4f0ba34f34a864c354c7e8c47643ed8f4a250e13/code/contracts/ethereum/contracts/bridge/L1SharedBridge.sol#L331-L338 Evidently the statement "Double claims...
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
other
false
false
## Medium: Using a wrong fee percentage [Self-Reported] ### Description In the middle of the audit, the Tunnl team spotted a bug in the function `sendFunctionsRequest()`. While the function calculates the `maxCreatorPayment`, it was using the `s_config.creatorFeePercentageBP` instead of `s_offers[offerId].creatorFeePe...
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: [45] Consider using named function arguments ### Description When calling functions with multiple arguments, consider using [named function parameters](https://docs.soliditylang.org/en/latest/control-structures.html#function-calls-with-named-parameters), rather than positional ones. ExitShortFacet.sol ([187-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
low
other
false
false
## Low: Missing Check of XVS Store Address ### Description In the `XVSVaultTreasury` contract, the `xvsStore` address is obtained from the `xvsVault` before [tokens are transferred to the `xvsStore`](https://github.com/VenusProtocol/protocol-reserve/blob/ca8f8ba3dfcf6f13d2db4ac230ac9337950525f6/contracts/ProtocolReser...
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: NFTXSimpleFeeDistributor._sendForReceiver doesn't return success if receiver is not a contract ### Description _Submitted by hyh_ Double spending of fees being distributed will happen in favor of the first fee receivers in the `feeReceivers` list at the expense of the last ones. As `_sendForReceiver` doesn...
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
true
false
## Low: xShadow.rebase will not be callable after Minter weekly emissions cease to exit ### Description VoteModule depositors are incentivized with SHADOW tokens resulted from exit tax levied on xSHADOW sellers. The tax is accumulated inside `pendingRebase` (in the xShadow contract) and is transferred to VoteModule up...
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: Missing DAO functionality to call setParams() function in USDV.sol ### Description ## Handle 0xRajeev ## Vulnerability details ## Impact setParams() is authorized to be called only from the DAO (per modifier) but DAO contract has no corresponding functionality to call setParams() function. As a result, 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
high
other
true
false
## High: `AutoRedemption` mappings are not and can never be populated ### Description **Description:** The following mappings are declared within the `AutoRedemption` contract: However, they are never populated and there are no public functions capable of doing so either. When a request is triggered, `lastRequestId...
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: [08] Usage of `payable.transfer` can lead to loss of funds ### Description The funds that are to be sent can be lost. The issues with `transfer()` are outlined here: https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/ ### Recommended Mitigation Steps Using low-level `call.value(am...
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: ACTIVE FERTILIZER WILL BE CLAIMED AUTOMATICALLY BY THE SENDER DURING A SAFETRANSFERFROM CALL ### Description The `Fertilizer` contract contains the following `_beforeTokenTransfer()` hook: ### Recommendation **RISK ACCEPTED**: The `Beanstalk team` accepts this risk.
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: ArtProxy depends on unmaintained Base64 library ### Description As a preface, the ArtProxy contract was not in the scope of the audit; hence, no exhaustive examination of it has been completed. However, this finding affecting it was noticed and is still being documented. There is a dependency for a Base64 lib...
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
false
false
## Medium: Consensus Issues in go-ethereum (github.com/ethereum/go-ethereum) ### Description **Severity:** Medium **Status:** Acknowledged **Description:** Several vulnerabilities related to consensus mechanisms in go-ethereum were identified, including: - Integer overflow in the Ethash consensus engine (CVE-2021...
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 Post-update Hook ### Description The `DefaultUpgrade` contract [contains a hook](https://github.com/matter-labs/zksync-2-contracts/blob/0ea939847569a02ae9c3b2d096aef5cb6238eb9d/ethereum/contracts/upgrades/DefaultUpgrade.sol#L12) that can be used to perform arbitrary operations during the upgrade. Howev...
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: Disabling unwrapping will block all bridges at the same time ### Description The `wrapEnabled` and `unwrapEnabled` variables are added as a mitigation mechanism against flawed bridges (that have potentially infinite mint vulnerability). The problem is that if this wrapped token is used by or integrated with mu...
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
liquidation
true
true
## Description The Spoke contract validates a user's health factor before applying risk premium updates, which can leave users in a liquidatable state immediately after performing legitimate actions such as withdrawing collateral or disabling collateral. In the `withdraw`, `borrow`, and `setUsingAsCollateral` functio...
TrailOfBits
5
Aave V4
[ { "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: Missing docstrings ### Description All functions in the [`GovernorAlpha` contract](https://github.com/compound-finance/compound-protocol-alpha/blob/6858417c91921208c0b3ff342b11065c09665b1b/contracts/Governance/GovernorAlpha.sol) lack documentation. This hinders reviewers’ understanding of the code’s intention,...
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: Consider moving the `MetadataFacet::uri` disclaimer from metadata attributes to the description ### Description The [disclaimer](https://github.com/BeanstalkFarms/Beanstalk/blob/12c608a22535e3a1fe379db1153185fe43851ea7/protocol/contracts/beanstalk/metadata/MetadataFacet.sol#L46) within `MetadataFacet::uri` cur...
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: `LibLockedUnderlying` regression might not be representative of the expected behaviour ### Description The percentage of locked liquidity, used in determining the L2SR in `LibEvaluate`, is obtained through the implementation of an on-chain look-up table based on an off-chain linear regression. The assumption 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
gas
other
true
false
## Gas: Negating twice in require check is not required in `_vote()` function ### Description The require check below can just use == instead of negating twice to ensure voter has already voted or not. Instead of this: Use this: **[rocketman-21 (Revolution) confirmed](https://github.com/code-423n4/2023-12-revolut...
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 Liquidity Vault Balance Validation ### Description **Description:** In `withdraw_liquidity_handler`, liquidity tokens are transferred from `liquidity_token_vault` to the withdrawer’s associated token account. While the instruction checks that the withdrawal amount is greater than zero and that the syst...
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: [WithdrawalPool.sol] Prevent efficient return of data in getBatchIds() by blocking updateWithdrawalBatchIdCutoff() update of newWithdrawalIdCutoff ### Description \[WithdrawalPool.sol] `updateWithdrawalBatchIdCutoff()` is used to update values `withdrawalIdCutoff` and `withdrawalBatchIdCutoff` . `withdrawal...
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
liquidation
false
false
## High: | Pool Value With Inverse PnL ### Description **Description - [PoC](https://github.com/GuardianAudits/GMX/blob/af740b1972788f429219d1381183c68b244e00d8/test/guardianTestSuite/testPOCS.js#L1152)** The pool value interprets traders profiting as an increase of value for the pool, and traders losing as a decreas...
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: reputation risks with `updateSolution` ### Description _Submitted by gpersoon_ `GovDev.so`l has a function `updateSolution` to upgrade parts of the contract via the Diamond construction. Via `updateSolution`, any functionality can be changed and all the funds can be accessed/rugged. Even if this is well 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...
cyfrin_structured
low
token
true
false
## Low: Prefer named return parameters, especially for `memory` returns ### Description Prefer named return parameters, especially for memory returns. For example `tokenURIs` can be refactored to remove local variables and explicit return: ```solidity function tokenURIs(uint256 tokenId) external view overr...
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: Update to `StratFeeManagerInitializable::beefyFeeConfig` retrospectively applies new fees to pending LP rewards yet to be claimed ### Description **Description:** The fee configuration `StratFeeManagerInitializable::beefyFeeConfig` can be updated via `StratFeeManagerInitializable::setBeefyFeeConfig` [L164-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
overflow
true
false
## Medium: TRST-M-3 Overflow danger in _sqrtPriceX96ToUint ### Description **Description:** _sqrtPriceX96ToUint will only work when the non-fractional component of sqrtPriceX96 takes up to 32 bits. This represents a price ratio of 18446744073709551616. With different token digits it is not unlikely that this ratio 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
false
false
## Low: Testing is not routine ### Description The Frax Solidity repository does not have reproducible tests that can be run locally. Having reproducible tests is one of the best ways to ensure a codebase’s functional correctness. This finding is based on the following events: - We tried to carry out the instructions...
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: uint overflow may lead to stealing funds ✓ Addressed ### Description It’s possible to create a delegation with a very huge amount which may result in a lot of critically bad malicious usages: **code/contracts/delegation/DelegationRequestManager.sol:L74-L76** ``` uint holderBalance = SkaleToken(contractMan...
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
initialization
true
false
## Severity Medium Risk ## Description The `Fishing` contract contains an initialization flaw that allows users to bypass the intended fishing duration mechanism. The vulnerability stems from inadequate validation during the staking process, specifically in the `stakeMany()` function. When the contract is deployed, ...
Shieldify
5
Onchainheroes Fishingvoyages
[ { "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: L02] Complicated modulus length calculation ### Description ###### Low In the [function](https://github.com/BeamNetwork/currency/blob/de81d9bad4195e03f07aedd2a6817f0cb04a8c8d/contracts/VDF/BigNumber.sol#L471) [`opAndSquare`](https://github.com/BeamNetwork/currency/blob/de81d9bad4195e03f07aedd2a6817f0cb04a8c8...
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: Avoid using dead code as workaround for unused function parameter ### Description The line utilizes no-effects code as a workaround to hide a compiler warning regarding an unused function parameter. This is generally bad practice as it hurts readability and code clarity. ### Recommendation The appropriate han...
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: Griefing Attack using `delegate` will expose User to `100x` Cost to transfer tokens ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/VotingEscrow.sol Impacts: - Griefing (e.g. no profit motive for an attacker, but damage to the users 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
medium
oracle
true
true
## Medium: `AggregateStablePrice` EMA can be manipulated ### Description - https://github.com/curvefi/curve-stablecoin/blob/25fb794f1acea1e1d498fab41f6cab9cbdc565e7/contracts/price_oracles/AggregateStablePrice2.vy#L167-L168 If the `price_w()` function, which updates `last_timestamp`, is not called for a long time, 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
storage
true
false
## Low: Use existing `price` function in `StrategyPassiveManagerUniswap::_setAltTick` ### Description **Description:** `StrategyPassiveManagerUniswap` has a `price` function that [converts](https://github.com/beefyfinance/experiments/blob/14a313b76888581b05d42b6f7b6097c79f3e65c6/contracts/protocol/concliq/uniswap/Stra...
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: `contribute()` function shouldn’t work after `endTimestamp` ### Description **Severity**: Low **Status**: Acknowledged **Description** According to the comment of the `contribute()` function, it is intended to allow users to contribute during the pre-market phase. But it allows users to call after endTimst...
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
Validation
false
false
## Vulnerability Report ## Severity **Medium Risk** ## Context - PositionsManagerForAaveGettersSetters.sol#L47-L50 - PositionsManagerForAaveLogic.sol#L34 ## Description The `maxGas` variable is used to determine how much gas the `matchSuppliers`, `unmatchSuppliers`, `matchBorrowers`, and `unmatchBorrowers` functions...
Spearbit
5
Morpho
[ { "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: Token can be burn through transfer ### Description ## Handle s1m0 ## Vulnerability details ## Impact The token can be sent to address(0) through a normal transfer() without decreasing the totalSupply as it would with calling burn() and it could cause an unintentional burn. ## Proof of Concept https://gith...
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
true
true
## Medium: Stale `swapProxy` reference in `RoyaltyManager` contracts ### Description The `WishWishManager` contract allows the owner to update the `swapProxy` address via the `setSwapProxy` function. However, `RoyaltyManager` contracts are deployed once per creator in the `getRoyaltyManager` function and store the `sw...
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
flash-loan
false
false
## High: Vulnerability in Interest Rate Setting and Asset Withdrawal Mechanisms ### Description **Update** Fixed in `c30b5739fa95d40830645ad6feaf19e921f4ba57`. Fixed by adding one day delay (`MIN_VESTING_TIME`). **File(s) affected:**`Pool.sol` **Description:** The `_createLoan()` function in the contract calculates ...
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
true
false
## Low: Explicit matching of enum values ### Description In `_packMultisendTxns()`, the TX call type is checked. When callType is not DELEGATECALL or STATICCALL, it assumes it is a normal call. From a design perspective, it is better to always explicitly match types, as future changes, such as adding new enum values...
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: `Lender.mint()` May Take The Illuminate PT As Input Which Will Transfer And Mint More Illuminate PT Cause an Infinite Supply ### Description _Submitted by kirk-baird, also found by cccz, kenzo, and unforgiven_ [Lender.mint()](https://github.com/code-423n4/2022-06-illuminate/blob/912be2a90ded4a557f121fe565d...
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: Small LP Position Withdraws May Cause `price()` Revert ### Description When `BaseLPLib.initiateWithdraw()` is called and a user has a very small LP position, the proportional exit from the Curve/Convex pool can return `exitBalances[i] == 0` for one of the two tokens (due to integer division and token decim...
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
false
false
## High: Splitter: Anyone can call incrementWindow to steal the tokens in the contract ### Description _Submitted by cccz, also found by hickuphh3, kirk-baird, leastwood, pedroais, rayn, Ruhum, saian, WatchPug, and wuwe1_ In general, the Splitter contract's incrementWindow function is only called when tokens are tran...
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: Missing Input Validation ### Description **Update** The suggested input validations have been added except for point number 1, as it is not trivial to verify that the exact `bytecode` already exists. Commit: `eb89e4bf4cb087d172f964b41d2090441ce71e31` **File(s) affected:**`VaultFactory.sol`, `UniV3LimitedRang...
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: `safeTransfer()` and `safeTransferFrom` doesn't check contract existence ### Description Current implementation will succeed if `token` address is not smart contract, because all calls to addresses with zero code return `success == true`. This behaviour can be overlooked in future, which results in potential...
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: Exchange.sol `_execute` buy.order.side not validated ### Description In `Exchhange.execute` , it is not validated that `buy.order.side == Side.Buy` (only the sell side is validated). With the current system, all policies ensure that, but it would also make sense to validate it in execute IMO. Future policies ...
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: Implement boundary checks in setter functions ### Description The setter functions in the contract are designed for use by trusted accounts. However, there's still a risk of making incorrect updates due to human error or oversight. To mitigate this, it's essential to implement boundary checks for each setter f...
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: Unchecked transfer/transferFrom Call ### Description Some early implementations of ERC\-20 tokens would return `false` instead of reverting the transaction when a transfer failed. This behavior is considered unsafe because a `false` return value could be ignored by the caller, leading to unexpected behavior. F...
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: When using storage instead of memory, we should cache any fields that need to be re-read in stack variables ### Description https://github.com/code-423n4/2023-08-dopex/blob/eb4d4a201b3a75dd4bddc74a34e9c42c71d0d12f/contracts/core/RdpxV2Core.sol#L980-L985
0