prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: [07] Ed25519 public key validation uses size constant (32) instead of error code (1) for invalid length assertion ### Description The `public_key_from_bytes` function incorrectly uses a size constant (`PUBLIC_KEY_SIZE = 32`) as an error code instead of the dedicated error constant `E_WRONG_PUBKEY_SIZE = 1`. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Contracts’ code size exceeds limit. ### Description **Description** Contracts: CashVaultV1.sol, CashSecuredLeveragedPutVaultV1.sol, CashSecuredPutVaultV1.sol, CondorVaultV1.sol, CoveredCallVaultV1.sol. Contracts’ code size exceeds the limit(24576 bytes, a limit introduced in Spurious Dragon), thus they canno...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
true
false
## High: Missing mango account check ### Description ## MangoObserver Vulnerability In `mango_state.rs`, a `MangoObserver` struct is instantiated from a list of Mango accounts. However, there is no constraint validating that the provided addresses are actually associated with the marginfi account. An attacker can abu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Total supply and balance invariants can be broken by burning the same token id multiple times within a given batch operation ### Description **Description:** The `_burnBatch(uint256[])` function loops over all provided `tokenIds` and updates the relevant state; however, the ownership/approval logic is executed...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Low: Miscellaneous General Comments ### Description This section details miscellaneous findings discovered by the testing team that do not have direct security implications: 1. **Unused Variables** **Related Asset(s):** LRTConverter.sol - `conversionLimit` in LRTConverter and its associated functionality 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
medium
other
true
true
## Medium: Incorrect update of `ve_supply` in `checkpoint_total_supply()` ### Description In the `RewardsDistributor.sol` contract, the `checkpoint_total_supply()` function is responsible for storing the total supply at a given time `t` in the `ve_supply[t]` mapping. This value is used for future reward distribution 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
high
other
true
false
## High: `BalancerStrategy.sol`: `_withdraw` withdraws insufficient tokens ### Description The funciton `_withdraw` in the balancer strategy contract is called during withdraw operations to withdraw WETH from the balancer pool. The function calculats the amount to withdraw, and then calls `_vaultWithdraw` 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
medium
initialization
true
false
## Medium: Rewards Can Be Harvested Even When Distribution Is Marked As Finished ### Description In the contract StakedEXA.sol the finishDistribution() intends to finish the distribution of the reward token , but it fails to do so. Rewards can still be harvested from the Market and later claimed , meaning , rewards ca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
false
false
## Medium: Active pool `plugin` can be modified without updating `pluginConfig` ### Description https://github.com/cryptoalgebra/Algebra/blob/6c22b64977e0b0266aec89470480df74977eb606/src/core/contracts/AlgebraPool.sol#L402 An issue has been found in the `setPlugin` function. Pool administrators can alter the `plugin` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
logic
false
false
## High: Incorrect Calculation of Accrued Rewards in `updateRewardRatePerDay` ### Description This issue has been identified within the `updateRewardRatePerDay` function of the `DIARewardsDistribution` contract. The calculation of the `rewardsAccrued` variable contains two problems that lead to incorrect reward distri...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Implemented, but not ready functions ### Description The HoneyJar team stated that: - Withdrawal and redemption will not be enabled for months and only after an upgrade and re-audit of those functions. However, these functions appear to have code that would run if the contract was unpaused. This is not the ca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Fully Liquidated Auctions Cannot Be Terminated ### Description Description It is possible to lock auctions in a state where it is impossible to terminate or start a new auction. On line [ 482] in DutchAuction.sol there is the condition if (convertedPercentage > maxOfCurrent) . If this condition is true then t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
high
oracle-manipulation
true
false
## High: Spot price manipulation can lead to unfair liquidations ### Description When perpetual instruments are configured without an oracle feed, the system uses the spot market's `last_px` as the `perp_underlying_px` for liquidation calculations. The spot price (`last_px`) can be manipulated through order book 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: Possible divide by zero errors in Utils ### Description ## Handle shw ## Vulnerability details ## Impact Several functions in `Utils` do not handle edge cases where the divisor is 0, caused mainly by no liquidity in the pool. In such cases, the transactions revert without returning a proper error message....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Fees can be trimmed ### Description Context: DssLitePsm.sol#L478 Description: The accrued fees that haven 't been sent to vow( chug ged) yet are tracked in cut() as cash - debt where cash is the sum of the swapped Gem balance and the DAI balance (minted DAI + accrued DAI fees). The trim function allows removin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious pools can be deployed through BathHouse ### Description ## Lines of code https://github.com/code-423n4/2022-05-rubicon/blob/8c312a63a91193c6a192a9aab44ff980fbfd7741/contracts/rubiconPools/BathHouse.sol#L153 https://github.com/code-423n4/2022-05-rubicon/blob/8c312a63a91193c6a192a9aab44ff980fbfd774...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
false
false
## High: Outdated oracle prices being used throughout the protocol ### Description Throughout the system, the [`UniswapOracle` contract](https://github.com/fei-protocol/fei-protocol-core/blob/29aeefddd97f31c7f2a598fb3dca3ef24dc0beb4/contracts/oracle/UniswapOracle.sol) and the [`BondingCurveOracle` contract](https://gi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wrong role checked in `onlyBeneficiaryOrPayoutWallet` modifier in `DIAExternalStaking` ### Description The `onlyBeneficiaryOrPayoutWallet` modifier in `DIAExternalStaking` is intended to allow either the stake beneficiary or the principal payout wallet to call certain functions, but it mistakenly checks `princ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Admin drains all ERC based user funds using `withdrawERC20()` ### Description [Gravity.sol#L632-L638](https://github.com/code-423n4/2022-05-cudos/blob/de39cf3cd1f1e1cf211819b06d4acf6a043acda0/solidity/contracts/Gravity.sol#L632-L638) [Gravity.sol#L595-L609](https://github.com/code-423n4/2022-05-cudos/blob/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
high
other
false
false
## High: Possible loss of assets by mistake ### Description If a liquidator calls this function by mistake with the next parameters: `to = address(0), force = true`, then he loses all assets: https://github.com/Gearbox-protocol/gearbox-contracts/blob/0ac33ba87212ce056ac6b6357ad74161d417158a/contracts/credit/CreditMana...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Sanctioned Users Can Transfer Their Tickets ### Description **Update** Marked as "Fixed" by the client. Addressed in: `b4ba7964209c99e878fdb10b52a9bdd5713a8f86`. The client provided the following explanation: Add `_requireIsNotSanctioned(msg.sender)` to `_transfer()`. **File(s) affected:**`SellerFinancing.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...
solodit_api
high
Payable
true
false
## Security Assessment ## Severity: **High Risk** ## Context: `BaseMultichain.sol#L39-L47` ## Description: Multichain v6 is supported by Connext for cross-chain messaging. The `_sendMessage` function of `BaseMultichain.sol` relies on Multichain's anyCall for cross-chain messaging. Per the Anycall V6 documentatio...
Spearbit
5
Connext
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Calls to setParams may set invalid values and produce unexpected behavior in the staking contracts ### Description Certain parameters of the contracts can be configured to invalid values, causing a variety of issues and breaking expected interactions between contracts. `setParams` allows the owner 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
other
false
false
## High: Incorrect accounting when users of a staking entity stake into that entity ### Description **Update** Marked as "Fixed" by the client. Addressed in: `247aacecd3fd2328753ae26c0bc5ef387cbd12c2`. **File(s) affected:**`contracts-v3/LibTokenizedVaultStaking.sol` **Description:** As staking happens on behalf of 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
token
true
false
## Low: [03] Redundant deletion of `erc20EntitlementPerUnit` ### Description ### Lines of code https://github.com/code-423n4/2024-02-althea-liquid-infrastructure/blob/bd6ee47162368e1999a0a5b8b17b701347cf9a7d/liquid-infrastructure/contracts/LiquidInfrastructureERC20.sol#L266 https://github.com/code-423n4/2024-02-althe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Withdraw Function Might Revert If Not Sufficient Balance Of Tokens ### Description **Severity** - Low **Status** - Resolved **Description** A liquidity provider can withdraw his tokens using the withdraw() function in the SwapOneToOne contract. If the logic enters the else if at L111 where there is not enou...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: State variables which are not modified within functions should be set as constant or immutable for values set at deployment ### Description Cache such variables and perform operations on them, if operations include modifications to the state variable(s) then remember to equate the state variable to it's cached...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Staking API service can be crashed remotely due to unbounded size of request ### Description The Staking API service is a critical component of Babylon. The README of the repository indicates: The Staking API Service is a vital part of the Babylon Phase-1 system, focused on serving information about the st...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Redundant Conditions and Operations ### Description Several redundant conditions and operations were spotted across various functions: - In the [`executeRight`](https://github.com/longgammalabs/hanji-contracts/blob/09b6188e028650b9c1758010846080c5f8c80f8e/src/TrieLib.sol#L216) function, condition `order_id > n...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User’s fund can be transferred out without consent ### Description **Severity**: Critical **Status**: Resolved **Description** In contract Swap, the function settleFutureProfit(address token, uint256 amount, address from) can transfer funds from any user to itself. Anyone can call settleFutureProfit(...) ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `GetForecastScoresUntilBlock` can get more score samples than the max allowed ### Description A for loop loop inside [GetForecastScoresUntilBlock](https://github.com/sherlock-audit/2024-06-allora/blob/main/allora-chain/x/emissions/keeper/keeper.go#L1954) can accidentally pick different sized sample for part...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Medium: Should return zero. But instead the transaction crashes ### Description Functions are used to calculate the number of tokens. But in some cases, an arithmetic overflow occurs and the transaction is reverted. This can be avoided by doing a check and returning zero. - At the line https://github.com/CoverProt...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
overflow
true
false
## High: RPC Assertions allow malicious clients to DoS RPC providers ### Description An RPC-based DoS vulnerability exists where malicious `eth_call` requests can trigger exception-based failures in balance overflow checks. The vulnerability occurs in `/monad/category/execution/ethereum/state3/state.hpp:365-369` where...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [18] `DisableInboundOnly` should probably be aligned with `IsOutboundEnabled` ### Description There seems to be a divergence in the implementation regarding `DisableInboundOnly` and `IsOutboundEnabled`, which seems to indicate this is a bug. [DisableInboundOnly](https://github.com/code-423n4/2023-11-zetachain...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: TWAP Period for Uniswap V3 Oracles May Be Insufficiently Small ### Description **Update** **Quantstamp:** The Sperax team enforced period to be at least 10 minutes. If the cardinality of the pool is not sufficiently large, the `consult()` call will revert, which is an acceptable case. **Update** Marked as "F...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: Loop backwards in `MysteryBox::_determineTier()` to avoid multiple variables and simplify code ### Description **Description:** [Loop backwards](https://github.com/Earnft/smart-contracts/blob/43d3a8305dd6c7325339ed35d188fe82070ee5c9/contracts/MysteryBox.sol#L380-L383) in `MysteryBox::_determineTier()` to avoid...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: [05] Code and comment mismatch ### Description In [ContractDeployer, lines 159](https://github.com/code-423n4/2023-10-zksync/blob/72f5f16ed4ba94c7689fe38fcb0b7d27d2a3f135/code/system-contracts/contracts/ContractDeployer.sol#L159C1-L159C71) and [182](https://github.com/code-423n4/2023-10-zksync/blob/72f5f16ed4b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: Uniswap Position Fees Are Not Included in Asset Calculation For Warnings and Liquidation ### Description Uniswap LPs earn fees for providing liquidity to Uniswap pools. These fees are, however, not taken as a part of the position's assets when the assets are being tallied for warning via the `_getAssets()` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `onlyOwner` Role Can Unintentionally Influence `settleAuction()` ### Description _Submitted by leastwood_ #### Impact The `onlyOwner` role is able to make changes to the protocol with an immediate affect, while other changes made in `Basket.sol` and `Auction.sol` incur a one day timelock. As a result, an ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: IOS - LACK OF ANTI-TAMPERING AND ANTI-HOOKING MECHANISMS ### Description The application lack anti-tampering and anti-hooking mechanisms to detect and mitigate unauthorized modifications, runtime manipulations, and hooking attempts. These features enhance application security by ensuring file integrity, blocki...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Flows can bypass market and global pause ### Description _Submitted by [0xRajeev](https://twitter.com/0xRajeev)_ Ability to pause all token transfers and all state changes for contracts is a “guarded-launch” best-practice for emergency situations for newly launched projects. The project implements this usi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Medium: Manipulate Allocations from game using flashloans ### Description A user can use flashloans to leverage the amount of derby token dedicated towards a certain protocol. ### Impact A User can use this to stake tokens into bad performing protocols, leading to possible lose of funds or unexpected behavior. ##...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Check in BalancerFlashloanDirectMintHandler ### Description In the [`receiveFlashLoan` function](https://github.com/Ion-Protocol/ion-protocol/blob/98e282514ac5827196b49f688938e1e44709505a/src/flash/handlers/base/BalancerFlashloanDirectMintHandler.sol#L161) of the `BalancerFlashLoanDirectMindHandler` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [12] Router lacks global re-entrancy defences for ERC777-style callbacks ### Description ### Vulnerability details Functions like `pullAmountAndExecute`, `injectSweepAndCall`, `sweep`, etc., can interact with ERC777 tokens that invoke hooks on `msg.sender`. While running inside a Sequence wallet via `delegate...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `TokenVault` Is a Greedy Contract ### Description **Update** Validation added in `_deposit()`. The transaction will revert if sending native tokens while indicating a non-native token address. Addressed in: `30f4c037da17652a4597814694c19b59328e2c70`. **File(s) affected:**`TokenVault.sol` **Description:** Cal...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Address Size Checks ### Description ## Bridge Encode Payload Structure Per the encode payload structure for bridges, sizes should be limited to 32 bytes. However, there is no check to ensure addresses are this size. ## File Reference `sources/app/bridge.move` ## Remediation It is recommended to ass...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing Validation Logic ### Description ## Issues Identified 1. The `ModifyHook` instruction does not validate whether the `meta.interface_type` is set to `Fragmetric`, even though the hook being modified is intended only for the `Fragmetric` interface type. 2. In `Utils::get_index`, the `price.exponent` 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
cross-chain
false
false
## Medium: BTC transactions can have multiple inputs and outputs ### Description **Severity** **Impact:** Medium **Likelihood:** Medium **Description** BTC txs can have multiple inputs and outputs and the relayer chooses the `reciever` and `onramp` contract based on the BTC transaction after users make the BTC tra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Precision loss in rOUSG share calculation allows subscriptions to exceed slippage tolerance ### Description In `subscribeRebasingOUSG()`, the minimum amount check is performed before several decimal conversions and share calculations, which can lead to precision loss. The actual rOUSG amount received may be le...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Underconstrained Assumptions for Oracle ### Description **Update** Acknowledged. The client's response: "The value chainlinkDeviation must be set to a reasonable small value. We acknowledged the issue and decided not to fix in the current version." **File(s) affected:**`LevelOracle.sol` **Description:** In`_...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Inconsistent use of imports in contracts ### Description The use of imports in contracts is not consistent throughout the codebase. There are missing explicit imports (*e.g.* missing imports for `Migratable` and `Ownable` in `Escrow.sol`, and for `MintableToken` in `RenderToken.sol`). Consider explicitly impor...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `withRegistry` modifier missing for `validateUserOp()` validator ### Description The `validateUserOp` function in the `Nexus` smart contract does not perform a `withRegistry` check on the validator module. This is inconsistent with the behavior for example of executor modules, which are validated via the `wit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Adversary can block the counterpart deployment of cross-chain DAOs ### Description The `deploySAFE()` function in `Deployer` attempts to create a Safe for the DAO via `SafeProxyFactory::createProxyWithNonce()`. It uses a `try/catch` pattern, but it will always revert if another Safe with the same `nonce` was ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Timestamp Update ### Description ## Reward Updating in Liquidity Farming Contract When adding or removing rewards in the liquidity farming contract, the `update_reward` function is called to adjust the reward per share based on the elapsed time (`time_diff`). However, these functions currently do n...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `fee1e9` can be set to a higher value than expected ### Description **Severity**: Low **Status**: Acknowledged **Description** The function `setFee()` in the `StableSwapPool.sol` and `XYKPool.sol` contracts checks the new fee to ensure that it is equal or lower than `0.1e9`: It can be seen that the `requ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: Mismatch Between `IMulticall3` Interface and Encoded Function ### Description **Update** Marked as "Fixed" by the client. The commit provided by the client (`fd495505f4de965461adc0a4ce66d674c7634e2d`) does not fully address the issue. However, the problem is correctly resolved in the final commit (`f36f3e8a1e0...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 caller verification in `uniswapV3SwapCallback()` ### Description The `uniswapV3SwapCallback()` function in the `IUniswapV3SwapCallback` interface, which is part of the Uniswap v3 protocol, is used to handle the results of a swap. However, the function in `UniswapV3Executor` does not include any caller ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rename `SecuritizeBridge::whChainId` to `whRefundChainId` ### Description **Description:** The only purpose of `SecuritizeBridge::whChainId` is to be the wormhole refund chain id; rename it to something like `whRefundChainId` which accurately describes its purpose. Also there are no functions to change this v...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing event for critical parameter change ### Description *There are 24 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
access-control
false
false
## Low: Exchanger cancellations can be front-run ### Description When a proposal is created in GrandaMento.sol, it can only be cancelled before it is approved by the approver role by calling the [`cancelExchangeProposal`](https://github.com/celo-org/celo-monorepo/blob/d06617c7f4e59f643a0a0120e5501bcf762f1a7d/packages/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
true
false
## Low: Duplicate function execution ### Description In the [`VotingV2`](https://github.com/UMAprotocol/protocol/blob/7938617bf79854811959eb605237edf6bdccbc90/packages/core/contracts/oracle/implementation/VotingV2.sol) contract the overloaded function [`commitAndEmitEncryptedVote`](https://github.com/UMAprotocol/proto...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: kickWithDeposit removes the deposit without HTP pool state check ### Description In order to cover kick bond KickerActions kickWithDeposit() removes the deposit from the pool, but misses the `new_LUP >= HTP` check, allowing for the invariant breaking state. ### Impact A range of outcomes becomes possible aft...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Shadow naming ### Description **Description** CryptoBearWathcClub.sol, walletOfOwner() Parameter “_owner” shadows storage variable. **Recommendation**: Consider renaming.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unbounded Reward Accrual After Period End Enables Reward Manipulation Attacks ### Description The current implementation of the `earned` function allows rewards to continue accruing even after the reward period has ended. This occurs because `getRewardPerToken()` is always even calculated when `lastTimeRewa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Chainlink’s latestRoundData May Return Stale Or Incorrect Result ### Description **Severity** - Medium **Status** - Acknowledged **Description** Chainlink's latestRoundData is used inside getLatestData at L373 to retrieve price feed data, however there is insufficient protection against price staleness. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Gator - Superfluous Permissions in Manifest ✓ Fixed ### Description The snap manifest declares the `snap_getEntropy` permission in its `initialPermissions` section, but analysis of the codebase reveals no usage of entropy generation functionality. The `snap_getEntropy` permission grants access to cryptograp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Protocol can't handle fee-on-transfer tokens ### Description The protocol will support stable tokens e.g.USDT, USDC. some of them are fee-on-transfer tokens. However, The `deposit()` function in the `OmoRouter.sol` contract, Transfers tokens from the user to the router and then will be deposited into the vaul...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
oracle
true
false
Source: https://github.com/sherlock-audit/2023-12-notional-update-5-judging/issues/36 ## Found by xiaoming90 ## Summary The use of spot data when discounting is subjected to manipulation. As a result, malicious users could receive more cash than expected during redemption by performing manipulation. Since this is a...
Sherlock
3.216496
Notional Update #5
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential Contract Configuration Mismatch ### Description Description Each Tracer will have a Pricing and Account contract. The Pricing contract is used to determine the funding rate and the Account contract maintains the token balances for the markets. The Account contact stores the address of the Pricing con...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: NatSpec is incomplete ### Description *There are 21 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
other
false
false
## Low: Duplicate code better be moved to shared library ✓ Fixed ### Description There are some functionalities that the code is duplicated between different smart contracts. ### Recommendation aforementioned functions were moved to a shared library `PartitionUtils.sol`, which also fixed the inconsistency in 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
medium
oracle
true
false
## Medium: Oracles are vulnerable to flash loan attack vectors ### Description Both of the oracles directly fetch the current price of LP tokens in the pool. However, this is not safe because price can be manipulated for a very short time-range by multiple attack vectors. One of the biggest threats is flashloan attack...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Ownership Can Be Renounced ### Description **Update** Marked as "Fixed" by the client. Addressed in: `eb4baeec5159d4a174c03f9f617a7ddb40a102ae`. The client provided the following explanation: > Remove ownership from EthenaMinting and StakedUSDe, and Access Control from USDe, such that each contract only uses ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insufficient input validation in `CrowdSale` configuration ### Description **Impact:** High, as it can lock up valuable tokens almost permanently **Likelihood:** Low, as it requires a fat-finger or a big configuration error **Description** There are two flaws in the configuration validation of a new `Cro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: Price Inside Operation Hash Can Delay Execution ### Description `TimelockSafeGuard.hashOperation` function includes `gasPrice` parameter, but wallets typically set an up-to-date gas price at execution. If the live value differs from the scheduled one, `TimelockSafeGuard.checkTransaction` computes a non-matchin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: Shared configuration parameters across different asset types in vault deployers leads to incorrect pricing and fee calculations ### Description **Description:** The `VaultDeployer` and `SecuritizeVaultDeployer` contracts maintain shared configuration parameters (`navProvider`, `feeManager`, `redemptionAddre...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
overflow
true
false
## Gas: Using unchecked blocks to save gas ### Description Solidity version 0.8+ comes with implicit overflow and underflow checks on unsigned integers. When an overflow or an underflow isn’t possible (as an example, when a comparison is made before the arithmetic operation), some gas can be saved by using an unchecke...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
false
false
## High: Gator - Currency Mismatch for Non-English Users ✓ Fixed ### Description A currency mismatch exists in the `TokenPricesService` implementation that causes non-English users to receive USD price data while displaying it with their local currency formatting. This can potentially create a financial misinformation...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Change public accessibility modifiers to external ### Description All functions with public accessibility modifiers can be improved with external accessibility modifiers.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users with deactivated passports can vote more than 1 time ### Description When a person loses their password, they will go to the authorities to get a new passport. The old one will get deactivated, and the new one will be used. However, the application does not check if the passport is invalidated, meaning ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
cross-chain
false
false
## Medium: Redis db connection issue - Relayer fund loss Severity: Medium ### Description **Description:** User A use fast bridge to get token on ETH Relayer executes the transaction on ETH but due to redis issue, the PENDING\_TRANSACTIONS entry could not be made in Redis This causes Relayer to be unaware about 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
medium
liquidation
true
false
## Medium: Some functions that call `Exchange.getMarkPrice` function do not check if `Exchange.getMarkPrice` function's returned `markPrice` is 0 ### Description The following `Exchange.getMarkPrice` function uses `pool.baseAssetPrice()`'s returned `baseAssetPrice`, which is `spotPrice` returned by `perpMarket.assetPr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Encrypt Data Storage ### Description ## Secure Data Storage Recommendations Currently, the app stores sensitive data in an unencrypted hive box in the local storage. Although the data is encrypted explicitly before being stored in the hive box, this method is not secure. It is recommended to use alternative 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...
solodit_api
medium
reentrancy
true
false
Source: https://github.com/sherlock-audit/2024-01-napier-judging/issues/96 ## Found by 0xVolodya, xiaoming90 ## Summary The `withdraw` function of Tranche/PT does not comply with ERC5095 as it does not return the exact amount of underlying assets requested by the users. ## Vulnerability Detail Per the contest's [...
Sherlock
5
Napier
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: Collateral parameters can be overwritten ### Description _Submitted by cmichel, also found by csanuragjain and gzeon_ It's possible to repeatedly add the first collateral token in `validCollateral` through the `Whitelist.addCollateral` function. The `validCollateral[0] != _collateral` check will return fal...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Miscellaneous General Statements ### Description This section describes general observations made by the testing team during this assessment. 1. Both the `remove()` function and `add()` function in the Roles library contain redundant require statements: - **Function `add()`:** - line [74] `require(account...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
reentrancy
true
true
## Lines of code https://github.com/code-423n4/2022-12-gogopool/blob/aec9928d8bdce8a5a4efe45f54c39d4fc7313731/contracts/contract/MinipoolManager.sol#L271-L283 https://github.com/code-423n4/2022-12-gogopool/blob/aec9928d8bdce8a5a4efe45f54c39d4fc7313731/contracts/contract/MinipoolManager.sol#L642-L665 ## Vulnerability...
Code4rena
5
GoGoPool
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Emit events in setPeer , setGasLimit and withdraw functions ### Description The `OmniXMultisender` contract includes two functions, `setPeers` and `setGasLimit`, which allow the factory contract to set the peer addresses and gas limits for specific destination endpoint IDs. These functions modify 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
low
other
true
false
## Low: Use native time units such as seconds, minutes, hours, days, weeks and years, rather than numbers of seconds ### Description 1. File: contracts/HolyPaladinToken.sol (lines [17-39](https://github.com/code-423n4/2022-03-paladin/blob/9c26ec8556298fb1dc3cf71f471aadad3a5c74a0/contracts/HolyPaladinToken.sol#L17-L39...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Removing a bAsset might leave some tokens stuck in the vault  Acknowledged ### Description In function `_removeBasset` there is existing validation to make sure only “empty” vaults are removed: **code/contracts/masset/BasketManager.sol:L464** ``` require(bAsset.vaultBalance == 0, "bAsset vault must be empt...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Mistakenly deposited tokens in Reservoir would get stuck ### Description The [`Reservoir` contract](https://github.com/notional-finance/contracts-v2/blob/c37c89c9729b830637558a09b6f22fc6a735da64/contracts/external/governance/Reservoir.sol#L14) allows the protocol to distribute a token at a fixed rate, predo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Fragile Deposit Limit ### Description The `L1ERC20Bridge` contract [prevents deposits over a configurable limit](https://github.com/matter-labs/zksync-2-contracts/blob/c44852f89f443bbe8120a7c6abcc6984b394eb29/ethereum/contracts/bridge/L1ERC20Bridge.sol#L178) for some tokens. This is achieved by [recording 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
token
false
false
## Medium: RPC starkNet_addErc20Token - Should Ask for User Confirmation ✓ Fixed ### Description The RPC method upserts ERC20 tokens received via RPC without asking the user for confirmation. This would allow a connected dapp to insert/change ERC20 token information anytime. This can even be more problematic when mult...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing option to remove tokens from the `isTokenSupport` mapping can result in huge financial loss for users and the protocol ### Description Because there is no option for the admin to remove a token from the `isTokenSupport` mapping, a depeg of a whitelisted token can lead to significant financial loss f...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: Redundant check in `_isApprovedOrOwner()` can be removed ### Description In `LensBaseERC721.sol`, the `_isApprovedOrOwner()` functions contains an if-statement that checks if `tokenId` exists (`_tokenData[tokenId].owner != 0`): [LensBaseERC721.sol#L333-L339](https://github.com/code-423n4/2023-07-lens/blob/mai...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Enforce ascending order for boxIds to implement more efficient duplicate prevention in `DropBox::claimDropBoxes` ### Description **Description:** Enforce ascending order for boxIds to implements more efficient duplicate prevention in `DropBox::claimDropBoxes`: **Mode:** Fixed in commit [756fc82](https://gith...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: UNUSED IMPORTS ### Description There are a few unused imports on the code base. These imports should be cleaned up from the code if they have no purpose. Clearing these imports will increase the readability of contracts. Code Location ------------- * [LiquidationStrategy.sol#L6](https://github.com/gammaswap/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Style Guide Optimizations ### Description The project codebase contains several stylistic inconsistencies and deviations from Solidity best practices, which, while not directly impacting functionality, reduce code readability, maintainability, and adherence to standard conventions. Addressing these inconsisten...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [02] Unnecessary write to history inside `_checkpoint()` of `VotingEscrow` when epoch is `0` ### Description Unnecessary saving `userOldPoint` to `userPointHistory[_addr][uEpoch + 1]` when `uEpoch` is `0`. ### Proof of Concept https://github.com/code-423n4/2024-03-neobase/blob/main/src/VotingEscrow.sol#L168-...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Medium: Incorrect Check in UniswapFlashswapDirectMintHandler ### Description The check against [`maxResultingDebt`](https://github.com/Ion-Protocol/ion-protocol/blob/5333fe3c49d8de302e93f097a836e5c1b5090f2d/src/flash/handlers/base/UniswapFlashswapDirectMintHandler.sol#L123-L125) in the [`UniswapFlashswapDirectMintH...
0