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
high
other
true
false
## High: `account.holdsToken` is never set ### Description The `addHolding` function does not update the `account.holdsToken` map. This leads to a critical vulnerability where deposits of the same token keep being pushed to the `account.holdingTokens` array but the sum is correctly updated in `account.holdings[token...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
rounding
true
false
## Gas: Improvements arctan ### Description The performance (gas usage) of the current arctan implementation is: `arctan(ONE)` ~ 5126 Gas (with solidity 0.6.8) The main cause of the gas usage is the library `ABDKMathQuad` which implements IEEE 754 quadruple-precision binary floating-point numbers. However, the arcta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack Of Support For Zero Decimals ### Description ## ValidateBasic of PoolConfig Structure In the `ValidateBasic` of the `PoolConfig` structure, the checks currently enforce that both `BaseDecimals` and `QuoteDecimals` must be strictly positive integers (greater than zero). However, ERC20 tokens may have zero...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: GoUnusedConst ### Description **Severity**: Low **Status**: Acknowledged **Description:** Several unused constants are declared in the codebase. **Files**: app/params/weights.go, app/upgrades/v1/constants.go, precompiles/distribution/errors.go, rpc/apis.go, server/flags/flags.go, x/erc20/types/events.go, x...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: System Flooding and Spamming ### Description The current implementation of the `endo_avs` account creation process allows for the creation of **multiple accounts with the same AVS** `name`and **does not enforce a minimum delegate amount** upon AVS's creation. This combination can be exploited by malicious acto...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Trade pair owners are allowed to change asset recipient address when it has no impact ### Description Trade pair owners are allowed to change their asset recipient address using `changeAssetRecipient()` while `getAssetRecipient()` always returns the pair address itself for Trade pairs as expected. Trade pair o...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
false
false
## Low: Sheep Burns Can Be Sandwiched ### Description The Wolf NFT contract’s burn mechanism, which removes SHEEP tokens from the sheep market liquidity pool when triggered by a wolf owner, is susceptible to front-running and sandwich attacks due to its public and predictable nature. An attacker can monitor the mempoo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Inconsistent behavior of `fetchEthPrice()` when Chainlink oracle fails ### Description The `EthPriceFeed.fetchEthPrice()` function reverts when `status == Status.chainlinkBroken`. This status is set after the Chainlink oracle has returned wrong or outdated data, or the price has deviated too much from the prev...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 & Ownership ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: Documentation will be updated at a later stage. **File(s) affected:**`EntityFacet.sol`, `UserFacet.sol`, `AdminFacet.sol`, `ACLFacet.sol`, `GovernanceFacet.sol`, `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
front-running
true
false
## Medium: User that delegate eth to `RdpxV2Core` will incur loss if his delegated eth fulfilled by decaying bonds ### Description Current design allow user call `bondWithDelegate` using decaying bonds, this will make delegatee incur loss because they will get less bond and paid more eth. ### Proof of Concept When 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
gas
access-control
true
false
## Gas: [G‑10] Functions guaranteed to revert when called by normal users can be marked `payable` ### Description If a function modifier such as `onlyOwner` is used, the function will revert if a normal user tries to pay the function. Marking the function as `payable` will lower the gas cost for legitimate callers be...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Deep factor not customisable ### Description The fee calculation formula mentions a deep factor `d`: *Value that decides how much deeper the curve looks.* Readers may have the impression that this may therefore be a customisable parameter in the contract, but in actual factor, is set to a constant value of `1`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Lack of input validation in Option contract’s initialization ### Description The [`initialize` function](https://github.com/primitivefinance/primitive-protocol/blob/78a8e64b7618e9199203ab84042876c580ae1e90/packages/primitive-contracts/contracts/option/primitives/Option.sol#L54) of the `Option` contract does 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
low
token
false
false
## Low: Tokens Removed From Whitelist Can Still Be Used to Fulfill Existing Offers/bids ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Actually we do not plan to remove any ERC20 tokens from the white list, so on our opinion this issue is not releva...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Inconsistent use of Polkadot dependencies ### Description The Composable Finance code specifies Polkadot dependencies by both tag and branch. As a result, it uses multiple copies of the dependencies. For example, the `polkadot-primitives` dependency is specified by tag in the `common` package (figure 4.1) 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
true
false
## Low: Perpetual - Variable shadowing in constructor ✓ Fixed ### Description `Perpetual` inherits from `PerpetualGovernance` and `Collateral`, which declare state variables that are shadowed in the `Perpetual` constructor. ### Recommendation This issue was addressed by following the recommendation.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Forgotten `cToken` references ### Description https://github.com/code-423n4/2023-07-moonwell/blob/main/src/core/MultiRewardDistributor/MultiRewardDistributor.sol#L842 https://github.com/code-423n4/2023-07-moonwell/blob/main/src/core/MultiRewardDistributor/MultiRewardDistributor.sol#L847 https://github.com/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
low
other
false
false
## Low: Protocols fail to integrate with vault, causing fund loss ### Description The `_deposit` and `_withdraw` functions are limited by `depositCap` and `idleBalance` respectively, but these limitations are not implemented in the ERC4626 functions `maxDeposit` and `maxWithdraw`. This could cause integration compati...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
input-validation
false
false
## Low: Redundant Instruction Attributes in `Initialize` and `Vest` Instructions ### Description In `xbelo` program's `Initialize` and `Vest` account structs, `#[instruction()]` and `#[instruction(amount: u64, vest_duration: i64)]` attributes are provided respectively. This attribute declares instruction parameters 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...
solodit_api
high
Ownership
false
false
## Security Assessment Report ## Severity: High Risk ### Context - Affected Contracts: `WatcherClient.sol`, `WatchManager.sol`, `Merkle.sol`, `RootManager.sol`, `ConnextPriceOracle.sol`, `Upgrade-BeaconController.sol`, `ProposedOwnableFacet.sol#L276-L285` ### Description Consider the following scenarios: #### Insta...
Spearbit
5
Connext
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Pricing equation is not functioning properly ### Description **Severity**: High **Status**: Resolved **Description** GlpPricing.sol - In method usdToGlp, the result is divided by 1e24 to adjust units, but the placement of 1e24 in this context ends up having a result of zero for reasonably given usdAmount. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Save 1 storage read in `L2MessageServiceV1::setMinimumFee` by emitting `MinimumFeeChanged` event using `_feeInWei` parameter ### Description Save 1 storage read in `L2MessageServiceV1::setMinimumFee` by emitting the `MinimumFeeChanged` event using the `_feeInWei` parameter eg: ```solidity function setMinimum...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Arbitrary Call Data to Exchange Can Circumvent Fee Collection ### Description **Update** Marked as "Fixed" by the client. Addressed in: `b166e5b` and `6529d31`. All trade data must now be signed by 31Third's key in order to be accepted by the contract. This means that the responsibility for validation now 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
medium
dos
true
false
## Medium: Denial of Service (DoS) vulnerability in ```UserLoan``` creation due to front-running attack ### Description Report type: Smart Contract Target: https://testnet.snowtrace.io/address/0x2cAa1315bd676FbecABFC3195000c642f503f1C9 Impacts: - Griefing (e.g. no profit motive for an attacker, but damage to the us...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
access-control
false
false
## Low: Inconsistent role for `GMTokenManager::setIssuanceHours` ### Description The [`GMTokenManager::setIssuanceHours`](https://github.com/ondoprotocol/rwa-internal/blob/a74d03f4a71bd9cac09e8223377b47f7d64ca8d4/contracts/globalMarkets/tokenManager/GMTokenManager.sol#L400-L410) function is restricted to `CONFIGURER_R...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unlocked Pragma ### Description **Update** Acknowledged by the Sequence team: > _"We want to allow 3rd parties to integrate with our package. These contracts should use unlocked versions to support projects that require later solidity features when building on top of these implementations."_ **Description:**...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Use of static bitcoin fees ### Description [Line 10 in bitcoin.js of cosmos/fundraiser-lib](https://github.com/cosmos/fundraiser-lib/blob/426425dfc296060a9b87830e69e19ae8a6d444c0/src/bitcoin.js#L10) defines a fee rate of 200 satoshis per byte. That’s the current cheapest and fastest fee rate according 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
medium
logic
true
false
## Medium: The decimal unit discrepancy in `lockedVeTokenUsdcValue` Function ### Description **Severity**: Medium **Status**: Resolved **Location**: EligibilityDataProvider.sol **Description** The `lockedVeTokenUsdcValue` function does not accurately return the value in proper decimal units. The issue arises bec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: FeeBuyback.submit() method may fail if all allowance is not used by referral contract ### Description Inside `submit()` method of `FeeBuyback.sol`, if token is `_telcoin` then it safeApprove to `_referral` contract. If `_referral` contract do not use all allowance then `submit()` method will fail in next 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
low
oracle
true
false
## Low: Discrepancy In Account Type Handling ### Description ## PullFeedSubmitResponse Instructions In the `PullFeedSubmitResponse` instructions, there is a vulnerability in `parse_remaining_accounts` concerning the improper handling of accounts that are neither oracle accounts nor oracle_stats accounts. While parsin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
## Low: Extra space in struct encoding for EIP-712 ### Description `ACTION_DATA_NOTATION` is defined as: ```solidity string constant ACTION_DATA_NOTATION = "ActionData(address actionTarget, bytes4 actionTargetSelector, PolicyData[] actionPolicies)"; ``` Notice the space between `,` and `bytes4` for the second argume...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Borrower can abuse enterMarkets to force liquidator can pay more funds ### Description https://github.com/code-423n4/2023-11-betafinance/blob/0f1bb077afe8e8e03093c8f26dc0b7a2983c3e47/Omni_Protocol/src/OmniPool.sol#L331 https://github.com/code-423n4/2023-11-betafinance/blob/0f1bb077afe8e8e03093c8f26dc0b7a29...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Don't update state
false
false
<https://github.com/code-423n4/2022-11-stakehouse/blob/4b6828e9c807f2f7c569e6d721ca1289f7cf7112/contracts/liquid-staking/StakingFundsVault.sol#L224> StakingFundsVault has the claimRewards() function to allow users to withdraw profits. function claimRewards( address _recipient, bytes[] calldata _b...
Code4rena
5
Stakehouse Protocol
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Redundant check for `_votes` in `_reset()` function ### Description The `_reset` function in the `Voter` contract contains a redundant check for the variable `_votes`, which is of type `uint256`. The first `if` statement checks whether `_votes` is not equal to zero. However, since `_votes` is a `uint256`, it...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Floating Pragma ### Description **Severity** - Informational **Status** - Acknowledged **Description** The contract uses a floating pragma → It allows to compile contracts with various versions of the compiler and introduces the risk of using a different version when deploying than during testing. **Reco...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Missing docstrings ### Description Many of the contracts and functions in the Reflexer code base lack documentation. This hinders reviewers’ understanding of the code’s intention, which is fundamental to correctly assess not only security, but also correctness. Additionally, docstrings improve readability and ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
false
false
## Low: Dust Asset Amounts Can Amplify Gas Costs ### Description By dusting an account with 1 WEI of assets, an attacker can grief normal users by increasing their gas costs. Whenever an account engages in a risk-increasing trade, a risk assessment is conducted. This process, which involves gas-intensive computations,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: Missing __gap variable in base contracts used for upgradeable derived contracts ### Description Severity: Low Risk Context: StakingRewards.sol#L17, RootHelper.sol#L9 Description: Both RootHelper and StakingRewards are abstract contracts that use the regular linear storage pattern of solidity. These are also us...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Duplicate voting via EscrowManager NFT transfers ### Description The `ProposalManager` contract relies on the `token().getPastVotes(account, timepoint)` method to determine the voting power of an account at a specific snapshot `timepoint`. However, there is no restriction preventing a user from voting on a pr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
high
oracle
false
false
Source: https://github.com/sherlock-audit/2023-01-uxd-judging/issues/249 ## Found by berndartmueller, DecorativePineapple, cccz, HonorLt, 0x52, ctf\_sec, 0Kage ## Summary PerpDepository#getPositionValue queries the exchange for the mark price to calculate the unrealized PNL. Mark price is defined as the 15 minute ...
Sherlock
5
UXD Protocol
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Validation in `SetGlmAddress` ### Description **Severity** : Low **Status** : Resolved **Description**: In GLMVult.sol `setGlmAddresses()` function allows the owner to update critical contract addresses without validation checks. Malicious or erroneous updates could redirect funds, disable functiona...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Vague revert messages ### Description **Severity**: Informational **Status**: Acknowledged **Description** PriceAggregator.sol - In function fulfill(), there are two cases in which the transaction fails. If the backup price (extracted by backup feed) is not within the accepted bounds of the price, the trans...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
false
false
## Medium: Transaction can fail due to batchId collision ### Description The protocol supports 2D nonces through a `batchId` mechanism. Due to different ways to execute transaction on the wallet there could be a collision between `batchIds` being used. This can result in unexpected failing of transactions ### Proof ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
false
false
## Medium: yieldTrackers can be changed anytime ### Description **Severity**: Medium **Status**: Acknowledged **Description** It should also be noted that the yieldTrackers addresses can be changed by the gov which could lead to undiscovered or unknown bugs such as Denial of Service(which depends on the YieldTracke...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Excessive Utilization Of Saturated Math ### Description ## Code Review - Saturating Math Usage Currently, within the code base, saturating math is utilized in multiple places to prevent potential overflows, specifically through the use of `saturating_mul`. When declaring constants, `saturating_mul` is employe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: interfaceFee Incorrectly converted uint40 when stored ### Description The `interfaceFee.amount` is currently defined as `uint48` , with a maximum value of approximately `281m`. However, it is incorrectly converted to `uint40` when saved, `uint40(UFixed6.unwrap(newValue.interfaceFee.amount))`, which means 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: `block.timestamp` used as swap deadline offers no protection ### Description `_swapETHForBEAM()` and `_swapUSDCforBEAM()` perform a swap with `deadline = block.timestamp()`. The block the transaction is eventually put into will be `block.timestamp` so this offers no protection. Recommendation: pass deadline 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...
solodit_api
medium
Oracle
true
true
## Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L78-L105 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L112-L144 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Market.sol#L344-L347 https://github.com/code-423n4/2022-10-inverse/blob/main/src/...
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
oracle
true
false
## Medium: no validation to ensure the arbitrum sequencer is down ### Description There is no validation to ensure sequencer is down ### Impact when sequencer is down, stale price is used for oracle and the borrow value and collateral value is calculated and the protocol can be forced to rebalance in a loss position ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Misleading Comments ### Description The following misleading comments were identified: * The [comment](https://github.com/mantlenetworkio/mantle-token-contracts/blob/b2016dfb932d85b8b33a9294e8280aa04ca46975/contracts/L1/L1MantleToken.sol#L117) describing the `setMintCapNumerator` references a `MintCapNumerat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inaccurate interest-rate and liquidity calculations due to omitted `updateInterestRatesAndLiquidity()` call in `setProtocolFeeRate()` ### Description The `setProtocolFeeRate()` updates the protocol fee rate but fails to invoke the `updateInterestRatesAndLiquidity()` function afterward. This oversight result...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
token
true
true
Source: https://github.com/sherlock-audit/2023-02-blueberry-judging/issues/204 ## Found by rbserver ## Summary When an extreme market condition occurs, the protocol faces an exploit, or the authority issues a legal requirement, the protocol is able to pause the lending, borrowing, and repaying functionalities. Howe...
Sherlock
5
Blueberry
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: [21] `UPPER_CASE` names should be reserved for `constant`/`immutable` variables ### Description If the variable needs to be different based on which class it comes from, a `view`/`pure` _function_ should be used instead (e.g. like [this](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/76eee35971c25...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Incorrect Cast Of GMToken Price ### Description **Severity** - Medium **Status** - Resolved The market token price returned by the price reader (used in manager and other GM contracts) is directly casted to a uint256 (L143) , According to GMX , although unlikely , it is possible for a market token to ha...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## High: The slashed validator's stake gets split between `client`, `referrer`, and `service` ### Description There is an issue at line https://github.com/p2p-org/eth-staking-fee-distributor-contracts/blob/30a7ff78e8285f2eae4ae552efb390aa4453a083/contracts/feeDistributor/ContractWcFeeDistributor.sol#L114. If the user'...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `maxDeposit()` Value Can Be Greater than `shareSupplyCap` ### Description **Update** Fixed in: `be63c44d1f0de59c90f745d3f63bb8433baff51d`. The client provided the following explanation: > _Removed special case when supplyCap == type(uint192)max for maxDeposit() and maxMint()._ **File(s) affected:**`Fund.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
high
dos
false
false
## High: Credentials checked into source control ### Description The Uniswap mobile repository has several sensitive credentials checked into source control. Most notably, the `src/features/wallet/accounts/useTestAccount.ts` file contains a hard-coded mnemonic that controls real-world value across several chains; leak...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unlocked Pragma Compiler ### Description Every Solidity file specifies in the header a version number of the format pragma solidity `(^)0.8.*` . The caret ( `^` ) before the version number implies an unlocked pragma, meaning that the compiler will use the specified version and above, hence the term "unlocked...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Anyone who uses same adapter has the ability to pause it ### Description ### Impact Anyone who uses same adapter has the ability to pause it. As result you have the ability to pause any vault by creating your vault with the same adapter. When a user creates vault, he has the ability to deploy new adapter or...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
token
true
false
## Low: Unreachable code inside `sUSDeStrategy::reduceReserve` ### Description The last line inside `sUSDeStrategy::reduceReserve`: `revert UnsupportedToken(token);` is unreachable. `sUSDeStrategy::reduceReserve` can be called only via `StrataCDO::reduceReserve`, which before calling `strategy.reduceReserve(token, 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
overflow
false
false
## Gas: `++i`/`i++` should be `unchecked{++i}`/`unchecked{i++}` when it is not possible for them to overflow, as is the case when used in `for`- and `while`-loops ### Description The `unchecked` keyword is new in solidity version 0.8.0, so this only applies to that version or higher, which these instances are. This sa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Redundant check ### Description **Severity**: Informational **Status**: Resolved **Description** In Contract TokenSale.sol, the method deposit checks the following: And the method deposit calls `_processPrivate` which also checks: Since `_processPrivate` is called only by `deposit()` method, this check 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
high
Flash Loan
false
false
Source: https://github.com/sherlock-audit/2022-11-telcoin-judging/issues/83 ## Found by WATCHPUG ## Summary `Checkpoints#getAtBlock()` can be faked with falshloan as it may return the value of the first checkpoint in the same block. ## Vulnerability Detail `Checkpoints#getAtBlock()` will return the value on chec...
Sherlock
5
Telcoin
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: SingleNativeTokenExitV2 assumes first exchange holds the outputToken ### Description _Submitted by kenzo, also found by cmichel and hyh_ SingleNativeTokenExitV2 allows the user to exit and execute trades via multiple exchanges. When finishing the trades and sending a single output token back to the user, t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: Incorrect Emits ### Description `WrappedERC20Asset::withdraw()` emits the wrong event on line [91]. The middle value should be `recipient`: ```solidity event Withdraw(uint indexed accountId, address indexed recipient, uint amountAsset); ``` `CashAsset::_withdrawCashAmount()` emits the wrong event on line [428...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
false
false
## High: Votes can be duplicated ### Description The Data Verification Mechanism uses a commit-reveal scheme to hide votes during the voting period. The intention is to prevent voters from simply voting with the majority. However, the current design allows voters to blindly copy each other’s submissions, which undermi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: Use Assembly for hash calculations ### Description In certain cases, using inline assembly to calculate hashes can lead to significant gas savings. Solidity's built-in keccak256 function is convenient but costs more gas than the equivalent assembly code. However, it's important to note that using assembly shou...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: bank tile possible code execution ### Description Report type: Blockchain/DLT Target: https://github.com/firedancer-io/firedancer/tree/e60d9a6206efaceac65a5a2c3a9e387a79d1d096 Impacts: * Any sandbox escape ## Description ## Brief/Intro Bank and poh tiles do not have checks for minimum fragment size. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Low: Timelock events can be reused ### Description The `GNTDeposit` contract implements timelocks in order to prevent users from withdrawing their tokens for a certain period of time. However, `Deposit` events do not include corresponding task information and are indistinguishable from one another. A malicious user...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: An account roll may be impossible if the vault is already at the maximum borrow capacity. ### Description One of the actions allowed in Notional Strategy Vaults is to roll an account’s maturity to a later one by borrowing from a later maturity and repaying that into the debt of the earlier maturity. However,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
true
false
## Low: Modification of Claim Start Block After Claiming Begins ### Description The `changeClaimStartBlock` function in the Pepper contract allows the owner to modify the `claimStartBlock` at any time, even after the claiming process has begun. ``` function changeClaimStartBlock(uint256 newStartBlock) public onlyOw...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: [01] `DAO.execute` FUNCTION DOES NOT CONSIDER TOKEN'S `transfer` OR `transferFrom` FUNCTION CALL THAT DOES NOT REVERT BUT RETURNS `false` AS A FAILURE ### Description Some tokens do not revert but return `false` when calling their `transfer` or `transferFrom` functions fail; to cover this scenario, OpenZeppeli...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [05] ### Description No need to re-inherit Context contract in [VTVLVesting](https://github.com/code-423n4/2022-09-vtvl/blob/f68b7f3e61dad0d873b5b5a1e8126b839afeab5f/contracts/VTVLVesting.sol#L11) smart contract as Context is already inherited by [AccessProtected](https://github.com/code-423n4/2022-09-vtvl/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
low
token
true
false
## Low: Anyone can skim ERC20 tokens from the Core contract ### Description In `VeloAmmModule.beforeRebalance`, which is delegated-called by Core to retrieve a `tokenId` from the gauge contract, we retrieve rewards from the gauge and transfer those rewards, excluding a protocol fee, to the farm contract where stakers ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LayerZero channel for deployments can be blocked due to reverts ### Description The `LayerZeroDeployer` contract uses LayerZero v1, which has a blocking nature by default, and its receiver function doesn't implement a non-blocking pattern. Any revert during the cross-chain execution will block the whole cha...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
true
false
## High: Users can mint DUSD with less collateral than required, which gives them free DUSD and may open a liquidatable position ### Description Users can mint more DUSD than the value of collateral they provided for the Short Order when they cancel it. *Note: Each number below is a step and some steps jump to other ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
dos
true
false
## Low: Reporter trying to reshare a pending validator will lead to denial of service ### Description A validator can reshare an operator if its either in `PENDING` or `ACTIVE` status. When resharing is executed for a validtor in `PENDING` state , the existing operators are removed from the SSV cluster -> however, 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
low
rounding
false
false
## Low: Swap fees are not equivalent for EXACT_IN and EXACT_OUT cases ### Description Severity: Low Risk Context: Vault.sol#L382-L428 Description: The swap fees are applied in a way such that the effective fee is not equivalent for both swap kinds EXACT_IN and EXACT_OUT . • Compute Out Given Exact In ( computeOutGiven...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Positive Pyth oracle exponents should be explicitly handled ### Description **Description:** `PriceOracle._scalePythPrice()` assumes that the exponent `_expo` will always be negative: While this assumption is [not likely to be violated](https://x.com/abarbatei/status/1901327645373030711), it is possible for ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: `Zap.zapOut` Uses LP shares Instead of Tokens ### Description This issue has been identified within the `zapOut` function of the `Zap` contract. ```solidity uint256 lpTokenShares = ILPToken(lpToken).getSharesByPeggedToken(lpAmount); IERC20(lpToken).forceApprove(spa, lpTokenShares); ``` The receiving `Sel...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LlamaFactory is governed by Llama itself ### Description Llama uses their own governance system to govern the LlamaFactory contract. The LlamaFactory contract is responsible for authorizing new LlamaStrategies. We can identify several potential drawbacks with this approach. If only a single strategy 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
other
true
false
## Low: Unused Private State Variable `_veGuanStorage` ### Description Unused private state variable ` _veGuanStorage`. ### Impact Increased gas cost. ### Recommendation Remove unused variable declaration.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
signature
false
false
## Gas: Unnecessary declaration of `currentNonce`` ### Description In `AmbireAccount.execute()` `currentNonce` is declared: `uint256 currentNonce = nonce;` (`AmbireAccount.sol#L136`), but never changed, and then used to update `nonce`: `nonce = currentNonce + 1;` (`AmbireAccount.sol#L189`). `nonce` alone can be used 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
liquidation
true
false
## Low: Funding is incorrectly updated while executing `LiquidationBranch.liquidateAccounts()` with multiple trading accounts and/or positions. ### Description `LiquidationBranch.liquidateAccounts()` can liquidate multiple accounts in one call. If account has more than 1 position, all these positions would be liquidat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Stealing ETH using discount factor bypass ### Description **Severity:** Critical **Path:** WithdrawalQueueBase.sol:_claimWithdrawalTo#L428-L462 **Description:** Whenever a batch of withdrawal requests is finalised, a discount factor is calculated and a checkpoint is created if the new factor differs. The 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
initialization
true
false
## Medium: Missing input validation on `createAuction` function parameters can lead to loss of value ### Description **Impact:** High, as it can lead to stuck funds **Likelihood:** Low, as it requires user error/misconfiguration **Description** There are some problems with the input validation in `createAuction`, m...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: When Chainlink price isn't available, an attacker can extract value from the protocol ### Description When Chainlink price feed is not available, OracleModule would use Uniswap TWAP price or a manually specified price. During this time if the price of the token has sudden price changes then the attacker can ex...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
true
false
## High: User can evade `liquidation` by depositing the minimum of tokens and gain time to not be liquidated ### Description The [CollateralAndLiquidity](https://github.com/code-423n4/2024-01-salty/blob/53516c2cdfdfacb662cdea6417c52f23c94d5b5b/src/stable/CollateralAndLiquidity.sol) contract contains a critical vulnera...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: DoSed SUI node on withdrawals to SUI due to lack of payload validation ### Description SUI withdrawals do not handle incorrect payloads, only return with an error: ```go func (s *Signer) buildWithdrawAndCallTx( ctx context.Context, params *cctypes.OutboundParams, coinType, gasBudget, withdrawCapID, 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
other
true
false
## Low: Missing Contract Code Check in _callOptionalReturn Function ✓ Fixed ### Description The `_callOptionalReturn` function performs a low\-level call to the `token` contract without first checking if the target address contains contract code. This omission can lead to unexpected behavior if the `token` address is ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: `ELRewardsStealingPenaltySettled` event shouldn't be emitted in some cases ### Description The issue is identified within the [settleELRewardsStealingPenalty](https://github.com/lidofinance/community-staking-module/blob/a898d045b63303294752d1a60ad9dfe8d8ba69ca/src/CSModule.sol#L1089) function of the `CSModule`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A signer of multiple proposals will cause all of them except one to fail creation ### Description Like proposers, signers are also allowed to back only one proposal at a time. As commented: "This is a spam protection mechanism to limit the number of proposals each noun can back." However, unlike proposers who ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
false
false
## Medium: Wrong ID for OutsideExecution Interface ✓ Fixed ### Description While not standardized across the community, the Argent team has decided to isolate the “outside execution” functionality in a separate interface, so other teams in the ecosystem can choose to implement that interface as well. **contracts/lib...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `block.timestamp - _withdrawRequest.createdAt < coolDownPeriod` check breaks the intended functionality ### Description The problem arises because the code allows a claim to be processed the exact moment the `coolDownPeriod` equals the time difference between the current time and the request creation time. Cla...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 constant instead of numbers directly. ### Description **Description** Lines 85, 111. Numbers 100 and 10000 should be replaced with constants in order to improve code readability. **Recommendation**: Replace numbers with constants.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `SwellLib.BOT` can subtly rug-pull withdrawals by setting `_processedRate = 0` when calling `swEXIT::processWithdrawals` ### Description **Description:** When users create a withdrawal request, their `swETH` is [burned](https://github.com/SwellNetwork/v3-contracts-lst/blob/a95ea7942ba895ae84845ab7fec1163d66...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: crash due to missing var_info in struct attribute ### Description Compiler crashes due to missing var_info in struct attribute when it validates modifications for immutable variables. ### Impact The compiler doesn't handle the modification checks (and possibly the `var_info` assignments) correctly for all con...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Switch clause with no default option ### Description The switch statement allows for a series of case checks against a single expression's value. Typically, this structure also allows for a default case, which serves as a fallback when none of the explicitly listed cases match the value of the expression. The...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Lack of SafeERC20 Usage ### Description **Update** Marked as "Fixed" by the client. Addressed in: `b654ce47be8e5b2b7918204a23ba58daae5e7113`. **File(s) affected:**`src/caching/PrimeCaching.sol` **Description:** The `withdrawDeposits()` function directly transfers `PRIME` tokens using `primeToken.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...
solodit_api
high
Business Logic
true
false
Source: https://github.com/sherlock-audit/2022-08-sentiment-judging/tree/main/502-H ## Found by WATCHPUG ## Summary Note: This issue is a part of the extra scope added by Sentiment AFTER the audit contest. This scope was only reviewed by WatchPug and relates to these three PRs: 1. [Lending deposit cap](https://git...
Sherlock
3
Sentiment