prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: Inconsistency in allocate and remove functions ### Description The `allocate` and `remove` functions do not have the same interface, as one would expect. The `allocate` function allows users to set the recipient of the allocated liquidity and choose whether the funds will be taken from the margins or sent dire...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Gas: [13] Using private rather than public for constants, saves gas ### Description ### Proof of concept Found in line 20 at optimismContest/L1/L2OutputOracle.sol: uint256 public immutable SUBMISSION_INTERVAL; Found in line 25 at optimismContest/L1/L2OutputOracle.sol: uint256 public immutable L2_BLOCK_TIM...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Not enforcing an upper threshold on rewardDuration can affect vault staking ### Description The setting of `rewardDuration` in the constructor and in `updateRewardsDuration()` does not enforce any reasonable upper threshold on the value. If the deployer/governance makes a mistake and `rewardDuration` is set 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: saving when copying memory ### Description In the function for copy memory when `len % WORD_SIZE == 0` it is possible to save some gas by adding simple check: https://github.com/hamdiallam/Solidity-RLP/blob/4fa53119e6dd7c4a950586e21b6068cd9520a649/contracts/RLPReader.sol#L350-L355 ### Recommendation We recomm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
high
Business Logic
true
true
_Submitted by dipp, also found by 0x52, ak1, auditor0517, hansfriese, jonatascm, kenzo, Lambda, panprog, PwnedNoMore, Ruhum, smiling&#95;heretic, Treasure-Seeker, and xiaoming90_ The `migrateFractions` function in the `Migration.sol` contract is used to send new vault tokens to the user calculated based on the amount ...
Code4rena
5
Fractional
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: zBanc - DynamicLiquidTokenConverter ineffective reentrancy protection ✓ Fixed ### Description `reduceWeight` calls `_protected()` in an attempt to protect from reentrant calls but this check is insufficient as it will only check for the `locked` statevar but never set it. A potential for direct reentrancy mig...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: The fee mechanism is not enforced ### Description **Severity** **Impact:** High, as the protocol can lose potential yield in the form of fees **Likelihood:** High, as users can craft such transactions in a permissionless way **Description** The codebase is using a fee mechanism where the users pay a fee f...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
true
false
## Low: `ComplianceChecker::isCompliant` incorrectly returns `true` if compliance options have no required soul bound tokens ### Description **Description:** `ComplianceChecker::isCompliant` contains a logic flaw that allows universal bypass of all compliance requirements. When a compliance option exists with an empty...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
true
false
## Medium: Players can gain more NFTs benefiting from that past remainder in subsequent locks ### Description The remaining locked tokens continue to accumulate after the player unlocks their tokens, whether partially or fully. As a result, the player benefits by retrieving more NFTs when they lock their tokens again...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
storage
false
false
## Medium: CLICKJACKING ### Description The `BenQi` backend API `https://api.benqi.fi`, as well as the `https://app.benqi.fi` and `https://staking.benqi.fi` apps do not set a header. X-Frame-Options response header or a Content-Security-Policy 'frame-ancestors' response header on all content responses. Clickjacking i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: view functions can be made pure ### Description The linked view functions can be made pure as they don't read state. ### Recommendation Convert these functions to `pure`.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Design considerations with the auto redemption feature ### Description Huma intends to make a small upgrade where the sentinel service account can submit redemption requests on behalf of the lender. A few of their design considerations include: - The default state for `autoRedemptionAfterLockup` in the pool 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
medium
reentrancy
false
false
## Medium: Use call instead of transfer ### Description **Severity:** Medium **Description:** In both of the withdraw functions, `transfer()` is used for native ETH withdrawal. The transfer() and send() functions forward a fixed amount of 2300 gas. Historically, it has often been recommended to use these functions fo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Collateral Reservations of Zero Claimable Amount Are Possible ### Description The [`claimCollateral`](https://github.com/AmperaFoundation/sol-contracts/blob/4c4423791b3427153937881fc5287a81283ee141/contracts/Collateral.sol#L326) function of the `Collateral` contract can be called from the collateralizable cont...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
true
false
## Low: [07] Unsafe array index arithmetic in Swap Router logic ### Description The `_v2Swap` function performs direct arithmetic within array indices when accessing elements of the path array during token swaps. Specifically, when determining the next pair in the swap path, the code performs unchecked arithmetic oper...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: [09] The removed assets (ERC721/ERC20) can't be added again ### Description In this case the admin calls `Configurator.sol#addAssetERC20()` then after period of time he invokes `Configurator.sol#removeAssetERC20()` after that. https://github.com/code-423n4/2024-07-benddao/blob/main/src/modules/Configurator.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
high
access-control
false
false
## High: The approver role can prevent their own removal ### Description The [`setApprover` function](https://github.com/celo-org/celo-monorepo/blob/7be22605e172ca536c028e408b147aab83202e4a/packages/protocol/contracts/governance/Governance.sol#L238) allows Celo governance to set the approver for proposals. However, 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...
solodit_api
medium
rounding
true
true
[src/periphery/LiquidityManager.sol#L135](https://github.com/code-423n4/2023-01-numoen/blob/2ad9a73d793ea23a25a381faadc86ae0c8cb5913/src/periphery/LiquidityManager.sol#L135)<br> The first liquidity depositor should supply three input values `amount0Min, amount1Min, liquidity` via `AddLiquidityParams` but these three ...
Code4rena
3.001335
Numoen
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Possible zero bond ### Description The `requestPrice` function of the `SkinnyOptimisticOracle` contract [uses the final fee as the bond](https://github.com/UMAprotocol/protocol/blob/f24ad501c8e813cf685f72217e7f13c8f3c366df/packages/core/contracts/oracle/implementation/SkinnyOptimisticOracle.sol#L176) if the...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: 'Dead' Code ### Description **Update** Marked as "Fixed" by the client. Addressed in: `c3eb940540bd86426411584ca0da2914ed71eee0`. The client provided the following explanation: > Modified as recommended. **Description:** "Dead" code refers to code which is never executed and hence makes no impact on the fina...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Slippage values should be enforced ### Description The `slippage` term refers to the difference between the expected price of a trade and the price at which the trade is actually executed. To mitigate the risks associated with slippage, **it is crucial to enforce a threshold for slippage values** in Solana ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing nLockTime field ### Description The current implementation of Bitcoin transactions in the bridge doesn't set the nLockTime field. This could potentially expose our transactions to fee sniping attacks during blockchain reorganizations. ### Recommendation Consider using nLockTime field.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Oracle price not always validated ### Description **Severity**: Low **Status**: Resolved **Description** In Contract Oracle.sol, the method `getPrices(...)` and `getPrice(...)` retrieve price from Chainlink or Uniswap V3. The returned price values (if stable coin or price fetched from dex) are not always 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
rounding
false
false
## Low: Remove unused events and errors ### Description TraderLoyaltyCredit declares events **FeedReward** and **Claim**, but these events are not being used. Similarly, the TLCStaking contract declares errors **TLCStaking_BadDecimals**, **TLCStaking_DuplicateStakingToken**, and **TLCStaking_UnknownStakingToken**, but...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rewards harvesting in vaults will be blocked if the RED token is paused ### Description All Infrared vaults have a mechanism to harvest rewards from BGT emissions whenever someone tries to claim their rewards, or can be called directly from the Infrared contract. However, these harvest calls will be blocked...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious Relayers Could Favor Their Routers ### Description _Submitted by xiaoming90, also found by csanuragjain_ Assume that a malicious relayer operates a router in Connext providing fast-liquidity service. A malicious relayer could always swap the router(s) within the execute calldata with the router(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
storage
true
false
## Low: Missing checks for `address(0x0)` when assigning values to address state variables ### Description There are 2 instances of this issue: https://github.com/code-423n4/2022-06-nested/blob/b4a153c943d54755711a2f7b80cbbf3a5bb49d76/contracts/operators/Yearn/YearnCurveVaultOperator.sol#L48 https://github.com/cod...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Protocol fees are not counted in PoolBalanceChanged events ### Description When adding and removing liquidity from pools, the `PoolBalanceChanged` event is emitted: ### Recommendation In the above two cases, consider counting the protocol fees in the balance change amounts reported in the `PoolBalanceChanged`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Improperly Skewed Governance Mechanism ### Description The balance checkpointing system exposed by the contract for governance purposes is flawed as it does not maintain voting balances properly. In detail, the total supply of votes is tracked as the sum of all locked balances, however, the total voting pow...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use Shift Right/Left instead of Division/Multiplication ### Description A division/multiplication by any number x being a power of 2 can be calculated by shifting to the right/left. While the DIV opcode uses 5 gas, the SHR opcode only uses 3 gas. Furthermore, Solidity's division operation also includes a div...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of `ethVirtualSupply` param check ### Description The `TokenFactory.initializeCustomToken` function does not check if the `ethVirtualSupply` param is zero or too small. This can cause unexpected results in the price calculation and make the token prone to inflation attacks. Consider checking if the `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
high
initialization
true
false
## High: Staker rewards can be gathered with maximal multiplier no matter how borrowers are overdue ### Description Frozen coin age of an account is based on the `vouch.lastUpdated`, which is set to the current block not only on initial borrowing and debt full interest payment or notional repayment, but also on any re...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
false
false
## High: BondOracleAdapter will cause massive loss of funds for a large number of bond tokens ### Description BondOracleAdapter both directly returns the price from the pool and hardcodes the oracle decimals to bondToken.decimals(). The combination of these two factors will cause the adapter to return an incorrect val...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Upgradeable contract initializer not disabled in constructor allows implementation contract initialization ### Description **Description:** The `SegregatedVault` contract is designed as an upgradeable contract using the UUPS (Universal Upgradeable Proxy Standard) pattern, inheriting from `BaseContract` which 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
other
false
false
## Low: Typos in comments ### Description - **IPSM3.sol#L95** - asset in the PSM (e.g., sUSDS). should be asset in the PSM. - **README.md#L14** - swap between USDC, USDS, and sSUDS, should be swap between USDC, USDS, and sUSDS. - **README.md#L18** - ...held by the PSM - While this is true now assets might be held by t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: Attacker can abuse swapLiquidity function to drain users’ funds ✓ Fixed ### Description The `swapLiquidity` function allows liquidity providers to atomically swap their collateral. The function takes a `receiverAddress`argument that normally points to an `ISwapAdapter` implementation trusted by the user. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wrong NatSpec comments ### Description **Severity**: Informational **Status**: Resolved **Description** In contract MasterPenPie.sol, the method stakingInfo(...) missing return parameter Natspec comments. In Contract PendleStaking.sol, the method setFee(...) NatSpec comment is missing parameters comments. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A part of ETH rewards can be stolen by sandwiching `claimDelayedWithdrawals()` ### Description Rewards can be stolen by sandwiching the call to [EigenLayer::DelayedWithdrawalRouter::claimDelayedWithdrawals()](https://github.com/Layr-Labs/eigenlayer-contracts/blob/v0.2.1-goerli-m2/src/contracts/pods/DelayedW...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `min_qty` Bypass via `IOC` limit order ### Description **Description:** Spot orders compute the minimum order quantity `min_qty` from the user‐supplied limit price. An attacker can set an arbitrarily large limit price to drive `min_qty` down to a tiny value while the actual execution price is still clamped ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary transfer in `PredictionMarketV3_4::mintAndCreateMarket` ### Description **Description:** [`PredictionMarketV3_4::mintAndCreateMarket`](https://github.com/Polkamarkets/polkamarkets-js/blob/24f1394be94d27433d2e3a7370442126e1c1e5ba/contracts/PredictionMarketV3_4.sol#L381-L390) does a mint of `FantasyE...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Low: reallocateTo function does not check for slippage, leading to dust loss due to rounding error ### Description When the `MetaMorpho.reallocate` function redistributes the portfolio, it calls `Morpho.supply`. In the `supply` function, rounding is handled in favor of the protocol. As a result, every time the `Met...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Fees collected can be sent to any address ### Description The `feeReceiver` variable is declared in the constructor by the `msg.sender` it should be initialized with the address of the Fees contract. ### Impact You would not be using the `Fees.sol` and `Staking.sol` contracts, preventing the correct functioni...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: [04] The Burn Command Prompt is Missing the burn-from-address Parameter ### Description The NewBurnCmd function lacks a burn-from-address parameter. When users use the burn command, it outputs an incorrect command prompt because the burn-from-address parameter is missing. ### Suggested Fix Add the burn-fr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Contract SXVault, possible to have a centralization risk in the withdraw function, the admin can withdraw any balance from the vault. ### Description **Recommendation**: Implement a multi-sign mechanism for the admin address. **Team Response**: Will be implemented after initial launch
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: GoUnusedGlobalVariable ### Description **Severity**: Low **Status**: Acknowledged **Description:** Several unused global variables are declared in the codebase **Files**: Multiple files throughout the codebase. **Recommendation**: Remove unused global variables to improve code clarity. For example, 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
true
true
## Low: [ACKNOWLEDGED] Floating pragma ### Description All contracts across the codebase use the following pragma statement: ```solidity pragma solidity ^0.8.22; ``` Contracts should be deployed with the same compiler version and flags used during development and testing. An outdated pragma version might introduce bug...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Outstanding TODO ### Description There’s 1 remaining TODO that may not have been resolved. `// TODO: Should this become a reply? If so which SubMsg to make reply_on?`
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
cross-chain
false
false
## High: MintCap Check Missing in Cross-Chain Transfer ### Description The issue was identified within the [`outboundTransferShares`](https://github.com/dforce-network/OFT/blob/2ff5d7a8f9a509006557bf5de72fabf40d1138a5/src/sUSX.sol#L276) function of the `sUSX` contract. There is no check to ensure that the total mint ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rewards will be lost if a gauge is killed before first period finishes ### Description The `killGauge` function is designed to terminate a gauge and iterate through undistributed periods for that gauge to distribute the remaining rewards: ```solidity /// @dev loop through the last distribution period up to 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: Incomplete NATSPEC documentation ### Description While the majority of the functions in the `GorplesCoin` have NATSPEC comments in functions, there are still some functions and state variables that are missing these comments, which may their readability and the overall user experience. Proper NATSPEC documenta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
other
false
false
## Medium: Lack of a gas refund in the current design can lead to the overcharging of users and misaligned relayer incentives that can choke message execution ### Description To understand gas handling, it is important to highlight a few key aspects of the current design: 1. On the target chain, Transceivers can eith...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Attacker May Drain `Boba_GasPriceOracle` of Value Given Arbitrage Opportunities ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: One reason to maintain the current structure is to allow change of oracles, while we look for ways to add a wrappe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `RemoraToken` transfers are bricked when `from` is not whitelisted, has sufficient tokens to transfer but no tokens locked ### Description **Description:** `RemoraToken::adminTransferFrom`, `transfer` and `transferFrom` always check if `from` is on the whitelist and if not, call `_unlockTokens`: But a sce...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Consider using the "off-chain storage" pattern ### Description The ["off-chain storage" pattern](https://github.com/dragonfly-xyz/useful-solidity-patterns/tree/main/patterns/off-chain-storage) can help reduce gas costs by moving the Lien structure off-chain and only storing the hash of the current state. 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
gas
storage
true
false
## Gas: setImplementation Can be Modified to Avoid Unnecessary Check and SLOAD ### Description The `setImplementation()` function can be optimized slightly by checking for revert conditions earlier on in the code. In this instance, `msg.sender` can be checked against the governor address at the beginning of the code, 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
overflow
true
false
## Low: Missing overflow protection in `_capRates` function can lead to broken wells and pumps after a few blocks of unuse ### Description The `_capRates` function calculates the max allowed rate as $$ratio_{last} \times \left( 1+\gamma \right)^{exp}$$ For large `exp`, there can be an overflow. The code forgets 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
low
other
false
false
## Low: Missing full sanity checks on adding accredited investors ### Description It is possible to `addAccreditedInvestor` with `minInvest` being greater than `maxCumulativeInvest`. Although this configuration will be recorded properly, it will throw an exception on [line 92](https://github.com/qiibee/qb-contracts/bl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: DEPOSITING ON ANY POOL USING ANY TOKEN ### Description The `deposit` function under `WeightedFarmingPool` does accept any token as parameter. This token is then compared against all pool tokens and the index returned. However, since the `_getIndex` function does return `0` when a token is not found, the first...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ALCX rewards aren't claimed for "from" token when merging ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/VotingEscrow.sol Impacts: - Permanent freezing of unclaimed yield - Contract fails to deliver promised returns, but doesn't lose va...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
false
false
## Medium: Stealing Funds When Rates Change ### Description **Update** Marked as "Acknowledged". The Vector Reserve team provided the following explanation: > _The yielding token is svETH, so if users want to get a yield on their vETH, they can stake to svETH. vETH is more of a token for providing liquidity. Redempti...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `UpdateProfitShare` allows owner to set profit share to 100% ### Description **Severity**: Low **Status**: Resolved **Description** In Contract AFiManager.sol, the method `updateProfitShare(...)` allows the owner to consume all of the profit made by the user during withdrawal. The documentation states a m...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
cross-chain
true
false
## Medium: When the `anyExecute` call is made to `RootBridgeAgent` with a `depositNonce` that has been recorded in `executionHistory`, `initialGas` and `userFeeInfo` will not be updated, which would affect the next caller of `retrySettlement`. ### Description ### Lines of code ### Impact The wrong `userFeeInfo` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Perform additional validation on Chainlink fast gas feed ### Description **Description:** When consuming data feeds provided by Chainlink, it is important to validate a number of thresholds and return values. Without this, it is possible for a consuming contract to use stale or otherwise incorrect/invalid data...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Specifying a pragma version with the caret symbol (^) upfront which tells the compiler to use any version of solidity bigger than specified considered not a good practice. Since there could be major changes between versions that would make your code unstable. The latest known versions with bugs are . 0.8.3 and ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: A market could be deprecated but still prevent liquidators to liquidate borrowers if isLiquidateBorrowPaused istrue ### Description Currently, when a market must be deprecated, Morpho checks that borrowing has been paused before applying the new value for the flag. ```solidity function setIsDeprecated(addr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 used for testing purposes should be removed before deployment ✓ Fixed ### Description Variables and logic have been added to the code whose only purpose is to make it easier to test. This might cause unexpected behavior if deployed in production. For instance, `onlyTest` and `setTimeExtra` should be remov...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ly permissioned mechanisms in architecture, could allow arbitrary minting and collat- eral siphon by malicious owner/gov ### Description The current base architecture, with authorities that can grant fine-grained roles and associated upgradeable contracts, necessitates considering the vaults as custodial on-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
medium
liquidation
true
false
## Medium: In over liquidation, if the liquidatee has USDC-denominated assets for sale, the liquidator can buy the assets with USDC to avoid paying USDC to the liquidatee ### Description In over liquidation, if the liquidatee has USDC-denominated assets for sale, the liquidator can buy the assets with USDC to avoid 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
overflow
false
false
## Low: Missing Input Validation ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Noted. Same as [IFS-3](https://certificate.quantstamp.com/full/1-inch-fusion/46247b92-ba5f-4f49-a397-76f7867ff4a4/index.html#findings-qs3), [IFS-4](https://certificate.q...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: WithdrawHandler.getWithdrawableAmount() should utilize _unsettled, which is not scaled by the collateral factor ### Description When withdrawing `settlementToken`, the `getWithdrawableAmount()` function calculates the maximum withdrawable amount using the formula `collaterals + _unsettled`, where `collatera...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
cross-chain
true
false
## Medium: Settlement contract is mistakenly used for the handler contract when assigning `ReceivedCrossChainTx` struct ### Description ### Impact `receive_cross_chain_msg()` is located in the Settlement contract and is called after the Chakra network signature verification process. However, when creating `ReceivedCr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: Malicious user can have Proxy sign arbitrary data ### Description ProxyV2.sol implements EIP1271, where `isValidSignature()` can be called with a hash and a signature, and returns 0x1626ba7e if the contract considers the signature valid. This is done by calling `Alligator.isValidProxySignature()`. In the cas...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: SOME FUNCTIONS RECEIVE MULTIPLE NATIVE COINS INSTEAD OF ONE ### Description Some functions in the **krp-basset-convert/krp\_basset\_converter** and **swap-extension/swap\_sparrow** contracts can receive multiple native coins, which would allow a double payment if users mistakenly send native coins different...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `StandardFunding.fundingVote` should not allow users who didn't vote in screening stage to vote ### Description Users who did not vote in the screening stage but voted in the funding stage are not allowed to claim rewards via `claimDelegateReward`. **Voting in the funding stage will occupy the distribution ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `txProofDifficultyFactor` should have upper limit ### Description The `setTxProofDifficultyFactor` function has a minimal limit check for the new `txProofDifficultyFactor`, however, it is missing the upper limit check. This could lead to a scenario when the owner accidentally/maliciously sets `txProofDifficult...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Borrower and Supplier rewards accrued could be lost when Admin replaces the reward distributor with a new reward distributor ### Description Comptroller's admin user can replace the rewards distributor contract with a new MultiRewardDistributor using \_setRewardDistributor() function. At that time, if the...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Incorrect interface definition and implementation ### Description The [`ISafeGuard`](https://github.com/withtally/safeguard/blob/b2c63a9dfc4090be13320d999e7c6c1d842625d3/contracts/ISafeGuard.sol) interface does not define the [`queueTransactionWithDescription` function](https://github.com/withtally/safeguard/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
low
dos
true
false
## Low: RollupRevenueVault - Missing Validation for Future lastInvoiceDate ✓ Fixed ### Description The contract does not enforce validation to prevent `lastInvoiceDate` from being set to a future timestamp. This can permanently block invoice submissions, affecting normal invoice operations, potentially resulting in 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
access-control
true
false
## High: Improper PDA validation in `handler` enables arbitrary data clearing ### Description The `clear_data_sandwich_validators_bitmap` instruction's handler does **not properly validate** the `sandwich_validators` PDA account. This oversight allows a malicious signer to **supply a different PDA account** (belonging...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Post-fee `depositAmount` validation in `_beforeDeposit()` ### Description _Resolved_ In `_beforeDeposit()`, the contract validates the raw `depositAmount` against `minAmountToDeposit`, `DUST_AMOUNT`, and zero‐amount checks before deducting the deposit fee. As a result, a user could pass the pre‐fee threshold ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `Asset.lotPrice()` doesn't use the most recent price in case of oracle timeout ### Description `Asset.lotPrice()` has a fallback mechanism in case that `tryPrice()` fails - it uses the last saved price and multiplies its value by `lotMultiplier` (a variable that decreases as the time since the last saved pr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Low: Missing `nonReentrant` Modifier ### Description **Severity**: Informational **Status**: Resolved **Description** The `ZkImagine` smart contract implements the Check-Effects-Interactions (CEI) pattern, which is a recognized best practice to prevent reentrancy attacks. This pattern ensures that state changes ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Vulnerability in fillLPOrder allows draining of reward tokens ### Description In the `fillLPOrder` function, the `frontendRecipient` is assigned the entire `order.tokenAmountsRequested[i]` as fees. An attacker can exploit this by creating an LP order and filling it themselves using the current balance of rewa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
reentrancy
true
false
## Medium: In `Goldivault.redeemYield()`, users can redeem more yield tokens using reentrancy ### Description Possible reentrancy in `Goldivault.redeemYield()` if `yieldToken` has a `beforeTokenTransfer` hook. - Let's assume `yt.totalSupply = 100, yieldToken.balance = 100` and the user has 20 yt. - The user calls `re...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
true
false
## Low: Potentially dangerous out-of-bounds memory access in `BytesParsing::sliceUnchecked` ### Description **Description:** [`BytesParsing::sliceUnchecked`](https://github.com/wormhole-foundation/wormhole-circle-integration/blob/f7df33b159a71b163b8b5c7e7381c0d8f193da99/evm/src/libraries/BytesParsing.sol#L16-L57) curr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Finalization Parameter Not Configurable in Contract Initialization ### Description The `BitcoinRelayLogic` contract includes functionality to set the `finalizationParameter`, which determines the number of confirmations required for a transaction to be considered finalized. While a setter function exists for 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
initialization
true
false
## Low: Missing sanity checks when setting `tokenAddress_` ### Description The constructor of the Pool contract lacks sanity checks to ensure that the tokenAddress\_ provided is valid. For reference, Yearn Finance includes such validation: To prevent errors during deployment, consider adding similar checks:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Type casting
false
true
Source: https://github.com/sherlock-audit/2022-11-float-capital-judging/issues/45 ## Found by WATCHPUG ## Summary When `poolValue` is a negative number due to loss in `valueChange` and `funding`, the unsafe type casting from `int256` to `uint256` will result in a huge number close to `2**255` which will revert `_r...
Sherlock
5
Float Capital
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
true
false
## High: Withdrawal request finalisation will always revert ### Description **Severity:** Critical **Path:** OracleReportSanityChecker.sol:_checkRequestIdToFinalizeUpTo#L571-L581 **Description:** A withdrawal request gets finalised through an oracle report from the AccountingOracle to the Lido contract. Lido in tur...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unsafe EIP712 Message Hashing in Cross-Chain Voting Mechanism ### Description The `VotingControllerUpgradeable` uses an unsafe message hashing mechanism that breaks `EIP712` standard compliance. The issue is found in the `getMessageHash` function: ``` // Current unsafe implementation function getMessageHash( ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
false
false
## Low: Current design of TempleGold prevents distribution of tokens ### Description With current TempleGold token design, tokens only can be transferred to/from whitelisted addresses. This prevents further distribution of TempleGold tokens where they could be listed on DEXes, put on lending protocols as collateral an...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
true
false
## Low: `EIP7702StatelessDeleGator` violates `EIP4337` signature validation standards ### Description **Description:** The `EIP7702StatelessDeleGator` implementation doesn't properly adhere to the EIP4337 standard regarding signature validation behavior. According to EIP4337, the `validateUserOp` method should: 1. R...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: [06] The `getPendingInterests()` should be better implemented to handle cases where a market is unavailable ### Description Low impact. If one market goes down or becomes unresponsive, users won't be able to retrieve their pending interests for any of the subsequent markets. This can lead to misinformation and...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
false
false
## Low: Potential incompatibility with `stHYPE` leads to incorrect asset balance calculation ### Description The `Vault` contract inherits OpenZeppelin's `ERC4626` implementation which uses `balanceOf()` to determine `totalAssets()`. However, for `stHYPE` tokens, the actual balance including staking rewards must be o...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
true
true
## Medium: Bypassing `K` epochs cooldown limit of NextBid ### Description In the `AmAmm` contract, the Bid with the highest rent will become the TopBid. To prevent bids from being submitted at the last second, all Bids must become NextBids for `K` epochs before becoming TopBids. However, this limitation can be bypasse...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious pausing the contract ### Description [Auction.sol#L204](https://github.com/code-423n4/2022-09-nouns-builder/blob/7e9fddbbacdd7d7812e912a369cfd862ee67dc03/src/auction/Auction.sol#L204) [Auction.sol#L206](https://github.com/code-423n4/2022-09-nouns-builder/blob/7e9fddbbacdd7d7812e912a369cfd862ee67dc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Low: Use of transferFrom may lead to NFTs getting locked forever ### Description ERC721 NFTs may get locked forever if the recipient is not aware of ERC721 for some reason. While `safeTransferFrom()` is used for ERC1155 NFTs (which has the `_doSafeTransferAcceptanceCheck` check on the recipient and does not have an...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
false
false
## High: `Buoy3Pool.safetyCheck` is not precise and has some assumptions ### Description _Submitted by cmichel, also found by shw_ The `safetyCheck` function has several issues that impact how precise the checks are: 1. Only checks if the `a/b` and `a/c` ratios are within `BASIS_POINTS`. By transitivity, `b/c` is on...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Consistent use of uint256 vs uint ### Description In several places, the code uses `uint` as opposed to `uint256` [1, 2, 3, etc..]. While `uint` is an alias of `uint256`, it would be better to have it consistent across the code. Additionally, mixing uses where it applies to function signature encoding could re...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
true
false
## High: If insider deposits and unlocks in quick succession, attacker can steal their NFT and their deposit funds ### Description The dNFT contract allows the owner to mint a predefined quantity of "insider" NFTs without any deposit attached to them. These NFTs begin in a locked state, which stops them from being imm...
0