prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Insufficient validation in multiple `Gatekeeper` Methods ### Description The `addClaimed` method is missing the `gate.enabled` and `gate.activeAt` checks that are present in `validateProof`, so they should be added. It should also revert if `consumedProofs` mapping is already set to `true` for complete correct...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: If CoreRouter is liquidated, some user may suffer more loss than expected ### Description If CoreRouter is liquidated, some users may suffer more loss than expected. ### Impact User suffer more loss than expected. ### Recommendation When user redeems, the received amount should be calculated based on `CoreR...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use `SafeERC20::safeIncreaseAllowance` in the place of `IERC20::approve` in `WormholeCctpTokenMessenger::setTokenMessengerApproval` ### Description Although the `SafeERC20` library is [declared](https://github.com/wormhole-foundation/wormhole-circle-integration/blob/bbc593d7f4caf2b59bf9de18a870e2df37ed6fd4/evm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: wrong error emitted from `spot-order-cancel` ### Description Inside [spot-order-cancel](https://github.com/deriverse/protocol-v1/blob/30b06d2da69e956c000120cdc15907b5f33088d7/src/program/processor/spot_order_cancel.rs#L51), wrong error is emitted when accounts length is more than expected length, which is wron...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
cross-chain
false
false
## High: Exploitation of Cost Asymmetries Across Chains to Impose High Gas Costs on Refund Execution ### Description The Across protocol is a cross-chain bridge designed for fast and efficient bridging of ERC-20 tokens between supported origin and destination chains. Users, referred to as depositors, initiate the proc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Storage argument in `Counters.current` view function. ### Description **Description** library Counters - in body of current (Counter storage counter) internal view returns (uint256) No need to receive a storage argument in function. **Recommendation** - replace by memory **Re-audit comment** Unresolved
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: claim() Function Always Reverts If Liquidation Occurred ### Description In the `OperatorRewardsCollector` contract, the `claim()` function will always revert when there is an existing liquidation for the operator. This is due to the `claim()` function attempting to claim the operator’s full balance without tak...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The protection check for `maxRecordsPerTransaction` can be gamed ### Description **Impact:** Medium, because a protocol invariant can be broken and the code gives a false sense of security **Likelihood:** Medium, because the attack is easy to do and we have seen such attacks in the past **Description** L...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: Malfunction within the auctions if there are multiple staked tokens with the same underlying token ### Description The `underlying token` of the `safed token` is used in `Auctions` to be auctioned in case of insolvency. The buyer of the Auction purchases underlying tokens in lots, and what remains unsold is re...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
true
false
## Low: paymasterData.postOpGas and userOp.unpackPostOpGasLimit() considerations ### Description The `VerifyingPaymaster` defines a `PaymasterData` struct that includes a `postOpGas` value. This value is important because the `actualGasCost` given to the `postOp()` function does not include the gas consumed by the `po...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Use specific Solidity compiler version ### Description **Severity**: Informational **Status**: Acknowledged **Description** Audited contracts use the following floating pragma: pragma solidity ^0.7.6; It allows to compile contracts with various versions of the compiler and introduces the risk of using a di...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The Mapping `TokenVault.tokenAddresses` Can Be Updated, Making Funds at Risk if the Owner of the Contract Is Compromised ### Description **Update** Now it is verified that the currency identifier is not registered to avoid changing its address. Addressed in: `7abd3d76a14272b581dfa95855ee93b7d00ede73`. **Fi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: `StakingRewards.sol#notifyRewardAmount()` Improper reward balance checks can make some users unable to withdraw their rewards ### Description _Submitted by WatchPug_ [StakingRewards.sol#L154-L158](https://github.com/code-423n4/2022-02-concur/blob/72b5216bfeaa7c52983060ebfc56e72e0aa8e3b0/contracts/StakingRe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `getNftById` is querying against the index not id ### Description _Submitted by pauliax_ `getNftById` is actually 'get NFT by index' as it queries the element from the array by index, not by `tokenId`. The index may not always equal id as` _addNft` does not automatically assign index incrementally but rather ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Code Optimizations ### Description ## Optimization Recommendations for Rewarder and Vault 1. **Rewarder Improvement** Within Rewarder, `add_reward_black_list` may be improved by checking if an address is already present in the blacklist before adding it to avoid duplicate entries. Furthermore, in Vault, 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: `sum` in `RewardsEmitter` is not used ### Description The [`sum`](https://github.com/code-423n4/2024-01-salty/blob/53516c2cdfdfacb662cdea6417c52f23c94d5b5b/src/rewards/RewardsEmitter.sol#L115) variable is [calculated](https://github.com/code-423n4/2024-01-salty/blob/53516c2cdfdfacb662cdea6417c52f23c94d5b5b/src...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Fee on transfer tokens will break the withdrawing process ### Description If a currency has a built-in transfer fee, withdrawing prime cash may be impossible due to accounting discrepancies. ### Impact Since this is an unlikely scenario I'll label it as medium. However, if fee on transfer tokens will be 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...
cyfrin_structured
low
other
true
true
## Low: Attribute changes via `setAttribute` or `updateInvestor` do NOT trigger compliance count updates. ### Description The compliance system maintains several count variables (`accreditedInvestorsCount`, `usAccreditedInvestorsCount`, `euRetailInvestorsCount`, between others) to enforce investor limits and regulator...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: validControl / onlyAtlasEnvironment are not effective in delegatecall situation ### Description The checks `validControl` / `onlyAtlasEnvironment` are not effective in delegatecall situations. If the `ExecutionEnvironment` does a delegatecall to a user contract, or inside any `DappControl` hook, any data can ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
false
false
## Medium: No Cap on Amount of VOTES means the `voter_admin` can get any proposal to pass ### Description _Submitted by GalloDaSballo, also found by 0xNazgul, IllIllI, and rbserver_ Because `VOTES` can be minted by `voter_admin`, and there is no cap on totalSupply, the `voter_admin` has the privileged ability to mint...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: getRequestStatus can be simplified ### Description ## Context **File:** MechMarketplace.sol **Lines:** 847-862 ## Description/Recommendation The `getRequestStatus` function can be simplified: ## Valory Fixed on PR 94. ## Cantina Managed Fix verified.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `maxMint` should return shares corresponding to `maxPerDeposit`. ### Description `maxMint` currently returns `type(uint256).max`, which is incorrect. When users deposit to the vault, it checks if the `assets` deposited do not exceed `maxPerDeposit`. Instead of returning `type(uint256).max`, `maxMint` should re...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: File: Blocklistable.sol ### Description ### function updateBlocklister() #### Emitting a storage value (`blocklister` vs `_newBlocklister`) I suggest going from 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...
solodit_api
medium
Flash Loan
true
true
[`LBPair.flashLoan()`](https://github.com/code-423n4/2022-10-traderjoe/blob/79f25d48b907f9d0379dd803fc2abc9c5f57db93/src/LBPair.sol#L415-L456) utilizes an “unfair” fee mechanism in which the whole pair liquidity can be loaned but only the liquidity providers of the active bin receive the fees. Although one can argue t...
Code4rena
4
Trader Joe
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 name and symbol for AfEth token ### Description https://github.com/code-423n4/2023-09-asymmetry/blob/main/contracts/AfEth.sol#L72 The AfEth contract inherits from ERC20Upgradeable but doesn't call its base initializer, which is in charge of setting the name and symbol for the ERC20 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...
solodit_api
medium
access-control
true
false
Source: https://github.com/sherlock-audit/2023-02-hats-judging/issues/38 ## Found by obront, james\_wu ## Summary New users attempting to call `claimSigner()` when there is already a full slate of owners are supposed to kick any invalid owners off the safe in order to swap in and take their place. However, the loo...
Sherlock
5
Hats
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Absence Of Checks ### Description ## NFT Identification and Validation Concerns 1. **NFT Identifiers** The `nftIds` array represents the identifiers for NFTs. Each element of the `nftIds` array corresponds to the ID of an individual NFT in the system, where each identifier is unique to a single NFT. 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
token
true
false
## Medium: Wrong Address Check in `receive()` Function in `VestedStaking.sol` Contract Can Lead to Integrating Contracts Not Being Able to Claim Their Staking Rewards ### Description The implementation of the `receive()` function of the `VestedStaking.sol` contract currently looks like this: ```solidity receive() ext...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Precision Manipulation Due to Missing Mint Check ### Description **Description:** `deposit_handler` chooses the conversion precision (`conv_decimals`) as: The account context *documents* that `liquidation_token_mint` and `liquidation_token_vault` must appear together, but there is **no runtime constraint** ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User can steal rewards from other users by withdrawing their Velo Deposit NFTs from other users' depositors ### Description Rewards from staking AMM tokens accumulate to the depositor used to deposit them. The rewards accumulated by a depositor are passed to the owner when they claim. A malicious user to stea...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `WrappedCAMP` Accounting for `totalSupply` Is Impacted by `selfdestruct` Opcode ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > we have forked the official WETH9 contract and don't plan to change it **File(s) affected:**`WrappedCAMP.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
front-running
false
false
## Medium: Front-running Can Lead to Stolen Validator Rewards ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > This is intended, the reward is intended for anybody who send the update. The reward should cover the update gas fee, should not be set much...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Validation
false
true
## Vulnerability Report ## Severity **Medium Risk** ## Context `PublicVault.sol#L378-L381` ## Description When `drain` is called, we don't update the `s.epochData[s.currentEpoch - 1].withdrawReserveReceived`. This is in contrast to when withdraw reserves are transferred from the public vault to the withdraw proxy. T...
Spearbit
4
Astaria
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Non-determinism in ink! contract builds ### Description The process of building ink! contracts using the cargo contract CLI is impacted by various factors that can alter the final product. These factors include the version of Rust, the enabled features, the cargo-contract version, the number of optimization pa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 checks for `address(0x0)` when assigning values to `address` state variables ### Description *There are 16 instances of this issue:* [See original submission](https://github.com/code-423n4/2022-05-rubicon-findings/issues/203) for details. ## Non-Critical Issues | | Issue | Instances | | -- | :----...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
true
false
## Low: Missing maximum limit on stalePriceDelay ### Description **Severity:** Low **Path:** ChainlinkPriceOracle.sol#L150-L157 **Description:** In the contract `ChainlinkPriceOracle.sol` there is an issue related to the `stalePriceDelay` variable, which is used to determine how long it takes for a Chainlink price 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
low
access-control
false
false
## Low: L12] Potentially unnecessary extra iterations in the revoke function ### Description ###### Low The [`revoke`](https://github.com/BeamNetwork/currency/blob/c0d8477866a8667a37f45c85378c5938c84569cd/contracts/currency/BeamBalanceStore.sol#L149) function in the `BeamBalanceStore` contract allows the root policy...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Improving the burnDsc() to allow users to mitigate their liquidation's impact ### Description The `burnDsc()` does not allow a user to partially burn some available DSC tokens to mitigate the liquidation's impact (if an amount of the burned tokens are not sufficient to improve their health factor to become hea...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: init Function Frontrun ✓ Fixed ### Description The `deploy/000_deploy.ts` and `scripts/deploy.ts` files outline the deployment scripts used by the StarBase team. Despite the fact that numerous contracts have both `constructor` and `init` functions, analysis of the [StarBase team wallets activity](https://ba...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: safeRagequit makes you lose funds ✓ Fixed in Pull Pattern ### Description `safeRagequit` and `ragequit` functions are used for withdrawing funds from the LAO. The difference between them is that `ragequit` function tries to withdraw all the allowed tokens and `safeRagequit` function withdraws only some subset...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incentive accumulation can be sandwiched with additional shares to gain advantage over long-term depositors ### Description [Incentives are accumulated](https://github.com/code-423n4/2024-03-acala/blob/9c71c05cf2d9f0a2603984c50f76fc8a315d4d65/src/modules/incentives/src/lib.rs#L207) periodically in intervals...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Risk of Incorrect Pool Initialization ### Description ## Vulnerability in CoinLaunchOnRaydiumCtx Instruction The `CoinLaunchOnRaydiumCtx` instruction includes a potential vulnerability that arises from the lack of checks for the `amm_coin_mint` and `amm_pc_mint` accounts within the Raydium initialization pro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Token mint() Produces Conflicts Across Bridges ### Description Description The Polygon child token contract (also called Dimo.sol ) has both a deposit() function for the Polygon bridge, but also a mint() function. As the main token is on the Ethereum blockchain, the purpose of this child token is to serve as 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: Inconsistency in Pause Management when Opening Position ### Description **Update** The team fixed the issue in the commit `a8c5d1d` by reverting the `LimitOrderManager.openPositionByOrder()` if the `PositionManager`contract is paused. However, during our review of other code changes, which are outside the sco...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `safeTransfer` function does not check for existence of ERC20 token contract ### Description [TransferHelper.sol#L21](https://github.com/code-423n4/2022-09-quickswap/blob/main/src/core/contracts/libraries/TransferHelper.sol#L21) The `safeTransfer` function does not check for the existence of the ERC20 toke...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: DCA Economic Model Failure  Partially Addressed ### Description The concept behind **DCA (Dollar\-Cost Averaging)** orders is to break down a large order into smaller portions and execute them over time. This approach aims to reduce slippage and avoid executing the entire order at a potentially unfavorable ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [04] `slash()` is vulnerable to `lockAndBurn()` racing, accounting of consecutive slashes might be inconsistent ### Description In normal circumstances, consecutive slash amounts will be rolled over. For example, Alice is slashed in round 1. If Alice is slashed again in round 2, the slash amount from round 1 w...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Staking API service can be unavailable due to continuation flood vulnerability in net/http ### Description The Staking API service uses Go in version `1.21.6` as configured in the `go.mod` file. However, for this Go version, a vulnerability is known in the `net/http` package. More information about this vuln...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rescue of ERC20 tokens can fail ### Description The [`Incentivizer`](https://github.com/emptysetsquad/emptyset/blob/bf9753ef9cd5b17236036257f290e0d0b850a029/protocol/contracts/src/incentivizer/Incentivizer.sol) contract has the [`rescue`](https://github.com/emptysetsquad/emptyset/blob/bf9753ef9cd5b17236036257...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
true
## Low: Enable Mode can bypass the registry on multi-type validator modules ### Description A validator that does not meet the minimum threshold of attestors in the ERC-7484 registry can be used to pass validation through "enable mode" during `validateUserOp`. Enable mode is intended as a feature whereby a new validat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [12] Lock Pool Instruction Lacks Escrow Account Address Validation Leading to Potential Fund Lock ### Description The Pump Science protocol’s `lock_pool` instruction creates and uses escrow accounts for locking LP tokens, but lacks proper validation of the escrow account addresses. In `lock_pool.rs` : The is...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
logic
true
false
## Medium: `reward` does not account for an under-peg scenario ### Description When `reward` is called, it calculates the accrued yield as the total asset balances in the vault and across strategies, minus the minted shares in the vault. ```solidity function getAccruedYield(address[] calldata assets) public view re...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Upper limit of `poolFeeBPS` is too high ### Description In the StardustToken contract, the owner can set the `feeBps` to 100% (10000). Either the owner can set it to 100% to gain all the tokens when the user swaps their token in the liquidity pool, or the user unknowingly pays more fees than intended if they 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
other
false
false
## Medium: Credit Manager Entries Can Be Overwritten ### Description **Update** It is no longer possible to re-add the same credit manager due to the additional check `creditManagersShareLocker[_creditManager] == address(0)`. **File(s) affected:**`vaults/AbstractVault.sol` **Description:** The `addCreditManager()` 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
low
other
false
false
## Low: Admin will pay fee while withdrawing collected fees ### Description When `kHYPE` is unstaked through `queueWithdrawal()` function, then a fee is collected by the protocol. It is sent in the form of `kHYPE` token to the treasury. As there is no other function to redeem fees, the protocol will use the `queueWith...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 usage of SafeMath library. ### Description **Description** Starting from Solidity version 0.8.0 there is no need of using SafeMath, since Solidity has a built- in check for overflow/underflow. **Recommendation**: Replace SafeMath function with Solidity operators(+, -, *, /).
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing Validation for Withdrawal Queue Limits ### Description The issue is identified within the function [\_claimUnstETH](https://github.com/lidofinance/community-staking-module/blob/a898d045b63303294752d1a60ad9dfe8d8ba69ca/src/abstract/CSBondCore.sol#L187-L190) of the contract `CSBondCore`. The current impl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 zero address validation for _token1 in AdaswapPair initialize. ### Description **Description** Missing zero address validation of_token1. Location: - ./core/contracts/AdaswapPair.sol #56 **Recommendation** Add zero address validation for `_token1` parameter in `initialize` function. **Re-audit comm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Validation
false
false
## Severity: High Risk ## Context - `BridgeFacet.sol#L231-L238` - `BridgeFacet.sol#L257-L265` - `BridgeFacet.sol#L271-L276` - `Router.sol#L37-L39` - `XAppConnectionManager.sol#L106-L108` - `XAppConnectionManager.sol#L115-L125` ## Description The Connext and Nomad protocol rely heavily on configuration parameters. The...
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
medium
rounding
false
false
## Medium: WAD incorrectly used for rounding ### Description Within [`CollateralAuctionHouse`](https://github.com/reflexer-labs/geb/blob/261407b6b332c2063e4256aa5f9b223d52dad7e1/src/CollateralAuctionHouse.sol), if the amount being bid in a collateral auction [exceeds the `remainingToRaise`](https://github.com/reflexer...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 validation in `Bera_Module::bera_infrared_stake` should follow standard pattern ### Description **Description:** In [`Bera_Module::bera_infrared_stake`](https://github.com/d2sd2s/d2-contracts/blob/c2fc257605ebc725525028a5c17f30c74202010b/contracts/modules/Bera.sol#L78-L82), there is a call to `vali...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [14] `PredyPool#uniswapV3MintCallback()` is potentially vulnerable to some attacks ### Description https://github.com/code-423n4/2024-05-predy/blob/a9246db5f874a91fb71c296aac6a66902289306a/src/PredyPool.sol#L77-L91 Now, the only verification that's applied to this address is the fact that it's been validated...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Profitable liquidations and accumulation of bad debt due to earnings accumulator not being triggered before liquidating ### Description The earnings accumulator is not updated and converted to `floatingAssets` pre liquidation, leading to an instantaneous increase of balance of the liquidatee if it has share...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential Domain and Subdomain Impersonation Due to Absence of String Validation ### Description **Update** The client fixed the issue in `5b97484533cdfee1aca8ebf90090357e77d9e5bd` by using `StringUtils.validate()`, a newly implemented function. This function ensures that strings in the `registerRootDomain()`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rewards might be lost due to the error that `_updateRewardIndex()` might advance `lastBalance` without advancing index for a token ### Description The function `_updateRewardIndex()` is used to update the `lastBalance` and `index` of each reward token. This function will be called when a user deposits, withdr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Compound debt is only applied to the latest user's borrowing ### Description Compounding interest on debt won't be applied to the last borrow someone takes, simple interest will. ### Impact The last borrow a user repays won't be applied compounding interest on the debt. And any other borrow before that wil...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Premature unlocking of goat tokens upon transfer of lock ### Description In the Vester.sol contract, the admin has the capability to transfer an investor's lock to another account via the `transferLock` function. However, during this transfer, the `startedAt` timestamp is not being updated. As a result, Goat ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use one file for each contract or library ✓ Fixed ### Description The repository contains a lot of contracts and libraries that are added in the same file as another contract or library. Organizing the code in this manner makes it hard to navigate, develop and audit. It is a best practice to have each 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
medium
token
false
false
## Medium: SeaDrop 'sadmin would need to set feeBps manually after/before creation of each drop by the owner ### Description When an owner of an `ERC721SeaDrop` token creates either a public or a token gated drop by calling `updatePublicDrop` or `updateTokenGatedDrop`, the `PublicDrop.feeBps` / `TokenGatedDropStage.fe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
false
false
## Low: Remove obsolete `return` statements when using named returns ### Description Remove obsolete `return` statements when using named returns: * `WorldLibertyFinancialV2::getVotes` - final `return votingPower;` at L260
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
true
false
## Medium: `_accumulateExternalRewards()` could turn into an infinite loop if the check condition is true ### Description In WstethLiquidityVault.sol, the for loop in `_accumulateExternalRewards()` utilizes `continue` so it could proceed to the next iteration upon having a true condition in the sanity check. This will...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: MemoryGrow opcode is underpriced for programs with fixed memory ### Description The ink charged by the MemoryGrow opcode is less than expected for programs that have a fixed memory size. Stylus defines an ink price for every WASM opcode to be used during program activation. The costs for certain opcodes, suc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
false
false
## Medium: Upgradeable `creditManager` params ### Description Upgrade of `creditManager` params may lead to `creditAccount`s liquidation or break dependent protocols logic. https://github.com/Gearbox-protocol/gearbox-contracts/blob/0ac33ba87212ce056ac6b6357ad74161d417158a/contracts/credit/CreditManager.sol#L705 ### 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
rounding
true
false
## Medium: Rounding error in unstaking esMeta ### Description **Severity:** Medium **Context:** [`MetaManager.sol#L84`](https://github.com/getmetafinance/meta/blob/00bbac1613fa69e4c180ff53515451df4df9f69e/contracts/meta/MetaManager.sol#L84) **Description:** Users can start unstaking esMETA by calling `MetaManager::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
true
false
## Low: Incorrect Root Assignment ### Description ## Concurrent Merkle Tree - Append Batch In `concurrent::append_batch`, `current_node` is updated iteratively to represent the hash of nodes along the path from the leaf to the root. After computing the Merkle path for a leaf, the `current_node` is assigned as the roo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
overflow
true
false
## High: `RewardThrottle.checkRewardUnderflow()` might track the cumulative `APR`s wrongly. ### Description ### Impact `RewardThrottle.checkRewardUnderflow()` might calculate the cumulative `APR`s for epochs wrongly. As a result, `cashflowAverageApr` will be calculated incorrectly in `updateDesiredAPR()`, and `targe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing Authentication Check on Application Start ### Description When switching between applications, the Fuelet application did not lock the wallet to re-ask for the PIN or fingerprint when accessing it again after the application resumed from background. Such a security measure would provide security in de...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: First block proposer check in the `LibProposing._isProposerPermitted` function is errorneous ### Description The `LibProposing.proposeBlock` function calls the `_isProposerPermitted` private function, to ensure if the `proposer is set`. Only that specific address has the permission to propose the block. In...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
false
false
## High: (s *DispersalServer) DisperseBlobAuthenticated() vulnerable to stream exhaustion DOS ### Description The Disperser Server does not include a timeout in the authentication challenge flow. This makes it possible for a malicious actor to open up multiple streams that will tie up resources. It may be possible 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
access-control
false
false
## Low: Privileged Roles and Ownership ### Description **Update** Marked as "Fixed" by the client. Addressed in: `59630355260417bc71386c12b75f30dd3ab8dbe3`. The client provided the following explanation: > Added information to the documentation about the privileged role and its capabilities. **File(s) affected:**`Ma...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: `NFTVault.showPosition()`: `positions[_nftIndex].liquidatedAt` should get cached ### Description See `@audit` tags:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
access-control
true
false
## Gas: [G‑10] Functions guaranteed to revert when called by normal users can be marked `payable` ### Description *Credit: Description by [IllIllI000](https://gist.github.com/IllIllI000)*. If a function modifier such as `onlyOwner` is used, the function will revert if a normal user tries to pay the function. Marking ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 opcode offset used for Branch Less instruction ### Description The `Rv32BranchLessThan256Chip` uses the wrong opcode offset when creating its internal `BranchLessThanCoreChip`. It uses `Rv32LessThan256Opcode::CLASS_OFFSET` instead of `Rv32BranchLessThan256Opcode::CLASS_OFFSET`. This will cause the 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...
solodit_api
medium
Liquidation
false
false
Source: https://github.com/sherlock-audit/2022-11-isomorph-judging/issues/229 ## Found by ak1, bin2chen, rvierdiiev ## Summary For all the tree type of vault, a user is allowed to increase collateral only if the overall collateral value is higher than the margin value. imo, this restriction may not be needed. any...
Sherlock
3
Isomorph
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: State-changing methods are missing event emissions ### Description While the `SmoothlyPool` contract is highly dependent on events, the `PoolGovernance` does not emit events on state changing methods. Also, `SmoothlyPool::receive` doesn't emit one. Make sure that all methods in the codebase that change state e...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Non-standard ERC20 tokens will be stuck in contracts ### Description **Severity** **Impact:** High, as it will result in stuck funds **Likelihood:** Low, as only some tokens that might not actually be used will be problematic **Description** Tokens like `USDT` do not return a `bool` on `ERC20::transfer`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Use of Yanked Crates in kzg-ceremony-sequencer Repository ### Description Rust advisory lists two crates that exist in the dependency tree that have been yanked. - **blake2 version "0.10.4"** - blake2 0.10.4 - coins-core 0.7.0 - coins-bip32 0.7.0 - ethers-signers 1.0.0 - kzg-ceremony-sequencer 0.1.0...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
logic-error
false
false
## Low: `SecuritizeAmmNavProvider` quote functions don't reflect execution behavior due to missing baseline reset logic ### Description `SecuritizeAmmNavProvider::quoteBuyBase, quoteSellBase` are supposed to provide price quotes, however they don't simulate the behavior of `_checkAndResetBaseline` which is executed 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
low
access-control
true
false
## Low: POTENTIAL ACCESS CONTROL BYPASS ### Description The `ProductManager` role is used to grant access from some contracts to other contract's functions. There exists a scenario in which any user can be the owner of the entire protocol by means of using the `hub contract's` delegate calls to call any other protocol...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: All allowances to DepositStableCoinToDealer and GeneralRepay can be stolen due to unsafe call ### Description DepositStableCoinToDealer.sol and GeneralRepay.sol are helper contracts that allow a user to swap and enter JOJODealer and JUSDBank respectively. The issue is that the call is unsafe allowing the 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
low
other
false
false
## Low: Implicit casting ### Description The lack of explicit casting between different variable types, hinders code’s readability, making it more error-prone and hard to maintain. In `GovernerAlpha.sol`, in lines [301](https://github.com/emptysetsquad/emptyset/blob/bf9753ef9cd5b17236036257f290e0d0b850a029/protocol/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `StandardPolicyERC1155.sol` returns `amount == 1` instead of `amount == order.amount` ### Description [StandardPolicyERC1155.sol#L12-L36](https://github.com/code-423n4/2022-10-blur/blob/main/contracts/matchingPolicies/StandardPolicyERC1155.sol#L12-L36) [BlurExchange.sol#L154-L161](https://github.com/code-423n...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Uncapped Fee Range ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Setting of fees will go through governance, so community will be able to vote on the fees. So we don’t think that we should have a tighter bound in the code. **File(s) affect...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing Return Value Validation ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Acknowledged. If approve fails, subsequent market buy will fail. If insufficient balance, the deposit will fail already. We omit the approve success check there 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
signature
true
false
## Medium: `PositionManager` & `PermitERC721` Failure to comply with the EIP-4494 ### Description The contract `PositionManager.sol` inherits from `PermitERC721.sol`, but both contracts incorrectly implement the `EIP-4494` standard, which is an important part of the contract. This leads to the following issues: * `P...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
overflow
false
false
## High: Potentially unsafe usage of unchecked math ### Description The following instances of unchecked math were identified: * The operation on [line 44](https://github.com/thesandboxgame/sandbox-smart-contracts/blob/8430ea5fdb0f4905b9678689ce0cbc2f74a704b6/src/solc_0.5/Land/erc721/LandBaseTokenV3.sol#L44) of [`La...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: | Bad Decimal String UX ### Description **Description** There are a few instance where `generateDecimalString` produces strings which may be further refined. If the decimals argument is set to 0, a number with an appended decimal point is produced such as “1.”. The function does not remove trailing zeroes. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
critical
access-control
true
true
## Critical: DAO creator can inflate their privileges to mint/burn membership tokens, steal profits, and abuse approvals to `MembershipERC1155` ### Description During the [creation of a new DAO](https://github.com/OneWpOrg/audit-2024-10-oneworld/blob/416630e46ea6f0e9bd9bdd0aea6a48119d0b515a/contracts/dao/MembershipFac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Undound FLUX accrual through reset and merge ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/FluxToken.sol Impacts: - Direct theft of any user funds, whether at-rest or in-motion, other than unclaimed yield - Manipulation of governance 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
rounding
true
false
## Medium: Math rounding in AutoRoller.sol is not ERC4626-complicant: previewWithdraw should round up. ### Description Math rounding in AutoRoller.sol is not ERC4626-complicant: previewWithdraw should round up. ### Impact Other protocols that integrate with Sense finance AutoRoller.sol might wrongly assume that the f...
0