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...
solodit_api
high
Slippage
true
false
## Vulnerability Report ## Severity **High Risk** ## Context `CronV1Pool.sol#L2048-L2051` ## Description Only one of the two incoming tokens is used to determine the amount of pool tokens minted (`amountLP`) on join: ```solidity amountLP = Math.min( _token0InU112.mul(supplyLP).divDown(_token0ReserveU112), _...
Spearbit
5
Cron Finance
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 `Ownable2Step` instead of `Ownable` ### Description **Description:** Use [Ownable2Step](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable2Step.sol) instead of `Ownable`. **WannaBet:** Fixed in commit [4fb5f42](https://github.com/gskril/wannabet-v2/commit/4fb5f42f2...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Adapter Implementation Could Be Misused ### Description The `Arbitrum_Adapter` contract on L1 is being used by the `HubPool` contract which [`delegateCall`s its execution](https://github.com/across-protocol/contracts/blob/c5d7541037d19053ce2106583b1b711037483038/contracts/HubPool.sol#L901-L909). All the [param...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Typos ### Description 1. File: contracts/NFTLoanFacilitator.sol (line [303](https://github.com/code-423n4/2022-04-backed/blob/e8015d7c4b295af131f017e646ba1b99c8f608f0/contracts/NFTLoanFacilitator.sol#L303)) faciliator 2. File: contracts/interfaces/INFTLoanFacilitator.sol (line [65](https://github.com/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
medium
overflow
true
false
## Medium: `PaprController` pays swap fee in `buyAndReduceDebt`, not user ### Description Since `PaprController` is not designed to hold any underlying tokens, calling `buyAndReduceDebt` with a swap fee set will result in a revert. The function can also be used to transfer out any underlying tokens sent to the contrac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: First depositor can lock the quote target value to zero ### Description When the initial deposit occurs, it is possible for the quote target to be set to 0. This situation significantly impacts other LPs as well. Even if subsequent LPs deposit substantial amounts, the quote target remains at 0 due to multip...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
overflow
true
false
## Gas: ++i/i++ should be unchecked{++i}/unchecked{i++} when it is not possible for them to overflow, for example when used in for- and while-loops ### Description The unchecked keyword is new in solidity version 0.8.0, so this only applies to that version or higher, which these instances are. This saves 30-40 gas per...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Solidity compiler optimizations can be problematic ### Description Ajna protocol has enabled optional compiler optimizations in Solidity. There have been several optimization bugs with security implications. Moreover, optimizations are actively being developed. Solidity compiler optimizations are disabled by 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
low
other
true
false
## Low: TRST-L-6 emergencyPull introduces substantial risks ### Description The **emergencyPull()** function is only callable by owner, and transfers the entire output token balance to a controlled destination. Use of **emergencyPull()** will make any linear vesting be cancelled without refund to the user. It is rec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: DoS Risk Due to Small Deposits and Front-Running in `deposit` Function ### Description This issue has been identified in the `deposit` function of the `Prestaking` contract. There are two potential attack vectors that could be used to DoS the system: 1. **Small Deposits (1 wei deposits)**: Malicious users ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Renouncing ownership or admin role could affect the normal operation of Connext ### Description Consider the following scenarios: ### Recommendation 1. Review if the `renounceOwnership` function is required for each of the affected contracts and remove them if they are not needed. Ensure that renouncing owne...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [01] `___self` param introduced by `WellUpgradeable` is redundant ### Description [`WellUpgradeable`](https://github.com/code-423n4/2024-08-basin/blob/7e08ff591df0a2ade7d5618113dda2621cd899bc/src/WellUpgradeable.sol#L16-L17) inherits from `UUPSUpgradeable`, which implements an immutable variable [`__self`](htt...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: There is no guarantee that the _rewardsManager is set when calling claimRewards ### Description Since the `_rewardsManager` address is set using a setter function in Morpho only and not in the MorphoStorage.sol constructor, there is no guarantee that the `_rewardsManager` is not the default address(0) value. 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
other
true
false
## Medium: Pool’s gulped emissions could be lost if a reserve has no supply ### Description When a pool is added to the reward zone, some emissions get distributed to it, these emissions could be “claimed” by calling `gulp_emissions` on that pool, which calls `gulp_emissions` on the backstop module. The gulped emissio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A Reserve Borrow Rate can be significantly decreased after liquidation ### Description When performing a liquidation, the borrow rate of the reserve is updated by burnt debt shares instead of the remaining debt shares. Therefore, according to the amount of the burnt shares in a liquidation, the borrow rate 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
high
dos
true
false
## High: The withdrawUnstakedTokens may run out of gas ### Description The `withdrawUnstakedTokens` is iterating over all batches of unstaked tokens. One user, if unstaked many times, could get their tokens stuck in the contract. **code/contracts/LiquidStakingV2.sol:L369-L403** ``` function withdrawUnstakedTokens(...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Hourly Price Consists of a Single Trade ### Description Description When an order is matched or taken, the funding rate is updated through two calls to Pricing . These calls are updatePrices() and updateFundingRate() . InTracer.updateInternalRecords() if more than an hour has passed, currentHour is incre- men...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Version Mismatch for evm-m-extensions in mUSD  Acknowledged ### Description `MUSD` inherits extensively from contracts in the [`evm-m-extensions`](https://github.com/m0-foundation/evm-m-extensions) repository. While this code itself was not in scope for this audit, we had to check some of it for compatibility ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The likelihood that anyone can use another approval ### Description All external functions of the smart contracts `UnoswapRouter`,` UnoswapV3Router` and `ClipperRouter` will be available after the deployment of the smart contract `AggregationRouterV4`. There are functions that exchange tokens. Before this oper...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Reentrancy
true
true
## Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L388 https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L488 ## Vulnerability details ## I...
Code4rena
5
Debt DAO
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unclear parameter naming fill_size ### Description ## Code Review Feedback **Context:** fees.rs#L42-L57 **Description:** In other parts of the code (e.g., `position.rs`), the term **size** refers to a position size denominated in shares. However, in `fees.rs`, the `get_fee` function uses the term **fill_si...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Direct Loss of Rewards on Re-Staking ### Description The `reStake()` method of the `DiscreteStakingRewards` contract intends to add a user's (`msg.sender`) earned rewards to their staked balance instead of claiming those rewards. This is done by clearing the user's earned rewards and forwarding them to the 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
dos
false
false
## Medium: Incorrect integration ### Description The `_registerIpAndAttachTermsAndCollectRoyaltyTokens()` function incorrectly integrates with the updated `mintAndRegisterIpAndAttachPILTermsAndDistributeRoyaltyTokens()` function from Story Protocol. [link](https://github.com/storyprotocol/protocol-periphery-v1/blob/m...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: The Gnosis wallet does not check for contract existence and may mislead the user about the transaction's result ### Description A failure to check for a contract’s existence may mislead a user into thinking that a failed transaction was successful. `MultiSigWallet` and `MultiSigWalletWithDailyLimit` use low...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: cancelChainlinkRequest Reverts for All Requests whose Callback Address is not the Calling Contract ### Description The Chainlinked contract provides a number of helper functions designed to be inherited by contracts using the Chainlink platform. One of these functions, `cancelChainlinkRequest()` (see line [54]...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Parsing and Offset Inconsistencies ### Description ## SwiftSource Implementation Issues In the current implementation of `SwiftSource::unlockCompressedBatch`, the action check incorrectly verifies for `BATCH_UNLOCK` instead of `COMPRESSED_UNLOCK`. Furthermore, the current encoded payload format parser in `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: InfraredV1_2.addValidators() can be overridden to set a validator 's commision rate ### Description ## Context (No context files were provided by the reviewer) InfraredV1_2.sol#L710-L723. ## Description/Recommendation Since the default `_commissionRate` for validators is `1e4` (i.e. 100%), consider overridi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `Timelock` Permissionless `execute` could cause issues and out of order operations when multiple operations are ready ### Description **Impact** `execute` can be called by anyone Meaning that once an operation is ready, it can be broadcasted by any caller This also means that if more than one operation is 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
high
overflow
false
false
## High: Sender transferring `GiantMevAndFeesPool` tokens can afterward experience pool DOS and orphaning of future rewards ### Description When a user transfers away GiantMevAndFeesPool tokens, the pool's claimed\[] computed is left unchanged and still corresponds to what they had claimed with their old (higher) numb...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
front-running
false
false
## High: No slippage parameter on UniswapV3 swaps can be exploited by MEV to return fewer output tokens ### Description `UniV3Utils::swap` performs a [swap](https://github.com/beefyfinance/experiments/blob/14a313b76888581b05d42b6f7b6097c79f3e65c6/contracts/interfaces/exchanges/UniV3Utils.sol#L22) with `amountOutMinimu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Anyone Can Call Initialize ### Description **Update** Marked as "Fixed" by the client. Addressed in: `d9de3991673eb3245d83f585c587d538dd651ad4`. The client provided the following explanation: Add empty constructor with initializer. **File(s) affected:**`SellerFinancing.sol` **Description:**`SellerFinancing` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Batch Operations Do Not Use Current Request Fee Which May Lead to Overpayment ### Description **Update** Marked as "Fixed" by the client. Addressed in: `3ef8aefb35d95badecf21b4e6b0391bc07edf5bd` and `63ff13b26f3170da798fea1964f7d124a301a64a`. **Description:** The following is noted in both EIP-7002 and EIP-72...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
rounding
false
false
## High: User-Settable Decimals ### Description **Severity**: High **Status**: Resolved **Description** The Treasury contract allows users to set the decimals value in all the functionalities, which can lead to inconsistent behavior and potential errors. Instead, the contract should retrieve the decimals directly f...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Redpanda exposed to the Internet ### Description The consequence of Elixir’s off-chain system architecture is that the Redpanda broker is exposed to the internet, as the strategy executors connect directly to the broker. This makes Redpanda easily accessible to attackers, as they can directly try to exploit th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: orderType Does Not Account For Entire Order Struct ### Description **Severity** - Medium **Status** - Invalid **Description** In the router contract orders are processed and the orderType is defined as → And this orderType is then hashed to get the order hash (which is then validated) , the problem her...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lost funds on ZetaChain due to unprocessed ZEVM logs ### Description In some instances, ZEVM logs that are emitted to signal the creation of outbound CCTXs are not processed, burning the user's funds on ZetaChain while not withdrawing them on the external chain. ### Impact Funds are burned on ZetaChain 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
medium
oracle
true
false
## Medium: Attacker can take advantage of Chainlink price not occuring within it's 60 minute heartbeat to make PriceAggregator calls fail ### Description Salty.IO relies on three default price feeds to get the price of BTC and ETH for the price of the collateral backing USDS. In the `CoreChainlinkFeed` contract, a pri...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LootBox - plunder should disallow plundering to address(0) ### Description Anyone can call `LootboxController.plunder()` to plunder on behalf of a `tokenId` owner. If a `LootBox` received an AirDrop but no `NFT` was issued to an owner (yet) this might open up an opportunity for a malicious actor to call `pl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Order of Functions ### Description **Description** The functions in contracts Bridge, LPStaking, LPTokenERC20, Pool, and Router are not grouped according to their visibility and order. Functions should be grouped according to their visibility and ordered in the following way: Constructor; Receive function (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
dos
false
false
## Medium: Input & data validation is missing or incomplete ### Description **Impact:** High, because in some cases this can lead to DoS and unexpected behaviour **Likelihood:** Low, as it requires malicious user or a big error on the user side **Description** Multiple methods are missing input/data validation or 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
overflow
false
false
## Low: Implicit casting ### Description Throughout the codebase, an instance of implicit casting between types has been detected. In the [`FortaStakingUtils` library](https://github.com/forta-protocol/forta-token/blob/92d7a7ddd6672a7530a4bfc532d0d697e7f12744/contracts/components/staking/FortaStakingUtils.sol#L4), i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
flash-loan
false
false
## High: Griefing attack via continuous deposit and withdrawal ### Description **Severity** **Impact:** Medium **Likelihood:** High **Description** The `deposit` function allows users to deposit funds to be added to liquidity pools (LPs) managed by the Rebalancer. When withdrawing tokens, the contract removes 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
dos
false
false
## Low: Users can DOS themselves by executing ### Description [L-03] Users can DOS themselves by executing prepareUnlock(0) many times There’s no check on the amount, and every call add another entry to an array. When the user finally calls executeUnlocks() they’ll run out of gas There is 1 instance of this issue: Fil...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
true
## High: repayAccountPrimeDebtAtSettlement() user lost residual cash ### Description in `repayAccountPrimeDebtAtSettlement() ` Incorrect calculation of `primeCashRefund` value (always == 0) Resulting in the loss of the user's residual cash ### Impact `primeCashRefund` always == 0 , user lost residual cash ### Reco...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
access-control
true
false
## Gas: Functions guaranteed to revert when called by normal users can be marked `payable` ### Description If a function modifier or require such as onlyOwner/onlyX is used, the function will revert if a normal user tries to pay the function. Marking the function as payable will lower the gas cost for legitimate calle...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 boundaries check for important state-changing functions ### Description ## Code Review Feedback ## Context - **Files**: - BaseRouter.sol: Lines 155-165 - NodeRegistry.sol: Lines 145-154 - Node.sol: Lines 266-270, 281-284, 325-327 ## Description and Recommendations Some functions do not have ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent Pause Behavior Affecting Contract Operations ### Description **Severity**: Informational **Status**: Acknowledged **Location**: StaderHavenStakingManager.sol **Description**: The `StaderHavenStakingManager` contract utilizes the `PausableUpgradeable` pattern for halting operations in case of a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Broken error reporting link ### Description The `create_full_client` function calls the `sp_panic_handler::set()` function to set a URL for a Discord invitation; however, this invitation is broken. The documentation for the `sp_panic_handler::set()` function states that “The `bug_url` parameter is an invitatio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
flash-loan
true
true
Users should be able to claim Uniswap fees for their current liquidity position regardless of their pending vestings, or cliff. But most users won't be able to claim those Uniswap fees. It is also possible that they won't be able to claim their vesting if they accumulate sufficient unclaimed Uniswap fees. ### Vulner...
Code4rena
5
Vultisig
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Function joinTokenSingle in SingleTokenJoin.sol and SingleTokenJoinV2.sol can be made to fail ### Description ## Handle pmerkleplant ## Vulnerability details ## Impact There's a griefing attack vulnerability in the function `joinTokenSingle` in `SingleTokenJoin.sol` as well as `SingleTokenJoinV2.sol` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
true
false
## Low: Users Cannot Change Their Vote Once Cast in a Voting Period ### Description The voting system prevents users from changing or revoking their votes once they have voted in a voting round. While this maybe an intentional design to prevent duplicate voting, it may impact user experience if users make mistakes or ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Pending/re-executable messages sourced from old bridge addresses will not be executable if bridge address is updated ### Description SecuritizeBridge and USDCBridgeV2 provide owner with the ability to update bridge addresses. This can be done incase a new bridge address is expected to be used and the previous ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
rounding
false
false
## High: commitToLiens transfers extra assets to the borrower when protocol fee is present ### Description `totalBorrowed` is the sum of all `commitments[i].lienRequest.amount`. But if `s.feeTo` is set, some of the funds/assets from the vaults get transferred to `s.feeTo` when `handleProtocolFee` is called, and only t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
storage
false
true
[contracts/smart-contract-wallet/base/ModuleManager.sol#L18](https://github.com/code-423n4/2023-01-biconomy/blob/53c8c3823175aeb26dee5529eeefa81240a406ba/scw-contracts/contracts/smart-contract-wallet/base/ModuleManager.sol#L18) SmartAccount.sol inherits from contracts that are not stateless and don't contain storage ...
Code4rena
5
Biconomy
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
false
false
## High: Duplicate NFTs Can Be Minted if `payableToken` Has a Callback Attached to it ### Description _Submitted by leastwood_ ### Impact The `mintToken()` function is called to mint unique tokens from an `ERC721` collection. This function will either require users to provide a merkle proof to claim an airdropped 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
other
false
false
## Medium: Transaction validation is out of the scope ### Description **Severity**: Medium **Status**: Resolved **File**: RailgunLogic.sol **Function**: validateTransaction **Details**: The current implementation of the in-scope functions does not validate unshieldPreimage to contain a correct value. Without such...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Consider using a two-step ownership transfer pattern ### Description In `MarginalToken`, we have a `setOwner` method, which immediately applies the given `_owner` address as the new owner. ```solidity function setOwner(address _owner) external { require(msg.sender == owner); emit OwnerChanged(owner, _owne...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
true
false
##### Description An attacker can directly transfer tokens to the Umbrella contract, causing an underflow error when `Umbrella._setPendingDeficit()` or `Umbrella._setDeficitOffset()` is triggered. This happens because the `_coverDeficit()` function returns the entire contract balance when transferring tokens, rather t...
MixBytes
3
AAVE
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Can lock Fund for 1 sec and unlock in same transaction to gain profit ### Description Can lock Fund for 1 sec and unlock in same transaction to gain profit even if it's small amount yet there's no flashloan protection so malicious user can flashloan big amount and sandwich the rebasing upkeep to take advantage...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
upgrade
true
true
## High: Failure to add modified facets and facets with modified dependencies to `bips::bipSeedGauge` breaks the protocol ### Description At the time of a Diamond Proxy upgrade, modified facets are cut by their inclusion in the relevant function within [`bips.js`](https://github.com/BeanstalkFarms/Beanstalk/blob/dfb41...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Borrower withdrawing at a loss will cause losses for cds depositors that only withdraw after the price recovers ### Description Borrowers withdrawing at a loss get downside protection from cds depositors. If these cds depositors withdraw at the same price as the borrower withdrawal that triggered the loss, 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
rounding
true
true
## Medium: Users can grief the owner by buying in chunks ### Description The factory contract supports all ERC20 tokens, allowing DAO creators to add any token as a payment method for their DAO. When users buy tokens using the `buyGovernanceTokenERC20DAO()` function, the owner takes a portion of the payment as a 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
initialization
true
false
## Low: Remove comments which no longer apply ### Description Comments which no longer apply should be removed as they are now misleading. File: `L1MessageServiceV1.sol` ```solidity // @audit `claimMessage` no longer uses `_messageSender` so these comments are incorrect * @dev _messageSender is set temporarily whe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Medium: Contract Owner Can Arbitrarily Change Minting Fees and Interest Rates ### Description The `issueFeeRate` and `interestRate` variables can both be changed by the EtherCollateral contract owner after loans have been opened. As a result, the owner can control fees such that they equal/exceed the collateral 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...
solodit_api
high
DOS
false
true
_Submitted by 0x1f8b, also found by rfa, berndartmueller, BowTiedWardens, csanuragjain, Lambda, neumo, and StErMi_ **Note: issues #[283](https://github.com/code-423n4/2022-06-yieldy-findings/issues/283), [115](https://github.com/code-423n4/2022-06-yieldy-findings/issues/115), [82](https://github.com/code-423n4/2022-06...
Code4rena
4
Yieldy
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
token
true
false
_Submitted by WatchPug_ Under certain circumstances, e.g. `annualizedFee` being minted to `feeBeneficiary` between the time user sent the transaction and the transaction being packed into the block and causing amounts of underlying tokens for each basketToken to decrease. It's possible or even most certainly that the...
Code4rena
5
Amun
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `AdaptiveIRM` has been integrated incorrectly and will not work as expected ### Description **Details** [Morpho.sol#L483-L509](https://github.com/morpho-org/morpho-blue/blob/eb65770e12c4cdae5836c0027e35b9c82794c3eb/src/Morpho.sol#L483-L509) function _accrueInterest(MarketParams memory marketParams, Id 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
overflow
false
false
## Low: uint256 Casted to Enum ### Description In the `RizLendingPool` contract, the [`repay` function](https://github.com/radiant-capital/riz/blob/65ca7bb55550d30388e2b2277fefe5686ab7e4e8/src/riz-lending/RizLendingPool.sol#L291) accepts, among other parameters, the `rateMode` input, whose type is `uint256`. However, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
rounding
true
false
## Low: Precision loss on large values transformed between log2 scale and the normal scale
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Allowance check always true in ERC5095 redeem ### Description _Submitted by Lambda, also found by 0x29A, Chom, cryptphi, itsmeSTYJ, kenzo, kirk-baird, and sashik_eth_ In `redeem`, it is checked that the allowance is larger than `underlyingAmount`, which is the return parameter (i.e., equal to 0 at that point...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: (HAL-26) Magic Numbers and Lack of Scientific Notation ### Description In programming, magic numbers refer to the use of unexplained numerical or string values directly in code, without any clear indication of their purpose or origin. The use of magic numbers can lead to confusion and make the code more diffic...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
initialization
true
false
## Gas: `KnightingRound.initialize()`: should use memory instead of storage variable ### Description See `@audit` tag:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Array Lengths May Mismatch ### Description In `CombinedPoliciesPolicy`, the policy administrator can set the allowed combinations and policies using an `address[]` array for the policies and a double boolean array `bool[][]` for the allowed combinations. The data structure `bool[][]` for the input [`_allowed...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: deposit Will Not Work for Non-EVM Target Chains ### Description The [`deposit` function](https://github.com/across-protocol/contracts/blob/b84dbfae35030e0f2caa5509b632c10106a32330/contracts/SpokePoolPeriphery.sol#L189) of the `SpokePoolPeriphery` contract allows users to deposit native value to the SpokePool. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: tokens with no return value will fail to transfer ✓ Fixed ### Description Although the ERC20 standard suggests that a transfer should return `true` on success, many tokens are non-compliant in this regard. In that case, the `.transfer()` call here will revert even if the transfer is successful, because 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
medium
other
false
false
## Medium: Accessing an interface using the `uint256` type ### Description At the lines: - https://github.com/1inch/1inch-contract/blob/93868c483180cf74fc2551568f0396938b3eeaa8/contracts/UnoswapV3Router.sol#L163 и - https://github.com/1inch/1inch-contract/blob/93868c483180cf74fc2551568f0396938b3eeaa8/contracts/Unoswa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
reentrancy
true
true
## Critical: `GMXV2_Module` withdrawal functionality is broken due to missing callback implementation ### Description The `GMXV2_Module` contract's withdrawal functionality is broken because it sets itself (**`address(this)`**) as the callback contract for GMX V2 withdrawals without implementing the required callback ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A single emissionCap is not suitable for different tokens reward if they have different underlying decimals ### Description At MultiRewardDistributor, different rewards token can be set up for each mToken, which is the assetToken or debtToken of the lending protocol. When a reward token is set up, it's emis...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiple initialization of Collateral contract ### Description _Submitted by 0x1f8b_ #### Impact The attacker can initialize the contract, take malicious actions, and allow it to be re-initialized by the project without any error being noticed. #### Proof of Concept The `initialize` method of the` Coll...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Message Mode Lets Anyone Drain Available Native Tokens From Any User Contract ### Description **Update** Fixed as recommended. **Update** Marked as "Fixed" by the client. Addressed in: `489b5678a8ced064b46de4e852a175b26aecee05`. **File(s) affected:**`user.fc` **Description:** Any address can send...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Query Race Condition ### Description ## Query Access for Latest scStore When requesting information for the current block height, query access the latest scStore. However, the query may be executed in parallel to Commit, which modifies the contents of scStore. This introduces a race window between deciding 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
high
overflow
true
false
## High: `AccountantDelegate`: `sweepInterest` function will destroy the cnote in the contract. ### Description _Submitted by cccz, also found by WatchPug_ When the user borrows note tokens, the AccountantDelegate contract provides note tokens and gets cnote tokens. Later, when the user repays the note tokens, the cn...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: If the dao removes a bridge, user's deposited tokens for that bridge will be lost. ### Description If the dao removes a bridge for any (non-malicious) reason, user's deposited tokens for that bridge will be lost. ### Impact User's deposited ```RETH``` or ```STETH``` in that bridge will be lost, as the user do...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: `TotalBalanceEnforcer` validation bypass when mixed with state modifying enforcers ### Description Total Balance Change Enforcers fail to validate the final balance state when mixed with state-modifying enforcers (such as `NativeTokenPaymentEnforcer`) in delegation chains. The early return bypass in `afterAl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
liquidation
true
false
## Gas: Using XOR (^) and AND (&) bitwise equivalents ### Description Given 4 variables a, b, c and d represented as such: 0 0 0 0 0 1 1 0 <- a 0 1 1 0 0 1 1 0 <- b 0 0 0 0 0 0 0 0 <- c 1 1 1 1 1 1 1 1 <- d To have `a == b` means that every 0 and 1 match on both variables. Meaning that a XOR (operator ^) wou...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiple Contracts Per File. The Mimirtoken file contains few independent contracts, libraries, and interfaces: Context, Ownable, SafeMath, Address, IERC20, ERC20, and MIMIRToken. This does not follow the Solidity style guide and makes the code harder to read. ### Description **Recommendation**: Use the separa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Only `guardian` can change `guardian` ### Description `guardian` is mentioned as an area of concern in the [docs](https://github.com/code-423n4/2023-07-moonwell#overview): > Specific areas of concern include: > > > * TemporalGovernor which is the cross chain governance contract. Specific areas of concern...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent use of SafeERC20 library functions ### Description Throughout the `StrategyAerodromeGaugeGreen` contract, there is consistent use of the `SafeERC20` library to handle edge cases on ERC20 token that may no be fully compliant. However, in the `retireStrat()` function, the ERC20 token transfer is per...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
token
false
false
## Gas: Check if `amount` is greater than zero before performing `safeTransfer` in `L1ERC20Bridge.sol` ### Description [File: ethereum/contracts/bridge/L1ERC20Bridge.sol](https://github.com/code-423n4/2023-10-zksync/blob/1fb4649b612fac7b4ee613df6f6b7d921ddd6b0d/code/contracts/ethereum/contracts/bridge/L1ERC20Bridge.so...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect EIP-712 Encoding ### Description The [`PeripherySigningLib` library](https://github.com/across-protocol/contracts/blob/b84dbfae35030e0f2caa5509b632c10106a32330/contracts/libraries/PeripherySigningLib.sol#L6) contains the EIP-712 encodings of certain types as well as helper functions to generate 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
other
false
false
## Low: Vulnerabilities Reported on Imported Packages ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: While we do regularily update packages with dependabot, this package in particular has breaking changes with this upgrade. Have tried multiple times 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
false
false
## Low: Missing fee amounts verification ### Description In the `flashWithdraw()` function from the `InceptionVault` contract, the `fee` and `protocolWithdrawalFee` variables are not verified to be greater than zero. Although with the current implementation, it is highly unlikely to have a fee value of zero (for examp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users can avoid paying fees for ETH swaps ### Description _Submitted by pants_ Users can call `Swap.swapByQuote()` to execute an ETH swap (where they receive ETH) without paying swap fee for the gained ETH. They can trick the system by setting `zrxBuyTokenAddress` to an address of a malicious contract and ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
true
false
## Low: Base Rate Decay may be slower than intended - Chaduke ### Description **Note** This is an already known finding from ETHOS (Liquity Fork) **Impact** `_calcDecayedBaseRate` calls `_minutesPassedSinceLastFeeOp` which rounds down by up to 1 minute - 1 https://github.com/liquity/bold/blob/57c2f13fe78f914cab3d97...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Withdraw Message Would Be Replayable On A Different Chain ### Description **Severity**: High **Status**: Resolved **Description** The message digest calculated for the withdraw includes `msgSender`, `amount`, `expires`, `nonce`, and `address(this)`, and then the `withdrawSigner` is recovered. But this m...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: Use constants for variables whose value is known beforehand and is never changed ### Description When you declare a state variable as a constant, you're telling the Solidity compiler that this variable's value is known at compile time and will never change during the contract's lifetime. Because of this: The 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
other
true
false
## Low: Consider implementing “sanity checks” as assertions ### Description The `EdgeChallengeManagerLib` contract contains several instances of code that perform “sanity checks” using `require` statements. These require statements check invariants (i.e., conditions that should always be true or false). However, as sh...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Variable declaration order in LzApp. ### Description **Description** In contract LzApp.sol, at line 17 the variable failed Messages is declared after the internal function_NonblockingLzApp_init. Maintain a consistent order of variable and function declarations throughout the project. **Recommendation** Move...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiple Functionalities Will Break If USDC Turns On Fee-On-Transfer ### Description **Severity** - Medium **Status** - Resolved **Description** In the deposit contract , when depositing we perform the following → But if USDC (which is upgradeable) turns on its feature for fee-on-transfer , the amount ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unbounded loop in TwapOracle.update can result in oracle being locked ### Description _Submitted by TomFrenchBlockchain, also found by pauliax_ #### Impact Loss of ability of `TwapOracle` to update should too many pools be added. #### Proof of Concept `TwapOracle` allows an unlimited number of pairs to ...
0