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
gas
other
false
false
## Gas: Public functions not called by the contract should be declared external instead ### Description Contracts are allowed to override their parents’ functions and change the visibility from external to public and can save gas by doing so. `setAllowedMsgSenders` - [AllowedMsgSenders.sol#L15](https://github.com/pr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Be aware of precompiles ### Description ## Security Advisory **Severity:** Low Risk **Context:** `BridgeFacet.sol#L785-L840` **Description:** The external calls by `_executeCalldata()` could call a precompile. Different chains have creative precompile implementations, so this could in theory pose probl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Referrals Might Be Able to Claim Their Fees When Not Supposed to ### Description In case the `requiredToken` in ReferralSystem is changed, there might be a window where referrals could be able to claim their fees when they are not supposed to. Example: The required token is ETH and `minimumBalance` is 1e18 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
liquidation
false
false
## Low: Allocation Functionality Does Not Explicitly Validate Non-Existing Strategy Address ### Description **Update** **Quantstamp:** The Sperax team implemented the verification mechanism to reject non-allowlisted strategy addresses. **Update** Marked as "Fixed" by the client. Addressed in: `acafbef7b12ecbdf13abd9...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Logic of `FiveFiftyRule::checkCanTransfer` and `FiveFiftyRule::canTransfer` can subtle differ ### Description **Description:** There are subtle differences in the `checkCanTransfer` and `canTransfer` functions on the `FiveFiftyRule` contract that could make the result of the execution on both of them differ. 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
liquidation
true
false
## Medium: Missing slippage protection in trade closure ### Description The closeTradeMarketCallback function (OstiumTradingCallback.sol) lacks slippage protection for the amount of collateral a trader receives when closing their position. When a trade closure is fulfilled (via a trusted forwarder), market conditions ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
false
false
## Low: Missing implementation for EigenPod `withdrawNonBeaconChainETHBalanceWei` in CasimirManager ### Description EigenLayer has a function `EigenPod::withdrawNonBeaconChainETHBalanceWei` that is intended to be called by the pod owner to sweep any ETH donated to EigenPod. Currently, there seems to be no way to with...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: In general a contract offerer or a zone cannot draw a conclusion accurately based on the spent offer amounts or received consideration amounts shared with them post-trasnfer ### Description When one calls one of the Seaport endpoints that fulfills or matches a collection of (advanced) orders, the used offer 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
gas
other
true
false
## Gas: cancelMultiple() checks status twice ### Description When canceling multiple streams using the `cancelMultiple()` function, we loop over the streams and perform the following check and action: ```solidity if (getStatus(streamId) == Lockup.Status.ACTIVE && isCancelable(streamId)) { _cancel(streamId); } ``` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Code Refactoring ### Description As `calculate_points_for_level` will never overflow within `u128`, it may be more efficient to simplify the calculations with a predefined constant array (`POINTS_FOR_LEVEL`) which directly holds the points required for each level. > _ example rust ### Remediation Incorporat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## High: Bypassing `maxTokensPerUser` limits for ERC721 DAO ### Description When users call `buyGovernanceTokenERC721DAO()` code performs max cap checks and then calls `mintToken()`. The issue is that there's no reentrancy guard and when code wants to mint tokens one by one by using `_safeMint()` user can reenter the ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Inconsistencies in Event Emitting Pattern ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: We are avoiding changing the order of variables of the events, because these contracts have been live for some time and there might be third party services...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
rounding
false
false
Source: https://github.com/sherlock-audit/2023-02-surge-judging/issues/125 ## Found by 0Kage, ck, usmannk, Ace-30, CRYP70, ak1, 0x52, chaduke, chainNue, dingo, rvi, ctf\_sec, carrot, unforgiven, y1cunhui, Chinmay, gryphon, GimelSec, peanuts, Bobface, gandu, Juntao, TrungOre, MalfurionWhitehat, cccz, Cryptor, VAD37, ...
Sherlock
5
Surge
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary duplicate state logic ### Description **Description:** The offer status is set two times to the same value in function `performUpkeep` and `sendFunctionsRequest`. Note that this kind of duplicate logic can cause a security issue in the future, e.g. the team might miss changing one of the two occure...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No need `assert` check in `_computeAssetAmounts()` ### Description The `assert` check in this function is not needed. Because this check will always be true because of this line: `postFeeAmount = assets - feeAmount;` **Context:**
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 may unintentionally remove liquidity under a phishing attack. ### Description The `removeLiquidity` function in `Pools.sol` uses `tx.origin` to determine the person who wants to remove liquidity. However, such a design is dangerous since the pool assumes that this function is called from the router, whi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
true
false
## Low: Lack of slippage protection in liquidity functions ### Description **Description:** The `addLiquidity` and `removeLiquidity` functions do not include any form of slippage protection, such as `minSharesOut` or `minTokensOut` parameters. This means users cannot guard against receiving significantly fewer shares ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [WP-H7] `InsuranceFund#syncDeps()` may cause users' fund loss ### Description _Submitted by WatchPug_ The `Governance` address can call `InsuranceFund.sol#syncDeps()` to change the contract address of `vusd` anytime. However, since the tx to set a new address for `vusd` can get in between users' txs to d...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
true
true
## Medium: Missing blacklist check in createBatchStream() ### Description A blacklist for token IDs has been added to the `createStream()` function of the StreamingNFT contract. However, the `createBatchStream()` function, which performs the same logic in a loop over multiple IDs, does not include this blacklist check...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Use low level `call()` to prevent gas griefing attacks when returned data not required ### Description **Description:** Using `call()` when the returned data is not required unnecessarily exposes to gas griefing attacks from huge returned data payload. For [example](https://github.com/Earnft/smart-contracts/bl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: Code Maturity ### Description ## Code Review Summary 1. In `refresh_one_price`, the `price_info` account is expected to be associated with a valid oracle mapping in the `oracle_mappings` account. Thus, if `price_info.key()` is equal to `Pubkey::default()`, the program should abort, as it indicates `price_info...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent bidding timelines ### Description The codebase lacks clear separation of time windows for bidding and settling the auctions. 1. **For English auctions:** - At `timestamp == listingEnd`, it is possible to call `settleAuction()`, but it is not possible to call `cancelListing()`. - `cancelList...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [17] Constants/Immutables redefined elsewhere ### Description Consider defining in only one contract so that values cannot become out of sync when only one location is updated. A [cheap way](https://medium.com/coinmonks/gas-cost-of-solidity-library-functions-dbe0cedd4678) to store constants/immutables in a sin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Checks for address of operations (&) that are going to be dereferenced immediately by the compiler. ### Description **Description** club-program/src/instructions/support_club.rs Line. 101. Suggests that the receiver of the expression borrows the expression. **Recommendation**: Change this to ctx.program_id
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Different Threshold can result in different hash but same config when using one owner ### Description **Impact** When calling `createSystemInstance`, a Safe with a single owner could be deployed, while passing a threshold that is above 1 Because of the check `if (instance.owners.length > 1) {` the threshold ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `timeoutPacket()` and `timeoutOnClose()` Incorrectly Enforce an Open Channel State ### Description **Update** Marked as "Fixed" by the client. Addressed in: `3b309dd6b4fd6339973c47979db114754387ef2b`. **File(s) affected:**`IBCChannelPacketTimeout.sol` **Description:** As the protocol is intended to suppor...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: forceDeallocatePenalty should not be set to 0 to avoid anyone to deallocate all the funds from the ### Description ## Adapters **Severity:** Medium Risk **Context:** VaultV2.sol#L90 **Description:** When `mapping(address adapter => uint256) public forceDeallocatePenalty;` is set to zero for an adapter,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
storage
false
false
## High: Theft of ETH of free floating SLOT holders ### Description A malicious user can steal all claimable ETH belonging to free floating SLOT holders... ### Proof of Concept Run it in the test suite with forge ### Tools Used Manual review / forge ### Recommended Mitigation Steps `+=` operator instead of `=` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
initialization
true
true
## Difficulty: Low ## Type: Timing ## Description The asset vault and promissory note ERC-721 tokens are minted via the `_mint` function rather than the `_safeMint` function. The `_safeMint` function includes a necessary safety check that validates a recipient contract’s ability to receive and handle ERC-721 tokens. Wi...
TrailOfBits
5
Arcade.xyz V3
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
input-validation
true
false
## Low: Lack of user-defined slippage and deadline parameters in `StakingContract::swapForQI` may result in unfavorable `QI` token swaps ### Description When a user interacts with `StakingContract` to provision a hosted node, they can choose between two methods:[`StakingContract::stakeWithAVAX`](https://code.zeeve.net...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
false
false
## Low: The checks-effects-interactions pattern is not respected ### Description The checks-effects-interactions is a pattern that is used to avoid direct reentrancy attacks. This pattern is currently violated throughout the contract. An example is in the redeem function where the `paymentToken` is transferred to the ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: New rounds can start while current round is active, trapping funds ### Description _Resolved_ `startNewRound()` is used to initiate a new round for a specific market. As you can see, it does not check if a round is currently ongoing and increases `currentRoundId`. The issue is that `endRound()` relies on 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...
cyfrin_structured
low
other
true
false
## Low: `MembershipFactory::owpWallet` lacks explicitly declared visibility ### Description [`MembershipFactory::owpWallet`](https://github.com/OneWpOrg/audit-2024-10-oneworld/blob/416630e46ea6f0e9bd9bdd0aea6a48119d0b515a/contracts/dao/MembershipFactory.sol#L20) has no declared visibility: ```solidity address owpWall...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 URI and URL prefix validation ### Description The `authority` of each `endo_avs` account is entitled to change the `name` and the `url` through the `update` method, as follows: `- programs/endoavs-program/src/contexts/manage.rs` ``` impl UpdateEndoAVSInfo { pub fn update(&mut self, name: Option, u...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Code could be simplified. ### Description **Description** StakingB_1.sol Line 609 “pool.lastRewardBlock = block.number” can be executed before condition so this operation shouldn’t be repeated twice in the code. **Recommendation**: Use just one realisation of “pool.lastRewardBlock = block.number” before 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
front-running
false
false
## Low: No MEV protection on sequencer ### Description The (centralized) sequencer, or sequencers of the future, are not prevented in any way to extract arbitrary MEV from transactions. ### Recommendation There are experimental approaches to MEV prevention for sequencers and other block producers. There are of course...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: UniswapV3 Pool address can be computed locally ### Description UniswapV3 deploys pools deterministically, which means that their addresses can be computed locally by using the token addresses and the fee. Instead of externally querying `IUniswapV3Factory.getPool()`, pool addresses can be using the [`PoolAddr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect comment on `TransferredDelegation` event ### Description In relation to L03, the `TransferredDelegation` event - is incorrectly commented that the withdrawn tickets are transferred to the caller / delegator wallet - lacks a description about the `to` indexed parameter.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
true
false
## Low: Function `distribute()` in CuratorRewardsDistributor is prone to frontrunning ### Description In the CuratorRewardsDistributor contract, any user can call the `distribute()` function through the frontend (as seen on the [demo site](https://base-sepolia.terminal.phiprotocol.xyz/cred/137)). The user would earn 1...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `RevenueHandler.checkpoint` isn't correctly ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/RewardsDistributor.sol Impacts: - Theft of unclaimed yield ## Description ## Brief/Intro `RevenueHandler.checkpoint` isn't correctly when `token...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Potential for Disrupted Access Control Due to Registry Mismatch ### Description **Update** The client acknowledged the issue and provided the following explanation: > The recommendation provided in the report was one of the original thoughts when designing the system. But we chose to not implement it this way...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Medium: MagicLpAggregator always returns lower than correct answer, leading to arbitrage loss ### Description MagicLpAggregator is used to price LP tokens for "closely-tied" underlying tokens. It calculates the price below: function latestAnswer() public view override returns (int256) { uint256 baseAnswerNomal...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use of `transferFrom` over `safeTransferFrom()` in NFT transfers ### Description _Resolved_ Reference Finding: https://solodit.cyfrin.io/issues/fuel1-5-use-safetransferfrom-instead-of-transferfrom-for-erc721-transfers-hexens-none-fuel-markdown The `PacketStore` contract utilizes the transferFrom method to tr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `LibSilo.transferStalk()` uses incorrect formula to roundUp ### Description It calculates proportional amount of Roots to transfer when transfers Stalk to another account. It wants to roundUp the division, however it's done incorrectly: ```solidity function transferStalk(address sender, address recipien...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: Stack variable used as a cheaper cache for a state variable is only used once ### Description If the variable is only accessed once, it’s cheaper to use the state variable directly that one time, and save the 3 gas the extra stack assignment would spend: `_shortPayout` - [PrePOMarket.sol#L82](https://github.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...
cyfrin_structured
low
upgrade
false
false
## Low: Upgradeable contracts which are inherited from should use ERC7201 namespaced storage layouts or storage gaps to prevent storage collisions ### Description The protocol has upgradeable contracts which other contracts inherit from. These contracts should either use: * [ERC7201](https://eips.ethereum.org/EIPS/eip...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Excessive code coupling ### Description During a transfer of Pool Tokens, the balance [gets added to the recipient’s committed draw tree](https://github.com/pooltogether/pooltogether-contracts/tree/78ac6863f4616269f7d04a0ddd1d60bdfc454937/contracts/ERC777Pool.sol#L459). If the recipient does not have any commi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Allocation size is unbounded, which can cause overflow revert in `getDistributions()` ### Description A new feature in Splits V2 is that, rather than allocations being required to total a given `totalAllocation` amount, the `totalAllocation` amount is inferred from the `allocations`. The `allocations` for a g...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: `_unwrap` in `MultiInvoker.sol` can revert every time in some cases which will make the users not being able to `_liquidate` or `_withdraw` with `warp` to true ### Description Source: https://github.com/sherlock-audit/2023-07-perennial-judging/issues/22 ## Found by Vagner `_withdraw` makes some wrong ass...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: New `PairFundingFeesV2` parameters are not validated ### Description During the initialization of new funding fee parameters in the `initializeV2()` function, these values are not sanity-checked against the given maximum values. Since a sanity check is performed in other setter functions when the `PairFunding...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
ZkSync
true
false
## Severity: High Risk ## Context ZkSyncHubConnector.sol#L49-L72 ## Description For ZkSync chain, L2 to L1 communication is free, but L1 to L2 communication requires a certain amount of ETH to be supplied to cover the base cost of the transaction (including the `_l2Value`) + layer 2 operator tip. The `sendMessage` f...
Spearbit
5
Connext
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
true
false
## High: The LayerZero implementation contract is the receiver of DAOs fees on cross-chain buy operations ### Description Whenever a cross-chain DAO is created via `createCrossChainERC20DAO()` or `createCrossChainERC721DAO()`, it assigns the `ownerAddress` as the `msg.sender`. The problem is that the `msg.sender` will...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Reduce copy-pasted code amount ### Description There are a lot of places when rebases' logic code is copy-pasted: - https://github.com/abyssfinance/abyss-lockup/blob/8fe1a854a9b01dc1aa35272b82fd22655d4f42d1/contracts/AbyssSafe3.sol#L223-L239 - https://github.com/abyssfinance/abyss-lockup/blob/8fe1a854a9b01...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Absence of Minimum delayBlocks ### Description The owner can accidentally set `delayBlocks` to `0` (or a very small delay block), which will collapse the whole fraud protection mechanism. Since there is no check for a minimum delay before setting a new delay value, even a low value will be accepted by 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
rounding
true
true
## Low: RFQ Fee Calculation Errors ### Description The function `verifyRFQFee()` uses `totalLegAmount` to calculate the `maxAllowedTradeFee` by multiplying it with the base price instead of the actual option trade price. Depending on the base price in comparison to the options asset trade price, this could result in 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
low
initialization
true
false
## Low: Dividend Calculation Uses Stale Token Balance in Subsequent `update()` Calls After `fees_deposit` with DRVS ### Description **Description:** The `fees_deposit()` function calls `client_community_state.update()` before `client_state.sub_crncy_tokens()`, causing `self.header.drvs_tokens` to be updated with a sta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: SDK function _randomHex returns low-quality randomness ### Description The Meson protocol software development kit (SDK) uses the `_randomHex` function to generate random salts for new swaps. This function accepts a string length as input and produces a random hexadecimal string of that length. To do that, `_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
medium
initialization
false
false
## Medium: Active LP may not be able to provide more liquidity ### Description The `lpDeposit()` function is called by liquidity providers (LPs) to deposit initial principal, add more principal, or adjust their risk percentage. However, due to the highlighted `require` check, an active LP won't be able to deposit more...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `StrategyPUSDConvex.balanceOfJPEG()`: use a `return` statement instead of `break` ### Description See `@audit` tag: Here, instead of making a memory operation with `availableBalance += extraReward.earned();` and then using `break;` before returning the memory variable `availableBalance`, it would've been mor...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `DistributionManagerSetup::canDistribute` should return false rather than reverting ### Description **Description:** `DistributionManagerSetup::canDistribute` currently returns true if distribution can proceed but reverts from within `_validateCanDistribute()` if it cannot: Rather than reverting, this view 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
medium
oracle
true
false
## Medium: Cross positions that exceed the allowed margin can be opened ### Description When users opens a cross order it's capped to a value. However, because of the math users can loop and maintain a position that's more than the allowed margin. ### Impact Since the actual margin is higher than the max allowed by "...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
cross-chain
false
false
## Medium: Peggo takes an Ethereum private key as a command-line argument ### Description Certain Peggo commands take an Ethereum private key (`--eth-pk`) as a command-line argument. If an attacker gained access to a user account on a system running Peggo, the attacker would also gain access to any Ethereum private ke...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Secondary markets for LP tokens are problematic ### Description **Description:** Unlike other AMM implementations, where fees are accrued in the LP token, Solidly V2 implements an accrual system where the fees are tracked in `feeGrowthGlobal0`/`1` per LP token. Each liquidity provider can call `SolidlyV2Pair::...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
front-running
false
false
## High: Malicious users can execute swaps without sandwiching protection to exfiltrate leveraged funds ### Description Arkis allows users to execute their own transactions as long as they match a specific set of validation criteria. However, sandwiching protection is not enforced by Pendle’s swap validator at any poin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [05] Intent state mutates before permit succeeds, causing irreversible nonce burns ### Description ### Vulnerability details `depositToIntentWithPermit` calls `_verifyAndMarkIntent` before invoking `IERC20Permit.permit`. `_verifyAndMarkIntent` marks the digest as used and increments `nonces[user]`. **Attack ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `LybraEUSDVaultBase.superLiquidation()`: Confusing code comments deviates from function logic ### Description ### Impact In code comments of `superLiquidation()`, it is mentioned that deposit of borrower (collateral) will be reduced by collateral amount * borrower's collateral ratio. This is inaccurate, as 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
access-control
true
false
## Low: [14] Avoid Nested `if` Blocks ### Description For better readability and analysis it is better to avoid nested `if` blocks. Here is an example: ### 14.1 FETH.sol (lines [482-492](https://github.com/code-423n4/2022-08-foundation/blob/792e00df42/contracts/FETH.sol#L482-L492)) After edit: **[HardlyDifficult (...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Low: [42] Unused named return ### Description Declaring named returns, but not using them, is confusing to the reader. Consider either completely removing them (by declaring just the type without a name), or remove the return statement and do a variable assignment. This would improve the readability of the code, an...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TitlesGraph::acknowledgeEdge() methods do not write acknowledgments to storage ### Description When `acknowledgeEdge()` is called, the downstream call to the `_setAcknowledged()` method caches `edges[edgeId_]` in memory, instead of storage, which does not preserve changes to the `Edge` struct after the tran...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
false
false
## Low: `OUSGInstantManager` redemptions will be bricked if BlackRock deploys a new `BUIDLRedeemer` contract and sunsets the existing one ### Description The `BUIDLRedeemer` contract is a very new contract; it is very possible that in the future a new version of the contract will be deployed and the current version wi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unchecked Return Value ### Description **Update** The return value is now checked. **File(s) affected:**`UserProxy.sol` **Description:** Most functions will return a `true` or `false` value upon success. It is important to ensure that every necessary function is checked. `UserProxy.deposit()` does not check...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: FORMAL ISSUES AND RECOMMENDATIONS ### Description The project is written in Rust and utilizes the Anchor framework to improve code clarity and security. While the program generally makes effective use of Rust and Anchor, some areas could be enhanced to better align with common Solana development conventions an...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: PAYING OFF DEBT WITH SPIGOT EARNING IN ETHER IS NOT POSSIBLE ### Description In the `SpigotedLoan` contract, the borrower can add spigots with revenue contracts that will support repayment of the debt. The revenue contract earns revenue tokens that later can be exchanged for the credit tokens using the `claim...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Miscellaneous Swell General Comments ### Description This section details miscellaneous findings discovered by the testing team that do not have direct security implications: 1. **helpers.sol** - Typo: On line [70] "outout" should read "output". 2. **swNFTv1.sol** - Several variables are commented out ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: [02] `InitialETHCrowdfund`'s initial contribution does not allow passing "gateData" ### Description https://github.com/code-423n4/2023-10-party/blob/b23c65d62a20921c709582b0b76b387f2bb9ebb5/contracts/crowdfund/InitialETHCrowdfund.sol#L149 At initialization time, `InitialETHCrowdfund` allows for the caller 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
front-running
false
false
## High: Failure to pass \_withdraw_only to \_getBalanceTXs allows any withdrawing user to drain vault assets through sandwich attack ### Description **Details** [AdapterVault.vy#L1045-L1060](https://github.com/adapter-fi/AdapterVault/blob/3c2895a69ad5eb2c4be16d454f63a6f2f074f351/contracts/AdapterVault.vy#L1045-L1060...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: LACK OF UPPER LIMIT CHECKS MAY CAUSE RESOURCE EXHAUSTION ### Description The `change_maximum_era_count_of_unwithdrawn_reward()` function in \"appchain-anchor/src/user\_actions/settings\_manager.rs\" doesn’t check for an upper limit to the passed value before setting it, allowing the owner to pass a big enough ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Improper Emitting of Events ### Description The `RocketDAOProposal.add()` and `RocketDAOProposal.execute()` functions emit the events `ProposalAdded` and `ProposalExecuted` respectively. Both these functions utilize `msg.sender` as the proposer or executor argument. If these functions are called via the `Rocke...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack Of Event Emission ### Description It has been observed that Blueprint and Remote Registry functionalities are missing emitting events. Events are a method of informing the transaction initiator about the actions taken by the called function. It logs its emitted parameters in a specific log history, which...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
false
false
## Medium: Possible incorrect initialization ### Description In `CumulativeMerkleDropXXX` constructor `token_` can be zero address: https://github.com/1inch/cumulative-merkle-drop/tree/96fb63d0cbfea73603e7500961c71e8ab1fb8c10/contracts/CumulativeMerkleDrop128.sol#L21 https://github.com/1inch/cumulative-merkle-drop/tre...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 an array of comments for function `depositBatch()` ### Description The function `depositBatch()` does not allow each deposit to have a separate comment. Consider passing a comments array as well. There does not seem to be a problem with the current contracts in-scope but support can be extended ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential risk of double-free memory ### Description The issue has been identified within the [freeMemory](https://github.com/longgammalabs/hanji-contracts/blob/70b15ec4d9e7578248141604503843716a67d875/src/HanjiTrie.sol#L1274) function of the `HanjiTrie` contract. Currently, there is no check to verify whethe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
rounding
true
false
## Medium: User will Received Less Amount Of Numa ### Description User will lose some Numa due to precision loss whenever user calls `NumaPrinter::burnAssetInputToNuma`. ### Impact User will get less amount when they try to exchange NuAsset to NUMA. ### Recommendation Consider changing the precision to 1e18 or bigge...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Low: Missing negative tests for several assertions ### Description The Paraspace protocol consists of numerous interacting components, and each operation is validated by checks that are widely dispersed throughout the codebase. Therefore, a robust suite of negative test cases is necessary to prevent vulnerabilities...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Pool.sol & Synth.sol: Failing Max Value Allowance ### Description ## Handle hickuphh3 ## Vulnerability details ### Impact In the `_approve` function, if the allowance passed in is `type(uint256).max`, nothing happens (ie. allowance will still remain at previous value). Contract integrations (DEXes for ex...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
true
false
## High: Voting manipulation cause by the possibility to transfer veNFT ### Description Report type: Smart Contract Target: https://github.com/zerolend/governance Impacts: - Manipulation of governance voting result deviating from voted outcome and resulting in a direct change from intended effect of original result...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Validate the `to` email as you do for the `from` one ### Description In `DKIMRecoverySigValidator::_verifyHeaders` the `from` mail is validated in a way that protects from the email that looks like "fake@gmail.com@gmail.com". The check is not done for the `to` mail and can be added by slicing the string up unt...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: NatSpec `@param` is missing ### Description ### Relevant GitHub Links https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/DSCEngine.sol *Instances (33)*:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Medium: supply in the zerolocker.sol is incorrectly increased during merge_type actions ### Description Users are able to create locks, deposit tokens for already created locks, increase lock amount/time, and merge two different locks in the ZeroLocker contract. The `supply` public variable in this contract tracks ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: All data in \_userLoans mapping will not be deleted after calling deleteUserLoan ### Description Report type: Smart Contract Target: https://testnet.snowtrace.io/address/0x2cAa1315bd676FbecABFC3195000c642f503f1C9 Impacts: * Contract fails to deliver promised returns, but doesn't lose value ## Description ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Input Validation ### Description **Update** Addressed in: `0607bc4cb017455c5bdd039beb24f71c7b944fd3`, `3229ba50c4954830b9664276797ed1fbbd812bf9`. The client provided the following explanation: > Added the necessary validations. serviceFee can be zero as there might be a chance we might not charge in t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: Usage of `uints`/`ints` smaller than 32 bytes (256 bits) incurs overhead ### Description > When using elements that are smaller than 32 bytes, your contract’s gas usage may be higher. This is because the EVM operates on 32 bytes at a time. Therefore, if the element is smaller than that, the EVM must use more o...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Nobody can cast for any proposal ### Description [[castVote](https://github.com/sherlock-audit/2024-01-olympus-on-chain-governance/blob/main/bophades/src/external/governance/GovernorBravoDelegate.sol#L369)](https://github.com/sherlock-audit/2024-01-olympus-on-chain-governance/blob/main/bophades/src/external...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
## High: Attacker can censor liquidity providers deposits and withdrawals by front-running ### Description The `depositFor` and `withdraw` functions in Omnipool require that the address to which funds will be deposited/withdrawn has not executed deposit or withdraw transactions in the current block number. In `deposit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: stRWIP is always minted for RWIP in a 1:1 ratio ### Description For staking RWIP, users always receive stRWIP in a 1:1 ratio. For burning 1 stRWIP, they receive RWIP according to the current exchange rate, which is going to be above 1:1 because of rewards deposited into RWIPStaking. Therefore, the attacker ca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: Insufficient restrictions in `instantOpenPacket()` risk DOS ### Description In `Packet.sol` a user can call `initiateBurn` with `params.BurnType` set to `BurnType.INSTANT_OPEN_PACKET`. ```solidity if (params.burnType == BurnType.INSTANT_OPEN_PACKET) { randomAllocationPool.instantOpenPacket(params.packetId...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inaccessible pause mechanism in WrappedBitcornNativeOFTAdapter ### Description The `WrappedBitcornNativeOFTAdapter.sol` contract inherits `ERC20PausableUpgradeable` but fails to implement the `pause()` and `unpause()` functions. Due to the absence of these functions, pausing the protocol during emergencies ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Protocol does not refund extra ETH but implements strict check ### Description [See spec here](https://github.com/code-423n4/2024-03-taiko/blob/f58384f44dbf4c6535264a472322322705133b11/packages/protocol/contracts/bridge/IBridge.sol#L105) The IBridge.sol contract specifies that extra ETH provided when sending ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unchecked in `for` loop is default behaviour since 0.8.22 ### Description Starting from Solidity compiler version 0.8.22, the use of unchecked for iterating variables in loops is no longer necessary. The compiler now includes optimizations that automatically handle overflow checks for these variables. 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
other
true
false
## High: Logic Flaw in Time Check ### Description ## Issue with is_block_flowback_end_time_ok Function The function `is_block_flowback_end_time_ok` is checking the condition incorrectly. If `block_flowback_end_time` is zero, the first condition (`block_flowback_end_time != 0`) evaluates to false, and the function wil...
0