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
signature
false
false
## Low: currBlockNumber naming - is not related to block.number ### Description `currBlockNumber` is incremented by one every time `notarizeSettlement()` is called. It also has the getter getCurrBlockNumber() with the comment `Returns the current block number.` But this variable is never compared to the actual `block....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The report's slashingContainmentMode and bufferRebalancingMode are decided by the oracle members which affects the exiting strategy of validators ### Description The current protocol leaves it up to the oracle members to come to a quorum to set either of the `report.slashingContainmentMode` or `report.bufferRe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wrong accounting for totalBorrowed in the InfinityPool.pay function ✓ Fixed ### Description If the Agent pays more than the current interest debt, the remaining payment will be accounted as repayment of the principal debt: **code/src/Pool/InfinityPool.sol:L382-L401** ``` // pay interest and principal prin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Locked Funds May Become Inaccessible ### Description The collected tokens from the AMM trading fees are locked every time a position is touched. In addition, the long position premia payment is also added to the `lockedFunds` when a position is exercised. The outflow of the locked tokens is for short positi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User can steal refunded underlying tokens from `initRange` operation inside `RangeManager` ### Description After the owner of `RangeManager` create new range via `generateRange`, they can then call `initRange` to init the range and providing the initial underlying tokens for initial uniswap v3 mint amounts....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Bonding doesn’t work with fee-on transfer tokens ### Description ## Handle cmichel ## Vulnerability details Certain ERC20 tokens make modifications to their ERC20's `transfer` or `balanceOf` functions. One type of these tokens is deflationary tokens that charge a certain fee for every `transfer()` or `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...
cyfrin_structured
low
token
true
false
## Low: Insufficient deadline protection when adding/removing collateral from yield positions ### Description When the owner of a Smart Vault transfers its collateral assets to/from one of the supported Gamma Vaults, several swaps are executed with a deadline of `block.timestamp + 60`. For example, in `SmartVaultYield...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No validation check of `_investorWallet` when buying `dsToken`. ### Description **Description:** In the `SecuritizeSwap.buy()` function, there is no validation check to verify if `_investorWallet` has already been added to the wallet list of `_senderInvestorId`, unlike in the `swap()` function. Consequently...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistency in the Validation Check ### Description ## Inconsistency in Validation Condition for next_id There is an inconsistency in the condition used to validate `next_id` in `internal_find_insert_position` within the sorted trove. This condition checks whether the `next_id` should remain valid based ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 mechanism doesn't take into account that key price can change ### Description _Submitted by kenzo, also found by WatchPug and 0x0x0x_ Lock manager can change key pricing. The refund mechanism calculates refund according to current key price, not price actually paid. #### Impact A user refunding 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
low
other
true
false
## Low: Claimable reward view function does not reflect up-to-date reward data ### Description View function `getUserClaimableAmounts` simply returns the value stored in the user data mapping: However, this value does not accurately reflect the user's current reward state. A more accurate approach would be to calcul...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lockup condition in getStageAtBlock() ✓ Fixed ### Description Given that the contract has been frozen at least once, if the `frozenPeriod` is longer than the period before the freeze event (starting from `commitPhaseStartBlock` till the `freezeStart`), the following require in `getStageAtBlock()` will revert d...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
token
true
false
Source: https://github.com/sherlock-audit/2023-02-carapace-judging/issues/305 ## Found by XKET, rvierdiiev, \_\_141345\_\_, unforgiven, Web3SecurityDAO ## Summary when a lending loan defaults, then function `lockCapital()` get called in the ProtectionPool to lock required funds for the protections bought for that l...
Sherlock
5
Carapace
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Check MCR in `_registerData` in `registerVault`. ### Description The `registerVault` operation takes in two MCR values—one explicitly passed as a variable and recorded in the global `VaultData`, while the other is encoded in `_registerData` and used to calculate the initial `interestRate`. These two MCR values...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Tokens are unlocked only when delegation ends ✓ Addressed ### Description After the first 3 months since at least 50% of tokens are delegated, all tokens should be unlocked. In practice, they are only unlocked if at least 50% of tokens, that were bought on the initial launch, are undelegated. **code/contrac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
true
false
## Low: Misleading calculation of price deviation ### Description The `_priceDeviationInSafeRange()` function in `TitanXPriceFeed.sol` checks if the price deviation between the minimum and maximum price is within a safe range. As we can see, for the calculation of the percentage difference it uses the average price ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: First depositor can break staking-rewards accounting ### Description Staking in SALTY pools happens automatically when adding liquidity. In order to track the accrued rewards, the code "simulates" the amount of virtual rewards that need to be added given the increase of shares and lend this amount to the user...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
Wrong Math
true
false
Source: https://github.com/sherlock-audit/2023-01-uxd-judging/issues/346 ## Found by peanuts, HollaDieWaldfee, hl\_, berndartmueller ## Summary The anticipated Perp account debt value calculation via `PerpDepository.getDebtValue` is inaccurate and does not incorporate the (not yet settled) owed realized PnL `owedR...
Sherlock
4
UXD Protocol
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: BBLeverage's and SGLLeverage's `buyCollateral()` remove the required funds from the target twice ### Description The collateral purchase proceedings of leverage buy operation aren't returned to the user, but kept with the contract instead, so the funds are being requested from the user twice, first in a usu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: UNCHECKED SAFE RATIO ### Description The `instantiate` and `update_config` functions from the **krp-cdp-contracts/liquidation\_queue** and **krp-market-contracts/liquidation\_queue** contracts do not verify that `safe_ratio` is lower than 1. If it is mistakenly set to a value greater than 1, some unexpected 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
medium
initialization
false
false
## Medium: [PNM-004] Calculation of _secondaryReserveRatio can be overflowed ### Description `uint32 _secondaryReserveRatio = uint32((msg.value * SCALE * 1e18) / (_initialTokenSupply * _initialTokenPrice));` `_secondaryReserveRatio` can be overflowed by setting a relatively small `_initialTokenSupply` and `_initialT...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Merge logic into one smart contract instead of using inheritance ### Description The `SemiFungible1155` contract inherits from `Upgradeable1155` but it doesn't make sense to separate those two since the logic is very coupled and `Upgradeable1155` won't be inherited from other contracts so it does not need its ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Perpetual - Administrators can put the system into emergency mode indefinitely  Pending ### Description There is no limitation on how long an administrator can put the `Perpetual` contract into emergency mode. Users cannot trade or withdraw funds in emergency mode and are effectively locked out until the ad...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: [02] `asDFactory.create()` does not prevent that two `asD` contracts might have the same name and symbol. ### Description [asDFactory.sol#L33-L38](https://github.com/code-423n4/2023-11-canto/blob/335930cd53cf9a137504a57f1215be52c6d67cb3/asD/src/asDFactory.sol#L33-L38)
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `RentPayload`'s signature can be replayed ### Description A malicious user could potentially fulfill all `PAY` orders that own the same value of `zonehash`. ### Proof of Concept The rental process in `reNFT` can simply be described as follows: 1. `lender` create either `BASE` or `PAY` order, which inclu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: possibility of minting rJOE tokens before ownership is changed to RocketJoeStaking ### Description _Submitted by hubble_ There is a possibility of the rJOE tokens in RocketJoeToken.sol to be minted by original owner without staking any JOE, before the ownership is transferred to RocketJoeStaking #### Pr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Protection seller will lose unlocked capital if it fails to claim during more than one period ### Description The protection seller will lose unlocked capital if it fails to claim during more than one period. ### Impact The protection seller will lose unlocked capital if it fails to claim during more than on...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Unexpected Token Transfer Recipient in `redeemOzUSD` ### Description This issue has been identified within the `redeemOzUSD` function of the `OzUSD` contract. The function [transfers](https://github.com/LayerLabs-app/Ozean-Contracts/blob/dacd9ed9c895c9b6be422531eea15fecc3c2b1d8/src/L2/OzUSD.sol#L195) tokens 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
initialization
true
false
## Low: Unnecessary panics in the http_handler server’s initialization ### Description The `create_port_file(PathBuf, u16)` function, which is used in the initialization of the HTTP handler server, panics in several places (Figure 30.1). However, the only function that calls `create_port_file` returns a `Result` 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
high
liquidation
false
false
## High: | Loss of Funds on Swap Path ### Description **Description - [PoC](https://github.com/GuardianAudits/GMX/blob/af740b1972788f429219d1381183c68b244e00d8/test/guardianTestSuite/testPOCS.js#L974)** For decrease orders with a defined `swapPath` the `inputAmount` for the swap is the `initialCollateralDeltaAmount`,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: COLLATERALLIST SEEMS TO BE UNUSED ### Description The `CollateralList` array seems to be used only in setup tests. There is no use of this array in any contract functions. Code Location ------------- [LMCV.sol, line 40](https://github.com/DecentralizedAssetManagement/lmcv/blob/3391f49ca23e67b2dbb39d35ff7d665...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A service provider can deceive its delegators ### Description Service providers can earn AUD tokens by allowing delegators to delegate their stake into its account. The [`deployerCut` value](https://github.com/AudiusProject/audius-protocol/blob/6f3b31562b9d4c43cef91af0a011986a2580fba2/eth-contracts/contracts/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
false
false
## Medium: Missing Input Validations ### Description **Update** All items were fixed or considered. **Update** Marked as "Fixed" by the client. Addressed in: `246f5a27675ad3a593a4385f8087fdaf98051a51`. **File(s) affected:**`master-admin.fc, master-liquidate.fc` **Description:** It is important to validate inputs, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
false
false
## Low: Consider using a 2-step process to change `governor` in `ChainlinkOracle` ### Description `ChainlinkOracleConfigs::updateGovernor` switches `governor` in a single call. A typo or compromised signer could irreversibly hand over control. Consider using a 2-step process for `governor` changes as is done in `Licre...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TSS Node Design Uncertainty ### Description Further consideration is required on the intended behaviour of slashing inactive TSS nodes. Documentation in "TSS Enhancement Spec.pdf" and `TssStakingSlashing.sol` suggest that inactive TSS nodes should be slashed by their peers to promote timely responses. The TSS ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 outdated libraries ### Description Trail of Bits used `npm-check-updates` to detect outdated dependencies in the codebase. This check found that 25 of the packages referenced by the `package.json` file are outdated. The following table lists only the dependencies that have not been updated to the latest...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
storage
false
false
## High: amAMM manager can capture fees from the protocol and referrers ### Description The amAMM manager is allowed to set and adjust swap fees to maximize revenue. A percentage of the fees captured by the manager is distributed to the protocol and referrers. However, the manager can retain all the fees by acting 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
dos
false
false
## Low: [07] Attacker could exhaust resources because `AllBalances` has unbounded pagination in bank module ### Description *Note from Sponsor: “cosmos limits that to 100, and normally we are setting reverse proxy to limit that”.* ### Finding Description and Impact The Bank module’s `AllBalances` GRPC query endpoint...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wasted computation on a paused contract ### Description **Severity**: Informational **Status**: Resolved **Description** rUSTPool.sol - The modifier realizeInterest precedes whenNotPaused in function supplyUSDC(uint256 _amount) external realizeInterest whenNotPaused Modifier realizeInterest is costly in t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Owners will incur loss and bad debt if the value of a token crashes ### Description If the value of the swapped tokens crash, many users will choose not to claim the orders, which result in the owner being unable to recoup back the gas fee the owner has already paid for automating the fulfillment of the ord...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Denial of service in globalPause by wrong logic ### Description _Submitted by 0x1f8b_ The method `globalPause` is not tested and it doesn't work as expected. ### Proof of Concept Because the method returns an array (`_updatedAddresses`) and has never been initialized, when you want to set its value, it 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
false
false
## Low: Stricter than needed inequalities may affect borderline scenarios ### Description ## Handle 0xRajeev ## Vulnerability details ## Impact Token amounts/prices are typically open-ranged and inclusive of the bounds. Using ‘’ instead of ‘=‘ may affect borderline scenarios, considered unintuitive by users and 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: Memory vs Storage Mismatch Renders Session State Update Failure in `validateUserOp()` ### Description The `validateUserOp()` function incorrectly uses `SessionData memory` when updating the live status, causing all session keys to remain permanently active despite validation attempts: ```solidity SessionData...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
true
false
## Low: TSS Nodes Can Report Themselves For Slashing To Reduce Penalty ### Description If a TSS node has performed behaviour that is deserving of slashing, they can lessen the impact of this by self-reporting. This will reduce the penalty they pay for inactivity or malicious behaviour, as they would then receive the 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: [09] `MKR` and its like of tokens that return `bytes32` would be broken when integrated ### Description https://github.com/code-423n4/2024-11-nibiru/blob/8ed91a036f664b421182e183f19f6cef1a4e28ea/x/evm/keeper/erc20.go#L147-L164: These are helper functions that are used to load the name, symbol, and decimals 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
low
token
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
initialization
false
false
## Low: Malicious listener can intercept messages ### Description A malicious listener on the user’s device can intercept messages being sent from the SDK server to the dapp. The system uses the `window.postMessage` function to communicate between the dapp and the SDK server (Figure 12.1). When using the `postMessage`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `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
medium
dos
true
false
## Medium: Nimbus: remote DoS via large custody group count metadata update ### Description The function `checkPeerCustody` is a part of PeerDAS protocol implementation. During execution `checkPeerCustody` function calls `lookupCgcFromPeer` several times. Between these calls there is a window, where faulty peer coul...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Efficient Data Storage in `getLiquidityForAmount1` ### Description [Math.sol](https://github.com/code-423n4/2023-11-panoptic/blob/main/contracts/libraries/Math.sol#L154) Optimize the storage of data in the `getLiquidityForAmount1` function by reducing the number of times data is stored in state variables. #...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Loss of claimable rewards upon gauge deactivation ### Description The `killGauge` and `reviveGauge` functions in the `Voter` contract allow the `emergencyCouncil` to deactivate and reactivate gauges. However, once a gauge is killed, its associated claimable rewards are set to zero, resulting in the permanent ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary `is_active` check may block event emission on delays ### Description For delayed transactions, there is no state change required, meaning that checking the `is_active` state is unnecessary. However, the current implementation still verifies `is_active`, and if the state becomes inactive between a 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...
cyfrin_structured
critical
input-validation
true
true
## Critical: Missing nonce validation in signature verification allows transaction replay attacks ### Description The `SecuritizeOnRamp::executePreApprovedTransaction` function fails to validate that the nonce provided in the transaction data matches the expected nonce for the investor before executing the transaction...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Attackers can maliciously inflate `total_supply` temporarily to exceed utilization rate limit and push the pool towards 100% util rate, potentially causing a loss of lender funds ### Description Blend pools have a utilisation rate limit that borrowers are not allowed to cross. Lenders deposit into the pool ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unable to call some functions in the incentive contracts with onlyOwner modifier because of incorrect initialization leading to stuck funds ### Description `BoostCore.sol` will always be set as the owner of Boost provided incentive contracts because the initializer is called here within [_makeIncentives](http...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
rounding
true
false
## Low: Rounding Error Accumulation in Partial Order Fills Leads to Unfair Cost Distribution ### Description When an order is partially filled multiple times, rounding errors from the `trade_sum` function accumulate in the order's remaining `sum` field. The final fill receives the accumulated rounding errors, causing ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Mixed-up error messages in collateral assertions ### Description Assert messages in the `updateCollateralBalance` and `receive` functions are mixed-up (swapped). ``` require(collateralAddress != address(0), "ActivePool: collateral must be ETH"); ``` ``` require(collateralAddress == address(0), "ActivePoo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Upgradeability best practices are not followed ### Description In `LoanVault` the storage layout has been changed in a non-upgradeability safe way. Between commit `616e9d4ba18eef293dc76fb95144bd11fb29549b` and the current HEAD of the `audit` branch it seems like the `fundingFee` storage variable has changed 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
oracle
true
true
## Low: [02] `PanopticPool::getOracleTicks` does not return correct `medianData` ### Description According to the code comments, the `getOracleTicks()` function should return the updated medianData. However, it still returns the old data stored in `s_miniMedian`. ```solidity /// @notice Computes and returns all ora...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
false
false
## Low: [07] Lack of no reentrant modifier ### Description The `Market.getEscrow`, `Fed.expansion` and `Fed.contraction` methods do not have the `noReentrant` modifier and make calls to an external contract that can take advantage of and call these methods again, but it seems to fail due to the lack of tokens. Howeve...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
false
false
## Low: Use Checks-Effects-Interactions pattern in `swEXIT::createWithdrawRequest` ### Description **Description:** The current implementation uses [`_safeMint`](https://github.com/SwellNetwork/v3-contracts-lst/blob/a95ea7942ba895ae84845ab7fec1163d667bee38/contracts/implementations/swEXIT.sol#L209) before modifying st...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
rounding
true
false
## Medium: Imprecise token age calculation results in an incorrect nuke factor, causing users to claim the wrong amount ### Description The function `calculateAge()` computes the age of a token ID based on the current and creation time difference. This token age is then used to determine the [nuke factor](https://gith...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: An important flow of admin actions is not enforced, just documented ### Description **Likelihood:** Low, because it requires either a malicious/compromised admin or the admin to forget it has to do the correct flow of operations **Impact:** High, because users will lose their funds **Description** The Na...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unchangeable Dev Wallet Address ### Description ## Vault.move Structure In `vault.move`, the `ProtocolFeeVault` structure stores the `FeePercentages` structure and the address of `dev_wallet`. Due to the lack of functionality for updating the address of `dev_wallet`, it remains immutable. ## Remediation Imp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
true
false
## Low: Value should be unchecked ### Description In the deposit function the storage variable `totalPositionSize` is updated, which represents the total amount of positions issued. Considering the fact the variable is of uint256, an overflow in unrealistic and therefore impossible.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: VaderReserve.reimburseImpermanentLoss improperly converts USDV to VADER ### Description ## Handle TomFrenchBlockchain ## Vulnerability details ## Impact IL isn't properly converted from being in terms of USDV to VADER, resulting in reserve paying out incorrect amount. ## Proof of Concept `VaderReserv...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insufficient Checks in addPool ### Description Within the `RizRegistry` contract, the `addPool` function only checks that [`LENDING_POOL_ADDRESSES_PROVIDER` and `BAD_DEBT_MANAGER` are initialized](https://github.com/radiant-capital/riz/blob/65ca7bb55550d30388e2b2277fefe5686ab7e4e8/src/RizRegistry.sol#L141-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
other
true
false
## Low: bitcoin-spv - unnecessary type correction ✓ Addressed ### Description The type correction `encodePacked().toBytes32()` is not needed as `sha256` already returns `bytes32`. ### Recommendation Issue addressed in [summa-tx/bitcoin-spv#126](https://github.com/summa-tx/bitcoin-spv/pull/126)
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: NAV Value Overwrites Last Fee Harvest Time ### Description The `VaultStore` library defines a critical storage key incorrectly: ```solidity bytes32 public constant LAST_HARVEST_PERFORMANCE_FEE_TIME = keccak256(abi.encode("NAV")); ``` Instead of using a unique identifier for the last performance fee harvest ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Early return in `RewardsDistributor.claim()` can cause stuck ETH ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/RewardsDistributor.sol Impacts: - Permanent freezing of funds ## Description ## Brief/Intro A user can lose ETH that they...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Incomplete or wrong NatSpec docs ### Description The NatSpec docs on the external methods are incomplete - missing `@param`, `@return` and other descriptive documentation about the protocol functionality. Also part of the NatSpec of `IAllowlist` is copy-pasted from `IHypercertToken`, same for `AllowlistMinter`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: rotateNodeRunnerOfSmartWallet is vulnerable to a frontrun attack ### Description ## Lines of code https://github.com/code-423n4/2022-11-stakehouse/blob/main/contracts/liquid-staking/LiquidStakingManager.sol#L356 https://github.com/code-423n4/2022-11-stakehouse/blob/main/contracts/liquid-staking/LiquidStaki...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `processValidators()` Function Can Be Prevented Funds Get Stuck ### Description When there is not enough `gETH enqueued` to process validators, it causes a revert and it is not possible to processValidators. Thus, there can be stuck funds even though there are exited validators. Additionally this prevents 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
token
true
false
## Low: transfer... logic for debt tokens in ATokenERC6906 does not incorporate indexes ### Description It is true that only the mini pool can transfer debt tokens between users (as is enforced in the before token transfer hook) and currently it doesn't use this logic. However, the transfer logic implemented for the d...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Emit events if a function alters storage variables ### Description Multiple functions across different files within the audit scope modify state variables without emitting events. Events are essential for transparency and enabling off-chain monitoring of on-chain state changes. ### Recommendation Implement ev...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No confirmation support interface ### Description **Severity**: Low **Status**: Resolved **Description** In contract TangleswapPool, in the setPriceOracle there are no confirmations support interface for address. If the provided address doesn’t support the IPriceOracle interface,some method call 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
high
flash-loan
false
false
## High: MinVotingPowerCondition logic can be bypassed via flashloans ### Description The `MinVotingPowerCondition` contract allows any users who hold at least `plugin.minProposer-VotingPower()` amount of tokens (locked in the `LockManager` or in their token balance) to create a proposal and execute `LockToVote.createP...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
true
false
## Low: Don't use `owner` and `timelock` ### Description Using a `timelock` contract gives confidence to the user, but when check `onlyByOwnGov` allow the `owner` and the `timelock` The `owner` manipulates the contract without a lock time period. ### Recommendation * Use only `Owned` permission * Remove the `timel...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Accidentally sent ETH can be stuck in protocol resolver contract ### Description The protocol currently does not intend to support ETH transfers to resolvers. However, the `attest` and `revoke` functions of `SchemaResolverUpgradeable.sol` have the payable specifier, which allows ETH transfers to underlying ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary Extra Reference ### Description ## Update Stake and Total Stake by Debtor In the bottle module, `update_stake_and_total_stake_by_debtor` borrows the reference for `Bottle` twice: once for getting the stake amount and once for setting it. To optimize this, avoid taking the reference twice by taki...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The protocol can't receive rewards because of low gas limits on ETH transfers ### Description The hardcoded gas limit of the [Asset::transferETH()](https://github.com/sherlock-audit/2024-02-rio-network-core-protocol/blob/main/rio-sherlock-audit/contracts/utils/Asset.sol#L41-L46) function, used to transfer E...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Misuse of FinalizableCrowdsale ### Description As [documented](https://github.com/OpenZeppelin/zeppelin-solidity/blob/v1.3.0/contracts/crowdsale/FinalizableCrowdsale.sol#L33-L37), to use `FinalizableCrowdsale` you must inherit from it and define a custom `finalization` function. Instead, in `CATCrowdsale` it 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
rounding
true
false
## High: BPS_TO_DECIMAL conversion is wrong, leading users to dramatically overpay for options ### Description The constant value used to convert bips to decimals is defined as: `10e14` is equivalent to `1e15`, which when multiplied by `10_000 bips` equals `1e19`, which is 10x higher than it should be. The result i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
true
false
## Low: `StabilityPool::claimCollateralGains` should accrue depositor collateral gains before claiming ### Description `StabilityPool::claimCollateralGains` [reads](https://github.com/Bima-Labs/bima-v1-core/blob/09461f0d22556e810295b12a6d7bc5c0efec4627/contracts/core/StabilityPool.sol#L706-L713) `collateralGainsByDepo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `BenqiEcosystemModule` and `UnifiedBudgetAllocator` are not fully ERC-165 compliant ### Description **Description:** The `BenqiEcosystemModule` contract inherits both `IDistributionModule` and `IBenqiEcosystemModuleErrors`. According to the ERC-165 specification for interface detection, the `supportsInterface(...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Method `distributeRewardUSDT` can increment `currentBalanceUSDT` without sending USDT ### Description **Severity**: Low **Status**: Resolved **Description** In Contract TradingVault, method distributeRewardUSDT(...) has a boolean value to check if USDT needs to be transferred from msg.sender or not. In cas...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: incorrect handling of compound cancelation lead vault to stuck at `compound_failed` status ### Description the [compound](https://github.com/Cyfrin/2023-10-SteadeFi/blob/main/contracts/strategy/gmx/GMXCompound.sol#L35) function allows the keeper to swap a token for **TokenA** or **TokenB** and add it as liq...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: concat built-in can corrupt memory ### Description `concat` built-in can write over the bounds of the memory buffer that was allocated for it and thus overwrite existing valid data. The root cause, at least for `v0.3.10rc3*`, is that the `build_IR` for `concat` doesn't properly adhere to the API of `copy_byte...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Error in Using the same max funding rate for all synthetic ASSETS. ### Description Some assets move wildly (DOGE, PEPE), others are relatively stable (ETH, BTC), and some are nearly flat (e.g. real-world assets or stablecoin synths). If you set `max_funding_rate` too high: * Low-volatility assets will allow ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Any fractions deposited into any proposal can be stolen at any time until it is commited ### Description _Submitted by panprog, also found by 0x52, 0xsanson, hansfriese, shenwilly, and zzzitron_ ### Impact When buyout starts, it takes all fractions owned by proposer. This means that when `Migration` contra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unlimited Approval ### Description **Update** The team has modified the code such that only the required amount is approved. **File(s) affected:**`depositers/GMXExecutor.sol` **Description:** The function `GMXExecuter._approve()` checks to see if the `GMXExecuter` contract has an allowance less than `amount`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
true
false
## Low: [05] The kerosene price can be manipulated via donation attacks ### Description https://github.com/code-423n4/2024-04-dyad/blob/4a987e536576139793a1c04690336d06c93fca90/src/core/Vault.kerosine.unbounded.sol#L50-L68 Would be key to note that this function is also used in the bounded vault to get the asset pri...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unlimited Minting Of Tokens ### Description ## VariableSupplyERC20Token Minting Issue `VariableSupplyERC20Token::mint` limits the amount of ERC20 tokens that may be minted. This is tracked via the `mintableSupply` value, which determines the maximum amount of tokens mintable. To validate that the amount mi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [11] Setters: `migrate()` does not have an equality checker or something similar ### Description Take a look at the current implementation of the contract's `migrate` function [here](https://github.com/code-423n4/2024-08-axelar-network/blob/69c4f2c3fcefb1b8eb2129af9c3685a44ae5b6fe/axelar-amplifier/contracts/ax...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Withdraw Pattern
false
false
Source: https://github.com/sherlock-audit/2023-02-blueberry-judging/issues/33 ## Found by y1cunhui, rvierdiiev, csanuragjain, Ruhum, evan, 0x52 ## Summary Soft/hard vaults can have a withdraw fee. This takes a certain percentage from the user when they withdraw. The way that the token accounting works in BlueBerry...
Sherlock
5
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: Missing Docstrings ### Description Throughout the codebase, there are several parts that do not have docstrings. * The [`IRollupVerifier` interface](https://github.com/scroll-tech/scroll/blob/8bd4277c13ec17670963848a24e4e1b135504f3f/contracts/src/libraries/verifier/IRollupVerifier.sol#L5-L27) in `IRollupVeri...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use of spot dex price when repay portal debt leads to sandwich attacks ### Description When the `NomadFacet` repays the portal debt, it has to convert local assets into adopted assets. It first calculates how many assets it needs to swap and then converts the local assets into the adopted assets. ### Recomme...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Borrower can cause a DoS by frontrunning a liquidation and repaying as low as 1 wei of the current debt ### Description Borrowers can cause DoS when the liquidator attempts to liquidate 100% of the borrower's position. The borrower needs to frontrun the liquidation tx and repay a slight portion of the debt,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: MINIMUM_LIQUIDITY checks missing - Bringing Liquidity below required min ### Description _Submitted by csanuragjain_ Whale who provided most liquidity to the contract can simply use removeLiquidity function and can remove all of his liquidity. This can leave the residual liquidity to be less than MINIMUM_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
gas
other
false
false
## Gas: Remove redundant flag for creation of collection ### Description **34,044 gas can be saved.** | Method | Before | After | Gas Saved | Test Passes? | |--------------------|---------|-----------|---------|-----| | `NextGenCore:createCollection()` | 252555 | 230253 | 22302 | Yes | | `NextGenCore:setCollectionDa...
0