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
medium
other
true
false
## Medium: Overriding fees can't be switched back once set ### Description **Description:** A fee is charged when buying a PropertyToken via the TokenBank. The system allows for charging a personalized fee on a per-token basis or a baseFee for all tokens. If the variable `overrideFees` is set as true, the TokenBank wi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
false
false
## High: `previousPrices` Is Never Updated Upon Syncing Token Price ### Description _Submitted by leastwood_ The `LiquidityBasedTWAP` contract attempts to accurately track the price of `VADER` and `USDV` while still being resistant to flash loan manipulation and short-term volatility. The `previousPrices` array is me...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Remove the `pendingTotalBalances` mapping as it is not used for anything ### Description Remove the mapping as `pendingTransfers[transferId].remainingAmount` has pretty much the same functionality
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `StabilityPool::claimableReward` incorrectly returns lower than actual value as it doesn't include `storedPendingReward` ### Description **Description:** `StabilityPool::claimableReward` is an `external view` function that can be used to show users their pending reward. However it doesn't [include](https://git...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
true
false
## High: `rebate_info` and `rebate_manager` are unable to sign the CPI call due to an incorrect implementation of the `seeds` function ### Description `rebate_info` and `rebate_manager` will not be able to sign the CPI message because their `seeds` function has been implemented incorrectly. ### Impact It will prevent...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary require ### Description **Description** At contract utils/MultiOwnable.sol (argo-payments-contract-master) there modifier onlyOwner + require(msg.sender == owner);. **Recommendation**: Remove line 42: require(msg.sender == 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...
cyfrin_structured
high
access-control
true
true
## High: Missing access control in `ValidatorManager::migrateFromV1` allows front-running attack to permanently brick validator operations ### Description The `ValidatorManager::migrateFromV1` function lacks access control, allowing any attacker to front-run legitimate V1-to-V2 validator migrations with malicious `rec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use calldata instead of memory for function parameters ### Description Use calldata instead of memory for function parameters. Having function arguments use calldata instead of memory can save gas. There are several cases of function arguments using memory instead of calldata::br [ENSReverseRecord.sol#L22](ht...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
true
false
## Medium: Use of `SafePermit` is removed Based on recommendations from @trust1995 ### Description **Severity** : Medium **Status** : Resolved **Description** : In the latest openzeppelin-contracts safePermit has been removed https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4582 https://github.com/Ope...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Two-block delay may not deter whale activity ### Description Frax Finance has purposely implemented a two-block delay between a redemption request and the disbursement of that redemption. The delay is intended to prevent participants from conducting riskless arbitrage using flash loans. However, whales, users ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
storage
true
false
## High: The storage slots corresponding to _implementation and_owner could be accidentally overwritten ### Description ## Severity: High Risk ## Context `ProxyStorage.sol#L7-L10` The state variables `_implementation` and `_owner` are at slots 0 and 1. The protocol architecture relies on executors calling `metaDele...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Setter `setSwapPathCreator` in ApeMexMargin does not emit an event ### Description **Description** In contract ApeMexMargin, the function setSwapPathCreator, it's a setter that does not emit an event, it would be part of best practices to add events for all your setters to be able to track the change of value...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: `constant`s should be defined rather than using magic numbers ### Description Even [assembly](https://github.com/code-423n4/2022-05-opensea-seaport/blob/9d7ce4d08bf3c3010304a0476a785c70c0e90ae7/contracts/lib/TokenTransferrer.sol#L35-L39) can benefit from using readable constants instead of hex/numeric literals...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Freezability differences between logical components ### Description The usage of the Diamond Proxy pattern allows very modular changes to the system. The standard foresees moving individual selectors from facet to facet. Hence, one logical component (e.g. the `ExecutorFacet`) could be split into two facets, du...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: An incorrect invariant logged ### Description There is an issue at the lines: https://github.com/curvefi/stableswap-ng/blob/8c78731ed43c22e6bcdcb5d39b0a7d02f8cb0386/contracts/main/CurveStableSwapNG.vy#L615, https://github.com/curvefi/stableswap-ng/blob/8c78731ed43c22e6bcdcb5d39b0a7d02f8cb0386/contracts/main/Cu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Replace magic numbers with named constants to improve code quality ### Description The RepoDriver contract contains several instances of magic numbers—literal values used directly in the code without explanation. These magic numbers reduce code readability and make maintenance more difficult. Replacing these 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
high
liquidation
true
false
## High: Anyone can liquidate credit line when autoLiquidation is false without supplying borrow tokens ### Description _Submitted by harleythedog_ #### Impact It is intended that if a credit line has autoLiquidation as false, then only the lender can be the liquidator (see docs here: ). However, this is not correct...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Guardian's permission is not automatically revoked when removed from whitelist ### Description After a guardian is removed from the whitelist, and before someone calls `checkGuardianWhitelist()`, the guardian can still `submit()` or `pause()` during this period since their Merkle root in the vault contract has...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A single second in an epoch makes an user eligible for the entire epoch's rewards ### Description A user can lock their LP tokens into the `TOLP` contract, and then put their `TOLP` into the `TOB` contract to be eligible for option rewards. These option rewards are paid out every epoch and distributed propo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Spoofable transaction initiator allows unauthorized creation of stable pools ### Description The factory contract implements an access control that restricts the creation of stable pools to admin users only, but this restriction can be bypassed due to improper validation of the transaction initiator. The admin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [23] Consider making `timeSinceRotation()` more useful via using it in `_updateRotationTimestamp()` ### Description Take a look at the `timeSinceRotation` function in the `BaseWeightedMultisig` contract: This function is not used within the contract. However, its functionality could be utilized in the `_upda...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential DoS Risk In Lyra Protocol Due To Unbounded Loop ### Description Description The Lyra protocol involves multiple functions that necessitate iterating through all assets to carry out specific calcula- tions or transfers, such as liquidations, risk assessments, and account merging. At present, the Standa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: `sendCollateralTo` is unchecked in `closeLoan()`, which can cause user's collateral NFT to be frozen ### Description _Submitted by WatchPug, also found by berndartmueller, Dravee, hake, jah, and minhquanym_ [NFTLoanFacilitator.sol#L116-L126](https://github.com/code-423n4/2022-04-backed/blob/e8015d7c4b295af...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unexpected words order ### Description **Description** At 6 different contracts there are 39 occurrences of “...should be not...” expression, example: "WHITE TOKEN ADDRESS SHOULD BE NOT NULL". I believe the correct word order is "...SHOULD NOT BE...". **Recommendation**: Replace "...SHOULD BE NOT NULL" 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
dos
false
false
## Low: Potential DOS from block gas limit in TokenManager. ### Description **Description** TokenManager.sol DOS - Block Gas Limit: For large array lengths, the gas usage will be significantly higher and can lead to the failure of a transaction to be included in the blockchain due to Block Gas Limit https://swcregist...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: POSSIBLE MISUSE OF PUBLIC FUNCTIONS ### Description In public functions, array arguments are immediately copied to memory, while external functions can read directly from `calldata`. Reading `calldata` is cheaper than memory allocation. Public functions need to write the arguments to memory because public func...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: `require()` or `revert()` statements that check input arguments should be at the top of the function ### Description Checks that involve constants should come before checks that involve state variables, function calls, and calculations. By doing these checks first, the function is able to revert before wasting...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
true
false
## Low: Malicious investor can register wallets that belong to other investors ### Description **Description:** The `addWalletByInvestor` function in `RegistryService.sol` allows any registered investor to claim ownership of any wallet address that is not currently in the `investorsWallets` mapping. This creates a cri...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: MillisecondsPerBlock value for Ape chain is outdated ### Description In the `ChainUtils.convertBlocksToSeconds` function, a hardcoded value of 1000 milliseconds (1 second) per block is used for Ape chain. However, according to current network metrics, the average block time on Ape chain is approximately 1.5 se...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Return values of `transfer()`/`transferFrom()` not checked ### Description Not all `IERC20` implementations `revert()` when there's a failure in `transfer()`/`transferFrom()`. The function signature has a `boolean` return value and they indicate errors that way instead. By not checking the return value, operat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: In `transferDeposit` the recipient is able to change the stem to a value to take higher grown stalks from the sender ### Description When granting an allowance to a user, only the token amount is specified, not the `stem`. However, during a `transferDeposit` operation, the recipient has the option to includ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users may lose rewards if reward token transfer fails ### Description The ResolvStaking contract processes reward through the `checkpoint` function which loops through all reward tokens to calculate and transfer the claimable amounts when a user claims. The implementation has an issue: if the transfer of any 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
signature
false
false
## Low: Potential Violation of ERC-7562 Rules ### Description **Update** The client added an informative comment to the Readme in commit `80e8dff`. **File(s) affected:**`WebauthnOwnerPlugin.sol` **Description:** When verifying a signature, the `WebAuthn` library attempts to call the RIP-7212 precompile first, and if...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Weak Enforcement of Market Maker’s LP Share Requirement ### Description This issue has been identified within the `_checkPlaceOrderAllowance()` function of the `LPManager` contract. Currently, the primary market maker’s LP share requirement is only enforced when they remove liquidity or other users add li...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Not All Objects in the System Are Existing Objects or Have an Object Type, Which Could Lead to Unexpected Collisions or Issues for Future Features ### Description **Update** Marked as "Fixed" by the client. Addressed in: `7d7ffe15e796b44cfe732504d331ac64a8d597a8`. The client: * assessed which objects shoul...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Games can get closed without a reason, leading to players not being paid ### Description **Severity**: Medium **Status**: Acknowledged **Description** The `closeGame()` function within the `UpDown.sol` smart contract allows the administrator to close the game at any point in time without any reason, ref...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Lower Bound Check in Timestamp Validation ### Description **Update** Marked as "Fixed" by the client. Addressed in: `df2b264d9efbc628d9df56ae7b711d6d80316e78`. **File(s) affected:**`light-client/src/misc.rs` **Description:** The name of the `validate_state_timestamp_within_trusting_period()` 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
gas
storage
false
false
## Gas: Unused state variable and associated setter function ### Description _Submitted by 0xRajeev, also found by gpersoon_ The uri state variable is never used anywhere but has an associated setter function `setURI()`. Removing the state variable and its associated setter function will save both storage slot and co...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Misuse of AMM model on minting Synth (resubmit to add more detail) ### Description ## Handle jonah1005 ## Vulnerability details ## Impact `Pool` calculates the amount to be minted based on `token_amount` and `sparta_amount` of the Pool. However, since `token_amount` in the pool would not decrease when use...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: Use timestamp instead of uri length to test of existing document in `DocumentManager` ### Description **Description:** Use timestamp instead of uri length to test of existing document in `DocumentManager`: **Remora:** Fixed in commit [77af634](https://github.com/remora-projects/remora-smart-contracts/commit/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Refund Ether
false
true
<https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L292> <https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L315> <https://github.com/debtdao/Line-of-Credit/...
Code4rena
4
Debt 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
high
token
false
false
## High: Stucked yield tokens upon withdrawal of votes from Bribe contract ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/Bribe.sol Impacts: - Permanent freezing of unclaimed yield ## Description ## Brief/Intro The withdraw() method in the Brib...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
cross-chain
true
false
## Medium: POSSIBLE LOSS OF FUNDS ### Description Wormhole does not fail if the destination chain ID is different from the one supposed to be. If the rebalancer bot calls this function directly with a different chain ID, it will not fail, so funds during the transactions can be lost. You can check the [Wormhole Chain...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [06] Repayment and liquidation could be blocked if token has a callhook to receiver ### Description Some tokens like ERC777 has a callhook on receiver address. If these tokens are used in a loan, it could allow attacker to force liquidation/repayment to fail. For example, the function `settleAuction()` transfe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Return value is not used for TokenUtils.withdrawTokens ✓ Fixed ### Description The return value of `TokenUtils.withdrawTokens` which represents the actual amount of tokens that were transferred is never used throughout the repository. This might cause discrepancy in the case where the original value of `_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
medium
rounding
true
false
## Medium: Withdrawing all `lv` before expiry will lead to lost funds in the Vault ### Description [VaultLib:redeemEarly()](https://github.com/sherlock-audit/2024-08-cork-protocol/blob/main/Depeg-swap/contracts/libraries/VaultLib.sol#L639) redeems users' liquidity vault positions, `lv` for `Ra`, [before](https://githu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Change Quorum to Account for Abstain Votes ### Description The [`COUNTING_MODE` function](https://github.com/ScopeLift/flexible-voting/blob/ef950394f5e560ec438890d07e60d40ab399c81a/src/GovernorCountingFractional.sol#L45) in the `GovernorCountingFractional` contract sets the [quorum to `bravo`](https://github.c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Custom `require` errors are supported by Solidity since version 0.8.26 ### Description Currently, custom errors are implemented using the `if(condition) revert(CustomError)` flow, which is the only way to implement custom errors in Solidity versions before 0.8.26. However, the latest version of Solidity alread...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
storage
true
false
## Gas: Optimize byte operation in packPayoutNonce() and getPayoutNonce() ### Description Both the functions `packPayoutNonce()` and `getPayoutNonce()` contain the following code: ```solidity uint256 slotIndex = payoutNonce / 256; uint256 bitIndex = payoutNonce % 256; ``` This can be optimized to save some gas. ###...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: RocketDAO*Settings - settingNameSpace should be immutable  Acknowledged ### Description The `settingNameSpace` in the abstract contract `RocketDAONodeTrustedSettings` is only set on contract deployment. Hence, the fields should be declared immutable to make clear that the settings namespace cannot change after...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unused and Redundant Imports ### Description Multiple files include unused imports or redundant `using` directives, which increase bytecode size marginally (when linked libraries are pulled in) and reduce readability/maintainability. Examples: - `src/LockerFactory.sol`: unused `SafeERC20` and `IERC20` imports ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
false
false
## Medium: Centralization risk due to keeper ### Description **Severity**: Medium **Status**: Acknowledged **Description** In Contract WaveFactory.sol, the address keeper seems to authorize and configure all of the deployed wave contracts. In case this address is an EOA, this will lead to centralization risk for al...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Solidity version update ### Description **Description** The solidity version should be updated. Throughout the project (including interfaces). Issue is classified as Medium, because it is included to the list of standard smart contracts’ vulnerabilities. Currently used version (0.7.5) is not the last in 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
storage
true
false
## Medium: Processes refinance operations may call malicious code by re-created refinancer contract ### Description _Submitted by rayn_ When an attacker (borrower) proposes a new term, the attacker can let a lender accept the malicious term which the lender doesn't expect. It uses delegatecall in `_acceptNewTerms` o...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: Hacked owner or malicious owner can immediately steal all assets on the platform ### Description [Exchange.sol#L639](https://github.com/code-423n4/2022-11-non-fungible/blob/323b7cbf607425dd81da96c0777c8b12e800305d/contracts/Exchange.sol#L639) [Exchange.sol#L30](https://github.com/code-423n4/2022-11-non-fung...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Greedy Contract ### Description **Update** Response from CrocSwap: payable was removed from `CrocPolicy` and related contracts. `payable` cannot be removed from `KnockoutPath.crossCurveFlags()`, because it is only invoked with `DELEGATECALL`. Therefore it will cause the transaction to fail on any top-level `Cr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Typos in comments ### Description Several typos and formatting issues were found in inline comments and documentation across the codebase: 1. Incorrect verb usage in a comment for the `gap` storage variable: ```solidity /// added in the upcoming versions one **need** /// to reduce the array size accordingly. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Business Logic
false
true
​ The `TokenSender.send()` method is called during the course of users withdrawing or redeeming tokens from the protocol. The method is called via `DepositHook.hook()`, `RedeemHook.hook()`, and `WithdrawHook.hook()`. These in turn are called in `prePOMarket.redeem()` or `Collateral.deposit()|.withdraw()` ​ `TokenSende...
Code4rena
5
prePO
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The `mint()` Method does Not Follow the `Checks-Effects-Interactions` Pattern ### Description The `mint()` function in `DarkMythosBalinor.sol` contract does not follow the `Checks-Effects-Interactions` (CEI) pattern. It is recommended to always first change the state before doing external calls. There is no 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
high
signature
true
false
## High: Attacker can drain pool using executeBuyWithCredit with malicious marketplace payload ### Description Paraspace supports leveraged purchases of NFTs through PoolMarketplace entry points. User calls buyWithCredit with marketplace, calldata to be sent to marketplace, and how many tokens to borrow. ``` 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
oracle
true
false
## Low: Prices by PushOracle come from a centralized authority ### Description **Severity**: Informational **Status**: Acknowledged **Description** The `setPrice()` function within the `PushOracle.sol` smart contract is used only by the owner to set and define the prices for base/quote assets. This means that the ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
cross-chain
true
false
## High: Hardcode bridge addresses via immutable ### Description ## Severity: High Risk **Context:** - OmniBridgeFacet.sol#L34-L106 - AxelarFacet.sol#L18-L23 **Description:** Most bridge facets call bridge contracts where the bridge address has been supplied as a parameter. This is inherently unsafe because any a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
true
false
## Low: Peers are not punished for submitting invalid signatures in approve_request ### Description The `approve_request` extrinsic checks the validity of signatures submitted by peers; however, there is no punishment imposed on peers who submit invalid signatures (Figure 6.1). ```rust if !Self::verify_message( req...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
high
Business Logic
true
true
## Lines of code https://github.com/code-423n4/2022-10-traderjoe/blob/79f25d48b907f9d0379dd803fc2abc9c5f57db93/src/LBPair.sol#L905-L917 ## Vulnerability details ## Vulnerable detail Struct `FeeParameters` contains 12 fields as follows: ```solidity= struct FeeParameters { // 144 lowest bits in slot uint16...
Code4rena
4
Trader Joe
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect accounting of free weight in `_decrementWeightUntilFree` ### Description _Submitted by gzeon_ In `_decrementWeightUntilFree`, the free weight is calculated by `balanceOf[user] - getUserWeight[user]` plus weight freed from non-deprecated gauges. The non-deprecated criteria is unnecessary and lead ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
false
false
## Low: Proof Verification DoS via Hijacking ### Description ## Proof Computation Instructions In order to perform proof computation, the instructions `InitVerification`, `InitVerificationTransferFee`, and `InitVerificationProof` need to be executed in order. > **Note:** Some initial steps of proof computation 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
medium
access-control
true
false
## Medium: Race condition in the ERC20 approve function may lead to token theft ### Description A known race condition in the ERC20 standard, on the `approve` function, could lead to the theft of tokens. The ERC20 standard describes how to create generic token contracts. Among others, an ERC20 contract defines these t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Use a stricter bound for transferability delay ### Description ```solidity modifier transferabilityDelay { // ensure the time is after end stream if (block.timestamp < endStream) revert NotTransferableYet(); _; } ``` ### Recommendation Consider using `<=` instead of `<` so that it can cover time up 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
initialization
false
false
## Gas: saving using `immutable` ### Description It's possible to avoid storage access a save gas using `immutable` keyword for the following variables: It's also better to remove the initial values, because they will be set during the constructor. Affected source code: * Remove `_setupDecimals` method and change ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: MULTIPLE ACCOUNTS USING ONE EMAIL ### Description It has been observed a logical overlook in the sign-up. There was wrong condition while checking for existing users through email using AND statement. ### Recommendation **SOLVED**: Truffles effectively resolved the issue by implementing a proper user validati...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
false
false
## Low: `withdrawAvailableCollateral` is not pausable ### Description Typically the purpose of making contracts pausable is to stop user user-induced flows of funds and other state-changing functionalities. In the case of the `LPExternalRequestsManager` contract, there is the `requestMint`, `requestBurn` & `withdraw...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [01] `DeleteFutureFinalizedTrees` does not delete Nodes from the database ### Description If a `WorkingTree` was initialized, then a few leaf nodes were inserted and saved, and the `WorkingTree` was also saved. If then the Working Tree was deleted, the Nodes would still exist in the database and take up space.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Denial of Service Due to Lack of Validation ### Description The `ConversionRate` smart contracts takes an unbound array of addresses oracles in its constructor (and when updating the Oracle list) to store addresses of the ChainLink nodes allowed to submit answers to requesters. Due to the Ethereum block gas 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
low
token
false
false
## Low: Explicit statement of `uint256` values ### Description In `CCollateralCapErc20.sol`, `CTokenInterfaces.sol`, `Comptroller.sol`, `ComptrollerStorage.sol` all instances of `uint` values are not stated as `uint256` explicitly ### Recommendation We recommend to expicitly state `uint` values as `uint256` to increa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: L09] Reimplementing the Ownable pattern ### Description ###### Low Component: [`deploy`](https://github.com/BeamNetwork/currency/tree/af3428020545e3f3ae2f3567b94e1fbc5e5bdb4c/contracts/deploy) [`BeamInitializable`](https://github.com/BeamNetwork/beam-bootstrap-chain/blob/96beab1c5cfd41310bfba733ab7216426ca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Off-By-One Error in Liquidator and Operator Capacity Check ### Description **Description:** When adding new liquidators or operators, the check is performed to check that the MAX_LENGTH is greater than or equal the current length. But after this we push the new element. > - bc-solana-vault-sc/programs/sc-vaul...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LiquiditySourceType contains mock pools ### Description The `LiquiditySourceType` enum contains mock pools (figure 17.1), which should not be present outside of tests but are present on the `sora-staging` network. We set the severity of this finding to low because we did not find a way to leverage the mock poo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: DROPLETS_PER_NFT Constant ### Description ## Droplets per Token Value Analysis Throughout the program, the `droplets per token` value is hardcoded, which is an error-prone practice. Below is a list of files containing the `droplets_per_nft` value, along with snippets where the value is present, indicated 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
other
false
false
## Low: System relies on off-chain clients calling unrestricted functions to stay up-to-date ### Description The Augur system relies on off-chain clients to call unrestricted functions in order to update and sync system parameters. In particular, public functions whose purpose is to update state, like [`updateTotalThe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: AssignmentHooks May Drain Prover TKO When Calling proposeBlock() ### Description AssignmentHooks are used to transfer the livenessBond from the assigned prover by calling `AssignmentHook.onProposedBlock()`. However, there is nothing to prevent calling the same assignment hook repeatedly for a single block 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
medium
dos
true
false
## Medium: Setting `RevertGasLimit` to a value larger than `uint64` in the Solidity gateway contract will cause a panic that prevents finalizing the inbound CCTX and observers from receiving block rewards ### Description The `RevertGasLimit` is a `uint256` in Solidity. When calling `cctx.RevertOptions.RevertGasLimit.U...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `multicall()` will revert if empty data is included in the `multicallData` ### Description When an ownership update is triggered in the base chain of the NFT, the response `_updateDelegations()` is executed. In this function, `multicallData` is filled with the calls to update the delegations of the tokens 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
medium
liquidation
true
false
## Medium: Potential avoidance of liquidation ### Description **Severity** **Impact:** High **Likelihood:** Low **Description** Users can deposit ERC721 tokens using the `MarginTrading::provideERC721` function, which can then be used as collateral for borrowing. Additionally, users can execute the `MarginTrading::...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Amount of protocol fees owed will be more than intended in first claim ### Description The `ERC4626i` `claimProtocolFees` has the following snippet: ```solidity CampaignData storage _campaignData = campaignIdToData[campaignId]; uint256 lastUpdated = feeRewardsLastClaimed[campaignId]; uint256 elapsed = (_campa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent usage of delete and manually zeroing variables ### Description While functionally equivalent, inconsistent usage of the `delete` keyword and manually zeroing a variable can lead to confusion and decreased code readability. ### Recommendation Consider using a single method throughout the codebase ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Withdrawals ongoing for OETH, apxETH, weETH, and almost any LST are overpriced by the oracle ### Description When users initiate a withdrawal, if the yield token has a specific withdrawal method, the withdrawal will be initialized and for LSTs, this means unstaking from the beacon chain, which can take hour...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Assignment instead of comparison in UniMexFactory.sol require checks ### Description **Description** In contract UniMexFactory.sol in functions setUtilizationScaled and setMaxLeverage the require checks at lines 45 and 51 are assigning a value instead of comparing it. For example at line 45 the value true 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
access-control
true
false
## High: Suspended bridge transactions cannot be restored ### Description Suspended bridge transactions cannot be restored. As a result, the assets will be stuck, and bridge service providers cannot reclaim the assets they have transferred to the users from the protocol. ### Impact Loss of assets. The assets will be ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Centralization Risk Due To All CSX Tokens Being Minted To The Contract Creator ### Description Due to the way that the `CSXToken.sol` contract is currently implemented, when it gets deployed, the maximum supply of it (`100 million`, to be exact) is going to get minted to its deployer. After the contract is dep...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 function doesn't check if wLp is whitelisted ### Description Using `setPosMode` function owner of position can change it's mode. When the function is called, then there are a lot of checks, like if current mode allows to decollateralize and if new mode allows to collateralize. Also it's checked,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: route() doesn't return a route for reverse token order ### Description The `_getRouteDecimalDifferencePrice()` function requires `aToken0 aToken1`), there will be no route returned. However, it should return the reverse route if it has been set. ### Recommendation ```solidity function route(address aToken0, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
true
false
## Medium: DoS in shreds validation ### Description Report type: Blockchain/DLT Target: https://github.com/firedancer-io/firedancer/tree/e60d9a6206efaceac65a5a2c3a9e387a79d1d096 Impacts: * Liveness issues that cause Firedancer v0.1 validators to crash or be unavailable ## Description ## Brief/Intro This is simi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: The `Receive` function revert ### Description The BAMM contract supports only one collateral token. If it is set to ERC20 tokens the [`receive`](https://github.com/Threshold-USD/dev/blob/800c6c19e44628dfda3cecaea6eedcb498bf0bf3/packages/contracts/contracts/B.Protocol/BAMM.sol#L289) function has to revert al...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Exercise caution around duplicate tokens ### Description Similar to MasterChef, token balances are relied on for key calculations (`tokenSupply = supportedTokens[_pid].balanceOf(address(this));`). In the event two pools use the same token, each deposit counts toward the tokenSupply of both pools. ### Recommen...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The getFee function does not raise an exception if the configuration is not defined. ### Description The `getFee` function is intended to return a fee based on the amount, operation type, and chain. The chain-specific fee will be returned if configured; otherwise, the default fee for the given operation will b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
false
false
## Medium: Undocumented decimal assumptions ### Description The [`LimitOrderProtocol`](https://github.com/1inch/limit-order-protocol/blob/4d94eea25e4dac6271bfd703096a5c4a4d899b4a/contracts/LimitOrderProtocol.sol) contract inherits the [`ChainlinkCalculator`](https://github.com/1inch/limit-order-protocol/blob/4d94eea25...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Escrow amount not validated for 0 ### Description **Severity**: Low **Status**: Resolved **Description** Method `createEscrow(...)` allows a seller/buyer to create an escrow with amount. But this amount can be 0 as it is not checked if amount > 0 or not. **Recommendation**: Add a validation to check if e...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
true
false
## Medium: `getUnderlyingPrice()` should return `0` when errored ### Description The `Comptroller` is expecting `oracle.getUnderlyingPrice` to return `0` for errors (Compound style returns, no revert). The current implementation will throw errors, resulting in the consumer of the oracle getting unexpected errors. ###...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Simplification of Tick Check in `getSqrtRatioAtTick` ### Description [Math.sol](https://github.com/code-423n4/2023-11-panoptic/blob/main/contracts/libraries/Math.sol#L41) The tick check in `getSqrtRatioAtTick` uses an `if` statement with a `revert`. This can be replaced with a `require` for clarity and potent...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TODO comments should be resolved ### Description As part of the process of bringing the application to production readiness, dev comments (especially TODOs) should be resolved. In many cases, these comments indicate a missing functionality that should be implemented, or some missing necessary validation che...
0