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
rounding
false
false
## Medium: _getReserveRatioScalar() will give a lesser value than expected ### Description [numberOfExpansions = (block.timestamp - config.lastExpansion) / config.expansionFrequency](https://github.com/sherlock-audit/2024-10-mento-update/blob/main/mento-core/contracts/goodDollar/GoodDollarExpansionController.sol#L232)...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Only vetted tokens should be listed ### Description **Severity**: Informational **Status**: Acknowledged **Description** It is important to note that if a malicious or poorly-designed token is added to Paribus, it could allow someone to steal all funds entrusted to Paribus. **Recommendation**: Consider m...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: REWARDS BONDING FUNCTIONALITY IS UNAVAILABLE ### Description Executing the `ExecuteMsg::BondRewards` message in **krp-staking-contracts/basset\_sei\_hub** contract is restricted for only the **krp-staking-contracts/basset\_sei\_rewards\_dispatcher** contract. However, there is no function in that contract tha...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Known vulnerabilities for multiple dependencies ### Description The codebase uses dependencies for which vulnerabilities are known. For example, the `sqlx` with version `0.6.3` is vulnerable and depends on `rustls` with version `0.20.9`, which is also vulnerable. ### Recommendation Consider upgrading the vers...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
cross-chain
true
false
## High: `RootBridgeAgent->CheckParamsLib#checkParams` does not check that `_dParams.token` is underlying of `_dParams.hToken` ### Description A malicious user would make a deposit specifying a `hToken` of a high value (say hEther), and a `depositToken` of relatively lower value (say USDC). For that user, `RootBridgeA...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of access to ETH on L2 through ``L1->L2`` transactions ### Description ETH on L2 stored on EOAs is inaccessible through ``L1->L2`` transactions, as for such transactions `msg.value` is generated only "from L1 ETH", not from the active balance of the `tx.origin` on L2. This is because of [the logic 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
low
other
false
false
## Low: User Coming Later Gets Less Reward from `ActivityRewardDistributor` ### Description **Update** We discussed this with the team during the audit, and the team has acknowledged and decided to keep it as it is. The team states that the liquidity index increases rather slowly, and the liquidity mining program will...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
reentrancy
true
false
## High: The `collect()` function will always TRANSFER ZERO fees, losing _feesPositions without receiving fees! ### Description Detailed description of the impact of this finding. The `collect()` function will always transfer ZERO fees. At the same time, non-zero `_feesPosition` will be burned. _feesPositions[id][m...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: No minimum borrow size check against secondary debts ### Description Secondary debts were not checked against the minimum borrow size during exit, which could lead to accounts with insufficient debt becoming insolvent and the protocol incurring bad debts. ### Impact Vault accounts with debt below the minim...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Miscalculation of cancel amount when canceling a vesting plan ### Description Upon cancellation of a vesting plan, the claimed asset containing the claimable amount is returned, along with the cancel amount designed to cover the remaining vesting period. This cancel amount is derived by subtracting the claimed...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: `mintToken()`, `mintWithBudget()`, and `forge()` in the `TraitForgeNft` contract will fail due to a wrong modifier used in `EntropyGenerator.initializeAlphaIndices()` ### Description The `EntropyGenerator` contract has an issue where the `initializeAlphaIndices()` function uses the wrong modifier. This functi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: tbtc - No access control in TBTCSystem.requestNewKeep ✓ Addressed ### Description `TBTCSystem.requestNewKeep` is used by each new `Deposit` contract on creation. It calls `BondedECDSAKeepFactory.openKeep`, which sets the `Deposit` contract as the “owner,” a permissioned role within the created keep. `openKeep...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: zAuction - hardcoded ropsten token address ✓ Fixed ### Description The auction contract hardcodes the [WETH ERC20](https://ropsten.etherscan.io/address/0xc778417e063141139fce010982780140aa0cd5ab) token address. this address will not be functional when deploying to mainnet. ### Recommendation Addressed with [z...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
false
false
## High: Excess reserve amount ### Description At lines https://github.com/CreamFi/compound-protocol/blob/e414160eb8a774140457c885bb099baae528df04/contracts/CCapableErc20.sol#L250-L252 contract increases `internalCash` and `totalReserves` values, but it's so strange that `internalCash` increased by `totalFee` and `tot...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Possibly miscalculated late penalty ### Description In the [`computeRegularFee` function](https://github.com/UMAprotocol/protocol/blob/9d403ddb5f2f07194daefe7da51e0e0a6306f2c4/core/contracts/oracle/implementation/Store.sol#L85) of the `Store` contract, the late penalty fee is calculated using the duration of 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
access-control
false
false
## Medium: Incomplete Validation ### Description In the `NFTVesting.sol` contract the following validation checks are missing: - In `constructor()` if `_startTime` is set in the past the `getTimePassed()` function will revert on every call and there `claim()` will be unusable. The same applies for `_vestingPeriod` 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
other
true
false
## Low: [02] Repetitive clear `queuedWithdrawal` in `executeDeposit` ### Description The [`HypoVault::executeDeposit`](https://github.com/code-423n4/2025-06-panoptic/blob/72836c0d5fc8a46052a5dce27cd09c299b7f6edb/src/HypoVault.sol# L310) clears the `queuedDeposit` twice: ### Recommended mitigation steps It is recomm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Low: Workaround manuallyUpdateNonceTracker() might not work ### Description The loop in function `getNextNonce()` could run out of gas, although relatively unlikely. A workaround exists via `manuallyUpdateNonceTracker()`. However, it is important that the caller is able to call this function. If the caller would 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
initialization
false
false
## High: Check order of timestamps in Token distribution constructor ### Description The TokenDistribution contract relies on [three timestamps](https://github.com/unikoingold/UnikoinGold-UKG-Contract/blob/8b38f30039c2d13383c416fd6143f6bd0f091404/contracts/TokenDistribution.sol#L58-L60): * `freezeTimestamp`, which i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
true
false
## High: VAULTS ARE VULNERABLE TO A DONATION ATTACK ### Description The ratio computation mechanism within the vault is susceptible to manipulation through a "donation attack." This attack vector is realized when a significant amount of tokens, equal to or exceeding `1e18`, is donated to the vault before any other tra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Event Emission at `disableSessionKey()` in `CredibleAccountModule` ### Description Both `SESSION_KEY_DISABLER` and the owner of the `sessionKey` can disable the `sessionKey`. They can call `disableSessionKey()`, and the key will be disabled if it is claimed or has reached the disabling period. After...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Dynamic section metadata is retrieved incorrectly ### Description ## Section Lookup in Elf64::parse_sections In `Elf64::parse_sections`, section lookup is performed by matching special section names, e.g., `.dynsym`, `.symtab`, `.strtab`. These sections should be retrieved via the metadata in the dynamic tabl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Ability to change the value of a private variable from another contract ### Description The private variable `reserve` has a lot to do with the logic behind this smart contract. The value of this variable is changed in this contract. If you change the value of this variable from another contract, then the b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Approximate swap fee used for exact_out instead of exact calculation ### Description _Resolved_ The `LatentSwapLex::swap()` is used for facilitating swaps, with the ability to toggle `IsExactIn` for determining if the kind of swap is exact-in or exact-out. This function at the very end charges swap fees: For...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
storage
true
false
## High: Funds could stuck in `lidoAdapter` if the user requests withdrawal before `adminSettleDebt()` execution and finalized after ### Description **Severity** **Impact:** High, users could lose their deposits **Likelihood:** Medium, scenario requires admin settle debt execution and specific order of transactions ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
token
true
true
## Medium: Setting a peer `NttManager` contract for the same chain can cause loss of user funds ### Description The current implementation of `NttManager::setPeer` allows the owner to set the NTT Manager as a peer for the same chain ID as the current chain. If the NTT Manager owner accidentally (or otherwise) sets 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
other
false
false
## Low: Unexpected protocol behavior because of some tokens have implementations only on part of the target chains ### Description USDT, USDC and LINK tokens have no implementations on some of the target deployment chains. So there is no guarantee of correct integration when the implementations will appear. ### Impac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Duplicated code ### Description There are instances of duplicated code within the codebase. Duplicating code can lead to issues later in the development lifecycle and leaves the project more prone to the introduction of errors. Errors can inadvertently be introduced when functionality changes are not replicate...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The `minDonationBps` variable needs an upper bound ### Description Neither in `initialize` nor in `setMinDonationBps` is the `minDonationBps` value checked that it is not `> BASIS_POINTS`, which allows the owner (either maliciously or by mistake) to make it so that
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Remove Unnecessary Headers ### Description ## Access-Control-Request-Method Overview Access-Control-Request-Method is a request header utilized in preflight requests, so the server is not required to return it. The `Access-Control-Allow-Method: *` header allows attackers to insert custom headers that might ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Funds Can Get Stuck Due to Incorrect Initialization ### Description The `BaseERC20` contract implements the functionality to [set the available features](https://github.com/DigitalMOB2/refi-protocol/blob/dc842fd071f225c9d1ff9ad4677b986970125cf9/contracts/tokens/BaseERC20.sol#L48-L112) in the Protocol 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...
skyward_49k
low
other
false
false
## Low: NatSpecs are incomplete ### Description @param and @return fields are missing throughout the codebase. NatSpec documentation is essential for better understanding of the code by developers and auditors and is strongly recommended. Please refer to the [NatSpec format](https://docs.soliditylang.org/en/v0.8.17/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
access-control
true
false
## Low: Missing Validation for `ethLaunchFee` in `setParameters()` Function ### Description The `setParameters()` function in the `LaunchFactory` contract allows the owner to update important parameters like the protocol fee proportion (`_protocolFeeProportionD18`) and the ETH launch fee (`ethLaunchFee`). ```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
liquidation
false
false
## Low: Collateral may not be revokable because of rounding ### Description `LibSetters.revokeCollateral` performs the following check: However, because of the rounding within `_swap`, it can happen that `normalizedStables` is a very small value (e.g., 1 wei) and it is not possible to decrease it further.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: addPremium – A back runner may cause an insurance holder to lose their refunds by calling addPremium right after the original call ✓ Fixed ### Description `addPremium` is a public function that can be called by anyone and that distributes the weekly premium payments to the pool manager and the rest of the poo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Creator of one vesting plan can affect vesting plans created by other users. ### Description Vesting plans are created by token issuers in the `VestingDeployer` contract. When a vesting plan is created, a new StepVesting contract is deployed. [SecondSwap\_VestingDeployer.sol# L119-L129](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
other
false
false
## Low: Use of Hard-Coded Values ### Description * The [`swapToWeth` function](https://github.com/radiant-capital/v2-core/blob/e8f21f103e17736907b62809d1ad902febc53714/contracts/radiant/zap/helpers/BalancerPoolHelper.sol#L379-L409) in the `BalancerPoolHelper` contract contains [multiple hard-coded addresses and pool i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unused function. ### Description **Description** SqwidERC1155.sol: function _asSingleftonArray(). Private function _asSingleftonArray() is defined, however it is not used across the code. **Recommendation**: Remove unused 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
high
other
false
false
## High: accuracy. After division, loss of accuracy is possible. ### Description **Recommendation**: Since there are no fractional numbers in solidity, one method is used. We can take any number as one hundred percent. For example, let's say we have 100% = 10 ^ 27, then 1% = 10 ^ 25. **Example**: With this method, 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
reentrancy
false
false
## Low: ReentrancyGuard Contract Not Using NonReentrant Modifier ### Description The `EthwBTC` contract inherits from `ReentrancyGuardUpgradeable` to protect against reentrancy attacks. However, it does not use the `nonReentrant` modifier in any of its functions. This oversight can leave the contract vulnerable to ree...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Upgrade pragma to at least 0.8.4 ### Description Using newer compiler versions and the optimizer give gas optimizations. Also, additional safety checks are available for free. The advantages here are: * **Low level inliner** (>= 0.8.2): Cheaper runtime gas (especially relevant when the contract has small fu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 single step ownership transfer ### Description **Severity**: Low **Status**: Resolved **Description** The `IDOPoolAbstract` contract in the protocol use the `OwnableUpgradeable` contract which allows changing the owner address. However, this contract does not implement a 2-step-process for transferr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Aura's `withdraw()` and `redeem()` functions do not send any reward tokens ### Description When the controller sees a call to Aura's `withdraw()` or `redeem()` function, it sets `tokensIn` to an array of the `asset` along with all reward tokens: However, if we examing the code, we will see that no rewards are...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: block.timestamp is entirely determined by the sequencer ### Description The `block.timestamp` value is used throughout the codebase for validating critical operations that depend on the time. However, in Starknet, there are currently no restrictions on the return values of the `get_block_timestamp()` 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
high
other
true
false
## High: UPDATING THE 0 INDEX TOKEN WEIGHT VIA UNREGISTERED TOKENS ### Description The `updateWeight` function is updating the pool weight via the `_getIndex` index, which as stated before it is incorrectly implemented. This allows the first token weight on the pool to be updated if an unregistered or invalid token is...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
false
false
## High: Inadequate Access Control Inside HealthRegions ### Description ## HealthRegion Vulnerability Overview HealthRegion allows multiple instructions to be executed without performing health checks, thereby reducing gas costs, as long as the account remains in a healthy position at the end. However, this feature a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: allowedContracts is publicly viewable while it should not ### Description **Severity**: Low **Status**: Resolved **Description** phenomanelTree.sol - allowedContracts array is publicly available to be viewed, while in the same time returnAllowedContract which shows an element of the aforementioned array is ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
high
Gas Price
true
true
[HolographOperator.sol#L354](https://github.com/code-423n4/2022-10-holograph/blob/f8c2eae866280a1acfdc8a8352401ed031be1373/contracts/HolographOperator.sol#L354)<br> ```solidity require(gasPrice >= tx.gasprice, "HOLOGRAPH: gas spike detected"); ``` ```solidity /** * @dev select operator that failed t...
Code4rena
4
Holograph
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: Use custom errors rather than `revert()`/`require()` strings to save gas ### Description Custom errors are available from solidity version 0.8.4. Custom errors save [**~50 gas**](https://gist.github.com/IllIllI000/ad1bd0d29a0101b25e57c293b4b0c746) each time they're hit by [avoiding having to allocate and store...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Lack of Public Key Validation ### Description **Update** Marked as "Fixed" by the client. Addressed in: `df50deff8a59c3170c45a487e1e62cb90ced727a`. **File(s) affected:**`set_boss.rs` **Description:** The `instructions::set_boss::set_boss()` function does not validate the `new_boss` public key value before se...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
reentrancy
false
false
## High: A whale user is able to cause freeze of funds of other users by bypassing withdraw limit ### Description In Collateral.sol, users may withdraw underlying tokens using withdraw. Importantly, the withdrawal must be approved by withdrawHook if set: function withdraw(uint256 _amount) external override nonReent...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: First added reserve asset cannot be added again with the other reserve type ### Description Reserves list has been updated to contain an address and a reserve type (rehypothetication enabled/disabled). However, in the condition checking if a reserve has been added (in the first token special case), only the 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
other
false
false
## Low: Using "magic" numbers ### Description At line https://github.com/orbxball/yfi-maker/blob/63af6fcfa536073f00d652f49befd18e429b5500/contracts/Strategy.sol#L61-L62 use some of unknown variables impairs its understanding. ### Recommendation It is recommended that you create variables with meaningful names for u...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Anyone can move `EURS` tokens that the user allowed `FlorinTreasury` to spend ### Description **Impact:** High, as funds will be moved from a user's wallet unwillingly **Likelihood:** High, as it requires no preconditions and is a common attack vector **Description** The `depositEUR` method in `FlorinTreas...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `loan.hash()` does not contain `protocolFee` ### Description The current `IMultiSourceLoan.loop.hash()` does not contain `protocolFee`: Then, you can specify `protocolFee` arbitrarily in many methods, but the `_baseLoanChecks()` security check doesn't `revert`. Example: `repayLoan(loadn.protocolFee=0)` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Huge functions make code less readable ### Description **Description** There are a lot of functions with more than 200 lines. It’s extremely difficult to understand the whole execution flow. Especially taking into account lack of comments. **Recommendation**: Refactor code, use composition of smaller functi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: When users transfer GiantLP, some rewards may be lost ### Description GiantMevAndFeesPool.beforeTokenTransfer will try to distribute the user's current rewards to the user when transferring GaintLP, but since beforeTokenTransfer will not call StakingFundsVault.claimRewards to claim the latest rewards, thus ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Redundant checks for contract code length ### Description There is a check for contracts following the ERC20 interface: https://github.com/MetaLex-Tech/LeXscrow/blob/94ca277528bb25b8421dc127941c18915144eb29/src/DoubleTokenLexscrow.sol#L267. It has redundant checks for contract code lengths: if there is `true`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Module's gas yield can never be claimed and all yield will be lost ### Description Module's gas yield can never be claimed ### Impact Gas yields will never acrue and the yield will forever be lost ### Recommendation change the following in BlastGas contract, this will set the gas yield of the modules to cla...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
true
false
## High: Clones with malicious extradata are also considered valid clones ### Description Spearbit discovered that the functions verifying if a contract is a pair do so by only checking the first 54 bytes (i.e., the Proxy code). An attacker could deploy a contract that starts with the first 54 bytes of proxy code but ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: An Attacker Can Make Victim's Deposit Be Locked Forever ### Description **Severity**: Critical **Status**: Resolved **Description** Inside the deposit() function in Water.sol let's consider the following scenario -> 1.) Victim deposits x amount of assets into the Water contract, expecting good returns. H...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Forged Event Emission ### Description Users have two options to cancel their orders: * Via the [`cancelOrder`](https://github.com/1inch/limit-order-protocol/blob/aab3364577fd22d5baf5bc07cb9f8feb1511de55/contracts/OrderMixin.sol#L98-L105) function, which uses both the `BitInvalidator` and the `RemaningInva...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Token allowances can be modified while the contract is paused ### Description The method [`TetherToken#approve`](https://github.com/tetherto/ether-contracts/blob/9718de4da7b571c1acf822bfde1f5300d1acc381/contracts/TetherToken.sol#L63) is missing a `whenNotPaused` modifier. This allows any user to change allowan...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 _amountsCumulative == 0 checks ### Description The InfraredDistributor contract contains unnecessary checks for `_amountsCumulative == 0` in the `remove`, `purge`, and `claim` functions. These checks are redundant because the `validator == address(0)` check, which is performed earlier, already ensu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rewards can be stolen ### Description _Submitted by cmichel_ The `NFTXInventoryStaking` contract distributes new rewards to all previous stakers when the owner calls the `receiveRewards` function. This allows an attacker to frontrun this `receiveRewards` transaction when they see it in the mem pool with 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
gas
initialization
true
false
## Gas: Using XOR (`^`) and OR (`|`) bitwise equivalents ### Description *Estimated savings: 73 gas* *Max savings according to `yarn profile`: 282 gas* On Remix, given only `uint256` types, the following are logical equivalents, but don't cost the same amount of gas: - `(a != b || c != d || e != f)` costs 571 - `((a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
false
false
## Medium: Tokens can get stuck in `NFTXMintRequestEligibility` ### Description When dealing with ERC721 (instead of 1155) the amounts array is ignored, which leads to an issue. User can call `NFTXMintRequestEligibility.requestMint` for an ERC721 with `amounts[i] = 0`. The `ERC721.transferFrom` is still executed but ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: State update in `executeManualHoldingFeesRealizationCallback` may cause fee errors ### Description The `executeManualHoldingFeesRealizationCallback` function calls `resetTradeBorrowingFees` to reset a trade's borrowing fee: The `resetTradeBorrowingFees` function calculates current accumulated fees using `get...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
integer-overflow
true
true
## Low: `SettlementBranch::_fillOrder` reverts if absolute value of PNL is smaller than sum of order and settlement fees ### Description `SettlementBranch::_fillOrder` calculates the position's PNL as `pnl = unrealizedPnl + accruedFunding + unary(orderFee + settlementFee)`: ```solidity File: SettlementBranch.sol 141:...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `QuantAMMBaseAdministration::onlyExecutor` modifier does not enforce a time lock on actions ### Description **Description:** In `QuantAMMBaseAdministration`, certain functions are restricted using the [`onlyExecutor`](https://github.com/QuantAMMProtocol/QuantAMM-V1/blob/7213401491f6a8fd1fcc1cf4763b15b5da355...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Max allowance instead of required. ### Description **Description** BaseDexManager.sol, line 135 EthDexManager.sol, line 125 The contract provides the approval for the max amount instead of the required one. It is not safe from the funds flow point of view and creates a possibility to exploit the reentrancy 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
other
true
false
## Medium: Expired tranche cannot be extended due to lack of token allowance ### Description The StNXM contract contains a functional issue in the `extendDeposit()` flow where deposit extension fails for expired tranches due to missing NXM token allowance. ### Impact Deposit extension operations for expired tranches ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: MAX_NUM_REWARD_TOKENS value is inconsistent with documentation ### Description The `MAX_NUM_REWARD_TOKENS` constant is set to 10 in the InfraredVault contract, which contradicts the Berachain documentation that states there is a limit of 3 incentive assets per gauge (Documentation). This discrepancy can lead 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
flash-loan
true
false
## Medium: Malicious borrower can decrease Guild holders reward ### Description ### Lines of code ### Impact A malicious borrower can reduce all Guild holders’ rewards with a big flashloan, upon full repayment. A borrower opens a loan with the minimum borrowable amount in term with no mandatory partial repayment. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `Timelock` `isSelfAddressCheck` can be removed ### Description https://github.com/solidity-labs-io/kleidi/blob/1a06ac16bc99d0b4081281329d03064c3737f5e4/src/Timelock.sol#L1166-L1177 The hash is known at time of setup, so there's no advantage in having this 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...
skyward_49k
low
liquidation
true
false
## Low: One-to-one minting and redeeming operations have di�ferent collateral ratio requirements ### Description `mint1t1FRAX` checks that the global collateral ratio is greater than or equal to the maximum global collateral ratio: ```solidity require(FRAX.global_collateral_ratio() >= COLLATERAL_RATIO_MAX, "Collatera...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Denial-Of-Service
true
true
Source: https://github.com/sherlock-audit/2024-02-radicalxchange-judging/issues/31 ## Found by Al-Qa-qa, sammy ## Summary The Honorarium Rate is the required percentage of a winning Auction Pitch bid that the Steward makes to the Creator Circle at the beginning of each Stewardship Cycle. `$$ Winning Bid * Honorari...
Sherlock
5
RadicalxChange
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Edge-case USG prices will force reverts for functions relying on IRCalculator ### Description The integer division in computing `quotientFixedPoint` inside `_computeIR()` will cause it to become zero for edge-case USG prices as `_pow` will call `log_2(0)` and revert. ### Impact - The protocol cannot comput...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Markets can start in the past ### Description ## Handle cmichel ## Vulnerability details The `RCFactory._checkTimestamps` function only checks that the start timestamp (`_timestamps[0]`) is not in the past if `advancedWarning != 0`. ## Impact Markets can be created that already started in the past. I'm no...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Ownership / Roles Can Be Rennounced ### Description **Update** Acknowledged by the Sequence team: > _The ability to relinquish control is an intentional feature. Single step ownership transfer misuse is an acceptable risk._ **Description:** If the owner renounces their ownership, all ownable contracts will b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
front-running
false
false
## High: Front-Run Deposits To Steal Pool Tokens ### Description ## Deposit Fees and Remediation There is no delay mechanism on updating deposit fees and an upper bound of 100%. A user that submits a large deposit could be front-run by a pool manager who sets the fee close to 100% (ensuring that user still receives 1...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [21] Duplicated `require()`/`revert()` checks should be refactored to a modifier or function ### Description Saves deployment costs
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Don't update state
true
true
## Lines of code https://github.com/code-423n4/2022-11-stakehouse/blob/4b6828e9c807f2f7c569e6d721ca1289f7cf7112/contracts/liquid-staking/GiantMevAndFeesPool.sol#L195-L204 https://github.com/code-423n4/2022-11-stakehouse/blob/4b6828e9c807f2f7c569e6d721ca1289f7cf7112/contracts/liquid-staking/GiantPoolBase.sol#L33-L48 ...
Code4rena
5
Stakehouse Protocol
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Unused function parameter ### Description At line https://github.com/vibexyz/vibe-contract/blob/d08057edbaf83b00d94dcaca2a05e3c44a45e4d9/contracts/RoyaltyReceiver.sol#L64 the `distribute` function is declared. It has an `amount` as an input parameter, but its value is never used. ### Recommendation We 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
other
false
false
## Medium: A missed requirement ### Description Although there is a check in the `takeClaimingSnapshot` function (https://github.com/FantiumAG/smart-contracts/blob/b4acd978e25289becc640f75eb5921e760b83720/contracts/claiming/FantiumClaimingV1.sol#L686), it is more crucial to include it in the `updateDistributionEventCo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Selfdestruct may be removed as an opcode in future ### Description #### Resolution The 1inch team acknowledged and noted. The `AggregationRouterV5` contract implements a function called `destroy` that calls a `selfdestuct` on the contract with the `msg.sender` as the argument, that is checked by the `onlyO...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [16] Declaring a `return named variable` and returning a manual value for the same function ### Description Consider refactoring the function `MetaContext._msgSender` to use `sender` on [L25](https://github.com/code-423n4/2022-12-tigris/blob/main/contracts/utils/MetaContext.sol#L25). E.g. `sender = super._msgS...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 loops ### Description Functions [`addTokenGrant`](https://github.com/kikinteractive/kin-token/blob/3ed3a383b9304274ec22f41769716cadb854727f/contracts/KinTokenSale.sol#L148) and [`deleteTokenGrant`](https://github.com/kikinteractive/kin-token/blob/3ed3a383b9304274ec22f41769716cadb854727f/contracts/Kin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
false
false
## Low: Potential Integer Overflow in `wmul` Function Due to Solidity 0.7.6 ### Description The `wmul` function used in the contract for multiplying two values and then dividing by a predefined constant (`WAD`) is susceptible to integer overflow. This is primarily because the contract is compiled with Solidity version...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
false
false
## Low: Missing deployment script for `HubEvmSpokeAggregateProposer` ### Description Deployment script in `DEployHubContractsBaseImpls.s.sol` does not include code for deploying `HubEvmSpokeAggregateProposer`. ### Recommendation Consider updating the script to deploy `HubEvmSpokeAggregateProposer` with documented ini...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `CONTROLLER.total_debt()` may not be up to date ### Description - https://github.com/defidotmoney/dfm-core/blob/e22732083f79a5fb13bdb69132622017ebe79a59/contracts/AggMonetaryPolicy2.vy#L171 The `MainController._update_rate()` calls the monetary policy rate calculation method which may use a not updated `to...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
integer-overflow
false
false
## Low: Unsafe downcast from uint256 to uint56 can silently overflow resulting in incorrect voting power for validators ### Description `GovValidatorsCreate::createInternalProposal()` [L38](https://github.com/dexe-network/DeXe-Protocol/tree/f2fe12eeac0c4c63ac39670912640dc91d94bda5/contracts/libs/gov/gov-validators/Gov...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unchecked calculations can be dangerous in some places ### Description There are several places where it is better to not use unchecked calculations: https://github.com/cryptoalgebra/Algebra/blob/7290fad656bfa89db3743c52af631154f6a8a2d5/src/tokenomics/contracts/farmings/AlgebraEternalFarming.sol#L327-L332 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
other
true
false
## Low: Redundant requirement ### Description The first requirement is redundant because the second one is enough. **Client:** We want to give an informative error message for the case where a non-reviewer tries to vote. So: prefer to keep it. **Cyfrin:** Acknowledged.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
true
false
## Low: Variable side depositors may deposit less than intended ### Description _Resolved_ In `UniV3Vault`, deposits of variable side caps the amount to be deposited to the remaining capacity of the variable side. As a result, users may deposit less than they were interested in depositing. Consider the following 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
false
false
## Low: Legacy NFTs are not compatible with protocol pairs ### Description Pairs support ERC721 and ERC1155 NFTs. However, users of NFT marketplaces may also expect to find OG NFTs such as Cryptopunks, Etherrocks or Cryptokitties, which do not adhere to these ERC standards. For example, Cryptopunks have their own inte...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: IV Can be Decreased for Free ### Description Source: https://github.com/sherlock-audit/2023-10-aloe-judging/issues/63 ## Found by Bandit, mstpr-brainbot, roguereddwarf The liquidity parameter used to calculate IV costs nothing to massively manipulate upwards and doesn't require a massive amount of capital...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Owner can withdraw reward tokens using `withdrawTokensIfStuck`. ### Description **Description** Perpetual TokensFarm.sol, TokensFarm.sol: function withdraw TokensIfStuck(). There is no validation that provided _erc20' is not equal to erc20` (Reward token). Thus, in case the admin has withdrawn reward 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...
cyfrin_structured
low
integer-overflow
true
true
## Low: `AngstromL2::_oneForZeroCreditRewards` should skip execution of range reward logic if there is no liquidity ### Description When crediting top-of-block tax rewards, `AngstromL2::_zeroForOneCreditRewards` skips execution if there is no liquidity in the given range: ```solidity if (tickNext >= lastTick && liqui...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
false
false
## High: Oracle price-feeder is vulnerable to manipulation by a single malicious price feed ### Description The price-feeder component uses a volume-weighted average price (VWAP) formula to compute average prices from various third-party providers. The price it determines is then sent to the x/oracle module, which com...
0