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
overflow
false
false
## Medium: KintoWallet signatures underflow ### Description KintoWallet._validateSignatures has the following lines: ``` ... if (owners.length == 2) { (signatures[0], signatures[1]) = ByteSignature.extractTwoSignatures(userOp.signature); } else { (signatures[0], signatures[1], signatures[2]) = ByteSignature....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `delegateMulti()` should be protected with a reentrancy guard. ### Description The function `delegateMulti()` may mint ERC1155 tokens, which in turn may invoke a `onERC1155Received()` at the recipient (if it is a contract). This opens up potential for reentrancy. While we evaluated that the function correctly...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing two-step transfer ownership pattern ### Description The Executor contract is utilized for arbitrary cross-chain and same-chain execution, swaps, and transfers. It employs the `Ownable` contract from OpenZeppelin, which serves as a straightforward mechanism for transferring ownership. However, it does n...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
true
false
## Low: Upgrade to latest version of Solady to fix LibClone bug ### Description In the recent [Solady audit](https://github.com/Vectorized/solady/blob/main/audits/cantina-solady-report.pdf), an issue was found the affects LibClone. In short, LibClone assumes that the length of the immutable arguments on the clone wil...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Unexpected Features in BridgedERC20 Tokens - Phase 2 ### Description When an ERC20 token is bridged from a source chain to a destination chain via the [`ERC20Vault`](https://github.com/taikoxyz/taiko-mono/blob/b47fc34cb0e7fe9b7ebd9416b3051a067483b860/packages/protocol/contracts/tokenvault/ERC1155Vault.sol), it...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Locked ETH in Contracts ### Description There are several instances in the [codebase](https://github.com/radiant-capital/v2-core/blob/e8f21f103e17736907b62809d1ad902febc53714/contracts/radiant/) where ETH can be locked: * The [`receive` function](https://github.com/radiant-capital/v2-core/blob/e8f21f103e1773...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: Same Execution fee is used for different Settlement tokens ### Description As per the sponsors, any ERC20 could be used as a settlement token. But in the `ExecutionFeeHandler`, the max execution fee is set to `1e7`, which is in USDC token. There is no way to update this fee. That means, if some other 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
high
front-running
false
false
## High: Rewards of `GiantMevAndFeesPool` can be locked for all users ### Description Any malicious user could make the rewards in GiantMevAndFeesPool inaccessible to all other users... ### Proof of Concept Copy the file in the test suite and run the test. ### Tools Used forge test ### Recommended Mitigation Ste...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: Use custom errors rather than `revert()`/`require()` strings to save deployment gas ### Description Custom errors are available from solidity version 0.8.4. The instances below match or exceed that version *There are 32 instances of this issue:* https://github.com/code-423n4/2022-05-cally/blob/1849f9ee124340...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Do not calculate the length of array multiple of times ### Description **Files:** `L2ContractHelper.sol`, `Compressor.sol`, `BaseZkSyncUpgrade.sol`, `PubdataChunkPublisher.sol`, `Executor.sol`, `DiamondProxy.sol` While calculating the length of an array costs a lot of gas - it's recommended to calculate it on...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
true
false
## High: Theft of unclaimed yield of the revenue in the RevenueHandler contract by claimming and merge the tokens ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/RevenueHandler.sol Impacts: - Theft of unclaimed royalties - Theft of unclaimed yiel...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
reentrancy
true
true
## Low: Using bools for storage incurs overhead ### Description Use uint256(1) and uint256(2) for true/false to avoid a Gwarmaccess (100 gas), and to avoid Gsset (20000 gas) when changing from ‘false’ to ‘true’, after having been ‘true’ in the past. See [source](https://github.com/OpenZeppelin/openzeppelin-contracts/b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: A huge loss of funds for all the users who try to remove liquidity after swapping got disabled at manipulated price. ### Description ### Impact This vulnerability will lead to huge loss of funds for liquidity providers that want to withdraw their liquidity if the safe withdrawal is enabled. The loss of fun...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Off-Chain Indexers Can Lose Track of On-Chain State ### Description The `StoreCore` contract allows for the manipulation of static and dynamic data in the tables. This includes [setting a record](https://github.com/latticexyz/mud/blob/12a9eb1afb18a7f7cb43d774cabb2d5af7c74e6b/packages/store/src/StoreCore.sol#L2...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Flash loan fee is incorrect in Private Pool contract ### Description Private Pools support NFT borrowing using flash loans. Users that decide to use this feature have to pay a flash loan fee to the owner of the pool. The contract has a `changeFee` variable that is used to configure the fee for changing NFT...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Typo in Comments ### Description The following comment was found in the `UniversalSigValidator` contract: ``` // The order here is striclty defined in https://eips.ethereum.org/EIPS/eip-6492 ``` The word `striclty` above should be spelled as `strictly` instead. ### Recommendation To maintain clarity and tru...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Source: https://github.com/sherlock-audit/2022-11-bond-judging/issues/12 ## Found by xiaoming90 ## Summary The debt decay at a rate faster than expected, causing market makers to sell bond tokens at a lower price than expected. ## Vulnerability Detail The following definition of the debt decay reference time f...
Sherlock
5
Bond 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
overflow
true
false
## Low: Loans might be unliquidable if SOL value crashes ### Description The liquidation check might overflow to a small value with the first multiplication: The attacker needs an insane amount of SOL (2+ billion) so this attack is not feasible at the moment of writing; however, it might be in the future if SOL valu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User can be denied interest income due to interest amount rounding ### Description The function `redeemDueInterestAndRewards()` can be triggered in ways that are not in the best interests of the user. If the exchange rate is sufficiently large in an L2 environment, this could create a griefing surface due 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
high
other
true
true
## High: Staker Potentially Missing Out on Rewards or Losses ### Description The `StakingPool` contract receives staked tokens from stakers (through `PoolRouter` or `LendingPool`) and distributes the tokens to strategies. When the strategies earn profits (or suffer losses), the stakes are affected. This means the stak...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: DAO creator can inflate their privileges to mint/burn membership tokens, steal profits, and abuse approvals to `MembershipERC1155` ### Description **Description:** During the [creation of a new DAO](https://github.com/OneWpOrg/audit-2024-10-oneworld/blob/416630e46ea6f0e9bd9bdd0aea6a48119d0b515a/contracts/dao/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: LACK OF ZERO ADDRESS CHECKS ### Description River Contracts have address fields in multiple functions. These functions are missing address validations. Each address should be validated and checked to be non-zero. This is also considered a best practice. During testing, it has been found that some of these inp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use of static-weight extrinsics with dynamic arguments can cause a denial of service ### Description The publicly callable functions in the Vault pallet have a static weight of `10_000` and accept a variety of arguments. If the fees for executing those extrinsics are relatively low, an attacker may be able to ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Code Optimization ### Description ## Documentation Update ## 1. has_one Constraint The `has_one` constraint ensures that the specified field of an account matches the public key of a given account, verifying that the account is correctly linked to the expected account. This check may be utilized in `token_sy...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
true
true
## Medium: Users can frontrun rebase functions ### Description The UsdPlus Contract contains the `rebaseAdd`, `rebaseMul`, and `rebaseSub` functions, which allow an address with the `OPERATOR_ROLE` to perform a rebase. These functions adjust the value of `$._balancePerShare`, either increasing or decreasing it dependi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
false
false
## Low: Uniqueness of Transaction IDs Is Not Enforced ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > The cost of storing the transactions ID will be too expensive over time. For our current bridge relayer implementation, we will be performing a chec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
true
## Low: Precision loss in the `SecuritizeSwap.calculateDsTokenAmount()` function. ### Description When `stableCoinDecimals` is greater than `dsTokenDecimals`, the calculation is divided into two parts: dividing by `(10 ** (stableCoinDecimals - dsTokenDecimals))` at `L242` and then multiplying by `10 ** stableCoinDecim...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Constants should be defined rather than using magic numbers ### Description Constants should be defined rather than using magic numbers ### Impact Informational
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: String should only be generated once, and saved ### Description *There is 1 instance of this issue:* https://github.com/code-423n4/2022-08-frax/blob/c4189a3a98b38c8c962c5ea72f1a322fbc2ae45f/src/contracts/FraxlendPair.sol#L81
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: StrategyBase – Inflation Attack Prevention Can Lead to Stuck Funds ### Description As a defense against what has come to be known as inflation or donation attack in the context of ERC-4626, the `StrategyBase` contract – from which concrete strategy implementations are supposed to inherit – enforces that the am...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
rounding
true
false
## High: Inflated price due to unnecessary precision scaling ### Description Source: https://github.com/sherlock-audit/2023-06-tokemak-judging/issues/600 ## Found by 0xVolodya, Aymen0909, bin2chen, enfrasico, nobody2018, saidam017, talfao, xiaoming90 The price returned by the stat calculators will be excessively 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
storage
false
false
## Low: Error-Prone Proxy Admin Owner Upgrade Logic ### Description Most Mantle system contracts are implemented behind a proxy contract. This proxy contract is controlled by a `ProxyAdmin` contract. However, as part of the previous upgrade, an invalid address has been inadvertently set as the owner of the `ProxyAdmin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [FIXED] `Calldata` location can be used for function parameters in multiple contracts and interfaces ### Description In the [constructor](https://github.com/lidofinance/easy-track/tree/425f4a254ceb2be389f669580b9dc76618e92756/contracts/AllowedTokensRegistry.sol#L42 "/contracts/AllowedTokensRegistry.sol") of 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
true
false
## Medium: Almost all rarity rank combinations cannot be, and are not uniformly, generated ### Description Only a tiny fraction, 0.0002427\%, of all rarity rank combinations are possible. The probability distribution of the possible combinations (assuming the DNA is uniformly random) is not uniform: 24\% of combinatio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Tokens returned from Balancer are handled with unnecessary flexibility ### Description `balancerVault.getPoolTokens()` is called on line [111] of `SwellStakeVaultHelper` and it returns an array of tokens. Logically, the code would not revert if the returned array contained only one token, or if `swETH` or `wET...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Swap with exact output can result in less output than expected ### Description When a swap with exact output is requested, the exact output amount can be less than the amount specified by the user, as the minimum of `amountSpecified` and `outputAmount` is used as the actual output amount. The value of `outpu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Tellor Caller may use older values ### Description ## TellorCaller.sol Overview **Context:** TellorCaller.sol **Description:** Due to Tellor Disputes, it is possible for the Price Feed to use older values if the newer ones are disputed (this is explained in the Tellor Docs). To mitigate this issue, Tello...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Unnecessary inline assembly operations can be removed and replaced by hardcoded constants ### Description `PoolKeyHelperLib::calldataToId` currently performs two unnecessary `mul` operations in computing the slice length: ```solidity function calldataToId(PoolKey calldata poolKey) internal pure returns (PoolI...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
true
false
## Medium: OracleMaker's price with spread does not take into account the new position ### Description OracleMaker's `_getBasePriceWithSpread()` does not take into account the opening position's size, but only on the current position of the Maker. This means there is no price impact protection against large trades (o...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
false
false
## Medium: Incomplete ancillary data validation ### Description The `LongShortPair` constructor [confirms that the `customAncillaryData` is small enough](https://github.com/UMAprotocol/protocol/blob/d4e7ea22159b2eed8e39d5b86ce0026ea3b8b995/packages/core/contracts/financial-templates/long-short-pair/LongShortPair.sol#L...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
true
false
## Low: Cache storage variables in stack when read multiple times without being changed ### Description Reading from storage is considerably more expensive than reading from the stack so cache storage variables when read multiple times without being changed: ```solidity File: contracts/ousg/InvestorBasedRateLimiter.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
storage
true
false
## Low: Revert data is not always differentiated from successful return data ### Description In some parts of the Solady codebase, low-level calls directly pass their boolean result into an `mload()` to read the call's return data. For example, in the UUPSUpgradeable contract, the `upgradeToAndCall()` function contain...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
false
false
## Low: Junior Token holders can manipulate Junior Bond maturity ### Description When [buying a Junior Bond](https://github.com/BarnBridge/BarnBridge-SmartYieldBonds/blob/943df3a8fcd8dd128af3beb0c85a0480c0e95ead/contracts/SmartYield.sol#L241), the maturity time for the bond is [set to `1 + abond.maturesAt / 1e18`](htt...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Events ### Description The following events are defined but never emitted. ``` event Mint(address indexed user, uint256 amount, uint256 timestamp); event Burn(address indexed user, uint256 amount, uint256 timestamp); event Repay(uint256 amount, uint256 timestamp); ``` ### Recommendation Unused events ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Uninitialized Implementation Contract ### Description **Update** The client fixed the issue in `482467968891af42d8dc6798cff6a2d29e308931`. **File(s) affected:**`All upgradeable contracts` **Description:** The implementation contracts may not consistently ensure their initializer is disabled. This vulnerabili...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Consider erasing cache after completing deposit/withdraw/rebalance/compound operations ### Description I would suggest to always erase data, which was for an action already executed. ### Impact As I could not find any path that could exploit this, I am rating it as low, but this could be a root cause with som...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [09] missing `disableInitializers` in `SettlementSignatureVerifier` ### Description ### Issue Description `SettlementSignatureVerifier` is missing `disableInitializers` call and due to the usage of a proxy upgradeable contract without calling this function in the constructor of the logic contract. This oversi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
false
false
## Medium: Potential for Signature Malleability ### Description Severity: Medium Status: Resolved **Description**: The contract utilizes Ethereum's ecrecover function to verify that a given message was signed by the holder of the private keys of a specified address. This approach, while standard, is susceptible to...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: ThresholdsVerifier is initialized using the compiler contract instead of the compliance contract ### Description The `ThresholdsVerifier` contract constructor accepts an address for the compliance contract, as shown in Figure 6.1. However, the `Dispatcher` contract constructs `ThresholdsVerifier` using the comp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
true
false
## Medium: zBanc - inconsistent DynamicContractRegistry, admin risks ✓ Fixed ### Description `DynamicContractRegistry` is a wrapper registry that allows the zBanc to use the custom upgrader contract while still providing access to the normal bancor registry. For this to work, the registry owner can add or override a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Unfair Revenue Distribution in Non-Alchemix Revenue Tokens Leading to Theft of Unclaimed Revenues ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/RevenueHandler.sol Impacts: - Theft of unclaimed yield ## Description ## Introduction The...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unutilized Code ### Description ## Code Review Notes 1. The `fee_payer` account in the `SendFarmTokens` instruction appears unused and may be removed. 2. The `remaining_staged` field in the `MarketCollectEmissionEvent` structure is always set to zero since all staged emissions are cleared. Thus, it does not 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
medium
liquidation
true
false
## Medium: `sNOTE` Holders Are Not Incetivized To Vote On Proposals To Call `extractTokensForCollateralShortfall` ### Description _Submitted by leastwood_ As `sNOTE` have governance voting rights equivalent to the token amount in `NOTE`, users who stake their `NOTE` are also able to vote on governance proposals. 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
high
liquidation
true
false
## High: Loans with CErc721 collateral can be made unliquidatable ### Description **Severity:** High **Path:** CErc721.sol:_seize#L470-L508 **Description:** The `_seize` function for CErc721 will always round up to a token amount for full NFTs. This function is used for reward a liquidator in `Comptroller.sol:batchL...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
false
false
## Low: Insufficient input validation in common.NewRootFromHex ### Description There are two issues with `common.NewRootFromHex`: - **Undersized input** results in panic: ``` panic: runtime error: cannot convert slice with length N to array or pointer to array with length 32 ``` - **Oversized input** results 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
flash-loan
true
false
## High: receiveFlashLoan does not account for fees ### Description The `receiveFlashLoan` functions of the `scWETHv2` and `scUSDCv2` vaults ignore the Balancer flash loan fees and repay exactly the amount that was loaned. This is not currently an issue because the Balancer vault does not charge any fees for flash loa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Boilerplate not replaced ### Description *There are 2 instances of this issue:* https://github.com/code-423n4/2022-07-golom/blob/e5efa8f9d6dda92a90b8b2c4902320acf0c26816/contracts/governance/GolomToken.sol#L5 https://github.com/code-423n4/2022-07-golom/blob/e5efa8f9d6dda92a90b8b2c4902320acf0c26816/contracts...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
high
EIP-712
false
false
_Submitted by Lambda, also found by 0x1f8b, 0x52, horsefacts, vlad&#95;bochok, and wastewa_ [Community.sol#L175](https://github.com/code-423n4/2022-08-rigor/blob/e35f5f61be9ff4b8dc5153e313419ac42964d1fd/contracts/Community.sol#L175)<br> [Community.sol#L213](https://github.com/code-423n4/2022-08-rigor/blob/e35f5f61be9f...
Code4rena
5
Rigor 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
gas
overflow
true
false
## Gas: [G‑07] `++i`/`i++` should be `unchecked{++i}`/`unchecked{i++}` when it is not possible for them to overflow, as is the case when used in `for`- and `while`-loops ### Description The `unchecked` keyword is new in solidity version 0.8.0, so this only applies to that version or higher, which these instances 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
medium
other
true
false
## Medium: Delegate in IncentiveVoting can lock user 's tokens forever ### Description There is a concept "delegate" across the Bima contract. A delegate is a trusted address allowed to perform certain actions on behalf of a user. Let's take IncentiveVoting for example; a delegate is allowed to: 1. Register weight. 2...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: All Funds Become Irredeemable when the Tree Is Halfway Populated ### Description **Update** Marked as "Fixed" by the client. Addressed in: `cea4d112cdfb5650d199e74b04a7769b9bd4badd`. The client provided the following explanation: > Updated insert methods to have root update when tree is at least half full *...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Congress can lose quorum after manually setting the quorum value ### Description Proposals to the ChainPort congress must be approved by a minimum quorum of members before they can be executed. By default, when a new member is added to the congress, the quorum is updated to be \( N - 1 \), where \( N \) 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...
cyfrin_structured
high
token
true
true
## High: `DistributionProposal` 'for' voter rewards diluted by 'against' voters and missing rewards permanently stuck in `DistributionProposal` contract ### Description `DistributionProposal` [only pays rewards to users who voted "for" the proposal](https://github.com/dexe-network/DeXe-Protocol/tree/f2fe12eeac0c4c63ac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Staking deposit can be stolen by a 3rd party ### Description The specification of ETH2.0 staking allows for two types of deposits: the initial deposit and the top-up deposit, which increases the balance of a previously made initial deposit. Unfortunately, the current implementation of the mainnet deposit cont...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `PositionManager` and `BatchManager` do not need `NO_FEE_ROLE` ### Description **Update** The client has fixed the issue and revoked `NO_FEE_ROLE` from both contracts in commit `0763077`. **File(s) affected:**`batchManager.deploy.js`, `positionManager.deploy.js` **Description:** The deployment process grants...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
signature
false
false
## Gas: Only pass `transactionId` as parameter instead of `TransactionData` ### Description _Submitted by cmichel_ Both the `recoverFulfillSignature` and `recoverCancelSignature` functions take a large `TransactionData` object as their first argument but only use the `transactionId` field of the struct. It should 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
medium
access-control
true
false
## Medium: The `finalize()` Function DoS if Vesting Gets Scheduled Before Its Execution ### Description In `DaosLive.sol` contract, there is a function `setSchedules()` that allows the `daoManager` to set the vesting schedule (Here this function was supposed to be called by `daoManager` ONLY when they want to make a n...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
signature
true
false
## High: `QuickAccManager.sol#cancel()` Wrong `hashTx` makes it impossible to cancel a scheduled transaction ### Description _Submitted by WatchPug, also found by gpersoon_ In `QuickAccManager.sol#cancel()`, the `hashTx` to identify the transaction to be canceled is wrong. The last parameter is missing. As a result,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect documentation of `removeControllerFactory()` ### Description [WildcatArchController Line 113](https://github.com/code-423n4/2023-10-wildcat/blob/main/src/WildcatArchController.sol#L113) ### Issue Description The documentation in the [GitBook](https://wildcat-protocol.gitbook.io/wildcat/technical-de...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Slippage check may be inefficient in `deposit()` when `_keepGovRights=True` ### Description **Severity** **Impact:** Medium **Likelihood:** Medium **Description** In `deposit()` function code checks that `slippageChecker` with the sum of the minted shares `sharesToMint`, the issue is that when `_keepGov...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Remove function does not revert if startIndex is greater than or equal to endIndex ### Description The [`remove`](https://github.com/pods-finance/yield-contracts/blob/9389ab46e9ecdd1ea1fd7228c9d9c6821c00f057/contracts/libs/DepositQueueLib.sol#L26) function is responsible for removing records from the queue. Wh...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 and rebasable tokens are not supported ### Description The vault does not support fee-on-transfer and rebasable tokens. It means that vaults with such tokens can be created, but they may operate incorrectly. ### Recommendation Ensure that such tokens are not permitted or implement code to addr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Pool: claiming to the pool itself causes accounting issues ### Description In `Pool.sol`, `claim(address from, address to)` is used to claim staking rewards and send them to a destination address `to`: **code-update/contracts/pool/Pool.sol:L229-L238** ``` function \_claim(address from, address to) internal...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unlinked tophat retains linkedTreeRequests, can be rugged ### Description When a tophat is unlinked from its admin, it is intended to regain its status as a tophat that is fully self-sovereign. However, because the `linkedTreeRequests` value isn't deleted, an independent tophat could still be vulnerable to "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
signature
true
false
## Low: Potential Gas Optimisation Suggestions ### Description This section suggests changes to the CoreWallet that would potentially have a positive impact on gas costs. 1. **Invoke1* Functions**: The `invoke1SignerSends` and `invoke1CosignerSends` allow, respectively, signers and co-signers to submit a signature al...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Contracts code style can be upgraded ### Description **Description** The code in the contract does not fully correspond to recommendations created by the solidity comunity . **Recommendation**: To increase contract readability update the contract according to style guide.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Loss of backing risk when underlying ERC4626 share price decreases ### Description _Acknowledged_ The WStable contract assumes that the underlying ERC4626 vault (savingAccount) only increases in value (yield-accruing). However, if the vault’s share-to-asset ratio decreases due to a loss, depeg, or other risks...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: Missing Interface Extension in Contracts ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: Since the contracts are already deployed and under a proxy, interfaces were not added and imported **File(s) affected:**`LP/*` **Description:** It is gene...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Event not emitting ### Description After manager update, event is not emitting: https://github.com/Gearbox-protocol/gearbox-contracts/blob/0ac33ba87212ce056ac6b6357ad74161d417158a/contracts/tokens/GearToken.sol#L115 ### Recommendation We recommend to emit events after updating storage variables.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
false
false
## Medium: owner can reset feeBps set byadmin for token gated drops ### Description ## Medium Risk Report **Severity:** Medium Risk **Context:** - ERC721SeaDrop.sol#L233-L245 - SeaDrop.sol#L860 - SeaDrop.sol#L889-L890 **Description:** Only the admin can call `updateTokenGatedDropFee` to update `feeBps`. Howev...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
false
false
## Medium: Ensure no reentry ### Description **Description** To make sure, there is no possible reentrancy attacks. It’s recommended to add something like nonReentrant lock in every external method (as in solidity). **Recommendation**: Use nonReentrant lock. Post-audit: after the converstaion with the client the 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: Redundant require statements. ### Description **Severity**: Informational **Status**: Resolved **Description** PROPCStakingV2.sol: stake() In function, stake 2 checks respond to checking the proper allowance and balance of the user. As later propc token is transferring by method transferFrom there is no nee...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Tranche token deployments can be overwritten in PoolManager ### Description It is important to note that the Centrifuge chain has complete autonomy over adding new tranche details, but anyone is able to deploy tranches as it adheres to the details stored in `undeployed-Tranches`. However, there is no chec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Excessive Maximum Borrow Rate ### Description **Update** Marked as "Fixed" by the client. Addressed in: `fbc79cebacd4355d379755191441f2c6920d0bf6`. The client provided the following explanation: > Updated the `borrowRateMaxMantissa` to reflect the new interest accrual times. **File(s) affected:**`CTokenInter...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: When code defaults on remaining liability, it does not delete remaining auction, which is problematic if the user has called fill with a `%` less than 100 ### Description ### Finding description We can see that in the bottom of the code, if the backstop threshold goes below the certain `%` then it deletes...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Precision loss in fixed point library ### Description The [`FixedPoint` library](https://github.com/compound-finance/open-oracle/blob/d0a0d0301bff08457d9dfc5861080d3124d079cd/contracts/Uniswap/UniswapLib.sol#L6) implements two functions for handling fixed point binary numbers represented in [UQ112x112 format](...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: requireInterface Is Incorrectly Specified ### Description The [`requireInterface` function](https://github.com/latticexyz/mud/blob/12a9eb1afb18a7f7cb43d774cabb2d5af7c74e6b/packages/world/src/requireInterface.sol#L19) is incorrectly specified in two ways. Firstly, it uses a `try-catch` block to revert with...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Always use delete when resetting values in linked lists ### Description In the two linked list libraries, the `replace()` function must erase an existing value from the linked list. For the `BytesLinkedList`, this is achieved by setting `self[_value] = bytes('')`, while for the `AddressLinkedList`, it is done ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## High: Total cds deposited amount is incorrectly modified when cds depositor is at a loss, leading to stuck USDa ### Description The total cds deposited amount is [decreased](https://github.com/sherlock-audit/2024-11-autonomint/blob/main/Blockchain/Blockchian/contracts/lib/CDSLib.sol#L713) by the [returned amount](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
reentrancy
true
false
## Medium: When rewardToken is erc1155/erc777, an attacker can reenter and cause funds to be stuck in the contract forever ### Description ## Lines of code https://github.com/rabbitholegg/quest-protocol/blob/068d628f019e9469aecbf676370075c1f6c980fd/contracts/Quest.sol#L113-L116 ## Vulnerability details ## Impact 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...
solodit_api
high
Fund Lock
true
false
## Vulnerability Report ## Severity **High Risk** ## Context **Executor.sol#L142-L243** ## Description The function `execute()` increases allowance and then calls the recipient (`_args.to`). When the recipient does not use all tokens, these could remain stuck inside the Executor contract. **Notes:** - The executor...
Spearbit
5
Connext
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Additional parameter for `StakedToken::_redeem()` ### Description The function `StakedToken::_redeem` facilitates the redemption of `staked tokens` for `underlying tokens`. However, an issue arises during the transaction, as there may be a change in the `exchange rate` while there is a redeem action in the pro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: [05] Check for stale values on setter functions ### Description Add a check ensuring that the new value is different than the old value to avoid emitting unnecessary events. https://github.com/code-423n4/2023-05-venus/blob/main/contracts/Comptroller.sol#L702-L710 https://github.com/code-423n4/2023-05-venus/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
false
false
## Low: Code Refactoring ### Description ## Implementation Notes 1. The current implementation of `calculate_order_deep_price` prioritizes the asset with the most recent price point. While this may be suitable in some cases, it may not always be ideal. For instance, there may be situations where utilizing the base 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
storage
false
false
## Low: Same Tokens May Be Represented by Different Strings ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > It is intentional that the contracts to not operate on or modify token strings. Token strings will be normalized into canonical form, as appro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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] `PanopticPool::_checkSolvencyAtTicks` incorrect code comments ### Description The code implementation is as follows: if there are multiple `atTicks[]` passed in as parameter: - For `expectedSolvent == true`, all ticks must be solvent - For `expectedSolvent == false`, all ticks must be insolvent However,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
token
true
false
## Gas: Perform Escrow address computation using assembly ### Description `EscrowFactory.computeEscrowAddress()` computes the contract address. Refactoring the computation process using Assembly results in considerable gas savings. ### Impact Gas ### Recommendation Refactor address computation using Yul. Consider 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
token
true
false
## Medium: Presale - contributionToken double cast and invalid comparison ✓ Fixed ### Description The Presale can be configured to accept `ETH` or a valid `ERC20` token. This token is stored as an `ERC20` contract type in the state variable `contributionToken`. It is then directly compared to constant `ETH` which 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
low
other
false
false
## Low: PublicVault 'sredeem andredeemFutureEpoch always returns 0assets. ### Description Assets returned by `redeem` and `redeemFutureEpoch` will always be 0, since it has not been set in `redeemFutureEpoch`. The `AlsoWithdraw` event emits an incorrect value for the asset because of this. The issue stems from trying ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Unused or Duplicate Imports Increase Deployment Cost ### Description This issue has been identified across multiple contracts: * **CryptoLegacyBasePlugin** imports `Pausable.sol` but does not appear to use its functionality. * **LegacyRecoveryPlugin** imports `LibDiamond.sol` and `IERC721.sol`, which seem unus...
0