prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: sponsorSeries() method fails when user want to swap for stake token using ### Description `sponsorSeries()` fails when user want to use `swapQuote` to swap for stake token to sponsor a series. ### Impact sponsorSeries() fails when `address(quote.sellToken) != stake` ### Recommendation Consider implementat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing/limited Test Suite in Early Purchase Program ### Description **Update** Marked as "Fixed" by the client. Addressed in: `20183672aa44758c6c31e9d858cfac22f5e67d75`. The client provided the following explanation: > I've added a test suite for the Early Purchase program. **NOTE**: Some tests are failing...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Accounting breaks if end market appears multiple times in swap path ### Description If a swap path goes through a market that also is the final destination market, share accounting breaks ### Impact Token accounting will be broken, because the destination market will have extra tokens that its tracking of 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
medium
dos
true
false
## Medium: `VaultManagerV2.sol::burnDyad` function is missing an `isDNftOwner` modifier, allowing a user to burn another user's minted DYAD ### Description `VaultManagerV2.sol` has a function `burnDyad` that allows a DNft owner to burn his minted DYAD tokens. However, the function does not check if the DNft id that ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unused PotLike interface ### Description The PotLike interface is unused within the current implementation. ### Recommendation Consider removing this interface.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `DepositWithLock` done via `OptionToken` can be abused to permanently lock a user position ### Description `OptionTokenV4.exerciseLp` allows depositing to other people locks and extend it permanently at close to zero cost ### Impact Victims will be unable to unlock their unlock their positions at close to 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
high
liquidation
true
false
## High: Malicious Users Can Transfer Vault Collateral To Other Accounts To Extract Additional Yield From The Protocol ### Description _Submitted by leastwood_ `ConvexYieldWrapper.sol` is a wrapper contract for staking convex tokens on the user's behalf, allowing them to earn rewards on their deposit. Users will inte...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Inconsistent Data Format For Trusted Remotes in The XVS Bridge ### Description **Update** Marked as "Fixed" by the Venus team. Addressed in: `35a3312659c8b0f443c6ded33e613aed7130d2e2`, `cb84e01596d687c87c26c2ed16f24040965cad32`. The Venus team provided the following explanation: > We are not granting permissi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: rpc.Client race condition in header http.Header field ### Description The `rpc.Client.header` field is an `http.Header` from the Go library. This is a wrapper over a map, and it is not concurrency-safe. In the current usage, there is a race condition in the following spots: - `rpc.Start()` is an infinite ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Don't compare boolean expressions to boolean literals ### Description `if ( == true)` => `if ()`, `if ( == false)` => `if (!)` *There are 3 instances of this issue:* https://github.com/code-423n4/2022-05-cally/blob/1849f9ee12434038aa80753266ce6a2f2b082c59/contracts/src/Cally.sol#L217 https://github.com/cod...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing ownership check for market ### Description ## Aob's Create Market Instruction Aob's `create_market` instruction does not compare the market account's owner against the program ID. The instruction implicitly checks ownership when it attempts to overwrite the account buffer later, so this is not explo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User assets may be stolen ### Description _Acknowledged_ In Elytra, the total tvl assets are calculated based on the formula: `deposit track in pool + strategy balance + unstaking valut - reserve asset`. In strategy, we have one `emergencyWithdraw` function. In an emergency, the admin can withdraw assets fro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: improvements toAsciiString ### Description ## Handle gpersoon ## Vulnerability details ## Impact The function toAsciiString can be improved the be easier to read and use less gas. // https://github.com/code-423n4/2021-05-yield/blob/main/contracts/utils/AddressStringUtil.sol ## Proof of Concept pragma soli...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `addToken()` parameters are not checked ### Description In `addToken()`: a `_tokenAddress` uniqueness check in `tokenList`. `tokenType` should be 0, 1 or 2. It may be also convinient to use an enum for `tokenType`. `_amount` should be 1 if `tokenType` for ERC721. `_id` should be 0 for ERC20. https://github.com...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
high
access-control
true
true
## High: Zeeve admin could drain `ValidatorRewarder` by abusing off-chain BLS validation due to `QI` rewards being granted to failed registrations ### Description [`Ignite::releaseLockedTokens`](https://github.com/Benqi-fi/ignite-contracts/blob/bbca0ddb399225f378c1d774fb70a7486e655eea/src/Ignite.sol#L580-L583) takes t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Improper Storage Utilization ### Description ## TokenizeShares Zero Share Issue `msg_server::TokenizeShares` does not ensure that the share is not zero. It is possible for the amount to be positive while the share is zero, resulting in the creation and storage of records without any actual shares. > _cosmos-...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Invalid Parameters ### Description ## Issue Overview The issue is related to the fact that both `stop_ride` and `resume_ride` functions expect `Driver` and `Rider` objects to be passed as arguments at the same time. It should be impossible for the user to own both `Driver` and `Rider` objects. ## Code Snippe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
access-control
true
false
## Low: Missing storage gap in upgradeable parent contract causes storage slot collision risk ### Description The `VaultDeployer` abstract contract is designed to be upgradeable and inherited by child contracts `SegregatedVaultDeployer` and `SecuritizeVaultDeployer`. However, `VaultDeployer` lacks storage gap variable...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ETH mistakenly sent over with ERC20 based `takeOrders` and `takeMultipleOneOrders` calls will be lost ### Description _Submitted by obtarian, also found by 0xsanson, cccz, and VAD37_ ### Vulnerability details `takeOrders()` and `takeMultipleOneOrders()` are the main user facing functionality of the proto...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: Zap contract’s redeem() function doesn’t check which token the user wants to receive ### Description ## Handle Ruhum ## Vulnerability details ## Impact In the `redeem()` function, the user can pass a token address. That's the token they receive in return for the ibbtc they give back. Because of missing ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Same Order ID Can Be Used Twice in Batch Payments ### Description The `payOrdersBatch()` function validates all orders against the initial state before updating any state in a subsequent loop. This allows duplicate `orderIds` in a single batch to bypass the `OrderAlreadyProcessed` check. ### Impact Duplica...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Premia Calculation Can Overflow ### Description When calculating the accumulated premia for a position's leg, the accrued fees for the tick range are multiplied by the position's liquidity amount. Both quantities are of type `uint128` and thus can overflow in the intermediate step of `legPremia`. This results...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Low: Unverified `_receiver` can cause irrecoverable token loss ### Description **Description:** When a user bridges their YTokens using CCIP, they call [`BridgeCCIP::send`](https://github.com/YieldFiLabs/contracts/blob/40caad6c60625d750cc5c3a5a7df92b96a93a2fb/contracts/bridge/ccip/BridgeCCIP.sol#L117-L158). One of ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: NatSpec comments should be increased in contracts ### Description It is recommended that Solidity contracts are fully annotated using NatSpec for all public interfaces (everything in the ABI). It is clearly stated in the Solidity official documentation. In complex projects such as Defi, the interpretation of ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Immediate limbs not range-checked ### Description A missing range constraint allows a malicious prover to provide wrong "byte"-decompositions of immediate values. ### Recommendation Add the missing range-checks.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Perform local variable checks first prior to external calls in composite `if` statement conditions ### Description When an `if` statement condition is joined together using `&&` operators from multiple composite parts, local variable checks should be performed first prior to external calls. This is because if ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
token
true
false
## Low: Wrong comment ### Description ```solidity File: Timelock.sol 49: /// @notice Delay for queueing a transaction in blocks //@audit seconds, not blocks 60: /// @param _delay Delay the timelock will use, in blocks //@audit seconds, not blocks 103: /// @param eta Duration of time until transaction can be exec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Liquidator Can Bid With Insufficient Cash ### Description When `executeBid()` performs `_symmetricManagerAdjustment()` on the cash asset of the bidder, there is no check that the bidder’s cash balance remains positive after the adjustment. This could result in a negative cash balance after the bid. The impact...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [06] `RouterSwapParams` lacks a deadlining logic and could lead to unfavourable swaps ### Description *Note: At the judge’s request [here](https://github.com/code-423n4/2024-03-revert-lend-findings/issues/128#issuecomment-2050761513), this downgraded issue from the same warden has been included in this report ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing nonce on PendingDepositRefund event might lead to a double spend ### Description A lack of nonce information on the deposit refund event might allow a third-party tool to confound which deposit was refunded. A deposit is identified by its unique nonce: ```solidity depositNonce = ++ _depositNonce; _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
gas
other
false
false
## Gas: Superfluous event fields ### Description `block.timestamp` and `block.number` are added to event information by default so adding them manually wastes gas *There are 4 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
low
other
false
false
## Low: Use constants. ### Description **Description** StakingB.sol Lines 17, 18, 19 StakingB_1.sol Lines 518 If the value of the storage variable can’t be changed it can be set as constant in order to save gas. **Recommendation**: Set offered storage as constant
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
false
false
## High: Block gas limit can be hit due to loop depth ### Description [/contracts/farm-manager/src/farm/commands.rs# L43-L94](https://github.com/code-423n4/2024-11-mantra-dex/blob/26714ea59dab7ecfafca9db1138d60adcf513588/contracts/farm-manager/src/farm/commands.rs# L43-L94) ### Finding description and impact The `cl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Frontrunning for unallowed minting of Short and Long tokens ### Description ### Vulnerability details #### Unallowed minting of Short and Long tokens The documentation states that minting of the Short and Long tokens should only be done by the governance. The problem is, that as long as the **\_mintHook...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [3] State variables can be packed into fewer storage slots ### Description If variables occupying the same slot are both written the same function or by the constructor, avoids a separate Gsset (**20000 gas**). Reads of the variables can also be cheaper *There are 3 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
high
dos
false
false
## High: (HAL-02) DENIAL OF SERVICE ### Description Denial of Service (DoS) vulnerability that arises from the exploitation of SQL Injection (SQLi) vulnerabilities, specifically through the use of the PostgreSQL pg\_sleep function. By injecting malicious SQL queries that include the pg\_sleep function, an attacker can...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Incorrect `_collapseBlock` Returned by `miningState()` ### Description **Update** Upon discussion with the client, it was determined that the values returned by `miningState()` are supposed to be used in tandem in order to form judgements about the state of the game. Therefore, we are marking this issue as "Ac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
false
false
## Low: Outdated Solidity Version ### Description **Update** Marked as "Fixed" by the client. The Solidity version was updated to `0.8.18`. Addressed in: `57cb2740d6d655318d2e85607de33b802d2a9354`. **File(s) affected:**`AGStaking.sol` **Description:** Currently, the system uses Solidity version `0.8.9` which is not ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
logic
true
false
## High: Pending payouts excluded from total balance cause incorrect share calculations ### Description After each game completes, the protocol attempts to transfer the winner's payout through `Staking.transferPayout()`. If this transfer fails, the amount is stored in `pendingPayouts` to be claimed later. However, 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: Form::_depositAndValidate redundant and inconsistent slippage check ### Description Two different slippage checks are implemented to prevent a user from losing funds when depositing to an ERC5115 vault. 1. The first check can be seen in `ERC5115Form.sol#L520` and is verifying: ``` shares >= singleVaultDat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lender DoS if all asset is borrowed or realized ### Description If all asset is borrowed (or already realized to restaker interests), `realizedInterest` is 0. Thus, there is no rewards to distribute to restakers. However, `BorrowLogic` is missing zero check, thus it will try to distribute rewards anway, whi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Use of outdated libraries ### Description Throughout the codebase, several OpenZeppelin contracts implementations are inherited and used. These contracts are used to implement access control, pausing functionality, ERC20 token standards, and more. However, some of the versions of these contracts are outdated 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
access-control
false
false
## High: Protocol Fees Can Be Bypassed By Users ### Description Fee timestamps are crucial for calculating the payments users owe to Brava during interactions; however, users can directly manipulate these timestamps, potentially avoiding any fee payments. A user can interact directly with the AdminVault contract thro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
false
false
## Low: Risk of Out of Gas by Looping ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Initiating a proposal requires permission, so this issue will not be exploited maliciously. In addition, we can use the retrieveTokenFor function to retrieve the 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: Move payable `receive()` function from `PorticoBase` into `PorticoFinish` ### Description **Description:** Move payable `receive()` function from `PorticoBase` into `PorticoFinish` since `PorticoFinish` is the only contract which needs to receive eth when it calls `WETH.withdraw()`. `PorticoStart` which also ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
initialization
true
true
_Submitted by 0xA5DF_ Lines: <https://github.com/code-423n4/2022-07-fractional/blob/8f2697ae727c60c93ea47276f8fa128369abfe51/src/modules/Buyout.sol#L118-L138> <https://github.com/code-423n4/2022-07-fractional/blob/8f2697ae727c60c93ea47276f8fa128369abfe51/src/modules/Buyout.sol#L156-L165> ### Vulnerability details I...
Code4rena
5
Fractional
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
logic
true
false
## High: Premature Token Burn In Withdraw ### Description ## GMIndex Withdraw Issues In GMIndex, invoking the `withdraw` function burns GMI tokens at the beginning of the function before calculating the withdrawal amount. This may result in an incorrect calculation of the withdrawal amount due to the premature burn 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
access-control
true
false
## Medium: Gator - Missing Runtime Schema Verification for Profile Sync Store/Retrieve ✓ Fixed ### Description The Profile Sync performs unsafe deserialization of permission data without runtime schema validation. * `JSON.parse` only validates JSON syntax, not data structure * The type assertion `as StoredGrantedPerm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Boost creator can collect all the fees by setting referralFee to 9_000 and give claimants his address as referrer_ address ### Description The boost creator can set the value of referralFee to 9_000 when creating the boost. The `BoostCore::referralFee` (the base fee) is set to 1000 in line 70, https://git...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: locking and freeing from LockstakeEngine can fail if ilk.dust increases ### Description The lock and free functions add/remove collateral from the urn using the following method: ``` vat.frob(ilk, urn, urn, address(0), ±int256(wad), 0); ``` This function will fail if `urn.art > 0 && urn.art * rate < ilk.dust...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Removing code related to testing - to decrease the contract size and the deployment costs ### Description **File:** `SystemContext.sol` [File: code/system-contracts/contracts/SystemContext.sol](https://github.com/code-423n4/2024-03-zksync/blob/main/code/system-contracts/contracts/SystemContext.sol#L469) Bot...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
true
## Gas: Hardcoding keys would cost less gas on deployment ### Description The variable declaration of the following keys can be cheaper if they were hardcoded: ```solidity bytes32 public constant ATTESTATION_TBS_PREFIX = keccak256(hex"846a5369676e61747572653144a101382240"); bytes32 public constant ATTESTATION_DIGEST ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Greater or Equal Comparison Costs Less Gas than Greater Comparison ### Description In Solidity, the >= operator costs less gas than the > operator. This is because the Solidity compiler uses the LT opcode for >= comparisons, which requires less gas than the combination of GT and ISZERO opcodes used for > compa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Attacker can DOS private party by donating ETH then calling buy ### Description _Submitted by 0x52_ Party is DOS'd and may potentially lose access to NFT. ### Proof of Concept [Crowdfund.sol#L280-L298](https://github.com/PartyDAO/party-contracts-c4/blob/3896577b8f0fa16cba129dc2867aba786b730c1b/contracts/cr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Redundant `afterInitialize()` Function ### Description The `LimitOrderManager.afterInitialize` function exposed to plugins duplicates the exact same initialization that `LimitOrderManager.place()` already performs for any uninitialized pool. Since `place()` calls `_initialize()` when `initialized[pool] == fals...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Not the whole amount of REEF is transferred due to accuracy loss. SqwidMarketplace.sol: functions enterRaffle(), endRaffle(). ### Description **Description** When a user enters a raffle, his message value is divided by 1e18, losing the accuracy of the message value, since Solidity doesn’t support float num...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `internal` functions only called once can be inlined to save gas ### Description Not inlining costs **20 to 40 gas** because of two extra `JUMP` instructions and additional stack operations needed for function calls. *There are 9 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
low
initialization
true
false
## Low: Changing stablecoin on TokenBank can mess up fees collection ### Description **Description:** The feeAmount on each token is computed with the decimals of the current stablecoin (initially, a stablecoin of 6 decimals). If the stablecoin is changed to another one that uses decimals != than 6, if there are any p...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Analysis of balanceDecreaseAllowed when there is at least one reserve borrowed but the ### Description - **Total Debt in ETH**: 0 - **Severity**: Low Risk - **Context**: - MiniPoolGenericLogic.sol: Lines 79-84 - GenericLogic.sol: Lines 97-99 ### Recommendation In general, there should be an invariant tha...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Updates to treasure code and data are irreversible ### Description The `op::update` operation of the treasure contract updates the code and the data of the contract at once. If this update is incorrect, there is no way to recover from it. ```plaintext if (op == op::update) { var new_code = in_msg_body~load_...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
true
false
## High: spTKNMinimalOracle `_calculateSpTknPerBase()` does not calculate correct price for podded or fraxlend pair pairedLpTKNs. ### Description spTKNMinimalOracle `_calculateSpTknPerBase()` does not calculate correct price for podded or fraxlend pair pairedLpTKNs. ### Impact Pods with podded token or fraxlend pair ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious actors can front-run setYieldConvEnabled ### Description Source: https://github.com/sherlock-audit/2025-01-peapods-finance-judging/issues/313 ## Found by pashap9990 ### Root Cause AutoCompoundingPodLp'owner can enable or disable processing reward tokens through `AutoCompoundingPodLp::setYield...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Avoid `storage` keyword during modifiers ### Description The problem with using modifiers with storage variables is that these accesses will likely have to be obtained multiple times, to pass it to the modifier, and to read it into the method code. As you can see the following methods require to extract 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
true
false
## Low: Unbounded `lockUntil` Parameter Allows Permanent Token Lock ### Description Both `CLLockerFactory.lock()` and `V2LockerFactory.lock()` accept a `uint32 _lockUntil` argument but do not validate it against a maximum lock duration. Since `uint32` can represent values up to `type(uint32).max`, a user may inadverte...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Prevent Irreparable Governance State ### Description ## SetGovernanceDataSource The `SetGovernanceDataSource` action is used to change the cross-chain address of the governance message emitter authority. If a `SetGovernanceDataSource` VAA was executed with an incorrect DataSource, it would leave the 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...
skyward_49k
low
other
false
false
## Low: Missing zero/threshold check for maxAssets ### Description ## Handle 0xRajeev ## Vulnerability details ## Impact A zero or some minimum threshold check is missing for newMaxAssets parameter of _setMaxAssets() function which is used by admin to set the maximum number of assets that controls how many market...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing receiver validation in `withdrawFrom` ### Description _Submitted by cmichel_ [FETH.sol#L433](https://github.com/code-423n4/2022-02-foundation/blob/4d8c8931baffae31c7506872bf1100e1598f2754/contracts/FETH.sol#L433) The `FETH.withdrawFrom` function does not validate its `to` parameter. Funds can be l...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: General informational issues ### Description ## Context (No context files were provided by the reviewer) ## Description ## Natspec typos, errors or improvements - **GovernanceCCIPReceiver.sol#L39-L42:** The `GovernanceCCIPReceiver` constructor natspec is outdated. It's referring to the `BaseGovernanceReceive...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Dead Code popup ✓ Fixed ### Description `const popup` is retrieved from the snap state but never used within the context of `confirmAddress()`. This might be an indicator of an incomplete implementation of the `togglePopup` setting or dead code. **snap/src/utils/fetchAddress.ts:L40-L47** ``` export const 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...
solodit_api
medium
Validation
true
false
Source: https://github.com/sherlock-audit/2022-11-bond-judging/issues/11 ## Found by rvierdiiev ## Summary BondBaseSDA.setDefaults doesn't validate inputs which can lead to initializing new markets incorrectly ## Vulnerability Detail https://github.com/sherlock-audit/2022-11-bond/blob/main/src/bases/BondBaseSDA.sol...
Sherlock
4
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
medium
overflow
false
false
## Medium: Intended Overflows Aborts ### Description ## Solidity Version 0.8.X: Checked Arithmetic Operations In the Solidity version 0.8.X, checked arithmetic operations are used by default. Operations that may result in integer overflows or underflows will fail. In certain circumstances, however, these overflows ar...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `updateState()` should be called in `depositEth()` and `redeemEth()` ### Description Whenever the liquidity of a LToken changes, `getRateFactor` will be changed. Therefore, `updateState()` must be called prior to the change to settle the pending interests. ### Impact Incorrect amounts of interests will be p...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Consumption Concerns Due to Extended Error Messages ### Description **Severity**: Informational **Status**: Resolved **Description** The smart contract employs detailed error messages within require statements, offering developers and users specific insights into the conditions that trigger a requirement fa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: V2AMO is not compatible with Velodrome/Aerodrome. ### Description According to the docs, the Dex scope for SolidlyV2 includes Velodrome/Aerodrome. > We expect the SolidlyV2 tech-implementation work with the “classic” pools on the following Dexes: Velodrome, Aerodrome, Thena, Equalizer (Fantom/Sonic/Base), Ra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `RouterV2.receive()` function access to be restricted ### Description The `RouterV2` contract is capable of receiving `Ether` from any user due a payable `receive()` function. This could lead to unintended fund losses for users. The only scenario where transferring `Ether` to the router is intended is when 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
false
false
## High: `WETH.allowance()` returns wrong result ### Description _Submitted by hansfriese, also found by 0xf15ers_ WETH.allowance() returns wrong result. I can't find other contracts that use this function but WETH.sol is a base contract and it should be fixed properly. ### Proof of Concept In this function, 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: Updating withdrawal period impacts ongoing withdrawals ### Description The `updateWithdrawalPeriod` function allows the owner to modify the withdrawal period. However, modifying the withdrawal period will impact all ongoing withdrawals and not only the new withdrawals.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Maximum number of withdrawals processed on every block ### Description The `BeaconState.ExectedWithdrawals()` function at `state-transition/pkg/core/state/statedb.go#L192` is used to grab a list of all of the validators that are withdrawable, as defined in the Ethereum consensus specs: ```python def get_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
access-control
true
false
## Low: Approve function is no check the _isRevoked or not, make lead to isApproved function failed ### Description The Approve function: ```solidity function _approve(SpendPermission memory spendPermission) internal { // check token is non-zero if (spendPermission.token == address(0)) revert ZeroToken(); // ch...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
false
false
## Medium: Burned tokens can be re-minted into the `totalSupply` ### Description **Severity** **Impact:** Low, as it won't lead to funds loss but breaks a protocol invariant/assumption **Likelihood:** High, as it becomes a problem whenever someone burns their tokens **Description** The `FlorenceFinanceMediciToken`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Liquidated NFTs can earn more than liquidation incentive ### Description The liquidation incentive (currently set to 1.08x) is used to calculate the surplus collateral a liquidator will receive in excess of the amount they repay. It is intended to define the liquidation rewards. This works by allowing 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
initialization
true
false
## Low: Lack Of Ordering Checks ### Description ## Time-Related Parameters Initialization in LBA LBA includes the initialization of several time-related parameters that define the start and end times for different contract phases. Ordering these time-related parameters, specifically the phase begin times, is essentia...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The Contract `TGKMainContract` Is Not Able to Receive NFTs via Safe Transfers ### Description **Update** The client implemented the recommended actions. **Update** Marked as "Fixed" by the client. Addressed in: `c47765595a3fc73626a0792b2460542e00935913`. **File(s) affected:**`TGKMainContract.sol` **Descri...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Getter functions do not revert on non existing streamId ### Description The following getter functions do not revert on non-existing streamIds: - `getAsset()` - `getCliffTime()` - `getDepositAmount()` - `getEndTime()` - `getRange()` - `getRecipient()` - `getSegments()` - `getSender()` - `getStartTime()` - `get...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
rounding
true
false
## Medium: event_ring_util.c is_writer_fdout-of-bounds memory access ### Description Commit `fca3deaa` introduces the function `is_writer_fd`. This function is reproduced below: ```c static bool is_writer_fd(ino_t ring_ino, int fdinfo_entry) { char const FDINFO_DELIM[] = "\t :"; char read_buf[256]; char *scan =...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: GoVarAndConstTypeMayBeOmitted ### Description **Severity**: Low **Status**: Acknowledged **Description:** The type of some variables and constants can be omitted, as Go can infer them. **Files**: app/ante/sigverify.go: 18 app/test_helpers.go: 42 ibc/testing/app.go: 30 x/evm/statedb/mock_test.go: 16 x/evm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: BondOracleAdapter can fetch price from inefficient Pool on Aerodrome ### Description The `BondOracleAdapter`'s `getPool` function can select an inefficient pool, leading to inappropriate price feeds. An attacker can create a pool with an extremely low fee and inefficient tick spacing, which the adapter migh...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Blocked ERC20 tokens can still be withdrawn ### Description Some ERC20 tokens are expected to be blocked in the contract with the `onlyUnblockedTokens` modifier, and the owner shouldn't be able to withdraw them. That's the reason this check is implemented for `withdrawERC20()`: ```solidity function withdrawE...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: Function depositAsset() allows 0amount of native assets ### Description The function `depositAsset()` disallows `amount == 0` for ERC20 assets; however, it does allow `amount == 0` for native assets. ```solidity function depositAsset(address assetId, uint256 amount) internal { if (isNativeAsset(assetId)) { ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
medium
front-running
true
true
## Medium: Self transfer of all child tokens results in decement of `ChildToken.totalInvestors` storage variable ### Description Similar to Issue [*Frontrunning call to `ChildToken::resolveUser` and transferring all of the oldUser's `childToken` balance causes the `totalInvestor` counter to be decremented twice*](#fro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `FETCH_TIME` is too large and this can lead to a stale price ### Description **Severity** **Impact**: High, because it might return an stale price **Likelihood**: Low, it can happen in highly volatile markets **Description** The `FETCH_TIME` value in the `TapOracle.sol` contract is set to 4 hours, which...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
false
false
## Low: Remove return parameters from `rOUSG::_mintShares` and `_burnShares` as they are never read ### Description Remove return parameters from `rOUSG::_mintShares` and `_burnShares` as they are never read. This saves 1 storage read in each function plus the cost of the return parameters.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Unstakers unable to receive staked amount if blacklisted by staking token ### Description In the `Staking` contract, the `finalizeUnstake()` function attempts to send the unstaked amount to the staker's address (`msg.sender`). However, if the unstaker's address is blacklisted by the staking token, they will be...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
true
false
## Low: [03] `fillOrder` may be subject to reentrancy ### Description The function [fillOrder](https://github.com/code-423n4/2024-01-init-capital-invitational/blob/a01c4de620be98f9e57a60cf6a82d4feaec54f58/contracts/hook/MarginTradingHook.sol#L372) set order status as filled after external token transfer. https://docs...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Open TODOs ### Description Code architecture, incentives, and error handling/reporting questions/issues should be resolved before deployment 1. File: src/Funding.sol (line [15](https://github.com/code-423n4/2022-04-badger-citadel/blob/dab143a990a9c355578fbb15cd3c884614e33f42/src/Funding.sol#L15)) 2. File:...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Duration Validation Enables Zero Division in Base Asset Bridge ### Description The BaseAssetBridge.sol contract uses a `duration` variable as a divisor in multiple functions without validating that it's non-zero. The duration is set in the constructor and cannot be modified afterwards, but lacks zero-v...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Privileged functions are missing event emissions ### Description ## Review Summary **Context:** (No context files were provided by the reviewer) **Issue Identified:** Privileged `onlyOwner` Inbox functions `setMailbox()` and `drain()` are missing event emissions. Emitting events when the Hyperlane mailbo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
false
false
## High: Redemption value of synths can be manipulated to drain VaderPoolV2 of all native assets in the associated pair ### Description ## Handle TomFrenchBlockchain ## Vulnerability details ## Impact Draining of funds from `VaderPoolV2` ## Proof of Concept See the `VaderPool.mintSynth` function: https://github....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
false
false
## Low: Unnecessary event emission when configuration values do not change ### Description `RockoFlashRefinance::updateFee` updates the `ROCKO_FEE_BP` variable and emits a `FeeUpdated` event regardless of whether the new fee value is different from the current one. This leads to unnecessary event emissions when the ow...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary Initialization verification Severity: Quality Assurance ### Description **Description:** The require! statement in the new function is used to check if the contract has already been initialized before. However, the function also uses the init macro which is responsible for initializing the contract...
0