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
initialization
true
false
## Low: A hardcoded minimal liquidity might be insufficient for assets with higher token decimals ### Description ### Instances(1) In ThrusterPair.sol, `MINIMUM_LIQUIDITY` is hardcoded as 1000. This minimum liquidity will be locked at the first deposit as a permanent supply. And also used to prevent initial dust 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
true
false
## Medium: Lack of Epoch End Block Consideration in `pendingRewards` Function ### Description **Severity**: Medium **Status**: Unresolved **Source**: LpNFTPool.sol **Description**: The `pendingRewards` function calculates the pending rewards for a staking position without considering the end of the epoch 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
other
false
false
## Low: Fees can be set up to 99.99% ### Description An admin currently has the ability to set fees up to **99.99%**. This introduces the risk of excessive fees that may discourage platform use and harm users. https://github.com/Liquorice-HQ/contracts/blob/a5b4c6a56df589b8ea4f6c7b8cb028b1723ad479/src/contracts/Reposi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rearrange an expression in _calculateSwapInv to avoid underflows ### Description In the following expression used in `SwapUtils_calculateSwapInv`: ``` ifxp[tokenIndexFrom] = x + 1 ``` the expression would underflow and revert. We can arrange the expression to avoid reverting in this edge case: ``` dx = 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
low
initialization
true
false
## Low: Committer not validated on withdraw claim and multi-paid claim ### Description AutoClaim checks that the committer creating the claim request in `makePaidClaimRequest` and withdrawing the claim request in `withdrawUserClaimRequest` is a valid committer for the `PoolFactory` used in the AutoClaim initializer. 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
oracle
false
false
## Low: Constructor’s parameter order does not match specification ### Description The order of the parameters of the `UniswapAnchoredView` contract’s constructor does not match the provided specification. In particular, according to the specification, the [parameter `anchorToleranceMantissa_`](https://github.com/comp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unnecessary Metadata Mapping ### Description ## AutographDynamicNFTOptionalMarketplaceFilteringNonUpgradeable.sol In `AutographDynamicNFTOptionalMarketplaceFilteringNonUpgradeable.sol`, metadata is used to store the metadata for a token with `tokenId` as the key and its metadata as the value. However, there...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `internal` functions only called once can be inlined to save gas ### Description Not inlining costs **20 to 40 gas** because of two extra `JUMP` instructions and additional stack operations needed for function calls. *There are 2 instances of this issue.*
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
high
Decimals
false
true
Source: https://github.com/sherlock-audit/2022-11-isomorph-judging/issues/46 ## Found by clems4ever, 0x52 ## Summary DepositReceipt_ETH and DepositReciept_USDC checks the value of liquidity by swapping 100 tokens through the swap router. WBTC is a good example of a token that will likely never work as LP due to th...
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
low
other
true
false
## Low: Wrong argument in `TransferShares` event of `wrap()` function ### Description https://github.com/code-423n4/2023-09-ondo/blob/main/contracts/usdy/rUSDY.sol#L439 The third argument to the `TransferShares` event is expecting the amount of shares but it is wrongly called with `_USDYAmount`, which is the amount o...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: BunniSwap swap functionality can cause panics during the swap ### Description The swap functionality of BunniSwapMath can result in arithmetic underflow during the swap on a valid pool state, disrupting swap operations. The `computeSwap` function in the BunniSwapMath library enables users to swap tokens on a v...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Restrict timelock delay ### Description ## Timelock Delay Validation Issue The `timelock_delay_seconds` governor parameter is missing the maximum delay check. As the `create_transaction_with_timelock` of the Goki smart wallet checks if the delay is below `goki::MAX_DELAY_SECONDS`, it is advisable to validate ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: | Duplicate Reads ### Description **Description** In `assignNamingCreditsBulk` the `numberOfCredits[i]` value is read up to five times upon each iteration. Declare a `uint creditNum` outside of the `for` loop and cache the `numberOfCredits` value in it upon each iteration. **Recommendation** Implement the a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
storage
false
false
## High: STORAGE COLLISION BETWEEN PROXY AND IMPLEMENTATION (LACK EIP 1967) ### Description _Submitted by peritoflores_ Storage collision because of lack of EIP1967 could cause conflicts and override sensible variables ### Proof of Concept contract CoreProxy is Ownable { address private immutable _implement; 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
oracle
true
false
## Low: [01] Don't roll your own crypto ### Description The general advice when it comes to cryptography is [don't roll your own crypto](https://security.stackexchange.com/a/18198). The Chainlink VRF best practices page says that in order to get multiple values from a single random value, one should [hash a counter 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
access-control
false
false
## Medium: Privileged Roles and Ownership ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > All the signer and pool controller permissions will be extensively explained in the user's documentation upon release. Slippage penalties are per-quote specific...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Low: Potential Overflows in BondingCurve ### Description Description The operation totalTokensToSell**power appears in the functions _computePriceFromQuantity() and getCurrentPrice() . The expected decimal places of totalTokensToSell is18and the initial total supply is 1,000,000,000(1 billion). AstotalTokensToSell ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Emit can be rearranged ### Description The emit can be rearranged in the changeNoteAddress() and changeRevenueAddress() functions. With this arrangement, both the deploy time (`~1.4 k * 4 = 5.6k` gas per function) and every time the functions are triggered (~16 gas) gas savings will be achieved. 4 results - 2...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: An unvalidated user input in the `_getAddLiquidityOneCoinCallData` function ### Description The `_getAddLiquidityOneCoinCallData` function utilizes variable `i`, which is an arbitrary value passed by the user, without any validation from the `add_liquidity_one_coin` function. If this value is outside the valid...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inefficient Commission Accounting for Administrator and Market Maker ### Description The [`transferCommissions`](https://github.com/longgammalabs/hanji-contracts/blob/09b6188e028650b9c1758010846080c5f8c80f8e/src/OnchainLOB.sol#L582) function updates commissions by modifying the `Trader` struct for both the adm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
true
## Low: Protocol will leak value to users due to rounding in `RebasingLibrary` ### Description Protocols should always round against users in favor of the protocol. `RebasingLibrary` uses "rounding to nearest" method which leaks value to users: ```solidity // In convertTokensToShares return (_tokens * DECIMALS_FACTOR ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent Access Control Between `vBNB` and Other Core Pool vTokens ### Description **Update** The client has acknowledged the issue and commented: "This behavior is intended. We want to allow anyone to invoke the reduceReserves functions in the vBNB contract, to pull the reserves from the market and send 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
true
false
## Medium: Missing validation checks in timestampAt ### Description - The function does not verify the ASN.1 tags (0x17 for UTCTime and 0x18 for Generalized-Time), which is crucial for determining the correct timestamp type. - The function incorrectly uses the length of the timestamp data to determine its type, which ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: LeverageMacroBase 's _doCheckValueType() condition looks to be incorrectly reverted ### Description Given the usage, say for the `debt >= minDebt` check in: - LeverageMacroBase.sol#L175-L176 ```solidity _doCheckValueType(cdpInfo.debt, checkParams.expectedDebt); _doCheckValueType(cdpInfo.coll, checkParams.ex...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
true
## High: Malicious User can call `lockOnBehalf` repeatedly extend a users `unlockTime`, removing their ability to withdraw previously locked tokens ### Description ### Impact The protocol allows users to donate ether and/or tokens to another user via a `lockOnBehalf` function. This function lets the caller specify wh...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
logic
true
false
## Medium: User wrapped tokens get stuck in master router because of incorrect calculation ### Description Swapping exact tokens for ETH swaps underlying token amount, not wrapped token amount and this causes wrapped tokens to get stuck in the contract. ### Impact User wrapped tokens get stuck in router contract. 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...
cyfrin_structured
medium
dos
true
false
## Medium: When Senior's TargetGain is negative, the tx will revert because the senior loss is not accounted for on the Junior Tranche as profit, causing the navs summation to not match the current nav ### Description When `srtGainTarget < 0`, the code transfers senior loss to `jrtNavT0` *after* initializing `jrtNavT1...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Various events do not add the role as parameter ### Description Note: During the audit, the client discovered an issue that affects their offchain infrastructure. Various events do not emit the role as a parameter: 1. `event ActionCreated(uint256 id, address indexed creator, ILlamaStrategy indexed strategy, a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
overflow
false
false
## High: Revert during price deduction ### Description **Description** CryptoBearWatchClub.sol: dutchAuctionForPresale(), dutchAuctionForPublicMint() Auction length is limited because of the expression “uint256 price = startingPrice - priceDeduction” priceDeduction increases with time, thus it will reach the point wh...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: Attacker can prevent user from executing application registered through `initFromToken()` in `AgentFactoryV4`. ### Description ### Finding description `AgentFactoryV4` allowed user to register agent with existing/custom agent token. The flow is divided in two steps: 1. `initFromToken()`, where the user po...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Validator State Desynchronization ### Description ## Issue with Validator Removal and State Desynchronization Removing validators immediately after a successful `EpochMaintenance` may result in the desynchronization of the internal state of the Steward Program with the external state of the stake pool valida...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [30] Fix typos ### Description See [here](https://github.com/code-423n4/2024-08-axelar-network/blob/69c4f2c3fcefb1b8eb2129af9c3685a44ae5b6fe/interchain-token-service/contracts/interfaces/ITokenManagerType.sol#L9-L18). ### Recommended Mitigation Steps Apply these changes:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Rent Transfer ### Description ## Vulnerability in CloseOrder The vulnerability in CloseOrder arises from a logic flaw in how rent is handled during the closure of the `order_vault` account, specifically the `source_ta` account, which is the token account associated with the order vault. When 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
cross-chain
false
false
## Low: Flawed Refund Mechanism During Deposits ### Description To make a deposit, the user sends BTC to a `P2WSH` (Pay-to-Witness-Script-Hash) address, where the UTXO (Unspent Transaction Output) can only be spent if either: 1. It's signed by both the BitHive contract's MPC signature and the user's BTC private key, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Outdated and inaccurate README file ### Description The [README.md](https://github.com/AugurProject/augur/blob/9a33c3269e812d0cb66d49b61a72db58e32e4749/packages/augur-core/README.md) file in the augur-core repository is out of date and inaccurate. It does not reflect the v2 changes, some of the suggested comma...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Sometimes calculateBorrowerReward and calculateSupplierReward return incorrect results ### Description Sometimes `calculateBorrowerReward` and `calculateSupplierReward` return incorrect results. ### Proof of Concept Whenever a user wants to know pending rewards they call `getPendingRewards`; sometimes, it...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack Of Protection Policy Validation ### Description When the CCCM begins the process of opening a protection policy, the `claimProtection` function requires the encoded protection information. The protection policy data is initialized by encoding these parameters using the `encodeProtectionDataFromAbsoluteV...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Latency timelocks on certain functions can be bypassed ### Description The functions `switchMaintainerFee()` and `switchWithdrawalBoost()` add a latency of typically three days to the current timestamp at which the new value is meant to be valid. However, they don’t limit the number of times this value can ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
ERC2981
true
true
Recipients of NFTs who accept royalties will not get their fair share of royalties. This is because royalties are calculated by dividing the sales price equally amongst all sold NFTs in that purchase. The issue with this is that it assumes all NFTs cost the same amount when it comes time to deal out royalties. If NFTs...
Code4rena
5
Caviar
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
false
false
## Medium: Lack of path validation in the `Velodrome` adapter ### Description The swap functions `swapExactTokensForTokens` and `swapDiffTokensForTokens` of `VelodromeV2RouterAdapter` accepts `routes` parameter with arbitrary consequences of routes, consisting of (`tokenIn`, `tokenOut`, `stable`, `factory`) parameters...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Validate the withdrawn amount by a staker is greater than zero ### Description The `withdrawStakerFunds` function allows the stakers to withdraw their deposited amount of `stakeToken`; however, it does not validate that the amount to withdraw is greater than 0. This could allow users to spend gas unnecessarily...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Race condition in da/pkg/store/store.Persist() due to bug in RangeDB ### Description This was already hypothesized in beacon-kit issue 3, but here's a more concrete example using `store.Persist()`, which uses explicit concurrency. The root cause of the bug is in `RangeDB`, not `Store`. Put this in `beacon...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
token
false
false
Source: https://github.com/sherlock-audit/2023-02-surge-judging/issues/214 ## Found by 0x52 ## Summary Pool#transferFrom attempts to use allowance even when spender = from. This breaks compatibility with a large number of protocol who opt to use the transferFrom method all the time (pull only) instead of using bot...
Sherlock
5
Surge
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [02] `Error.checkEnough` function does not prevent user from sending too many tokens to relevant contract ### Description When calling functions like `TimeswapV2Option.mint` or `TimeswapV2Option.swap`, the user will use the callback function like `ITimeswapV2OptionMintCallback.timeswapV2OptionMintCallback` 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
gas
token
true
false
## Gas: The result of a function call should be cached rather than re-calling the function ### Description ### WithdrawProxy.sol.claim(): Results of VAULT() and asset() should be cached (Saves 434 gas) https://github.com/code-423n4/2023-01-astaria/blob/1bfc58b42109b839528ab1c21dc9803d663df898/src/WithdrawProxy.sol#L2...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The result of a function call should be cached rather than re-calling the function ### Description External calls are expensive. Results of external function calls should be cached rather than call them multiple times. Consider caching the following: ### Proof Of Concept https://github.com/code-423n4/2023-0...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Centralisation Risks ### Description The Rainbow Bridge is to act as a decentralised bridge between Ethereum and NEAR. There are some potential centralisation risks associated with the current design that could lead to one or a small number of actors exploiting the bridge for personal gain. If a user can add 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
access-control
false
false
## Medium: Rewards can be lost ### Description _Submitted by csanuragjain_ Reward can be lost if bribeVault calls the updateRewardsMetadata on same rewardIdentifier again before user can claim his reward (since merkleRoot and proof will get updated). ### Proof of Concept 1. bribeVault calls the updateRewardsMetada...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Context Header in for merkle proof ### Description **Severity**: Low **Status**: Acknowledged **Location**: Airdrops.sol **Description** The function `claim()` in Airdrops.sol does not include a header to provide context of the proof (e.g. address(this), chain id, version) which can lead to potenti...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `Heart::beat()` could be called several times in one block if no one called it for a some time ### Description _Submitted by rvierdiiev, also found by datapunk, devtooligan, itsmeSTYJ, Jeiwan, Lambda, Trust, and zzzitron_ `beat()` function is allowed to be called by anyone once in `frequency()` period. 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...
solodit_api
medium
MinOut/MaxIn Validation
true
false
Source: https://github.com/sherlock-audit/2022-11-bond-judging/issues/38 ## Found by bin2chen ## Summary BondAggregator#findMarketFor() minAmountOut_ does not actually take effect,may return a market's "payout" smaller than minAmountOut_ , Causes users to waste gas calls to purchase ## Vulnerability Detail BondAgg...
Sherlock
3
Bond Protocol
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: Lack of access control allow anyone to `withdrawInterest()` for any lender ### Description _Submitted by WatchPug_ [LenderPool.sol#L442](https://github.com/sublime-finance/sublime-v1/blob/46536a6d25df4264c1b217bd3232af30355dcb95/contracts/PooledCreditLine/LenderPool.sol#L442) `withdrawInterest()` at a ce...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: Centrifuge router can perform untrusted actions on behalf of open vaults ### Description The Centrifuge router enables several features such as multicall actions, permissionlessly claiming, ERC20 wrapping, and locking requests. In order to allow the router contract to perform certain actions to the vault, it ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistency In Uninitialized Stake Check ### Description ## LockedStake Implementation Issue When a `LockedStake` instance is created via `LockedStake::default()` or when it is uninitialized (meaning its fields are set to their default values), several fields such as `stake_time` and `lock_duration` may 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
high
front-running
true
false
## High: Old stakers can steal deposits of new stakers in `StakingFundsVault` ### Description Stakers to the MEV+fees vault can steal funds from the new stakers who staked after a validator was registered and the derivatives were minted. A single staker who staked 4 ETH can steal all funds deposited by new stakers. #...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Loss of precision in `Staking.updateFor()` will make user to lose claimable amount. ### Description Staking.updateFor() calculates claimable amount based on `_supplied * delta / 1e18`. It might cause precision loss but `supplyIndex` is updated. ### Impact If staking amount is small or `updateFor` is called ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Use custom errors rather than `require()`strings to save deployment gas ### Description **Description:** Starting from Solidity v0.8.4,there is a convenient and gas-ecient way to explain to users why an operation failed through the use of custom errors. **Recommendations:** Use custom errors to save deplo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Medium: Reentrancy at _requestLoan allows requesting a loan without supplying collateral ### Description _Submitted by kenzo, also found by WatchPug, GimelSec, Czar102, and AuditsAreUS_ `_requestLoan` makes an external call to the collateral contract before updating the NFTPair contract state. ### Impact If 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
token
true
false
## Low: [23] Commented code ### Description ### Proof Of Concept https://github.com/code-423n4/2022-10-holograph/blob/main/contracts/enforcer/HolographERC721.sol#L527-L570 **[alexanderattar (Holograph) confirmed and commented](https://github.com/code-423n4/2022-10-holograph-findings/issues/68#issuecomment-130943180...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Failed lockup error is never thrown ### Description The locking contract function fails to signal an error in the return value, causing some error code to be unreachable. The `LockupContractFactory` contract checks that a `lockContract` call has succeeded by checking the returned boolean. However, the lockup ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Possible overflow on cast to uint ### Description If `newStake` is a negative number, then overflow can occur: https://github.com/mixbytes/lido-dot-ksm/blob/76a10efa5f223c4c613f26794802b8fb9bb188e1/contracts/Lido.sol#L730 ### Recommendation We recommend checking overall diff in order to exclude such scenario...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TribalChief - Governor decrease of pool’s allocation point should unlock depositors' funds ### Description When the `TribalChief` governor decreases the ratio between the allocation point (`PoolInfo.allocPoint`) and the total allocation point (`totalAllocPoint`) for a specific pool (either be directly decreasi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Events with the same requestId can be emitted ### Description There is a chance that the `UnstakeRequestCreated` event will be emitted several times with the same `requestId` https://github.com/TwoFiftySixLabs/mntEth/blob/bd15a96aee7df0fc0566d662df0cf50ff2619d31/src/UnstakeRequestsManager.sol#L175-L177. ### 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
oracle
true
false
## Medium: Kicked oDAO members’ votes taken into account  Acknowledged ### Description oDAO members can vote on proposals or submit external data to the system, acting as an oracle. Data submission is based on a vote by itself, and multiple oDAO members must submit the same data until a configurable threshold (51% by ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
front-running
true
false
## High: RocketMinipoolDelegate - Sandwiching of Minipool calls can have unintended side effects ### Description The `RocketMinipoolBase` contract exposes the functions `delegateUpgrade` and `delegateRollback`, allowing the minipool owner to switch between delegate implementations. While giving the minipool owner a 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
low
other
false
false
## Low: Hedging assumptions ### Description Hedging is only activated when crossing the ticks into active territory. If price stays on the same side, the LMT order won't execute. This should be clearly stated as a limitation of the reactor.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: IERC20 should be named IERC20Permit ### Description File: erc20-1.0.0-beta.2/contracts/interfaces/IERC20.sol (lines [4-5](https://github.com/maple-labs/erc20/blob/10ccf4aa0b2d6914e3c2d32e454e4d106a99a4fd/contracts/interfaces/IERC20.sol#L4-L5)) There may be cases in the future where you may not want EIP-2612 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
medium
token
true
false
## Medium: Return values of ERC20 `transfer` and `transferFrom` are unchecked ### Description _Submitted by shw, gpersoon, JMukesh, also found by a_delamo and cmichel_ In the contracts `BadgerYieldSource` and `SushiYieldSource`, the return values of ERC20 `transfer` and `transferFrom` are not checked to be `true`, wh...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: `claimReward()` does not trigger process fees ### Description When `claimReward` is called, it does not trigger `_processFeesIfApplicable`, as a result, the claimed fee possibly does not include the latest amount of reward that can be collected by the `_wallet`. Consider to trigger `_processFeesIfApplicable` 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
initialization
false
false
## Low: Repository does not contain dependency management of Smart contracts. ### Description **Recommendation**: initialize NPM project and define dependency to Openzeppelin smart contracts package.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Arithmetic under�low in Slot::out_msg ### Description Fuzzing `Node::handle_messages` produced an arithmetic underflow in `Slot::out_msg`, which could lead to undefined behavior. This finding describes one of several crashes that could not be ruled out by adding invariant checks to the start of `Node::handle_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
other
true
false
## Low: Lack of input validation in native assets transfers function might lead to loss of funds ### Description The `prepareNativeTransfer()` function from the `CeFiSmartTransfer` contract allows for operators to set the `NativeTransfer` struct, which contains all the crucial information to the native asset transfer ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Zero token allowance can cause denial of service in `applyRewards()` ### Description https://github.com/code-423n4/2023-09-asymmetry/blob/main/contracts/strategies/votium/VotiumStrategyCore.sol#L282-L285 During `applyRewards()`, token allowances are first reset to zero before being increased to infinity. Thi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 PARAMETER VALIDATION ### Description The `childContractByIndex` and `childTokenByIndex` functions of the `ERC998TopDown` contract did not validate their parameters. Setting invalid values may result in reverts without error messages. `contracts/NftfiBundler.sol`: * The constructor of the contract doe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
false
false
## High: Protocol May Use Incorrect Prices ### Description **Update** The prices for tokens are now calculated from the return values from calls to GMX, which is essentially used as an oracle. We note that GMX is outside the scope of this audit. Additionally, no validation checks are made on the return value of functi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: Multiple typos make GMIZap impossible to compile ### Description The following errors prevent the `GMIZap` file from being used, as the compilation step always reverts: ``` Error (2558): Exactly one argument expected for explicit type conversion. --> src/GMIZap.sol:58:25: | 58 | require(name != bytes3...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Timestamp Tracking in RAACHousePrice contract ### Description The RAACHousePrices contract tracks house prices and their update timestamps for each token ID. The contract uses a single global `lastUpdateTimestamp` variable for all tokens, causing the timestamp of previous token updates to be overwrit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
input-validation
false
false
## Low: Additional validation should be performed on the Chainlink Functions response ### Description When consuming a Chainlink Functions response, the following additional validation should be performed within `AutoRedemption::fulfillRequest`: * Ensure the `_token` address is either a Hypervisor with valid data on t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Missing validation of snapshotId makes it possible for the investor to claim unlocked capitals from the same snapshot multiple times ### Description Missing validation of snapshotId makes it possible for the investor/seller to claim unlocked capitals from the same snapshot multiple times ### Impact - An inve...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
storage
false
false
## High: 2. MISSING CONSTRAINT IN PIL LEADING TO PROVING FAKE INCLUSION IN THE SMT ### Description **Severity:** Critical **Path:** storage.pil **Description:** The Storage state machine uses SMT (Sparse Merkle Tree) and implements provable CRUD operations in conjunction with Storage ROM. In order to prove the (Ke...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
true
true
## High: validateStack allows any stack to be used with collateral with no liens ### Description The `validateStack` modifier is used to confirm that a stack entered by a user matches the `stateHash` in storage. However, the function reverts under the following conditions: ```solidity if (stateHash != bytes32(0) && k...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users can deflate other markets Guild holders rewards by staking less priced token ### Description In the `SurplusGuildMinter::stake()` function, there is currently no check to verify if the provided term’s `CREDIT` token is the same as the `CREDIT` token in the called `SurplusGuildMinter`. This oversight c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: Prevent execution with invalid signatures ### Description _Submitted by gpersoon_ #### Impact Suppose one of the supplied `addrs\[i]` to the constructor of `Identity.sol` happens to be 0 ( by accident). In that case: `privileges\[0] = 1` Now suppose you call `execute()` with an invalid signature, then `rec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Proposals do not have an expiration date ### Description In the current architecture, proposals do not have an expiration date so they can be executed after a long period of time: - https://github.com/MetaLex-Tech/borg-core/blob/9074503d37cfa1d777ef16f6c88b84c98b4f54eb/src/implants/daoVetoGrantImplant.sol#L...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: An unsafe transfer ### Description Some of the tokens do not revert on failed `transferFrom`. Also, there are some tokens with a fee on transfer, so the real transferred balance should be checked via `balanceOf()`, otherwise it could lead to funds insolvency. https://github.com/FantiumAG/smart-contracts/blo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: `GnosisTargetDispenserL2` and `GnosisDepositProcessorL1` may be vulnerable to replay attacks ### Description These contracts send messages to each other directly via the Arbitrary Messaging Bridge. According to [Gnosis Chain's Security Considerations for Receiving a Call](https://docs.gnosischain.com/bridges/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: GMX Reward Router's claimForAccount() can be abused to incorrectly add WETH to tokensIn ### Description When `claimFees()` is called, the Controller automatically adds WETH to the user's account. However, in the case where no fees have accrued yet, there will not be WETH withdrawn. In this case, the user wi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Auto redemption functionality broken by incorrect address passed to `SmartVaultV4::autoRedemption` ### Description **Description:** `SmartVaultV4::autoRedemption` has the following signature: However the invocation in `AutoRedemption::fulfillRequest` incorrectly passes the vault address in place of the swap...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Excessively High Borrow Rate Processed as Zero ### Description This issue has been identified within the `accrueInterest` function, which checks whether the computed borrow rate exceeds `borrowRateMaxMantissa`. If it does, the function updates `accrualBlockTimestamp` and returns early: ```solidity if (IInt...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: BigDiv does not prevent overflow in some cases where it should ✓ Fixed ### Description `BigDiv.vy` has been created with the aim of allowing calculations like `(a * b) / d` to succeed where an intermediate step (e.g. `a * b`) might overflow but the end result is ` 0`) The chances of this issue being hit a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Insufficient Project Information in README.md ### Description The project's [`README.md`](https://github.com/NethermindEth/forta-staking-vault/blob/ce87cffbf813e27cc83157933760b51fa44a1885/README.md) file currently lacks substantial content and provides no specific information about the project itself. It appe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
dos
true
false
## Severity **Impact**: High, Denial of service and high gas costs to users **Likelihood**: Low, unprofitable due to bond submitted ## Description The function `register` in `WorkerRegistration.sol` contract adds a new element to the `activeWorkerIds` array whenever a new worker is registered. There are no checks f...
Pashov Audit Group
4
Subsquid
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Valid Submissions Are Not Refunded Their Full Stake Value ### Description **Update** Marked as "Fixed" by the client. The initial stake value is now refunded in full. Addressed in: `b5b04b152c4fdf421787571c2337495dfc0fd37c`. **File(s) affected:**`BountyV1.sol` **Description:** In `approveSubmission()`, 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
high
initialization
true
false
## High: Incorrect Fee checks ### Description The functions `initiateBorrow` and `initiateRepay` implement fee checks incorrectly, allowing users to partially or entirely bypass required fees. ### Recommendation - Modify the fee check condition in `initiateBorrow` to `transportFees >= fee + forwardFee`. - Set the `re...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Incompatibility with non-standard ERC20 tokens ### Description The `RiskiitV1_1` contract uses direct calls to `transfer` and `transferFrom` functions of ERC20 tokens without proper checks on the return values or safeguards against non-standard implementations. This approach assumes all ERC20 tokens strictly 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: `yVaultLPFarming.withdraw()`: L124 should be unchecked due to L119 ### Description See `@audit` tag:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: USDT transfer is not safe ### Description **Severity**: Medium **Status**: Resolved **Description** CommunityRound.sol, method: reserve(_request, _message, v, r, s), it is recommended as a best practice to use SafeERC20 to transfer ERC20 tokens. Failed, unchecked ERC20 transfers might lead to reserving 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
other
true
false
## Low: No SPDX-License-Identifier found ### Description **Description** Trust in smart contract can be better established if their source code is available. Since making source code available always touches on legal problems with regards to copyright, the Solidity compiler encourages the use of machine-readable SPDX...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Vault Accounting Inconsistency if Harvester Calls Delegator Functions Directly ### Description **Update** We reviewed the fix and confirmed that the team made the following changes to resolve the issue: * `delegate()` function now transfers tokens from `msg.sender` instead of the vault * The `withdraw()`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: `v4-integration.md` docs should be updated ### Description _Resolved_ In `v4-intergration.md`, the [Example Workflow](https://github.com/napierfi/napier-v2/blob/dev/uniswap/docs/v4-integration.md#example-workflow) section, `Create new pool and add liquidity spending wstETH as initial liquidity` example, does ...
0