prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Custom Errors ### Description **Severity**: Informational **Status**: Acknowledged **Description** Throughout the codebase, `require` statements are used instead of custom errors. Custom errors are available from solidity version ^0.8.4. Custom errors can roughly save 50 gas per call. This gas is saved beca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Secondary Big Bang market rates can be manipulated due to not triggering penrose.reAccrueBigBangMarkets(); when leveraging ### Description Secondary market rates can still be manipulated via leverage executors because `penrose.reAccrueBigBangMarkets()` is never called in the leverage module. ### Impact Med...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Receiver using proxy cannot cancel individual stream ### Description When a stream is canceled using the proxy target, the `cancel()` function attempts to forward the refund back to the proxy owner with the following logic: ```solidity function cancel(ISablierV2Lockup lockup, uint256 streamId) public onlyDele...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 runners can lose all their stake rewards due to how the DAO commissions can be set to a 100% ### Description Node runners can have all their stake rewards taken by the DAO as commissions can be set to a 100%. ### Proof of Concept There is no limits on `_updateDAORevenueCommission()` except not exceed...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 `updateExchangeRatio()` ### Description _Acknowledged_ The `updateExchangeRatio()` function performs sequential mathematical operations that introduce cumulative precision loss, potentially causing the `yearlyRateInBps16` value to be smaller than it should be. The function calculates percent...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Onboarding Assets May Prevent the Addition of Token Handlers ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > This is known and expected functionality. Configuring assets with custom TokenHandlers requires collaboration with the community and ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Red-Black Tree Optimization ### Description Please provide the text you would like to convert to formatted markdown, and I'll assist you with that!
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
false
false
## High: Multi-token stableswap pools allow `0` liquidity for tokens, creating bricked pools ### Description [/contracts/pool-manager/src/liquidity/commands.rs# L46-L74](https://github.com/code-423n4/2024-11-mantra-dex/blob/26714ea59dab7ecfafca9db1138d60adcf513588/contracts/pool-manager/src/liquidity/commands.rs# L46-...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unused file ### Description The file is never imported by any other source file. If the file is needed for tests, it should be moved to a test directory *There is 1 instance of this issue:* https://github.com/code-423n4/2023-01-popcorn/blob/d95fc31449c260901811196d617366d6352258cd/src/interfaces/IEIP165.sol...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
access-control
false
false
## Low: Selectors for `Bera_Module::bera_kodiakv2_swap` and `bera_kodiakv3_swap` needs to be separately added ### Description In `Strategy::constructor` almost all existing facet selectors are added to the `s.selectors` mapping, which is then used by the fallback function to direct the call to the correct facet. Almo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Check For Zero Amount Minting ### Description ## VariableSupplyERC20Token Minting Issue The `mint` function in `VariableSupplyERC20Token` allows minting of zero amounts. This behavior may be misleading and could lead to invalid minting of tokens, which is generally unfavorable. ## Remediation Ensure that 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
front-running
true
false
## High: swap and addpremium are susceptible to bad partial trading ### Description `amountOutMinimum` is used to specify the minimum amount of tokens the caller wants to be returned from a swap. Using `amountOutMinimum = 0` tells the swap that the caller will accept a minimum amount of 0 output tokens from the swap, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `RewardsPool.sol` : It is safe to have the `startRewardsCycle` with `WhenNotPaused` modifier ### Description When the contract is paused , allowing startRewardsCycle would inflate the token value which might not be safe. Rewards should not be claimed by anyone when all other operations are paused. I saw 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
initialization
false
false
## Medium: Inconsistently checking initialization ### Description When a contract is initialized, its [`isInitialized` state variable is set to `true`](https://github.com/AudiusProject/audius-protocol/blob/6f3b31562b9d4c43cef91af0a011986a2580fba2/eth-contracts/contracts/InitializableV2.sol#L19). Since interacting with...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
false
false
## Low: Inclusion Of Improved Edge Case Testing ### Description ## Currently In the code base, there is a lack of tests for catching any possible edge cases. While the functions may work correctly under typical scenarios, edge cases and unexpected inputs may result in bugs or unanticipated outcomes, such as division...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
cross-chain
false
false
## High: Standard ERC-20 Token Metadata Can Be Set Arbitrarily ### Description When an ERC-20 is first deposited on L2 through the standard ERC-20 gateway contract, the [contract fetches](https://github.com/scroll-tech/scroll/blob/3bc8a3f5c6ac816ddffadca41024331dcf4d3064/contracts/src/L1/gateways/L1StandardERC20Gatewa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Validation
false
false
## Severity: Medium Risk ## Context LibOwnable.sol#L8-L10 ## Description While other contracts like RiverAddress (for example) do not allow `address(0)` to be used as a set input parameter, there is no similar check inside `LibOwnable._setAdmin`. Because of this, contracts that call `LibOwnable._setAdmin` with `addre...
Spearbit
5
Liquid Collective
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Stepped Vesting “Dead Period” When `periodDuration > duration` ### Description If `periodDuration` is longer than the whole linear window (`closingTime - openingTime`), `totalPeriods` becomes `0`. During the entire open window, `linearVested` stays `0` and then jumps to the full linear amount at/after `closing...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
signature
true
false
Source: https://github.com/sherlock-audit/2023-02-blueberry-judging/issues/21 ## Found by koxuan ## Summary modifier `onlyEOAEx` is used to ensure calls are only made from EOA. However, EIP 3074 suggests that using `onlyEOAEx` modifier to ensure calls are only from EOA might not hold true. ## Vulnerability Detail ...
Sherlock
4
Blueberry
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Solidity version ### Description The contract requires version 0.4.11 of Solidity. It should be noted that 0.4.13 was released a few days ago. Consider changing the solidity version pragma to the latest version (`pragma solidity ^0.4.13;`) to enforce latest compiler version to be used. **UPDATE:** *For exter...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: Unstake requests might remain unfulfilled for users ### Description The current `SubstrateSignatureValidator.sol` only records the instantaneous Attestor set. If a user's sxtFulfillUnstake fails at a particular moment(for example, pool has sufficient balance), and the Attestor set changes afterward, the user m...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: Minimum borrow amount can be surpassed and borrower can be treated as being overdue earlier than their actual overdue time ### Description It is possible to borrow less than `_minBorrow` and preliminary be marked as overdue when `assetManager` have temporary fund access limitations. ### Impact `_minBorrow`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
false
false
## Medium: ERC777 tokens can bypass `depositCap` guard ### Description _Submitted by shenwilly, also found by wuwe1_ [LiquidityPool.sol#L523](https://github.com/code-423n4/2022-04-backd/blob/c856714a50437cb33240a5964b63687c9876275b/backd/contracts/pool/LiquidityPool.sol#L523) When ERC777 token is used as the underly...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Confusing Function Name ### Description **Update** Marked as "Fixed" by the client. Addressed in: `8f89446`. **Description:** The function `Reach.rescueETH20Tokens()` suggests it rescues `ETH` but it rescues `ERC20` tokens that are accidentally sent to the contract. **Recommendation:** We recommend renaming ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Frontrunning `PublicLock.initialize()` can prevent upgrades due to insufficient access control ### Description _Submitted by elprofesor, also found by kenzo_ The unlock protocols base contract `Unlock.sol` uses `setLocktemplate()` to initialize the implementation contract for the `PublicLock` proxy. This f...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Missing Validation of Fallback APR Values in `AprPairFeed::latestRoundData` ### Description **Description:** `AprPairFeed::latestRoundData` fetches APRs from a preferred source (feed or strategy provider). If the feed is stale, it falls back to the strategy provider via `provider.getAprPair()` but does not val...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
true
false
## Medium: `LienToken.transferFrom` There is a possibility of malicious attack ### Description Corrupt multiple key properties of public vault, causing vault not to function properly. ### Proof of Concept When LienToken.makePayment()/buyoutLien()/payDebtViaClearingHouse() If it corresponds to PublicVault, it will ma...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Floating Pragma ### Description Pragma directives should be fixed to clearly identify the Solidity version with which the contracts will be compiled. However, the `OUSD.sol` file has the [`solidity ^0.8.0`](https://github.com/OriginProtocol/origin-dollar/blob/44951300cd2bb7eb1d387461465edbfc440f2779/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
low
storage
true
false
## Low: userWrapper() does not always need forward() data ### Description At the end of the `userWrapper()` function, a call or delegatecall is made to the `userOp.dapp` address: ```solidity if (config.needsDelegateUser()) { (success, returnData) = userOp.dapp.delegatecall(forward(userOp.data)); require(success, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
false
false
## High: The Protocol Can Be Drained Through Commitment Duplication ### Description **Update** Marked as "Fixed" by the client. Addressed in: `ce730843c3b97f7894ec503f6c1b1ff8cf698b30`, `95bb18d84159a16a6d34572bb8b0d75dacd23051`, `7a13bf4312082ccd57495bc3d92265876b9feac1`. The client provided the following explanation...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Pending refinance commitments after clearing loan accounting ### Description The `MapleLoan._clearLoanAccounting` function does not clear the `refinanceCommitment`. For open-term loans, the borrower can accept new terms and trigger a refinance with the old commitment even if the loan was closed because: - All p...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Discrepancies Between Interfaces and Implementation Contracts ### Description Throughout the codebase, multiple discrepancies between interfaces and implementation contracts were identified: * The [`INotifier`](https://github.com/Uniswap/v4-periphery/blob/df47aa9ba521fc15ffd339dc773d32f5fc4c91fc/src/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
access-control
false
false
## Low: RESPONSE MANIPULATION ### Description The current way the front end handles the user session was by directly requesting the backend the user profile without any authentication mechanism. So, it was possible to modify the request or the response to make the front end trust the input data and load the view of a ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
true
false
## High: A registered contract won't earn fees if `_recipient` is a fresh address ### Description Users might become victims of a false positive: if they use a fresh account as an NFT recipient during contract registration, the transaction won't revert, but the registered contract will never earn fees for the token ho...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
true
false
Source: https://github.com/sherlock-audit/2022-11-frankendao-judging/issues/56 ## Found by curiousapple, hansfriese ## Summary [Medium-1] Hardcoded monsterMultiplier in case of ``stakedTimeBonus`` disregards the updates done to ``monsterMultiplier`` through ``setMonsterMultiplier()`` ## Vulnerability Detail Frank...
Sherlock
3
FrankenDAO
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: It's possible to change for Vault and lost control on it ### Description ### Impact `VaultFactory` allows admin to change `controller` for marketId(hedge and risk vaults) using `VaultFactory.changeController`. This method then set controller to both vaults. This address is important for `Vault` contract as...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Sensitive material stored in files with loose permissions ### Description The SEDA node client stores sensitive material using overly loose file or folder permissions of 755 or higher. This includes the VRF key file in figures 1.1 and 1.2, the validator state file in figure 1.3, and the validator configuration ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Missing check in `addRewardToken()` could cause excess rewards accrual ### Description `RewardDistributor.addRewardToken()` is called by governance to add new reward tokens and parameters for the specified markets. This is used to determine the amount of reward tokens to be distributed to the markets. However...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Redundant balance checks ### Description Multiple contracts within the scope of this audit perform redundant balance checks immediately before transferring funds using `SafeERC20` methods. These balance checks are unnecessary because the `SafeERC20` methods already include internal checks to ensure that the 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
high
token
false
false
## High: No refund nor retry mechanism for failing cross-chain transactions ### Description When performing cross-chain transactions, the transaction may always revert to the destination chain under certain circumstances or for certain values. Users will deposit tokens or pay fees in the source chain that will be los...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
front-running
true
true
## High: Prevent griefing attack on DebtManager.manualAllocation ### Description The manual allocation will always be calculated based on a system state `s`. After the transaction gets minted, there could be a completely new state `s'`. An attacker could try to frontrun the `manualAllocation` transaction to produce a ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: Users are penalized when operators are inactive ### Description When operators are inactive and don't call `revealCard()` in a timely manner, users can still claim their win via `claimWin()`. This triggers `transferPlayerRewards()` with the conditional that the player shouldn't receive reward tokens: ```s...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: Missing token id existence check ### Description The [EIP-721 specification](https://eips.ethereum.org/EIPS/eip-721#specification) states that "every ERC-721 compliant contract must implement the ERC721 interface (subject to caveats below)". For the `getApproved()` function, it states that it "Throws if `_tok...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Use of assert statement for input validation ✓ Addressed ### Description Solidity assertion should only be used to assert invariants, i.e. statements that are expected to always hold if the code behaves correctly. Note that all available gas is consumed when an assert-style exception occurs. ### Recommendatio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
true
false
## High: Attacker can deposit after the keeper reports a loss, but before the collateral auction to steal from other depositors ### Description An attacker can exploit the timing between when a loss is reported and when the associated collateral is later auctioned and reported as profit. By depositing in between 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
rounding
false
false
## Low: Insufficient Sanity Checks of Liquidity Parameters ### Description **Severity**: Informational **Status**: Acknowledged **Description**: The addLiquidity() function relies on the manager to provide appropriate values for _tickLower, _tickUpper, and _liquidity. If the manager provides invalid or extreme val...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
true
false
## Low: Setting emode category params can potentially set emode ltv to a lower value than the pending ltv of a frozen asset ### Description The function `setEModeCategory` in `PoolConfigurator` updates the EMode parameters for a specific EMode category. One requirement for these new parameters is that the EMode LTV (L...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Migration::withdrawContribution falsely assumes that user should get exactly his original contribution back ### Description _Submitted by kenzo, also found by 0x52, ElKu, hansfriese, hyh, and panprog_ ### Vulnerability Details When a user calls `withdrawContribution`, it will try to send him back his origi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: In contract Pool.sol at lines 769-775 in function globalEquilCovRatio variables equilCovRatio and invariant are shadowed, leading to redeclaration in the function body. ### Description **Recommendation**: Either remove the named return types to avoid the shadowing and declare inside the function body or rename...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Methods `applyReferralOpen()` and `applyReferralClose()` can be combined into a single method ### Description **Severity**: Informational **Status**: Resolved **Description** In Contract TradingStorage, the methods applyReferralOpen() and applyReferralClose() have the same logic with the only exception bein...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
high
Overflow/Underflow
true
false
## Security Analysis Report ## Severity **Critical Risk** ## Context **File:** SegmentedSegmentTree464.sol **Line:** 173 ## Description `SegmentedSegmentTree464.update` needs to perform an overflow check in case the new value is greater than the old value. This overflow check is done when adding the new difference...
Spearbit
5
CLOBER
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Resource leak due to defer called in loop in getLatestFinalizedBlock ### Description If this loop runs many iterations before returning, you'll end up stacking many defer calls, which will only be executed when the function exits. This can lead to a temporary increase in memory usage since the contexts created...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
true
## Low: Forwarder can be set to frozen address ### Description Forwarder can be set to frozen address; this is not ideal and can result in lost tokens in a worst-case scenario. ### Proof of Concept ```solidity function test_freezeHolder_setPayoutForwardAddress_toFrozenForwarder() external { address user1 ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `BaseTOFTLeverageModule.sol`: `leverageDownInternal` tries to burn tokens from wrong address ### Description The function `sendForLeverage` is used to interact with the USDO token on a different chain. Lets assume the origin of the tx is chain A, and the destination is chain B. The BaseTOFT contract sends a m...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
true
false
## Low: There are no checks/constraints against the _representation provided to setupAssetWithDeployedRepresentation ### Description `setupAssetWithDeployedRepresentation` is similar to `setupAsset` in terms of functionality, except it does not deploy a representation token if necessary. It actually uses the `_represe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: SendToken Event Emitted Amount Can Be Wrong ### Description The SendToken amount logged in its event can be incorrect in some circumstances. The SendToken action can accept `type(uint256).max` as a special amount input. When received, it will transfer the full balance of the Safe wallet for that token. This 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
medium
other
false
false
## Medium: Refund unused gas fees to user ### Description The functions `sendDeposits` and `sendMessages` are both payable and allow the user to overpay more than the required amount to complete the bridging action. Both functions interact with Layerzero's `send()` method. Layerzero's `send()` method refunds any unu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Liquidity can still be supplied when the protocol is paused, even though mint is disabled ### Description The `onERC721Received` function is used to allow a direct transfer of a UniswapV3 position NFT to `ParticlePositionManager`, using `ERC721.safeTransferFrom`. Alternatively, a user can call `ParticlePosi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Vesting Contract Can Be Overridden ### Description **Severity**: High **Status**: Resolved **Description** In the contract EsEMBR.sol, the function addVester() can cause catastrophic failure of users' funds. If a contract is added with the same timeframe, then all of the users funds being calculated 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
medium
liquidation
false
false
## Medium: isUnderwater returns opposite boolean for short positions ### Description _Submitted by harleythedog_ #### Impact The function `isUnderwater` should return true if the position value is Notice that for short positions the inequality is flipped from what it should be (indeed, when self.debt is higher it ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: Market creation does not initialize funding rate ### Description Markets are created by the administrator through the `CreateMarket` action. Once a market is created, trades are instantly enabled on this market. However, the newly created market has no funding rate. The funding index of a market without a fund...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Governance#replaceGovernance is unable to actually change vault governance ### Description **Details** [Governance.vy#L472-L477](https://github.com/DynamoFinance/vault/blob/c331ffefadec7406829fc9f2e7f4ee7631bef6b3/contracts/Governance.vy#L472-L477) for guard_addr in self.LGov: if self.VotesGCByVault[v...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Missing and Misleading Documentation ### Description Throughout the codebase, there are various instances of misleading documentation: * The `burn` function of the [`IScrollERC20`](https://github.com/scroll-tech/scroll/blob/3bc8a3f5c6ac816ddffadca41024331dcf4d3064/contracts/src/libraries/token/IScrollERC20.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
front-running
true
false
## High: Sense redeem is unavailable and funds are frozen for underlyings whose decimals are smaller than the corresponding IBT decimals ### Description Sense version of Redeemer's redeem() compares `amount` of Sense principal token Lender had on its balance vs `redeemed` amount of underlying as a slippage check, requ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 BETWEEN FILE NAME AND CONTRACT NAME ### Description The file name and the contract name within the Solidity file are inconsistent. This can lead to confusion and potential errors when trying to interact with or deploy the contract. In Solidity, it is a best practice to keep the contract name and ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
true
false
## Low: Liquidation Logic will not work on all troves when the system is underwater ### Description **Impact** `batchLiquidateTroves` allows for out of order liquidations In the edge case of all troves being underwater, meaning all troves should be liquidated, the following check will allow liquidations only startin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
false
false
## Medium: A malicious proposer can create arbitrary number of maliciously updatable proposals to significantly grief the protocol ### Description `checkNoActiveProp()` is documented as: > "This is a spam protection mechanism to limit the number of proposals each noun can back." However, this mitigation applies 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
gas
other
true
false
## Gas: [5] `require()`/`revert()` strings longer than 32 bytes cost extra gas ### Description Each extra chunk of byetes past the original 32 i[incurs an MSTORE](https://gist.github.com/hrkrshnn/ee8fabd532058307229d65dcd5836ddc#consider-having-short-revert-strings) which costs 3 gas *There are 4 instances of this 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
high
overflow
true
false
## High: Withdrawal Calculation Causes Underflow, Locking All User Funds ### Description The withdrawal function includes the user in their own delegation list and uses ceiling division for all calculations. This causes `totalDelegatedAmount` to exceed the requested withdrawal amount, resulting in an underflow when ca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
token
false
false
## Gas: Redundant Token Transfer ### Description If the Swapper passes the recipient as `msg.sender` instead of `address(this)`, an additional token transfer can be avoided here. ### Recommendation Save the extra token transfer as suggested.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
oracle-manipulation
true
false
## Low: Test enhancements ### Description * `GMIntegrationTest_GM_ETH`: Both tests [`test_hitRateLimits_onUSDInGMFlow_Subscribe`](https://github.com/ondoprotocol/rwa-internal/blob/a74d03f4a71bd9cac09e8223377b47f7d64ca8d4/forge-tests/globalMarkets/GM_IntegrationTest.t.sol#L1209-L1210) and [`test_hitRateLimits_onUSDInGM...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: New liquidity providers are unfairly charged ### Description **Severity** **Impact:** Low **Likelihood:** High **Description** When a user provides liquidity to `LiquidityPool` the total liquidity is calculated as the sum of the pool token balance and the total borrows. The total borrows include the net...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
logic
true
false
## Medium: `DeliHookConstantProduct` swapping `exactOutput` and `_feeFromOutput` is incorrect ### Description `DeliHookConstantProduct` intends to preserve K in all swaps in order to forward fees to the `FeeProcessor`, and is achieved for all swap types. However, this is performed with an incorrect calculation when do...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: UNUSED STORAGE POINTER IN MINERGAME.GOLDCHANGETOKEN FUNCTION ### Description In the `MinerGame` contract the `goldChangeToken()` creates an storage pointer to the `player` mapping but then it does not make any use of it:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Functions not returning declared values ### Description ## Handle pauliax ## Vulnerability details ## Impact function withdrawAll in BaseStrategy declares 'returns (uint256 balance)', however, no actual value is returned. function reinvest in MyStrategy declares to return 'uint256 reinvested', however, it ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
high
other
true
true
## High: Self-triggered `Licredity::_afterSwap` back-run enables LP fee farming ### Description When price hits or goes below 1, [`Licredity::_afterSwap`](https://github.com/Licredity/licredity-v1-core/blob/e8ae10a7d9f27529e39ca277bf56cef01a807817/src/Licredity.sol#L734-L753) auto back-runs a swap to push price up: ``...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Static signatures bound to caller revert under ERC-4337, causing DoS ### Description ### Finding description Sequence wallets support ERC‑4337 by validating signatures inside [`validateUserOp()` in `ERC4337v07`](https://github.com/code-423n4/2025-10-sequence/blob/ccc328beeadd28fdbde53b034098c865104fcaf3/sr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: GoDfaNilDereference ### Description **Severity**: Low **Status**: Acknowledged **Description:** Some method calls could dereference nil pointers, leading to runtime errors. **Files:** rpc/backend/chain_info.go: 208 rpc/backend/node_info.go: 95 x/wasm/keeper/keeper_test.go: 706, 987 x/wasm/module_test.go:...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Usage of Transient Storage can Lower Gas Costs ### Description PegKeeper sets a storage variable `context` when its `buyback` and `stabilize` functions are called and restores it when those calls are done. The contract uses this variable to ensure that the `onSwap` function is being called in the context of 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
flash-loan
false
false
## Medium: Emergency withdrawal fails to update the guage when the contract is not killed ### Description Without `_checkpoint_gauge()` in `emergency_withdraw` when not killed, an attacker could exploit this by calling `emergency_withdraw` to manipulate reward distributions. Since the function handles non-killed stat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
false
false
## Low: Malicious parties could prevent the execution of permitable orders ### Description The [`OrderMixin`](https://github.com/1inch/limit-order-protocol/blob/4d94eea25e4dac6271bfd703096a5c4a4d899b4a/contracts/OrderMixin.sol) contract allows maker users to submit [permitable orders](https://github.com/1inch/limit-or...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Reset unused* state variables of contracts during migration ### Description The `Usd0PP.Usd0PPStorageV0.unusedTreasuryAllocationRate` and `UsualX.UsualXStorageV0.unusedBurnRatioBps` are storage state variables which are used in the current on-chain contracts but won't be used anymore after the migration to new...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
false
false
## Medium: Lacking Validation Of Chainlink' Oracle Queries ### Description _Submitted by leastwood_ #### Impact `TwapOracle.consult()` is missing additional validations to ensure that the round is complete and has returned a valid/expected price. The `consult()` improperly casts an `int256 price` to `uint256` withou...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `calculateMultiplier` Will Always Return `maxMultiplier` ### Description **Update** Marked as "Fixed" by the client. Addressed in: `9bc4417`. **Update** Marked as "Fixed" by the client. Addressed in: `2dbe4303d2566707230b741c18ec2ca7b779b9a1`. The client provided the following explanation: > The calculat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
false
false
## Medium: Convoluted price update mechanism once reporter is invalidated ### Description The [reporter account](https://github.com/compound-finance/open-oracle/blob/d0a0d0301bff08457d9dfc5861080d3124d079cd/contracts/Uniswap/UniswapAnchoredView.sol#L22) in charge of posting prices to the Open Price Feed’s view can 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
high
oracle
true
false
## High: `money-market-contracts/oracle#feed_prices()` delayed transaction may disrupt price feeds ### Description The implementation only takes two attributes: `asset` and `price`. And the `last_updated_time` of the record will always be set to the current `block.time`. This makes it possible for the price feeds 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
storage
false
false
## Low: [ACKNOWLEDGED] Typo in `FathomProxyWalletOwner` ### Description In the contract `FathomProxyWalletOwner`, there is a typo in the function name `_successfullXDCTransfer` instead of `_successfulXDCTransfer`. ### Recommendation We recommend correcting the typo to `_successfulXDCTransfer` for consistency and clar...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: New staking between reward epochs will dilute rewards for existing stakers. Anyone can then front-run `OperationalStaking.rewardValidators()` to steal rewards ### Description In the Covalent Network, validators perform work to earn rewards, which is distributed through `OperationalStaking`. The staking mana...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
false
false
## High: `Maximillion.setCEther()` Callable Multiple Times By Anyone ### Description **Update** From dev team: > `Maximillion.sol` is used only for testing purposes and is never deployed to mainnet. The team has chosen to keep the original Compound implementation. **File(s) affected:**`Maximillion.sol` **Descriptio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `ComplianceServiceGlobalWhitelisted::getComplianceTransferableTokens` returns positive token amount for blacklisted users ### Description **Description:** `ComplianceServiceGlobalWhitelisted::getComplianceTransferableTokens` inherited from `ComplianceServiceWhitelisted` will return positive amount of transfera...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
overflow
false
false
## High: Redemption weight of tiered NFTs miscalculates, making users redeem incorrect amounts - Bug #1 ### Description Redemption weight is a concept used in Juicebox to determine investor's eligible percentage of the non-locked funds. In redeemParams, JB721Delegate calculates user's share using: uint256 _redempti...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
true
false
## Medium: Not maximizing `Glp` in `GlpOracle` miscalculates `_minGlp` when adding liquidity ### Description **Severity** Impact: Medium. The rounding will be incorrect affecting the price. Likelihood: High. False is hardcoded so it is very likely it will happen. **Description** Currently, in the `GlpOracle` 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...
skyward_49k
high
token
false
false
## High: Not Compatible ERC-20 Tokens ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Token transfers through the official canonical bridge require registration through our token list. **File(s) affected:**`L1StandardBridge.sol`, `L2StandardBridge.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
gas
initialization
true
false
## Gas: Use bitmap to save gas ### Description Bitmaps in Solidity are essentially a way of representing a set of boolean values within an integer type variable such as `uint256`. Each bit in the integer represents a true or false value (1 or 0), thus allowing efficient storage of multiple boolean values. Bitmaps can...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
true
false
## High: Upon changing of delegate, `VoteDelegation` updates both the previous and the current checkpoint ### Description The contract is accidently editing both the previous and current checkpoint when changing/removing a delegate. ### Impact Incorrect counting of votes. ### Proof of Concept If in `delegate` 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...
solodit_api
high
access-control
true
true
_Submitted by Bahurum, also found by bin2chen and cryptphi_ <https://github.com/code-423n4/2022-08-olympus/blob/2a0b515012b4a40076f6eac487f7816aafb8724a/src/policies/Governance.sol#L164><br> <https://github.com/code-423n4/2022-08-olympus/blob/2a0b515012b4a40076f6eac487f7816aafb8724a/src/policies/Governance.sol#L217-L2...
Code4rena
5
Olympus DAO
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: Naming Issues ### Description Within the codebase there are a few places where names of variables or functions result in confusion. For example: * On [line 399 of `RizRegistry.sol`](https://github.com/radiant-capital/riz/blob/65ca7bb55550d30388e2b2277fefe5686ab7e4e8/src/RizRegistry.sol#L399), the variable `r...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
initialization
true
false
## Gas: Using `calldata` is more efficient to `memory` for read-only external function inputs ### Description **Description:** Using `calldata` is more efficient to `memory` for read-only external function inputs: `PreDepositVault`: **Strata Money:** "initialize" (__init_Vault) is now internal, so the calldata can'...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Low: Nested XMsgs Break MsgContext ### Description A nested XMsg can be used to manipulate the current _xmsg such that it incorrectly portrays that there is no MsgContext. After OmniPortal executes an XMsg, it deletes the _xmsg state variable. ```solidity // set _xmsg to the one we're executing, allowing external ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inefficient use of `abi.encode()` ### Description The `abi.encode()` function is less gas efficient than `abi.encodePacked()`, especially when encoding only static types. This detector identifies instances where `abi.encode()` is used and all arguments are static, suggesting that `abi.encodePacked()` could pot...
0