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
high
cross-chain
true
false
## High: Invalid token address used in `ChakraSettlementHandler::cross_chain_erc20_settlement(...)` leading to invalid transaction creation and event emission ### Description ### Lines of code ### Impact The `ChakraSettlementHandler` incorrectly passes the contract address instead of the token one, when creating th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Invalid DoubleEndedIterator Trait Implementations ### Description ## Ineffectiveness of Iterator Implementations The critbit, AVL tree, and red-black tree do not correctly implement Rust’s `DoubleEndedIterator` trait, which is described here. ## Issue with Red-Black Tree For instance, the red-black tree it...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: Strict equality used in `CEToken` ### Description **Severity**: Medium **Status**: Acknowledged **Description** Strict equality has been used in CEToken.sol. The transfer function can be frontrunned by a user to send a small amount to another user so that the following code on line: 173 of `_removeChain(...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 or Misleading comment ### Description **Severity**: Informational **Status**: Resolved **Description** These are the few typos or misleading comments in the contracts. Trading Storage -> Line#12 -> Variables are not constants anymore. **Recommendation**: Update the comments.\ **Fixed**: Issue fixe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Vertex Fees Transferred From User Do Not Account for Referee Fees, Leaving The Protocol with Permanent Shortfall ### Description The vulnerability exists in the Vertex fee transfer process of the GMX protocol. In `GMX`, fees are first transferred to the `PlatformLogic.sol` contract, and then split among treas...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `split` assigns max lock time to child `NFTs`, possibly locking funds ### Description _Resolved_ When splitting an NFT, the code sets the unlock time of each child NFT to the maximum lock time, even if the parent NFT has an earlier unlock time. This can unintentionally force the user into the longest poss...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 are permanently frozen when two tokens are merged. ### 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 ## Description ## Brief/Intro Alcx rewards are not claimed...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `initializeMarket` can be frontran, preventing markets from being configured in `MorphoLendingRouter ` ### Description `initializeMarket` can be frontran, creating the same morpho market as the expected when initializing. ### Impact Medium, it is possible to DoS market initialization, which will prevent st...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: D3UserQuote#getUserQuote queries incorrect token for exchangeRate leading to inaccurate quota calculations ### Description A small typo in the valuation loop of D3UserQuote#getUserQuote uses the wrong variable leading to and incorrect quota being returned. The purpose of a quota is to mitigate risk of posit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
true
false
## Low: Sweep tokens from Hopfacets ### Description The Hop bridges `HopFacet` and `HopFacetOptimized` don't check that `_bridgeData.sendingAssetId` is the same as the bridge token. This could allow for the sweeping of tokens out of the Diamond contract. Normally, there shouldn't be any tokens left at the Diamond; how...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `createQuest` doesn't check if the reward token address is in the allow list on ERC-1155 quest type ### Description The function `createQuest` is called by users with the quest role. The main purpose of the function is to create quests, which can be either erc20 or erc1155 type. When the type is erc20, a check...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [03] Lack of standard initialization protection in key contracts ### Description The contracts use custom checks to prevent multiple initializations, such as checking if certain state variables are set to their default values. While these checks do provide some protection against multiple initializations, they...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Optimize gas costs when handling liquidity start and end times ### Description When the `LiquidityMining` contract is deployed, `startLiquidityMiningTime` saves the current block timestamp. **code/contracts/LiquidityMining.sol:L46** ``` startLiquidityMiningTime = block.timestamp; ``` This value is never...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Gas Limit
true
false
Source: https://github.com/sherlock-audit/2022-11-bond-judging/issues/10 ## Found by rvierdiiev ## Summary BondAggregator.liveMarketsBy eventually will revert because of block gas limit ## Vulnerability Detail https://github.com/sherlock-audit/2022-11-bond/blob/main/src/BondAggregator.sol#L259-L280 ```solidity ...
Sherlock
3
Bond Protocol
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Internal State of `BaseOmnichainControllerSrc` Is Not Reverted After an Execution Failure ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: We acknowledge this behaviour that count will be incremented whenever execute function of OmnichainP...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## High: swapBorrowRateMode does not check if reserve allows fixed interest rates ### Description The `swapBorrowRateMode` allows changing the interest rate mode of any reserve to fixed, even if it is disallowed by the reserve itself. The borrow function allows specifying an `interestRateMode` input, which could be eit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Cooldown duration changes apply retroactively ### Description _Acknowledged_ In `deusd_lp_staking.move` function `withdraw()`, the cooldown duration is read from current parameters at withdrawal time, not locked when user unstakes. Admin can change cooldown periods mid-stream, affecting users who have already...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
false
false
## Medium: TON balance of non-executed or expired orders is not recoverable ### Description Several conditions could make an order impossible to execute: if the order is invalidated due to a change of the signers list, if the threshold value changes in the multisig (see TOB-TON-MSIG-4), or if the order is expired. All...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
true
false
## Low: Non-compliant users can claim withdrawn assets after the cooldown period ### Description `StakingVault::redeem, withdraw` use the `onlyWhitelisted` modifier to verify that `msg.sender` is whitelisted or is compliant, as this modifier ends up calling `Whitelist::isAddressWhitelisted`: ```solidity function isAdd...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: INTERNAL BALANCE TOKENS CAN BE DRAINED THROUGH THE CURVEFACET.EXCHANGEUNDERLYING FUNCTION ### Description In the `CurveFacet`, the `exchangeUnderlying()` function is used to swap underlying assets from different Curve stable pools: ### Recommendation **SOLVED**: The `Beanstalk team` corrected the issue by ov...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
upgrade
true
false
## Low: Move immutable branch check outside `for` loop in `RootUpgrade::removeBranch` ### Description Move immutable branch check outside `for` loop in `RootUpgrade::removeBranch` - this check should only occur once not during every loop iteration. ### Recommendation ```solidity function removeBranch(Data storage sel...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Gas: State variables only set in the constructor should be declared immutable ### Description Avoids a Gsset (20000 gas) in the constructor and replaces the first access in each transaction (Gcoldsload - 2100 gas) and each access thereafter (Gwarmacces - 100 gas) with a PUSH32 (3 gas). https://github.com/code-423...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Function exit() always reverts. ### Description **Description** Gauge.sol: function exit(). Functions exit() calls nonReentrant modifier multiple times(in functions exit(), _withdraw(), getReward()). nonReentrant is designed in such a way, that it must be called only once during a transaction otherwise it rev...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
access-control
false
false
## Gas: Using bools for storage incurs overhead (3 instances) ### Description * Deployment. Gas Saved: **20 221** * Minumal Method Call. Gas Saved: **266** * Average Method Call. Gas Saved: **-990** * Maximum Method Call. Gas Saved: **-5 979** // Booleans are more expensive than uint256 or any type that tak...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
false
false
## Low: Run out of gas in getAvailableReward ### Description **Description:** The calculation for currentAvailableRewardPeriod is not capped at a maximum of rewardPeriods, after a long time this number could be great enough to make the loop run out of gas, if the user still has some rewards to receive it would 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
initialization
true
false
## Medium: Every consecutive epoch will have same number of rewards if its <= TAIL_EMISSIONS_RATE in current epoch ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/Minter.sol Impacts: - Contract fails to deliver promised returns, but doesn't lose ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: If `setRewards` will be called for same epochs, then `cantoPerBlock` will be rewritten ### Description `LendingLedger.setRewards` accepts `_fromEpoch` and `_toEpoch` params. The only check that function does is if epoch [are set as weeks](https://github.com/code-423n4/2024-01-canto/blob/main/src/LendingLedger....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Implement a function to decode tick information in wrapper ### Description There is a `tick()` function to fetch the encoded deposit tick. For convenience, consider adding another function with decoded information (price limit, loan duration, APR). ### Recommendation ```solidity function decodedTick() externa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
true
true
## High: TVL errors by including pending withdrawal assets ### Description The `getTotalAssetTVL()` function incorrectly includes assets that are backing **pending withdrawal requests** in its TVL calculation. This results in an inflated `elyAsset` price, leading to exploitable pricing errors. **Root Issue** When 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...
cyfrin_structured
low
access-control
true
false
## Low: Enable the optimizer ### Description [Enable the optimizer](https://dacian.me/the-yieldoor-gas-optimizoor#heading-enabling-the-optimizer) in `foundry.toml`. Gas results: ```diff { - "addToBlacklist": "31090" + "addToBlacklist": "30691" - "addToWhitelist": "28754" + "addToWhitelist": "28392" - "batchAdd...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
false
false
## Medium: Inability to Retry Disbursements ### Description **Update** Marked as "Fixed" by the client. Addressed in: `9989649c24e695987acc428693081e032640d8bd`, `eba22769e7c14e130f4be2edba2beea3a29b3121`. The client provided the following explanation: A new method was added that allows retrying disbursements through ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious user can mint unlimited flux tokens ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/VotingEscrow.sol Impacts: - Direct theft of any user funds, whether at-rest or in-motion, other than unclaimed yield - Manipulation of governan...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Revert strings ### Description _Submitted by hrkrshnn_ Consider using custom errors instead of revert strings. Can save gas when the revert condition has been met and also during runtime. Consider shortening revert strings to less than 32 bytes. Revert strings more than 32 bytes require at least one addition...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Style Guide Optimizations ### Description The project codebase contains several stylistic inconsistencies and deviations from Solidity best practices, which, while not directly impacting functionality, reduce code readability, maintainability, and adherence to standard conventions. Addressing these inconsisten...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Regular Dependency Used Instead of Upgradeable ### Description The `RevenueManagement` contract inherits the properties of the `ReentrancyGuard` contract to reduce the attack surface and mitigate certain attacks. However, it is [importing](https://github.com/radiant-capital/riz/blob/65ca7bb55550d30388e2b2277fe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
true
false
## Low: Unoptimized loops ### Description Throughout the `GorplesCoin` contract, there are several instances of unoptimized `for` loop declarations that may incur in higher gas costs than necessary. The affected functions are: * `setMinBridgeAmount()` * `setBlacklisted()` * `setBurnExcluded()` * `pendingEmission()` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Invalid Event Field ### Description ## swapETHToTokens Function The `swapETHToTokens` function allows users to swap Ether for tokens along a specified token path. It updates the price through a Pyth oracle and ensures that the received token amount meets or exceeds a specified minimum threshold. ## 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
other
true
true
## Low: Deleting clients may lead to incorrect getter values ### Description Getter functions return information on clients even after clients are deleted. This behavior may lead to unexpected behavior in third-party applications or contracts. The `Operations` contract contains a `client` mapping consisting of client...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Budget is always calculated using the full `epochDuration` regardless of the actual timing of distributions ### Description **Description:** The `DistributionManager` calculates budget allocations based on the full epoch duration and transfers tokens to reward controllers at the end of each epoch. When reward ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious Nft Contract Can Repay Liens without Transfering Nft ### Description **Update** Marked as "Fixed" by the client. Addressed in: `a6290e37e2ebde7397b8d8efdc505bda4cf3fd15`. The client provided the following explanation: > Check NFT is received in the beginning of `onERC721Received` for the data bra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Function `canClaim()` doesn't consider contract's balance and pause state ### Description Function `canClaim()` is supposed to return true if user can claim airdrop. It checks multiple things to make sure user can claim airdrop but the issue is that function doesn't check the contract balance. If contract's ba...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `ComplianceServiceRegulated` applies double locking to investor transferable tokens leading to DoS of transfers ### Description **Description:** `ComplianceServiceRegulated::getComplianceTransferableTokens()` enforces a double locking on the investors' transferable tokens, causing more tokens to be consider...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 or Incomplete NatSpec ### Description Some functions are missing @notice/@dev NatSpec comments for the function, @param for all/some of their parameters and @return for return values. Given that NatSpec is an important part of code documentation, this affects code comprehension, auditability and usabil...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: When Burning a Tokenized Position `validate` should be done before flipping the `isLong` bits in `_validateAndForwardToAMM()` ### Description Each leg in a `tokenid` has a risk partner which is usually its own index but in some cases, it could be another leg (Partner in defined risk position). In the funct...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potentially Confusing value on ERC20 Operation ### Description The **BaseERC20Guild** contract supports two different asset types: **ETH** and **ERC20 tokens**. Both types are managed differently during proposal execution, especially in the `endProposal()` function. If the asset is an ERC20 token, the `endProp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Validation
true
true
## Severity: High Risk ## Context `CollateralToken.sol#L119` ## Description The function `liquidatorNFTClaim()` includes a check to determine if a Seaport auction has ended: ```solidity if (block.timestamp < params.endTime) { // auction hasn't ended yet revert InvalidCollateralState(InvalidCollateralStates.A...
Spearbit
5
Astaria
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: userOp validation is skipped in simulation mode for smart contract user accounts ### Description ## Severity: High Risk **Context:** `AtlasVerification.sol#L551` **Description:** It can happen that the user has not allowed this `userOp` (i.e., returning `validateUserOp()` returns false), but during simu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of zero-value checks on functions ### Description Certain setter functions fail to validate incoming arguments, so callers can accidentally set important state variables to the zero address. The constructor in the derivative-issuance protocol’s `DerivativeSpecification` contract takes as a parameter 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
dos
true
false
## High: Claimer Fee Exploitation ### Description ## Audit Summary A user may make a very small purchase, such as buying one unit of the payment token, and then using `setClaimerOnce` to assign another user as the claimer. This action adds an entry for the small purchaser in the `claimerToBuyers` array for the design...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insecure Encryption ### Description ## Encryption with CryptoJS The website uses the CryptoJS library’s encryption method in its default mode to safeguard sensitive information. When the library is utilized in its default mode, the PKCS7 and AES-CBC padding schemes are employed. However, this mode lacks authe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
rounding
true
false
## High: User doesn't have to deposit for a week into the market to get their weekly reward from the `LendingLedger` ### Description In the `LendingLedger` contract, a user is rewarded with CANTO tokens depending on how long he has his deposit in the market. Rewards are distributed for each week during which the depos...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
false
false
## Low: USDs Minting Could Be DoS ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Considering that a rebase only occurs when the `rebasingSupply` is greater than 0, utilizing the rebasing fund, which is a portion of USDs included in `nonRebasingSuppl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
cross-chain
false
false
## Medium: Outbound CCTXs to external chains are not properly validated, preventing subsequent outbounds to the external chain from being processed ### Description Outbound CCTXs to external chains are not properly validated. This can lead to invalid and unprocessable outbound CCTXs that cannot be relayed and executed...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Cache Array Length Outside of Loop ### Description When the length of an array is not cached outside of a loop, the Solidity compiler reads the length of the array during each iteration. For storage arrays, this results in an extra `sload` operation (100 additional gas for each iteration except the first). For...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: Config Changes Zero Critical Fields ### Description ## Change Sundial Configuration Issues The privileged `ChangeSundialConfig` and `ChangeSundialCollateralConfig` instructions clobber the `liquidity_decimals` and `collateral_decimals` fields respectively. When initializing the Sundial instance, note how 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
liquidation
true
false
## Medium: `setPosMode` should not allow changing the mode when the new mode's `canRepay` status is disabled ### Description In the scenario where the mode's `canRepay` status is set to false, positions using that mode cannot be repaid and liquidated. However, users are allowed to change their position's mode to one w...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
true
false
## Medium: Inflation attack by token transfer ### Description The first staker can inflate the exchange rate by transferring tokens directly to the contract such that subsequent stakers get minted zero wxETH. Their stake can then be unstaked by the first staker, together with their own first stake and inflation invest...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `getUserOpHashes()` Can Cause Unexpected Behavior ### Description **Severity**: Informational **Status**: Acknowledged **Description** In the contract, 'EntryPointWrapper.sol`, `getUserOpHashes()` on line 196 may cause unexpected behavior. If the wrong `entryPoint` address is input to the function parameter...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Store the timestamp endpoint rather than re-calculating it every time ### Description The `isTimeEnded()` function does a lot of calculations every time it's called. It's called from multiple modifiers so it's important for it to be efficient. Rather than storing the duration, the code can calculate and store ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Privileged Roles and Ownership ### Description **Update** From the team: **File(s) affected:**`packages/protocol/contracts/core/balance-sheet/BalanceSheetV2.sol`, `packages/protocol/contracts/core/fintroller/Fintroller.sol`, `packages/protocol/contracts/core/h-token/HToken.sol`, `packages/protocol/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
medium
other
true
false
## Medium: User Max Deposit Count Is Prone To an Off by One ### Description The `Vault` contract handles gas usage via limiting each individual user's allowed deposits, via the variable `maxDifferentDepositByUser`, which is set to 10 by default. It is used inside `userDeposit()` when checking the length of deposits, 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
gas
reentrancy
false
false
## Gas: 3S-LENFT-N01 protocol/Trading/SwapRouter.sol: nonReentrant modifier isn't necessary ### Description Since the [SwapRouter](https://github.com/leNFT/contracts/blob/master/contracts/protocol/Trading/SwapRouter.sol) contract is just a router (it doesn't hold any funds or storage variables), and the only user that...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Loss of minting price information in mint Function ### Description **Severity**: Low **Status**: Resolved **Description**: In the `mint()` function of the Solidity smart contract, the minting price information is not stored or returned after the minting price is calculated and assigned to `_amountInEth`. 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
other
true
false
## Medium: 2] Current rate limit logic allows ejection beyond allowed limit ### Description **Severity:** Medium **Path:** EjectionManager.sol:ejectOperators **Description:** The owner or an ejector can eject operators. Only the ejector has a rate limit, which restricts how much can be totally rejected during a quor...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [1] contracts/mixins/collections/CollectionRoyalties.sol ### Description On line [80](https://github.com/code-423n4/2022-08-foundation/blob/792e00df429b0df9ee5d909a0a5a6e72bd07cf79/contracts/mixins/collections/CollectionRoyalties.sol#L80), `supportsInterface` can be rewritten to avoid the `if/esle` branching:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
false
false
## Low: Inconsistent indentation formatting in `CurrencyManager` ### Description The indentation in `CurrencyManager` is 2 spaces while the indentation for the rest of the codebase is 4 spaces. ### Recommendation Consider formatting `CurrencyManager` to be consistent with the 4 space indentation convention.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Support ERC1271 smart contract permits ### Description `wrappedM` has another `permit()` function that takes in `bytes memory signature` instead of the `(v, r, s)` tuple to allow smart contract wallets to verify signatures and authorize approvals, as per ERC1271. Currently, this functionality is not supported ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Plugins May Add the `IPlugin` Interface to MSCA ### Description **Update** `IPlugin` is now not allowed in the `interfaceIds[]` array. Fixed in commit `912340322f7855cbc1d333ddaac2d39c74b4dcc6`. **File(s) affected:**`account/PluginManagerInternals.sol` **Description:** A plugin can add the `IPlugin` interfac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Staking token accidentally sent to an InfraredVault cannot be recovered ### Description The logic in `MultiRewards.sol` allows Infrared governance to recover any stray tokens (that are non-whitelisted) accidentally sent to an `InfraredVault`, but the stakingToken itself cannot be recovered from a vault. ### 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: `Dispatcher::_dispatchPreviewRate` may incorrectly calculate the `rate` ### Description The function `Dispatcher::_dispatchPreviewRate` is designed to simulate the execution of various commands and obtain the rate, defined as the amount of tokens returned at the end of the sequence of operations executed by th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
false
false
## Low: Unlocked Pragma Compilers ### Description The files in scope currently use floating pragma version `^0.8.24`, which means that the code can be compiled by any compiler version that is greater than or equal to `0.8.0`, and less than `0.9.0`. It is recommended that contracts should be deployed with the same comp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Minor typo in comment in line 31. Conatains - Contains. ### Description [L31](https://github.com/code-423n4/2022-03-lifinance/blob/main/src/Facets/HopFacet.sol#L131) Fix typo.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Gas Limit
false
false
Source: https://github.com/sherlock-audit/2022-11-bullvbear-judging/issues/111 ## Found by Bahurum, KingNFT, ak1, ElKu, WATCHPUG ## Summary The bull can intentionally cause out-of-gas and revert the transaction and prevent `settleContract()`. ## Vulnerability Detail As `IERC721(order.collection).safeTransferFrom...
Sherlock
5
Bull v Bear
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Insufficient clamping in `HookletLib::hookletBeforeSwap` can result in unexpected reverts ### Description **Description:** `HookletLib::hookletBeforeSwap` and `HookletLib::hookletBeforeSwapView` decode the fee and price override data returned from external hooklet calls, applying a clamping operation on these ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Owner can renounce ownership ### Description **Severity**: Low **Status**: Resolved **Description** The Ownable2Step and Ownable contracts includes a function named `renounceOwnership()` which can be used to remove the ownership of the contract. If this function is called on the `AdvancedOrderEngine` contr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Missing `change_funding_rate` Call After Price Update in `perp_mass_cancel` and `perp_order_cancel` ### Description In `perp_order_cancel` and `perp_mass_cancel functions`, the code updates the underlying price (`perp_underlying_px`) via `set_underlying_px` but fails to call `change_funding_rate` before inv...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Make sure vars.amountReceived is at least amount - vars.availableLiquidity ### Description ## Security Report ## Severity **Low Risk** ## Context MiniPool.sol#L233 ## Description/Recommendation A check can be added in this context to ensure that `vars.amountReceived` is at least `amount - vars.availableLiqu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: All functions that burn or mint shares for user's should mintFee for protocol before ### Description In case if GMXVault mints/burns shares for users, then it should call `mintFee` before in order to get correct portion of fee. ### Impact Incorrect fee payment is done, depending on the situation users or pro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Sender Validation in `op::burn_notification` Allows Unauthorized Supply Manipulation ### Description **Update** The team fixed the issue as recommended. Addressed in: `288fd7183366ece8ce26693df60379bb22535fcc`. **File(s) affected:**`contracts/master.fc` **Description:** In `master.recv_internal()`, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Staking function can lead to loss of funds ### Description In the [`OgvStaking`](https://github.com/OriginProtocol/ousd-governance/blob/50dc29ca73a73b6fcfc2f8e07e36845414868d0f/contracts/OgvStaking.sol) contract the function [`stake`](https://github.com/OriginProtocol/ousd-governance/blob/50dc29ca73a73b6fcf...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Oracle: irreversible token configuration ### Description The `configToken` function allows admins to whitelist a token and set its price feed. However, once a token is configured, it cannot be updated or removed. This becomes problematic if the token or its associated price feed becomes faulty, deprecated, 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
high
other
true
false
## High: Transferring quoteToken to the exchange pool contract will cause future liquidity providers to lose funds ### Description ## Handle WatchPug ## Vulnerability details In the current implementation, the amount of LP tokens to be minted when `addLiquidity()` is calculated based on the ratio between the amoun...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: swapTokens does not account for SwapX router fees when the out token is native ### Description When the out token is native, the `SwapX` router charges fees on the out amount of the swap in both `swapV2ExactIn` and `swapV3ExactIn`, sending the remainder to the recipient but still returning the original out am...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
true
false
## Low: `RewardsManager` cannot handle yield split across multiple assets ### Description The `RewardsManager::reward` function cannot handle cases where the total accrued yield is split between multiple assets (`USDC` and `USDT`) and exceeds the balance of any single asset's strategies. This creates a situation where...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Tiers can be set with principal USD as 0 ### Description **Severity**: Low **Status**: Resolved **Description** In Contract YollloStaking.sol, the method `setTier(...)` allows the admin to set a new Tier with principalUSD as 0. If such a tier is set, the method getTier() and getTiers() will not include thos...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Interface is not needed ### Description The `IUSDc` interface is not needed in the codebase - import the OpenZeppelin `IERC20` interface and use it instead. Also remove the `ABDKMath64x64` from the codebase and just import it as an external dependency, as there is no need to keep it 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
other
false
false
## Low: Hardcoded value instead of constant variable ### Description **Severity:** Low **Path:** beacon-chain/core/epoch/epoch_processing.go:ProcessTransactionsGasPerPeriodUpdate() **Description:** Function `ProcessTransactionsGasPerPeriodUpdate()` calculates the gas update transaction per period. In the calculation...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Susceptibility to Reorg Attacks ### Description Reorgs attacks occur most times on L2 chains, and the `Portal` and `VirtualLP` contracts use the non-deterministic `create` method for deploying the `bToken` and `portalEnergyToken`. Due to the use of `create` to deploy these contracts, in the case of a reorg...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Local variable shadowing ### Description At the line - https://github.com/aave/incentives-proposal/blob/f6712e33db79210a7ae8106f7cfa1ce2adea8d69/contracts/incentives/DistributionManager.sol#L28 and the lines: - https://github.com/aave/incentives-proposal/blob/f6712e33db79210a7ae8106f7cfa1ce2adea8d69/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
access-control
false
false
## High: UberOwner has too much power ### Description ## Handle tensors ## Vulnerability details ## Impact The Uber Owner has too much power within the system. This makes the protocol closer to a centralized prediction market whose rules are determined by the Uber Owner. ## Proof of Concept 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
high
signature
true
false
## High: Risk of replay attacks across contract instances ### Description All of the Ethereum bridge’s signature schemes lack mechanisms for preventing signature replay attacks across contract deployments or chain forks. None of the signature hashing schemes include any information about the contract’s instances (figu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Rounding
true
true
_Submitted by 0xA5DF, also found by 0x52, exd0tpy, horsefacts, hyh, kenzo, Lambda, minhquanym, panprog, scaraven, shenwilly, and simon135_ Divisions in EVM are rounded down, which means when the fraction price is close to 1 (e.g. 0.999) it would effectively be zero, when it's close to 2 (1.999) it would be rounded to ...
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
access-control
true
false
## High: Griefing attack in group IP management via license token minting ### Description The `registerGroup` function in the `GroupingModule` allows users to register a new Group IP account. It internally calls the `registerGroup` function on the `GroupIPAssetRegistry` contract for the actual accounting process: ```...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Premature Self-Destruct of PoolFactory ### Description PoolFactory may be self-destructed while being the sole owner of the ACL contract. During pool deployment, the ownership of the ACL contract is transferred to PoolFactory to perform its configuration. After `PoolFactory.configure()` is called, the owner...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Possible Revert While Converting ### Description In the [`DecimalLib` library](https://github.com/UMAprotocol/oev-contracts/blob/0f2c18660fc342ced7c7177577432f7d06481684/src/adapters/DecimalLib.sol), both `convertingDecimals` functions [1](https://github.com/UMAprotocol/oev-contracts/blob/0f2c18660fc342ced7c71...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: update_market() market weight incorrect ### Description In `update_market()` We need to get the weight percentage of the corresponding market epoch through `gaugeController`. Then allocate `cantoPerBlock[epoch]` according to the percentage The main logic code is as follows: 1. Calculate `epoch` 2. Then g...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: ERC-20 allowance bypass: spender can force sender to pay extra fees beyond approved amount ### Description ### Finding description and impact The `EURFToken` contract includes a transaction fee mechanism where a percentage of the transferred amount is deducted as a fee. This fee is deducted from the sender...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [5] State variables should be cached in stack variables rather than re-reading them from storage ### Description The instances below point to the second+ access of a state variable within a function. Caching will replace each Gwarmaccess (100 gas) with a much cheaper stack read. Less obvious fixes/optimization...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Stop using `v != 27 && v != 28 or v == 27 || v == 28` ### Description See this for reference: https://twitter.com/alexberegszaszi/status/1534461421454606336?s=20&t=H0Dv3ZT2bicx00hLWJk7Fg
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: MISUSE OF HELPER METHODS ### Description The use of the `unwrap` function is very useful for testing environments because a value is forcibly demanded to get an error (aka `panic!`) if the "Option" does not have "Some" value or "Result". Nevertheless, leaving `unwrap` functions in production environments is a ...
0