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
flash-loan
true
false
## High: calc_withdraw_one_coin is vulnerable to manipulation ### Description The `showAllocations` function determines the amount of collateral in dollars that a contract holds. `calc_withdraw_one_coin` is a Curve AMM function based on the current state of the pool and changes as trades are made through the pool. Thi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
signature
true
false
## High: Missing nonce in `_getEnableModeDataHash()` allows signature replay ### Description `_getEnableModeDataHash()` doesn't include a nonce, thereby allowing enable mode signatures to be replayed. ### Impact Due to signature replay, validators that have been uninstalled by Nexus account owners can be re-installed...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Game initiator is allowed to set his own address as opponent, leading to creating a non-payable game. ### Description **Severity**: Low **Status**: Resolved **Description** The `createGame()` and `createGameWithPermit()` functions within the `OneVsOneExactPrice.sol` smart contract allows the initiator to 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
cross-chain
false
false
## Low: Absence of a USDX to Stablecoin Exchange Mechanism ### Description In the `USDXBridge` contract, it has been identified that there's no explicit mechanism for users to exchange their `USDX` tokens back to a deposited stablecoin. This constraint poses potential limitations to users, particularly those who do 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
other
false
false
## Low: Possible use of an incomplete block in padding_pg ### Description The `padding_kk` state machine features blocks on 136 rows. Since 136 does not divide N, there is an incomplete block at the bottom of the table. The `padding_kk` state machine disallows access to this last block to "avoid problems" (sm-hash.pdf...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
false
false
## High: The design of wibBTC is not fully compatible with the current Curve StableSwap pool ### Description ## Handle WatchPug ## Vulnerability details Per the documentation, `wibBTC` is designed for a Curve StableSwap pool. However, the design of `wibBTC` makes the balances change dynamically and automatically. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No validation on player stakes and payouts in end-game logic ### Description Currently, the admin can arbitrarily provide user stakes and payouts when ending a game. There is no on-chain validation that the player stakes were what they were when the game started, that the player stakes sum correctly, and that ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious user can change the `TradeType` to steal funds from the vault or withdraw request manager ### Description - ### Impact High. Malicious users can exploit this to steal funds from the vault. ### Recommendation The fix is straightforward. Simply hardcoded the trade type to `TradeType.EXACT_IN_SINGLE`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: SKEW UPDATE COULD CREATE DATA INCONSISTENCIES WITH GWAV ORACLE ### Description The `_addNewStrikeToStrikeCache` and `_updateStrikeSkew` functions of the **OptionGreekCache** contract update `strikeSkewGWAV` with the value of a new `skew`. If this new skew is outside the **gwavSkewFloor / gwavSkewCap** rang...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [05] Emit events before external calls ### Description Multiple functions in the project emit an event as the last statement. Wherever possible, consider emitting events before external calls. In case of reentrancy, funds are not at risk (for external call + event ordering), however emitting events after exter...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Ownership transfer grants former Swan contract owner continued `operator` privileges ### Description During initialization, the `Swan` contract assigns both the `owner` and `operator` roles to the `caller`. However, transferring ownership via the `transferOwnership()` function only updates the contract `owner`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
overflow
false
false
## High: Unsafe uint64 casting may overflow ### Description **Severity**: High **Status**: Resolved **Description** The `_stake` internal function in TradableStaking contract is responsible for updating and generating staking positions during the deposit of funds. It assigns the calculated values to the Stake stru...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Funds in subscription may be drained ### Description In SpinLottery, users can participate in the spin activity to win one prize card. Users can choose their win possibility. If users choose one higher win possibility, users have to pay one higher payment for this spin. When users trigger one spin, we will r...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
true
false
## Medium: Arithmetic underflow in `withdrawERC20` when there is a negative rebasing of asset tokens ### Description **Description:** The vault's accounting is based on the premise that the price of the underlying collateral will grow in perpetuity. While the underlying collateral has the lowest risks, capital is stil...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
true
false
## Low: The makeSpace function does not refund excess bid value and can be front-run ### Description The `makeSpace` function, used to make space for programs in the cache manager, does not refund funds sent above the minimum bid value, even if no state changes are performed. The `makeSpace` function accepts ETH and 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
token
false
false
## Low: Update references to deprecated draft-ERC20Permit.sol in favor of ERC20Permit.sol ### Description The file `draft-ERC20Permit.sol` is deprecated since EIP-2612 became final on 2022-11-01. ### Recommendation Update references from `..../draft-ERC20Permit.sol` to `..../ERC20Permit.sol` and from `..../draft-IERC...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
true
false
## Low: Vulnerable to cross-chain replay attacks due to static DOMAIN_SEPARATOR ### Description See [this](https://github.com/code-423n4/2021-04-maple-findings/issues/2) issue from a prior contest for details *There is 1 instance of this issue:*
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
true
false
## High: UniswapIncentive overflow on pre-transfer hooks ### Description Before a token transfer is performed, `Fei` performs some combination of mint/burn operations via `UniswapIncentive.incentivize`: **code/contracts/token/UniswapIncentive.sol:L49-L65** ``` function incentivize( address sender, address receiv...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Anyone can affect deposits of any user and turn the owner of the token ### Description _Submitted by [a_dlamo](https://twitter.com/a_delamo)_ On `RCTreasury`, we have the method `collectRentUser`. This method is public, so anyone can call it using whatever user and whatever timestamp. So, calling this method...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: endAuction on Arbitrary NFTs in Closure Contract . . . . . . ### Description ## Closure Contract Vulnerability In the Closure contract, `endAuction(address _nft, uint256 _id)` is used to end the auction and transfer the NFT to the highest bidder. As there is no validation on the NFT address, an arbitrary 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
liquidation
false
false
## Low: Missing AcceptBorrowRequest Slippage Checks ### Description ## AcceptBorrowRequest Instruction The `AcceptBorrowRequest` instruction has no way to check for changes between accepting the request on the frontend and submitting the transaction. For example, the borrower could reduce the interest, increase 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
low
initialization
false
false
## Low: Meaningless check in `GovernorBravoDelegate` ### Description * [GovernorBravoDelegate.sol:129](https://github.com/Plex-Engineer/lending-market-v2/blob/443a8c0fed3c5018e95f3881a31b81a555c42b2d/contracts/Governance/GovernorBravoDelegate.sol#L129) The check `require(initialProposalId == 0, "GovernorBravo::_init...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 msg.sender along with _msgSender() ### Description **Severity**: Informational **Status**: Resolved **Description** Confusion arises from using _msgSender() and msg.sender in the same contract. _msgSender() here returns msg.sender but it is recommended from a coding perspective to make it consistent. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Token metadata should be in token contract ### Description The public variables `name`, `symbol`, and `decimals` are [defined](https://github.com/ripio/rcn-token/blob/4bf441ae919f2580dcfeca59917b81bb30d2b856/contracts/RCNCrowdsale.sol#L13-L16)in the `RCNCrowdsale` contract. They should be defined in the token ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Event is missing `indexed` fields ### Description Index event fields make the field more quickly accessible to off-chain tools that parse events. However, note that each index field costs extra gas during emission, so it's not necessarily best to index the maximum allowed per event (threefields). Each `event` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: SetRoles prevents self-assignment for `GOV_TIMELOCK` only ### Description The setRoles function is designed to allow only accounts with either the `GOV_TIMELOCK` or `GOV_EMERGENCY_TIMELOCK` role to assign roles to other accounts. To prevent privilege escalation, the function should not allow a caller to assign...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Owner can renounce Ownership ### Description [FixedPriceFactory.sol#L9](https://github.com/code-423n4/2022-12escher/blob/main/src/minters/FixedPriceFactory.sol#L9) [LPDAFactory.sol#L9](https://github.com/code-423n4/2022-12-escher/blob/main/src/minters/LPDAFactory.sol#L9) [OpenEditionFactory.sol#L9](https://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: Market Makers via relisting protected offers cannot set their Maker Bonus ### Description Based on information provided by the docs here, the Makers receiver bonuses for providing liquidity. However making a protected offer via `PreMarkets::listOffer` is missing this functionality because there's no way for 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
high
access-control
true
false
## High: Withdrawals Are Blocked Due to Wrong Function Name On the Curve Convex ### Description The Entangle LSD Protocol's integration with the **Curve Convex system** in its **CurveCompoundConvexSynthChef.sol** contract is facing a critical issue due to a mismatch in function naming conventions. The **Convex** inter...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 HTTP caching headers on the wormhole server ### Description The wormhole server does not use HTTP caching headers such as `Cache-Control` to control caching behavior of any potential intermediaries. This is considered a security best practice and should be implemented. ### Recommendation In the short ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Authorization mechanism is confusing ### Description The current implementation of the authorization mechanism is confusing, as it allows revoking individual writing permissions but only allows granting those permissions in bulk. As we can see in the figures below, the owner has the ability to revoke and grant...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The `Vault._update_debt()` function should be executed before admin sets new interest rate via `Vault.set_variable_interest_parameters()` ### Description The [Vault._update_debt()](https://github.com/sherlock-audit/2023-06-unstoppable/blob/main/unstoppable-dex-audit/contracts/margin-dex/Vault.vy#L1050) 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
low
other
true
false
## Low: Unused local variable ### Description The `_deposit()` function in the `Tokenomics.sol` file makes a low-level `call` to the `_systemRewardContract` address transferring `systemAmount` to it. However, the `call` function returns a `data` variable that is not used. ``` function _deposit(address validatorAddres...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `CrossCurrencyfCashVault` Cannot Settle Its Assets In Pieces ### Description The `CrossCurrencyfCashVault` vault cannot settle its assets in pieces. Thus, it might cause the vault to incur unnecessary slippage. ### Impact The vault might incur unnecessary slippage during settlement as the settlement cannot...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ​ASAN /​UBSAN errors and ​cppcheck errors ### Description While running the sanitizer tests described in ​Appendix B​, we encountered an ASAN issue with `test_bitcoin`. We believe that the ASAN error is in the core Zcash code itself. UBSAN also reported errors with both `test_bitcoin` and several `zcash-gtest`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Zero-receiver fund burn ### Description ### Finding description and impact The `RouterV2` implementation has a fundamental flaw where tokens are burned to the zero address instead of being sent to the intended recipient. The route struct includes a receiver field that defaults to `address(0)` when not exp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
true
false
## Low: Protection against underflow in cooldown check ### Description In `_checkCooldown()`: ```solidity block.timestamp < methodConstraint.cooldownPeriod + methodConstraint.lastExecutionTimestamp ``` should be used instead of ```solidity block.timestamp - methodConstraint.lastExecutionTimestamp < methodConstra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incompatibility risk for EVM versions in different chains ### Description From Solidity versions `0.8.20` through `0.8.24`, the default target EVM version is set to Shanghai, which results in the generation of bytecode that includes `PUSH0` opcodes. Starting with version `0.8.25`, the default EVM version shift...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lender contract can be drained by re-entrancy in `seizeLoan` ### Description Tokens allowing reentrant calls on transfer can be drained from the 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
high
front-running
false
false
## High: Infinite Loop in Tick Iteration Due to Misaligned Current Tick ### Description The [`AntiSandwichHook`](https://github.com/OpenZeppelin/uniswap-hooks/blob/3e9fa228ec0f7fe05a95e09e25442466b459a712/src/general/AntiSandwichHook.sol) contract implements an anti-MEV mechanism by storing a snapshot of the pool stat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The UI/UX Issue, the Application Does Not Clear Digits ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > There is no clear input button for the fractional part of a number in the application, Though, when creating a vault there is a clear input...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: changeDAO should be a two-step process in Vader.sol ### Description ## Handle 0xRajeev ## Vulnerability details ## Impact changeDAO() updates DAO address in one-step. If an incorrect address is mistakenly used (and voted upon) then future administrative access or recovering from this mistake is prevent...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious users can cause `pokeTokens()` to revert ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/Voter.sol Impacts: - Griefing (e.g. no profit motive for an attacker, but damage to the users or the protocol) ## Description ## Brief/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Depositing to another receiver othan than `msg.sender` will lead to stuck funds by increasing `avgStart` without claiming ### Description `StakedEXA::_update()` is called when minting and if the time staked is smaller than the reference time, it calls `_claim(reward), which claims the rewards for the `msg.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
medium
token
false
false
## Medium: Unchecked transfers return value in Vesting contract ### Description **Severity**: Medium **Status**: Resolved **Description** ERC20 token transfers are performed using the `transfer` and `transferFrom` methods in `Vesting.sol` contract. These methods return a boolean value indicating the success of 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
high
reentrancy
false
false
## High: Codebase is using a vulnerable Vyper compiler version ### Description **Severity** **Impact:** High, as reentrancy in methods that forbid it is possible **Likelihood:** High, as the bytecode will always be vulnerable when compiled with that compiler version **Description** A month ago we saw a major explo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
false
false
## Low: Silent failure can occur in `Pipeline` function calls if the target has no code ### Description In the case of a `Pipeline` function call to a target address with no code, the call will silently fail. Scenarios where this may occur include calls to non-contract addresses or on a contract where its self-destruc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
true
false
## Low: Borrower can start a lending cycle before deposits are made ### Description A borrower can initiate a loan before any deposits are made by borrowing 10 or fewer tokens. The `borrow` function of the `RCLBorrower` implements a check for precision issues in an effort to avoid disabling the function due to compoun...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Remove obsolete `return` statements when already using named return variables ### Description Remove obsolete `return` statements when already using named return variables. * `contracts/utils/BulkBalanceChecker.sol` ```solidity 43: return balances; ``` * `contracts/swap/SecuritizeSwap.sol` ```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
medium
other
true
true
## Medium: Validator can fail to receive commission reward in `redeemAllRewards` ### Description _Submitted by jonah1005_ #### Impact Validator can fail to receive commission reward by calling `redeemAllRewards`. There's a check in `redeemAllRewards` The validator's tx might be reverted here even if he got some com...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Not all staking key enabled status are checked ### Description The staking key enabled status is not checked in multiple places. The approver service checks that the staking key is enabled before accepting it, as in the event of a key compromise. This allows the Lombard team to disable such a compromised ke...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: `autoDeployedVault` mapping is not updated after `unregisterOperatorVault` ### Description `unregisterOperatorVault` deletes a vault in `VotingPowerProvider` but it doesn't check the `_autoDeployedVault` mapping in `OpNetVaultAutoDeploy` extension, so an operator whose auto-deployed vault is removed remains...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Remove delegation logic from `VotingEscrow` ### Description The `VotingEscrow` contract is inherited from another protocol. That protocol used delegation of votes. But Neobase doesn't use it at all, but still has code to handle delegation and also [has delegated fields](https://github.com/code-423n4/2024-03-ne...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Yeti token rebase checks the additional token amount incorrectly ### Description _Submitted by hyh_ #### Impact The condition isn't checked now as the whole balance is used instead of the Yeti tokens bought back from the market. As it's not checked, the amount added to `effectiveYetiTokenBalance` during reb...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
false
false
## Low: Prevent sequencer s from signing multiple routes for the same cross-chain transfer ### Description Liquidity routers only sign the hash of the `(transferId, pathLength)` combination. This means that each router does not have a say in: 1. The ordering of routers provided/signed by the sequencer. 2. What 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...
skyward_49k
medium
initialization
false
false
## Medium: Non-zero `rebaseEmission_` value from `EmissionManagerV1._calculateRebaseEmission` when `totalLocked` is zero ### Description `EmissionManagerV1._calculateRebaseEmission` returns **500e18** if **currentWeeklyEmission_** is **7_500_000e18** as value set in `EmissionManagerV1.initialize()`. The function `Emi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Access Control
true
false
## Severity **Impact**: High, malicious attacker can set L2 custom address to different address to break the bridge token. **Likelihood**: Medium, attacker can front-ran the `registerTokenOnL2` to break the bridge token. ## Description tSQD is designed so that it can be bridged from Ethereum (L1) to Arbitrum (L2) v...
Pashov Audit Group
5
Subsquid
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Centralization risk ### Description **Severity**: Medium **Status**: Acknowledged **Description** In Contract VaultETH_V2, there are several methods using the modifier `onlyRole(DEFAULT_ADMIN_ROLE)` which can be used to configure important parameters for the protocol such as oracles, WETH, etc. But in 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
high
other
false
false
## High: Check for `Staking` liquidity in `flip()` does not account for other game contracts ### Description `Flip.flip()` checks that the `Staking` contract has enough funds to cover the player's reward in the case of a win. However, it is not taken into account that other game contracts might have also funds locked ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious IP owner can drain rewards via duplicate entries in claimReward function ### Description The **RoyaltyModule** is designed to manage the flow of revenue between parent and child IP Assets. Revenue can flow through the system when licenses are minted or when tips are sent directly to an IPA. In such ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Logic could be improved ### Description **Description** Some logic in the contract can be improved to make it more logical and more readable. An example of this is the required statements starting on lines 50 and 55 respectively. The statement require(distStartRate > 0 && distEndRate > 0, "TokenDistribution: ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `processInclusionProofKeccak` does not work as expected ### Description ### Proof of Concept The function `verifyInclusionKeccak` is not used anywhere but its in the scope of this audit. There is no validation that proof is a tree and a valid tree like it described in the comments. E.x. if proof is less than 3...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
flash-loan
true
false
## Low: Flash loans can be taken for free ### Description **Description:** Unlike other AMM implementations, `SolidlyV2Pair` calculates fees independently for each underlying pool token. Showing just the `amount0Out` calculation: Since it is only possible to swap a single token, say `token0`, only `token0Out` will 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
medium
dos
true
false
## Medium: withdraw can fail unexpectedly ### Description In `Lockbox::withdraw`, the call can revert unexpectedly due to a missing call to `whirlpool::collect_rewards`. The function first calls `whirlpool::cpi::update_fees_and_rewards(cpi_ctx_update_fees)?;` This calls the following code in `whirlpool`: ```rust let ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
false
false
## High: Absence of Index Validation and Initialization ### Description ## IndexedMerkleTree::update The `IndexedMerkleTree::update` lacks any checks to ensure that the new element (`new_element`) is inserted at its designated index (`new_element.index`). This is particularly important because the `leaf_index` in 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: Lack of zero address checks ### Description A number of functions in the codebase do not revert if the zero address is passed in for a parameter that should not be set to zero. The following parameters do not have zero address checks: - The `owner_` and `spender_` parameters of the `_approve` function - 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
high
storage
false
false
## High: Miscalculated Period Disrupt Emission Schedule Execution ### Description The current implementation of the `_getAssetIndex` function in the `AaveDistributionManager` contract incorrectly calculates the `currentPeriod` using `periodStartTimestamp.sub(lastUpdateTimestamp)`. Initially, during the first 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
other
true
false
## Low: Inefficient ETH Transfer Method ### Description **Status**: Unresolved **Severity**: informational **Source**: ./Refund.sol **Description**: The `_safeTransferETH` function in the smart contract uses a less efficient method for transferring ETH, which can lead to excessive gas usage. **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
medium
token
false
false
## Medium: Malicious users can donate/leave dust amounts of collateral in contract during auctions to buy other collateral at very low prices ### Description Auctions are only ended early if the amount of the token being auctioned drops to 0. This can be exploited via donation or leaving dust in the contract to malici...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The relations between loops and their boundaries are not clear ### Description There are some occurrences in the codebase where `for` loops are used to iterate an entire array. This is a [widely known problem in the Ethereum ecosystem](https://solidity.readthedocs.io/en/v0.5.3/security-considerations.html?hi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Some Roles Cannot Be Granted To New Users ### Description The roles `ROLE_CANCELER_ROLE`, `ROLE_DISPOSER_ROLE`, `ROLE_EXECUTOR_ROLE`, and `ROLE_PROPOSER_ROLE` do not have an admin and, as such, cannot be granted to new users. ### Recommendation Some roles have been removed to simplify the access control.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
upgrade
true
false
## Low: Unused imports ### Description There are a couple of unused imports in the contracts: ```solidity import "@solidstate/contracts/introspection/ERC165/base/ERC165Base.sol"; import "@solidstate/contracts/proxy/diamond/writable/DiamondWritableInternal.sol"; ``` These are imported in: * [`Dolomite.sol#L6-L7`](htt...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: exactInput allows stealing of funds via a malicious pool contract ### Description ## Lines of code https://github.com/code-423n4/2022-12-Stealth-Project/blob/fc8589d7d8c1d8488fd97ccc46e1ff11c8426ac2/router-v1/contracts/Router.sol#L151 https://github.com/code-423n4/2022-12-Stealth-Project/blob/fc8589d7d8c1d...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Non-library/interface files should use fixed compiler versions, not floating ones ### Description *There are 16 instances of this issue:* https://github.com/code-423n4/2023-01-popcorn/blob/d95fc31449c260901811196d617366d6352258cd/src/utils/EIP165.sol#L4 https://github.com/code-423n4/2023-01-popcorn/blob/d9...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: UniswapV3 pool might not necessarily support 1% fee tier ### Description In the AutoCompoundingPodLp.sol while swapping the reward token to the pairedLpToken `_tokenToPairedLpToken` is invoked and for the swap it does the following -> But it is not necessary that there exists a uniV3 pool of rewardToken/pair...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Function Signature Collision Creates Inaccessible Codeblocks ### Description When new modules are added in `_addModule()`, their function signatures are checked against `s.implementations[selectors[i]]` on line [129] to ensure that the same function signature is not added twice. However, there is no check 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
gas
other
false
false
## Gas: State variables should be cached in stack variables rather than re-reading them from storage ### Description The instances below point to the second+ access of a state variable within a function. Caching of a state variable replaces each Gwarmaccess (**100 gas**) with a much cheaper stack read. Other less obvi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Contracts should be deployed with the same compiler version and flags that they have been tested with thoroughly. Locking the pragma helps to ensure that contracts do not accidentally get deployed using, for example, an outdated compiler version that might introduce bugs that af...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Protocol fee resides in the diamond contract can be wrongly sent to users if the underlying vault temporarily disables withdrawal ### Description Protocol fee resides in diamond contract can be wrongly sent to users if the underlying vault temporarily disables withdrawal. ### Impact The protocol fee is los...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
false
false
## High: Unable to access animations ### Description **Description** AccessTokenContract.sol ImageData.sol Users will not be able to access animations at all. First, Navigator and Pioneer level animations have no way to set them anywhere (neither in the constructor nor in the setter)._navAnnimation and_pionAnnimati...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unexpected throw ### Description When the ether received adds up to exactly `TIER3_CAP`, `getLimitAndRate` [throws](https://github.com/erkmos/moeda/blob/b2bf23119d563e251b6f16b29b642bac43e76a64/contracts/Crowdsale.sol#L91) when the comment says it shouldn’t. Consider changing all the comparisons in this functi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Contract wallets incompatible with `EIP-1271` signature verification ### Description The signature verification mechanism in `IvSignerRecovery.sol` relies exclusively on ECDSA recovery for validating signatures: This implementation only supports signatures from Externally Owned Accounts (EOAs) and lacks comp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Depositors can front-run request-blocking transactions ### Description A depositor can front-run a request-blocking transaction and withdraw his or her deposit. The `RequesterAuthorizerWhitelisterWithTokenDeposit` contract enables a user to indefinitely whitelist a requester by depositing tokens on behalf o...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
false
false
## Medium: The HTTP/2 protocol in Golang 1.21.5 is susceptible to DoS attacks ### Description A vulnerability was discovered with the implementation of the HTTP/2 protocol in Golang prior to 1.21.9 and 1.22.2 versions. The current version used in app chain is 1.20. An attacker can cause the HTTP/2 endpoint to read ar...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lines are too long ### Description Usually lines in source code are limited to 80 characters. Today's screens are much larger so it's reasonable to stretch this in some cases. Since the files will most likely reside in GitHub, and GitHub starts using a scroll bar in all cases when the length is over 164 charac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Naming issues hinder code understanding and readability ### Description To favor explicitness and readability, several parts of the contracts may benefit from better naming. Consider renaming the following functions and variables: * [`parameters`](https://github.com/primitivefinance/primitive-protocol/blob/7...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Limited Flexibility of Hardcoded Calldata Validation Rules ### Description The protocol integrates with a yield platform that may introduce new user functions in the future. To allow clients to call these yet-unknown functions without bypassing system restrictions, a generic function `callAnyFunction` is imple...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Admin
true
false
## Security Assessment Report ## Severity **Medium Risk** ## Context AeraVaultV1.sol#L564-L593 ## Description The vault Owner can set arbitrary weights via `disableTrading()` and then call `enableTradingWithWeights()` to set the spot price and create arbitrage opportunities for himself. This way, `allowance()` in `w...
Spearbit
5
Gauntlet
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Vault assets can be migrated to an arbitrary address at anytime by owner ### Description ## Handle 0xRajeev ## Vulnerability details ## Impact BaseVaultAdaptor contains logic that is “built on top of any vault in order for it to function with Gro protocol.” One of such functions is the migrate() function ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Typos ### Description *There are 29 instances of this issue. For details, see the warden's [full report](https://github.com/code-423n4/2022-05-aura-findings/issues/173).*
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `_governanceAdapter` is not checked ### Description Constructor, `setGovernanceAdapter()`: missing a `_governanceAdapter` zero check. https://github.com/MetaLex-Tech/borg-core/blob/9074503d37cfa1d777ef16f6c88b84c98b4f54eb/src/implants/daoVetoGrantImplant.sol#L151 ### Recommendation We recommend adding paramet...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Improper Slippage Handling ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Noted. This behavior is expected. **File(s) affected:**`fusion-swap/src/lib.rs` **Description:** The protocol allows the maker to set a `min_dst_amount` during order...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unused variables ### Description **Description** File: Welcome.svelte Variables: error, busy Details: There are two global variables added in the given file, and their values even being assigned during the execution, but never read **Recommendation** Double-check the functionality and remove the parameters ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [37] Consider bounding input array length ### Description The functions below take in an unbounded array, and make function calls for entries in the array. While the function will revert if it eventually runs out of gas, it may be a nicer user experience to `require()` that the length of the array is below som...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: optimization by caching array length in `distributeToken` in ProjectDivsDistributor ### Description **Description** In contract ProjectDivs Distributor, in function distribute Token, there can be an optimization on saving gas by saving the value of addresses.length in a value in memory, because every time 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
other
false
false
## Medium: TRST-M-8 Safety checks compare safe's threshold with a stale value ### Description **Description:** In HatsSignerGateBase, `_correctThreshold()` calculates what the safe's threshold should be. However, it uses **signerCount** without updating it by calling `reconcileSignerCount()`. Therefore, in `checkAft...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
true
false
## Low: Call to vartime_write may not be oblivious for keys in the map ### Description The MobileCoin Fog protocol includes various oblivious data structures. One of these data structures is an oblivious hashmap. In particular, the `sgx-oblivious-map` crate implements a “power of two choices” hashmap on top of an obli...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Redemptions and Liquidations Affect Troves in Incorrect Order ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Acknowledge in documentation that trove sorting is done using old ICRs and that redemptions and liquidations are affected accordi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Utilizing higher sharedDecimals values between OFTs leads to less dust accumulation for lowering LZ transfer bound ### Description The `BitcornOFT` contract on L1 and the `WrappedBitcornNativeOFTAdapter` contract on L2 are utilizing a `sharedDecimals` value of 8, attempting to match the Satoshi sub-division. 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
rounding
false
false
## Low: 3S-LENFT-L05 protocol/Lending/TokenOracle.sol: possibility of oracle prices rounding to zero ### Description On [line 56](https://github.com/leNFT/contracts/blob/master/contracts/protocol/Lending/TokenOracle.sol#L56) of the TokenOracle: `return uint256(price) * (PRICE_PRECISION / feedPrecision);` there is a po...
0