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
initialization
true
false
## Low: Enforce Mandatory Service Assignment ### Description While handling the `vault_params.service` field in `deposit`, currently, it is defined as `Option`, allowing it to be either `Some(Service)` or `None`. The logic in the `deposit` function uses this option to conditionally set the `vault_params.service` based...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
true
false
## High: Funding payments are made in the wrong token ### Description The funding payments owed to users are made in vBase instead of UA tokens; this results in incorrect calculations of users’ profit-and-loss (PnL) values, an increased risk of liquidations, and a delay in the convergence of a Perpetual contract’s 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
low
access-control
true
false
## Low: Lack of Dynamic Governance Control Over CLAIM\_ROUND\_LIMIT in PledgeAgent Contract ### Description The `PledgeAgent` contract, a component of our blockchain system designed for handling reward claims, employs a hardcoded constant, `CLAIM_ROUND_LIMIT`, to define the maximum number of rounds for which rewards c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Incorrect timestamp comparison leads to cooldown bypass ### Description In `sdeusd.move`, unstake uses `clock::timestamp_ms(clock)` (milliseconds) to compare against `cooldown_end`, which is set using `clock_utils::timestamp_seconds(clock)` (seconds). As a result, the check: ```rust assert!(current_time >= 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
high
token
true
false
## High: Fee Discount Calculation Ignores Base Currency Value Differences ### Description The fee discount calculation in `fees_deposit` uses the raw token amount divided by decimal factor, without considering the actual value differences between base currencies. This can lead to unfair discount distribution when mult...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The stable swap pools used in Connext are incompatible with tokens with varying decimals ### Description The stable swap functionality used in Connext calculates and stores for each token in a pool, the token's precision relative to the pool's precision. The token precision calculation uses the token's decimal...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential Loss of Wrapped BTC ### Description In the `BitVMBridge` contract, the [`burn` function](https://github.com/fiamma-chain/bitvm-bridge-contracts/blob/935e2cbd1b5d1060439045b74ace6b2f506a25ad/src/BitVMBridge.sol#L137) is used to initiate the PEG-OUT process. This function is a permissionless functio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Interest Accumulation Calculation ### Description ## Sync Interest Rate Calculation `sync_interest_rate` derives the value of `days_elapsed` by dividing `seconds_elapsed` by the number of seconds in a day. This calculation truncates any remaining seconds, which may cause the value of `days_elapsed` t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Risk of fee loss due to transactions through a paused router ### Description The `UnifiedRouterV2` contract can be paused. If the user's path includes a paused router, their transaction can fail, and they might simply lose money on fees. ### Recommendation We recommend notifying users on the front-end when...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Controller _call function lacks a return statement ### Description The Controller’s _call function includes a return value in its definition but does not return a value. ```solidity function _call(Actions.CallArgs memory _args) internal notPartiallyPaused onlyWhitelistedCallee(_args.callee) returns (u...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
false
false
## High: Proxy Service XSS ### Description ## Potential XSS Vulnerability in Proxy Service There is a potential flaw in how the [https://proxy.dial.to](https://proxy.dial.to) service handles the HTTP Link header, which may result in a Cross-Site Scripting (XSS) attack even when Content Security Policy (CSP) is set 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
gas
other
true
false
## Gas: Cache array length outside of loops and consider unchecked loop incrementing ### Description **Description:** Cache array length outside of loops and consider using `unchecked {++i;}` if not compiling with `solc --ir-optimized --optimize`: File: `BeefyQIVault.sol` **Beefy:** Acknowledged.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
reentrancy
true
false
## Gas: Unnecessary `nonReentrant` modifier checks in functions ### Description Total Gas Saved: ~24000 GAS when every time respective function called. Remove the unnecessary `nonReentrant` modifier since this function does not contain any external calls, and it is not invoked within the `_mint` function flow. This 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
gas
other
true
false
## Gas: Caching external values in memory ### Description See the `@audit` tags for further details:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: `internal` functions only called once can be inlined to save gas ### Description Not inlining costs **20 to 40 gas** because of two extra `JUMP` instructions and additional stack operations needed for function calls. *There are 22 instances of this issue.*
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: Unprotected Upgrade at `Registry` ### Description **Update** Marked as "Fixed" by the client. This has been properly addressed by following the recommendation. Addressed in: `8777981bafe3c34fcebdf1dcfe1731e97686002b`. **File(s) affected:**`contracts/registry/Registry.sol` **Description:** In `Registry.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
medium
token
true
false
## Medium: Incorrect modulo calculation in secondary position ticks leads to active position and division by zero ### Description The `Strategy#_setSecondaryPositionsTicks` function incorrectly handles negative ticks when calculating modulo, causing the secondary position to be active when it should be out-of-range 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
low
other
false
false
## Low: Lack of explicit proposal id ### Description In the [`DiamondCut` contract](https://github.com/matter-labs/zksync-2-dev/blob/534dc37c7b86753803a31b836f78896d18372e7e/contracts/ethereum/contracts/zksync/facets/DiamondCut.sol), the [`proposeShadowUpgrade` function](https://github.com/matter-labs/zksync-2-dev/blo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Claimed rebase rewards of managed NFT are not compounded within LockedManagedReward ### Description Rebase rewards of a managed NFT should be compounded within the `LockedManagedRewards` contract. However, this was not currently implemented. When someone calls the `RewardsDistributor.claim` with a managed NF...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Airdrop Duplicate Finalize ### Description ## Airdrop Finalization Airdrop finalization changes the state of the airdrop to finalized, ensuring that no future users can be added to the airdrop. While this call represents a state transition, it does not make any checks about the initial state of the airdrop....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
true
false
## Medium: In `VoteKickPolicy.onFlag()`, `targetStakeAtRiskWei[target]` might be greater than `stakedWei[target]` and `_endVote()` would revert. ### Description **Severity:** Medium **Description:** `targetStakeAtRiskWei[target]` might be greater than `stakedWei[target]` in `onFlag()`. For example, - At the first t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Admin can drain Game's funds ### Description Through the `emergencyEnd` function, an admin can allocate an arbitrary amount of tokens to any player (including himself). Then, he can set this player as an instant withdrawer through the `setInstantWithdraw`. Finally, this player is able to instantly withdraw 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
true
false
## Gas: Efficient Gas Usage in `LiquidityChunk` Library Through Optimization ### Description [LiquidityChunk.sol](https://github.com/code-423n4/2023-11-panoptic/blob/main/contracts/types/LiquidityChunk.sol#L63) The `LiquidityChunk` library, integral to managing liquidity in a concentrated liquidity AMM system, origin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Parallel governor value in IsleGlobal and Receivable contract may result in two separate governor addresses ### Description **Severity**: Low **Status**: Resolved **Location**: IsleGlobal.sol,Receivable.sol **Description**: The governor address for the Isle protocol has the authority to make changes 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
low
liquidation
false
false
## Low: Users Cannot Deposit Collateral into a Dusty Vault ### Description Within the `IonPool` contract, users are unable to [deposit collateral into their vault](https://github.com/Ion-Protocol/ion-protocol/blob/98e282514ac5827196b49f688938e1e44709505a/src/IonPool.sol#L707) if their vault is dusty. This would preven...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Add modifier for `emergencyExit` state ### Description Some functions of https://github.com/Grandthrax/yearnV2-generic-lender-strat/blob/979ef2f0e5da39ca59a5907c37ba2064fcd6be82/contracts/Strategy.sol don't check `emergencyExit` state. This allows to continue working with the contract after exit. ### Recommen...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Limit orders can be frozen for one side of a Uniswap v3 pool if `minimumAssets` has not been set for one of the tokens ### Description To prevent spamming low liquidity orders, `LimitOrderRegistry::minimumAssets` must be set for a given asset before limit orders are allowed to be placed. A Uniswap v3 pool cont...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `NFTMintSaleMultiple` won't work if other minter mints tokens with an id intersected with the id range on sale ### Description If an external minter of `nft` mints a token with an id that falls within the range of ids specified for sale, the functionality of `NFTMintSaleMultiple` can be disrupted. When such a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: Unclear usage of Dca.tokensOutAllocation ### Description The documentation of the `tokensOutAllocation` parameter of the `Dca` struct is unclear and does not match the current implementation. The `tokensOutAllocation` parameter, a `uint16` array, is defined in the `Dca` struct. ```solidity struct Dca { uint...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Naming suggestions ### Description * The **totalEther** uint variable [in line 43 of Fundraiser.sol](https://github.com/cosmos/fundraiser-lib/blob/693cf3f32e9fd679216372876dda86fa57a3277e/src/truffle/contracts/Fundraiser.sol#L43) is not an ether amount, but a wei amount. Consider renaming **totalEther** to **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
high
storage
false
false
## High: Multiple issues related to parametrization over arbitrary curves ### Description Umbral: A Threshold Proxy Re-encryption Scheme doesn’t restrict the curve used in its implementation. It just requires that the curve be defined over a group of prime order (the actual phrasing is somewhat ambiguous. This is our ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
true
false
## Low: The `nonReentrant` `modifier` should occur before all other modifiers ### Description This is a best-practice to protect against reentrancy in other modifiers. *There are 2 instances of this issue:* https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/cred...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rounding Issues with Split-Payments . . . . . . . . . . . . . . ### Description ## Rounding Bugs in Split-Payments In several contracts, there are functions that perform rounding incorrectly when computing split-payments based on fixed percentages. When computing split-payments, the total value should equal 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
cross-chain
true
false
## Low: Race condition in _startBridge ofLIFuelFacet . ### Description If the mapping for `FEE_COLLECTOR_NAME` hasn't been set up yet, then `serviceFeeCollector` will be `address(0)` in function `_startBridge` of `LIFuelFacet`. This might give unexpected results. ```solidity function _startBridge(...) ... { ... 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
signature
false
false
## Low: Missing deadline and nonce in signature ### Description _Resolved_ The signature hash in `NFTStaking._stakeNFTs()` does not include a deadline or nonce parameter. This creates several issues: - If an NFT's rarity is downgraded (offchain logic changes, where same nft corresponds to different rarity weight ind...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack Of Reentrancy Guards On External Functions ### Description The following external functions within the `PuttyV2` contract contain function calls (e.g. `safeTransferFrom`, `safeTransfer`) that pass control to external contracts. Additionally, if ERC777 tokens are being used within an order, it contains va...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Boolean comparisons ### Description Comparing to a constant (`true` or `false`) is a bit more expensive than directly checking the returned boolean value. I suggest using `if(!directValue)` instead of `if(directValue == false)` here:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unpaid funding fees from wrong calculation are going to be substracted from the pool ### Description The vulnerability start at the function getNextFundingAmountPerSize: https://github.com/sherlock-audit/2023-02-gmx/blob/main/gmx-synthetics/contracts/market/MarketUtils.sol#L912 Basically, GMX is handling i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
Allowance
true
false
## Security Report ## Severity **Medium Risk** ## Context **LibSwap.sol**#L30-L55 ## Description `LibSwap.swap` is responsible for executing swaps. It is designed to swap one asset at a time. The `_swapData.callData` is provided by the user, and the LiFi protocol only checks its signature. As a result, users can bui...
Spearbit
5
LI.FI
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: SFPM Token Transfer Can Fail With Multiple Touches to a Position Key ### Description The position tokenId is minted to the caller as an ERC-1155 token and can be transferred with `safeTransferFrom`. The post-transfer hook will register the token transfer by validating the liquidity of each leg and updating ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 code in `ThrusterTreasure::requestRandomNumberMany` and `ThrusterTreasure::requestRandomNumber` ### Description ### Instances(2) In ThrusterTreasure.sol, both `requestRandomNumberMany()` and `requestRandomNumber()` contains a line of unnecessary code `requestedRandomNumber[sequenceNumber] = msg.se...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 code ### Description The following imports are unused and can be removed `DropEngineV2` and `DropData` in `ControllerV1`, `MerkleProofLib` in `Memberships`. The `onlyAuthorized` modifier in `_mintAndBurn` can be removed because the functions that are calling this method already have it. Also `baseTok...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Lack of Merkle Tree Association Check ### Description In `invoke_cpi::process_cpi_context`, the lack of checks to ensure that all the input and output compressed accounts belong to the same Merkle tree as specified by `CpiContextAccount.associated_merkle_tree` introduces a significant vulnerability. The `Cp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Blacklisted User Can Transfer Tokens via Approved Addresses ### Description The contract implements a blacklist mechanism to prevent certain addresses from performing token transfers. However, the implementation contains a critical flaw in the `transferFrom()` function where it only checks if the caller (`msg...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unused inherited contracts ### Description The [`AcceleratingDistributor`](https://github.com/across-protocol/across-token/blob/42130387f81debf2a20d2f7b40d9f0ccc1dcd06a/contracts/AcceleratingDistributor.sol) contract [imports](https://github.com/across-protocol/across-token/blob/42130387f81debf2a20d2f7b40d9f0c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Duplicated Code to Get the Signer ### Description In the `Marmo` contract there is a [`signer`](https://github.com/ripio/marmo-contracts/blob/d3fb5922a4f01e47d585343d08cccfad659b3584/contracts/Marmo.sol#L38) [function](https://github.com/ripio/marmo-contracts/blob/d3fb5922a4f01e47d585343d08cccfad659b3584/contr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incompatibility with Non-Standard Tokens ### Description **Update** The team acknowledged the issue with the following statement: > Acceptable. Yes, we understand that the current version of the protocol only works with ERC20 tokens with <=18 decimals, without a fee on transfer, and without tokens with arbitr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Owner can overrule pauser actions ### Description The [`HoldefiPauser` contract](https://github.com/holdefi/Holdefi/blob/f4df394d7cf6df347b1f1e9af8e2676c5933c2c9/contracts/HoldefiPauser.sol) implements the functionality to pause specific functions at will in case a problem appears in the platform. The only ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
rounding
false
false
## High: User can drain entire reward balance due to accounting issue in _claimInternalRewards and _claimExternalRewards ### Description The `userRewardDebt`s array stores the users debt to 36 dp but in `_claimInternalRewards` and `_claimExternalRewards` the 18 dp reward token amount. The result is that `usersRewardDe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Upgrading `OperatorVCS` Contract Will Fail ### Description The upgrade process for the `OperatorVCS` contract will fail due to a versioning conflict in the `initialize(...)` function. This occurs because of passing the same version number as the previous contract in the `reinitializer(...)` modifier. As a resu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wrong logic around `areOperatorsImported` ### Description _Submitted by 0x1f8b, also found by 0xliumin and kenzo_ [OperatorResolver.sol#L42-L43](https://github.com/code-423n4/2022-02-nested/blob/fe6f9ef7783c3c84798c8ab5fc58085a55cebcfc/contracts/OperatorResolver.sol#L42-L43) The logic related to the `areO...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `0 address` check for ` asset ` ### Description Also check of the address to protect the code from 0x0 address problem just in case. This is best practice or instead of suggesting that they verify address `!= 0x0`, you could add some good NatSpec comments explaining what is valid and what is invalid and what ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiple functions may leave excess funds in the contract that should be returned ### Description Periphery#combine may leave excess underlying in the contract due to _fromTarget unwrapping to underlying and the quote may not swap them all. When using arbitrary tokens to swap to underlying the contract alw...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ControllerFactory has unnecessary calculation operations ### Description ControllerFactory stores the number of collaterals as a unit starting from `2**128`. - https://github.com/curvefi/curve-stablecoin/blob/0d9265cc2dbd221b0f27f880fac1c590e1f12d28/contracts/ControllerFactory.vy#L215 Then it reads the numbe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insufficient input validation in ExchangeIssuanceModule functions ### Description The functions in the `ExchangeIssuanceModule` contract fail to properly validate their parameters. The `exchangeIssue` and `exchangeRedeem` functions, shown in Figures 1 and 2, are directly used by unauthenticated users to per...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: `PoolFactory.closePool` doesn't reset `stakedAmount` ### Description In `closePool`: - https://github.com/clearpool-finance/permissionless-protocol/blob/f1f38c5ba83e2c3a68155042229b04678d9425ce/contracts/PoolFactory.sol#L427 after unstaking `stakedAmount` won't be reset. ### Recommendation Although `closePoo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
oracle
true
false
## Gas: Use a more recent version of Solidity ### Description 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 multiple storage reads. Use a Solidity version of at least 0.8.4 to get custom errors, wh...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [Axiom - 01] Paying to caller of fulfillOffchainQuery is vulnerable to mempool sniping ### Description We currently tag proofs with payee for on-chain queries and enforce that on-chain query payments are made to payee. This prevents mempool copying of proofs. For off-chain queries which are fulfilled in `fulfi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Repeated code ### Description Throughout the code base, there is consistent use of repeated code. Some instances of repeated code are as follows: * All the arithmetic functions, such as in [`AccountingEngine`](https://github.com/reflexer-labs/geb/blob/261407b6b332c2063e4256aa5f9b223d52dad7e1/src/AccountingEn...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Low: Improper numerical types used for Zcash currency ### Description Zcash is divided into satoshis much like Bitcoin. However, in several instances within the codebase, an incorrect numerical type is used to represent the currency. Within the Zcash daemon implementation, amounts of currency are represented by th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Use calldata instead of memory for function arguments that do not get mutated ### Description **Description:** Mark data types as calldata instead of memory where possible. This makes it so that the data is not automatically loaded into memory. If the data passed into the function does not need to be changed ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [22] Use custom errors rather than `revert()`/`require()` strings to save gas ### Description Custom errors are available from solidity version 0.8.4. Custom errors save [**\~50 gas**](https://gist.github.com/IllIllI000/ad1bd0d29a0101b25e57c293b4b0c746) each time they're hitby [avoiding having to allocate and ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
true
false
## High: Loss of fulfiller funds and fees due to wrong comparison between depositsAmount and total_amount ### Description **Severity**: Critical **Status**: Resolved **Location**: BandoERC20FulfillableV1.sol **Walkthrough**: Say a user will like to submit a request for a ERC20Service. **Initial states:** The ini...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
medium
integer-overflow
true
true
## Medium: Frequent `AccountableOpenTerm::accrueInterest` calls reduce interest accrual ### Description In [`AccountableOpenTerm::_linearInterest`](https://github.com/Accountable-Protocol/audit-2025-09-accountable/blob/fc43546fe67183235c0725f6214ee2b876b1aac6/src/strategies/AccountableOpenTerm.sol#L602-L604), interest...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Denial Of Service Attacks On Relayer ### Description There are three possible attacks a wallet owner may use to cause a relayer’s `processBundle()` transaction to revert. Relayers gather a list of operations which may be collected from external parties and process them on-chain for a fee. It is possible to 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
low
other
true
false
## Low: Constant Expiry Threshold ### Description ## verifyEnclave Overview `verifyEnclave` relies on a fixed expiration threshold of 20 seconds, which may prove inadequate in scenarios where the chain is congested or if the contract is deployed on an EVM sidechain with a different block generation time. The 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
access-control
false
false
## Low: Lack of two-step process for critical operations ### Description The MapleLoan contract’s `setBorrower` and `setLender` functions transfer the privileged borrower and lender roles to new addresses. If, because of a bug or a mistake, one of those functions is called with an address inaccessible to the Maple Lab...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary Use of SafeMath ### Description **Severity**: Informational **Status**: Resolved **Description**: The contract imports SafeMath from the OpenZeppelin library, but in Solidity 0.8.0 and later, arithmetic operations are checked for overflow and underflow by default. Using SafeMath is redundant 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
low
other
true
false
## Low: [11] It is possible to refund a single transaction more than `2³² - 1` gas, whilst the bootloader only has that amount of gas available for a given batch ### Description The bootloader is provided with `2³² - 1` gas to execute all submitted transactions in a given batch, so it is expected that all the gas refu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent accounting of `undeployedAssets` might result in undesired optimal range in the pool ### Description `undeployedAssets` is calculated inconsistently. Currently in `_getUndeployedAssets()` the protocol collected fees are subtracted; however, in `validateOffer`, the protocol collected fees are no...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: `fantiumFeeBPS` should be restricted ### Description `fantiumFeeBPS` should be <= 10_000, otherwise a claim call will always revert. https://github.com/FantiumAG/smart-contracts/blob/a2d126453c1105028f12277b8f342d2cdbf01a77/contracts/claiming/FantiumClaimingV1.sol#L242 ### Recommendation We recommend addin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Docstrings ### Description Within `OUSD.sol`, multiple instances of missing docstrings were identified: * The [`TotalSupplyUpdatedHighres` event](https://github.com/OriginProtocol/origin-dollar/blob/44951300cd2bb7eb1d387461465edbfc440f2779/contracts/contracts/token/OUSD.sol#L17-L21) * The [`AccountReb...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Key typo may allow store corruption ### Description There are two keys with the same value. As they are used as the prefix to retrieve the values under the Cosmos store, then it is possible to corrupt each other by being used on completely different parts of the codebase, as they would be querying the same 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...
solodit_api
medium
Revert By Sending Dust
false
true
## Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Market.sol#L562 ## Vulnerability details ## Impact If a user wants to completely forceReplenish a borrower with deficit, the borrower or any other malicious party can front run this with a dust amount to prevent the replenish. ## Proof of...
Code4rena
4
Inverse Finance
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: `ERC20TokenEmitter::buyToken` function mints more tokens to users than it should do ### Description Users can buy governance tokens with the `ERC20TokenEmitter::buyToken()` function. In this protocol, governance token prices are determined by a linear [VRGDA](https://www.paradigm.xyz/2022/08/vrgda) calculat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Denylisted user can still send lvlUSD via LevelMinting.mint ### Description `lvlUSD` applies a deny list in the `_beforeTokenTransfer()` function, where, in addition to `to` and `from`, `denyList(msg.sender)` is checked. When minting, `LevelMinting` would be inserted in `denyList(msg.sender)` since it is calli...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Owner Can Override Signers ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > As noted, the owner can already override signers by setting a new set of signers and having them sign a new hash. Therefore, we do not see this to be an escalation of ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: `borrowing::withdraw()` at a loss will increase downside protected and misscalculate option fees ### Description `borrowing::withdraw()` at a loss increases the downside protected, [here](https://github.com/sherlock-audit/2024-11-autonomint/blob/main/Blockchain/Blockchian/contracts/lib/BorrowLib.sol#L873-L875...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
rounding
true
false
## High: Funds distribution can fail due to the rounding up ### Description **Severity** **Impact:** Medium **Likelihood:** High **Description** When a NFT is sold, `Beekeeper` calls `BearPouch.distribute` to distribute the received funds to the configured recipients according to their share value. The calculation...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
false
false
## High: Adversary can break deposit queue and cause loss of funds ### Description Source: https://github.com/sherlock-audit/2023-03-Y2K-judging/issues/468 ## Found by 0x52, 0xRobocop, Bauer, HonorLt, Respx, Ruhum, VAD37, bin2chen, immeas, joestakey, jprod15, libratus, ltyu, mstpr-brainbot, nobody2018, roguereddwar...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: There is a vulnerability in the `executeFlashloan` function of the `PeUSDMainnet` contract. Hackers can use this vulnerability to burn other people's eUSD token balance without permission ### Description ### Lines of code ### Impact The `executeFlashloan` function of the `PeUSDMainnet` contract is used to ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
false
false
## Low: Erroneous data logged in LiquidationCall event ### Description The [`liquidationCall` function](https://gitlab.com/aave-tech/dlp/contracts/blob/1f8e5e65a99a887a5a13ad9af6486ebf93f57d02/contracts/lendingpool/LendingPool.sol#L574) in the `LendingPool` contract [emits a `LiquidationCall` event](https://gitlab.com...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Jump Table Optimizations ### Description ## Update on Selector Section Checks In `_selector_section_dense`, for dense tables, a check is performed to ensure that the `calldatasize` is greater than or equal to four (indicating that there are sufficient bytes in the calldata to read the method ID). However, i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unintended ETH `receive` in the Controller ### Description At line https://github.com/dforce-network/LendingContracts/blob/6f3a7b6946d8226b38e7f0d67a50e68a28fe5165/contracts/ControllerV2.sol#L167 there is a receiver declared that isn't used anywhere. ### Recommendation We recommend removing the unused `receiv...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 event emissions for some important state changes ### Description **Description:** The POL contracts are missing event emissions for several important state-changing operations. _1. POLIsolationModeTokenVaultV1_ - `prepareForLiquidation`: No event when a position is prepared for liquidation - `stake/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: PoolManager._getLoanManager(loan) does not check if loan is valid ### Description While the `_getLoanManager(loan)` function checks that `loan.lender()` is a valid LoanManager, it does not verify that the loan itself is valid. A fake loan contract could return valid loan managers. The impact is negligible beca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Do Not Use abi.encodedPacked With Multiple Dynamically-Sized Types ### Description ## Severity: Medium Risk ## Context - Fuse.sol#L242-L252 - Fuse.sol#L262-L272 ## Situation The `abi.encodePacked` method is called where there are multiple dynamically-sized types. Trying to pack these dynamically-sized typ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The BulkInternalTransfer receiver computes the wrong total amounts ### Description The `BulkInternalTransfer` receiver function of the `PixelswapFundingWallet` contract computes the wrong total amounts to spend by adding the amount of the first entry multiple times. In the `PixelswapFundingWallet` contract, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: Misalignment Of Implementation With Intended Approach ### Description I n t h e **QueueInitDelegationGroup** i n s t r u c t i o n, t h e c o m m e n t f o r **DelegationGroupCpi::init_cpi** i n d i c a t e s a n i n t e n t i o n t o a l l o w t h e f u n c t i o n t o c o n t i n u e e x e c u t i o n e v ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
false
false
## Medium: Game completion can be front-run by stakers ### Description Stakers in the protocol profit from players losing their bets and incur losses when players win. Users can front-run the completion of a lost game by staking tokens, achieving an unrealized profit. While the staker will have to wait for the cooldo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
true
false
## High: Round Up Shares ### Description ## Vulnerability Description The vulnerability is rooted in `math::to_shares`, particularly when the CERT coin holds a significant value relative to SUI. This may result in receiving zero shares for a non-zero quantity of SUI. As a result, the function rounds up and returns on...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [22] 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
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Risk of Plugins ### Description All plugins' functions within the vault can be called by any public user. If the plugins contain any unprotected privileged functions, it can be called by malicious user. ### Recommendation Include a warning in the comments or documentation so that the vault owner is aware th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
true
false
## Medium: Can mint NFT with the desired attributes by reverting transaction ### Description All the attributes of the NFT that should be randomly determined are set in the same transaction which they're claimed. Therefore, if a user uses a contract wallet, they can intentionally revert the transaction and retry minti...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Single-Step Ownership Transfer in AMM Contract ### Description The AMM contract implements a single-step ownership transfer function that allows immediate transfer of contract ownership without verification: ``` #[storage(read, write)] fn transfer_ownership(new_owner: Identity) { if _owner() == State::Unini...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Zero Value Checks ### Description ## Turbo Finance Audit 05 — General Findings 1. **`rewarder::deposit_rewarder` relies on `coin::value(&coin)` to obtain the deposit amount.** However, there is no check on the validity of the coin object itself, enabling the creation of a coin object with a fake type (T) 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
low
other
false
false
## Low: Lack of View Functions for Key Data Retrieval ### Description The `LOB` contract lacks view functions for essential data retrieval, such as calculating the actual price taking into account scaling factors and fetching orders by `trader_id`. These functions would enhance the usability and transparency of the co...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Lenders can grief other lenders by depositing on their behalf ### Description Upon depositing into the tranche vault, the `deposit()` function will check that both the `msg.sender` and receiver accounts are approved to LP into the tranche. The deposit record keeps track of the principal amount held by the a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Cooldown Period Is 48-72 hours In Docs But 24 hours In Code ### Description **Severity** : Low **Status** : Resolved **Description** Inside the docs the cooldown period is mentioned to be 48-72 hours, but in the code (Water.sol at L62) it is initialized to 24 hours. The logic should match the intended usage...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Additional checks are required for constructor of CoiinVault.sol ### Description **Description** There is no verification for the zero address for the _coiinToken and _withdrawSigner. **Recommendation**: Add additional checks: require(_withdrawSigner != address(0), "Wrong signer address"); require(_coiinTok...
0