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
false
false
## Low: Immutable addresses lack zero-address check ### Description Constructors should check the address written in an immutable address variable is not the zero address ### Proof of Concept Instances include: #### InfinityExchange.sol [WETH = \_WETH](https://github.com/code-423n4/2022-06-infinity/blob/765376fa23...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Centralization Risks in Emergency Scenarios ### Description This issue has been identified within the overall design of the `SelfPeggingAsset` contract. The contract lacks an emergency redemption mechanism for users to withdraw their tokens when losses from exchange rate fluctuations exceed the buffer cap...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential Revert on Zero Bribe Amount ### Description In `Locker.bribe()`, when the locker is staked, the function computes `bribeAmount` and calls `Locker._bribe()` unconditionally. If `bribeAmount` equals zero (for example, when `_percentage` is zero, rounding down to zero, or no rewards were claimed), the d...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
true
false
## Low: Verify period is always a multiple of week ### Description The calculations with `period` assume that `period` is a multiple of `WEEK`. However, `period` is often assigned as a parameter and not verified if it is a multiple of `WEEK`. This calculation may cause unexpected results. **Note:** When it is verifie...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: End epoch cannot be triggered preventing winners to withdraw ### Description ### Impact At the end of an epoch, the [triggerEndEpoch(...)](https://github.com/code-423n4/2022-09-y2k-finance/blob/2175c044af98509261e4147edeb48e1036773771/src/Controller.sol#L198) is called to trigger 'epoch end without depeg eve...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Consider having limit on gas fee charged ### Description There is no limit to the gas fee charged. While it is claimed that “there are no incentives for the executors”, in reality, executors can be indirectly incentivised by inflating the gas price so that they will be credited a higher fee. The fee can be as...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Verifier is using a draft version of OpenZeppelin contracts ### Description The EIP1271Verifier contract currently uses a draft version of the OpenZeppelin contracts. Since EIP-712 has been finalized and is no longer in draft state, it would be more appropriate to use the standard version of EIP-712. ### Recom...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Some vesting recipients temporarily won't be able to claim ### Description **Impact:** Medium, as funds will be locked for 30 days **Likelihood:** Medium, because it will only happen when the cliff is < 30 day **Description** The `SLICE_PERIOD` constant in `Vesting` is set to 30 days. Due to the followin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TractorFacet return the wrong values for Tractor Counter ### Description TractorFacet will always return the wrong value for `getCounter` and `updateCounter` functions. But those can only work while running through a Blueprint call(while the activePublisher is set). This will prevent users to make external cal...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `_updateMessagesValidityTimestamp()` can set a validity timestamp for a wrong `chainId` ### Description There are no checks in `CrossChainReceiver._updateMessagesValidityTimestamp()` that a chain id is supported by the receiver. So, a validity timestamp can be set for any chain id. It makes more difficult to i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
false
false
## Medium: Incomplete Role Renunciation in TaikoTimelockController Deployment - Phase 2 ### Description The deployment script [`DeployOnL1`](https://github.com/taikoxyz/taiko-mono/blob/b47fc34cb0e7fe9b7ebd9416b3051a067483b860/packages/protocol/script/DeployOnL1.s.sol#L38) is used by the Taiko team to set up the contra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `TpdaLiquidationPair.swapExactAmountOut()` can be DOSed by a vault's mint limit ### Description By repeatedly DOSing `TpdaLiquidationPair.swapExactAmountOut()` for a period of time, an attacker can swap the liquidatable balancce in a vault for profit. ### Impact By depositing funds into a vault to reach 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
liquidation
true
false
## High: Minipools can borrow from lending pool reserves that are not borrowable ### Description In this context, unlike the borrow flow of the lending pool, we don't check whether: - The reserve is not frozen. This check is later performed when one deposits assets into the lending pool again when calling: ```so...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: The Aave pool is hardcoded ### Description The Aave pool is hardcoded and its not recommended by aave doc. ### Impact Breaking of core logic and every calls to Aave pool can be revert
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Minting Fails When Width and Tick Spacing Are Both Equal to 1 ### Description When creating a `tokenId`, specifying a `width` equal to 1 and the underlying pool has a `tickSpacing` of 1, a rounding to zero occurs and the resulting lower and upper tick will be the same as the strike. This will eventually fail 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
medium
other
true
false
## Medium: TRST-M-4 Incorrect decoding of universalReceiver() call ### Description **Description:** Some contracts use the utility below to interact with the registered universal receiver delegate. The `universalReceiver()` function has to return a **bytes** type. However, the wrapper above will only decode the 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
low
other
false
false
## Low: [24] Protocol should be deployment ready ### Description Across scope there are multiple instances of core files that have not been implemented that are core to the product being live, this can be seen by searching `todo` through the repo, where we have the following results: To hint one, the security is 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
high
reentrancy
true
false
## High: Direct theft of buyer’s ETH funds ### Description [Exchange.sol#L168](https://github.com/code-423n4/2022-11-non-fungible/blob/323b7cbf607425dd81da96c0777c8b12e800305d/contracts/Exchange.sol#L168) [Exchange.sol#L565](https://github.com/code-423n4/2022-11-non-fungible/blob/323b7cbf607425dd81da96c0777c8b12e80030...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Silent Underflow to Zero ### Description **Update** Acknowledged in: `2ff87d9`. The client provided the following explanation: > The potential for the read() function in InverseApi3ReaderProxyV1.sol to return 0 due to integer division underflow is an intentional design choice. This prioritizes maximum gas eff...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of safe transfer mechanism ### Description The function `MarginAccount::withdrawERC721` facilitates the transfer of ERC721 tokens previously deposited into the protocol using `MarginAccount::provideERC721`. This function allows approved operators or the owners of the `MarginAccount`, which itself is an ER...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unreachable code. ### Description **Description** The following code cannot be reached: Lines: 260, 395, 649; 300; 377; 380; 455, 539, 599; 623; 629. _payMe(), addReward(), _renew(), _claimRewards(), _payDirect(), claimRewards(), claimOldRewards() functions always return "true" or revert, "false" will not 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
medium
initialization
true
false
## Medium: Inconsistent State Restoration in `cancelWithdrawal` Function ### Description ### Finding Description and Impact **Root Cause** The [cancelWithdrawal function](https://github.com/code-423n4/2025-04-kinetiq/blob/7f29c917c09341672e73be2f7917edf920ea2adb/src/StakingManager.sol# L919) in `StakingManager.sol` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Insufficient Validation Of Decryptable Balance ### Description The vulnerability concerns the `decryptable_available_balance` field in the `process_withdraw_withheld_tokens_from_accounts` function. This field represents the balance that the authority may decrypt. ### Recommendation Implement a check to 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
high
front-running
true
false
## High: DOS in queue processing if async cancellations are allowed ### Description **Description:** The `cancelRedeemRequest()` function can be used to DOS the queue processing (ie. `processUpToShares()` and `processUpToRequestID()` can be made to revert). This is the attack path : - `cancelRedeemRequest()` marks `s...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Ownership Can Be Renounced ### Description **Update** Marked as "Fixed" by the client. Addressed in: `6e0ede085d8c725e95e865a67b498bd6428d1597`, `ae0fe9cf9b788b093bdb88681e476faa382cd08d`. The client provided the following explanation: > Ownership renounced reverts now **File(s) affected:**`AccessToken.sol`,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unnecessary modifier. ### Description **Description** Line 634. Validating that strategies' length is greater than 0 is unnecessary, since any deployed vault is validated in vaultRegistry. Validation that strategies' length is greater than 0 is performed in Controller.sol(line 207). **Recommendation**: 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
high
reentrancy
false
false
## High: Reentrance vulnerability in `processRewards()` and `updateStakeLock()` Functions ### Description **Severity**: High **Status**: Resolved **Location**: PoolBase.sol **Description** The `processRewards()` and `updateStakeLock()` functions in the `PoolBase.sol` contract are exposed to reentrancy attacks. 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
token
false
false
## Low: Typos ### Description `owner` => `owner_` [IERC20.sol#L129](https://github.com/maple-labs/erc20/blob/10ccf4aa0b2d6914e3c2d32e454e4d106a99a4fd/contracts/interfaces/IERC20.sol#L129) [IERC20.sol#L132](https://github.com/maple-labs/erc20/blob/10ccf4aa0b2d6914e3c2d32e454e4d106a99a4fd/contracts/interfaces/IERC20.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
token
false
false
## Medium: rageQuit() cannot transfer ERC1155 fungible tokens ### Description Rage quitter loses his ERC1155 fungible tokens. ### Proof of Concept `PartyGovernanceNFT` is PartyGovernance which is an `ERC1155Receiver`. But `rageQuit()` only sends ETH, with `call()`, and ERC20-tokens, with `transfer()`. ERC1155-tokens...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
false
false
## Medium: A single malicious observer can exploit the infinite gas meter to grief ZetaChain blocks without proper gas compensation ### Description ZetaChain blocks can be griefed by a single observer, possibly preventing other transactions from being processed. ### Proof of Concept A Cosmos SDK app's ante handler 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
gas
other
false
false
## Gas: Using `calldata` instead of `memory` for read-only arguments in `external` functions saves gas ### Description When a function with a `memory` array is called externally, the `abi.decode()` step has to use a for-loop to copy each index of the `calldata` to the `memory` index. **Each iteration of this for-loop ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [08] If a token that yields RSR would be used as collateral then 100% of the yield would go to StRSR ### Description This isn’t very likely to happen (currently the only token that yields RSR is StRSR of another RToken) but it’s worth keeping an eye on 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
gas
other
false
false
## Gas: Multiple levels of abstraction result in the same values being repeatedly read from storage over and over again ### Description **Description:** Multiple levels of abstraction in the codebase result in the same values being repeatedly read from storage over and over again. For example, `SettlementBranch::_fil...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Pod: Having multiple token drops is inconsistent ### Description The `Pod` contract had the `drop` storage field and mapping of different `TokenDrop`s `(token => TokenDrop)`. When adding a new `TokenDrop` in the mapping, the `drop` field is also changed to the added `_tokenDrop`: **code/pods-v3-contracts/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Incorrect accounting in LockingController.applyLosses function ### Description In the `applyLosses` function, the code attempts to distribute the negative `yield_amount` among each epoch bucket by computing: ```solidity uint256 allocation = epochTotalReceiptToken.mulDivUp(_amount, _globalReceiptToken); _glob...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Business Logic
true
false
Source: https://github.com/sherlock-audit/2023-01-ajna-judging/issues/105 ## Found by hyh ## Summary User facing mergeOrRemoveCollateral() can effectively remove collateral, but lacks _revertIfAuctionClearable() check, i.e. allows to remove it while auction wasn't cleared. ## Vulnerability Detail mergeOrRemoveCo...
Sherlock
4
Ajna
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users with pre-campaign trades will drain cashback funds by claiming retroactive rewards for periods before campaign existed ### Description The contract contains a `cashbackClaim.startTime` field that defines when the campaign begins, but this field is never validated or used in reward calculations. As a res...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Mitigate Curve LP Token Price Manipulation ### Description ## Treasury Contract Analysis The `Treasury.sol` file calculates the `mintAmount` and `redeemAmount` by fetching the price of the LP tokens using `get_virtual_price`. This price may be manipulated temporarily with the help of read-only reentrancy. Sin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing events for critical functions ### Description **Severity**: Informational **Status**: Acknowledged **Description** Critical functions like setMainChainId(), setRemoteDelegate(), and setMinRemoteCastGas() in PendleVoteManager contracts do not emit an event. The same goes for setPendleVoteManager() 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...
cyfrin_structured
low
token
true
false
## Low: Cache compliance service and compliance configuration service for much cleaner code in `ComplianceServiceRegulated::completeTransferCheck` ### Description `ComplianceServiceRegulated::completeTransferCheck` has a lot of `if` statements which are very large and hard to understand as they are full of `Compliance...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Code contains empty blocks ### Description There are some empty blocks, which are unused. The code should do something or at least have a description why it is structured that way. Other instances:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
true
false
## High: Reward share calculations do not re�lect balance changes ### Description To withdraw ETH from a strategy, the contract calls `getPendingRewards` to calculate the amount of rewards owed to the user. This calculation is based on the current value of the user’s net deposits and the time since the user’s first de...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Governance Voting Dis-proportionally Favours Users Who Stake And Vote After A Poll Has Been Created And Had Its Snapshot Taken ### Description Polls are created by targeting the `receive_cw20` function which is queried whenever the contract receives tokens. By setting the hook message to `Cw20HookMsg::Creat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unused Code ### Description **Update** Fixed in: `129c7b82dfd4ec489abf686578903bd73e671457`. The client provided the following explanation: > _1. We intended to leave this as it is in case a new version of an adaptor is deployed that uses this function._ > > > _2. Fixed (removed)_ **File(s) affected:**`Aa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: msg.value == 0 checked 3 times ### Description You can avoid checking for `msg.value == 0` multiple times by only enforcing these require conditions when `msg.value != 0`. ### Recommendation Consider enforcing these conditions as follows: ```solidity require(!lotteryLock, "Lottery is currently running!"); 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
medium
initialization
false
false
## Medium: Hardcoding gas costs should be avoided ### Description **Likelihood:** Medium, because changes to gas costs have happened before, but it is not certain that there will be changes that affect the protocol. **Impact:** Low, because even though calculations will be wrong they can still be done off-chain **De...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TRST-L-5 Strategy deployer has privileges intended only for multisig addresses. ### Description **Description:** When V3 Strategy is initialized, different roles are given to privileged addresses: As the previous @audit note says, it is really important to not permit msg.sender to be **DEFAULT_ADMIN_ROLE**....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: It may be possible to DoS AuctionHouse by specifying malicious creators ### Description **Note:** *there is another bug in `AuctionHouse::_settleAuction` that causes DoS (querying `verbs.getArtPieceById` too many times), but this submission describes another issue and from now on, **I assume that `verbs.get...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Stack traces in Express are not disabled ### Description The `NODE_ENV` environment variable is not set to production in the claim-backend component. As a result, the underlying Express web framework returns errors to the client along with a stack trace (figure 7.1), which exposes internal claim-backend paths ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
false
false
## Medium: An incorrect decimal supplied to initializeSwap for a token cannot be corrected ### Description Once a swap is initialized by the owner or an admin (indexed by the `key` parameter), the decimal precisions per token, and therefore `tokenPrecisionMultipliers`, cannot be changed. If the supplied decimals inclu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Front-Run Keeper Rewards ### Description **Update** Since there is no easy solution for now, the team states that they might introduce keeper consensus and dynamic changing reward system in the future to mitigate this. The following is the original statement from the team: > We agree that it may be easier...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Missing Zero Address Validation in Contract Setters ### Description Several contracts within the system lack necessary validations to prevent the assignment of the zero address (0x0) in their setter functions, specifically in `setBalanceManager` and `setFeeCollector` methods. This oversight could lead to 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
high
other
false
false
## High: Incorrect Burn Operation in `eject()` Function ### Description **Update** Marked as "Fixed" by the client. Addressed in: `6daf6a0a70faef0208ca3aa3e16414d6bbee14a7`. Recommendation implemented. **File(s) affected:**`TokenLocker.sol` **Description:** The function `eject()` iterates through a list of accounts...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Low: Setting `deposit.owner = address(0);` is not required ### Description *There is 1 instance of this issue:* https://github.com/code-423n4/2023-09-maia/blob/f5ba4de628836b2a29f9b5fff59499690008c463/src/BranchBridgeAgent.sol#L444 Setting `deposit.owner` to `address(0)` is not required on Line 444 since we alrea...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of getter function for permissions ### Description The contract lacks a getter function to retrieve an account's permissions or specific permission details. This creates a usability barrier, especially for less sophisticated/technical users. Currently, users must have specific `SpendPermission` details to...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: [05] Use of deprecated `safeApprove` function in V3Migrator contract ### Description The contract uses `safeApprove` to manage token approvals during the migration process from V2 to V3 pools. While functional, this method is deprecated due to potential issues with repeated approvals and is not recommended 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
front-running
true
false
## Low: acceptBidForNFT() should allow accepting the bid when highestBid > bidAmount ### Description The `acceptBidForNFT()` function is designed for sellers to accept open bids on a `BUY_IT_NOW_WITH_BIDS` listing. It takes an `expected bidAmount` as input from the seller to protect them from frontrunning attacks 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
high
overflow
true
false
## High: Incorrect loop condition. ### Description **Severity**: High **Status**: Resolved **Description** PROPCStakingV2.sol: redeem(), redeemAll(). The function redeem uses the loop to go through the array of all the user's stakes. Since the array is walked from the last to the first stake, the loop sooner or lat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Utilization of Improper Payer Account ### Description ## Close Expired Listing and Delist Core Functionality In `close_expired_listing::process_close_expired_listing_core`, the `list_state` account is currently utilized as the payer for the `TransferV1CpiBuilder` CPI (Cross-Program Invocation). The `list_s...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Missing event and or timelock for critical parameter change ### Description Events help non-contract tools to track changes, and events prevent users from being surprised by changes. *There is 1 instance of this issue:* https://github.com/code-423n4/2022-12-gogopool/blob/aec9928d8bdce8a5a4efe45f54c39d4fc731...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `totalTokens` doesn't count native coin ### Description Consider including native coin too. [Test file can be found here](https://gist.github.com/T1MOH593/b6f988b6e9902d97ab8f8c07779cb28f) Recommendation:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Hardcoded ERC20 Names ### Description The `WrappedTokenUpgradeable` contract uses hardcoded default values `"Test"` for the `name` and `symbol` of the ERC20 token. These values are not configurable through the initializer, which can lead to unexpected or inappropriate token names during deployment. ### Recomm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Newly deployed Scribe instances can receive old data as first value ### Description When a new instance is deployed, arbitrarily old data for the same `wat` (for example from a different chain) can be submitted and will be the oracle's value until a new one is produced and submitted. From the functionality poin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Precision Loss in `notifyRewardAmount` Function Causes Unclaimable RewardToken ### Description In the `StakedEXA` contract, the `notifyRewardAmount` function suffers from precision loss when calculating the reward rate, leading to some rewards being locked and unclaimable. ### Impact The precision loss 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
high
token
true
false
## High: Calling the transferReserveToAuction will revert due to increase in currentPeriod ### Description The auction contract calls the [transferReserveToAuction](https://github.com/sherlock-audit/2024-12-plaza-finance/blob/14a962c52a8f4731bbe4655a2f6d0d85e144c7c2/plaza-evm/src/Pool.sol#L577) function to pull the ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: `_buyoutLien()` does not properly validate the liquidationInitialAsk ### Description Illegal liquidationInitialAsk, resulting in insufficient bids to cover the debt. ### Proof of Concept \_buyoutLien() will validate against liquidationInitialAsk, but incorrectly uses the old stack for validation ### 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
low
initialization
true
false
## Low: The age of the pokeData is updated once accepted ### Description When data is created offchain, an age is defined which represents the timestamp of the data creation. Once that data reaches the chain via the poke function, the age is updated to `block.timestamp`, invalidating the initial value. This can cau...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
signature
true
true
* If a maker makes below mentioned `AvoidsFeesContract` a [reservedAddress](https://github.com/code-423n4/2022-07-golom/blob/main/contracts/core/GolomTrader.sol#L220) and hides the info about how much they want their NFT in [order.root](https://github.com/code-423n4/2022-07-golom/blob/main/contracts/core/GolomTrader...
Code4rena
5
Golom
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Eliminate Possibility Of Underflow ### Description ## Issue with record::unwrap In `record::unwrap`, the starting epoch of the staked SUI stored in `PendingStakeRecord` is calculated by subtracting one from `stake_activation_epoch(&staked_sui)`. When that return value is zero, an underflow may occur and cease...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Fallback Handlers Can Be Installed with Invalid Calltype ### Description In ModuleManager contract, \_installFallbackHandler(module, initData) installs fallback handler without checking the calltype value. This fallback handler cannot be called by Nexus. ### Impact ModuleManager's fallback function defined as...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Optimization ### Description **Severity**: Low **Status**: Unresolved **Description** In contract DistributionManager.sol, In the function queueFees `if` check condition is used for zero amount check. In this case, if the given amount is zero, queuedNative isn’t changed, but the transaction will be succe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unbounded and invalidly bounded system parameters may cause undefined behavior ### Description Many system parameters are unbounded or are bounded incorrectly; this increases the risk of undefined system behavior. For example, when the `BasketHandler` contract creates the target basket configuration, it does...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Hardcoded Block Time Assumptions in Beanstalk's LibDibbler ### Description Beanstalk's LibDibbler library assumes a specific block time of 2 seconds (L2\_BLOCK\_TIME = 2) for the Layer 2 (L2) network. This assumption affects the temperature calculation in the morningTemperature function. If Beanstalk...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 front-run and pass in empty terms, making it impossible to `confirmTerms()` ### Description In `PoolOfferHandler`, setting new terms requires two steps (`setTerms()` and `confirmTerms()`). The `setTerm()` function is `onlyOwner`, but anyone can call the `confirmTerms()` function. At the end 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
gas
other
true
false
## Gas: [16] Using `private` rather than `public` for constants, saves gas ### Description If needed, the value can be read from the verified contract source code. Savings are due to the compiler not having to create non-payable getter functions for deployment calldata, and not adding another entry to the method ID ta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
critical
other
false
false
## Critical: Anyone can submit proofs via EigenPod `verifyAndProcessWithdrawals` to break the accounting of `withdrawRewards` ### Description `CasimirManager::withdrawRewards` is an `onlyReporter` operation that performs the key tasks below: 1. Submits proofs related to the partial withdrawal of a validator at a giv...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
false
false
## High: Inaccurate calculations of fee shares for DAO. ### Description **Description** StWSX.sol: oracle Claim Rewards(). When rewards are claimed, part of them are allocated to the DAO in the form of shares as protocol fees. However, the fees are not calculated accurately since the whole amount of the reward amount...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [02] Chainlink's VRF V1 is deprecated ### Description VRF V1 is [deprecated](https://docs.chain.link/docs/vrf/v1/introduction/), so new projects should not use it *There is 1 instance of this issue:* https://github.com/code-423n4/2022-09-artgobblers/blob/d2087c5a8a6a4f1b9784520e7fe75afa3a9cbdbe/src/utils/ra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of zero address check ### Description Some functions in the codebase do not include a **zero address check** for their parameters. If one of those parameters is mistakenly set to zero, it could affect the correct operation of the protocol. The affected functions are the following: * `DataStore.setAddress...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
signature
true
false
## Gas: `<array>.length` should not be looked up in every loop of a `for`-loop ### Description The overheads outlined below are _PER LOOP_, excluding the first loop * storage arrays incur a Gwarmaccess (**100 gas**) * memory arrays use `MLOAD` (**3 gas**) * calldata arrays use `CALLDATALOAD` (**3 gas**) Caching the 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
low
token
false
false
## Low: Install OpenZeppelin via npm ### Description Code from `SafeMath`, `Ownable`, `ERC20Basic`, `ERC20`, `BasicToken`, and `StandardToken` was copied from OpenZeppelin into the files [SafeMath](https://github.com/unikoingold/UnikoinGold-UKG-Contract/blob/8b38f30039c2d13383c416fd6143f6bd0f091404/contracts/SafeMath....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User can always inflate the `totalSellReserveAmount` variable to block the auction from being ended ### Description User can always inflate the [`totalSellReserveAmount`](https://github.com/sherlock-audit/2024-12-plaza-finance/blob/main/plaza-evm/src/Auction.sol#L151) variable to block the auction from bein...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiple compiler versions allowing a wide range from 0.5.0 to >=0.8.0 ### Description ## Handle 0xRajeev ## Vulnerability details ## Impact Project uses multiple compiler versions with most specifying ^0.8.0, some specifying >=0.8.0 which allows breaking versions >= 0.9.0 in future if reused/redeployed, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
oracle
true
false
## Gas: Internal/Private 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. Affected code: https://github.com/code-423n4/2023-01-ondo/blob/f3426e5b6b4561e09460b2e6471eb...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Type Check While Placing Order ### Description ## Order Type Verification Issue In the functions `market::place_market_order` and `market::place_limit_order()`, when placing an order, there is no type verification against the original market types. Usually, the market should only allow orders of the ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
medium
access-control
true
false
## Medium: Duplicated validation can be moved to shared internal function ### Description Currently, both `RiskOracle::publishRiskParameterUpdate` and `RiskOracle::publishBulkRiskParameterUpdates` contain essentially the same validation: ```solidity // `RiskOracle::publishRiskParameterUpdate`: require(validUpdateTypes...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ForceWithdraw Can Be Blocked ### Description Force withdraw can be blocked since `CashAsset::forceWithdraw()` will withdraw the cash balance to the owner address. If a user controls an address which was blacklisted by USDC, then they can prevent being force withdrawn by transferring their sub account NFT to ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Emergency Pause Mechanism for RequestOracle ### Description The `RequestOracle` contract lacks an emergency pause mechanism for user-triggered function `request`: - Limited administrative control during unexpected scenarios Key considerations: - Providing administrators with rapid incident response capabiliti...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Business Logic
true
true
**Description:** There is an issue in the integration with the GMX V2 trading platform, specifically in the [`GMX_Module::gmxv2_update`](https://github.com/d2sd2s/d2-contracts/blob/c2fc257605ebc725525028a5c17f30c74202010b/contracts/modules/GMXV2.sol#L140-L148) function: ```solidity function gmxv2_update( bytes32 ke...
Cyfrin
5
D
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unlimited Token Address Overwrites by Admin ### Description In the `L2WrappedBaseTokenStore` contract, the `admin` can overwrite the `l2WBaseTokenAddress` mapping for any `chainId` an unlimited number of times. This lack of restrictions on address overwrites allows the `admin` to change L2 token addresses 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: Non-zero operator.limit should always be greater than or equal to operator.funded ### Description For the subtraction operation in `OperatorsRegistry.1.sol#L428-L430` to not underflow and revert, there should be an assumption that ``` operators[selectedOperatorIndex].limit >= operators[selectedOperatorIndex...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: NGINX Server Configurations Should Be Improved ### Description **Update** Marked as "Fixed" by the client. Addressed in: `c5c323a`. The client provided the following explanation: Have added all recommended changes to nginx.config, was split across multiple commits so just look at latest **Description:** 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
access-control
true
false
## Gas: [G‑16] Functions guaranteed to revert when called by normal users can be marked `payable` ### Description If a function modifier such as `onlyOwner` is used, the function will revert if a normal user tries to pay the function. Marking the function as `payable` will lower the gas cost for legitimate callers bec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Losses of some long traders can eat into the margins of others ### Description The losses of some long traders can eat into the margins of others, resulting in those affected long traders being unable to withdraw their margin and profits, leading to a loss of assets for the long traders. ### Impact Loss 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
medium
other
false
false
## Medium: `s_defaultClientBasisPoints` should be restricted ### Description `s_defaultClientBasisPoints` should be less than 10_000 https://github.com/p2p-org/eth-staking-fee-distributor-contracts/blob/30a7ff78e8285f2eae4ae552efb390aa4453a083/contracts/feeDistributorFactory/FeeDistributorFactory.sol#L52 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
gas
other
true
false
## Gas: Do not calculate constants ### Description Due to how constant variables are implemented (replacements at compile-time), an expression assigned to a constant variable is recomputed each time that the variable is used, which wastes some gas. *Instances include:* https://github.com/code-423n4/2022-07-golom/blob...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [01] No point in using regular http request over `batchhttperequest` ### Description https://github.com/code-423n4/2024-03-phala-network/blob/a01ffbe992560d8d0f17deadfb9b9a2bed38377e/phala-blockchain/crates/pink/runtime/src/capi/ecall_impl.rs#L299-L300 Since the len in `batchhttprequest` is not restricted to ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: BoringOwnable is Unused ### Description Both contracts `FuroStream` and `FuroVesting` are inheriting from the contract `BoringOwnable`. However, neither of the contracts use any of the modifiers, functions or variables from `BoringOwnable`. In the case of `FuroVesting`, which uses the term "owner" to refer 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
access-control
true
false
## Low: Move `require` check to top of function ### Description The `require` check in `PermissionlessBasicPoolFactory#addPool` comes after several state changes. Consider moving it to the top of the function to follow the checks-effects-interactions pattern. [`PermissionlessBasicPoolFactory.sol#L112`](https://github...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of input validation ### Description The [`OptimisticGovernor`](https://github.com/UMAprotocol/protocol/blob/fca8e24275e928f7ddf660b5651eb93b87f70afb/packages/core/contracts/zodiac/OptimisticGovernor.sol) contract has a general lack of input validation. For instance, the [`setUp`](https://github.com/UMA...
0