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
access-control
true
true
## High: Gauge reward system can be gamed with repeatedly stake/withdraw ### Description The RAAC Gauge system implements a reward distribution mechanism where users can stake tokens and earn rewards based on their stake amount and `veToken` balance (includes a boost multiplier feature that affects reward calculation...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Unrestricted deadlines for swaps ### Description In the `addLiquidity()` and the `_chargeGreenFee()` functions of the `StrategyAerodromeGaugeGreenFee` contract, there are several interactions with the Aerodrome router that allow for unlimited deadlines. When interacting with external AMM protocols such as...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
high
timing
true
false
## High: Users can extend an expired boost using invalidated NFTs. ### Description In `Goldilend.sol#L251`, a user can extend a boost with invalidated NFTs. - The user has created a boost with a valid NFT. - After that, the NFT was invalidated using `adjustBoosts()`. - After the original boost is expired, the user 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
high
access-control
true
false
## High: Unauthorized Access to `setCurves` Function ### Description The `FeeSplitter.sol` contract, which is responsible for fee distribution and claiming, contains a significant security vulnerability related to the `setCurves` function. This function allows updating the reference to the `Curves` contract. 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
initialization
false
false
## Low: Unnecessary transferOwnership ### Description **Severity**: Low **Status**: Resolved **Description** In Sender.sol - In body of constructor, transferring ownership to msg.sender is already carried out by base contract's Ownable constructor. **Recommendation** remove that line of code.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Revoke membership should check and revoke votes ### Description ## Membership Tokens Revocation When `mint_authority` revokes membership tokens, there should be a check for any live votes, and the ability for a DAO to relinquish those votes. ## Code Snippet ## Remediation The Solana Labs team has noted th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Deprecate _chainID function in favor of block.chainid ### Description `THUSDToken.sol` defines an internal function, `_chainID()`, that retrieves the chain ID through an assembly call to the `CHAIN` EVM opcode. However, since Solidity compiler version 0.8.0, it is possible to retrieve the chain ID through `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
signature
false
false
## Low: `isSigner` addresses uniqueness check ### Description Constructor: missing a `isSigner` addresses uniqueness check. Missing a `isSigner` zero check. https://github.com/MetaLex-Tech/borg-core/blob/9074503d37cfa1d777ef16f6c88b84c98b4f54eb/src/libs/conditions/signatureCondition.sol#L49. ### Recommendation We rec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unsafe call to .decimals ### Description ## Handle cmichel ## Vulnerability details The `FYToken.constructor` performs an external call to `IERC20Metadata(address(IJoin(join_).asset())).decimals()`. This function was optional in the initial ERC-20 and might fail for old tokens that therefore did not implem...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Disallow users from extending their lock durations for inactive tokens ### Description [Link to instance](https://github.com/code-423n4/2024-05-munchables/blob/57dff486c3cd905f21b330c2157fe23da2a4807d/src/managers/LockManager.sol#L245) Users should not be allowed to extend durations for their existing locks 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
high
token
true
false
## High: Single under-funded protocol can break paying off debt ### Description _Submitted by cmichel, also found by walker and gpersoon_ The `SherXERC20.payOffDebtAll` function iterates over all protocols of the token. If _a single project_ does not have enough funds to cover the premium payments, the transactions 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
medium
token
true
true
## Medium: Calling `transferEth` function can revert if `receiver` input corresponds to a contract that is unable to receive ETH through its `receive` or `fallback` function ### Description _Submitted by rbserver, also found by CertoraInc, Jeiwan, and tonisives_ ### Impact The following `transferEth` function is ca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: Permit Signatures Cannot Be Revoked ### Description The current implementation of [`ERC721Permit_v4`](https://github.com/Uniswap/v4-periphery/blob/df47aa9ba521fc15ffd339dc773d32f5fc4c91fc/src/base/ERC721Permit_v4.sol#L14) does not include any functionality for invalidating existing signatures before the deadli...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Transfers could silently fail without safeTransfer ### Description Several functions do not check the `ERC20.transfer` return value. Without a return value check, the transfer is error-prone, which may lead to unexpected results. ```solidity function transferToken(address _asset, uint256 _amount) external onl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
flash-loan
true
false
## High: An attacker can contribute to the ETH crowdfund using a flash loan and control the party as he likes ### Description An attacker can have more than half of the total voting power using a flash loan and abuse other contributors. ### Proof of Concept The main flaw is that the party can distribute funds right ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Leveraged trader with small collateral can create a riskless position until settlement ### Description A highly leveraged trader (around max leverage) with small collateral can autoliquidate position to create a riskless position ### Impact Alice obtains a riskless position, inducing potential shortfall on...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
cross-chain
false
false
## Medium: cBridge integration fails to send native tokens ### Description _Submitted by hickuphh3, also found by hyh, rayn, shw, WatchPug, and wuwe1_ [CBridgeFacet.sol#L150-L156](https://github.com/code-423n4/2022-03-lifinance/blob/main/src/Facets/CBridgeFacet.sol#L150-L156) The external `sendNative()` call fails 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...
cyfrin_structured
high
other
true
false
## High: Function `getTotalStake()` fails to account for pending validators, leading to inaccurate accounting ### Description The `getTotalStake()` function is the core accounting function to calculate the total stake of the `CasimirManager`. It's used to compute the change for `rewardStakeRatioSum` within the `finali...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wallet migration blocked by pause logic and is impractical ### Description _Acknowledged_ The protocol intends to support wallet migration and future contract upgrades via an opt-in approach, relying on users transferring their full portfolio using `transferAllSharesInWallet`, followed by off-chain indexing a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
false
false
## High: Any Selected Validator can Permanently DoS Reward Payouts ### Description For a one-time upfront cost, any selected validator is capable of putting the contract into a permanently “stuck” state, where no further rewards can be paid out. For any given `_rewardsDay`, anyone can precompute arbitrarily many “va...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Users can create NFTs with 0 locked amount through split function ### Description VotingEscrow doesn't allow users to create NFTs with zero locked amount. The `split` function also doesn't allow split to 0. However, it fails to check that both resulting NFTs have non-zero amounts. When a user sets `_amount` 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
low
other
false
false
## Low: Using private rather than public for constants saves gas ### Description **Description:** If needed, the values can be read from the verified contract source code, or if there are[ multiple values t](https://github.com/code-423n4/2022-08-frax/blob/90f55a9ce4e25bceed3a74290b854341d8de6afa/src/contracts/Fraxle...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rewards for initial period can be lost in all of the synthetix derivative contracts ### Description ### Lines of code ### Impact Rewards in the synthetix derivative contracts (`EUSDMinningIncentives.sol`, `ProtocolRewardsPool.sol` and `stakerRewardsV2Pool.sol`) are initiated when the owner calls the `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
true
false
## Medium: Reentrancy bug allows lender to steal other lenders funds ### Description A reentrancy bug in `LineOfCredit.sol` allows the lender to steal other lenders tokens if they are lending the same tokens type (loss of funds). The reentrancy occurs in the `_close(credit, id)` function in `LineOfCredit.sol`. The `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Race Condition in Bounce Messages Handling Lead to Overwritten Balances ### Description **Update** The team fixed the issue in commit `a6012d1` by introducing a new utility function, `increase_vault_balance_amount()`, to ensure the balance is added to the previous one. **File(s) affected:**`executor-item.fc`,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
false
false
## High: Malicious observer can drain Solana bridge by adding failed deposit transaction to inbound tracker ### Description Any single entity with the admin or observer role can drain the Solana-Zetachain bridge. Deposits can be spoofed by encoding a deposit instruction such that the transaction fails yet is still 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
medium
liquidation
false
false
## Medium: User may get less tokens than expected when collateral list order changes ### Description The order of `ts.collateralList` is not stable: Whenever `LibSetters.revokeCollateral` is used to revoke a collateral, it may change because of the swap that is performed. However, the function `Redeemer.redeem` relies...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ering the gauge weight can disrupt accounting, potentially leading to both excessive fund distribution and a loss of funds. ### Description Similar issues were found by users [0xDetermination](https://github.com/code-423n4/2023-08-verwa-findings/issues/386) and [bart1e](https://github.com/code-423n4/2023-08-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
low
access-control
false
false
## Low: Role Transfer Not Following Two-Step Pattern ### Description **Update** Addressed in: `1ce414257336c515a07a8f36b92d9106e915d7f6`. The client provided the following explanation: > The Ownable library has been removed in favour of the AccessControl library, which allows for having multiple addresses for a singl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Protocol does not support token decimals ### Description This iteration of the Fei Protocol is designed to be a generic version of the original protocol – now instead of supporting just ETH as the PCV of the system, the contracts are designed to be able to use any ERC20 token as PCV. However, the code is not ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of rebasable tokens support ### Description The issue is identified in the [`LOB`](https://github.com/longgammalabs/hanji-contracts/blob/09b6188e028650b9c1758010846080c5f8c80f8e/src/OnchainLOB.sol) contract. For rebasable tokens, such as those that adjust their supply over time (e.g., Ampleforth), the 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
front-running
false
false
## Low: Frontrunning Deployment Process ### Description ## Factory::deploy Overview In `Factory::deploy`, a new pool contract is deployed utilizing a deployer. The admin and salt parameters are provided as function arguments. On observing a deployment of a transaction with a specific salt, another user may front-run ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
false
false
## Low: The `nonReentrant` modifier should occur `before` all other modifiers ### Description Reentrancy could occur in modifiers that are placed before `nonReentrant`. Several functions within the scope have this issue: https://github.com/eywa-protocol/eywa-clp/blob/d68ba027ff19e927d64de123b2b02f15a43f8214/contracts...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: As protocol relies heavily on admin actions, single-step ownership transfer pattern is dangerous ### Description **Likelihood:** Low, because it requires admin error when transferring ownership **Impact:** High, because it bricks core protocol functionality **Description** Inheriting from OpenZeppelin's ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Oracle uses a deprecated Pyth Hermes API endpoint ### Description The oracle retrieves price updates through the Pyth network Hermes API by requesting the `/api/latest_vaas` endpoint. However, this endpoint is deprecated according to the Hermes API documentation available at [hermes.pyth.network/docs/#/rest/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...
solodit_api
medium
Validation
true
false
## Security Report ## Severity **Medium Risk** ## Context - SpokeConnector.sol#L403-L422 - SpokeConnector.sol#L456-L481 ## Description The functions `verifyAggregateRoot()` and `proveMessageRoot()` verify and confirm roots. A root value of `0` is a special case. If this value would be allowed, then the functions cou...
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
low
initialization
true
false
## Low: Code Optimizations ### Description ## Findings and Recommendations 1. **Callback Redundancies** The `sybil_always_allow_callback`, `bypass_protocol_fee`, and `assert_can_apply_callback` callbacks are unnecessary. Instead of performing an external call and waiting for a callback, invoke the internal logic ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## High: RewardDistributor claims can be DoSed through excess amount of userPoint creation ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/RewardsDistributor.sol Impacts: - Griefing (e.g. no profit motive for an attacker, but damage to the users ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wallet can be embedded in iframe, enabling clickjacking attacks ### Description The wallet SDK allows the wallet UI to be embedded in an iframe instead of opening in a popup window. This creates a clickjacking vulnerability where a malicious dapp can overlay the wallet interface with hidden elements or mislea...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack Of Check Between Collection And Swap Pool ### Description ## Infinity Swap Vulnerability Report The `execute_swap_tokens_for_specific_nfts` action takes a user-provided collection and `nfts_to_swap_for`. Each entry of `nfts_to_swap_for` includes a `pool_id` pointing to the target pool for a swap to occu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent burn application to sender due to recipient exclusion ### Description The `_update()` function in the `GorplesCoin` contract performs the calculation of tokens to burn prior to updating the balances of the involved addresses. However, the calculation of the fees to burn is not executed when ei...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
true
false
## Low: Inefficient `free_index` Selection in Assets Array Causes Performance Degradation ### Description The `find_or_alloc_asset` function in `client_primary` always selects the last vacant slot (`asset_id == 0`) instead of the first available slot when allocating new assets. This causes unnecessary `O(n)` iteration...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users Can Frontrun challenge()Function ### Description NEAR has taken an optimistic approach in maintaining the canonical chain on Ethereum. Watchdog services are tasked with monitoring the addition of NEAR light client blocks, performing the necessary verification off-chain. In the event a watchdog service ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LACK OF EXTERNAL CALLS VALIDATION ### Description Non-validated external calls occur when a function invokes an external contract without verifying the return value or handling potential errors. Several external calls were detected without proper validation. ### Impact This can lead to reentrancy attacks or...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: State variables should be cached in stack variables rather than re-reading them from storage ### Description The instances (outlined in the warden's [full report](https://github.com/code-423n4/2022-05-alchemix-findings/issues/228)) point to the second+ access of a state variable within a function. Caching will...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: Check that address contains code before calling it ### Description The contract performs a low-level `isValidSignature` static-call to an EIP1271 contract. This call is always performed if verifying the signature failed, and it does not check if the address is a contract. The call will still be done for EOAs (...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent Scaling in RToken Transfer Functions ### Description RToken is an interest‐bearing token for the RAAC lending protocol. It is modeled similarly to Aave’s AToken, where user balances (and the total supply) are stored in “scaled” form and then converted to underlying units by multiplying with a “...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: [05] Missing `rewardPPQ` validation in campaign deployment functions ### Description The `deployCampaign` and `deployAndFundCampaign` functions in the NudgeCampaignFactory contract do not validate that the `rewardPPQ` parameter is greater than zero and less than `PPQ_DENOMINATOR`; potentially allowing campaign...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Usage of `uints`/`ints` smaller than 32 bytes (256 bits) incurs overhead ### Description Usage of uints/ints smaller than 32 bytes (256 bits) incurs overhead. The Ethereum Virtual Machine (EVM) operates on 32 bytes at a time. Therefore, if an element is smaller than 32 bytes, the EVM must use more operations t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: No Error if Commitment Exists in `updateClientCommitments()` ### Description **Update** Marked as "Fixed" by the client. Addressed in: `877957b44b10420ff424b96cd6e349db4adcf375`. **File(s) affected:**`IBCClient.sol` **Description:**`IBCClient.updateClientCommitments()` does not enforce that the `commitments...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inefficient Inequality Operator in Deposit Check ### Description The issue is identified within the function [`depositERC20`](https://github.com/LayerLabs-app/Ozean-Contracts/blob/dacd9ed9c895c9b6be422531eea15fecc3c2b1d8/src/L1/LGEStaking.sol#L106) of contract `LGEStaking`. Currently, the deposit requirement 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
other
true
false
## Gas: `require()` or `revert()` statements that check input arguments should be at the top of the function ### Description Checks that involve constants should come before checks that involve state variables, function calls, and calculations. By doing these checks first, the function is able to revert before wasting...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
false
false
## Low: Limit QUIC Certificate Options ### Description ## Solana TPU Communication and Certificate Management The Solana TPU uses QUIC for communications. Clients can provide TLS certificates in order to show ownership of a particular Solana keypair during the connection handshake. See OS-SDA2-ADV-00. While clients ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User Controlled Options Price ### Description **Severity** - Critical **Severity** - Resolved **Description** When joining a duel the amount put up as wager is compared against an options price and can’t be lower than that price. But since the options price is controlled by the user → The user can provid...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Move lesser gas costing require/revert checks to the top ### Description Require() or Revert() statements that check input arguments or cost lesser gas should be at the top of the function. Checks that involve constants should come before checks that involve state variables, function calls, and calculations. B...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Use O_CLOEXEC �lag by default when opening files on Linux ### Description The RawFile wrapper used for opening files does not use the `O_CLOEXEC` flag by default. Enabling this flag allows an opened file to close when a process calls `execve` and thereby prevents unexpected leaks of file descriptors to child pr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
true
false
## Low: Locked Ether In Contracts ### Description ## Ether Withdrawal Issue in Contracts **Contracts Involved:** - `Treasury.sol` - `USX.sol` These contracts allow for the receipt of ether through their `receive` functions but do not contain functions to withdraw it. As a result, if ether is sent to the contracts, i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
logic
false
false
## Low: Insu�ficient testing coverage ### Description The StakerDao Vault codebase does not include sufficient test cases. Robust unit and integration tests are critical for catching the introduction of certain bugs and logic errors early in the development process. Projects should strive for thorough coverage, both ag...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: NatSpec `@return` argument is missing ### Description NatSpec `@return` argument is missing
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: CrownyVesting changeVestingAddress function doesn’t transfer claimed tokens ### Description **Description** In a case when transferring a vesting which is already partly claimed, the new address is able to claim this partly claimed amount once more as a consequence of this issue. This double claim can also 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
medium
other
true
false
## Medium: `depositFromNotional` function is payable, which means that it should accept Ether, but in reality will revert 100% when msg.value > 0 ### Description The function `depositFromNotional` used in `BaseStrategyVault.sol` is payable, which means that it should accept Ether, but in reality it will revert every t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: IClear Text Logging of Sensitive Credentials (client/export.go) ### Description **Severity:** Medium **Status:** Acknowledged **Impact:** Unsanitized input from sensitive credentials is logged in clear text, potentially exposing private keys. **Likelihood:** Moderate, as malicious actors could access...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unsafe integer conversions in FPIControllerPool ### Description Explicit integer conversions can be used to bypass certain restrictions (e.g., the borrowing cap) in the `FPIControllerPool` contract. The `FPIControllerPool` contract allows certain users to either borrow or repay FRAX within certain limits (e.g...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: L10] Important state variables are not public ### Description ###### Low In the `Inflation` contract, the [`generation`](https://github.com/BeamNetwork/currency/blob/51b65c5c7af455391af2bc30d13d761566d8c236/contracts/inflation/Inflation.sol#L44) [state variable](https://github.com/BeamNetwork/currency/blob/5...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: View function will never return value. ### Description **Description** StakingB.sol Line 46 “stakesInfo” will never return value because it creates an array [from; to) but tries to iterate through [from; to]. **Recommendation**: Change the format of array to “ s = new Stake[](_to - _from+1)” or “for (ui...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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** The Solidity version was fixed at `0.8.19`. Addressed in: `7b957ba46ffb0b746ed4064ccbf7489f2f543760`. **Description:** Every Solidity file specifies in the header a version number of the format `pragma solidity (^)0.8.*`. The caret (`^`) before the version number imp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Mutable `whitelistReserve()` Allows Rewriting Allocation Rules After Deposits ### Description The `setWhitelistReserve()` function allows the owner to change the whitelist reserve at any time before settlement, including after users have already deposited funds. This directly changes the priority vs public ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
false
false
## Medium: Attackers can force liquidations by borrowing large amounts of an asset. ### Description _Submitted by tensors_ Consider an attacker who borrows enough to greatly increase the oracle rate. It is claimed that arbitrageurs will come in and fix this discrepancy before the attacker has a chance to profit off 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
other
true
false
## Low: Penalized users due to changes in `_earlyWithdrawalThreshold` ### Description Users may face unexpected penalties due to changes in the `_earlyWithdrawalThreshold` variable. This variable is used to calculate whether a penalty applies to users removing liquidity prematurely `PerpRewardDistributor#L132-L138`. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Redundant balance check in safeTransferFrom before calling underlying transfer function ### Description **Description:** The `RWASegWrap::safeTransferFrom()` function performs an unnecessary balance check on lines 452-454 before calling the underlying transfer function: This balance check is redundant becaus...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Using `camelCase` style for variables ### Description Variable naming can be updated: - https://github.com/EnsoFinance/enso-weiroll/tree/9289118113f753d460a97d7c6ee72577e5c3f5eb/contracts/VM.sol#L43 `outdata` by `outData` - https://github.com/EnsoFinance/enso-weiroll/tree/9289118113f753d460a97d7c6ee72577e5c3f5...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [20] Duplicated `require()`/`revert()` checks should be refactored to a modifier or function ### Description Saves deployment costs *There are 3 instances of this issue:*
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Replace inline assembly with ### Description [L-05] Replace inline assembly with account.code.length &lt;address&gt;.code.length can be used in Solidity &gt;= 0.8.0 to access an account’s code size and check if it is a contract without inline assembly. VoterID#isContract function isContract(address account) ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users unable to withdraw their funds due to FRAX admin action ### Description FRAX admin action can lead to the fund of Naiper protocol and its users being stuck, resulting in users being unable to withdraw their assets. ### Impact The fund of Naiper protocol and its users will be stuck, resulting in users...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: On-Chain Slippage Calculation Can Be Manipulated ### Description The `_swap` function defined in the SwapperUniV3 contract is designed to swap tokens for a given amount and ensure that the swap does not exceed a specified slippage. It is used during the foreclosure process, to swap the collateral to the bor...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Timestamp Update ### Description ## BidState Update Issue The `updated_at` field in the `BidState` structure is not updated during the execution of `take_bid_shared`, and stakeholders will not have an accurate record of when the bid was last modified. ## Remediation Ensure `updated_at` field is upda...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Repayer can brick lending functionality of `LenderCommitmentGroup_Smart` by repaying excess ### Description `LenderCommitmentGroup_Smart` doesn't handle excess repayments making it possible to brick the lending functionality ### Impact Bricked lending functionality ### Recommendation In case repaid princi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Dust Token Balances Cannot Be Claimed By An `admin` Account ### Description _Submitted by leastwood, also found by 0x0x0x_ #### Impact Users who have a small claim on rewards for various promotions, may not feasibly be able to claim these rewards as gas costs could outweigh the sum they receive in return....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: CurveAdapter uses non-existent exchange_with_best_rate() method, breaking fee conversion on Arbitrum. ### Description The CurveAdapter contract calls the `exchange_with_best_rate()` method, however this method does not exist in the [newer CurveRouterNG contract deployed on Arbitrum](https://arbiscan.io/address...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No allowance front-running mitigation ### Description The [`ArroToken` contract](https://github.com/pjsimpkins/ArroERC20Code/blob/1ca1cc85f2e7e046070c187031b75b3335ef57c3/Solidity#L105) is vulnerable to the ERC20 approve and double spend front-running attack. In this attack, a token owner authorizes anot...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: UniV3 tokens with fees can bypass strategist checks ### Description Each UniV3 strategy includes a value for `feeinnlrDetails` that is used to constrain their strategy to UniV3 pools with matching fees. This is enforced with the following check (where `details.fee` is the strategist's set fee, and `fee` is ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
false
false
## Low: DUPLICATED ERROR CHECKS ### Description There are two instances where an error check is not required, and the logic can be adjusted to only return the value. Code Location ------------- [x/leverage/types/tx.go, Lines 115-121](https://github.com/umee-network/umee/blob/rafilx/umeed-cosmwasmd/x/leverage/types/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
true
false
## Low: API CSRF protection bypass leading to arbitrary 'operator-cli' command execution ### Description Hey team,
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
false
false
## High: Block finalization is immediate and permissionless ### Description Once a block is proposed by the operator, which might be malicious (e.g., containing a specifically crafted withdrawal root), anyone can immediately invoke the `finalize_block` instruction to finalize it. Consequently, a malicious withdrawal ca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
overflow
true
false
## Gas: Add `unchecked {}` for subtractions where the operands cannot underflow because of a previous `require()` or `if`-statement ### Description `require(a `require(a <= b); unchecked { x = b - a }` *There is 1 instance of this issue:* https://github.com/code-423n4/2022-11-paraspace/blob/c6820a279c64a299a7839557...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Fallback mechanism risks data loss due to lack of backup file validation ### Description The `fallback_backup_kernel` function assumes that the backup files (`BACKUP_KERNEL_ROOT_HASH` and `BACKUP_KERNEL_BOOT_PATH`) exist and contain valid data. However, it does not perform any checks to verify the existence...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
flash-loan
true
false
## High: Attacker can combine flashloan with delegated voting to decide a proposal and withdraw their tokens while the proposal is still in Locked state ### Description **Description:** Attacker can combine a flashloan with delegated voting to bypass the existing flashloan mitigations, allowing the attacker to decide ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Minor improvements to code ### Description ## Context See each case below. ## Description/Recommendation: 1. **InfraredV1_3.sol#L11-L12** - These imports, including ConfigTypes, are unused and can be removed. 2. **InfraredV1_3.sol#L77-L86** - The functionality in `queueMultipleValCommissions()` is a du...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Negative Slippage Allowed During Position Decrease ### Description The `_checkSlippage` function does not properly validate slippage conditions when decreasing positions, particularly for long positions. The function applies different logic based on the `isLong` value, leading to inconsistent and potentiall...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Use scientific notation (e.g. `1e18`) rather than exponentiation (e.g. `10**18`) ### Description While the compiler knows to optimize away the exponentiation, it's still better coding practice to use idioms that do not require compiler optimization, if they exist *There are 2 instances of this issue:* https:...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
other
true
true
Can reroll attributes based on a different fighterType, and can bypass maxRerollsAllowed. ### Proof of Concept `maxRerollsAllowed` can be set differently depending on the `fighterType`. Precisely, it increases as the generation of fighterType increases. ```solidity function incrementGeneration(uint8 fighterType) ex...
Code4rena
5
AI Arena
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Canonical NTT chain ID should be fetched directly from Wormhole or mapped accordingly
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Non-usage of specific imports ### Description The current form of relative path import is not recommended for use because it can unpredictably pollute the namespace. Instead, the Solidity docs recommend specifying imported symbols explicitly. https://docs.soliditylang.org/en/v0.8.15/layout-of-source-files.html...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: middle level admins can steal child trees because function unlinkTopHatFromTree() is callable by them ### Description in normal scenario middle level admins can't relink a child tree to another tree and when code link a tree it checks that the old and new admin is in the same tree(have same tippy hat). but ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
true
true
## Low: Free Memory Pointer Overflow ### Description Solidity versions prior to 0.6.5 contain a bug that may be exploited in Borsh.sol decoding. The bug exists as an overflow of the memory pointer when allowing arbitrarily length arrays to be passed as input to public or external functions. The bug stems from Solidity ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Use a more recent version of solidity ### Description Use a solidity version of at least 0.8.13 to get the ability to use `using for` with a list of free functions *There are 3 instances of this issue:* https://github.com/code-423n4/2022-05-sturdy/blob/78f51a7a74ebe8adfd055bdbaedfddc05632566f/smart-contracts...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: _DOMAIN_SEPARATOR can omit unused values ### Description The `HashLib.sol` file defines two constants: ```solidity /// @dev `keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)")`. bytes32 constant _DOMAIN_TYPEHASH = 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: L17] Incomplete API documentation ### Description ###### Low The [README.md](https://github.com/BeamNetwork/currency/tree/c0d8477866a8667a37f45c85378c5938c84569cd/contracts/currency#api) file includes a section where the public API of the [`BeamBalanceStore`](https://github.com/BeamNetwork/currency/blob/c0d8...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [46] Named returns are recommended ### Description Using named returns makes the code more self-documenting, makes it easier to fill out NatSpec, and in some cases can save gas. The cases below are where there currently is at most one return statement, which is ideal for named returns. There are 17 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
front-running
false
false
## Low: ERC20 race condition for allowances ### Description ## Handle toastedsteaksandwich ## Vulnerability details ## Impact Due to the implementation of the approve() function in Vader.sol, Vether.sol and mainnet Vether4 at 0x4Ba6dDd7b89ed838FEd25d208D4f644106E34279, it's possible for a user to over spend their ...
0