prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
false
false
## Low: Stakers need to reselect their vote delegate and farms after liquidation ### Description When a liquidation auction is kicked off, the urn unselects the current vote delegate and farm. ### Recommendation If the liquidation was a partial auction or an auction with leftover collateral, the user needs to remembe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Validators can front run calls to addIncentive to drain the entire incentive allocation in return for validating a single block ### Description Severity: High Risk Context: BerachainRewardsVault.sol#L312 Description: addIncentive is a function that allows anyone to allocate any amount of whitelisted incentive...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Updating `withdrawalCredentials` is flawed ### Description The `setContract` method in `PirexEthValidators` updates the `withdrawalCredentials` state variable when the `RewardRecipient` contract address is updated. If there already are validators in the `_initializedValidators` array, they would have been conf...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Canonical assets should be keyed on the hash of domain and id ### Description A canonical asset is a tuple of a (domain, id) pair. TokenRegistry’s owner has the power to register new tokens in the system (See `TokenRegistry.ensureLocalToken()` and `TokenRegistry.enrollCustom()`). A canonical asset is regist...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: Potential Validation Inconsistencies Leading to Paymaster Ban ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > We will document that pausing and signer updates are possible, but they will be done through communicated maintenance. **File(s) af...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The Libraries `FullMath`, `RoundingInt256`, and `RoundingUint256` Can Revert Due to Overflows ### Description **Update** Mitigated by using OpenZeppelin's Math library instead of FullMath. Points 2 and 3 were not addressed. Addressed in: `3746b0fd60cb87f57bdc24e94fa5917bd2ba0068`. **File(s) affected:**`FullMa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Fee-On-Transfer Tokens Not Supported ### Description This issue has been identified in the contract’s token-handling logic (for example, in the `mint`, `swap`, and `redeem` functions). The contract assumes standard ERC20 transfers without accounting for fee-on-transfer tokens (e.g., USDT and USDC, which curren...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
true
false
## Low: `TroveManager::redeemCollateral` can return less collateral tokens than expected due to rounding down to zero precision loss ### Description **Description:** When a user calls `TroveManager::redeemCollateral` with a large enough debt amount such that the: * first trove is completely exhausted and closed * rema...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of input validation for destination chain id may allow for requests to invalid chains ### Description The `_sigReq` function, utilized by external functions `zrSignHash`, `zrSignData`, and `zrSignTx`, handles hashing and signing data operations. This function is accessible to any user via the mentioned ex...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
TWAP
true
true
_Submitted by cmichel_ The vader price in `LiquidityBasedTWAP.getVaderPrice` is computed using the `pastLiquidityWeights` and `pastTotalLiquidityWeight` return values of the `syncVaderPrice`. The `syncVaderPrice` function does not initialize all weights and the total liquidity weight does not equal the sum of the ind...
Code4rena
3.5
Vader 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
high
other
true
false
## High: Hero Owner With Mythical Weapon Can Never Receive Weapon Shard Rewards ### Description The vulnerability exists in the weapon shard reward calculation within the `_calculateBonusRewards()` function. The contract uses a packed constant `WEAPON_SHARD_TABLE (0xD282321E140A)` to store weapon shard probability val...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: claimReceipts() market Parameter is Unchecked ### Description Description InAccount.claimReceipts() the parameter market isn’t verified against the receipt.tracer . This allows a user to claim receipts based on orders that originate from other (malicious) tracer markets. This vulnerability is classified as hi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users Can Escape Paying for the TX Gas ### Description The current implementation of Paymaster is not taking the amount of gas paid by the paymaster for the tx execution within the same user tx, or before it. It is collected after the execution of the tx. - `GasTankPaymaster::_validatePaymasterUserOp()` is c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
reentrancy
true
false
## Gas: Check `amount` for `zero` before mint/burn (Missed by bot) ### Description **Note: Bot only covers check 0 value transfers in tranfser and transferFrom but not covered when minting and burning 0 amounts.** 0 amount burning and minting doesn't have any effect but just wastes gas when 0 value passed by mistake ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Gauge stakers won't get any reward due to round-down in user weight calculation ### Description GaugeController has weight precision of 4, however BaseGauge calculates weight precision in 18. Due to this, user's earned amount will be zero at all times. ### Impact Since user's weight is always calculated as 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
medium
dos
true
false
## Medium: Emergency resolver targets wrong epoch ### Description Source: https://github.com/sherlock-audit/2025-10-index-fun-order-book-contest-judging/issues/47 ## Found by 0xeix, 0xnija, 8olidity, DemiGods, Edoscoba, Icarus, Idealz, KrisRenZo, RajeshKotaru, Sir\_Shades, Ziusz, blockace, jo13, neeloy, ubl4nk, x15...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Input Validation ### Description Throughout the [codebase](https://github.com/euler-xyz/euler-vault-kit/blob/83ea1ad97b7c561d6601b220d23ec85d67ceb297/src), there are multiple instances of missing input validation: * Missing zero address check for the [`admin_`](https://github.com/euler-xyz/euler-vaul...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Grace period is hardcoded ### Description The [`grace_period`](https://github.com/celo-org/celo-monorepo/blob/6b5143a142f4715a9b8bc428b1cf391eec414ec8/packages/protocol/contracts/governance/Validators.sol#L406) variable of the `calculateEpochScore` function in the `Validators` contract is hardcoded and it’s 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
storage
true
false
## Low: CLAVE_STORAGE_SLOT should be subtracted by one ### Description The ClaveStorage library maintains the contract's `Layout` struct in the storage slot equal to `keccak256('clave.contracts.ClaveStorage')`. This is similar to how EIP-1967 storage slots are maintained, except that there is an offset of -1 missing 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
gas
other
true
false
## Gas: `++i` costs less gas than `i++`, especially when it's used in `for`-loops (`--i`/`i--` too) ### Description Saves 6 gas *PER LOOP* *There are 24 instances of this issue:*
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Execution of `LibLegacyTokenSilo:: balanceOfGrownStalkUpToStemsDeployment` can end earlier when `lastUpdate == stemStartSeason` ### Description Currently, `LibLegacyTokenSilo:: balanceOfGrownStalkUpToStemsDeployment` [returns zero](https://github.com/BeanstalkFarms/Beanstalk/blob/c7a20e56a0a6659c09314a877b4401...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Governance should not be able to change the vault's name and symbol ### Description The current implementation of the Governance contract allows the governor to update the name and symbol of the deployed EVault at any point and with any value, including an empty one. These values are later used in `Token.name`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lending pool reserve liquidity can be incorrectly accounted due to transferring accrued dust ### Description Lending pool reserve liquidity can be incorrectly accounted due to transferring accrued dust. ### Impact `reserve.totalLiquidity` is used to calculate utilization rate, incorrect utilizatio rate lea...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Loss of funds due to address mappings are not cleaned up after domain expiry ### Description ### Finding description and impact The `register_domain` function doesn’t properly clean up old mappings `(name_to_addr and addr_to_name)` when a new user registers an expired domain. While it removes the old `name...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
true
false
## Low: Threshold of signatures used in fastConfirmer is overly inflexible ### Description The fast confirmer committee is implemented using a Gnosis Safe that uses the maximum threshold, making it very inflexible if changes are needed. ```solidity function perform(IRollupAdmin rollup, address[] calldata fastConfirmCom...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Medium: Remove Liquidity has missing reserve1 DUST check, which can make reserve1 to be less than DUST ### Description The function `Pools::removeLiquidity()` checks that the `reserve0` and `reserve1` amounts for a pool are always above or at DUST amount. If after the liquidity is removed, and the `reserve0` or `re...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Fees Charged for Invalid Setup ### Description **Update** The client acknowledged the issue and provided the following explanation: > Related to [SSV-4](https://certificate.quantstamp.com/full/ssv-network/6682a4e0-872e-4cec-8b8d-4cd489a20b66/index.html#findings-qs4) **File(s) affected:**`SSVNetwork.sol` **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
medium
cross-chain
false
false
## Medium: Lack of a gas refund in the current design can lead to the overcharging of users and misaligned relayer incentives that can choke message execution ### Description **Description:** To understand gas handling, it is important to highlight a few key aspects of the current design: 1. On the target chain, Tran...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Attacker can use `MagnetarAction.OFT` action of the Magnet to perform operations as any user including directly stealing user tokens ### Description This issue requires the combination of two vulnerabilities to achieve the impact described in the title. The first vulnerability is that the `Magnetar._processOF...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Invalid range inputs for deposit store pruner ### Description While running the kurtosis cluster and testnet, some errors from the deposit store pruner were observed: ``` 2024-11-26T09:12:01Z ERRR error pruning index service=deposit-store-pruner error=range start greater than end ``` The root cause is unknow...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Integer overflow occurs in library functions under certain edge cases ### Description The `boundedSub()` and `boundedAdd()` functions revert when `b = type(int).min`. For example, `boundedSub(0, type(int).min, 0, type(uint).max)` should return `type(int).max + 1`, while calculating `-b` causes an integer overfl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `Accounting::setMinimumJrtSrtRatio` sets `reserveBps` instead of `minimumJrtSrtRatio` making ratio configuration impossible ### Description **Description:** The `Accounting::setMinimumJrtSrtRatio` function contains a an implementation error where it modifies the wrong state variable. Instead of setting `minimu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [10] Lack of event emit ### Description The `Market.pauseBorrows`, `Market.setLiquidationFeeBps`, `Market.setLiquidationIncentiveBps`, `Market.setReplenismentIncentiveBps`, `Market.setLiquidationFactorBps`, `Market.setCollateralFactorBps`, `Market.setBorrowController`, `Market.setOracle` methods do not emit 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
rounding
true
false
## Low: Potential overpayment due to rounding imprecision  Won't Fix ### Description Inside the `InifintyPool` the `pay` function might accept unaccounted files. Imagine a situation where an Agent is trying to repay only the fees portion of the debt. In that case, the following branch will be executed: **code/src/Po...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Medium: Vouchers and vouchees indices become corrupted by UserManager's cancelVouch ### Description UserManager's cancelVouch() doesn't update `voucherIndexes` and `voucheeIndexes` entries for the last `vouchers` and `vouchees` arrays element that was moved to the position of the deleted element, keeping the non-ex...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Adding Rewards Doesn't Always Update Reward Data ### Description **Update** Marked as "Fixed" by the client. Addressed in: `187e7a03e9d2368005cc11f3d142ee1335c57e1a`. The client provided the following explanation: > As per the audit review comment, the farm's reward data was not getting updated because Reward...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: 6] Funds can get stuck, because of block header recommitting ### Description **Severity:** Medium **Path:** FuelChainState:commit() **Description:** When committing a block header, the `COMMITTER_ROLE` invokes the `commit()` function, which writes the `blockHash` and `timestamp` to storage. To access mes...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Mixed use of `uint` and `uint256` in `MembershipERC1155` ### Description **Description:** The state declarations in `MembershipERC1155` use both `uint` and `uint256`: This is inconsistent and confusing. Consider using `uint256` everywhere as this is more expressive. **One World Project:** Updated in [`09b6f...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
rounding
true
false
## Security Report ## Severity **Medium Risk** ## Context Locke.sol#L166 ## Description In cases where the deposit token decimal is too low (4 or less) or when the remaining stream duration is too long, checking `streamAmt > 0` may affect regular users. They could be temporarily blocked by the contract, meaning they...
Spearbit
5
Locke
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect MOMP calculation in neutral price calculation ### Description When calculating MOMP to find the neutral price of a borrower, borrower's accrued debt is divided by the total number of loans in the pool, but it's total pool's debt that should be divided. The mistake will result in lower neutral pric...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Non-standard ERC20 Tokens Are Not Supported And Locked in the Contract ### Description Non-ERC20 compliant tokens might not be supported by the contract. Specifically, this is true when the `transfer()` function does not correctly implement to the `IERC20` interface. One prominent example for such tokens is 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
liquidation
true
false
## Medium: Inaccurate collateral factor calculation due to missing collateral asset ### Description The function `collateralFactor()` in the smart contract calculates the collateral factor for the protocol but fails to account for the removal of certain collateral assets. As a result, the total value of the removed co...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
logic
true
false
## Medium: PAUSED GATEWAYS DO NOT PREVENT USERS FROM ADDING GAS FEES ### Description `addGasFee` function in **CCMPSendMessageFacet** contract allows users to add gas fee `even if a gateway is paused`, which would go against the business logic of the protocol. As a consequence, users could lose their recently deposit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 function name ### Description Incorrect function of Uniswap-V2 pool is called: https://github.com/Gearbox-protocol/gearbox-contracts/blob/0ac33ba87212ce056ac6b6357ad74161d417158a/contracts/adapters/UniswapV2.sol#L387 ### Recommendation We recommend changing the function name.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Metadata Deserialization ### Description ## Address Lookup Table Deserialization Under `AddressLookupTable::deserialize`, all account data are treated as serialized metadata when `bincode::deserialize` is invoked. This will treat the address data as serialized metadata, which could potentially take up more sp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## High: PyInstaller binaries should be distributed with signatures ### Description The deposit tool is distributed as binary files compiled using PyInstaller, but without any way for users to verify their authenticity. The deposit tool is compiled to a single binary using PyInstaller to be released on GitHub. ![Lat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: salt provided to an IHyperdriveTargetDeployer is not mixed/hashed with other parameters to avoid griefing attacks ### Description The salt provided to `target_X_Deployer` in this context is not hashed with other parameters to prevent front-running DoS/griefing attacks. This is unlike the deployment for the Hyp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
overflow
false
false
## High: `yVaultLPFarming`: No guarantee JPEG currentBalance > previousBalance ### Description _Submitted by hickuphh3_ [yVaultLPFarming.sol#L169-L170](https://github.com/code-423n4/2022-04-jpegd/blob/main/contracts/farming/yVaultLPFarming.sol#L169-L170) yVault users participating in the farm have to trust 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
gas
other
false
false
## Gas: All `public` functions can be changed to `external` ### Description Since a function is not called from within a contract, using `external` instead of `public` will save gas as all the function arguments will be in `calldata` instead of copied to memory
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
oracle-manipulation
false
false
## Low: Incorrect assumption that Chainlink price feeds will always have the same decimals ### Description There are several instances [[1](https://github.com/Benqi-fi/ignite-contracts/blob/bbca0ddb399225f378c1d774fb70a7486e655eea/src/Ignite.sol#L227), [2](https://github.com/Benqi-fi/ignite-contracts/blob/bbca0ddb3992...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
signature
false
true
As Per [EIP-1271](https://eips.ethereum.org/EIPS/eip-1271) standard `ERC1271_MAGIC_VAULE` should be `0x1626ba7e` instead of `0x20c13b0b` and function name should be `isValidSignature(bytes32,bytes)` instead of `isValidSignature(bytes,bytes)`. Due to this, signature verifier contract go fallback function and return un...
Code4rena
5
Biconomy
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Locked-In Licenses Can Be Transferred ### Description Possession of an [`FNode`](https://github.com/0xFFoundation/fchain-contracts/blob/11ffd45bc95747b8d2432a2e8bb120d4a1dc19a2/src/FNodes.sol) license is a [requirement to become a validator](https://github.com/0xFFoundation/fchain-contracts/blob/11ffd45bc9574...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Precalculate constants in `Config.sol`. ### Description While constants have known value, to save more gas, calculate their values before compile-time. [File: ethereum/contracts/zksync/Config.sol](https://github.com/code-423n4/2023-10-zksync/blob/main/code/contracts/ethereum/contracts/zksync/Config.sol)
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: NEthStaked Event Using _time param . . . . . . . . . . . . . . . . . . . . . . ### Description ## NftEth Contract - stakeN Function In the `NftEth` contract, the `stakeN` function emits the `NEthStaked` event with the `(user, amount, time)` for staking. ## Contracts/NftEth.sol (SOLIDITY) Since the `_time` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Flashloan end result isn't controlled ### Description FlashLoan logic do not control the end result of transferring tokens out and back in. Given that protocol aims to support arbitrary non-rebasing / without fee on transfer / decimals in `[1, 18]` fungible tokens to be quote and collateral of a pool, this ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Depositing to EigenLayer can revert due to round downs in converting shares<->assets ### Description When the underlying tokens deposited from depositPool to EigenLayer strategy, there are bunch of converting operations done which rounds down the solution at some point and the require check reverts hence, 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...
solodit_api
high
other
true
false
Source: https://github.com/sherlock-audit/2023-02-carapace-judging/issues/292 ## Found by XKET, ctf\_sec, monrel, bin2chen, mahdikarimi, libratus, rvierdiiev, csanuragjain, chaduke, ast3ros, jprod15, peanuts, 0x52, clems4ever, Allarious, carrot, Bauer, HonorLt, 0Kage, mert\_eren, KingNFT, Jeiwan, Ruhum, unforgiven, ...
Sherlock
5
Carapace
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: `InstanceDeployer` - Could use constant for Flag Previous Owner ### Description Could use CONSTANT instead of `1` https://github.com/solidity-labs-io/kleidi/blob/1a06ac16bc99d0b4081281329d03064c3737f5e4/src/InstanceDeployer.sol#L294-L302
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: DAO admin in LiquidStakingManager.sol can rug the registered node operator by stealing their fund in the smart wallet via arbitrary execution. ### Description ## Lines of code https://github.com/code-423n4/2022-11-stakehouse/blob/4b6828e9c807f2f7c569e6d721ca1289f7cf7112/contracts/liquid-staking/LiquidStaki...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
true
false
## Low: Fail fast in `PerpMarket::checkOpenInterestLimits` ### Description In `PerpMarket::checkOpenInterestLimits` there is no point in calculating `newSkew` if the transaction is going to revert because `newOpenInterest > maxOpenInterest`. ### Recommendation Only calculate `newSkew` if the revert doesn't happen: ``...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: First depositor can be frontrun to lose funds from inflated shares ### Description The attack vector and impact is a variant of a commonly reported vulnerability **TOB-YEARN-003**, where users may not fairly receive shares in exchange for their deposits through some form of manipulation. The deposit price i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
oracle-manipulation
true
false
## Low: Cache storage variables in memory when read multiple times without being changed ### Description As reading from storage is considerably more expensive than reading from memory, cache storage variables in memory when read multiple times without being changed: File: `NodeOperatorRegistry.sol` ```solidity // @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
other
false
false
## Low: If There Is No Existing Child, the Function addPathInfo Will Use the Previous compressedKey ### Description In the [`addPathInfo`](https://github.com/ava-labs/avalanchego/blob/73c4c0ff9817cb13fdb8b205939596af0c416f1f/x/merkledb/proof.go#L795-L854) function, the verifier adds each node in the proof path to a ne...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unsigned Callback Data ### Description **Update** Marked as "Fixed" by the client. Addressed in: `a05d5e8223351b0a3466bd1bcde507493fde0f24`. The callback data in all cases is now always required to be signed by the borrower if the borrower is not `msg.sender`. **File(s) affected:**`Leverage.sol`, `MultiSour...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: Domain separator is missing security fields ### Description EIP-712 defines multiple fields for the domain separator: `name`, `version`, `chainId`, `verifyingContract`, and `salt`. While `chainId` and `verifyingContract` are present, the rest are not. Although the EIP recommends including only the fields that 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
gas
reentrancy
true
false
## Gas: claimRewards(address) contains duplicate code and could be simplified ### Description ## Context `fatBERA.sol#L384-L409` ## Description/Recommendation Since `claimRewards(address)` does the same thing as `claimRewards(address,address)` just for every token and the token-specific function is already public, dup...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 new malicious adapter can access users' tokens ✓ Fixed ### Description The purpose of the `MetaSwap` contract is to save users gas costs when dealing with a number of different aggregators. They can just `approve()` their tokens to be spent by `MetaSwap` (or in a later architecture, the `Spender` contract...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
flash-loan
true
false
Source: https://github.com/sherlock-audit/2023-02-telcoin-judging/issues/36 ## Found by hyh ## Summary stakedByAt() is vulnerable to producing manipulated readings when staking was performed more than once in the same block. For example, if there were two stake() calls in one block, then stakedByAt() will report ...
Sherlock
5
Telcoin Update
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Document that math in OrchidDirectory assumes a maximum number of tokens ✓ Fixed ### Description `OrchidDirectory` relies on mathematical operations being unable to overflow due to the particular ERC20 token being used being capped at less than `2**128`. ### Recommendation This is fixed in [OrchidProtocol/[em...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Avoid contract existence checks by using solidity version 0.8.10 or later ### Description Prior to 0.8.10 the compiler inserted extra code, including EXTCODESIZE (100 gas), to check for contract existence for external calls. In more recent solidity versions, the compiler will not insert these checks if the ext...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Centralization Risks in Protocol's Access Control Design ### Description The protocol implementation grants excessive privileges to administrative roles, enabling fund extraction through multiple vectors. This centralization manifests in three critical functions across the protocol's contracts: 1. In **Ge...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## High: Bypassing KYC in KintoWallet ### Description * https://github.com/KintoXYZ/kinto-core/blob/f7dd98f66b9dfba1f73758703b808051196e740b/src/wallet/KintoWallet.sol#L204 A KintoWallet can have from one to three owners and have different signer policies. `_validateSignature()` and `resetSigners()` check KintoID onl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: griefing/theft is possible on unsafe external call ### Description `return` data `(bool success,)` has to be stored due to EVM architecture, if in a usage like below, 'out' and 'outsize' values are given (0,0) . Thus, this storage disappears and may come from external contracts a possible Gas griefing/theft pr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
true
true
## Low: Missing `address(0)` checks when assigning values to address state variables ### Description Missing `address(0)` checks when assigning values to address state variables. ### Impact Address state variables may be unexpectedly set to `address(0)`. ### Proof of Concept ```solidity File: gov/GovPool.sol 344: ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inability to liquidate at high utilization ### Description The liquidation function reverts if there aren’t enough funds in the pool to perform the transfer: ```solidity function _liquidation ... (uint256 withdrawnLockedAmount, uint256 lockedAmountToTransfer,) = _withdrawAsset( _withdrawal[i].asset,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Management Fee for a vault is charged even when there is no assets under management and subject to manipulation. ### Description ### Vulnerability details `managementFee` is calculated by `accruedManagementFee` function: \- managementFee x (totalAssets x (block.timestamp - feesUpdatedAt))/SECONDS_PER_YEAR ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `wrapETH2LD` permissioning is over-extended ### Description Undesired use of ENS wrapper. ### Proof of Concept [NameWrapper.sol#L219-L223](https://github.com/code-423n4/2022-07-ens/blob/ff6e59b9415d0ead7daf31c2ed06e86d9061ae22/contracts/wrapper/NameWrapper.sol#L219-L223) Current permissioning for wrapETH...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
cross-chain
true
false
## Medium: Failure in endpoint can cause minting more than one NFT with the same token id in different chains ### Description ## Lines of code https://github.com/code-423n4/2022-12-tigris/blob/588c84b7bb354d20cbca6034544c4faa46e6a80e/contracts/GovNFT.sol#L168 ## Vulnerability details ## Impact In the contract `Go...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
liquidation
false
true
Source: https://github.com/sherlock-audit/2023-02-surge-judging/issues/109 ## Found by usmannk ## Summary Certain parameter choices make it feasible to block updates to the collateralization ratio. Collaterization ratio updates are calculated as `uint change = timeDelta * _maxCollateralRatioMantissa / _collateral...
Sherlock
4
Surge
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Uncounted fees in USDT ### Description Contract can have less than `amountIn` because of fees in transferFrom function in USDT: https://github.com/Gearbox-protocol/gearbox-contracts/blob/0ac33ba87212ce056ac6b6357ad74161d417158a/contracts/credit/LeverageActions.sol#L232 https://github.com/Gearbox-protocol/gear...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Usage of transfer ### Description ## Handle cmichel ## Vulnerability details ## Vulnerability Details `Withdrawable.withdraw`: The `address.transfer` function is used to send ETH to an account. It is restricted to a low amount of GAS and might fail if GAS costs change in the future or if a smart contract'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
oracle
false
false
## Low: Bad comment for hash generation ### Description It is impossible to check constant hash via following comment: https://github.com/lidofinance/curve-merkle-oracle/blob/ae093b308999a564ed3f23d52c6c5dce946dbfa7/contracts/StableSwapStateOracle.sol#L95 ### Recommendation We recommend to add more detailed comment.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
true
false
## Low: PanopticFactory.sol#deployNewPool mint full range logic is incorrect for duplicate UniV4 PoolKey deployments ### Description When deploying a PanopticPool, the first deployer needs to mint the full-range liquidity in the Uniswap pool. This is noted in the code comments: _Mints the full-range initial deposit, w...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: [13] SOLIDITY VERSION `0.8.19` CAN BE USED ### Description Using the more updated version of Solidity can enhance security. As described in https://github.com/ethereum/solidity/releases, Version `0.8.19` is the latest version of Solidity, which "contains a fix for a long-standing bug that can result in code th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Users Have to Pay Interest on the Borrowing Fee ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > The proportion of borrow fees is negligible. **File(s) affected:**`BorrowerOperations.sol` **Description:** Users are charged a borrowing fee...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wrong fee calculation after totalSupply was 0 ### Description ## Handle kenzo ## Vulnerability details `handleFees` does not update `lastFee` if `startSupply == 0`. This means that wrongly, extra fee tokens would be minted once the basket is resupplied and `handleFees` is called again. ## Impact Loss 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...
cyfrin_structured
low
token
true
false
## Low: Silent truncation on u128 to u64 cast in liquidity token amount calculator ### Description The `utils::token_calculator::calculate_liquidity_token_amount` function computes the output in `u128` and returns it with a plain `as u64` cast: ```rust let result = /* u128 math */; Ok(result as u64) ``` If `result` fi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Avoid contract existence checks by using low level calls ### Description Prior to 0.8.10 the compiler inserted extra code, including `EXTCODESIZE` (**100 gas**), to check for contract existence for external function calls. In more recent solidity versions, the compiler will not insert these checks if the exter...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
token
false
false
## Low: Incorrect handling of metadata traits in the attributes of `MetadataFacet::uri` ### Description For fully on-chain metadata, external clients expect the URI of a token to contain a base64 encoded JSON object that contains the metadata and base64 encoded SVG image. As raised previously, if these attributes 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
gas
overflow
false
false
## Gas: Add `unchecked {}` for subtractions where the operands cannot underflow because of a previous `require()` or `if` statement ### Description `require(a require(a if(a <= b); unchecked { x = b - a }` This will stop the check for overflow and underflow so it will save gas. This is checked in the if statement ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: First depositor can break minting of shares ### Description _Submitted by MiloTruck, also found by cccz, oyc_109, VAD37, PP1004, SmartSek, minhquanym, unforgiven, berndartmueller, WatchPug, CertoraInc, and sorrynotsorry_ The attack vector and impact is the same as [TOB-YEARN-003](https://github.com/yearn/yea...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing zero address check in Governable can lead to loss of Ownership ### Description **Severity**: Low **Status**: Resolved **Description**: In Governable.sol’s transferGovernor() function, there is missing zero address check. This can lead to accidentally losing ownership if a zero address is passed ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Possible to Renounce Ownership of Contracts ### Description **Update** Native team has indicated that all of their contract owners are multi-signature addresses, similar to most DeFi protocols. There is an implicit understanding among the signers that ownership should not be renounced because doing so would ma...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Liquidators Can Manipulate Pool’s Profit or Loss Values ### Description Liquidators can manipulate the protocol’s profit and loss accounting in `CreditFacade.liquidateCreditAccount()`, which can lead to theft of funds from the pool. The call to `_multicall()` is done after `totalValue` is calculated. Hence,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
storage
true
false
## Gas: `require()`/`revert()` strings longer than 32 bytes cost extra gas ### Description Each extra memory word of bytes past the original 32 [incurs an MSTORE](https://gist.github.com/hrkrshnn/ee8fabd532058307229d65dcd5836ddc#consider-having-short-revert-strings) which costs **3 gas** *There are 6 instances of thi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
false
false
## Low: Using a fixed `slippage` variable for all pools ### Description Different pools have different liquidity depths, so using the same `slippage` parameter when performing swaps is not optimal. For example, pools with deeper liquidity will have less price impact, but arbitrageurs can sandwich to steal up to the ma...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: Exposed signatures can be lead to unanticipated permissions ### Description To call `swapCollateral`, a user must provide signatures for allowing the contract permission to move the user's funds on Comet. Exposing this signature means that a front-runner can call Comet's `allowBySig` with the signature ahead o...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Potential Errors with NFT Type Checking ### Description **Update** Marked as "Fixed" by the client. Addressed in: `91d57d92a2a85a8624d103386a7ad649219d814c`. The client provided the following explanation: > Modified is721Type() function as it was recommended. **File(s) affected:**`MarketTools`, `NFTMarketSim...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 named return variables where this can refactor away local variables ### Description **Description:** Use named return variables where this can refactor away local variables: * `CountryValidator::getCountry` * `PublicStockOnRamp::calculateDsTokenAmount` - read result of `navProvider.quoteBuyBase` directly 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: Unnecessary contract name specified ### Description **Severity**: Informational **Status**: Unresolved **File**: RailgunLogic.sol **Function**: transferTokenIn **Details**: While calling the getFee function on the line#258 the third argument is specified as: RailgunLogic.shieldFee. We double-checked the c...
0