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
true
false
## Low: Inability To Withdraw Treasury Amount ### Description ## Treasury Balance Management in Instorage The `Instorage.move` functions `increase_treasury_balance` and `update_state` collect the treasury amount by adding it to the `treasury_balance` of the coin’s `ReserveData` in Storage. However, no functionality e...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
rounding
true
false
## Medium: Fee Accounting Rounding Favours Users Over Protocol ### Description Rounding errors in `accrueFee()` may result in accrual of bad debt over time. Inside the `accrueFee()` function, fees are accrued by scaling both `totalUtilizedSD` and `utilizeSD` up by the `simpleFeeFactor`. ```c /* * Calculate the fee ac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [04] `distributeTokenToBuy()` can be called while paused/frozen ### Description Due to the removal of `notPausedOrFrozen` from `Distributor.distribute()` it's now possible to execute `RevenueTrader.distributeTokenToBuy()` while paused or frozen. This is relevant when `tokensToBuy` is sent directly to the reve...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Redundant onlyRole Modifier ### Description In the `RegistryManager` contract, the internal functions `_removeRemoteTokenToRegistry` and `_addRemoteTokenToRegistry` have the `onlyRole(REGISTRY_ADMIN)` modifier applied. This is redundant because these internal functions are typically called by external or publi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insu�cient DCA existence check could result in an inconsistent state ### Description After renouncing ownership of a DCA, a user can recreate the same DCA and lose access to the tasks associated with the previous DCA. This can break assumptions made by Gelato’s components and break other third-party integratio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use a single file for all system-wide constants ### Description There are many addresses and constants used in the system. It is recommended to put the most used ones in one file (for example constants.sol, use inheritance to access these values): This will help with readability and easier maintenance for 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
access-control
true
false
## Low: Contract does not follow the Solidity style guide's suggested layout ordering ### Description The [style guide](https://docs.soliditylang.org/en/v0.8.16/style-guide.html#order-of-layout) says that, within a contract, the ordering should be 1) Type declarations, 2) State variables, 3) Events, 4) Modifiers, and ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: LPs are paying twice for governance fees when opening longs ### Description The `_calculateOpenLong` function first computes fees on the bond amount that is paid out to the trader. The governance fee measured in bonds is removed from the bond reserves, then converted to a vault shares amount, and again remo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 two-step process for contract ownership changes ### Description The `setOwner()` function is used to change the owner of the `PnLFixedRate` contract. Transferring ownership in one function call is error-prone and could result in irrevocable mistakes. ```solidity function setOwner(address _owner) exter...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 initialization of PausableUpgradeable Contract ### Description **Severity**: Informational **Status**: Acknowledged **Description** Contract PendleStaking.sol, Contract mPendleConverter.sol, Contract PendleMarketDepositHelper.sol and Contract MasterPenPie, these contracts inherits PausableUpgradeabl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Attackers can sandwich their own trades up to the price bands ### Description Malicious users can sandwich their own SpotHedgeBaseMaker trades up to the price band cap ### Impact For example, assume the actual exchange rate is $4,000/1WEth, and the attacker is able to skew it such that the exchange rate te...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Possible gas saving ### Description In following function adding of return value can save some gas https://github.com/CreamFi/compound-protocol/blob/23a4ae93adc70334553f5a83429a4e967c1eefaa/contracts/Comptroller.sol#L1303 ### Recommendation We recommend to change function as follows: ```solidity= function _se...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Better Handling of Potentially Reverting Registered Vaults ### Description **Update** The client provided the following explanation: > The method `_removeVaultAndRedeemInner` should normally be called only when transitioning from the Points phase to the Yield phase. This will occur when we and our partners ar...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Players can call rebalanceBasket before rewards have been pushed to the game ### Description It's possible to manipulate game.sol to a state where players can call rebalanceBasket before rewards have been settled. In some cases, it's possible for a malicious user to profit. In other cases, it's possible for...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
true
false
## Low: Precision Loss in Partial Swaps ### Description The protocol calculates the maker amount using division that can result in precision loss: ```solidity uint256 amount = filledtakerAmount < order.takerAmount ? (order.makerAmount * filledtakerAmount) / order.takerAmount : order.makerAmount; ``` https://githu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: REQUIRECOINDEPOSIT SHOULD BE CARRY TO OUT OF IF-CASE ### Description **delegateCoin** function has been used for delegating coin to active agents. However, **requiredCoinDeposit** is only checked when the **newDeposit** equals to deposit. This implementation accepts that **newDeposit** will be zero and for 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
liquidation
true
true
Source: https://github.com/sherlock-audit/2025-10-index-fun-order-book-contest-judging/issues/534 ## Found by PUSH0 ### Summary When matching an order using swapping (either by matching two users or matching a user versus a market maker), a trade fee is charged. This fee is taken from the collateral amount traded...
Sherlock
5
Index Fun Order Book
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Votes will continue to be automatically recast for deactivated gauges if prior voters do not reset ### Description **Description:** The `test_calculateSpeeds_positiveVotesNoGauge()` function in `BenqiCoreModule.calculateSpeeds.t.sol` contains the assumption that such a scenario in which a non-existent gauge ha...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: Different Solidity Compiler Used For Proxy and Implementation Contracts ### Description **Update** The team clarified that they use a hardhat-deploy plugin that stores pre-compiled proxy contracts (see: [link](https://github.com/wighawag/hardhat-deploy/blob/cfb57948bcf0a852b3d03070ed899540f18cee7b/extendedArti...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: INEFFICIENT SLIPPAGE CONTROL ### Description Both the `ExecuteDeposit` and `ExecuteWithdraw` instructions ensure that the received amount falls within the slippage range defined by the expected amount and slippage percentage, verifying that there hasn't been a significant exchange rate change between the requ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: 4 Missing checks for zero address ### Description If `openOffer = true`, the buyer's address should be zero: https://github.com/MetaLex-Tech/LeXscrow/blob/94ca277528bb25b8421dc127941c18915144eb29/src/EthLexscrowFactory.sol#L95. ### Recommendation We recommend adding a check that the `buyer` address is zero if...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: [FIXED] Redundant Imports ### Description There are redundant imports in the mentioned locations. ### Recommendation We recommend removing redundant imports to keep the codebase clean.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistency Due To Incomplete Price Data ### Description ## Time-Weighted Average Price (TWAP) Implementation The current implementation of TWAP uses prices to retrieve the latest price data necessary for calculating the time-weighted average price. It computes the average from these data points. This appro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Hardcoded Router Address May Cause Token Lockup in Non-Standard Networks ### Description This audit report provides an assessment of the contract containing the hardcoded router address for token swaps. The router address is set to "0xE592427A0AEce92De3Edee1F18E0157C05861564" and refers to a specific instance...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: In the functions withdraw(), addLiquidity(), adminWithdraw() there is no check if the requesting token is supported. ### Description **Recommendation**: Add checking if the token is supporting: require(supportedTokens.contains(tokenAddress_), “Token is not supported”)
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent jump-target validation ### Description LDDW instructions are double the size of other instructions and require special handling logic in many places, such as loop iteration. The current Solana RBPF implementation makes the assumption that the second half of an LDDW will have a special opcode of ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
false
false
## Low: Request delivery denial of service by front-running transactions ### Description The delivery process has a function that can be front-run to produce a denial-of-service attack during the delivery process. Users can purchase data by calling `requestDelivery`, with a unique hash identifier: ```python def requ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 zero-address check in constructors and the setter functions ### Description Missing checks for zero-addresses may lead to infunctional protocol, if the variable addresses are updated incorrectly. ### Proof of Concept Navigate to the following all contract functions. [UniV3LpVault.sol#L59](https://gi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Negative DSR causes unexpected reverts ### Description [On line 66 of `DAIInterestRateModel.sol`](https://github.com/compound-finance/compound-protocol/blob/9ea64ddd166a78b264ba8006f688880085eeed13/contracts/DAIInterestRateModel.sol#L66), `1e27` is subtracted from `dsr`. If for any reason, `dsr` is less tha...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Protect `LlamaPolicy.sol` NFT from copying in POW forks ### Description Ethereum has performed the long-awaited "merge" that will dramatically reduce the environmental impact of the network There may be forked versions of Ethereum, which could cause confusion and lead to scams as duplicated NFT assets enter ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `TradingAccount::getAccountMarginRequirementUsdAndUnrealizedPnlUsd` uses incorrect price during order settlement ### Description **Description:** During order settlement `SettlementBranch::_fillOrder` uses an off-chain price provided by the keeper: All variables including `ctx.fillPrice` and `ctx.fundingF...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Constant redefined elsewhere ### Description Consider defining in only one contract so that values cannot become out of sync when only one location is updated. A [cheap way](https://medium.com/coinmonks/gas-cost-of-solidity-library-functions-dbe0cedd4678) to store constants in a single location is to create an...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
flash-loan
true
false
## Low: Anyone could steal pool tokens’ earned interest ### Description The whitepaper contains the following statement: **Difficulty:** High **Description:** Unexpected ERC20 token interest behavior might allow token interest to count toward the amount of tokens required for the `UniswapV3Pool.mint` and flash func...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: DoS of staking due to unguarded receiver lock period ### Description The `BobStaking::stake()` and `BonusWrapper::stake()` allow users to stake in order to earn rewards and bonuses. These functions allow anyone to stake on behalf of the receiver, and if a stake contains a non-zero lock period, further stake...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
overflow
true
true
Source: https://github.com/sherlock-audit/2023-03-taurus-judging/issues/61 ## Found by roguereddwarf, spyrosonic10 ## Summary Liquidation fails when price fall by 99%. ## Vulnerability Detail `_calcLiquidation()` method has logic related to liquidations. This method calculate total liquidation discount, collate...
Sherlock
5
Taurus
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unexpected behaviour after re-adding of the deleted token ### Description **Description** The function forceRemoveRewards() calls for a struct that contains a mapping. Since the mapping inside the structure cannot be deleted by such a move, reward token re-adding may cause unexpected effect. **Recommendat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
true
The `MergingPool::claimRewards` function loop through last claimed round ID to the latest round ID ( <https://github.com/code-423n4/2024-02-ai-arena/blob/main/src/MergingPool.sol#L139> ): ```solidity function claimRewards( string[] calldata modelURIs, string[] calldata modelTypes, uint256[2][] calldata cu...
Code4rena
5
AI Arena
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Public access ### Description Next function can be internal: https://github.com/1inch/cumulative-merkle-drop/blob/96fb63d0cbfea73603e7500961c71e8ab1fb8c10/contracts/CumulativeMerkleDrop.sol#L58 https://github.com/1inch/cumulative-merkle-drop/blob/96fb63d0cbfea73603e7500961c71e8ab1fb8c10/contracts/CumulativeMer...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users can bypass fees by depositing in chunks ### Description When users deposit tokens into the Staking contract, a fee is taken and minted to the `protocolFeeAddress`: Users can exploit this calculation by making small, fragmented deposits, causing the fee to round down to zero. This issue is particularly ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
flash-loan
false
false
## Medium: Possible flashloan attacks ### Description In current contract some functions can be influenced by flashloan attacks. - https://github.com/orbxball/stablecoins-3pool/blob/adeb776933c6cb3b8306239cc3357d4c6239a88d/contracts/StrategyDAI.sol#L71 - https://github.com/orbxball/stablecoins-3pool/blob/adeb776933c6c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [10] Unchecked withdrawal amount in vault module ### Description The function is already restricted with `friend` access and the underlying `primary_fungible_store::withdraw` includes balance checks. ### Proof of concept The `withdraw` function in `vault.move` allows withdrawing funds without checking 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
dos
true
false
## Low: POSSIBLE DOS DUE TO COLLATERALMANAGER.COLLATERALSUPPORT SIZE ### Description The owner of the `CollateralManager.sol` contract can add new collateral tokens which will be supported by the protocol. When adding support for new collaterals, there is no limit for the current amount of collaterals supported, and 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
true
false
## Medium: Malicious Relayer Could Cause A Router To Provide More Liquidity Than It Should ### Description _Submitted by xiaoming90_ Assume this is a fast-transfer path and the sequencer has a good reason (e.g. some sophisticated liquidity load balancing algorithm) to assign 3 routers to provide liquidity for a tran...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: Constants in comparisons should appear on the left side ### Description Doing so will prevent [typo bugs](https://www.moserware.com/2008/01/constants-on-left-are-better-but-this.html)
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
true
false
## High: Potential flash loan attack vulnerability in `getPrice` function of CurveOracle ### Description During a security review of the `getPrice` function in the CurveOracle, a potential flash loan attack vulnerability was identified. ### Impact This vulnerability could potentially allow attackers to manipulate 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: Insufficient Code Coverage ### Description The [codebase](https://github.com/NethermindEth/forta-staking-vault/tree/ce87cffbf813e27cc83157933760b51fa44a1885/) exhibits insufficient code coverage for branches and functions (currently under 77%). This level of coverage may leave critical portions of the code unt...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
true
false
## Low: State changing function doesn 't emit events in executesetliquidationgraceperiod() ### Description The state-changing function `executeSetLiquidationGracePeriod()` is used to set the `liquidationGracePeriodUntil` to the new timestamp. As the function changes the state, it should emit events for parameter chang...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `ShortOrders` can be created with `ercAmount == minAskEth/2`, increasing the gas costs for matching large orders and disincentivizing liquidators from liquidating them ### Description This issue makes use of two properties in the codebase. 1. A `ShortOrder` can be matched such that only `minAskEth/2` remai...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Centralization attack vector is present in `setEnabledState` ### Description **Severity** **Impact:** High, as an owner can block unwrapping of wrapped assets **Likelihood:** Low, as it requires a malicious or a compromised owner **Description** The `setEnabledState` method of `WrappedElon` allows the 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
medium
front-running
false
false
## Medium: Create2 salt based on tx.origin alone ### Description When deploying a proxy from the `PRBProxyRegistry` contract, the `tx.origin` is used together with an incremental nonce (tracked per `tx.origin`) to form the salt for the `CREATE2` when deploying the `PRBProxy` contract. However, this means the proxy 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
token
true
false
## Low: USING ERC721A INSTEAD OF ERC721 FOR MINTING ONLY 1 NFT AT A TIME ### Description The `StakingReward` contract uses the `ERC721A` standard to store the users' staking weight and the corresponding rewards. `ERC721A` is designed to allow multiple mints at the same time with so-called `batch transfers` (the more 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
oracle
false
false
## Medium: `ChainlinkUtil::getPrice` doesn't check if L2 Sequencer is down ### Description **Description:** When using Chainlink with L2 chains like Arbitrum, smart contracts must [check whether the L2 Sequencer is down](https://medium.com/zaros-labs/chainlink-oracle-defi-attacks-93b6cb6541bf#0faf) to avoid stale pric...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
oracle-manipulation
true
false
## Low: Missing common Chainlink Oracle validations ### Description The protocol is missing common [Chainlink Oracle validations](https://medium.com/contractlevel/chainlink-oracle-defi-attacks-93b6cb6541bf); it calls `AggregatorV3Interface::latestRoundData` without any validation of the result: ```solidity function _g...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Floating Pragma ### Description Pragma directives should be fixed to clearly identify the Solidity version with which the contracts will be compiled. Throughout the codebase, multiple instances of floating pragma directives (`^0.8.19`) being used were identified. Consider using fixed pragma directives. ***Up...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
true
false
## Low: VaultRouterBranch::getVaultCreditCapacity does not take zero return into account ### Description The function `getVaultCreditCapacity` computes `totalAssetsMinusVaultDebtX18` by addding `10^decimalOffset` and then subtracting `vaultDebtInAssetsX18`. The `vaultDebtInAssetsX18` can be negative value. So the outp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
timing
true
false
## Low: Lack of minimum threshold for `maxQueryTimestampOffset` in `HubEvmSpokeAggregateProposer` ### Description In the `HubEvmSpokeAggregateProposer` contract, the `setMaxQueryTimestampOffset` function allows the owner to set a new value for `maxQueryTimestampOffset` without enforcing a minimum threshold. The curren...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Bootloader Uses Incorrect Value for System Contract Upgrade Log Key ### Description The [`SystemLogKey` enum](https://github.com/matter-labs/era-contracts/blob/abcbaf390a30c09eb53ae83d84bebab95a8003f7/l1-contracts/contracts/zksync/interfaces/IExecutor.sol#L8-L19) is employed by the L2 system contracts to di...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of Configurability in MultiSigWallet ### Description The `MultiSigWallet` contract has a few significant limitations in its current implementation: 1. **No way to change** `_numConfirmationsRequired`: The number of confirmations required to execute a transaction is set during contract construction but ca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Accuracy loss during swapping GBT for Gumball NFTS. ### Description **Description** Gumball.sol: function swap(). During swap, the quantity of NFTs, which can be minted for provided amount of GBT, is calculated. Since one NFT is worth Y GBT (YeY8 in wei amount), in case the user provides an amount, which is ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
false
false
## Medium: UNTRUSTED PLUGIN USAGE CAN CAUSE DOS ### Description Installing or upgrading a plugin without prior validation can lead to the contract and DAO being nonfunctional. This is possible if a plugin does self-destruct during the installation or upgrade. Furthermore, not only caution should be taken during the in...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
true
false
## Low: Code Repetition ### Description ## Code Optimization in Rust Functions In `switchboard::get_switchboard_price`, the code segment responsible for converting the price to decimal may be substituted with the utilization of the pre-existing `utils::price_to_decimal`, eliminating repetitive code. This same optimiz...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [13] DEFINITIONS OF `UNSET_FLAG` AND `ALLOW_FLAG` ARE INCORRECT IN DOCUMENTATION ### Description https://devs.aragon.org/docs/osx/how-it-works/core/permissions/#permissions shows that for `permissionsHashed`, "the `bytes32` keys are the permission hashes and the address values are either zero-address flags, su...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Function Selector Based Permissions May Break During Contract Upgrades ### Description `PermissionController` uses function selectors to determine if a caller has permission to execute a specific function. This functionality may not be compatible with contract upgrades, as the function selector will change whe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TRST-M-4 The swap when closing a position does not consider shareProfitAmts ### Description **Description:** When closing a position, token swap is performed to ensure that the closer can repay the debt, for example, when **operation == EXACT_IN**, tokens of **borrowAmt** are required to be excluded from ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Principal withdrawal may be blocked by insufficient rewards wallet balance in `DIAWhitelistedStaking` ### Description The `unstake()` and `unstakePrincipal()` functions in `DIAWhitelistedStaking` require mandatory reward payments from the external `rewardsWallet` before allowing principal withdrawal. When `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: if the Virtual Account's owner is a Contract Account (multisig wallet), attackers can gain control of the Virtual Accounts by gaining control of the same owner's address in a different chain ### Description Attackers can gain control of User's Virtual Accounts and steal all the assets in these accounts held i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: No Need to Use Namespaced Storage in Pools ✓ Fixed ### Description The pool contract uses namespaced storage (cf. [ERC\-7201](https://eips.ethereum.org/EIPS/eip-7201)) instead of the “normal” Solidity storage layout. The former is slightly harder to read, requires some boilerplate code, and most likely increas...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
false
false
## High: Destruction of the EnsoWallet implementation contract ### Description An attacker can make a direct call (not via proxy) to [EnsoWallet.initialize()](https://github.com/EnsoFinance/shortcuts-contracts/blob/4902e55608f975f73772310955444110b1cfc4fc/contracts/EnsoWallet.sol#L24) and execute the SELFDESTRUCT opco...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `IOracle.queryExchangeRate` returns incorrect `blockTimeMs` ### Description The `IOracle.queryExchangeRate` offers the following lookup functionality, in analogy to other oracles like Chainlinks': If we focus on the `blockTimeMs` returned value, this is meant to correspond to the time when the price was 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...
solodit_api
high
overflow
false
false
## Severity: High Risk ## Context - Space.sol#L132 - Space.sol#L133 - Space.sol#L182 - Space.sol#L213 - Space.sol#L214 - Space.sol#L263 - Space.sol#L264 - Space.sol#L291 - Space.sol#L300 - Space.sol#L356 - Space.sol#L366 - Space.sol#L369 - Space.sol#L373 - Space.sol#L379 - Space.sol#L401 - Space.sol#L418 - Space.sol#L...
Spearbit
5
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
overflow
false
false
## Low: Outdated solidity compiler versions are being used ### Description The repository is using compiler versions that are less than 0.8.0 which is not recommended. Newer versions incorporate enhanced security features, addressing vulnerabilities present in older releases. In the specific case of pragma versions >=...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: Code quality comments ✓ Fixed ### Description #### Resolution 1. Fixed in [GammaStrategies/[email protected]`9a7a3dd`](https://github.com/GammaStrategies/hypervisor/commit/9a7a3dd88e8e8b106bf5d0e4c56e879442a72181) by removing the `from` parameter. 2. Fixed in [GammaStrategies/[email protected]`9a7a3dd`](http...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
true
false
## Medium: Price limit is used as the price range in internal swaps, causing swap TXs to revert ### Description When initializing a swap on Uniswap V4, the user inputs a price limit that represents the sqrt price at which, if reached, the swap will stop executing, from [Uni V4 code](https://github.com/Uniswap/v4-core/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Base Is Incompatible With Chain Fork ### Description In the event of a chain fork, EIP-721 approvals cease to function correctly. ### Impact Loss of ability to validate signature approvals in the event of a chain split.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiple `address` mappings can be combined into a single `mapping` of an `address` to a `struct`, where appropriate ### Description 1. File: contracts/HolyPaladinToken.sol (lines [88-94](https://github.com/code-423n4/2022-03-paladin/blob/9c26ec8556298fb1dc3cf71f471aadad3a5c74a0/contracts/HolyPaladinToken.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
medium
liquidation
true
false
## Medium: Borrower pays interest on their debt while liquidation is running ### Description **Severity** **Impact:** Medium, because the additional interest is limited by the auction cut off time. **Likelihood:** Medium, only an issue if the user is fully liquidated. **Description** The LendingPool doesn't pause ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Vault.initialize lacks some sanity checks for its parameters ### Description The parameters `swapFacility` and `token` are explicit, lacking zero-address validation. The `token` is implicitly checked; if it is not a valid or at least masquerading ERC20 contract, the function will revert. However, the `swapFac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incomplete Generalization [samples] ### Description The `TokenPaymaster` refers to the [native asset](https://github.com/eth-infinitism/account-abstraction/blob/9879c931ce92f0bee1bca1d1b1352eeb98b9a120/contracts/samples/TokenPaymaster.sol#L56) and a [bridging asset](https://github.com/eth-infinitism/account-ab...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Old delegatee not deleted when delegating to new tokenId ### Description [VoteEscrowDelegation.sol#L80](https://github.com/code-423n4/2022-07-golom/blob/8f198624b97addbbe9602a451c908ea51bd3357c/contracts/vote-escrow/VoteEscrowDelegation.sol#L80) In `delegate`, when a user delegates to a new tokenId, the toke...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
false
false
## Medium: Reorg attack on user's Vault deployment and deposit may lead to theft of funds ### Description `VaultDeployer` deploys instances of the `Vault` contract using `create`, where the address derivation depends on the sender's address (= `VaultDeployer`) and its nonce. Although the system is intended to be depl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: 9] Maker and taker assets can be identical ### Description **Severity:** Low **Path:** programs/fusion-swap/src/lib.rs#L28-L104, programs/fusion-swap/src/lib.rs#L295-L446 **Description:** `fusion-swap` does not prevent the creation of orders with identical maker and taker assets. There is unclear economic ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Both reserves should be checked in `LibWell::getWellPriceFromTwaReserves` ### Description **Description:** Currently, `LibWell::getWellPriceFromTwaReserves` sets the price to zero if the time-weighted average reserves of the zeroth reserve (for Wells, Bean) is zero. Given the implementation of `LibWell::setT...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: New subcontractor can be set for a SCConfirmed task without current subcontractor consent ### Description _Submitted by hyh, also found by hansfriese_ Malicious builder/contractor can change the subcontractor for any task even if all the terms was agreed upon and work was started/finished, but the task was...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Event is never used. ### Description **Description** MiddleFee Distribution.sol: MintersUpdated() Mint method was removed from the contract but the corresponding event remains present. **Recommendation**: Remove unused event. **Post-audit**: Radiant team has removed unused event.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The `refund` mechanism can be used by accounts with allowances ### Description The `refund` method calls `_burn` which would allow burning a token if you have allowances for it. While this is a highly unlikely scenario to occur as it also requires the `msg.sender` to have `totalMinted` and `availableRefund` va...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
false
false
## Medium: `ValidatorWithdrawalVault.settleFunds` doesn't check amount that user has inside `NodeELRewardVault` to pay for penalty ### Description `ValidatorWithdrawalVault.settleFunds` doesn't check amount that user has inside `NodeELRewardVault` to pay for penalty. That value can increase operator's earned amount, 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
liquidation
false
false
## Low: The fee values can distort the incentives for the borrowers and lenders ### Description Arcade V3 contains nine fee settings. Six of these fees are to be paid by the lender, two are to be paid by the borrower, and the remaining fee is to be paid by the borrower if they decide to mint a new vault for their coll...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `lpEarnings` generated in emergency mode become stuck on the contract ### Description ### Finding description and impact As stated in the contest README, emergency mode is an **unrecoverable** state. This means that the protocol does not intend to exit emergency mode once it is activated. This means that ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
true
false
## Low: Using front-run or a reorg attack it is possible steal higher value deposits from the sender by shifting NFT ID ### Description If a user performs at least two deposits and a transfer in the same block it can encourage the receiver to front-run or reorg if one of the deposits has a much higher value. ### Impa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Invalid NatSpec comment style ### Description NatSpec [must](https://docs.soliditylang.org/en/latest/natspec-format.html#documentation-example) begin with `///`, or use the `/* ... */` syntax. *There are 3 instances of this issue.* ---
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
false
false
## Medium: Approvals not cleared when transferring profile ### Description _Submitted by cmichel_ [ApprovalFollowModule.sol#L32](https://github.com/code-423n4/2022-02-aave-lens/blob/aaf6c116345f3647e11a35010f28e3b90e7b4862/contracts/core/modules/follow/ApprovalFollowModule.sol#L32) The `ApprovalFollowModule.approve`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: after shut, no pulled redistribution yang will be locked ### Description In `caretaker.release()`, we can release the remaining yang: As above, we can only release the yang that already exists in the trove: `shrine.get_deposit(*yang, trove_id);`. When `shire.get_live() == false`, we can no longer perform...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [07] ### Description If the `Governor` contract would ever contain ETH (e.g, after a `selfdestruct` of some other contract), it could not be retrieved, as the `execute` function can only forward the received ETH, but not use its 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
low
other
true
false
## Low: **Misleading event** ### Description **Description** In `SecondaryPoolBWT.sol` file, there are two misleading events: **Recommendation**: Depending on requirements, switch tokens or events. For example, in case of tokens: set black on line 429 and white on line 470.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Increased risks of unwanted share price manipulation by manipulating the pocket USDC balance ### Description The `PSM3.sol` contract includes a pocket contract designed to store the USDC balance. By default, this pocket is set to the PSM address (`address(this)`), but it can be modified by invoking the `setPoc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 non-zero amount check for swap functions in SEuroOffering. ### Description **Description** SEuroOffering.sol body of swap(...) & swapETH(): input amount and msg.value are not required here to be non-zero leading to unnecessary computation. **Recommendation** Add checks to ensure input amount and 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
other
true
false
## Low: Inconsistent account tag serialization ### Description ## Inconsistent Serialization of Account Tags Account tags are serialized to buffers with inconsistent sizing. In Aob, the `MarketState` tag is serialized as `u64`, while the `EventQueue` and `Slab` tags are serialized as `u8`. In Dex, the `DexState` and ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Styling ### Description There should be space between operands in mathematical computations ### PROOF OF CONCEPT Instances include: #### stableswap/BaseV1-periphery.sol l134 routes.length+1 l139 amounts[i+1] l366 routes[i+1].from, routes[i+1].to, routes[i+1].stable ### MITIGATION Add spaces, e.g ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [13] Operator can collude with DSS for stealing stakers' deposits ### Description It is possible that an operator colludes with a DSS. Similar to the normal workflow, the operator would register with the DSS, deploy an vault, and stake such vault to such DSS. After stakers make enough deposits into the operato...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
flash-loan
false
false
## Low: Flash fee is not taken from receiver ### Description The Flashmint module allows users to mint a percentage of the total yin supply at once as long as they repay the yin at the end of the transaction. In addition, a user must also pay a fee for this flashmint, given by the `FLASH_FEE` constant. The Flashmint m...
0