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
token
true
false
## High: ERC1155 cannot claim royalities on L2. ### Description https://github.com/sherlock-audit/2024-08-flayer/blob/main/moongate/src/InfernalRiftBelow.sol#L220-L232 The royalty claim function is designed to allow owners of collections deployed on L2 to claim their royalties on L1. However, this function only supp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Misleading functions names at RaiinmakerCampaignVault.sol ### Description **Description** Function setFeeAmount() takes as a parameter address and assigns it to the variable feeAddress. Also in function missed check for zero address. Function setFeeAddress takes as a parameter uint256 _fee and assigns it ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: Cache storage variables in stack when read multiple times without being changed ### Description **Description:** Reading from storage is considerably more expensive than reading from the stack so cache storage variables when read multiple times without being changed: **Ondo:** Acknowledged.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
true
false
## Medium: `LenderCommitmentGroup_Smart` does not use `mulDiv` when converting between token and share amounts, possibly leading to DoS or loss of funds ### Description `LenderCommitmentGroup_Smart` calculates the exchange rate and `_valueOfUnderlying()` without using `mulDiv` from `OpenZeppelin`, which might make it ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing Docstrings ### Description Throughout the codebase, multiple instances of missing docstrings were identified: * In `AmountGetterBase.sol`, the [`getMakingAmount` function](https://github.com/1inch/limit-order-protocol/blob/cf8e50eb24c01c7b276a30a5877840df35e66e67/contracts/extensions/AmountGetterBase....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [06] Misleading function names in `FighterFarm.sol` ### Description The following functions should be renamed: `instantiateAIArenaHelperContract` to `setAIArenaHelperContract` `instantiateMintpassContract` to `setMintpassContract` `instantiateNeuronContract` to `setNeuronContract` Since they are not actually ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Slippage Protection ### Description The `enter()`, `quit()` and `unzap()` functions of the BorpaGateway contract are responsible for providing and removing user’s liquidity to UniswapV2 pool or doing intended swaps, however they set 0 as a minimum acceptable amount. ``` (, , uint256 lpAmount) = IBo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Event in the Constructor in PohVerifier ✓ Fixed ### Description In the `constructor` of the `PohVerifier` contract, the `signer` value is assigned the value of `msg.sender`, however, no event is emitted. Not emitting an event when state variables change can make tracking the state of the contract more ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unintended tokens proportion reset in `applySwapsAndPassiveRebal` function ### Description **Severity**: Critical **Status**: Resolved **Description** The `applySwapsAndPassiveRebal` function, which is called in the deposit function of AFiBase contract, depending on certain conditions, invokes the applyRe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
51% Attack
true
true
### Pre-requisite knowledge & an overview of the features in question 1. **The [**`AddPartyCardsAuthority`**](https://github.com/code-423n4/2023-10-party/blob/main/contracts/authorities/AddPartyCardsAuthority.sol) contract:** The `AddPartyCardsAuthority` contract is a contract designed to be integrated into a Party a...
Code4rena
5
Party Protocol
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Entropy providers may reveal seed before request is finalized ### Description The Fortuna entropy provider service determines a chain’s finability based on the number of confirmations (i.e., the number of blocks that include a given transaction in a parent block). This measure of finability is adequate for 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
other
true
false
## Low: Lack of events emitted on state changes ### Description **Description:** The following functions should ideally emit an event to enhance transparency and traceability: [`Vault::setDelegateRegistry`](https://github.com/stakedotlink/audit-2025-02-linkpool/blob/046c65a9c771315816bc59533183f52661af8e5e/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...
solodit_api
medium
Revert By Sending Dust
true
true
## Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Market.sol#L531 ## Vulnerability details ## Impact In `repay()` users can repay their debt. ``` function repay(address user, uint amount) public { uint debt = debts[user]; require(debt >= amount, "Insufficient debt"); ...
Code4rena
5
Inverse Finance
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unnecessary gas usage ### Description At line: https://github.com/jmonteer/yearnV2-strat-SNX-staking/blob/91b839df4a350d80cb583795bccafe0836fdb732/contracts/Strategy.sol#L252 we see the row `uint256 unlockedWant = _unlockedWant();` and the same at line https://github.com/jmonteer/yearnV2-strat-SNX-staking/blob...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User's Staked ETH Can Be Stuck in the Protocol Through Two Cases ### Description The `deposit()` function in the `Portal.sol` contract allows users to stake their `ETH` into any staking pool that is created. If the user wants to unstake his `ETH` he must make a withdrawal request to the `WithdrawalContract.so...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No membership restrictions placed on `PRIVATE` DAOs allows anyone to join ### Description **Description:** [`MembershipDAOStructs::DAOType`](https://github.com/OneWpOrg/audit-2024-10-oneworld/blob/416630e46ea6f0e9bd9bdd0aea6a48119d0b515a/contracts/dao/libraries/MembershipDAOStructs.sol#L6-L10) exposes the d...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Lack of High-Level Documentation ### Description **Update** The client provides further documentation, which includes the high-level summary of the project. After further reviewing, the team considered this issue to be resolved. **Update** Marked as "Acknowledged" by the client. The client provided the fo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The right value should be used instead of downcasting from uint256 to uint192 ### Description In the function `requireValidBUExchangeRate` local variables are used to calculate the outcome of low and high. After that a require statement is made to ensure the BU rate is in range. The problem is that for the loc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Low: [08] Take flash loan fee ### Description Although the fee for yin flash loans is currently zero ([`FLASH_FEE = 0`](https://github.com/code-423n4/2024-01-opus/blob/4720e9481a4fb20f4ab4140f9cc391a23ede3817/src/core/flash_mint.cairo#L32)), it should still be accounted for when [withdrawing the loan `amount` from ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Insufficient TTL for Checkpoints ### Description ## Vulnerability in Total Supply Checkpoints The vulnerability lies in the way `storage::set_total_supply_checkpoints` sets the Time To Live (TTL) for the total supply checkpoints. The function stores an array of total supply values (`balance`) at different ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
true
false
## Low: Health score parameters do not have boundaries ### Description The health score parameters (`LIQUIDATABLE_HEALTH_SCORE`and `minimumOpenHealthScore_`) do not have upper / lower boundaries. As a consequence, if any of them is mistakenly set, it could generate unexpected situations for the borrowing and lending p...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
cross-chain
true
false
## High: Missing source validation in CCIP message handling ### Description **Description:** YieldFi integrates with Chainlink CCIP to facilitate cross-chain transfers of its yield tokens (`YToken`). This functionality is handled by the `BridgeCCIP` contract, which manages token accounting for these transfers. Howeve...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use `SafeERC20` functions instead of standard `ERC20` transfer functions ### Description **Description:** Use [`SafeERC20`](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/utils/SafeERC20.sol) functions instead of standard `ERC20` transfer functions: **Remora:** Fixed...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Scope 1 - Incorrect and Incomplete Documentation ### Description The following instances of incorrect documentation were identified: * The `Guardians` contract has the Natspec title of ["Security Council"](https://github.com/ZKsync-Association/zk-governance/blob/a3e361d00d8100ed1724b079ea7509f7f13e3d94/l1-co...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Duplicate NFT Holding in different tiers ### Description The expected behavior is that a user can't simultaneously own NFTs from Tier A and Tier B. If a user who already owns an NFT in Tier A receives an NFT in Tier B, the NFT in Tier A should be burned. The issue lies in a case where there are two tiers, 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
medium
other
true
false
## Medium: Liquidity rate calculation applies protocol fee as a discount instead of charging it in ReserveLibrary ### Description The `calculateLiquidityRate` function is designed to compute a net liquidity rate by subtracting a protocol fee from a gross liquidity rate. However, the implementation subtracts a fee 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...
cyfrin_structured
low
oracle-manipulation
true
true
## Low: Unnecessary price feed address validation in `Ignite::configurePriceFeed` ### Description Unlike [`Ignite::addPaymentToken`](https://github.com/Benqi-fi/ignite-contracts/blob/bbca0ddb399225f378c1d774fb70a7486e655eea/src/Ignite.sol#L791), which performs no validation on the price feed address itself, and only t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Over-complicated design of delegation ### Description **Description:** In staking contract, the logic around delegation is over-complicated, where it has concepts of `delegation`, `self-delegation`, and `delegation to self`, of these logic mixed, which could be simplified.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users Can Lose All Their Rewards Even If Their Option Won The Duel ### Description **Severity** - Critical **Status** - Resolved **Description** Consider the following → UserA joins a duel (say duelId = 1) , provides an option and an option index , and as amount provides 1000 USDC This would deploy a new...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `VoteEscrowDelegation._writeCheckpoint` fails when `nCheckpoints` is 0 ### Description When a user call `VoteEscrowDelegation.delegate` to make a delegation, it calls `VoteEscrowDelegation._writeCheckpoint` to update the checkpoint of `toTokenId`. However, if `nCheckpoints` is 0, `_writeCheckpoint` always rev...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
0x
true
false
Source: https://github.com/sherlock-audit/2022-09-notional-judging/issues/75 ## Found by xiaoming90 ## Summary The lack of recipient validation against the 0x order within the 0x adaptor (`ZeroExAdapter`) allows the purchased/output tokens of the trade to be sent to the attacker's wallet. ## Vulnerability Detail ...
Sherlock
5
Notional
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiple Delegation by Double Spending Boosts and Lack of Delegation Tracking in BoostController Contract ### Description The `BoostController` contract allows users to delegate their boost to multiple users without deducting the delegated amount from their own boost balance. Additionally, there is no mechani...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
storage
false
false
## Gas: Immutable variables save storage ### Description If a variable is set in the constructor and never modified afterwards, marking it as `immutable` can save a storage slot - `20,000` gas. This also saves `97` gas on every read access of the variable. ### Proof of Concept 8 instances: ##### src/VaultFactory.so...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
oracle
true
false
## Gas: Using `calldata` instead of `memory` for read-only arguments in `external` functions saves gas ### Description When a function with a `memory` array is called externally, the `abi.decode()` step has to use a for-loop to copy each index of the `calldata` to the `memory` index. **Each iteration of this for-loop ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The System Lets Users Trigger Trades to Networks with a Disabled Slashing Mechanism ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Splitting the functions may reduce developer convenience and introduce other potential risks. Therefore, we wi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Parameters ### Description ## Code Optimization for `checkTokensForOptions` The `checkTokensForOptions` function currently includes two unused parameters: `indexAsset` and `isLong`. Unused parameters contribute to increased code size and gas consumption. Therefore, it is recommended to remove these par...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Claim Collateral on Behalf of HAs ### Description When a collateral pool is being revoked, users are able to make claims over the collateral. These claims are paid out based on preference. Users are able to attach governance tokens to their claims to give the claims a higher preference. In `CollateralSettl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
initialization
false
false
## Low: Variables only set once in `constructor` of non-upgradeable contracts should be declared `immutable` ### Description Variables only set once in `constructor` of non-upgradeable contracts should be declared `immutable`: * `CompliantDepositRegistry::complianceChecker` * `Minter::baseAsset, hilBTCToken`
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Improper Validation In setInvoice ### Description `IssuanceProgram::setInvoice` is used to set the address of the new invoice contract. However, this implementation takes the hardcoded address of the new invoice instead of properly updating the old invoice values. ### Recommendation Instead of taking the new ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: withdrawMax() does not return the actual received amount ### Description `withdrawMax()` is provided as a convenience function to be called without having to know the `withdrawableAmount` and the `protocolFee` that will be applied, if any. Any integrating contract will most likely need to know the exact amou...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Redundant condition in processMfaRequest ### Description Redundant condition in `processMfaRequest`. The first part of the condition is redundant. ### Recommendation Remove the redundant condition. ```go func (c *cubistCustodianManager) processMfaRequest(ctx context.Context, mfaReq *cubistv0.MfaRequestInfo) ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: INCONSISTENT SOLIDITY PRAGMA ### Description The source files have different solidity compiler ranges referenced. This leads to potential security flaws between deployed contracts depending on the compiler version chosen for any particular file. It also greatly increases the cost of maintenance, as different 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
other
false
false
## Low: Missing parameter’s boundaries validation ### Description **Severity**: Low **Status**: Resolved **Description** StakingConfiguration.ol, etTimeBetweenSetStatCall() New parameter (timeBetweenSetStatCall) wa introduced, though no validation were performed. It i recommended to have everal validation for each...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The `ContinuousGDA` implementation is incorrect leading to liquidation auctions running at the wrong price ### Description The `LiquidationPair` contract facilitates Periodic Continuous Gradual Dutch Auctions for yield. This uses the underlying `ContinuousGDA.sol` library in order to correctly price the auc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Remove commented out code from the repository ✓ Fixed ### Description Having commented out code increases the cognitive load on an already complex system. Also, it hides the important parts of the system that should get the proper attention, but that attention gets to be diluted. There is no code that is ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Removed reward tokens will no longer be claimable and will cause loss of funds to users who haven't claimed ### Description When a reward token is removed, it's entire reward structs is deleted from the reward token array. The results is that after it has been removed it is impossible to claim. User's who h...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
true
false
## Low: Lack of Validator Address Validation in queueL1Operations function ### Description In the `StakingManager` contract, the `queueL1Operations` function allows a trusted role (`OPERATOR_ROLE`) to enqueue a list of validator-related operations. However, it does not validate that the provided `validators[i]` addres...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
flash-loan
true
false
## Medium: The fee for the protocol in the function `RamsesV3Pool::flash()` is not calculated correctly ### Description ### Impact Because the fee for the protocol is not calculated correctly, the split of fees is wrong resulting in less fees for the protocol. ### Proof of Concept When calling the function [flash](...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious users can exploit the auction and make profit when the SetToken is not locked. ### Description The SetToken can be minted and redeemed by anyone when it is not locked during rebalancing. This can allow malicious users to front-run and back-run the bidders and manipulate the auction outcome. ### 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
access-control
true
false
## Low: Missing Staker Reward Ensurance ### Description ## Reward System Documentation Users who have staked coins to the pool earn rewards at a custom `reward_per_sec` rate. The rewards are deposited in a permissionless manner in the pool. ## Function: deposit_reward_coins Because there are no enforcements at 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
flash-loan
false
false
## Low: Change public functions to external where possible to save gas ### Description **Severity**: Informational **Status**: Resolved **Description** In contract Flashloan.sol, at line 18 function flashLoan is declared as public but never used for internal calls, no reason to be public. **Recommendation**: Cha...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
false
false
## Medium: Missing docstrings ### Description All the contracts and functions in Arro’s code base lack proper documentation. This hinders reviewers’ understanding of the code’s intention, which is fundamental to correctly assess not only security, but also correctness. Additionally, docstrings improve readability and ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Adopt the two-step ownership transfer pattern ### Description To prevent the Aera vault Owner, i.e., the Treasury, from calling `renounceOwnership()` and effectively breaking vault critical functions such as `withdraw()` and `finalize()`, the `renounceOwnership()` function is explicitly overridden to revert th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Empty Forced Batch Event Will Look Like It Came From An EOA ### Description If a batch is forced with `transactions.length = 0`, it will emit the same event with the same data whether `msg.sender == tx.origin` is true or false. Since the `msg.sender` is not equal to `tx.origin`, the batch data will not be 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
liquidation
false
false
## Low: Providing additional collateral may be detrimental to borrowers in default ### Description When a user who is in default on a loan deposits additional collateral, the collateral will be immediately liquidable. This may be surprising to users and may affect their satisfaction with the system.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Modifier ordering plays a significant role in modifier efficacy ✓ Fixed ### Description The `nonReentrant` and `refundFinalBalance` modifiers always appear together across the 0x monorepo. When used, they invariably appear with `nonReentrant` listed first, followed by `refundFinalBalance`. This specific 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
liquidation
true
false
## Low: EDITCOLLATERALLIST BEHAVIOUR MAY BE MISLEADING ### Description The `editCollateralList` function takes three arguments: `bytes32 collateralName, bool accepted, uint256 position`. When adding collateral, only `collateraName` is used, and `position` is ignored. When removing collateral, only `position` is used; ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ConfigTimeLockController will put QuantConfig in a stalemate (rendering it unusable) ### Description ## Lines of code https://github.com/code-423n4/2022-03-rolla/blob/efe4a3c1af8d77c5dfb5ba110c3507e67a061bdd/quant-protocol/contracts/timelock/ConfigTimelockController.sol#L28 https://github.com/code-423n4/20...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rebalancing a negative Perp PnL via a Uniswap V3 token swap is broken due to the lack of token spending allowance ### Description The `ISwapper spotSwapper` (i.e., `Uniswapper`) helper contract, used by the `PerpDepository._rebalanceNegativePnlWithSwap` function to perform the actual Uniswap V3 token swap, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Random task execution ✓ Fixed ### Description In a scenario where user takes a flash loan, `_parseFLAndExecute()` gives the flash loan wrapper contract (`FLAaveV2`, `FLDyDx`) the permission to execute functions on behalf of the user’s `DSProxy`. This execution permission is revoked only after the entire recip...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: external function transferToPool is pretty useless ### Description ## Handle pauliax ## Vulnerability details ## Impact external function transferToPool is pretty useless and error-prone. It relies on the user not to leave these tokens in a separate tx, otherwise, it will just be feeding the bots. To use i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Lack of Event Emission After Sensitive Actions ### Description The following functions do not emit relevant events after executing sensitive actions. `MasterWhiteList` contract: * When [changing the KYC Passport address](https://github.com/TruFin-io/staker-audit-april/blob/9f199451b5220f73cfc1eb95dc13381ac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The `bToken` and `portalEnergy` Tokens Cannot be Minted if the `Portal.sol` Contract Owner is Not Set ### Description Both `bToken` and `portalEnergy` will use the basic `MintBurnToken.sol` contract. They inherit the basic `Ownable` contract from OpenZeppelin, which makes the deployer of the contracts their...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Public vault depositors will receive fewer vault shares until the first payment ### Description Public vault total asset calculation is incorrect until the first payment, leading to depositors receiving fewer vault shares than expected. ### Impact PoC: https://gist.github.com/berndartmueller/8a71ff76c7eb8207...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Typos and Incorrect Comments ### Description Several code quality issues were identified in the codebase: 1. Misleading comment in `programs/vaults/src/state/context.rs`: - https://github.com/Instadapp/fluid-contracts-solana/blob/ea55b3f63a345889228d30feb19a4e7f681f9435/programs/vaults/src/state/context.rs...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
false
false
## Low: Solidity version varies, is not the most recent ### Description The version of Solidity used throughout the codebase varies, but it is not pinned, nor is it the latest stable version. The choice of Solidity version should always be informed by the features each version introduces that the codebase could bene...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Result of transfer / transferFrom not checked ### Description ## Handle gpersoon ## Vulnerability details ## Impact A call to transferFrom or transfer is frequently done without checking the results. For certain ERC20 tokens, if insufficient tokens are present, no revert occurs but a result of "false" is ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
true
false
## Medium: PaprController pays swap fee in buyAndReduceDebt, not user ### Description ## Lines of code https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L226 ## Vulnerability details ## Impact Since `PaprController` is not designed to hold any underlying 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: Governance Raising the CCR could be used to prevent people from borrowing by griefer ### Description **Impact** This is partially mitigated by `_requireNoBorrowingUnlessNewTCRisAboveCCR(_troveChange.debtIncrease, newTCR);` https://github.com/subvisual/quill/blob/d4a5dcc168dfc315eef6a4c9c465a36c86ca0ddc/contr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Unintended token minting to staking address when fee rate is 0 ### Description **Severity** **Impact:** Medium **Likelihood:** Medium **Description** When adding liquidity to the pool, the contract calls `_calculateSupply` twice. The difference between the two results is minted to the staking address 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...
skyward_49k
low
access-control
true
false
## Low: Controller can leave users out of staking ### Description The controller has the ability to accept or ignore deposits, as the `op_controller_accept_stakes` function is privileged. Members have no way of forcing their deposit into stake if the controller decides not to accept it, making them lose on potential p...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Users Can Claim Zero Rewards ### Description **Update** Marked as "Fixed" by the client. Addressed in: `cae0b858206490eb4525213d5b317a80180e6ace`. A `require()` statement was added to check that rewards are greater than 0. **File(s) affected:**`BasePool.sol` **Description:** Currently, `BasePool.claimReward...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## High: Maker buy order with no specified NFT tokenIds may get fulfilled in `matchOneToManyOrders` without receiving any NFT ### Description _Submitted by WatchPug, also found by 0xsanson, PwnedNoMore, and unforgiven_ The call stack: matchOneToManyOrders() -> \_matchOneMakerSellToManyMakerBuys() -> \_execMatchOneMak...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Parameter Validation ### Description The following is a list of code snippets that could benefit from additional validation: * The `initialize` function of the `Controller` contract [does not check for duplicates in the passed `_factories`, `_modules` or `_resources` arrays](https://github.com/SetProtocol/se...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
Validation
true
false
## Severity: Medium Risk ## Context Across the following files and lines: - `AcrossFacet.sol#L103` - `AmarokFacet.sol#L145` - `AnyswapFacet.sol#L127` - `ArbitrumBridge-Facet.sol#L111` - `CBridgeFacet.sol#L103` - `GenericBridgeFacet.sol#L111` - `GnosisBridgeFacet.sol#L119` - `HopFacet.sol#L106` - `HyphenFacet.sol#L101`...
Spearbit
5
LI.FI
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
reentrancy
true
false
## Gas: Unnecessary extra storage reads when swapping ### Description **Description:** When a swap is executed, whether via EulerSwap or Uniswap V4, a reentrant hook is employed: [`UniswapHook::nonReentrantHook`](https://github.com/euler-xyz/euler-swap/blob/1022c0bb3c034d905005f4c5aee0932a66adf4f8/src/UniswapHook.sol...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Accidentally setting fulfiler address to 0 has effect of disabling service ### Description **Severity**: Informational **Status**: Resolved **Location**: FulfillableRegistry.sol **Description** The FulfillableRegistry has lots of checks that revert if the fulfiller is the zero address. There is a way to 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
medium
token
true
false
## Medium: Users can steal accumulated rewards when `totalCollateral` becomes zero due to incomplete state updates ### Description When `totalCollateral` becomes zero, the `_updateReward()` function skips updating `userRewardPerTokenPaid` for new depositors, leaving it at 0 while `rewardPerTokenStored` retains previou...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Supplied To transfer() Call Might Change In The Future ### Description Description Thetransfer() call is used to send ETHto a target user. The call attaches only 2300 gas and will throw an error if the recipient is unable to receive ETH. However, the gas costs are liable to change in the future. Therefore, fun...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Code doesn't validate stale AUM values ### Description **Severity** **Impact:** High **Likelihood:** Low **Description** In the new design of the system, the value of the AUM should be updated by the off-chain bot. The issue is that there is no validation time for the AUM value and the code assumes 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
liquidation
false
false
## High: [Partially Fixed] Malicious Admin can steal from the protocol ### Description Currently an EOA (*Event Oversight Administrator*) has a lot of privileges over the control of the whole protocol, from setting up initial variables to updating critical values like Oracles and market parameters. For instance, `liqu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `RewardsDistributor::_claimSingle` should emit `RewardClaimed` using `amountDelta` ### Description **Description:** In `RewardsDistributor::_claimSingle`, the `amount` parameter gets subtracted from the `previouslyClaimed` parameter. Consider the case where a user is entitled to 10 reward tokens. The user cla...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
rounding
false
false
## Medium: Loss of Precision Due to Division Before Multiplication ### Description **Update** Addressed in `eb19b5fbf591ae5db63151c060dadad2725916b0` The client rewrote `_getETHPriceInUSD()`, `_convertETHWeiToUSDWei()`, and `__convertUSDWeiToETHWei()` to adjust for loss in precision. **File(s) affected:**`Utils.sol` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: When transfering the NFT associated to a TradingAccount, the old owner can grief the new owner by leaving an opened MarketOrder that will be executed even though the old owner is not the owner of the TradingAccount. ### Description Old Owner of a TradingAccount can grief the new owner by leaving an opened Mark...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Public vault owner (strategist) can use buyoutLien to indefinitely prevent liquidity providers from withdrawing ### Description By calling buyoutLien before transferWithdrawReserve() is invoked (front-run if necessary), Public vault owner (strategist) can indefinitely prevent liquidity providers from withdr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: Blacklisted Addresses Can Still Mint and Redeem Tokens Despite Restrictions ### Description The contract fails to implement blacklist checks in critical token operations including `custodianMint()`, `excessStakeMint()`, and `redeem()` functions. While the contract maintains a blacklist mapping and implement...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: Floating Pragma ### Description Pragma directives should be fixed to clearly identify the Solidity version with which the contracts will be compiled. Throughout the [codebase](https://github.com/Ion-Protocol/ion-protocol/tree/98e282514ac5827196b49f688938e1e44709505a/), there are multiple floating pragma dire...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
front-running
false
false
## Gas: The owner of the protocol can frontrun the `setLenderFee` if some borrower borrows a big amount of tokens ### Description The protocol exhibits a vulnerability where the owner has the ability to front-run the setLenderFee function when a borrower attempts to borrow a significant amount of tokens. As the FeeRec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
true
false
## Low: Full liquidations will fail for certain unhealthy positions ### Description Report type: Smart Contract Target: https://testnet.snowtrace.io/address/0xc1FBF54B25816B60ADF322d8A1eaCA37D9A50317 Impacts: - Griefing (e.g. no profit motive for an attacker, but damage to the users or the protocol) ## Description...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
true
false
## Low: UNNEEDED ARRAYS DECLARATION IN FINISHMINTSHIPS FUNCTION ### Description In the `PirateGameV1` contract, the function `_finishMintShips()` contains the following code: ### Recommendation **SOLVED**: The `Proof of Play team` solved 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
true
false
## Low: tbtc - Where possible, a specific contract type should be used rather than address ✓ Addressed ### Description Rather than storing `address`es and then casting to the known contract type, it’s better to use the best type available so the compiler can check for type safety. ### Recommendation This issue has be...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
true
false
## Low: Modifiers not applied on the functions `start` and `withdrawRemainingTokens` ### Description First with the function `start`, a quest should be started only by the owner, even tho the modifier is applied on the function `start` in Quest.sol. It should be added to the child contract as well. Consider adding 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
oracle
true
false
## High: `WrappedIbbtc` and `WrappedIbbtcEth` contracts do not filter out price feed outliers ### Description _Submitted by hyh_ #### Impact If price feed is manipulated in any way or there is any malfunction based volatility on the market, both contracts will pass it on a user. In the same time it's possible to cons...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insecure Workflow Whitelisting logic ### Description As described in the `Workflow calls are vulnerable to Front-Running attacks` finding, multiple functions from the Workflows contracts use the `setBatchPermissionFor()` and `setPermissionForModule()` functions to interact with the relevant `IPAccounts`. Wh...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
initialization
true
false
## Low: Inconsistent ETH handling pattern in Proxy Contracts ### Description There is an inconsistency in how proxy contracts handle incoming ETH transactions through their `receive()` and `fallback()` functions. Some proxy contracts delegate both functions to their implementation, while others only delegate the fallb...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary check ### Description At line https://github.com/lidofinance/aragon-apps/blob/7e5cd1961697a1bc514bfebdeab08a296e51d700/apps/voting/contracts/Voting.sol#L423 the check is unnecessary since the check at line https://github.com/lidofinance/aragon-apps/blob/7e5cd1961697a1bc514bfebdeab08a296e51d700/apps...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Options with a small strike price will round down to 0 and can prevent assets to be withdrawn ### Description _Submitted by berndartmueller, also found by auditor0517, hansfriese, IllIllI, Lambda, sashik_eth, shenwilly, and TrungOre_ ### Impact Certain ERC-20 tokens do not support zero-value token transf...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Accrued fees become stuck when gauge is killed ### Description The internal `_claimFees()` function, responsible for claiming these fees, is only invoked during reward notifications via `notifyRewardAmount()`. However, once the gauge is killed, new rewards are redirected to the minter, and `notifyRewardAmou...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
true
false
## Low: Rebasing down of any reward token can freeze YT and LP transfers, YT and treasury rewards redeeming ### Description 1. If any reward token is rebasing (e.g., stETH) and gets slashed after `_setPostExpiryData()` execution, then there will be no rewards for the treasury from this expired SY until that reward tok...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Absence Of Functionality ### Description ## Issue with Driver State Update ## Problem Description `update_driver_state` is incorrectly implemented as it lacks the functionality to handle a successful completion of a ride by allowing the driver to update `on_ride` to false. The function currently only sets `...
0