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
false
false
## Low: Magic values ### Description Some code fragments use magic values to determine a trove status. It degrades the readability of the code: - https://github.com/Threshold-USD/dev/blob/800c6c19e44628dfda3cecaea6eedcb498bf0bf3/packages/contracts/contracts/BorrowerOperations.sol#L508 - https://github.com/Threshold-US...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Adjusting "_I_" will create a sandwich opportunity because of price changes ### Description Adjusting the value of "I" directly influences the price. This can be exploited by a MEV bot, simply by trading just before the "adjustPrice" function and exiting right after the price change. The profit gained from ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Some Erc20 Tokens Do Not Support Transfers with Permission Signatures ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Understood. We will remove this function to be used for only migration. **File(s) affected:**`TokenVault.sol` **Descriptio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 check that the deposit address is not a multisig ### Description There is a missing check that the deposit address is not a multisig in `validateDepositInputs`. As we can see, we only ensure that the `addrs` is not equal to 0 before proceeding, which allows a multisig deposit address to be used. ### 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: First added reserve asset cannot be added again with the other reserve type ### Description Reserves list has been updated to contain an address and a reserve type (rehypothetication enabled/disabled). However, in the condition checking if a reserve has been added (in the first token special case), only the as...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
true
## High: `Registry.sol` generate clone `Anchor.sol` never work. Profile owner cannot use their `Anchor` wallet ### Description Source: https://github.com/sherlock-audit/2023-09-Gitcoin-judging/issues/380 ## Found by 0xG0P1, 0xnirlin, Arz, KingNFT, VAD37, niluk, pinalikefruit, zach030 User create new profile through...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Redundant assert ### Description The previous conditionals: - `if (lPercentDiff = lRewardThresholdWAD * MAX_REWARD_MULTIPLIER)` indicate that `lPercentDiff` must be between `lRewardThresholdWAD` (inclusive) and `lRewardThresholdWAD * MAX_REWARD_MULTIPLIER` (exclusive). This is the assertion made and is theref...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lender can bypass refinancing and rollover on all their loans ### Description The refinancing mechanism enables the automatic origination of a new loan with a more borrower-favorable interest rate. This mechanism incentivizes lenders to not set tremendous interest rates on their loans. However, this refinancin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ClearingHouse May Whitelist Duplicate AMMs ### Description _Submitted by kirk-baird_ `ClearingHouse.sol` allows the Governance protocol to whitelist `AMM.sol` contracts. These contracts allow users to earn profits based on the price of a base asset against a quote asset. It is possible to add the same `A...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
cross-chain
false
false
## High: Relayer Can Set Arbitrary Supported Tokens for Upward Trades on L2 ### Description **Update** Addressed in: `f0ce3b728e76ae15ac71c5809a28f2a283a54596`. **File(s) affected:**`PheasantNetworkBridgeChild.sol` **Description:** When a relayer executes `PheasantNetworkBridgeChild.acceptUpwardTrade()`, it supplies...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Unnecessary initialization of `newProposalId` ### Description Unnecessary initialization of `newProposalId` to zero in `proposeSimpleGrant()`, `proposeDirectGrant()` `proposeAdvancedGrant()`. https://github.com/MetaLex-Tech/borg-core/blob/9074503d37cfa1d777ef16f6c88b84c98b4f54eb/src/implants/daoVetoGrantImplan...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Upgrading modules via `executeAction()` will brick all existing rentals ### Description All assets from rentals pre-upgrade will be locked. Users can't recover them as old rentals can't be stopped. ### Proof of Concept The protocol has a functionality to [upgrade modules via `Kernel::executeAction()`](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
medium
other
true
false
## Medium: `_accumulateFunding()` maker will get the wrong amount of funding fee. ### Description Source: https://github.com/sherlock-audit/2023-07-perennial-judging/issues/139 ## Found by WATCHPUG ## Vulnerability Detail The formula that calculates the amount of funding in `Version#_accumulateFunding()` on the 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
token
true
false
## Medium: TRST-M-8 The vault cannot operate with popular non-conforming ERC20 tokens due to unsafe transfers ### Description **Description:** In Vault, the admin can deposit and withdraw tokens using the functions below: However, it uses `transfer()`/`transferFrom()` directly, instead of using a safe transfer librar...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
true
false
## Low: Math always revert for tokens with 39 or more decimals ### Description In the `initProxy` function of the `TokenisableRange.sol` contract, if `TOKEN0` or `TOKEN1` has 39 or more decimals, the math will overflow, causing the entire function to revert. ### Impact This makes it impossible to use this protocol fe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of two-step procedure for critical operations is error-prone ### Description Several critical operations are done in one function call. This schema is error-prone and can lead to irrevocable mistakes. For example, `VotingEscrow.transfer_ownership` changes the contract’s owner without any verification: `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Do not allow the LeverageMacroBase to override the approval for eBTC/stETH during the _- doSwap execution ### Description The `LeverageMacroReference` contracts that inherit from `LeverageMacroBase` execute some crucial approvals to allow the contract to repay the flashloan operations: - Set allowance for fla...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Alchemix : BlockSlope variable in checkpoint() routine is rounded down to zero ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/VotingEscrow.sol Impacts: - Griefing (e.g. no profit motive for an attacker, but damage to the users or 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
flash-loan
false
false
## Medium: Event is probably missing ### Description ##### Description: At the line https://github.com/CoverProtocol/cover-flashloan/tree/bea8cd444aa1791a97b2a81078dc887a835f7949/contracts/CoverFlashBorrower.sol#L134-L137 `CoverFlashBorrower`'s method `setFlashLender()` should probably emit an event. ##### 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
low
token
false
false
## Low: VerifiedPoolsPositionManager does not override tokenURI ### Description Severity: Low Risk Context: VerifiedPoolsPositionManager.sol#L28-L32, VerifiedPoolsPositionManager.sol#L116-L130, ERC721Permit_v4.sol#L104-L107 Description: The VerifiedPoolsPositionManager does not override the tokenURI function from Unis...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Duplicated code ### Description The internal logic of the `poolTokenAmountToBurn` functions in the [`BNTPool`](https://github.com/bancorprotocol/contracts-v3/blob/b2224595afab14827ee065cb65a1444d61689fb3/contracts/pools/BNTPool.sol#L294-L308) and [`PoolCollection`](https://github.com/bancorprotocol/contracts-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...
solodit_api
medium
front-running
true
false
Source: https://github.com/sherlock-audit/2023-02-hats-judging/issues/34 ## Found by obront ## Summary Changing the toggle address should not change the current status unless intended to. However, in the event that a contract's toggle status hasn't been synced to local state, this change can accidentally toggle th...
Sherlock
4
Hats
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Ineffective Unused Gas Penalty [core] ### Description Operations specify [several gas limits](https://github.com/eth-infinitism/account-abstraction/blob/9879c931ce92f0bee1bca1d1b1352eeb98b9a120/contracts/interfaces/PackedUserOperation.sol#L10-L16) for each part of the lifecycle. The `callGasLimit` and `paym...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Forced deposit from an account exceeding available assets ### Description It is possible get an exception due to throw from another contract while depositing. - https://github.com/orbxball/stablecoins-3pool/blob/adeb776933c6cb3b8306239cc3357d4c6239a88d/contracts/StrategyDAI.sol#L207 - https://github.com/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...
skyward_49k
high
other
true
false
## High: Failure to validate golden ticket admin cert ### Description Report type: Blockchain/DLT Target: https://github.com/shardeum/shardus-core/tree/dev Impacts: - Network not being able to confirm new transactions (total network shutdown) - Taking over majority of the network by single authority - Modification ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `relay()` is not declared as `payable` ### Description In `SecurityCouncilNomineeElectionGovernor`, although `relay()` makes calls with `AddressUpgradeable.functionCallWithValue()`, it is not declared as `payable`: [SecurityCouncilNomineeElectionGovernor.sol#L254-L261](https://github.com/ArbitrumFoundation/go...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
critical
input-validation
true
true
## Critical: Future epoch cache manipulation via `calcAndCacheStakes` allows reward manipulation ### Description The `AvalancheL1Middleware::calcAndCacheStakes` function lacks epoch validation, allowing attackers to cache stake values for future epochs. This enables permanent manipulation of reward calculations by loc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Parsing of Token Path Between Gearbox and Uniswap ### Description Note, this issue was also disclosed for the Gearbox V1 deployment via Immunifi’s bug bounty program during the course of this review. It is further detailed in this post-mortem. It is possible to manipulate the path parameter passed ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
true
false
## Medium: Incorrect oracle truncation allows successive observations to exceed `MAX_ABS_TICK_MOVE` ### Description **Description:** The Bunni `Oracle` library is a modified version of the Uniswap V3 library of the same name. The most notable difference is the inclusion of a constant `MAX_ABS_TICK_MOVE = 9116` which 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: Order of Layout ### Description **Description** Layout contract elements in TokenVesting and MultiSigWallet contracts are not logically grouped. The contract elements should be grouped and ordered in the following way: Pragma statements; Import statements; Interfaces; Libraries; Contract. Inside each 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
other
false
false
## Medium: Overshadowing and Uncaptured Returns ### Description In the [`bootloader` contract](https://github.com/matter-labs/system-contracts/blob/4ad1f26ae205d5a973216d141833e0ac37d72ec8/bootloader/bootloader.yul), the function `setTxOrigin` has a return value `success`, which is overshadowed by a [local variable](h...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: `SwingTraderManager.getTokenBalances()`: 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
medium
access-control
false
false
## Medium: UniswapPCVDeposit can burn PCV FEI without Burner role ### Description The external [`deposit`](https://github.com/fei-protocol/fei-protocol-core-internal/blob/f54d7bb07c55adb78e2e142e7044f60090bb7602/contracts/pcv/UniswapPCVDeposit.sol#L50) and [`withdraw`](https://github.com/fei-protocol/fei-protocol-core...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users can avoid paying any fees when using ERC20EnabledLooksRareAggregator for Seaport ### Description ### Impact The `order.price` in the parameter `tradeData` is not used as the actual token amount sent to the seaport market and also not checked if those are equal when using the `ERC20EnabledLooksRareAgg...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Creators can steal sale revenue from owners’ sales ### Description ## Lines of code https://github.com/code-423n4/2022-02-foundation/blob/a03a7e198c1dfffb1021c0e8ec91ba4194b8aa12/contracts/mixins/NFTMarketCreators.sol#L158-L160 https://github.com/code-423n4/2022-02-foundation/blob/a03a7e198c1dfffb1021c0e8ec9...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Converter cannot be changed in Redeemer ### Description Redeemer's setConverter() can be used to switch the converter contract, for example when new type of interest bearing token is introduced as Converter employs hard coded logic to deal with various types of IBTs. However new converter cannot be function...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: MultiToken name and symbol cannot be set ### Description The MultiTokenStorage contract defines a name and symbol per token ID, but these values can never be set; they can only be read through the following functions: - `MultiTokenDataProvider.name(uint256 tokenId)` - `MultiTokenDataProvider.symbol(uint256 tok...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 event emission ### Description The `_newAdmin` method in `SimpleAdministrator` does not emit an event, but it should, because it is important that admin additions can be tracked easily off-chain. Emit a proper event in `_newAdmin`. Same thing for the `whitelistOffChain` method in `Whitelist` - it shoul...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Proportionality Violation in Deposit and Redeem ### Description ## YieldToken Issues with Proportionality In YieldToken, the expected logic of proportionality between assets and shares is violated. In the deposit process, regardless of the assets that are passed by the user, the number of shares minted is ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
false
false
## Low: Marginal penalty may be scaled even if the threshold is equal to the absorption threshold ### Description If a trove becomes eligible for liquidation, a penalty is applied to punish users who have insolvent positions. When computing the absorption penalty, the `get_absorption_penalty` function is used. As 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
access-control
true
true
## Medium: Overflow is possible should the node 's available liquidity + pending interest exceed type(uint128).max ### Description The subtraction and addition of a node's available liquidity when it's used and restored are wrapped in unchecked blocks. Because the restoration may include pending interest, it's possible...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
false
false
## Medium: Centralization Risk: Funds can be frozen when critical key holders lose access to their keys ### Description _Submitted by WatchPug_ The current implementation requires trusted key holders (`isTrusted[msg.sender]`) to send transactions (`initRedeemStable()`) to initialize withdrawals from `EthAnchor` befor...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Blacklisted
true
true
## Lines of code https://github.com/code-423n4/2022-05-factorydao/blob/db415804c06143d8af6880bc4cda7222e5463c0e/contracts/PermissionlessBasicPoolFactory.sol#L242-L256 https://github.com/code-423n4/2022-05-factorydao/blob/db415804c06143d8af6880bc4cda7222e5463c0e/contracts/PermissionlessBasicPoolFactory.sol#L224-L234 ...
Code4rena
3.666667
FactoryDAO
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Attacker Can Initialize the Implementation ### Description The contracts are upgradable, inheriting from the Initializable contract. However, the current implementations are missing the `_disableInitializers()` function call in the constructors. Thus, an attacker can initialize the implementation. Usually, 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
signature
false
false
## Low: [15] Added Measures When Calling Seaport Functions ### Description A high risk edge case bug associated with the Seaport `_validateOrderAndUpdateStatus()` was found in the [May code4rena audit contest.](https://code4rena.com/reports/2022-05-opensea-seaport#h-01-truncation-in-ordervalidator-can-lead-to-resettin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The Excess ETH in `buyToken()` Is Not Returned to the User ### Description The `buyToken()` function in the `Swapper` contract allows users to buy tokens using ETH: ```solidity function buyToken( address recipient, IERC20 token, uint256 amountEthIn, uint256 amountOutMinimum, address referer ) pub...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unnecessary storage write in _pop function. ### Description **Description** Gumball.sol: function_pop(), line 215. Gumbar.sol: function _pop(), line 205. On line 215, an element to be removed is being written to the last element of the array. Since, this element is removed in the next line of code, the writ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `setUserEMode` should check if `categoryId` is the same to avoid unnecessary validation ### Description When the user calls `setUserEmode`, the execution doesn't check if the provided `categoryId` is the same as the user's previous configuration. This will require users to perform unnecessary health factor val...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Invalid Beneficiary ### Description The [`setPaymentDelegation` function](https://github.com/celo-org/celo-monorepo/blob/0fea04630b9c7d4920b0fbe0ffe53e3438a0e9db/packages/protocol/contracts/common/Accounts.sol#L327) of the `Accounts` contract allows a validator to set the zero address as their beneficiary 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
high
overflow
true
false
## High: Debt Is Added Instead of Subtracted in positionPeriodSecondsInRange ✓ Fixed ### Description When liquidity is added to or removed from a position, the `secondsDebtX96` member of the reward information gets updated. The intention here is to have a *corrective* value that allows to calculate the period\-seconds...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use `safeTransferFrom` Instead of `transferFrom` for ERC721 ### Description [GolomTrader.sol#L236](https://github.com/code-423n4/2022-07-golom/blob/7bbb55fca61e6bae29e57133c1e45806cbb17aa4/contracts/core/GolomTrader.sol#L236) Use of `transferFrom` method for ERC721 transfer is discouraged and recommended 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
reentrancy
false
false
## Medium: checkpoint can be re-entered ### Description Most public functions of Hyperdrive have reentrancy guards, but the `checkpoint` function does not. This oversight can lead to changes in important contract states, such as reserves, which may interfere with other functions that do not expect these states to chan...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: CONTRACTS MIGHT LOSE ADMINISTRATOR FUNCTIONALITY ### Description The `deny` function is not checking if there are any other active `wards` before setting `wards[usr] = 0`. The contract will lose administrator functionality when the only `ward` user calls this function. Code Location ------------- [`OSM.sol,`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
overflow
true
false
## Gas: [9] Use a more recent version of solidity ### Description Use a solidity version of at least 0.8.0 to get overflow protection without `SafeMath` Use a solidity version of at least 0.8.2 to get simple compiler automatic inlining Use a solidity version of at least 0.8.3 to get better struct packing and cheaper 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
access-control
true
false
## Medium: Unrestricted “On-Behalf” Withdrawal ### Description **Severity**: Medium **Status**: Resolved **Description (Contracts & Functions)**: Evoq.sol → withdraw() / internal call _withdraw() PositionsManager.sol → withdrawLogic() These functions let the caller specify _supplier and _receiver with no checks con...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Uniswap positions minted to `ParticlePositionManager` are stuck ### Description Using the `NonfungiblePositionManager` directly a user could potentially mint a position directly to `ParticlePositionManager` by having `ParticlePositionManager` as the `receiver` when calling [`NonfungiblePositionManager::mint`](...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
logic
true
false
## Low: Lack of Duplicate ID Check in combineShorts Function ### Description Lack of Duplicate ID Check in combineShorts Function". ### Impact The impact of not checking for duplicate IDs in the combineShorts function could potentially be significant. If duplicate IDs are provided, the same short record could be proc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: External Calls Have a Hard-Coded Gas Limit ### Description Gas limits on calls are considered a bad practice for the following reasons: * Gas costs have changed over time (e.g., as per [EIP-1884](https://eips.ethereum.org/EIPS/eip-1884)). * EVM side-chains and L2s can have different gas costs. This has previ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Linked list iteration can be simplified ### Description In the two linked list libraries, the `replace()`, `remove()`, `clear()`, `size()`, and `list()` functions traverse the linked list using a cursor that is initialized to `self[SENTINEL_VALUE]` (where `SENTINEL_VALUE` is either `SENTINEL_BYTES` or `SENTINEL...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Check user balance at beginning to save gas ### Description Function `_withdraw` defined at line https://github.com/convex-eth/platform/blob/754d9e700693246275b613e895b4044b63ce9ed5/contracts/contracts/Booster.sol#L309 needs to burn wrapper tokens and back LP tokens to user, for now in case if user have to suf...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary override keyword. ### Description **Description** Since Solidity 0.8.0 release, we can remove the override keyword to implement interface functions. Location: ./core/contracts/AdaswapERC20.sol ./core/contracts/AdaswapFactory.sol ./core/contracts/Adaswap Pair.sol **Recommendation** Remove the unn...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Database#Recoverable does not use ckptRoot parameter ### Description ## Severity: Low Risk **Context:** `trie/triedb/pathdb/database.go#L443` **Description:** The `ckptRoot` parameter is not used in this function. I'm a little concerned that we might be missing a check here. **Recommendation:** Either use t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: MISSING PAUSEABLE FUNCTIONALITY ### Description Even code that has been thoroughly audited and tested may contain bugs or defective code parts. These flaws are frequently undetected until they are employed in an attack by an opponent. Because immutability is one of the basic characteristics of the blockchain, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Risk of underflow. ### Description **Description** StakingB_1.sol Line 579 Each user can use the unstake function even if they have nothing to unstake, so everyone can decrease the “amountOfUsers” variable that can cause an underflow and won’t allow other users to unstake. **Recommendation**: Check if “use...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Payable Functions ### Description **Update** Marked as "Fixed" by the client. Addressed in: `8857d8f902674549878485115f2110d1a2dcd2d5`. **File(s) affected:**`BondManager.sol` **Description:**`payable` keyword in a function allows the caller to send funds to the smart contract when calling that function. Howe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `TokenHandler.setToken` ERC20 missing return value check ### Description _Submitted by cmichel_ The `setToken` function performs an `ERC20.approve()` call but does not check the `success` return value. Some tokens do **not** revert if the approval failed but return `false` instead. The impact is that toke...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Infinite Loop Prevents Interest Accrual ### Description The [`_accrueInterest` function](https://github.com/Ion-Protocol/ion-protocol/blob/98e282514ac5827196b49f688938e1e44709505a/src/IonPool.sol#L368) of the `IonPool` contract loops over all collateral types and updates the data associated with them. If there...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: engineering during `adapter` execution can be used to maliciously split critical message batches ### Description An attacker can maliciously split batched messages that must execute atomically by providing a targeted gas amount during cross-chain message delivery. Pool managers are expected to use batched 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
low
initialization
true
true
## Low: _disableInitializers() is missing in MiscModule's and MarketFactory's constructor ### Description Based on the implementation of `MiscModule`, one can guess that this contract would leave behind an upgradable contract and that is why there is an `initialize` function defined as well. Moreover, in the test repo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
logic
false
false
## Medium: Overwriting of values possible in `VotingEscrowSidechain` ### Description **Severity**: Medium **Status**: Acknowledged **Description** In `VotingEscrowSidechain.sol`, the `_executeMessage()` function should be used with caution as it can lead to overwriting of user's positions if called twice for the 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
dos
false
false
## Medium: Operator May DoS the Withdrawal or Make It More Expensive ### Description While collecting fees, the operator may: 1. cause DoS for the funds/rewards withdrawal by reverting the call, thus reverting the whole transaction. By doing this, it won’t be receiving any rewards, but so the treasury and withdrawer...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Caller supplied `ControlTower` lets anyone be the migrator ### Description The migration and reentrancy functions verify `isPositionMigrator(msg.sender)` against a caller-provided `IControlTower` parameter instead of the market’s trusted `controlTower` state. An attacker can pass a fake `ControlTower` that al...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
reentrancy
false
false
## High: Reentrancy in `optimisticGrantImplant` ### Description The `createDirectGrant` function makes external calls (ETH or ERC20 transfer) before updating the `approvedToken.amountSpent`, which allows malicious owners of BORG_SAFE to transfer a much larger part of the funds and break the logic of the optimistic gra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Existing Circuit Breaker Implementation Allow Faster Taker To Extract Payout Tokens From Market ### Description The current implementation of the circuit breaker is not optimal. Thus, the market maker will lose an excessive amount of payout tokens if a quoted token suddenly loses a large amount of value, ev...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unchecked Return Value of transferFrom in requestRedemption ### Description **Severity**: Medium **Status**: Resolved **Description** The transferFrom function on Hub.sol is called to transfer tokens from the user to the operatorBurner address. However, this function’s return value is not checked to conf...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: Using `> 0` costs more gas than `!= 0` when used on a `uint` in a `require()` statement ### Description This change saves [6 gas](https://aws1.discourse-cdn.com/business6/uploads/zeppelin/original/2X/3/363a367d6d68851f27d2679d10706cd16d788b96.png) per 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
medium
oracle
false
false
## Medium: Violations of ERC-7562 Rules ### Description **Update** The fix of [PIM-1](https://certificate.quantstamp.com/full/pimlico-erc-20-paymaster/ce056730-3f75-4711-9e81-c5dbfdfce74d/index.html#findings-qs1) introduced another ERC7562 storage violation in `ERC20PaymasterV06.sol`, as `block.basefee` needs to be ma...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
false
false
## Low: Project contains vulnerable dependencies ### Description Running cargo-audit over the codebase revealed that the system under audit uses crates with Rust Security (RustSec) advisories and crates that are no longer maintained. | RustSec ID | Description | Dependency | CVSS Score | |------------|-------------...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `salt` inefficiency in `quoteCreateAndAddLiquidity()` mismatches address ### Description _Resolved_ `TokiQuoter.quoteCreateAndAddLiquidity()` mines a `salt` to ensure the PT address is greater than the `currency0` address for proper Uniswap V4 pool creation. However, the selected salt is inefficient as it wil...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
rounding
true
false
## Medium: variableBorrowIndex is only updated in _updateIndexes of the mini pool if currentLiquidityRate ### Description ## Non-zero Check in MiniPoolReserveLogic **Severity:** Medium Risk **Context:** MiniPoolReserveLogic.sol#L320-L340 **Description:** The second `if` block is nested in this context, althoug...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `externally_connectable` Field Missing in Chrome Extension ### Description **Update** Marked as "Fixed" by the client. Addressed in: `da09aa3`. **Description:** Most extensions have a very specified use case, and any calls to external services or websites should be limited. **Recommendation:** Ensure that 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
medium
other
false
false
## Medium: Use of outdated liability value in decreasePosition leads to account error ### Description Protocol ignores repaid liability when calling `LpPoolProcess.updatePnlAndUnHoldPoolAmount`. ### Impact Inaccurate accounting leading to fee overcharge on users. ### Recommendation Factor in the liability that has b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
false
false
## Low: Missing Zero-Address Checks ### Description When assigning an address from a user\-provided parameter, it is crucial to ensure that the provided address is not zero. Setting an address to zero is problematic because it has special burn/renounce connotations. This action should be handled by a separate function...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: EIP-712 typehash is incorrect for several functions in `MetaTxLib` ### Description In `LensHub.sol`, the second parameter of `setProfileMetadataURIWithSig()` is declared as `metadataURI`: [LensHub.sol#L119-L123](https://github.com/code-423n4/2023-07-lens/blob/main/contracts/LensHub.sol#L119-L123) However...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
true
false
## High: Correct migration ### Description In constructor, rights are granted to spend tokens, which should be canceled when migrating the strategy. - https://github.com/andy8052/yveCRV-vault/blob/6706b9ad45e71ee9014454419f229adfa6409f1d/contracts/Strategy.sol#L171 ### Recommendation It is recommended to add in funct...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Gas: Can use unchecked for increased efficiency ### Description For an improvement in efficiency, I believe these can be wrapped in `unchecked`: - If `currentTimestamp` is less than `spendPermission.start`, then this function will revert with `Before-SpendPermissionStart`. - `currentPeriodProgress` has to be less 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
gas
other
true
false
## Gas: [G‑15] Using `> 0` costs more gas than `!= 0` when used on a `uint` in a `require()` statement ### Description This change saves **[6 gas](https://aws1.discourse-cdn.com/business6/uploads/zeppelin/original/2X/3/363a367d6d68851f27d2679d10706cd16d788b96.png)** per instance. The optimization works until solidity...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Input Validation ### Description **Update** The client acknowledged the issue with the following comment: _"We acknowledge that `\_endBlock`, `\_maxAmount` and `\_merkleRoot` are not validated when setting windows on the `MerkleVerifier`. As setting windows is an administrative function, we are happy t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Users can hide liquidity in low-duration locks ### Description **Description:** One of the main features of SolidlyV2-memecore is the ability to lock liquidity for a period of time. This will transfer the liquidity to a `LockBox` contract, where it will be locked until the expiry (which is specified when locki...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Stale Price Data in `DivReducer` Due to Average Timestamp Calculation ### Description **Severity** **Impact:** High **Likelihood:** Low **Description** The `DivReducer` function within the system is designed to calculate the quotient of the prices from two input nodes, typically used for deriving asset ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Users can use nested PlaceOrders to drain the settlement contract ### Description The `spend_order_inputs` function of the `PixelswapFundingWallet` contract does not spend the input tokens of the nested `PlaceOrder` messages, which allows users to use nested `PlaceOrder` messages to drain all the assets from ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Avoid floating pragma unless creating libraries ### Description Per [SWC-103](https://swcregistry.io/docs/SWC-103/) compiler versions in pragmas should be fixed unless creating libraries. Choose a specific compiler version to use for development, testing and deployment, eg: ```diff - pragma solidity ^0.8.19; +...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ChainlinkAggregator: binary search for roundId does not work correctly and Oracle can even end up temporarily DOSed ### Description When a phase switchover occurs, it can be necessary that phases need to be searched for a `roundId` with a timestamp as close as possible but bigger than `targetTimestamp`. Fi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
false
false
## Medium: Unsupported fee-on-transfer tokens ### Description _Submitted by cccz_ When tokenAddress is fee-on-transfer tokens, in the \_burnTokenFrom function, the actual amount of tokens received by the contract will be less than the amount. ### Proof of Concept [AxelarGateway.sol#L284-L334](https://github.com/cod...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: `constant`s should be defined rather than using magic numbers ### Description See [original submission](https://github.com/code-423n4/2022-04-backd-findings/issues/182) for instances.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Centralization risks ### Description The project exhibits a centralized structure, primarily under the control of the `owner`, who possesses the ability to withdraw the project's liquidity in a single transaction. Additionally, other components within the project possess excessive control, posing further ri...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
storage
false
false
## Medium: MarmoStork does not check the size of the implementation contract address explicitly ### Description The [constructor of the MarmoStork contract](https://github.com/ripio/marmo-contracts/blob/d3fb5922a4f01e47d585343d08cccfad659b3584/contracts/MarmoStork.sol#L44) takes an array of bytes in the `_source` argu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Stream creation can be front run by governance increasing the protocol fee. ### Description The `setProtocolFee()` function of the `SablierV2Comptroller` contract takes effect immediately, allowing governance to potentially front run users creating a stream. A similar risk exists with the `setComptroller()` fu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
false
false
## High: Infinite Interest rate bug ### Description Report type: Smart Contract Target: https://testnet.snowtrace.io/address/0x96e957bF63B5361C5A2F45C97C46B8090f2745C2 Impacts: * Protocol insolvency * Direct theft of any user funds, whether at-rest or in-motion, other than unclaimed yield ## Description ## Brief...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: `Authorizable::_verify` should use EIP-712 typed structured data hashing ### Description [`Authorizable::_verify`](https://github.com/Accountable-Protocol/audit-2025-09-accountable/blob/fc43546fe67183235c0725f6214ee2b876b1aac6/src/access/Authorizable.sol#L46-L78) signs ad-hoc payloads that include `chainId`, b...
0