prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Unfair Token Distribution Due to Discount Mechanism ### Description When some users contribute with discounts, they get a higher `effectiveValue` for their contribution, which increases the `totalEffectiveRaised`. This dilutes the token allocation for users who contributed without discounts, as the token distr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack Of Chain ID Validation ### Description ## DelegationKey `DelegationKey` and `CuTrackerKey` utilize a space character (`" "`) as a delimiter to split the composite key into its constituent parts. However, the `spec.Index` (which is the chainID used for delegation key) is used in these functions without...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `calcMint` always return poolId=0 and idx=0 ### Description _Submitted by gzeon_ #### Impact `calcMint` in Zap.sol always return poolId=0 and idx=0, while the docstring specified it should return the most optimal route instead. This will lead to suboptimal zap. #### Proof of Concept -[`Zap.sol` L156](http...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Inverted slippage protection approach can lead to problems ### Description **Likelihood:** Low, because it needs more than one special condition simultaneously **Impact:** Medium, because it can lead to limited amount of funds lost from the protocol **Description** Both the `leaveETH` and `leave` methods...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
other
false
false
## Medium: Fees never deducted in `AccountableOpenTerm` loan ### Description In `AccountableOpenTerm`, `interestData()` returns non-zero `performanceFee` and `establishmentFee`, but no path ever charges these fees. `_accrueInterest()` only updates `_scaleFactor` for base interest and none of `supply` or `repay` calls ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `syncFeeCheckpoint()` does not modify the highWaterMark correctly, sometimes it might even decrease its value, resulting in charging more performance fees than it should ### Description `syncFeeCheckpoint()` does not modify the `highWaterMark` correctly, sometimes it might even decrease its value, resultin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A malicious transaction object can trigger a Node DoS ### Description Berachain uses forked versions of various SSZ libraries including [this one](https://github.com/itsdevbear/ssz), which is forked from [karalabe/ssz](https://github.com/karalabe/ssz). This library implements `HashStaticBytes()`: ```go func ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Non-transferable `GameItems` can be transferred with `GameItems::safeBatchTransferFrom(...)` ### Description The `GamesItems` contract fails to appropriately override and include essential checks within the `safeBatchTransferFrom` function, enabling the transfer of non-transferrable Game Items. ### Impact W...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
true
false
## Low: Unused Timestamp Field in `sendDirect()` ### Description The `CCIPMessage` struct stores a `timestamp` field that records when each cross-chain message is sent, but this timestamp is never used anywhere in the contract. This creates multiple issues: inability to detect and handle stale messages, no time-based ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Interface definition error ### Description _Submitted by bin2chen, also found by 0x52, 0xDjango, 0xSky, auditor0517, Picodes, rokinot, ronnyx2017, and scaraven_ ### Impact `MarketPlace.authRedeem()` call interface `ISwivel.authRedeem()` but Swivel contract does not have this method only method "authRed...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Owner Can Renounce Ownership ### Description It was identified that the `CoreVault` and `MergeMarketplaceStrategy` contracts indirectly inherit from `Ownable2Step` through `OnwnableWithPausable`. In the `Ownable2Step` contract, the `renounceOwnership()` function is used to renounce the `Owner` permission. Reno...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `NodeData.nodeType` is used as an existence check and nothing else ### Description The only thing `nodeType` is used for in the system is to check if a node exists. This can be done with a simple boolean or if you actually need a "type" then use an enum where the first value is `NON_EXISTENT` for example.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Overflow/Underflow
true
true
## Lines of code https://github.com/code-423n4/2022-10-thegraph/blob/309a188f7215fa42c745b136357702400f91b4ff/contracts/l2/gateway/L2GraphTokenGateway.sol#L70 ## Vulnerability details ## Description L2GraphTokenGateway uses the onlyL1Counterpart modifier to make sure finalizeInboundTransfer is only called from L1G...
Code4rena
4
The Graph
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A new `buyer` address is not assigned if the previous one was rejected ### Description There is an issue at the [following line](https://github.com/MetaLex-Tech/LeXscrow/blob/94ca277528bb25b8421dc127941c18915144eb29/src/EthLexscrow.sol#L326). It resets the `buyer` address, but the `deposited` variable value r...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Inconsistent Price Calculation for Fee in Spot LP Trading ### Description **Description:** The fee calculation in the `spot_lp` instruction uses `last_px` directly without applying the same price constraints (`best_bid, best_ask`) and unit conversion (`RDF`) that are used when adding liquidity. This inconsiste...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [10] Getting the code still leads to a panic that could crash the node ### Description https://github.com/code-423n4/2024-11-nibiru/blob/8ed91a036f664b421182e183f19f6cef1a4e28ea/x/evm/keeper/statedb.go#L39-L45 This function is used to retrieve the bytecode of a smart contract. However, it panics if the code ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: COSMOS address recording method not recommended ### Description [As mentioned in these notes](https://gist.github.com/mappum/428dc46afba73b2bf8c38f65272704d2#notes), COSMOS address recording mechanism uses pay-to-pubkey-hash outputs, which can be seen in [lines 102 to 104 of bitcoin.js of fundraiser-lib](https...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Nexus `checkERC7739Support()` checks `DEFAULT_VALIDATOR` even if unused ### Description The `checkERC7739Support` function in the `Nexus` contract checks for support of `ERC-7739` by iterating through installed validators and additionally checking the `_DEFAULT_VALIDATOR`. However, this default validator may 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
gas
other
true
false
## Gas: Splitting `require()` statements that use `&&` saves gas ### Description See [this issue](https://github.com/code-423n4/2022-01-xdefi-findings/issues/128) which describes the fact that there is a larger deployment gas cost, but with enough runtime calls, the change ends up being cheaper. *There are 7 instance...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `whChainId` should not be stored as immutable constant ### Description **Description:** The `SecuritizeBridge` contract's use of an immutable `whChainId` constant, set during deployment, creates a critical vulnerability during chain forks. If the stored whChainId no longer matches the actual `chain ID`(block.c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: Collateral removal not possible ### Description If an approved collateral has later started say taking fees on transfer then protocol has no way to remove such collateral. The current deposit logic cannot handle fee on transfer token and would give more funds to user then actually obtained by 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
initialization
true
false
## Low: Use of Revert Strings Instead of Custom Error ### Description In Solidity smart contract development, replacing hard-coded revert message strings with the `Error()` syntax is an optimization strategy that can significantly reduce gas costs. Hard-coded strings, stored on the blockchain, increase the size and co...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
true
false
## Medium: The signatures are replayable ### Description ### Impact User signed orders can be replayed ### Proof of Concept All orders managed by the Krystal team are signed by the user, executed by the operator and the signature is verified on-chain: However, there is no nonce field in the [StructHash.Order](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
high
liquidation
false
false
## High: If a collateral's liquidation auction on Seaport ends without a winning bid, the call to liquidatorNFTClaim does not clear the related data on LienToken 's side and also for payee s that are public vaults ### Description If/when a liquidation auction ends without being fulfilled/matched on Seaport, and afterw...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
true
false
## High: Failure to reset unspent approval to the target address will lead to the wiping of the smart contract balance ### Description The contract gives arbitrary approval to untrusted contracts when filling orders, these approvals don't need to be fully utilized, and in situations where the approvals are not fully u...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
signature
true
false
## High: Incorrect 4-bytes function identifier in ERC865Token contract ### Description According to [its docstrings](https://github.com/propsproject/props-token-distribution/blob/eaf0c6fddd320a258a9d7531d72d07a830fae58a/contracts/token/ERC865Token.sol#L223), the [function](https://github.com/propsproject/props-token-d...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
false
false
## Medium: Incomplete Validation of Chainlink Price Data ### Description The [`ChainlinkV3Adapter`](https://github.com/radiant-capital/v2-core/blob/e8f21f103e17736907b62809d1ad902febc53714/contracts/radiant/oracles/ChainlinkV3Adapter.sol) and [`WSTETHOracle`](https://github.com/radiant-capital/v2-core/blob/e8f21f103e1...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Commitment in Challenge Computation ### Description When following the non-interactive version of [PLONK](https://eprint.iacr.org/2019/953.pdf) using Fiat-Shamir, the challenges are assumed to be derived from the transcript, defined as "the concatenation of the common preprocessed input, and public ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
false
false
## Low: Karma can be gamed ### Description Any entity operating a mech can create simple requests and set the mech they are operating as the priority mech, allowing it to deliver right away and thus increase its `mapMechKarma`. On the other hand, `mapRequesterMechKarma` for a specific requester would be harder to mani...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
critical
oracle-manipulation
true
false
## Critical: Front-run withdrawValidator by submitting proofs can permanently DOS validator unstaking on EigenLayer ### Description An attacker can observe the mempool and front-run the `CasimirManager::withdrawValidator` transaction by submitting the same proofs directly on Eigen Layer. Since the proof is already ve...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Buoy3Pool.safetyCheck is not precise and has some assumptions ### Description ## Handle cmichel ## Vulnerability details ## Vulnerability Details The `safetyCheck` function has several issues that impact how precise the checks are: 1. only checks if the `a/b` and `a/c` ratios are within `BASIS_POINTS`. B...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Possible withdraw unavailiability ### Description The amount of transferred out tokens are not accounted at the vault state while processing user withdrawals. This will cause attempt to withdraw incorrect (too large) amount and probable almost any withdrawals attempts will be reverted. ### Recommendation 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
other
false
false
## Low: CreatorFeeManagerWithRebates.viewCreatorFeeInfo reversion is dependent on the order of itemIds ### Description Assume there is an itemId `x` where `collection.royaltyInfo(x, price)` returns `(0, _)` and another itemId `y` where `collection.royaltyInfo(y, price)` returns `(a, _)` where `a ≠ 0`. Then if the `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
medium
token
false
false
## Medium: Extension voting threshold check needs to rerun on each transfer ### Description _Submitted by cmichel_ The `Extension` contract correctly reduces votes from the `from` address of a transfer and adds it to the `to` address of the transfer (in case both of them voted on it before), but it does not rerun 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
medium
overflow
false
false
## Medium: Math issues in SafeInt256.sol ### Description There are a number of issues in [`SafeInt256.sol`](https://github.com/swapnet-protocol/swapnet-lite/blob/66ce8f3e529410a5272b7a57c8391fcb80a375fd/packages/contracts/contracts/lib/SafeInt256.sol), whereby the functions do not return the expected result for a give...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Seller’s signature not required ### Description In this protocol, listing an asset is simply having the operator sign either a [`BidInput`](https://github.com/freeverseio/crypto-payments/blob/956a98e53ef540f7b2b40f3b923d0b0e3e5d32ef/contracts/auction/base/ISignableStructsAuction.sol#L19) or a [`BuyNowInput`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent and incomplete exchange status checks ### Description Drift Protocol’s representation of the exchange’s status has several problems: - The exchange’s status is represented using an `enum`, which does not allow more than one individual operation to be paused (figures 12.1 and 12.2). 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
rounding
true
false
## Low: Rounding Error During Execution Of Code ### Description In `controller.move`, the formula currently utilized in `apply_discount_code` and `apply_referral_code` may produce incorrect values if the `original_fee` is not a multiple of one hundred. This may result in an inaccurate calculation of the new rate. ##...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: sha2 ,hash160 andhash256 ofTypedMemView.sha2 do not clear the memory after calculating the hash ### Description When a call to the precompile contract at `address(2)` (or at `address(3)`) is made, the returned value is placed at the slot pointed by the free memory pointer and then placed on the stack. The free...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [04] Inaccurate timestamp handling in `_farmPlots` function leading to potential inaccurate Schnibbles calculation ### Description First of all, I'd like to note that this issue is considered out of scope BUT the sponsors said they will accept alternative solutions to mitigate this issue as it is clearly state...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Dependency: Uncontrolled Resource Consumption ### Description **Severity**: High **Status**: Unresolved **Dependency**: github.com/dvsekhvalnov/jose2go:v1.5.0 **CWE**: 400 **CVE**: 2023-50658 **Details**: The `jose2go` component prior 1.6.0 for Go allows attackers to cause a denial of service (CPU cons...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of robust safeguards for pools with an empty token in WeightedPool ### Description The `WeightedPool` has several corner cases that could either enable a user to receive tokens for free or trap the liquidity if one of the pools has an empty balance. It might not be possible for a user to empty a pool’s u...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
true
## Medium: `LiquidInfrastructureERC20.sol` disapproved holders keep part of the supply, diluting approved holders revenue. ### Description ### Lines of code ### Impact When `LiquidInfrastructureERC20` owner disapproves a holder, it prevents the holder from receiving any revenue from the contract. However, the disap...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
false
false
## High: Double spending ### Description A maker can borrow funds against their existing `CollateralToken` and then transfer their entire `CollateralToken` balance to an arbitrary address, from which they could perform a `withdraw()` in the LendingPool. ### Recommendation We recommend restricting transfers of `Collat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Pod: Re-entrancy during deposit or withdrawal can lead to stealing funds ### Description During the deposit, the token transfer is made after the Pod shares are minted: **code/pods-v3-contracts/contracts/Pod.sol:L274-L281** ``` uint256 shares = \_deposit(to, tokenAmount); // Transfer Token Transfer Messa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: stake() missing set lastEpochClaimed when userBalance equal 0 ### Description because `stake()` don't set ` lastEpochClaimed[user] = last epoch` if `userBalance` equal 0 So all new stake user must loop from 0 to `last epoch` for `_claimRewards()` As the epoch gets bigger and bigger it will waste a lot of G...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Sanctioned accounts can pay for pool interactions of verified users ### Description Severity: Low Risk Context: (No context files were provided by the reviewer) Description: Both UniversalRouter (used for swaps) and VerifiedPoolsPositionManager (used for modifying liquidity) can use their contract balance to 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: Operation residual is lost for the user of BBLeverage's and SGLLeverage's `sellCollateral()` ### Description `sellCollateral()` sells the specified amount of collateral, then repays the debt. The proceedings can cover the debt with some excess amount. Moreover, as the market swaps are involved and the actua...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missions Can only Be Tracked if Their Rewards Are in ETH ### Description **Update** The `Mission` has been removed totally as a design decision. **Description:** The contract allows users to claim rewards in either ETH or an ERC20 token. When initiating a mission through the `createMission()` function, 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
other
true
true
## High: The Amount of The Pending Referrer Fee is Overwritten in `_applyPlatformFeeETHGmx()` ### Description The `_applyPlatformFeeETHGmx()` function is an internal function that calculates and applies platform fees in ETH for a given transaction. This function is called by `GmxFactory` and also considers staked fee ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
logic-error
false
false
## Low: `OpNetVaultAutoDeployLogic::getVetoSlasherParams` is never used ### Description `OpNetVaultAutoDeployLogic::getVetoSlasherParams` is dead code that is never used. It is also worth noting that `OpNetVaultAutoDeploy` is designed only for `InstantSlasher` and has no mechanism to utilize `VetoSlasher` functionalit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Precision loss in fee calculation due to order of operations ### Description In the `_calculateFeesUSD` function of `OperationalTreasury.sol`, the fee calculation is performed in a way that may lead to precision loss due to **Division Before Multiply**. The current implementation: The issue arises because th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Owner of strategies that inherit from BaseStrategyChainlinkMultiplePriceFeeds can add malicious price feeds after they have been added to LooksRareProtocol ### Description The owner of strategies that inherit from `BaseStrategyChainlinkMultiplePriceFeeds` can add malicious price feeds for new collections after...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Use Custom Errors Severity: Quality Assurance ### Description **Description:** So[urce Inst](https://blog.soliditylang.org/2021/04/21/custom-errors/)ead of using error strings, to reduce deployment and runtime cost, you should use Custom Errors. This would save both deployment and runtime cost. **Recommenda...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Token Accounting Mismatch Between tick() and mintRewards() in RAACMinter ### Description The `RAACMinter` contract implements a dynamic emissions schedule for minting and distributing RAAC tokens. However, a critical flaw exists in its reward distribution mechanism: there is a mismatch between where excess ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Use a struct to encapsulate multiple function parameters ### Description If a function has too many parameters, replacing them with a struct can improve code readability and maintainability, increase reusability, and reduce the likelihood of errors when passing the parameters. *There are 42 instances of this ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
true
false
## High: Gauge rewards are not transferred to gauge when distributeRewards() is called ### Description Gauge rewards are not transferred to gauge when `distributeRewards()` is called. ### Impact DOS
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
false
false
## Medium: Block Number Dependency ### Description The [`AntiSandwhichHook`](https://github.com/OpenZeppelin/uniswap-hooks/blob/087974776fb7285ec844ca090eab860bd8430a11/src/general/AntiSandwichHook.sol) and [`LiquidityPenaltyHook`](https://github.com/OpenZeppelin/uniswap-hooks/blob/087974776fb7285ec844ca090eab860bd843...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Denial Of Service Due To Unbounded Allocation Delay ### Description The `setAllocationDelay()` function does not enforce a maximum delay value, allowing operators to set an extremely long delay that prevents any allocations from being set. ### Recommendation The EigenLayer team has acknowledged this issue wit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LendingAssetVault incorrectly updates vaultUtilization if CBR for a single FraxlendPair decreases. ### Description LendingAssetVault incorrectly updates vaultUtilization if CBR for a single FraxlendPair decreases. ### Impact Users would receive less assets. ### Recommendation Use the correct formula: `PRE...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Documentation and Code Inconsistencies ### Description Several inconsistencies between documentation and implementation, as well as unused or misleading code, were identified: * `contracts/dao/GaugeController.vy`: The `NewGaugeWeight` event is declared but never emitted anywhere in the contract, so it is effe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiple calls to bypass maxMintPerTx ### Description `maxMintPerTx` name and comments suggest that the variable should limit the amount purchased per transaction. In fact, it is a limitation per call. As a result, the simplest strategy to bypass the limit is just calling multiple times per transaction. Ens...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: previous approvals not revoked ### Description When constructing the contract max approval is set for the router for the Comet reward token: However, compound governance can change the reward token on `Comet`: And `owner` can change the `router` on `BrrETH`: If any of these are changed the previous 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
false
false
## Low: Miscellaneous Minor Points Affecting Several Contracts ### Description #### A. `public` functions that are not used internally should be `external` instead. Exception: When a `public` function is overridden, it has to remain `public`, even if it’s not used internally. #### B. There is no consistent pattern...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Casting between types without overflow checks ### Description In our prior audit of the Notional system, we raised an issue about unsafe casting between types. During their initial response to the prior audit, they partially addressed our concerns. The few persistent instances of the issue were to be removed 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
medium
other
false
false
## Medium: Completed proposals can be voted on and executed again ### Description A proposal that is completed has its state reset, including the votes. Users can just vote on it again and it can be executed again. Completed proposals should most likely not be allowed to be voted on / executed again. This could 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...
skyward_49k
low
storage
false
false
## Low: Unnecessary admin of proxy ### Description **Severity**: Low **Status**: Resolved **File**: src/ERC1967Factory.sol **Details**: While the original ERC1967Factory implementation uses admin to control the access to some functions in the contract itself, there is no need for this in your modified implementati...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inefficient Role Checking ### Description The `hasRole` function in the `AccessControlManager` contract currently relies on fetching the `rolesVersion` externally from the storage and then checking if the role is set using `_storage.getBool`. This results in two external calls to the storage: one to retrieve t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
false
false
## Medium: Maximizing Royalties by Frontrunning Token Minting ### Description **Update** Marked as "Fixed" by the client. Addressed in: `1a872e055aed4d28b0795347d1a2b688ff0e19de`. **File(s) affected:**`RoyaltyModule.sol`, `IpNFT.sol` **Description:** Any token can have up to 8 parent tokens, whose owners receive a 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
other
false
false
## Low: Using Vulnerable Solidity Version ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > We are using AccessControlledV8, from the @venusprotocol/governance-contracts package, that is using solidity 0.8.13. We will upgrade to solidity 0.8.20 in a co...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: Strategists are paid 10x the vault fee because of a math error ### Description Strategists set their vault fee in BPS (x / 10,000), but are paid out as x / 1,000. The result is that strategists will always earn 10x whatever vault fee they set. ### Impact Strategists will be paid 10x the agreed upon rate for ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
false
false
## Low: Accounts can be sold on secondary markets while liquidations are ongoing ### Description Accounts can be transferred via the `safeTransferFrom` function which calls the `transferOwnership` on the account. This `transferOwnership` does not have the `notDuringAuction` modifier, and can thus carry out transfers w...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
true
## Medium: Users can join and exit pools even where there are no tokens ### Description Incorrect access control in the `joinPool` and `exitPool` functions allow calls to them to succeed even when there are no binded tokens, producing unexpected results. On one hand, if a user calls `joinPool` when `_tokens.length` 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
access-control
false
false
## Low: Use of unlicensed contracts ### Description The absence of a license is denoted by the `// SPDX-License-Identifier: UNLICENSED` declaration. This indicates that the project's code is not licensed for use, distribution, or modification by others. Operating without a license poses several security and legal ris...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: Sequence numbers are not enforced to be sequential ### Description In both card contracts, the `ctx_seqno` variable is used as a nonce-like, ever-increasing sequence number to ensure that old transactions cannot be replayed once they are executed. A similar variable, `limits_seqno`, is used for the limits dict...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Improve function visibility ### Description The following methods are not called internally in the token contract and visibility can, therefore, be restricted to `external` rather than `public`. This is more gas efficient because less code is emitted and data does not need to be copied into memory. It also mak...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect rounding direction in SuperVault.convertToAssets() ### Description According to the EIP-4626 specification, the `convertToAssets()` function should round down. Specifically, it states that `convertToAssets` **MUST** round down towards 0. However, the implementation in `SuperVault.convertToAssets...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
overflow
false
false
## Gas: Add ### Description [G-03] Add unchecked {} for subtractions where the operands cannot underflow because of a previous require() or if statement require(a &lt;= b); x = b - a =&gt; require(a &lt;= b); unchecked { x = b - a }:br if(a &lt;= b); x = b - a =&gt; if(a &lt;= b); unchecked { x = b - a }:br This will ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: `ReraiseETHCrowdfund#claimMultiple` can be used to grief large depositors ### Description User can be grieved by being force minted a large number of NFTs with low voting power instead of one with high voting power. ### Proof of Concept [ReraiseETHCrowdfund.sol#L354-L377](https://github.com/code-423n4/202...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Native assets deposited to pools with no native currencies are lost ### Description Native assets deposited to pools with no native currencies are lost. The deposit function of the BunniHub contract is payable since it needs to handle native assets if one of the tokens of the pool is a native token, as shown i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Redundant calls to getAddressPrefixInternal() ### Description In the `EthereumVaultConnector.sol` contract, the `isAccountOperatorAuthorizedInternal()` function first calls the `getAccountOwnerInternal()` function to retrieve the owner's address, and then calls the `getAddressPrefixInternal()` function to obta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Validations ### Description ## Issues and Remediation in SDK.Coin Objects 1. When the code constructs new `sdk.Coin` objects, it does not raise an error if it utilizes invalid token denominations (such as those that are empty, shorter than three letters, or contain invalid characters) due to missing 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
medium
other
true
false
## Medium: The attacker can steal rewards from AutoCompoundingPodLP because in _processRewardsToPodLp, the rewards from TokenRewards are not distributed ### Description Since the rewards from TokenRewards are not distributed in `_processRewardsToPodLp`, an attacker can deposit into AutoCompoundingPodLp in a single tra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Malicious users can provide liquidity on behalf of others to keep others in the liquidity cooldown ### Description In the AlgebraPool contract, when the user provides liquidity via the mint function, the lastLiquidityAddTimestamp is updated to the current time. (_position.liquidity, _position.lastLiquidity...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
input-validation
true
false
## Medium: Missing zero address validation in initialize function ### Description The `initialize` function in `DSTokenClassSwap` contract does not validate that the input addresses `_sourceDSToken` and `_targetDSToken` are non-zero addresses. ```solidity DSTokenClassSwap.sol 40: function initialize(address _sour...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `WildcatMarketWithdrawals.queueWithdrawal()` function can be optimized ### Description By moving condition checks up in the execution flow, we save on computational steps and improve the gas efficiency of the `queueWithdrawal()` function. Overall gas change: `-9258 (-0.011%)`
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
front-running
false
false
## High: Front-Running redeem Can Prevent Indexers From Receiving Rewards for Allocations ### Description The [`redeem`](https://github.com/semiotic-ai/timeline-aggregation-protocol-contracts/blob/d8795c747d44da90f7717b3db9a08698e64a9b2f/src/Escrow.sol#L366) function in `Escrow.sol` enables Indexers to receive query r...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: `<array>.length` should not be looked up in every loop of a `for`-loop ### Description The overheads outlined below are _PER LOOP_, excluding the first loop * storage arrays incur a Gwarmaccess (**100 gas**) * memory arrays use `MLOAD` (**3 gas**) * calldata arrays use `CALLDATALOAD` (**3 gas**) Caching the 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
token
false
false
## Low: Potentially Stuck ETH in GasSwap ### Description In the [`GasSwap` contract](https://github.com/scroll-tech/scroll/blob/2eb458cf4224d82fc56254e91e297a9ed261cefb/contracts/src/L1/gateways/L1ERC20Gateway.sol#L130), the [`swap` function](https://github.com/scroll-tech/scroll/blob/2eb458cf4224d82fc56254e91e297a9ed...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rewards are withdrawn even if protocol is not su�ciently collateralized ### Description The treasury allows any excess base token amount beyond what is considered collateral to be distributed by calling the `harvest` function. Some of this token amount is sent to the rebalance pool as rewards. Since the rebala...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LvlUSD from rewards might be permanently stuck in the StakedlvlUSD contract ### Description In the StakedlvlUSD contract, `lvlUSD` transferred in as rewards vest over a period of 8 hours: ```solidity function getUnvestedAmount() public view returns (uint256) { uint256 timeSinceLastDistribution = block.times...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Negative rebase can tap into other user's tokens when a user unlocks ### Description [Link to instance](https://github.com/code-423n4/2024-05-munchables/blob/57dff486c3cd905f21b330c2157fe23da2a4807d/src/managers/LockManager.sol#L416) If the configured token contract being used is a rebasing token that negativ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Misleading Rate Limit Condition ### Description **Update** The team fixed the issue as recommended. **File(s) affected:**`libs/LibCollateral.sol` **Description:** The `LibCollateral.sol:commitWithdrawalAllowance` function (L251-275) has the condition of `rateLimitRemaining != uint128(-1)` in L269. However, 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
medium
other
false
false
## Medium: `redeemDepositsAndInternalBalances` should mow before adding migrated deposits ### Description `redeemDepositsAndInternalBalances` should mow before adding migrated deposits ### Impact Loss of funds
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Creation of `MajorityAmendmentProposal` is Possible for a Non-existent `setName` ### Description The issue is identified within the [`proposeMajorityMetaVesTAmendment`](https://github.com/MetaLex-Tech/MetaVesT/blob/b614405e60bce8b852e46d06c03fd47b04d86dde/src/MetaVesTController.sol#L567) function of the `MetaV...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Aave rewards incentives lost as there is no way to claim them ### Description **Description:** When a bet uses an Aave pool, funds are supplied to Aave and can accrue [incentive rewards](https://aave.com/docs/aave-v3/aptos/smart-contracts/incentives), but the contracts provide no way to claim or forward these ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Local network connections use Basic Authentication ### Description Local network connections between the wallet and daemons use HTTP Basic Authentication. Basic Authentication is generally considered an insufficient form of authentication for modern security applications. As this is a local connection, the ris...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
false
false
## Medium: Unnecessary administrator privileges ### Description The `BridgePool` contract [inherits from `ExpandedERC20`](https://github.com/UMAprotocol/protocol/blob/f24ad501c8e813cf685f72217e7f13c8f3c366df/packages/core/contracts/insured-bridge/BridgePool.sol#L34) so that it can issue LP tokens to liquidity provider...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
SafeTransfer
true
false
_Submitted by [axic](https://twitter.com/alexberegszaszi), also found by [gpersoon](https://twitter.com/gpersoon), [pauliax](https://twitter.com/SolidityDev), [Jmukesh](https://twitter.com/MukeshJ_eth), [a_delamo](https://twitter.com/a_delamo), [s1m0](https://twitter.com/_smonica_), [cmichel](https://twitter.com/cmiche...
Code4rena
5
Reality Cards
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing call to harvestVault() in getRewardForUser() leads to missed rewards ### Description Infrared vaults allow stakers to claim rewards either via `getReward()` or via `getRewardForUser(address _user)`. While `getReward()` calls `harvestVault()` in the `onReward()` hook to harvest any BGT rewards from t...
0