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
gas
other
true
false
## Gas: [G‑02] Results of calls to `_msgSender()` not cached ### Description Saves at least **16 gas** per call skipped. *There are 4 instances of this issue:* [VTVLVesting.sol#L371](https://github.com/code-423n4/2022-09-vtvl/blob/f68b7f3e61dad0d873b5b5a1e8126b839afeab5f/contracts/VTVLVesting.sol#L371)
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: State drift between `BasisTradeVault.totalPendingWithdrawals` and `BasisTradeTailor.withdrawalRequests[pocket]` ### Description **Description:** `BasisTradeVault` tracks pending withdrawals in `totalPendingWithdrawals` while `BasisTradeTailor` keeps its own `withdrawalRequests[pocket]`. These two counters are ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Asymmetry in event emission for ETH transfers ### Description The `_safeTransferETHWithFallback`function in the **BeraAuctionHouse** contract emits an event indirectly when the fallback mechanism is triggered via WETH (`weth.deposit` and `weth.transfer`). However, no event is emitted when the direct ETH 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...
solodit_api
medium
dos
true
false
Source: https://github.com/sherlock-audit/2023-11-convergence-judging/issues/131 ## Found by cergyk ## Summary The bug occurs when `CvgRewards::_setTotalWeight` sets `totalWeightLocked` to zero, leading to a division by zero error in `CvgRewards::_distributeCvgRewards`, and blocking cycle increments. The blocking ...
Sherlock
5
Convergence
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Truncation-Related Issues ### Description Throughout the compound contracts, truncation issues inherent to EVM operation result in some relatively unavoidable errors. These errors exist when minting cTokens, when redeeming cTokens for their underlying assets, and when liquidating another user’s loan. In the ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: Enforcers: Miscellaneous Minor Points. ### Description #### **General:** #### A1\. ERC\-165 unused: Enforcers implement ERC\-165\. While there is no harm in that except higher deployment costs, the motivation for that is unclear since no contract in the DeleGator codebase makes use of that. Making a `suppo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Replay Attack
true
true
The KYCRegistry contract uses signatures to grant KYC status to the users using the `addKYCAddressViaSignature` function. However this function does not prevent replaying of signatures in the case where KYC status was revoked from a user. ```solidity function addKYCAddressViaSignature( ... ) external { require...
Code4rena
4
Ondo Finance
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Price volatility may compromise system integrity  Won't Fix ### Description `SavingAccount.borrow` allows users to borrow funds from the bank. The funds borrowed may be denominated in any asset supported by the system-wide `TokenRegistry`. Borrowed funds come from the system’s existing liquidity: other 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
reentrancy
false
false
## Low: Inconsistent use of ETH transfer gas limit parameter ### Description The `ethTransferGasLimit` parameter is passed to the `Gateway` as part of the `proveBtcTransferArgs` to limit the gas spent and to prevent any possible re-entrancy attacks. This value is facilitated by the Relayer via a call to `proveBtcTran...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: PrepareVotes() suppresses error from ValidateVoteExtensions() ### Description If `ValidateVoteExtensions()` errors, the error is not returned; nil is returned. This does not appear to be intentional. ### Recommendation If this is intentional, add a comment stating such. Otherwise, change the return statement ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unsupported tokens cannot be withdrawn ### Description _Submitted by cmichel, also found by kyliek, pedroais, and PPrieditis_ [LiquidityProviders.sol#L273](https://github.com/code-423n4/2022-03-biconomy/blob/db8a1fdddd02e8cc209a4c73ffbb3de210e4a81a/contracts/hyphen/LiquidityProviders.sol#L273) Supported 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
front-running
false
false
## Medium: TSS Nodes Reporting Slashing Are Vulnerable To Front Running ### Description Reporting nodes can be front run and miss out on rewards. TSS nodes are responsible for broadcasting off-chain node slashing decisions on-chain; however, it is possible for any other user to read this transaction information while ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Avoid Passing Unended Process ### Description ## Documentation on `epoch_was_changed` Functionality The `epoch_was_changed` function calls `unstake_from_storage` when it needs to obtain Sui by unstaking staked Sui. The process of unstaking from storage is deemed complete if one of the two conditions is met, w...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: TRST-L-1 LSP0 ownership functions deviate from specification and reject native tokens ### Description **Description:** The LSP specifications define the following functions for LSP0: However, their implementations are not payable. This may break interoperation between conforming and non-confirming contracts...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Option premium calculation underprices options ### Description The option premium is calculated using the input `period`, while the actual duration until the maturity date is rounded up to the end of the day which is typically longer than the given `period`. This allows traders to get longer option durations ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [06] Emission of identical values ### Description Under the context of the above/preceding recommendation, `transferInRewards()` should also have its `emit` refactored below. Otherwise, you are practically emitting two identical values that defeat the purpose of contrasting the old and the values. https://git...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Optimize array comparison ### Description The following function is not well optimized. First of all, there's no need to check the array twice. This alone reduces the cost by half. *1 instance* - [SecurityCouncilMgmtUpgradeLib.sol#L52-L88](https://github.com/arbitrumfoundation/governance/blob/c18de53820c505f...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `setReserve()` can be front-run ### Description _Submitted by palina_ #### Impact The `reserve` address variable in NestedFactory.sol remains equal to 0 before the `setReserve()` function is called by an owner. This may lead to incorrect transfers of tokens or invalid comparison with e.g., the asset reserv...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential Underflow in `token0Total` due to Sentinel-Value Subtraction ### Description Under normal operation, `token0Total` is always initialized to at least **1** so that proportional calculations work correctly. However, after a full `LimitOrderManager.kill()` of an epoch (which zeroes out all liquidity), `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiple ways for reentrancy in InfinityPoolsPeriphery through both swapForwarders could lead to loss of funds ### Description In `InfinityPoolsPeriphery.infinityPoolPaymentCallback()`, when there is a swap of type `PaymentType.COLLATERAL_SWAP`, a user can specify one of the two `swapForwarders` in `src/perip...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Reentrancies can lead to misordered events ### Description Several functions in the codebase do not use the checks-effects-interactions pattern, lack reentrancy guards, or emit events after interactions. These functions interact with external and third-party contracts that can execute callbacks and call the 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
medium
liquidation
true
false
## Medium: $.pendingDecreaseCollateral variable will be updated incorrectly if the agent executes an insufficient response, leading to an imbalance in the strategy after unpausing ### Description **Severity:** Medium **Path:** src/strategy/BasisStrategy.sol#L946-L966, src/strategy/BasisStrategy.sol#L578-L590, src/str...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Improper randomness requests in `CardAllocationPool` and `SpinLottery` ### Description According to [best practices](https://docs.chain.link/vrf/v2/security#dont-accept-bidsbetsinputs-after-you-have-made-a-randomness-request) outlined by Chainlink, **once a contract has submitted a randomness request, it sh...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unused logic related to the daily withdrawal threshold in `DIAStakingCommons` ### Description The `setDailyWithdrawalThreshold()` function allows the owner to modify the daily withdrawal threshold but appears to serve no purpose in the current implementation. Dead code increases contract size, deployment costs...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Outdated Comments ### Description **Update** Addressed in: `7816f5c03e06c610ffdf2e1fc44f06595417f64f`. **File(s) affected:**`ERC1155ItemsFactory.sol`, `ERC1155SaleFactory.sol`, `ERC20ItemsFactory.sol`, `ERC721ItemsFactory.sol`, `ERC721SaleFactory.sol`, `IERC1155ItemsFactory.sol`, `IERC1155SaleFactory.sol`, `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: String-Based Revert Messages Should Use Custom Errors ### Description `MidasRedemptionVaultGateway` contract uses string-based revert messages in multiple places. Since the contract uses Solidity ^0.8.23, which supports custom errors introduced in 0.8.4, these should be replaced with custom errors for gas eff...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
false
false
## Low: Harvester Can Continuously Call `delegateToDelegator()` to Prevent User From `resolveDebt()` ### Description **Update** Fixed by the clients: Addressed in: `596d9629cf03181feaab9e26309006ac3e49922b`. The client provided the following explanation: > 1. Introduce maxUnresolvedEpochs > 2. Delegation will not 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
token
true
false
## Medium: Too many DSC tokens can get minted for fee-on-transfer tokens. ### Description The `DSCEngine` contract overcalculates the collateral when operating with fee-on-transfer tokens, which can lead to too many `DSC` tokens being minted. ### Impact When the contract operates with fee-on-transfer tokens as collat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Hardcoded Setting
false
false
## Security Report ## Severity **Medium Risk** ## Context `SwapManagerUniV3.sol#L140-L149` ## Description The protocol is using the same `TWAP_INTERVAL` for both `weth-morpho` and `weth-reward` token pools while their liquidity and activity might be different. It should use separate appropriate values for both pools...
Spearbit
5
Morpho
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User can steal tokens by using duplicated ERC20 tokens as parameter in `NounsDAOLogicV1Fork.quit` ### Description Calling [NounsDAOLogicV1Fork.quit](https://github.com/nounsDAO/nouns-monorepo/blob/718211e063d511eeda1084710f6a682955e80dcb/packages/nouns-contracts/contracts/governance/fork/newdao/governance/Nou...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Loss of Precision in _vestingSchedule function affects the distribution of OP Tokens ### Description When the `release()` function is called, the amount of OP Tokens that have already vested is calculated by performing a call to the `_vestingSchedule()` function. If `start <= timestamp <= end`, the `_vesti...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: level call is not checked in claim() ### Description In the claim() function, the success of the low-level call is not being verified. If the call fails, the factory will not receive the claimFee, and the fee will remain locked in the claim contract: Consider checking the return value as shown below:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `SwingTraderManager.swingTraders()` shoudn't contain duplicate `traderContract`s. ### Description If `SwingTraderManager.swingTraders()` contains duplicate `traderContract`s, several functions like `buyMalt()` and `sellMalt()` wouldn't work as expected as they work according to traders' balances. ### Proof...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
false
true
## Severity: Medium Risk ### Context - **Contracts:** `LSSVMPair.sol`, `LSSVMPairERC20.sol` ### Description If the factory owner approves a malicious `_router`, it is possible for the malicious router to call functions like `swapTokenForAnyNFTs()` and set `is-Router` to true. Once that function reaches `router.pairTr...
Spearbit
5
Sudoswap
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: INACCURATE REWARD RATE CALCULATION ### Description `AllocationVester.sol` contract calculates the reward unlock rate by dividing the total amount of tokens to be unlocked by the total vesting period (in seconds), which can go from eight weeks (4838400 seconds) to infinity. However, when the amount of tokens 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
initialization
false
false
## Low: Config Can Be Initialized by Anyone ### Description **Update** Marked as "Fixed" by the client. Addressed in: `af99bcc5151df5324a8dce076a39ed640c0eef22`. The client provided the following explanation: > A check was applied to guarantee the original Config admin is one of our wallets. **File(s) affected:**`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
high
other
false
false
## High: Virtual pools detached from the corresponding `AlgebraPool` result in an inconsistent state ### Description In cases where `AlgebraPool` connected to `VirtualAlgebraPool` catches a revert during a call to the `crossTo` function, the pool will reset its `activeIncentive` parameter to the 0 address here: https:...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: DoS in `cancelNextBid()` due to insufficient `topBid` deposit ### Description The current implementation only checks if `(topBid.deposit / topBid.rent) = K 320:>>> if (topBid.manager != address(0) && topBid.deposit / topBid.rent >> revert AmAmm__BidLocked(); 322:>>> } 323: 324: // delete next bid from 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
high
other
false
false
## High: Debt could be relieved without repayment ### Description **Description** the 'repay' function increases a vault_sol_balance and decreases a borrowed_amount without receiving any payments File: lending/programs/water/src/lib.rs: 614 **Recommendation** add a Transfer function to get the payment from the borr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of error transparency in delegatecall failures ### Description The `_multicall` function in the **Multicallable** contract uses `delegatecall` to execute provided calldata. When the `delegatecall` fails, the function reverts without returning the error message or reason for the failure. This limits visibi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
token
true
false
## Low: `ComplianceServiceRegulated::getComplianceTransferableTokens` should call `IDSLockManager::getTransferableTokensForInvestor` ### Description `ComplianceServiceRegulated::getComplianceTransferableTokens` already loads the registry and fetches the investor id, so therefore it should call `IDSLockManager::getTran...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `MuteBond`'s `epoch()` and `currentEpoch()` are the same ### Description Gas saved: a few units per tx `epoch()` and `currentEpoch()` are basically the same, each public/external function adds a conditional check for each tx (since the contract compares the call data against the function has to find the right...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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-union-judging/issues/24 ## Found by hyh ## Summary Withdraw sequence entry is being deleted in AssetManager's removeAdapter() using incorrect index, so the sequence array becomes corrupted and withdrawals can end up unavailable. ## Vulnerability Detail `index` us...
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
medium
other
false
false
## Medium: Governor’s veto protection can be exploited ### Description ## Handle cmichel ## Vulnerability details The `GovernorAlpha`'s council cannot veto proposals that perform a call to the contract itself. This can be exploited by malicious proposal creators by appending a new call at the end of their proposal...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: (HAL-06) Anyone Can Burn SHToken From Other Users ### Description The `burn()` function in the `SHToken` contract lacks proper access control, allowing any external user to call it and burn tokens from any account. This vulnerability can be exploited by malicious actors to arbitrarily reduce the token 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
low
rounding
true
false
## Low: Precision loss in `withdraw(...)` can lead to all `asdUDSC` being burned while not all `USDC` is withdrawn ### Description See [`withdraw`(…)](https://github.com/code-423n4/2024-03-canto/blob/1516028017a34ccfb4b0b19f5c5f17f5fa4cad42/contracts/asd/asdUSDC.sol# L52-L66) method: The `asdUDSC` token has 18 decim...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: MANDATORY CHECKS FOR EXTRA SAFETY IN THE SETTERS ### Description In the folowing functions below, there are some checks that can be made in order to achieve more safe and efficient code. Address zero check can be added in the function offer, `RubiconMarket` contract to ensure the address owner and recipient 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: Unnecessary Casting Of Fee Rate ### Description ## Compute Swap Step Function Issue In the `compute_swap_step` function, the `fee_rate` variable of type `u64` is unnecessarily casted to `u64`: ## Remediation The `as u64` part can be removed: ## Patch Fixed in commit `f6a3888`. ### Recommendation The `a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Variable names that consist of all capital letters should be reserved for `constant`/`immutable` variables ### Description If the variable needs to be different based on which class it comes from, a `view`/`pure` *function* should be used instead (e.g. like [this](https://github.com/OpenZeppelin/openzeppelin-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
false
false
## Low: Convex extra reward tokens are not handled ### Description The `claimCVXReward` method makes a call to `getReward` from the Convex reward pool contract. The `getReward` method actually can possibly send other token rewards to the caller as well, but those are not handled in the `Capsule` contract as only `CRV`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: claim rate is non-continuous ### Description The `getClaimRateBps` function is non-continuous in both `(claimRate, gasSecondsToConsume)` return parameters. It jumps at `baseGasSeconds` from `(zeroClaimRate, 0)` to `(baseClaimRate, gasSecondsToConsume)`. This can lead to strange user claim incentives: Dependin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: cancelPromotion is too rigorous ### Description _Submitted by gpersoon, also found by 0x0x0x, gzeon, harleythedog, hubble, and kenzo_ #### Impact When you cancel a promotion with `cancelPromotion()` then the promotion is complete deleted. This means no-one can claim any rewards anymore, because `\_promotio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
initialization
false
false
## Gas: && in Require Functions ### Description If not opting to use custom errors and If optimising for running costs over deployment costs you can seperate && in require functions into 2 parts. I ran a basic test in remix and it cost an extra 234 gas to deploy but will save &#126;9 gas everytime the require function...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Missing input validation on timeout ### Description ## Handle 0xRajeev ## Vulnerability details ## Impact Factory constructor sets timeout to 86400 seconds but setter setTimeout() has no threshold checks for a min timeout value. If this is accidentally set to 0 or lower-than-safe value then there is no di...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Owner can steal funds from any user by abusing `setRecipientFor()` or `platformFee` ### Description The owner has the ability to steal all bounty rewards from users. This can be accomplished in either of two ways: 1. The owner has access to a function called `setRecipientFor()`, which allows them to set the 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
false
false
## Low: [08] Prolonged process due to updatable state ### Description The introduction of [`updatePeriodEndBlock`](https://github.com/nounsDAO/nouns-monorepo/blob/718211e063d511eeda1084710f6a682955e80dcb/packages/nouns-contracts/contracts/governance/NounsDAOV3Proposals.sol#L67) in V3 compared to the V1/V2 could unnece...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
true
false
## Low: Lack of timelock enables reward sniping ### Description First see: As seen, yhe WstUSF contract allows users to deposit and withdraw within the same block without any timelock mechanism. This atomic interaction capability creates an attack vector where sophisticated users can frontrun reward distributions 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
gas
other
false
false
## Gas: Avoid repeated comparison with `msg.sender` when looping in `SiloFacet:transferDeposits` ### Description Currently, `SiloFacet:transferDeposits` performs the same comparison every loop iteration, but this can be done just once outside the for loop: Alternatively, the logic can be divided into two separate 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
signature
true
false
## Low: [02] `DAO.execute` FUNCTION DOES NOT CHECK IF `_actions[i].to` HAS ANY CONTRACT CODE WHEN `_actions[i].data` IS NOT EMPTY ### Description It is a popular practice for a protocol to deploy its token using the same deployer contract address and the same nonce so the addresses of such token are the same on differ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rogue validators can manipulate funding rates and profit unfairly from liquidations ### Description Validators are given the exclusive privilege to match. Any validator can abuse this privilege to manipulate funding rates and profit unfairly from liquidations. Normally validators are fully trusted but in 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
storage
false
false
## High: Core System Can Be Disabled ### Description The [`CoreSystem`](https://github.com/latticexyz/mud/blob/12a9eb1afb18a7f7cb43d774cabb2d5af7c74e6b/packages/world/src/modules/core/CoreSystem.sol#L18) contract is [registered in the `ROOT_NAMESPACE`](https://github.com/latticexyz/mud/blob/12a9eb1afb18a7f7cb43d774cab...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
signature
false
false
## Low: No way for users to invalidate nonce used to sign ### Description After signing a transaction, users may change their mind and wish to invalidate their signature. In this case users should have a function to call that invalidates their nonce. In places such as `SecuritizeSwap::executePreApprovedTransaction`, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Cannot deposit to BathToken if token is Deflationary Token (BathHouse.sol) ### Description _Submitted by PP1004, also found by unforgiven, GimelSec, and camden_ Function `openBathTokenSpawnAndSignal` will alway revert when `newBathTokenUnderlying` or `desiredPairedAsset` is deflationary token ### Proof of...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: OmnichainStaking.sol:unstakeLP and OmnichainStaking.sol:unstakeToken allows anyone to unstake any token provided they own enough ZEROvp ### Description Report type: Smart Contract Target: https://github.com/zerolend/governance Impacts: - Direct theft of any user NFTs, whether at-rest or in-motion, other 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
medium
initialization
false
false
## Medium: In the beginning its relatively easy to gain majority share ### Description _Submitted by gpersoon_ When the DAO is just deployed it is relatively easy to gain a large (majority) share, by depositing a lot in the `DAOVault` and/of `BONDVault`. Then you could submit a proposal and vote it in. Luckily there ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Lack of disableinitializers in upgradeable contracts ### Description In the context of upgradeable smart contracts using OpenZeppelin's upgradeable patterns, it's crucial to ensure that initializers cannot be re-invoked after deployment, to prevent unauthorized or unintended re-initialization which could lead ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: SwapManager Configurations Cannot be Updated or Removed ### Description The `SwapManager` contract does not allow updating or removing existing configurations for collateral assets, creating significant inflexibility in maintaining the protocol. If a security vulnerability is discovered in a swapper 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
low
other
false
false
## Low: Contracts can be re-deployed in `rUSDY` factory ### Description https://github.com/code-423n4/2023-09-ondo/blob/main/contracts/usdy/rUSDYFactory.sol#L75 The `rUSDY` contract can be redeployed by the guardian by calling `deployrUSDY()` in the `rUSDYFactory` contract. This will deploy a new set of contracts 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...
solodit_api
medium
initialization
true
false
## Severity **Impact:** Medium **Likelihood:** Medium ## Description Though the `ClaveImplementation.initialize` function can proceed an initial call with arbitrary `value`, the `payable` modifier is missed both in the `initialize` and in the `AccountFactory.deployAccount` functions. The `deployAccount` function al...
Pashov Audit Group
3
Clave_2024-11-02
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: veRaac Token Constraint MAX_TOTAL_SUPPLY Can Be Bypassed. Vulnerability Disrupts Protocol Functionality and Undermines Governance Quorum. ### Description The `veRAACToken` contract includes functionalities to lock, unlock, increase, withdraw, and extend both the locked amount and duration of RAAC tokens. 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
medium
other
true
false
## Medium: Node runner who is already known to be malicious cannot be banned before corresponding smart wallet is created ### Description Currently, the `rotateNodeRunnerOfSmartWallet` function provides the only way to set `bannedNodeRunners` to `true` for a malicious node runner. However, before the node runner calls...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
access-control
true
false
## Low: Roles not set in `deposit-registry` contract constructors ### Description Roles in contracts that belong to the `issuance` contracts are being initialized in the constructors and contain proper functions to update the address for this roles (revoke and grant): ```solidity constructor( string memory _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
access-control
true
false
## Medium: `withdrawAssets` will always revert ### Description While the contract is not expected to receive any assets, the `withdrawAssets` function is provided to allow the admin to withdraw any assets that the contract may have received, presumable by mistake. `withdrawAssets` uses the `fromStage` modifier to ens...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
USDC
false
false
Source: https://github.com/sherlock-audit/2022-10-rage-trade-judging/issues/55 ## Found by 0x52 ## Summary WithdrawPeriphery allows the user to redeem junior share vaults to any token available on GMX, applying a fixed slippage threshold to all redeems. The slippage calculation always returns the number of tokens ...
Sherlock
4
Rage Trade
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Most state-changing methods do not emit events ### Description Examples for this are `setDepositsActive` or `setCouncilAddress` - state-changing methods should emit events so that off-chain monitoring can be implemented. Make sure to emit a proper event in each state-changing method to follow best practices.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
flash-loan
false
false
## Low: A flash loan fee sandwich attack ### Description https://github.com/cryptoalgebra/Algebra/blob/6c22b64977e0b0266aec89470480df74977eb606/src/core/contracts/AlgebraPool.sol#L328 The flash loan fee is spread among current active liquidity providers. A malicious actor can get a flash loan transaction from the memp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: CoreControlled allows many calls on behalf of users in the Gateway ### Description The use of `CoreControlled` allows for many calls on behalf of users. `GOVERNANCE` may call each of the following with arbitrary arguments: - `usdc.transferFrom` - `iusd.transferFrom` - `liusd.transferFrom` - `LockingController...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wrong reward token calculation in MasterChef contract ### Description _Submitted by throttle, also found by cccz, cmichel, and leastwood_ [MasterChef.sol#L86](https://github.com/code-423n4/2022-02-concur/blob/main/contracts/MasterChef.sol#L86) When adding new token pool for staking in MasterChef contract ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
dos
true
false
<https://github.com/code-423n4/2025-05-blackhole/blob/92fff849d3b266e609e6d63478c4164d9f608e91/contracts/BlackGovernor.sol# L52> <https://github.com/code-423n4/2025-05-blackhole/blob/92fff849d3b266e609e6d63478c4164d9f608e91/contracts/BlackGovernor.sol# L91> ### Finding description * **Severity**: Medium * **Affect...
Code4rena
4
Audit 507
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Single-step process for critical ownership transfer ### Description If the nominated `newAdmin` or `newOwner` account is not a valid account, the owner or admin risks locking themselves out. ```solidity function setAdmin(address newAdmin) public onlyAdmin { admin = newAdmin; emit SetAdmin(newAdmin); } fu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Hash shouldn't be re-calculated on every iteration of the `for`-loop ### Description Calculate the hash outside of the loop, and use that value within the loop *There is 1 instance of this issue:* https://github.com/rabbitholegg/quest-protocol/blob/8c4c1f71221570b14a0479c216583342bd652d8d/contracts/RabbitHo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Possible Revert Due to Improper Values ### Description ## Token Calculations Issue In `available_to_borrow` and `collateral_value_to_sell`, the calculations for scale have the potential to revert under specific conditions related to token decimals. ## Remediation Check the token decimal values to ensure 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
false
## Low: [06] Duplicate import statement for `AgentFactoryV3.sol` in `FGenesis.sol` ### Description In `FGenesis.sol`, the module `AgentFactoryV3.sol` is imported twice at the top of the file: This duplication is unnecessary and could lead to confusion for maintainers or reviewers. While it does not directly impact 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
false
false
## Low: WITHDRAWAL COULD GET STUCK IF THERE ARE NO MORE UNBONDINGS ### Description If users unbond before the epoch period using the `execute_unbond` or `execute_unbond_stsei` functions in the **krp-staking-contracts/basset\_sei\_hub** contract, they won't be able to withdraw their tokens later unless someone else unb...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Missing Controller Functions in GaugeController ### Description Certain functions in the BaseGauge contract—namely `setEmission`, `updatePeriod`, `setInitialWeight`, and `setBoostParameters`—are designed to be callable only by the controller (i.e., the GaugeController). However, these functions are not impleme...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TRST-H-2 Users can drain Gelato deposit at little cost ### Description **Description:** In Console automation, fees are collected via the `claimExecutionFees()` modifier: **Impact:** The actual strategy processing happens in _; , then the total fee is calculated using the gas used up to this point. T...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unclear as to the rewards for staking. ### Description **Severity**: Informational **Status**: Resolved **Description** Using the' stake () function, a user can stake any amount for any period. A fee is charged for the specified amount during the staking process. Further, the user can withdraw the amount af...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Genesis State Validation ### Description ## Importing Genesis State In the genesis, the code does not check for duplicates before importing an account within `ImportState`. If `ImportState` is called with a `genesisState` that contains duplicate accounts (i.e., accounts with the same account number 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
reentrancy
false
false
## Low: Could make code more efficient ### Description **Description** In ReentrancyGuardInitializable.sol, on lines 35 & 36, the private variables _NOT_ENTERED & _ENTERED could be declared as boolean types instead of unit256: uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; **Recomm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: Excess `msg.value` Can Be Stuck In The `Executor.sol` Contract ### Description The `swap()` function is payable, which means it can allow native tokens. ```solidity function swap( IExecutor executor, RouteDescription calldata desc, Interaction[] calldata interactions ) external payable returns (uint2...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 `_isInitialized(msg.sender)` check in `K1Validator.transferOwnership()` ### Description `K1Validator.transferOwnership()` does not check if the module is initialized for a smart account. ### Impact Smart accounts can be locked out of using the `K1Validator` module permanently.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No Check for Transferring to Self ### Description The `_transfer` function is responsible for transferring the ownership of a lock from one address to another. It is a critical part of the ERC721 token standard implementation, which this contract adheres to. However, there is a missing check to ensure that 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: The `dateRemoved` field of a removed DKIM key can be reset ### Description The `removeDKIMKey` method in `DKIMRecoverySigValidator` does not check if the given key has already been removed. The `authorizedToRevoke` account can call the method for the same key as many times as he wants, which will reset the `da...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect chainId of Base in deploy script will force redeployment ### Description Incorrect chainId of Base in deploy parameters results in incorrect deploy and subsequent redeployment. ### Proof of Concept Contract ChainIds.sol is responsible for mapping `chainId -> wormholeChainId` which is used in con...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 player verification in `earlyEndGame` function ### Description The `earlyEndGame` function currently does not verify whether a player is actually part of the game before proceeding with updates to the game state and player's balance. This lack of verification could potentially allow incorrect updates 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: [02] Lack of method to remove derivatives ### Description In case a derivative gets added by mistake or with incorrect parameters, currently this derivative would remain stuck in `SafEth.sol`. ### Recommendation Consider adding a method that allows removing derivatives from `SafEth.sol`. ### Recommendation ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
true
false
## Medium: Uniswap Formula Drastically Underestimates Volatilty ### Description Source: https://github.com/sherlock-audit/2023-10-aloe-judging/issues/38 ## Found by Bandit The implied volatility calculated fees over a time period divided by current liquidity will almost always be lower than a reasonable derivation...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
logic-error
true
false
## Medium: In `Operator._transfer()`, `onDelegate()` should be called after updating the token balances ### Description In `_transfer()`, `onDelegate()` is called to validate the owner's `minimumSelfDelegationFraction` requirement. ```solidity File: contracts\OperatorTokenomics\Operator.sol 324: // transfer 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
initialization
true
false
## Low: Constructor of `Escrow` should make sure that `buyer`, `seller`, `arbiter` are different from each other. ### Description - As arbiter should be impartial, when buyer or seller is same with arbiter, there would be unfair arbitration. - Buyer and seller might be same in case malicious buyer/seller might want to...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Inconsistency in Prime Number Calculation ### Description ## Vulnerability in `find_next_prime` Function The vulnerability arises from the way the `find_next_prime` adjusts `n` to find the next prime number greater than `n`. All prime numbers greater than three are either of the form `6k + 1` or `6k + 5`. In ...
0