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
token
false
false
## Low: [10] Persistent ERC‑20 allowances let targets drain wallets later ### Description ### Vulnerability details `_injectAndExecuteCall` uses `SafeERC20.forceApprove` to grant `target` an allowance equal to the wallet’s full balance but never revokes it after the call. **Attack path:** a benign-looking contract r...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
false
false
## Medium: Work with incorrect decimals ### Description Price feed can return price with not 18 decimals: https://github.com/Gearbox-protocol/gearbox-contracts/blob/0ac33ba87212ce056ac6b6357ad74161d417158a/contracts/oracles/PriceOracle.sol#L56 ### Recommendation We recommend to check decimals of the `priceFeeds[token...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Imbalance in LST Supply ### Description ## Issue Report: Validation of Relationship in `create_lst_with_stake` Currently, the `create_lst_with_stake` function does not validate the relationship between the SUI, `fungible_staked_sui`, and `lst_treasury_cap.total_supply` values. The function only ensures 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
medium
access-control
false
false
## Medium: Uninstall Process Might Revert Due to Pending Guardian Acceptance ### Description In the current implementation, if an account [passes the entire array of `hashedOriginDomain`s](https://github.com/matter-labs/zksync-sso-clave-contracts/blob/c7714c0fe0a33a23acce5aa20355f088d330b4f7/src/validators/GuardianRec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
integer-overflow
true
false
## Low: `_handleRewards` gas optimisation ### Description `InfraredBGTMetaVault._performDepositRewardByRewardType` is a function that will be called every time rewards are fetched from Infrared vault. The function can be optimized as follows: - Remove the reward amount > 0 check (as listed in [*Redundant check for no...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: `DeployUsdxlUtils`: `usdxlAToken` and `usdxlVariableDebtToken` contracts are deployed twice ### Description Function `_deployUsdxl` deploys `usdxlAToken` and `usdxlVariableDebtToken` token contracts in step 4 and uses their address in different configurations: But in step 8 of `_deployUsdxl`, calls `_initial...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: [04] `WellUpgraedable#upgradeTo` consider renaming `newImplementation` to `newMinimalProxyImplementation` ### Description In [`WellUpgraedable#upgradeTo`](https://github.com/code-423n4/2024-08-basin/blob/7e08ff591df0a2ade7d5618113dda2621cd899bc/src/WellUpgradeable.sol#L99-L114) and `upgradeToAndCall` address a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: `_withdrawAll` is not allowed for afiBase contract ### Description **Severity**: Informational **Status**: Resolved **Description** In Contract AFiBase.sol, the method `_withdrawAll(...)` can be called by AFiManager, AFiStorage, and AFiBase(this) contract as per the natspec comments. But the check allows 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
signature
false
false
## Low: `else` can be omitted in `mintWithTerms` ### Description **Description:** `else` can be omitted in `mintWithTerms` since if signature validation failed a revert will occur: **Evo:** Fixed in commit [e3b2f74](https://github.com/contractlevel/sbt/commit/e3b2f74239601b2721118e11aaa92b42dbb502e9). **Cyfrin:** 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...
solodit_api
high
reentrancy
true
false
Source: https://github.com/sherlock-audit/2023-02-union-judging/issues/26 ## Found by hyh ## Summary Voucher can be counted arbitrary many times in staker's `lockedCoinAge`. If a voucher has maximized its trust then its `locked` is added to the `lockedCoinAge` each time fully as its `lastUpdated` is kept intact. T...
Sherlock
5
Union Finance Update
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Maker's stock status not updated. ### Description Maker's stock status not updated. ### Impact Maker's stock status not updated.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
false
false
## Medium: Buggy `BestDexLens` Implementation ### Description **Update** The team fixed the issue in the commit `436cbd5`. First, the `amountByDexByShare` is no longer immediately overridden. Second, the `gas` variable is renamed to `gasPriceInCheckedAsset`, meaning it will be in the same asset. Third, the casting 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
low
access-control
false
false
## Low: Centralization risks ### Description Throughout the codebase, there are several roles that control critical contract configurations and operations. These roles have unrestricted power to modify core protocol parameters, pause functionality, upgrade contracts, and control user funds with no technical restrictio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: [01] Inadequate fallback mechanism in `transferOut` function ### Description Similar to the `_deposit` function, the `transferOut` function contains a vulnerability due to the inadequate handling of failed ETH transfers using `send`. This can result in ETH being permanently locked in the contract if the transf...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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 Emission Issues ### Description There are several instances of missing and improper event emissions in the `LOB` contract: - The [`changeMarketMakerAddress`](https://github.com/longgammalabs/hanji-contracts/blob/09b6188e028650b9c1758010846080c5f8c80f8e/src/OnchainLOB.sol#L164) function does not emit an 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
low
reentrancy
true
false
## Low: [05] `deposit(uint256 assets, address to)`, `deposit(uint256 assets, address to, uint256 minSharesOut)`, `mint(uint256 shares, address to)`, and `startRedeem(uint256 shares, address beneficiary)` functions do not allow staker's approved spender to call these functions on behalf of staker ### Description The `V...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: Missing zero address validation in initialize function ### Description **Description:** The `initialize` function in `DSTokenClassSwap` contract does not validate that the input addresses `_sourceDSToken` and `_targetDSToken` are non-zero addresses. **Recommended Mitigation:** Add zero address validation che...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Off-by-one error in exit window check allows users to avoid the withdrawal fee ### Description A boundary check in `WithdrawalEscrow.queueWithdrawal` allows a user to avoid the intended full withdrawal fee by renewing exactly at the start of their exit window. Because the code checks `block.timestamp > exit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: transaction spam ### Description The coordinator must be aware of all the L1 transactions to submit a rollup. An attacker can spam the network with invalidation transactions to prevent the submission of a rollup. The documentation states: *Figure 3.1: L1 transaction warning.* Ethereum miners don’t have to pa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
true
false
## Low: Incorrect `EIP712Base` constructor documentation ### Description **Description:** [This comment](https://github.com/OneWpOrg/smart-contracts-blockchain-1wp/blob/416630e46ea6f0e9bd9bdd0aea6a48119d0b515a/contracts/meta-transaction/EIP712Base.sol#L21-L29) documenting the `EIP712` constructor is incorrect: 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
low
other
false
false
## Low: Potential EVM Compatibility Issue in Solidity Verison >=0.8.20 ### Description **Update** The contract is compiled under Solidity version 0.8.20 with the EVM version set to `paris` in the Hardhat config file. **Update** Marked as "Fixed" by the Venus team. Addressed in: `ca7bb135c9e182ac736e4ac8222699d68288d...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Aave's share tokens are rebasing breaking current strategy code ### Description _Submitted by cmichel, also found by WatchPug and leastwood_ When depositing into Aave through the `AaveYield.lockTokens` contract strategy, one receives the `sharesReceived` amount corresponding to the diff of `aToken` balance, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The price would be accepted even with bad price from DIA Oracle ### Description ## Severity **Impact:** High **Likelihood:** Low ## Description: 1.) The getPriceUSD18 function from DIAOracleV2SinglePriceOracle.sol -> 2.) Let's assume the quote token price returned from the DIA oracle is bad , i.e. her...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: NatSpec documentation for function is missing ### Description The [Solidity documentation recommends](https://docs.soliditylang.org/en/latest/natspec-format.html) "that Solidity contracts are fully annotated using NatSpec for all public interfaces (everything in the ABI)." NatSpec documentation should be used ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Important fields in events are not indexed ### Description None of the important fields in the events emitted in the `BasePool.sol` contract and the `StakingContract.sol` contract are indexed. ### Recommendation Index the appropriate fields in the events that are emitted in the `StakingContract.sol` and `Base...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Centralization Risk Due to Trusted Owner ### Description The contract has an owner with the privileged right to pause and unpause most of the contract's functionality and therefore it needs to be trusted. Currently, the contract owner is not prevented from renouncing the ownership while the contract is paus...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing mirrorConnector check on Optimism hub connector ### Description The `processMessageFromRoot()` function calls `_processMessage()` to process messages for the "fast" path. However, `_processMessage()` can also be invoked by the AMB in the slow path. The second call to `_processMessage()` is unnecessa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Use of arbitrary numbers as role identifiers is prone to error ### Description The [`MultiRole` contract](https://github.com/UMAprotocol/protocol/blob/9d403ddb5f2f07194daefe7da51e0e0a6306f2c4/core/contracts/common/implementation/MultiRole.sol) uniquely identifies registered roles [using a `uint` data type](htt...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Medium: Missing ReEntrancy Guard to `claimRewards` function ### Description There is no re-entry risk on true ERC-20 tokens that work according to the spec (i.e. audited, etc.). However you can write a malicious ERC-20 with custom safetransferFrom() or approve() that have re-entrancy hooks to attack a target. Fur...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: totalBurnt might be wrong ### Description ## Handle gpersoon ## Vulnerability details ## Impact Vether.sol (https://etherscan.io/address/0x4Ba6dDd7b89ed838FEd25d208D4f644106E34279#code) is the 4th contract version. It takes the totalBurnt value of the 2nd version of the contract an continues on that. It 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
medium
other
false
false
## Medium: APR won't be applied precisely ### Description The function `rebase()` handles the share price increase to apply the desired APR. The issue is that the code doesn't use `lastRebaseTime` when calculating rate increase and it assumes 24 hours have passed from the last time which couldn't not be the case. This...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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](https://github.com/Ion-Protocol/ion-seaport/tree/54110bbfbe56d18390d4e9c9f8fc9fb973500da6) there are multiple floating pragma directi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Refund of Successful Challenge ### Description Rocket Pool’s Trusted Node DAO contains a set of trusted DAO members who are invited by current members of the DAO and are required to stake a significant RPL bond. If enough of these members go offline and stop responding to proposals, it’s possible that no more ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
true
false
## High: Protection Claim After Lender-Side Liquidation Causes Funds To Be Locked ### Description The protocol allows users to open a protection policy for their positions to safeguard against risks that leads to position liquidation. If the user anticipates issues with their position (such as market volatility), 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
rounding
false
false
## Low: MAX_YANG_RATE is set lower than intended ### Description The `MAX_YANG_RATE` constant represents the maximum interest rate that can be set for any yang used in the system. This value is stored as a fixed-point number with 27 decimals (i.e., a ray unit). The comment above the declaration states that this value ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Validators can unfairly earn too few or too many rewards ### Description Validators can be added and removed in Infrared, which also adds and removes them in InfraredDistributor where they receive ibgt rewards. When `Infrared.harvestBase()` is called, the accrued rewards are sent as ibgt to InfraredDistribu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
true
false
## Medium: Incorrect check in _enableMode prevents installing module types other than validator ### Description It was decided based on a previous review that the intention is to allow any module types to be installed in Enable Mode. Current code has a check that prevents any module type other than a validator (or 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
oracle
true
false
## Medium: ShortFall contract might transfer an incorrect amount of tokens to the highest bidder. ### Description There might be an incorrect amount of transfer possible if `convertibleBaseAsset` is not a token which is pegged to USD. There is not much information on what `convertibleBaseAsset` is supposed to be. 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
true
false
## Low: Withdrawal Request Could be Assigned a Wrong New Owner ### Description The `transferRequest()` function is used to assign a new owner to a request who can later dequeue it. However, since dequeuing ultimately facilitates the claim of ETH, setting a wrong new request owner by mistake can result in a loss of fun...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Gas: 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 because 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
other
true
false
## High: Position average price is wrongly calculated leading to users paying more/less for their position than the actual amount required. ### Description **Severity**: Critical **Status**: Resolved **Description** When a user opens a position calling `increasePosition()` within the `TradeFacet.sol` smart contrac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: `loanLiquidation()` calculation of interest is not accurate ### Description `loanLiquidation()`: The calculated interest codes are as follows: The above code takes all of `_received` as the principal and gives it to `IFeeManager` to calculate. But the amount received from the bidding is not always less th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Encode NetworkId ### Description ## fetchSupportTokenInfo Method The method `fetchSupportTokenInfo` has the following code: **Note:** Since the network ID can be controlled by adding a custom chain network, it is recommended to use `encodeURIComponent` to prevent any injection on the query parameters. ## R...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: optimization for StakingTokenProvider.nameForStakingToken ### Description ## Handle @cmichelio ## Vulnerability details ## Vulnerability Details `StakingTokenProvider.nameForStakingToken`: `if (keccak256(abi.encode(_pairedPrefix)) == keccak256(abi.encode(address(0)))) ` can be simplified to `if(bytes(_pa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: `L1Nullifier._parseL2WithdrawalMessage` - incorrect length check on `_l2ToL1message` ### Description In the `_parseL2WithdrawalMessage` function of the `L1Nullifier` contract, there is an incorrect length check on the `_l2ToL1message` byte array when the `bytes4(functionSignature)` equals `IAssetRouterBase.fin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
initialization
false
false
**Severity**: Medium **Status**: Resolved Location: Vesting.sol, TokenSale.sol, Admin.sol **Description** A concern arises due to the usage of a proxy upgradeable contract without calling `disableInitializers` in the constructor of the logic contract. This oversight introduces a severe risk, allowing potential atta...
Zokyo
5
Zap
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
other
true
false
Source: https://github.com/sherlock-audit/2023-02-hats-judging/issues/43 ## Found by obront, roguereddwarf, juancito, cducrest-brainbot ## Summary `HatsSignerGate` can be deployed with a fresh safe or connected to an existing safe. In the event that it is connected to an existing safe, it pulls the first 5 modules...
Sherlock
5
Hats
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Unsafe ABI Encoding ### Description It is not an uncommon practice to use `abi.encodeWithSignature` or `abi.encodeWithSelector` to generate calldata for a low-level call. However, the first option is not typo-safe and the second option is not type-safe. The result is that both of these methods are error-prone ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Loss of funds in an underlying protocol would cause catostrophic loss of funds for swivel ### Description _Submitted by 0x52_ Loss of all user funds. ### Proof of Concept This exploit stems from a quirk in the way that exchange rate is tracked for matured positions. We first need to breakdown how interes...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Sequence Number Integer Overflow ### Description ## Issue Overview It was found that it is possible for `multisig.owner_set_seqno` to overflow when updated. This could allow users to propose and execute transactions from an owner set that was previously in use. A sample of the affected code is shown in the sn...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Vault.withdraw mixes normalized and standard amounts ### Description ## Handle cmichel ## Vulnerability details The `Vault.balance` function uses the `balanceOfThis` function which scales ("normalizes") all balances to 18 decimals. Note that `balance()`'s second term `IController(manager.controllers(add...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
Reentrancy
true
false
## Vulnerability Report ## Severity **Medium Risk** ## Context LSSVMPairERC1155.sol#L222-L246 ## Description A reentrancy issue can occur if two pairs with the same ERC1155 NFTid are deployed. Via a call to swap NFTs, the ERC1155 callback `onERC1155BatchReceived()` is called. This callback can start a second NFT swa...
Spearbit
4
Sudoswap LSSVM2
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Parameter name mismatch between L2LineaToken interface and implementation ### Description **Description:** There is a discrepancy in parameter naming between the [`IL2LineaToken::syncTotalSupplyFromL1`](https://github.com/Consensys/audit-2025-07-linea-tokens/blob/44640f0965a5c7465b99769a5d241a9a1cb3a2ef/src/L2...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
false
false
## High: Cannot dispute invalid reward ### Description When disputing a reward request, the `OptimisticRewardBase` contract first [triggers a proposal](https://github.com/UMAprotocol/protocol/blob/0c4cea3c3d5e48da6f8984b8ba3afdfea4ce47cc/packages/core/contracts/financial-templates/optimistic-rewarder/OptimisticRewarde...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
rounding
true
false
## Medium: Incorrect rounding in unstake ### Description ## gfx-controller Program's Unstake Instruction In the `gfx-controller` program’s Unstake instruction, a user withdraws a percentage of their share from the pool. There are three quantities the program computes with this percentage: - **delta_share**: The numb...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Node Creation Can Be Frontrun ### Description The NodeFactory contract exposes two functions for creating a node: `deployFullNode()` and `createNode()`. The latter calls the former internally while performing some secondary setup. The `CREATE2` opcode is used to ensure a deterministic address, with the salt 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
oracle
false
false
## Medium: Comparison operator used instead of assignment operator ### Description A common typo is present twice in the `OracleUtilsLib.sol` where `==` is used instead of `=` resulting in incorrect storage updates. ### Recommendation Replace `==` with `=`.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Conditional early exit optimisation ### Description **Severity:** Informational **Description:** There are some conditionals that could be optimised by changing the order of elements by frequency/gas cost to allow for early exits and save gas on each function call. We have identified the following locations:...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Unnecessary return variables ### Description In the codebase, there are instances where functions return an unnecessary value. For example, in the `Collateral` contract, the [function `_pullFromUser`](https://github.com/mcdexio/mai-fund-protocol/blob/98af0d1d7e9872ba2b5e734e2a43c161ef635608/contracts/compone...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
upgrade
true
false
## Low: Use `SafeERC20` approval and transfer functions instead of standard IERC20 functions ### Description Use [SafeERC20::forceApprove](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/utils/SafeERC20.sol#L105-L110) and `safeTransfer` functions instead of standard IERC20 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
other
false
false
## Medium: Disruption of existing stakes when replacing the stake token. ### Description **Severity**: Medium **Status**: Resolved **description** The procedure for changing the 'stakeToken address does not consider that the contract balance may still contain locked funds of the previous token. Changing the 'stakeT...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Cancellation can be front-run ### Description The `PumpV1` contract implements a `cancel` method which allows an order maker to cancel his order. The problem is that anyone can see a call to `cancel` and front-run the transaction with a call to `fulfill`, essentially executing the order and not allowing the or...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: The unchangeable value of the variable ### Description The contract https://github.com/Grandthrax/yearnV2-generic-lender-strat/blob/979ef2f0e5da39ca59a5907c37ba2064fcd6be82/contracts/Strategy.sol#L477 has an internal function `liquidatePosition()`. One of the return variables for this function is called `_loss...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Zero‑Duration vesting edge case ### Description **Description:** When `duration == 0`, calling `vestedAmount(start)` falls through the `else if (_timestamp > start + duration)` check (because `start > start` is false) into the linear‑vest branch, executing This creates a brief one‑second revert window at exa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Miscalculation in beforeWithdraw can leave the vault with less than minimum float ### Description When a user wants to redeem or withdraw, the `beforeWithdraw` function is called with the number of assets to be withdrawn as the `assets` parameter. This function makes sure that if the value of the `float` parame...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Uncharged Gas For Unknown Precompile Calls ### Description ## Gas Collection for Unknown Precompiled Contracts In `addr`, `bank`, and `wasmd`, gas is not collected for calls to unknown precompiled contracts in `RequiredGas`. The gas calculations skip the collection step if the method ID extracted from the inp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
cross-chain
true
false
## Medium: The account creation process can be griefed ### Description Report type: Smart Contract Target: https://testnet.snowtrace.io/address/0x6628cE08b54e9C8358bE94f716D93AdDcca45b00 Impacts: - Griefing (e.g. no profit motive for an attacker, but damage to the users or the protocol) ## Description ## Brief/Int...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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 support for external transfers of nonstandard ERC20 tokens ### Description For external transfers of nonstandard ERC20 tokens via the `TokenFacet` contract, the code uses the standard `transferFrom` operation from the given token contract without checking the operation’s `returndata`; as a result, succ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Lack of caps for minting on the remote chain ### Description If the ETHx token is compromised on one of the supported chains (i.e., a huge amount of tokens is minted), this issue may spread to other supported chains because the amount of transferred tokens is unlimited (except when the receiving side is the ma...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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 parameter validations in `SpeedBumpPriceGate#addGate` ### Description Callers of `addGate` can create price gates with a zero price floor (allowing users to claim free tokens), and zero `priceIncreaseDenominator` (causing price calculation to revert with a divide by zero error). [`SpeedBumpPriceGate#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
initialization
false
false
## Medium: Anyone can post a request with `gasPrice` of 0 to cause SEDA chain to halt ### Description There are no validations preventing a data request's `gasPrice` to be zero. When the SEDA Chain tallies data requests, it uses `gasPrice` as a divisor in one of its gas calculations. A zero `gasPrice` leads to a divis...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Using `ERC20.transfer` instead of `SafeERC20.safeTransfer` calls ### Description Utilizing `ERC20.transfer` instead of `SafeERC20.safeTransfer` within the protocol is identified as a security risk. This is due to the possibility for certain tokens to adopt non-standard variations of the `IERC20` interface, whi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
false
false
## High: Improper input validation in repair\_oos\_account... ### Description ## Improper input validation in repair\_oos\_accounts leads to DOS and total network shutdown Report type: Blockchain/DLT Target: https://github.com/shardeum/shardeum/tree/dev Impacts: * Direct loss of funds * Network not being able 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
medium
oracle
false
false
## Medium: Normal users could be inadvertently grieved by the withdrawn ratios check ### Description The contract check on the withdrawn ratios of OHM and wstETH against the current oracle price could run into grieving naive users by taking any wstETH shifted imbalance as a fee to the treasury even though these users ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Collected fees are never transferred out of Pool contract ### Description Lenders in the Gondi protocol could be EOA or Gondi Pool. The Gondi Pool, an ERC4626, allows anyone to deposit funds and earn yield from lending on Gondi. When a loan is repaid or liquidated, the pool deducts a fee from the received a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: `auctionBuyNft()` should use the current auction price instead of `amount` parameter ### Description https://github.com/code-423n4/2023-05-particle/blob/main/contracts/protocol/ParticleExchange.sol#L688 The `amount` parameter in the `auctionBuyNft()` function should be used as a slippage check to ensure the c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
true
true
## High: Incorrect WETH Deposit in wrapAndDepositWETH Function leads to loss of funds ### Description The `InfinityPoolsPeriphery` contract implements a `wrapAndDepositWETH` function. The purpose of the function according to the code comments is as follows: This function is to help the user get back the leftover ETH...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
false
false
## Medium: Repeated Identical Range Rewards Will Be Allowed In Separate Transactions ### Description As `submissionNonce[msg.sender]` increments with every range reward and its value is used in the calculation of `rewardsSubmissionHash` and `rewardsSubmissionForAllHash`, all of the generated range reward hashes will b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Medium: The `provide()` function does not reset withdrawal requests, allowing an attacker to bypass risk-free yield tactics protection ### Description In the Opus protocol, the absorber is a stability pool that permits yin holders to contribute their yin and participate in liquidations (also known as absorptions) 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
signature
true
false
## High: Attacker can lock lender NFTs and ERC20 in the safe if the offer is set to partial ### Description If the lender creates an offer set to partial, the attacker can lock parts of the lender's assets inside the attacker's safe. ### Proof of Concept When reNFT zone validates the offer and create the rental, it ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: TRST-L-5 UsingAccessControllerUpgradeable doesn’t reserve storage slots ### Description **Description:** The UsingAccessControllerUpgradeable contract is an upgradeable contract that implements the logic of interacting with an AccessController contract for multiple contracts in the project. UsingAccessContro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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 epoch creation and update of `endDepositTime` ### Description The issue is identified within the contract `Prestaking`. There are two functions: [`createNewEpoch`](https://github.com/diadata-org/prestaking-contracts/blob/6ee4beee6cbcdb3b7e7ea1feb9a8b1192bc8c8ba/prestaking/src/Prestaking.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: Use of single step ownership transfer ### Description **Severity**: Low **Status**: Resolved The TradableSideVault and TradableSettings contracts implement the setAdminUser function, which allows changing the adminUser address. If the admin’s address is set incorrectly, this could potentially result in crit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Smaller Liquidity Providers Can Be Priced Out ### Description **Update** The Hifi team chose not to resolve the issue as ill-initialized pools can be recreated. From the Hifi team : **File(s) affected:**`packages/amm/contracts/HifiPool.sol` **Description:** An early liquidity provider can manipulate a si...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Misleading or Erroneous Documentation ### Description We have identified the following instances of misleading documentation: * The [solveConstraints](https://github.com/Consensys/gnark/blob/e2040836eb41a40df04a4a3648764b07a0fa12a2/backend/plonk/bn254/prove.go#L324) comment says that the function computes th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
false
false
## High: Winning agent id may be uninitialized when game is over, locking grand prize ### Description Source: https://github.com/sherlock-audit/2023-10-looksrare-judging/issues/31 ## Found by cergyk, detectiveking In the `Infiltration` contract, the `agents` mapping holds all of the agents structs, and encodes 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
high
token
false
false
## High: Token Amounts are Treated as Share Amounts ### Description Inconsistencies in accounting occur from treating certain variables in units of the underlying ERC20 tokens rather than BentoBox shares, causing recipients to be overpaid. In the function `createVesting()` on line [65], `depositedShares` is returned...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Medium: Rounding error in put option price reduces safety margin ### Description The protocol applies the same strike price rounding logic to both `CALL` and `PUT` options. While this works in favor of the protocol for `CALL` options, it reduces safety for `PUT` options. Specifically, the strike price is first com...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: STATUS_VOLUME_FLAG may not be set at the correct moment due to off by one error ### Description Each time tokens are bought or sold, `_applyLiquiditySupplement` is called, updating `liquiditySupplement` and `updatedCurveVolumeMet`. If `liquiditySupplement` is reached its maximum value due to this transaction, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
false
false
## Low: Remove deprecated check from `LineaRollup::submitDataAsCalldata` ### Description In commit 9840265eeb7d8ed9a4a5107b7fad056093b224e0 the check which reverted with error `WrongParentShnarfFinalBlockNumber` was [removed](https://github.com/Consensys/zkevm-monorepo/commit/9840265eeb7d8ed9a4a5107b7fad056093b224e0#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
high
access-control
false
false
## High: No Fee Enforcement in `LT` Contract ### Description **Update** The client fixed the issue in commit `30bf611d68363724044c281ec60afda151aeb4ca`. and provided the following explanation: > This was already fixed on Apr 5 by setting min_admin_fee in factory **File(s) affected:**`contracts/LT.vy` **Description:...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
true
false
## Low: The `removeAsset()` Function in `Engine` Contract Emits `AssetSet` Instead of a Dedicated `AssetRemoved` Event ### Description The `removeAsset()` function emits `AssetSet(asset, zeroedConfig)` instead of a dedicated `AssetRemoved` event. Additionally, the interface declares events (`AssetRemoved`, `AssetOracl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, 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: Syntax inconsistency ### Description RFQ order shift calculation is different: https://github.com/1inch/limit-order-protocol/tree/a14bde6a260458de5083cee117d734221e1cbc05/contracts/LimitOrderProtocol.sol#L167 https://github.com/1inch/limit-order-protocol/tree/a14bde6a260458de5083cee117d734221e1cbc05/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
false
false
## High: `Withdrawable.withdraw` does not decrease `pendingWithdrawals` ### Description The name `pendingWithdrawals` indicates that this storage variable tracks the withdrawals that need yet to be paid out. Furthermore, this matches the behavior in `_increaseWithdrawal`. As such, it should be decreased when withdrawi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Pool Fee Manipulation ### Description I n t h e c u r r e n t i m p l e m e n t a t i o n o f `pool::get_fee`, final_fee i s c a l c u l a t e d b y t a k i n g t h e m a x i m u m v a l u e b e t w e e n t h e s u m o f `fee_adjustment` a n d `base_fee`, a n d z e r o. I f t h e `fee_adjustment` i s a n ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
false
false
## Medium: `selfdestruct()` will not be available after EIP-4758 ### Description ### Impact `selfdestruct()` will not be available after EIP-4758. This EIP will rename the SELFDESTRUCT opcode and replace its functionality. It will no longer destroy code or storage, so, the contract still will be available. In this c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: TRST-L-6 Strategy upgrade cooldown is set too low ### Description **Description:** **UPGRADE_TIMELOCK** defines how long admin must wait before upgrading the contract. It is currently set to 1 hour, which is far too low in relation to its importance and funds at risk. We recommend a value of 24 hours at mi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: RegistryFactory.addAttester allows duplicate and unsorted attesters breaking ERC-7484 compli- ### Description The `RegistryFactory.addAttester` function allows adding duplicates, and the new attester is pushed as the last element to the internal list. This leads to several issues: 1. Duplicate attesters 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
low
other
false
false
## Low: Floating pragma ### Description The contract in scope currently uses floating pragma version `^0.8.20`, which means that the code can be compiled by any compiler version that is greater than or equal to `0.8.20`, and less than `0.9.0`. However, it is recommended that contracts should be deployed with 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: Unlocked pragma version in Voting.sol and Delegator.sol. ### Description **Description** The solidity pragma version is not locked for both Voting.sol and Delegator.sol which is imported in the Voting.sol contract, in the hardhat config file right now the version selected is 0.8.12, but by having a pragma ver...
0