prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing Appoval Logic in `PDTStakingBatch` ### Description **Update** The issue was resolved by the client in commit `26c6478322772ad1be5e14f1fbb89091387f0405`. The required PDT amount is now approved before executing `PDTStaking.stake()`. **File(s) affected:**`PDTStakingBatch.sol` **Description:** The `PDT...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of gap Variable in Base Contract ### Description The `BaseOracle` contract is inherited by several other contracts, but does not declare its own [`__gap`](https://docs.openzeppelin.com/upgrades-plugins/1.x/writing-upgradeable#storage-gaps) variable. Gap variables provide a standard approach to reserve sto...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Code Maturity ### Description ## Code Review Recommendations ## 1. Update `wormhole_cctp::burn` Function The `wormhole_cctp::burn` function should explicitly verify that `coins.value` is not zero. This is to prevent burning an invalid amount. ## 2. Update `deposit::take_bytes` Function Add a check 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
low
other
false
false
## Low: Redundant code ### Description The `assert(affiliateProfits[i] >= oldProfit - newProfit);` check is redundant, since the next line of code `affiliateProfits[i] -= (oldProfit - newProfit).toUint128();` will fail if condition checked is false. Consider removing redundant code.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Global Deallocation Delay May Not Be Appropriate For Different Operator Sets ### Description The current implementation of a global `DEALLOCATION_DELAY` in the `AllocationManager` may not adequately address the diverse security requirements of different operator sets. The EigenLayer slashing upgrade introduces ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## High: DoS Can Close a Channel by Abusing Different Gas Limits Between Chains ### Description **Update** Marked as "Acknowledged" by the client. Addressed in: `af68fc1feac5a4964538a1f295425810895479dd`. The client provided the following explanation: > This is indeed an important issue for the cross-chain protocol. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Stable asset price could be stuck if mistakenly set with setAssetPricer() ### Description The update introduced a `stablePrice[_asset]` mapping to track stable asset prices, while the original `assetPricer[]` tracks all other asset prices. However if any stable asset price was mistakenly set with `setAssetPric...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Add code length check for callback.target ### Description The current implementation performs the `callback.target != address(0)` check to decide on whether to perform the callback or not. Nonetheless, `callback.target` may not be `address(0)` but an address without code (for example, an EOA), which passes 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
gas
cross-chain
false
false
## Gas: Fail fast in `_completeTransfer` by checking for incorrect address/chainId immediately after calling `TOKENBRIDGE.parseTransferWithPayload` ### Description **Description:** Fail fast in `_completeTransfer` by checking for incorrect address/chainId immediately after calling `TOKENBRIDGE.parseTransferWithPayload...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## High: Insufficient check about division remainder ### Description The `divARITH` subroutine uses the arithmetic state machine to perform division. The equation used is: ``` A * B + C = D * 2**256 + E ``` All of those variables are 256-bit unsigned numbers, but the equation is an equation on integers. The subroutin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insufficient constructor parameters validation in MarginalV1LBLiquidityReceiver ### Description The `MarginalV1LBLiquidityReceiver.checkParams` validates the constructor parameters of the contract. However, `params.treasuryAddress` and `params.lockOwner` are not validated: 1. `params.treasuryAddress` receives 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
initialization
false
false
## Low: Upgradeable Contracts Should Call `_disableInitializers()` ### Description **Update** Marked as "Fixed" by the client. Addressed in: `05d403d3ad9c1d932c8039098b2c81d24f176d41`. **Update:** The team has fixed the issue as recommended. **File(s) affected:**`contracts/LCPClientIASOwnableUpgradeable.sol`, `contr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
false
false
## Medium: The contract owner has too many permissions ### Description **Description** The rewardCutoff functionally allows the owner to change the last block number when the user can farm rewards. It means that the owner can add a new pool, wait for investors to invest and then change rewardCutoff to current block +...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential Zero Pricing For Exponential Curve ### Description ## Pool Pricing Logic Issue In the currently implemented logic for Pool pricing, when `curve_type` is set to `Exponential` and `starting_price` is initialized to zero, the price calculation results in a continuous price of zero. This behavior may 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
medium
token
true
false
## Medium: Inconsistent balance when supplying transfer-on-fee or deflationary tokens ### Description _Submitted by shw, also found by cmichel_ The `supplyTokenTo` function of `SwappableYieldSource` assumes that `amount` of `_depositToken` is transferred to itself after calling the `safeTransferFrom` function (and 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...
solodit_api
high
First Depositor Issue
false
false
Source: https://github.com/sherlock-audit/2022-11-sense-judging/issues/50 ## Found by ak1 ## Summary Most of the share based vault implementation will face this issue. The vault is based on the ERC4626 where the shares are calculated based on the deposit value. By depositing large amount as initial deposit, initial...
Sherlock
4
Sense
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [22] Alpha period code is still in production despite the period ending in April 2023 ### Description ### Proof of Concept Take a look at https://github.com/code-423n4/2024-03-zksync/blob/4f0ba34f34a864c354c7e8c47643ed8f4a250e13/code/contracts/ethereum/contracts/common/Config.sol#L35-L39 Evidently, the PRIO...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
## Medium: Incorrect game type can be proven and finalized due to unsafe cast ### Description The `gameProxy.gameType().raw()` conversions used by OptimismPortal2 in the proving and finalization steps incorrectly casts the `gameType` to a `uint8` instead of a `uint32`, which causes mismatched game types to be 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: Unnecessary if statement applied in the function sweepToken ### Description In the function `sweepToken` an if statement is made, which is triggered only if balanceToken is non zero. This if statement is completely unnecessary, as before that another if statement is made to revert if the balance of the contrac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Vulnerable, unmaintained, or deprecated dependencies in the Substrate node ### Description The Substrate node codebase uses the following vulnerable or unmaintained Rust dependencies. | Dependency | Version | ID | 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...
skyward_49k
medium
initialization
true
false
## Medium: Gauge reward period can be extended indefinitely ### Description Any user can extend `lastUpdateTime` of a Gauge, which will effectively delay end time of current period finish. As a result, unclaimed reward amount can be stolen by late claimers. ### Impact * Gauge reward period can be extended indefinitel...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: PublicVault does not handle funds in errorReceiver ### Description During loan repayment in the function `LienToken.MakePayment(...)`, the process involves `LienToken` attempting to pull tokens from the user using `transferProxy.TRANSFER_PROXY.tokenTransferFromWithErrorReceiver`. The implementation in the `Tra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Crafted p2p spam can render nodes permanently unable to process L2 blocks ### Description The constraints in `BuildBlocksValidator` are meant to prevent p2p spam from bogging down the network. However they are not sufficient for stopping spam, but are strong enough to render nodes unable to catch up. ### I...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: Lack of support for fee on transfer, rebasing and tokens with balance modifications outside of transfers. ### Description The protocol wants to work with various ERC20 tokens, but in certain cases doesn't provide the needed support for tokens that charge a fee on transfer, tokens that rebase (negatively/pos...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Same event used for multiple variables ### Description The [`ParameterUpdated`](https://github.com/graphprotocol/contracts/tree/b61a9b27eb18eab5ec6bb612244d58c33f2321f2/contracts/governance/Managed.sol#L25) event of the `Managed` contracts ([including](https://github.com/graphprotocol/contracts/tree/b61a9b27eb...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No need to compute newBalance ### Description `newBalance` is set to `calculatedData.positionBalance - withdrawn` which is already computed and saved in `newPositionBalance`. You can save gas by assigning it to `newBalance` directly instead of recomputing the value. ### Recommendation Apply this diff: ```diff...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Input Validation ### Description **Update** The Hifi team believes that none of the missing checks are security issues. We still recommend validating these input parameters to constrain them to valid values and reduce the attack surface. **File(s) affected:**`packages/amm/contracts/HifiPool.sol`, `pac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [06] Don't use periods with fragments ### Description Throughout the files, most of the comments have fragments that end with periods. They should either be converted to actual sentences with both a noun phrase and a verb phrase, or the periods should be removed. *There is 1 instance of this issue:* 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
other
false
false
## Low: Lack of using cached variable ### Description **Severity** - Informational **Status** - Resolved **Location** - StakingERC1155Contract.sol **Description** The withdraw() and slash() functions read _s.amount from storage once more for the zero comparison even if the _amount memory variable is declared. **R...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: Swap functionality to sell rewards is too permissive and could cause accidental or intentional loss of value ### Description While the intention is to use the 0x protocol to sell rewards, the implementation doesn't provide any basic guarantee this will correctly happen and grants the rewarder arbitrary 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
low
reentrancy
true
false
## Low: [11] Not Completely Using OpenZeppelin Contracts ### Description OpenZeppelin maintains a library of standard, audited, community-reviewed, and battle-tested smart contracts. Instead of always importing these contracts, the protocol project re-implements them in some cases. This increases the amount of code 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
token
true
false
## Low: [09] Fix typo in docs ### Description Low impact, info on how to have a better code documentation. ### Proof of Concept Take a look at the Prime token's [ReadMe](https://github.com/code-423n4/2023-09-venus/blob/b11d9ef9db8237678567e66759003138f2368d23/contracts/Tokens/Prime/README.md?plain=1#L295-L296) Line...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Re-creation of short `memory` arrays is cheaper than fetching indecies from a storage array ### Description Since the arrays are relatively short, it's cheaper to have a pure virtual function that [re-creates them every time](https://ethereum.stackexchange.com/questions/66388/standard-work-around-for-using-a-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
true
false
## Low: LACK OF THE TWO STEP OWNERSHIP TRANSFER PATTERN ### Description The `Authorizable` contract is inherited by the `Truffles` contract and implements the `Ownable` pattern. However, the assessment revealed that the solution does not support the two-step-ownership-transfer pattern. The ownership transfer might 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
cross-chain
false
false
## Low: Relaying Message Without a Fee Requires Reward Address ### Description When a message is submitted to the `TeleporterMessenger` contract, a fee is generally included that will be redeemable on the source chain by the relayer who executes the message on the destination chain. If a user wishes to relay their own...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Silo is not compatible with Fee-on-transfer or rebasing tokens ### Description According to the documentation there are certain conditions that need to be met for a token to be whitelisted: ``` Additional tokens may be added to the Deposit Whitelist via Beanstalk governance. In order for a token to be adde...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: getAllPairsForSettings() may run out of gas ### Description The function `getAllPairsForSettings()` has a loop over `pairsForSettings`. As the creation of pairs is permissionless, that array could get arbitrarily large. Once the array is large enough, the function will run out of gas. **Note:** The function ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
## High: Usage of `BalancerStrategy.updateCache` will cause single sided Loss, discount to Depositor and to OverBorrow from Singularity ### Description The BalancerStrategy uses a cached value to determine it's balance in pool for which it takes Single Sided Exposure. This means that the Strategy has some BPT tokens,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Trust assumption considerations ### Description In the Zyfi Paymaster flow, each transaction involves on-chain validation of a user signature (included in `_transaction.signature`) and a Zyfi verifier signature (included in `_transaction.paymasterInput`). This implies the exchange of funds is trustless for bot...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User should be both 'keeper` and 'owner` to be able to set `to_be_liquidated = true` ### Description **Description** In the 'request_withdraw function in the case when "dtv" is greater or equals to the "strategy.dtv_limit", there is a check for the 'accounts.user to be the strategy keeper. and right after ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: An incorrect interface version definition ### Description - https://github.com/ConicFinance/protocol/blob/7a66d26ef84f93059a811a189655e17c11d95f5c/contracts/CurveHandler.sol#L183 If `interfaceVersion_ == 0`, `_version_0_remove_liquidity_one_coin` is called in `CurveHandler`. The following pools were found...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
true
false
## Medium: No Slippage Protection in buyWithReferral ### Description When users buy tokens using the `buyWithReferral` function, they specify the token amount to buy and send the corresponding amount of ETH. There isn’t slippage protection due to the assumption that the maximum price users will pay is `tokenAmountToBu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: _depositEther Does Not Increment Validator Index,Causing All Deposits to Funnel Into First Validator and Fail Once Full ### Description In the stPlumeMinter contract, the _depositEther() function is responsible for distributing incoming ETH deposits across available validators. This function loops through t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Risk of double-spend attacks due to use of single-node Clique consensus without finality API ### Description l2geth uses the proof-of-authority Clique consensus protocol, defined by EIP-255. This consensus type is not designed for single-node networks, and an attacker-controlled sequencer node may produce 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...
skyward_49k
high
overflow
true
false
## High: Unchecked ERC20 transfers can cause lock up ### Description _Submitted by [axic](https://twitter.com/alexberegszaszi), also found by [gpersoon](https://twitter.com/gpersoon), [pauliax](https://twitter.com/SolidityDev), [Jmukesh](https://twitter.com/MukeshJ_eth), [a_delamo](https://twitter.com/a_delamo), [s1m0...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Bug Bounty ### Description Formal security audits are not enough to be safe. We recommend implementing [an automated contract-based bug bounty](https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/Bounty.sol) and setting a period of time where security researchers from around the globe can 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
other
true
false
## Low: Floating pragma ### Description Contracts should be deployed with the same compiler version and flags that they have been tested with thoroughly. Locking the pragma helps to ensure that contracts do not accidentally get deployed using, for example, an outdated compiler version that might introduce bugs that af...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Truncation
false
false
Source: https://github.com/sherlock-audit/2022-11-isomorph-judging/issues/174 ## Found by 0x52 ## Summary When liquidating a user, if all their collateral is taken but it is not valuable enough to repay the entire loan they would be left with remaining debt. This is what is known as bad debt because there is no co...
Sherlock
5
Isomorph
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use solady library where possible to save gas ### Description The following OpenZeppelin imports have a Solady equivalent, as such they can be used to save GAS as Solady modules have been specifically designed to be as GAS efficient as possible [4](https://github.com/code-423n4/2024-05-loop/blob/0dc8467ccff2...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious NFT owners can rug the reservation of the long-term ### Description Due to the long period of the long-term rent, the Homeowner has an advantage in that type of reservation, which is the ability to withdraw a part from the deposited amount by the tenant. This applies only to reservations made more...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Usage of `Errors` can reduce gas cost and contract size at PaladinRewardReserve.sol ### Description ### Target codebase [PaladinRewardReserve.sol#L29](https://github.com/code-423n4/2022-03-paladin/blob/9c26ec8556298fb1dc3cf71f471aadad3a5c74a0/contracts/PaladinRewardReserve.sol#L29) [PaladinRewardReserve.sol#...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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](https://github.com/VenusProtocol/protocol-reserve/tree/ca8f8ba3dfcf6f13d2db4ac230ac9337950525f6/contracts), there are several parts that do not have docstrings. For instance: * [Line 57](https://github.com/VenusProtocol/protocol-reserve/blob/ca8f8b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: UbiquityPool::mintDollar/redeemDollar collateral depeg will encourage using UbiquityPool to swap for better collateral ### Description In the case of a depeg of an underlying collateral, UbiquityPool mechanism incentivises users to fill it up with the depegging collateral and taking out the better collatera...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inflation Attack On Empty Vault Can DoS The Vault ### Description The first depositor may execute an inflation attack to prevent other users from depositing. A malicious first depositor can inflate the rate between the shares and assets. This can be done by first depositing the lowest possible amount of supp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Asset manager's deposit, withdraw and rebalance function calls will get reverted when one of the adapters is broken or paused ### Description Asset manager's deposit, withdraw and rebalance function calls will get reverted when one of the adapters is broken or paused. ### Impact When Aave V2 Lending Pool i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
cross-chain
true
false
## Medium: Missing gas forwarding in cross-chain call ### Description **Severity** **Impact**: Medium, broken functionality of an important function **Likelihood**: Medium, `TOFT_REMOVE_AND_REPAY` operation always reverts when called **Description** The operation `TOFT_REMOVE_AND_REPAY` is used to exit a position ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [06] `setGlobalIdOffset` / `setLocalIdOffsets` callable during claimlist phase ### Description The functions `setGlobalIdOffset` & `setLocalIdOffsets` include the check However, this means that they are potentially callable during the claimlist phase (namely when the claimlist begins before the mintlist, whic...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [18] Chaining hashes with the wrong initial value ### Description Usually, when we want to chain hashes one after another we start with the empty string hash and then hash the rest by encoding one after another like `"" || str1 || str2 || ...` and hashing them in pairs. However, in many places it is used `0` 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...
cyfrin_structured
low
token
true
false
## Low: Mark `L1MessageManagerV1::outboxL1L2MessageStatus` as deprecated ### Description `L1MessageManagerV1::outboxL1L2MessageStatus` is never read or written to anymore apart from the test suite: ``` $ rg "outboxL1L2MessageStatus" test-contracts/TestL1MessageManager.sol 31: outboxL1L2MessageStatus[_messageHash] =...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: MISUSE OF HELPER METHODS ### Description The use of the `unwrap` and `expect` function is very useful for testing environments because a value is forcibly demanded to get an error (aka `panic!`) if the "Option" does not have "Some" value or "Result". Nevertheless, leaving `unwrap` or `expect` functions in prod...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Docstrings ### Description Throughout the [codebase](https://github.com/scroll-tech/scroll/tree/f6894bb82f78228b349267ed814375cae2fc1483/contracts/) there are several parts that do not have docstrings. For instance: * [Line 17](https://github.com/scroll-tech/scroll/blob/f6894bb82f78228b349267ed814375...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
false
false
## Medium: arbitraryCall() can get blocked by an attacker ### Description _Submitted by GiveMeTestEther, also found by ScopeLift_ #### Impact `arbitraryCall()`'s (L733) use case is to claim airdrops by "gov". If the address "who" is a token that could be send as an incentive by an attacker via `createIncentive()` 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
false
false
## Low: Constraint For Penalty Multiplier And MCR ### Description ## Penalty Multiplier and MCR Guidelines The value of `penalty_multiplier` and `MCR` should be set such that if `CR ≤ 1`, then \[ (penalty\_multiplier \times (MCR - CR)) \geq 1. \] This implies that \[ penalty\_multiplier \geq \frac{1}{(MCR - 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
initialization
false
false
## Medium: Unauthorized increase of `maxSellPercent` ### Description This issue allows the `maxSellPercent` to be increased to 20% against the will of the token issuer. This will result in users being able to sell tokens even when the issuer intended to prevent selling. ### Proof of Concept The `SecondSwap_VestingMa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
true
false
## Low: Stake function shouldn’t be accessible, when the status is paused or frozen ### Description [L-02] Stake function shouldn’t be accessible, when the status is paused or frozen The function stake in StRSR.sol is used by users to stake a RSR amount on the corresponding RToken to earn yield and over-collateralize ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Plaintext local storage of node private key risks disclosure ### Description As noted in the previous ConsenSys code review, Pantheon currently stores its node’s private key in plaintext, on a file on the local filesystem. ```java public static final SECP256K1.KeyPair loadKeyPair(File keyFile) throws IOExcept...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
reentrancy
true
true
After recreation, minipools will receive more AVAX than the sum of their owners' current stake and the rewards that they generated. ### Proof of Concept Multipools that successfully finished validation may be recreated by multisigs, before staked GGP and deposited AVAX have been withdrawn by minipool owners ([Minipo...
Code4rena
5
GoGoPool
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Vulnerable Go packages ### Description govulncheck reports that the packages used by Wormhole in table 13.1 have known vulnerabilities, which are described in the following table. | Package | Vulnerability | Description Excerpt | |---------------------|----------------|-------------------------------------...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use OpenZeppelin’s safe math library ### Description **Description** Since the there are chances of underflow/overflow occurrences during mathematical operations, it is recommended to use openzeppelin safemath.sol library for all mathematical operations: openzeppelin-contracts/SafeMath.sol at master · OpenZep...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 NONCES ARE IMPLEMENTED INCORRECTLY ### Description In the `MinerGame` contract a nonce state variable is used to prevent signature replay attacks:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary calculation of variable ### Description In the following function calculation of `allowanceNew` can be moved inside `if` block to save gas: https://github.com/CreamFi/compound-protocol/blob/23a4ae93adc70334553f5a83429a4e967c1eefaa/contracts/CCollateralCapErc20.sol#L379 ### Recommendation We recomm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Code could be simplified. ### Description **Description** StakingB_1.sol Line 609 “pool.lastRewardBlock = block.number” can be executed before condition so this operation shouldn’t be repeated twice in the code. **Recommendation**: Use just one realisation of “pool.lastRewardBlock = block.number” before con...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User can trade away an asset using Balancer batchSwap without removing it from account ### Description Balancer's `batchSwap()` function takes in an `amount` of tokens to trade at each step of the swap. This amount can actually exceed the amount returned from the previous step. Because BalancerController.so...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Incorrect reserve amount handling during deposit ### Description In the `BunniHubLogic` contract, there is an issue concerning the usage of outdated reserve amounts during the deposit process. Specifically, when the hooklet is invoked at line 193, the `amount` parameter sent does not reflect the actual depo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential error `Index out of range` ### Description In methods: - `estimateAdjustPosition` at the line https://github.com/Grandthrax/yearnV2-generic-lender-strat/blob/979ef2f0e5da39ca59a5907c37ba2064fcd6be82/contracts/Strategy.sol#L267: `_potential = lenders[_highest].aprAfterDeposit(toAdd)` - `adjustPos...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Compromised treasury address can permanently block updates and steal protocol funds ### Description ### Impact Permanent `fund loss` and the protocol being stuck in an `unrecoverable state`. If the treasury address gets compromised (e.g., private key stolen or malicious insider), the attacker gains full 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
other
false
false
## Medium: UniV2Adapter#getExecutionData doesn't properly handle native ETH swaps ### Description UniV2Adapter#getExecutionData doesn't properly account for native ETH trades which makes them impossible. Neither method selected supports direct ETH trades, and sender/target are not set correctly for TradingUtils_execut...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use ``assembly`` to write _address storage values_ ### Description 2 results - 2 files: https://github.com/code-423n4/2023-01-timeswap/blob/main/packages/v2-pool/src/base/OwnableTwoSteps.sol#L19 https://github.com/code-423n4/2023-01-timeswap/blob/main/packages/v2-token/src/TimeswapV2Token.sol#L42 **Recom...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
false
false
## Low: `AllowList::hasTradeRestriction` mutability should be set to `view` ### Description `AllowList::hasTradeRestriction` does not make any changes to storage, it simply reads some variables and makes some checks, but the function's mutability is not marked as view. ### Recommendation Change mutability to view.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Additional approval for selling GBT. ### Description **Description** ERC20BondingCurve.sol Performing selling GBT requires the user to approve his GBT for GBT contract (ERC20Bonding Curve) before selling. This happens due to an external call to address(this) in Line 240, where ERC20Bonding Curve becomes msg....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Notes ### Description * [NOTE: Non-functional requirements.](https://docs.google.com/document/d/1PZBSCBWBwd6AqWCgXqLnw8FNQ4HRurP5usrXuKuU0a0/edit#heading=h.cxu58g3o6qej) * [NOTE: Micropayment Channel example is not written.](https://docs.google.com/document/d/1PZBSCBWBwd6AqWCgXqLnw8FNQ4HRurP5usrXuKuU0a0/edit#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
access-control
true
false
## Low: [14] Unauthorized actors can sidestep their restrictions and still integrate with Wildcat ### Description ### Proof of Concept Take a look at https://github.com/code-423n4/2024-08-wildcat/blob/fe746cc0fbedc4447a981a50e6ba4c95f98b9fe1/src/WildcatArchController.sol#L245-L251 This function is used to register ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Solidity safe pragma best practices are not used ### Description Always use a stable pragma to be certain that you deterministically compile the Solidity code to the same bytecode every time. Also `IStargateReceiver` and `IStargateRouter` interfaces are using an old compiler version - upgrade it to a newer ver...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use `Ownable2Step` Version Rather Than `Ownable` Version ### Description The `Ownable2Step` prevents the contract ownership from mistakenly being transferred to an address that cannot handle it (e.g. due to a typo in the address), by requiring that the recipient of the owner's permissions actively accept via 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
medium
cross-chain
false
false
## Medium: Users' Native Tokens Can Get Stuck ### Description **Update** Marked as "Fixed" by the client. Addressed in: `01de7717898b17b22fd13167b09b91d7c3f44040`. A refund mechanism was included. **File(s) affected:**`BreederTimeLockPool.sol` **Description:**`BreederTimeLockPool.crossChainClaimReward()` will accep...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: stETH/ETH chainlink oracle has too long of heartbeat and deviation threshold which can cause loss of funds ### Description getTknOhmPrice uses the stETH/ETH chainlink oracle to calculate the current price of the OHM token. This token valuation is used to determine the amount of stETH to skim from the user r...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
true
false
## Low: Potential Re-Entrancy Attack in the Crowdinvesting Contract ✓ Fixed ### Description The attack requires a set of pre-requisites: 1. The currency token should have a re-entrancy opportunity inside the token transfer. 2. The re-entrancy can be done on a token transfer from the `_msgSender()` to the `feeCollect...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: When contractNonce occupies more than 12bytes the truncated nonce shared back with the contract offerer through ratifyOrder would be smaller than the actual stored nonce ### Description When `contractNonce` occupies more than 12 bytes, the truncated nonce shared back with the contract offerer through `ratifyOr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rewards can be locked in Bribe contract because distributing them depends on base token reward amount and `Gauge.deliverBribes()` is not always called by `Voter.distribute()` ### Description _Submitted by unforgiven_ [Voter.sol#L315-L329](https://github.com/code-423n4/2022-05-velodrome/blob/7fda97c570b758b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 uncheckedIncrement() code is not efficient ### Description **Description:** In various places a loop construct is used as below: The resulting bytecode is actually unoptimized compared to an inline unchecked block. This creates a jump and several additional opcodes as overhead. **Team response:** Fixed
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
oracle
false
false
Source: https://github.com/sherlock-audit/2023-02-blueberry-judging/issues/161 ## Found by 8olidity, 0xChinedu, rvierdiiev, obront, sakshamguruji, Saeedalipoor01988 ## Summary In some extreme cases, oracles can be taken offline or token prices can fall to zero. In these cases, liquidations will be frozen (all call...
Sherlock
5
Blueberry
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `maxWithdraw()` underestimates assets for the `feeRecipient` ### Description _Acknowledged_ The `EulerEarn.maxWithdraw()` function is designed to return the maximum amount of the underlying asset that can be withdrawn from the owner's balance in the vault, through a withdraw call. this function first accrues ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `quorum` and `threshold` should be <= 100% ### Description Constructor, `updateQuorum()` and `updateThreshold()`: `quorum` and `threshold` should be <= 100%. A value corresponding to 100% should be added as a constant: https://github.com/MetaLex-Tech/borg-core/blob/9074503d37cfa1d777ef16f6c88b84c98b4f54eb/src/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Mowing between two consecutive floods results in loss of rewards related to the second flood ### Description If a user mows between two consecutive floods and then mows again after the season of the second flood, they will not receive SoP rewards related to the second flood. They will only receive SoP rewards ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: epochVoteStart function calls the wrong library method ### Description The `epochVoteStart` function calls the `VelodromeTimeLibrary.epochStart` function instead of the `VelodromeTimeLibrary.epochVoteStart` function. Thus, the `Voter.epochVoteStart` function returns a voting start time without factoring 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
low
other
false
false
## Low: Optimization ### Description **Update** Marked as "Fixed" by the client. Addressed in: `90fec78e6635edfac73b4a770d43a110fbb31b27`. The client provided the following explanation: > we've opted to keep the require statements instead of custom errors due to the level of code changes it will bring we are fine wit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Overwrite orderIdByHash for Duplicate Orders ### Description Description When orders are made they are given an orderId and a helper mapping orderIdByHash which takes the hash of the order and returns the orderId . If two orders are made with the same hashOrder() value, then the value orderIdByHash will be ove...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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** Marked as "Fixed" by the client. Addressed in: `f7cf4a6c70effa5623795ffbb4fff7b3ad41c3a5`. The client provided the following explanation: > We've added the missing validations to the contracts. defaultGasFee: While we’re not enforcing limits at the contract ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: Balancer Vault Will Receive Fewer Assets As The Current Design Does Not Serve The Interest Of Vault Shareholders ### Description The current implementation of reinvesting reward function does not benefit the vault shareholders as the current design does not serve the vault shareholder's interest well. Thus,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Inline small `private` functions only called once ### Description `StandardToken::_updateName` and `_updateSymbol` are very small `private` functions that are only ever called once by `updateNameAndSymbol`. Hence it is more gas efficient to inline them; here is an implementation that also caches the identica...
0