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
false
false
## Medium: Organisation record can be re-written ### Description **Description** MGD.sol, createOrganisation() Bool flag for the organisation name taken (orgTaken mapping) is never set. Thus, it makes orgTaken mapping useless. The issue is marked as Medium only because the organisation creation can be performed only ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: changes should use two-step process ### Description The `QuestBoard.sol`, `QuestTreasureChest.sol`, and `QuestTreasureChest.sol` contracts inherit from OpenZeppelin’s Ownable contract, which enables the `onlyOwner` role to transfer ownership to another address. It’s possible that the `onlyOwner` role mistakenl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Large or complicated code bases should implement fuzzing tests ### Description Large code bases, or code with lots of inline-assembly, complicated math, or complicated interactions between multiple contracts, should implement fuzzing tests. Fuzzers such as Echidna require the test writer to come up with invari...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Oracle might fail if anchor price is not updated fast enough ### Description The `DelFiPrice` contract implements a safety mechanism to disregard reports that, while coming from trusted sources, may lead to a drastic variation of the official median price reported by the oracle. The mechanism is based on an...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TRST-L-1 Theoretical reentrancy attack when TYPE_MINT_BURN proposals are executed ### Description **Description:** The senate can pass a proposal to mint or burn tokens. Note that the proposal is only marked as executed at the end of execution, but execution is checked at the start of the function. Inter...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
false
false
## Medium: Slippage During Transfer Fee Swap ### Description If `Berabot` contains at least 0.02% of the `totalSupply` then a swap can be made during `_transfer()`. Such swaps can be vulnerable to sandwich attacks which can cause the `feeRecipient` to receive way less `WBERA` than the normal market price for the swapp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lender force Loan become default ### Description in ```repay()``` directly transfer the debt token to Lender, but did not consider that Lender can not accept the token (in contract blacklist), resulting in repay() always revert, and finally the Loan can only expire, Loan be default ### Impact Lender forced 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
medium
flash-loan
false
false
## Medium: Flash loan risk mitigation is optional and not robust enough ### Description _Submitted by 0xRajeev_ The `switchEoaOnly()` allows the owner to disable `preventSmartContracts` (the project’s plan apparently is to do so after the beta-period) which will allow any smart contract to interact with the protocol ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ReserveLibrary: Incorrect Utilization Rate Calculation When Reserve is Empty ### Description The `ReserveLibrary::calculateUtilizationRate` function in the `ReserveLibrary` returns an incorrect utilization rate of **100%** (represented as `RAY`) when both `totalLiquidity` and `totalDebt` are zero. This flaw le...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `ReachDistributionv2` Is Effectively Ownerless ### Description **Update** It is more convenient to use the internal function `_transferOwnership()`. Since the contract now inherits from`Ownable2Step`, by calling the public function `transferOwnership()`, the owner would still be the factory until `msg.sender`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
true
false
## Medium: Post-proposal vote quorum/threshold checks use a stale total supply value ### Description The pessimistic vote casting [approach](https://github.com/sherlock-audit/2024-01-olympus-on-chain-governance/tree/main/bophades/audit/2024-01_governance#vote-casting) stores its cutoffs based on the total supply durin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
medium
access-control
true
true
## Medium: Validator and protocol fees can exceed 100 percent of rewards in `PolygonStrategy.sol` ### Description The `setValidatorMEVRewardsPercentage` function in `PolygonStrategy.sol` allows setting the validator MEV rewards percentage up to 100% (10,000 basis points), but does not account for the total protocol fe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Tokens with fee on transfer are not supported ### Description _Submitted by WatchPug_ There are ERC20 tokens that charge fee for every `transfer()` or `transferFrom()`, E.g `Vader` token. In the current implementation, `BasePoolV2.sol#mint()` assumes that the received amount is the same as the transfer am...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Undetermined confirmation time for transactions ### Description Electronic transactions of USD may be rolled back by a centralized agency at the request of the payer, at an arbitrary time after being executed (sometimes even months after). Compared to the average confirmation time in the order of minutes in...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Centralization risk in Admin.adminCall() function ### Description The `Admin` contract implements the function `adminCall()`: ``` function adminCall(address target, bytes calldata data) external payable onlyAdmin { assembly { calldatacopy(0, data.offset, data.length) let result := call(gas(), target,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 earnings calculation in `removeValueSingle()` function causes partial user losses ### Description Asset removal before invoking `trimBalance()` in `removeValueSingle()` function causes partial loss of user earnings, as the asset's `remove()` function uses outdated earnings per value variable to 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: Use the Same Solidity Version Across Contracts. ✓ Fixed ### Description Most contracts use the same Solidity version with `pragma solidity ^0.8.17`. The only exception is the `StakingRewardsV2` contract which has `pragma solidity ^0.8`. **contracts/lybra/miner/stakerewardV2pool.sol:L2** ``` pragma solidity...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unbounded array lengths could lead to out of gas errors ### Description In our prior audit, we raised the issue of the Notional system potentially running out of gas within functions that iterated over arrays crucial to the system. We specifically cited the [‘portfolios’ array of assets](https://github.com/not...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
logic
true
false
## Low: Bonding Curve Can only Be Set Once ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > The suggestion to enable changing the bonding curve is not feasible, as all logic in the contract related to the bonding curve assumes a pure mathematical 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
low
cross-chain
false
false
## Low: instruction_params Account Remains Open After Execution ### Description The `instruction_params` account used in the [`ExecuteRelayerRefundLeaf`](https://github.com/across-protocol/contracts/blob/401e24ccca1b3af919dd521e58acd445297b65b6/programs/svm-spoke/src/instructions/bundle.rs#L22) instruction remains 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...
solodit_api
medium
initialization
false
false
Source: https://github.com/sherlock-audit/2023-09-nounsbuilder-judging/issues/249 ## Found by 0x52, SilentDefendersOfDeFi, jerseyjoewalcott, nirohgo ## Summary MerkleReserveMinter allows large number of tokens to be minted instantaneously which is incompatible with the current governance structure which relies on t...
Sherlock
5
Nouns Builder
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Cross-chain Replay in borrowAsset() & swapToBorrow() ### Description **Description** Cross-chain Replay: If an User borrows assets on Chain A, they could reuse the same signature (generated from the same data) on Chain B, assuming the signature is valid for the same borrow hash structure on both chains. **R...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Deviation from specifications ### Description The [`StakingEscrow` contract](https://github.com/forta-protocol/forta-token/blob/92d7a7ddd6672a7530a4bfc532d0d697e7f12744/contracts/vesting/escrow/StakingEscrow.sol#L18) implements the functionality to allow users who have vested tokens in L1 to be able to interac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Initial Liquidity Provider can trick the system ### Description Since there is no cap on the amount which the initial depositor can deposit, an attacker can trick the system into bypassing admin fees for other users by selling liquidity at half admin fees. Consider the following scenario: 1. User A provides 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
access-control
true
false
## Low: Loan can be impaired when the protocol is paused ### Description The `impairLoan` function allows the `poolDelegate` or `governor` to impair a loan when the protocol is paused due to a missing `whenProtocolNotPaused` modifier. The role of this function is to mark the loan at risk of default by updating the loa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Calculating new rewards is susceptible to precision loss due to division before multiplication ### Description Rewards may be lost (0) due to division before multiplication precision issues. ### Impact Stakers may not receive rewards due to precision loss. ### Recommendation Consider calculating the new r...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: Unnecessary If condition in update() of Staking.sol ### Description ## Vulnerability Details In line 65 https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Staking.sol#L65, there already exists a condition if `_balance > balance` so that `_diff` is always > 0. However, there is a condition below checks 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
low
other
false
false
## Low: Solidity version ### Description The contracts can be compiled with versions of the compiler as low as `0.4.11`. We recommend changing the Solidity version pragma to a more recent version (for example, `pragma solidity ^0.4.17`) to enforce the use of an up to date compiler. ***Update:** Fixed in [this](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...
skyward_49k
low
reentrancy
true
false
## Low: Potential reentrancy in claimFees ### Description The contract performs all transfers in the `_settlement` function and therefore `_settlement` can call back to the user for reentrant tokens. To avoid reentrancy issues, the `_preLock()` modifier implements a reentrancy check, but only if the called action is n...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: Ineligible accounts can mint synthetic breakage units via post-checkpoint outflows and ### Description ## Self-Transfers **Severity:** Medium Risk **Context:** (No context files were provided by the reviewer) **Description:** If an eligible user transfers STRX tokens after the checkpoint ends, 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: Wrong location of _approve() ### Description The function `_mint()` performs an `_approve()`, which is unnecessary in this context as you are designed to receive the shares directly. Conversely, the `_requestRedeem()` function does not execute `_approve()`, but it is essential there since it needs to send 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
initialization
false
false
## High: Using single total native reserve variable for synth and non-synth reserves of `VaderPoolV2` can lead to losses for synth holders ### Description _Submitted by hyh, also found by certora_ Users that mint synths do provide native assets, increasing native reserve pool, but do not get any liquidity shares issu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Miscellaneous Treasury General Comments ### Description This section details miscellaneous findings discovered by the testing team that do not have direct security implications:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
false
false
## Medium: Malicious user can frontrunning buyMemecoin funtion minting less tokens for the user ### Description The `buyMemecoin` function can be frontrun by a malicious user, leaving only 1 wei of ETH to buy. The next user would be paying more gas fees to execute the finalization of the launch transaction than the va...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ETH deposited by the user may be stolen. ### Description Source: https://github.com/sherlock-audit/2023-06-tokemak-judging/issues/1 ## Found by 0x007, 0x3b, 0xComfyCat, 0xDjango, 0xJuda, 0xSurena, 0xbepresent, 0xdeadbeef, 0xmuxyz, 0xvj, Breeje, Flora, SaharDevep, TangYuanShen, VAD37, asui, berndartmueller,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
other
true
true
## Lines of code https://github.com/code-423n4/2022-12-gogopool/blob/aec9928d8bdce8a5a4efe45f54c39d4fc7313731/contracts/contract/RewardsPool.sol#L229 https://github.com/code-423n4/2022-12-gogopool/blob/aec9928d8bdce8a5a4efe45f54c39d4fc7313731/contracts/contract/RewardsPool.sol#L156 ## Vulnerability details ## Impac...
Code4rena
5
GoGoPool
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Non-normalized amounts sent via Wormhole lead to failure to redeem incentives ### Description Wormhole only supports sending tokens in 8 decimal precision. This is addressed in the code via the `getBridgingDecimals()` method, which is overridden in `WormholeDepositProcessorL1` to return 8. This is then pass...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Failed transfer may be overlooked due to lack of contract existence check ### Description Because the pool fails to check that a contract exists, the pool may assume that failed transactions involving destructed tokens are successful. `TransferHelper.safeTransfer` performs a transfer with a low-level call 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
gas
other
true
false
## Gas: Remove `msgValue < computeTotalReward(msgValue` check from TokenEmitterRewards.sol contract ### Description On Line 18, when passing msgValue as parameter to computeTotalReward(), we will always pass this check because computeTotalReward always returns 2.5% of the msgValue. Thus since msgValue can never be les...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A malicious guardian can steal funds  Won't Fix ### Description A guardian is signing every message that should be submitted as a payment channel update. A guardian’s two main things to verify are: `blockNumber` and the fact that the `sender` has enough funds. There are two main attack vectors for the mal...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 constant value ### Description **Description** totalTokensAmount can be set as constant. It will perform gas optimization and increase the code style. **Recommendation**: Set totalTokensAmount as constant.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users at `UNSTAKE_PERIOD` can assist other users in unstaking tokens. ### Description _Submitted by cccz, also found by JC and gzeon_ Consider the following scenario: Day 0: User A stakes 200 tokens and calls the cooldown function. At this time, user A's cooldown is Day 0. Day 15: User B stakes 100 tokens,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `performUpkeep` could revert ### Description When `performUpkeep` is called, it will withdraw a percentage of shares from the deposit vault and then deposit the withdrawn tokens into the deposit and target vaults accordingly. ```solidity function _rebalance(uint256 rebalancePct) private { require(rebal...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Undelegations from pool cannot be paused ### Description Accounts that are granted the `OPERATOR` or `DEFAULT_ADMIN_ROLE` role are entitled to pause multiple features of the SonicStaking contract. According to the documentation, this should include, among others, undelegation of assets. However, while the ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Confusing Usage of Staker Index ### Description The [`staker_deposit`](https://github.com/DigitalMOB2/refi-protocol/blob/dc842fd071f225c9d1ff9ad4677b986970125cf9/contracts/Controller.sol#L281), [`staker_pullUnderlying`](https://github.com/DigitalMOB2/refi-protocol/blob/dc842fd071f225c9d1ff9ad4677b986970125cf9/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Event Emission When Completing Queued Withdrawal As Shares ### Description The `StrategyManager.addShares()` function does not validate whether the token input parameter corresponds to the strategy’s underlying token. This can result in an incorrect event emission. When completing a queued withdrawa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
true
false
## Medium: ERC20.approve Used Instead of Safe Approvals, Causing Pool Failures with Some ERC20s ### Description The function [acceptFundsForAcceptBid](https://github.com/sherlock-audit/2024-11-teller-finance-update/blob/main/teller-protocol-v2-audit-2024/packages/contracts/contracts/LenderCommitmentForwarder/extension...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: OCC_Modular::applyCombine will round APR down ### Description `OCC_Modular::applyCombine` calculation of `APR` `APR = APR / notional` rounds in defavor of the protocol, and a user can game this feature to shave of a point of APR from one of his loans. ### Impact Loss of funds for the borrowers of the proto...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use of Boolean Literal as Conditional ### Description Boolean literals in code have limited legitimate uses. Other uses (in complex expressions, as conditionals) indicate either an error or, most likely, the persistence of faulty code. The boolean literal [`False`](https://github.com/DigitalMOB2/refi-protoco...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## High: Front-running fallback root update might lead to additional withdrawal ### Description A front-running attack might allow an attacker to withdraw a deposit one additional time if the system is not updated before the fallback withdrawal period is reached. The fallback withdrawal mechanism allows users to withd...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Reentrancy
true
true
When a fighting round ends, winners for the current round get picked and allocated respective rewards. These rewards are fighter NFTs that can be claimed by such winners. When you claim your rewards for a round or several rounds, the `numRoundsClaimed` state variable which stores the number of rounds you've claimed fo...
Code4rena
5
AI Arena
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use a two-step `governance` role transfer pattern ### Description The `VestFactory::setGovernance` uses a single-step access control transfer pattern. This means that if the current `governance` account calls `setGovernance` with an incorrect address, then this `governance` role will be lost forever along 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: RateChange event and variable not related but have same name ### Description In `MANACrowdsale` there is a [`RateChange`](https://github.com/decentraland/mana/blob/a13905356378cc0153dd3c2153c8ceae6400970d/contracts/MANACrowdsale.sol#L27) event and a state variable. Even though they have the same name, they rep...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Risk of overborrowing by only using Price * Rate Feed ### Description **Impact** NOTE: I'm under the impression that the config for Quill is the following: Meaning that all oracles use the ETH-USD feed instead of their Underlying * Rate Feed This is in general a good price to protect against redemptions...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Recommendation: Remove optional arguments and clean unused code ✓ Addressed ### Description Several locations in the codebase feature unused arguments, functions, return values, and more. There are two primary reasons to remove these artifacts from the codebase: 1. Mass exits are the primary safeguard agains...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 use of assembly ### Description * The [`getMerkleRoot` function](https://github.com/ben-chain/contracts-v2/blob/a935e276f5620b40802b52721e3474232e458f72/contracts/optimistic-ethereum/libraries/utils/Lib_MerkleTree.sol#L23) of the `Lib_MerkleTree` library uses assembly to pack elements before hashin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Methods should be declared as externa ### Description **Description** In order to get gas saving and make code more secure next functions should be set as external. addPackage(uint256,uint8) addLeaderAddress(address) addELFTAddress(address) addExchangeAddress(address) debitStaking(address,uint256) creditPayout...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ``>=`` costs less gas than ``>`` ### Description The compiler uses opcodes GT and ISZERO for solidity code that uses >, but only requires LT for >=, which saves 3 gas 4 results - 2 files: https://github.com/code-423n4/2023-01-timeswap/blob/main/packages/v2-library/src/Math.sol#L89 https://github.com/code-...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
token
false
true
Source: https://github.com/sherlock-audit/2023-02-openq-judging/issues/266 ## Found by TrungOre, XKET, chainNue, 0xbepresent, unforgiven, yixxas, jkoppel, libratus, Robert, HonorLt, 0x52, ctf\_sec, Ruhum, ltyu, CodeFoxInc, seyni, cccz, 8olidity, holyhansss ## Summary When closeCompetition is called for TieredPerce...
Sherlock
5
OpenQ
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `expirations` is set to 0 for non-unlocked tokens ### Description `expirations` of the deposited LP tokens would be set to 0 for unlocked HoneyLocker: This would create a potential footgun for users since they would be able to withdraw LPs using the `withdrawERC20()` function and pay fees for LP tokens when ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious user can create delegations that will spend unlimited amount of gas with `SpecificActionERC20TransferBatchEnforcer` caveat ### Description **Description:** The `SpecificActionERC20TransferBatchEnforcer` first execution has no limit on the calldata size. This allows a malicious user to create deleg...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: 13] Decimal precision oversight in cross-layer token transactions ### Description **Severity:** High **Path:** fuel-bridge/packages/solidity-contracts/contracts/messaging/gateway/FuelERC20Gateway/FuelERC20GatewayV4.sol, fuel-bridge/packages/fungible-token/bridge-fungible-token/src/main.sw **Description:** ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users are getting back their `soc-loss-funds` while selling their market seat ### Description **Description:** Inside `sell-market-seat` when [soc-loss-funds](https://github.com/deriverse/protocol-v1/blob/30b06d2da69e956c000120cdc15907b5f33088d7/src/program/processor/sell_market_seat.rs#L122) are negative, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
false
false
## Security Report ## Severity **High Risk** ## Context `SwapAdminFacet.sol#L109` ## Description Once a Stable Swap is assigned to a key (the hash of the canonical id and domain for token), it cannot be updated nor deleted. A Swap can be hacked or an improved version may be released which will warrant updating the S...
Spearbit
5
Connext
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Open Spread Loss Calculation Error ### Description The `maxLossOfOpenOptions` variable prevents new RFQ option strategies from opening if previously opened strategies exceed potential max losses. However, this check is calculated on the assumption that the `strikeDiff` cannot change. If `strikeDiff` decreases ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Buy request executed by providing `request.owner` ### Description When `buy` is executed, it first validates `isValidListing`, ensuring that `request.owner` has indeed signed the listing, and that listing.receiver has also signed the listing if the caller is not the `listing.receiver`. ```solidity 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
other
true
false
## Gas: Unoptimized Owner Lookup in approve Function ### Description In the `approve` function of the VotingEscrow contract, the owner of a token is looked up using the `_ownerOf(_tokenId)` function call multiple times. This is inefficient because the owner is already retrieved and stored in the `owner` variable at th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: [23] Order of functions ### Description The solidity [documentation](https://docs.soliditylang.org/en/v0.8.17/style-guide.html#order-of-functions) recommends the following order for functions: - constructor - receive function (if exists) - fallback function (if exists) - external - public - internal - private...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Bundler May Drop UserOps if the `owner` of LightAccount Violates ERC-4337's Validation Requirements in `isValidSignature()` ### Description **Update** The client added a comment to the Light Account documentation explaining the limitations of owners that are contracts in the context of user operation validatio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
true
false
## High: Oracle.removeMember could, in the same epoch, allow members to vote multiple times and other members to not vote at all ### Description The current implementation of `removeMember` is introducing an exploit that allows an oracle member to vote multiple times in the same epoch, while preventing another oracle ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Front-Running
true
true
Source: https://github.com/sherlock-audit/2022-09-notional-judging/issues/82 ## Found by xiaoming90 ## Summary Malicious users can deny Notional Treasury from receiving fees when rewards are reinvested. ## Vulnerability Detail The `claimRewardTokens` function will harvest the reward tokens from the Aura Pool, an...
Sherlock
5
Notional
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Fee On Transfer Tokens May Break Virtual Accounting When Withdrawing And Depositing ### Description **Severity**: Medium **Status**: Acknowledged **Description** In DeFi tokenized vaults allow users to deposit their tokens and earn yield on those tokens deposited. These instances of ERC7540 make use of ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: Application Fails with Generic Error Messages Making It Hard to Know What Went Wrong ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > The Open Dollar application’s back end is composed completely of Solidity smart contracts. Calling functions ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The OwnershipTransferred event should send the oldOwner ### Description The OwnershipTransferred event has two arparameterguments to indicate who was the current owner and who is the new owner, however parameter one does not describe the case, the parameter is declared as user when the variable should be relat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Object credentials retrieval ### Description ## Security Considerations for zkApps Using `mina_getState`, it is possible to retrieve all credentials without the user knowing which ones are going to be accessed by the zkApp. ## Proof of Concept If a zkApp executes the following code, it will request all 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
rounding
false
false
## Low: Double-Counted Submission At Cutoff ### Description If the first submission is triggered at `firstSubmissionTriggerCutoff`, then the rewards for the period ending at `firstSubmissionTriggerCutoff` can be double-counted. The first submission can be triggered at `firstSubmissionTriggerCutoff` due to the equality...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Create 2 Hash Collision ### Description **Impact** Because of the fact that the system uses deterministic addresses, given the fact that keccak (a 32 bytes function) is truncated down to a uint160 (20 bytes), the likelihood that a clash is found is around 2^80 This makes brute-force mining a clash plausible,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Overpayment vulnerability in `registerL1` ### Description **Description:** The `registerL1` function in the `L1Registry` contract does not handle excess Ether sent by users. If the `registerFee` is set to a nonzero value and a user sends more Ether than required, the contract keeps the entire amount instead of...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: MISSING NATSPEC DOCUMENTATION ### Description Solidity contracts can use a special form of comments to provide rich documentation for functions, return variables, and more. This special form is named the Ethereum Natural Language Specification Format (NatSpec). ### Recommendation **PENDING**: Natspec document...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
cross-chain
true
false
Source: https://github.com/sherlock-audit/2023-01-optimism-judging/issues/235 ## Found by unforgiven ## Summary Function `MigrateWithdrawal()` in migrate.go will turn a LegacyWithdrawal into a bedrock style Withdrawal. it should set a min gas limit value for the withdrawals. to calculate a gas limit contract overes...
Sherlock
5
Optimism
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Since attribute expiration is deprecated, remove as input parameters, don't write it to storage and put comment explaining this ### Description **Description:** `RegistryService::setAttribute` sets a given `_expiry` field for each attribute at which point the attribute should expire. However this is never che...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Liquidations Use Inaccurate rate Values ### Description The [`liquidate` function](https://github.com/Ion-Protocol/ion-protocol/blob/98e282514ac5827196b49f688938e1e44709505a/src/Liquidation.sol#L162) of the `Liquidation` contract does not accrue interest prior to liquidating a vault. Instead, interest is ac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `CDPVault.liquidatePosition()` does not scale `takeCollateral` with `tokenScale`; therefore, it might send the wrong amount of collateral to the liquidator when `tokenScale ! = 1 ether` ### Description First of all, in `CDPVault`, the amount of `collateral` maintained in each position is scaled using `token...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Wrong Math
false
true
_Submitted by p4st13r4, also found by cmichel, GreyArt, hyh, jayjonah8, leastwood, pauliax, shenwilly, and WatchPug_ Any user that owns a vToken of a particular vault can lock the functionalities of `NFTXMarketplaceZap.sol` and `NFTXStakingZap.sol` for everyone. Every operation performed by the marketplace, that deal...
Code4rena
3
NFTX
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Storage Overwrite in `recv_external()` Corrupts Plugin State ### Description **Update** The team addressed the issues in the following commits: `6afdbdeb7722fc01f8ecb3b9a33fe6e75a0ec69e`, `ef79ab0f1a1754149d4bc6f836b8bf50f81abea8`, `925319a5547311890384aead846d1fb5f8e331bd`, `c1f4f87a8699d69fbfb007b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: [03] Missing UUID uniqueness validation in campaign deployment ### Description The NudgeCampaignFactory does not validate the uniqueness of campaign UUIDs during deployment, potentially allowing multiple campaigns with the same identifier. ### Vulnerability Details When deploying campaigns through `deployCam...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Missing validation of the TOKEN_SALE constant ### Description In the [`TokenSale`](https://github.com/OpenSTFoundation/SimpleTokenSale/blob/1a1e863441ba0149d7585203f5dbc6e800af00cf/contracts/TokenSale.sol#L128) contract, there is validation for most of the configuration constants which is a very good practice....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [12] Useless `max` pick ### Description In [bootloader, line 1456](https://github.com/code-423n4/2023-10-zksync/blob/1fb4649b612fac7b4ee613df6f6b7d921ddd6b0d/code/system-contracts/bootloader/bootloader.yul#L1456), it is being picked the maximum between the refund provided by the operator and the one calculated...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `LenderPool`: Principal withdrawable is incorrectly calculated if start() is invoked with non-zero start fee ### Description _Submitted by hickuphh3_ [LenderPool.sol#L594-L599](https://github.com/sublime-finance/sublime-v1/blob/46536a6d25df4264c1b217bd3232af30355dcb95/contracts/PooledCreditLine/LenderPool.so...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Permanent `Fees` Loss if The Owner Forget to Executed `setFeeAddress()` Function ### Description The `FEE_ADDRESS` address in `PANTHEON.sol` contract is used to store `4%` tax fees when the user calls `mint()` or `redeem()` functions. This `4%` fee is distributed as follows: - `3%` will be used to incentiv...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Event Emitting Due to the Lack of Duplicate Address Checks ### Description **Update** Marked as "Fixed" by the client. Addressed in: `6704de9f726d22100eadfaa85f75011318cd5e44`, `e379a966302482254b65664dfe552d0366b0ff69`. The client provided the following explanation: > By preventing (non-zero) 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
medium
other
false
false
## Medium: Bio Protocol - `tokenURI` JSON injection ### Description The Bio Protocol allows users to mint Bio NFTs that represent user's bio. Once NFT is minted anyone can trigger `tokenURI` to retrieve JSON data with the bio and generated svg image. Example JSON content (decoded from Base64): {"name": "Bio #1", "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
false
false
## Low: Constants should be used in place of magic numbers ### Description **Description:** There are a number of instances in both `MembershipFactory` [[1](https://github.com/OneWpOrg/audit-2024-10-oneworld/blob/416630e46ea6f0e9bd9bdd0aea6a48119d0b515a/contracts/dao/MembershipFactory.sol#L60), [2](https://github.com/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect or missing NatSpec comments ### Description The following issues were identified in the NatSpec documentation: **OracleUtils.SetPricesParams** struct**:** * The `compactedOracleBlockNumbers` parameter is outdated and no longer exists. * The `realtimeFeedTokens` and `realtimeFeedData` parameters...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Low: Token approvals enabled during contract pause ### Description The `SwapBridge` contract inherits from OpenZeppelins's `Pausable` contract and allows for control of function execution via the `whenNotPaused` modifier. However, the `approveMax()` function is not protected by this modifier. Consequently, token ap...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The doCall forwarding the callvalue is counterintuitive ### Description The ALMProxy is a contract that stores assets and allows arbitrary, permissioned calls to it. It has implemented a few functions to facilitate this: - **doCall(address target, bytes memory data)**: Performs a `.call` to a target with `msg...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Uninitialized `last_block_number` Variable ### Description The `last_block_number` variable is declared but not initialized in the constructor, defaulting to `0`. This could lead to undefined behaviour if accessed before being set.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Lack of Minimum Amount Check in `SmartVaultV3::mint`, `SmartVaultV3::burn`, and `SmartVaultV3::swap` Can Result in Loss of Fees ### Description The absence of a minimum requirement check for `_amount` in `SmartVaultV3::mint`, `SmartVaultV3::burn`, and `SmartVaultV3::swap` allows a user to send a very small amo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
token
true
false
## High: Incorrect Fee Scaling in `spot_lp` ### Description The fee calculation in the `spot_lp` instruction uses an incorrect decimal factor when converting `last_px` to a human-readable price when trying to determine how much money is needed to purchase the minimum quantity of an asset. The code divides `last_px` by...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potentially depositing at unfavorable rate since anyone can deposit the entire lenderPool to a known strategy at a pre-fixed time ### Description _Submitted by kyliek_ [LenderPool.sol#L312](https://github.com/sublime-finance/sublime-v1/blob/46536a6d25df4264c1b217bd3232af30355dcb95/contracts/PooledCreditLin...
0