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: [10] No function to get already set name ### Description ### Finding description and impact Contract allows setting pool names, but there is no equivalent function to get them. Integrators may not be able to query the name of a pool if needed. ### Recommended mitigation steps Add a function to return pool ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insufficient Means for Handling stETH Rebasing ### Description **Update** At the moment, shares and balance are equivalent. That is to say, shares are not currently being recorded. Marked as "Acknowledged" by the client. The client provided the following explanation: > EToken will maintain the same rebasing...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: initEXManager() might be front ran to disrupt deployment ### Description `HIP3StakingManager` is extending `StakingManager` and is meant to be used as an upgradeable contract under a proxy. In the current version of the code, there are no deployment scripts, but we were able to find the following function 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
overflow
true
false
## Low: Unsafe casting of bridge amount from uint256 touint128 ### Description ## Vulnerability Report **Severity:** Low Risk **Context:** MakerTeleportFacet.sol#L118 **Description:** The issue with the code is that it performs an unsafe cast from a `uint256` value to a `uint128` value in the call to `initiate...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: optimization for marketmaker callbacks ### Description The issue is identified within the [HanjiLOB](https://github.com/longgammalabs/hanji-contracts/blob/70b15ec4d9e7578248141604503843716a67d875/src/HanjiLOB.sol#L122) contract. The storage variables `marketmaker` and `should_invoke_on_trade` are frequently 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
other
true
false
## Low: Gauge still can be used after killing it ### Description CLGauge always checks is it whether killed or not. But this is not the case for gauge. Users still can use gauge. Consider implementing the same logic inside of the gauge.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [ACKNOWLEDGED] High slippage in `CrvUsdApsConvexCurveStratBase`, `FraxApsConvexCurveStratBase` ### Description The functions `inflate` and `deflate` in the contracts `CrvUsdApsConvexCurveStratBase` and `FraxApsConvexCurveStratBase` use the `minDeflateAmount` parameter, which limits slippage and is valued in US...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
true
false
## High: Lack of an implementation for withdrawing beneficiaries balance ### Description **Severity**: Critical **Status**: Resolved **Location**: BandoFulfillmentManagerV1.sol **Description** The beneficiaryWithdraw() function in both BandoERC20FulfillableV1 and BandoFulfillableV1 contracts are only designed to b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Lack of match identification between response functions caller and recovered address ### Description The `zrKeyRes()` and `zrSignRes()` functions, which can be called by any address, utilize the `_mustValidateAuthSignature()` function for validating data signatures. Currently, `_mustValidateAuthSignature()` do...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: _removeSignatory() can silently fail ### Description The `_removeSignatory()` function has the following implementation: ```solidity function _removeSignatory(address controller, address signatory) internal { bytes32 signatoryKey = keccak256(abi.encodePacked(controller, signatory)); delete signatories[sig...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use of deprecated Chainlink function `latestAnswer` ### Description _Submitted by shw_ According to Chainlink's documentation ([Deprecated API Reference](https://docs.chain.link/docs/deprecated-aggregatorinterface-api-reference/), [Migration Instructions](https://docs.chain.link/docs/migrating-to-flux-aggr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Excessive flexibility of LRTConfig ### Description In addition to the ability to update contracts and change configuration addresses "on the fly" by calling setters in the LRTConfig contract, there are mappings, such as tokenMap and contractMap, containing token and contract addresses obtained from hashes decl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unbounded weight scale factor causes precision loss in stake conversion, potentially leading to loss of operator funds ### Description **Description:** The `AvalancheL1Middleware` uses a `WEIGHT_SCALE_FACTOR` to convert between 256-bit stake amounts and 64-bit validator weights for the P-Chain. However, there ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
signature
true
false
## High: Vaults don't verify that a strategy's deadline has passed ### Description The vault doesn't verify that a deadline hasn't passed when a commitment is validated. Users are able to take out loans using strategies that have already expired. Depending on the nature of the strategy that can cause a loss of funds 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...
solodit_api
high
oracle
true
true
The span of the game tree at split depth is far larger than the length between the starting block and the claimed block. When `starting block + trace index + 1 > claimed block`, honest party should continue to commit to the root of the claimed block. However, the `DISPUTED_L2_BLOCK_NUMBER` passed to the VM is always `...
Code4rena
5
Optimism
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Chainlink Decimals Assumption ### Description **Update** Fixed in: `87b3ef1c4125f0313f68ef9173573c2375a2090f`. The client provided the following explanation: > _A check was added._ **File(s) affected:**`PriceRouter.sol` **Description:** Although most of the Chainlink price feeds return prices with 18 decim...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: It is possible to vote during the objection time if the proposal was rejected ### Description At line https://github.com/lidofinance/aragon-apps/blob/7e5cd1961697a1bc514bfebdeab08a296e51d700/apps/voting/contracts/Voting.sol#L192 during the objection time, the `vote()` function checks if the vote is `no`, if...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Adversary can economically exploit wstETHLiquidityVault ### Description Adversary can profit off of the single sided liquidity vault by depositing, buying OHM, withdrawing then dumping the profited OHM. This attack remains profitable regardless of the value of `THRESHOLD`. ### Impact Vault can be exploited 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
true
false
## Gas: Use Custom Errors instead of Revert Strings to save Gas ### Description Custom errors from Solidity 0.8.4 are cheaper than revert strings (cheaper deployment cost and runtime cost when the revert condition is met). Custom errors save \~50 gas each time they’re hit by avoiding having to allocate and store the r...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Inconsistent Voting Power Calculation Due to Late Multiplier Change ### Description The vote function in `AllocationVoting` calculates a user's voting power using the `rewardWeight-ForUnwindingEpochs` function from `LockingController`. However, the `setBucketMultiplier` function in `LockingController` allows t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Inconsistent pause functionality allows certain state-changing operations when contract is paused ### Description **Description:** The `CryptoartNFT` contract implements a pause mechanism using OpenZeppelin's `PausableUpgradeable` contract. However, the pause functionality is inconsistently applied across the ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
true
false
## Low: Unused library and struct definitions increase deployment costs and reduce code clarity ### Description **Description:** The `CCTPMessageLib` library and `CCTPMessage` struct are defined but never used throughout the CCTP integration contracts. In `WormholeCCTPUpgradeable.sol`, the library defines a `CCTPMessa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Risks of modifying `randomAllocationPool` during a transaction ### Description _Resolved_ The `setCardAllocationPool` function in the Packet contract allows the `SUPER_ADMIN_ROLE` to change the `randomAllocationPool` address at any time. This mid-transaction modification can lead to significant issues: - Fi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
liquidation
true
true
## Lines of code https://github.com/code-423n4/2022-12-tigris/blob/496e1974ee3838be8759e7b4096dbee1b8795593/contracts/Trading.sol#L513-L517 ## Vulnerability details The `PairsContract` registeres the total long/short position that's open for a pair of assets, whenever a new position is created the total grows acco...
Code4rena
4
Tigris Trade
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Re-staking Mechanism Can Lead to Contract Insolvency ### Description In the `DiscreteStakingRewards` contract, the staking rewards are paid in `BERA` (native has a token on [Berachain](https://docs.berachain.com/learn) while the locked staking tokens are `YEET`. However, the current re-staking mechanism all...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
token
true
false
## Low: `NativeTokenStreamingEnforcer` and `ERC20TokenStreamingEnforcer` gas optimizations ### Description 1. Cache the amount spent to avoid multiple storage reads: ```diff function _validateAndConsumeAllowance( bytes calldata _terms, bytes calldata _executionCallData, bytes32 _delegationH...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Code Maturity ### Description ## Improvement Suggestions for SetVault and SetToken Instructions ## 1. Update SetVault Instruction Error Handling Within the `SetVault` instruction, when the signer is not the admin, the `VaultError::InvalidVaultOwner` error is utilized instead of `OAppError::Unauthorized` when...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [07] ### Description In `changeOrder`, it is not checked if the task actually exists. While changing the cost for a non-existing task is not possible (because of the `getAlerts` check), the owner can be set: First, the task will be unapproved, setting the status to inactive. Then, the subcontractor is invited,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: WRONG REQUIRE STATEMENTS IN GAMEGLOBALS CONTRACT ### Description The `GameGlobals` contract allows setting global variables that can be used by any other system/contract. This contract takes an ID and sets a value, that can be a boolean, string, uint, int or arrays of those types. Although as the following fu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Low: Duplicated storage-slot computation can silently introduce errors ### Description Many parts of the Rocket Pool codebase that access its eternal storage compute storage locations inline, which means that these computations are duplicated throughout the codebase. Many string constants appear in the codebase sev...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rounding directions ### Description ## Severity: Medium Risk ## Context - `GenericLogic.sol#L236-L242` - `MiniPoolGenericLogic.sol#L202-L209` ## Description/Recommendation - **GenericLogic.sol#L236-L242**, **MiniPoolGenericLogic.sol#L202-L209**: Make sure all operations round-up when calculating `totalDeb...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: limited ETH transfers can lead to a denial of service ### Description ETH transfers are executed by using the `transfer()` function which is gas bound and can potentially lead to an accidental denial of service. The ParticleExchange contract needs to execute ETH transfers in several places across its codebase...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: gOhm stuck forever if call claimDefaulted on Cooler directly ### Description Source: https://github.com/sherlock-audit/2023-08-cooler-judging/issues/46 ## Found by castle\_chain, detectiveking, evilakela, jkoppel Anyone can call Cooler.claimDefaulted. If this is done for a loan owned by the Clearinghous...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incomplete Function Bodies ### Description Due to the upgradable nature of some contracts and the fact that Swell Network relies on the ETH Beacon chain staking contract, there are several functions and areas of code that are incomplete. As a result, a full analysis of the protocol could not be completed as 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
signature
false
false
## Medium: Use of CREATE method is suspicious of reorg attack ### Description When a campaign initiator wants to create a linear or tranched airstream, he calls `SablierV2MerkleLockupFactory::createMerkleLL`, `SablierV2MerkleLockupFactory::createMerkleLT`, however these functions use the CREATE method (can be seen 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
medium
front-running
false
false
## Medium: `NonUSTStrategy.sol` Improper handling of swap fees allows attacker to steal funds from other users ### Description _Submitted by WatchPug_ `NonUSTStrategy` will swap the deposited non-UST assets into UST before depositing to EthAnchor. However, the swap fee is not attributed to the depositor correctly li...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent role checking between `schedule` and `scheduleSimple` functions ### Description There is an inconsistency in role checking between the `TimelockSafeGuard.schedule` and `TimelockSafeGuard.scheduleSimple` functions. While `schedule` uses `TimelockSafeGuard._checkRoleOrOpenRole`, which allows anyone ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `VaultRouter.getGlobalPnl()` May Unnecessarily Revert Due to Over-/Underflow ### Description **Update** The Blex team has acknowledged the issue and indicated that underflows and overflows should not occur. **File(s) affected:**`./contracts/vault/VaultRouter.sol` **Description:** Function `VaultRouter.getGlo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
input-validation
true
false
## Low: Missing Liquidity Vault Balance Validation ### Description In `withdraw_liquidity_handler`, liquidity tokens are transferred from `liquidity_token_vault` to the withdrawer’s associated token account. While the instruction checks that the withdrawal amount is greater than zero and that the system is not paused,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Reduce amount of code duplication ### Description Contracts: - https://github.com/convex-eth/platform/blob/754d9e700693246275b613e895b4044b63ce9ed5/contracts/contracts/BaseRewardPool.sol - https://github.com/convex-eth/platform/blob/754d9e700693246275b613e895b4044b63ce9ed5/contracts/contracts/ManagedRewardPo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: State variables can be cached instead of re-reading them from storage ### Description https://github.com/code-423n4/2023-05-venus/blob/main/contracts/RiskFund/ReserveHelpers.sol#L60-L66 *There are 40 instances of this issue.*
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: `require()`/`revert()` strings longer than 32 bytes cost extra gas ### Description Each extra memory word of bytes past the original 32 [incurs an MSTORE](https://gist.github.com/hrkrshnn/ee8fabd532058307229d65dcd5836ddc#consider-having-short-revert-strings) which costs **3 gas** *There are 4 instances of thi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
reentrancy
true
false
## High: Reentrancy Vulnerability Allows Draining All Funds ### Description A reentrancy vulnerability in the function `stakeToken()` allows an attacker to drain the funds of any ERC20 token deposited in the contract. In `stakeToken()` on line [180], `msg.sender`’s liquidity is updated in the state variable `userStak...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [L‑03] Open TODOs ### Description Code architecture, incentives, and error handling/reporting questions/issues should be resolved before deployment *There is 1 instance of this issue:*
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: No Checks For Pending Withdrawal Addresses ### Description When setting a new withdrawal address, there are no checks to see if there are any pending withdrawal addresses in the queue. This could result in the address that was just set being overwritten if there are any old `pendingWithdrawalAddresses` that ar...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing security-related HTTP headers in the Acala-dapp application ### Description The responses from the Acala-dapp website are missing the following security-related HTTP headers: - **Content-Security-Policy:** The lack of this header could allow for an attacker to exploit XSS vulnerabilities that a CSP mi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Bridging Due to Address Collision & Inconsistent State of Native Tokens ✓ Fixed ### Description **In the second round of the audit**, we discovered an edge case that may exist because of an address collision of native tokens. In the first round, we found [issue 4.3](#bridges-dont-support-multiple-...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Timelock Operations Without Expiry ### Description Timelock operations don't have an expiration time, allowing them to be executed indefinitely after the timelock period: ``` struct TimelockOperation { bytes32 operationId; // Unique identifier for the operation uint256 executeTime; // When the operati...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: IGNORED RETURN VALUES ### Description The `transferFrom` and `transfer` functions are declared to return a boolean return variable after successful transfers. However, it does not return any variables during calls to the `WLSETH.mint()` and `WLSETH.burn()` functions. It is important to validate these return va...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: (HAL-07) VERBOSE ERROR MESSAGES ### Description Improper handling of errors can introduce a variety of security problems for software. The most common problem is when detailed internal error messages such as stack traces, database dumps, and error codes are displayed to the user. These messages reveal impleme...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: AWS Systems Management sessions are not logged ### Description The sessiond creates via SSM are not being logged. It's recommended to keep an audit log of these sessions. ### Recommendation Configure a S3 bucket or CloudWatch log group to log the sessions. The use of encryption for S3 or CloudWatch using AWS ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: name(), symbol() and tokenURI() are optional functions, per the ERC-721 standard ### Description Per EIP-721, the methods `name()`, `symbol()`, and `tokenURI()` are optional extension functions. As such, some valid ERC-721 tokens do not support this interface and are incompatible with the Sweep n' Flip protoco...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Stack variable used as a cheaper cache for a state variable is only used once ### Description If the variable is only accessed once, it's cheaper to use the state variable directly that one time, and save the **3 gas** the extra stack assignment would spend. *There is 1 instance of this issue:* https://githu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Pool weight calculation in computepoolweights /computepoolweight return wrong answer be- cause wrong gettotalunderlying usage ### Description The function `currentPool.getTotalUnderlying()` currently provides the count of underlying Balancer pools. However, it is essential to return the total USD values of th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: `contributionGuard()` Does Not Handle Fee on Transfer Tokens ### Description **Update** The Fabric team fixed the issue in commit `42a8805` by ensuring all the checks are on the actual amount transferred. **Description:** There are several checks in the `contributionGuard()` function to ensure contributions 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
false
false
## Low: `_dispatch()` should ignore the command when `_resolveTokenValue()` returns 0 ### Description Some ERC20 tokens or vaults or pools don't allow for 0 amount interaction. Function `_dispatch()` performs commands and it's called by `execute()` function. The issue is that `execute()` may have multiple commands 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
medium
flash-loan
true
false
## Medium: Flashloan fee is not distributed to the factory ### Description When user takes a flashloan, then [he pays a fee](https://github.com/code-423n4/2023-04-caviar/blob/main/src/PrivatePool.sol#L651) to the PrivatePool. The problem is that the whole fee amount is sent to PrivatePool and factory receives nothing....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Custom Error Params ### Description Consider emitting the current owner in [`AddressRegistry.NFTNotOwnedByUser`](https://github.com/code-423n4/2023-01-canto-identity/blob/dff8e74c54471f5f3b84c217848234d474477d82/src/AddressRegistry.sol#L46). `msg.sender` is included but that may already be clear from context. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Liquidity Penalty Can Be Circumvented Using Secondary Accounts ### Description The `LiquidityPenaltyHook` [contract](https://github.com/OpenZeppelin/uniswap-hooks/blob/087974776fb7285ec844ca090eab860bd8430a11/src/general/LiquidityPenaltyHook.sol) is designed to penalize JIT liquidity provision by donating fee...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Medium: Cross-Chain and KYCed users will only pay a portion of the fees ### Description The factory contract calculates fees for cross-chain DAOs and KYC users as follows: ```solidity function checkDepositFeesSent(address _daoAddress, uint256 _totalAmount) internal { if (ccDetails[_daoAddress].depositChainIds....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use named return variables where this optimizes away a local variable definition ### Description **Description:** Use named return variables where this optimizes away a local variable definition, then also remove the final obsolete `return` statement: * `StandardToken::balanceOf`, `totalSupply` * `DSToken::tot...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: MISSING RE-ENTRANCY PROTECTION ### Description One of the contracts included in the scope of `Playground Labs Kapital-DAO` was identified as missing a nonReentrant guard. In this function, persistent state read/write after an external call is identified, making it vulnerable to a Reentrancy attack. * The `Sta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Yearn vault integration is broken ### Description _Submitted by bardamu_ ### Impact Yearn integration is broken, making it impossible to create a `MarketPlace` associated with a Yearn vault. ### Proof of Concept `Compounding.sol` attempts to resolve the `underlying` token implemented by supported 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
medium
rounding
false
false
## Medium: First depositor attack is possible ### Description **Severity** **Impact:** High **Likelihood:** Low **Description** It is a classic attack with the following flow: 1. The user is the first to interact with the vault, he sends a deposit transaction. 2. Attacker frontruns user's tx by performing 2 actio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent Naming Convention In ProtectionLibV1 For Value Units ### Description The ProtectionLibV1 library incorrectly uses `InBase` in variable names and function parameters, even though the values should represent collateral decimals. This mismatch in naming convention can cause confusion in the future ma...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Add `deadline` parameter for mint and burn requests in `RequestsManager` ### Description **Description:** `RequestsManager::requestMint` and `requestBurn` allow callers to specify the minimum output amount but don't allow callers to specify a deadline for the request to be completed. Minimum output amounts 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...
cyfrin_structured
low
access-control
true
false
## Low: Incorrect/misleading comments ### Description Comments that do not accurately reflect the code's functionality can lead to misinterpretation during development, code review, and future maintenance. ```solidity ISecuritizeNavProvider.sol 20: /** 21: * @title ISecuritizeNavProvider 22: * @dev Defines a common...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 validator penalties enables risk-free economic censorship and liveness attacks ### Description Following is the current economic security / consensus safety model: - Genesis validator set is picked by social trust. - There is a cap on total number of active validators participating in consensus at ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect request type in oracle currency pairs query whitelist breaks price discovery ### Description In `keepers.go`, the `GetAllCurrencyPairs` query endpoint is misconfigured with an incorrect request type: The root cause is that the request type is incorrectly set to `GetAllCurrencyPairsResponse` when ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Contract will stop functioning in the year 2106 ### Description Limiting the timestamp to fit in a `uint32` will cause the call below to start reverting in 2106. *There is 1 instance of this issue:* https://github.com/code-423n4/2022-12-gogopool/blob/aec9928d8bdce8a5a4efe45f54c39d4fc7313731/contracts/contra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
false
false
## Low: Confusing Variable Naming in the Codebase ### Description **Update** The client provided the following explanation: > Decided to accept the risk without engaging in special efforts to control it **Description:** There are various instances of variable and function naming that can lead to confusion. Here is a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: Vault initialize function does not validate ERC20 decimals Difficulty: High ### Description The function to initialize a vault uses the `decimals` function from the ERC20 interface. A vault needs to be initialized with a proper precision factor, which depends directly on the number of decimals a token reports. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Preimage proposals can be initialized multiple times ### Description `initLPP()` doesn't check if a proposal already exists, allowing multiple initialisations with the same `_uuid`. Since the `proposalBonds` is assigned to `msg.value` instead of incremented, this would result in loss of funds. ### Recommendat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Key Stored Alongside Encrypted Data ### Description **Update** Marked as "Fixed" by the client. Addressed in: `73d85137b276b4f46e6fd7b4541a4c1449a2946b` Additional fix in: `04643e78d9061539d4e3dc6fc33d53d71eee4780` The client provided the following explanation: > Use `react-native-keychain` for storing enc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The `fetchRewards` function in `CurveDepositToken` and `ConvexDepositToken` causes a loss of accrued rewards ### Description **Description:** The `fetchRewards` function in `CurveDepositToken` and `ConvexDepositToken` [fails](https://github.com/Bima-Labs/bima-v1-core/blob/09461f0d22556e810295b12a6d7bc5c0efec4...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: State changes are overwritten during anchor serialization when two accounts are the same ### Description The swap operation takes in 3 pool accounts: 1. woopool_from 2. woopool_to 3. woopool_quote Case 1: In Base-to-Quote Swap, woopool_from is base token pool. woopool_to, woopool_quote will be the quote t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Use of a general staleness time is not advisable ### Description Staleness is checked while minting by ensuring that the last update time is not more than a day. However, not all tokens have a 1-day stale period. Some are as short as one hour. The implementation will allow stale prices to be accepted for these...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 ACK during owner change ### Description It's possible to lose the ownership under specific circumstances. Because of human error it's possible to set a new invalid owner. When you want to change the owner's address it's better to propose a new owner, and then accept this ownership with the new wallet....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
access-control
false
false
## Low: Inability for users to permissionlessly stake and earn yield ### Description The intention of the protocol as specified in the kick-off call and in discussion with the client is that users should be able to permissionlessly: * buy hBTC from a decentralized exchange * stake/unstake hBTC in a permissionless mann...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: mTOFT's fees cannot be paid on native wrapping ### Description mTOFT tries to pay the fees twice on native wrapping, so these operations will fail unless some extra donation is made. ### Impact Wrapping of the native tokens into mTOFT is a base function of the protocol. Core contract functionality unavaila...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
true
false
## Medium: In `ReaperVaultV2`, we should update `lockedProfit` and `lastReport` before changing `lockedProfitDegradation` ### Description The locked profit degradation for the past will be changed with the new `lockedProfitDegradation`. As a result, malicious users can steal others' rewards by frontrunning. ### Proo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: AML requirement checks skipped if no AML attribute for user ### Description The `_isExpired` function returns false when `attribute.epoch == 0`, which happens when the attribute is missing and was not set by any Quadrata issuer. ```solidity /// Checks if an attribute is expired. function _isExpired( IQuadP...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ] For functions, follow Solidity standard naming conventions ### Description The above codes don't follow Solidity's standard naming convention, internal and private functions : the mixedCase format starting with an underscore (_mixedCase starting with an underscore) public and external functions : only mixe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potentially wrong-sized access control list ### Description This warning is about access list array being returned of a potentially wrong length in here: https://github.com/bondappetit/bondappetit-protocol/tree/88680691fe8d872c5fc26e9500d19cf7caaa9861/contracts/utils/AccessControl.sol#L44. It seems the act...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of a restriction on the recoverERC20() function in the pause status ### Description **Severity** - Low **Status** - Resolved **Description** Regarding the documentation, the recoverERC20() function is not supposed to be called while paused. However, the function is missing a whenNotPaused modifier 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
true
false
## Low: Hardcoded address for entry point ### Description The entry point address is hardcoded in the `DynamicAccountFactory.sol` contract. This `ENTRYPOINT_ADDRESS` address has nothing in it on the **hyper EVM** chain.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Medium: Assets with more than 18 decimals are incorrectly handled in UniswapAdaptor ### Description **Severity** **Impact:** High **Likelihood:** Low **Description** Function `_getUniswapPrice()` is supposed to handle cases when the quote token has more than 18 decimals by downscaling the price. However, it wil...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Functions in StableToken do not emit Transfer event ### Description Both [`debitFrom`](https://github.com/celo-org/celo-monorepo/blob/7be22605e172ca536c028e408b147aab83202e4a/packages/protocol/contracts/stability/StableToken.sol#L460) and [`creditTo`](https://github.com/celo-org/celo-monorepo/blob/7be22605e...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Structs can be packed into fewer storage slots ### Description ### Saves `6000 GAS`, `3 SLOT` Each slot saved can avoid an extra Gsset (20000 gas) for the first setting of the struct. Subsequent reads as well as writes have smaller gas savings. ### `expiry` can be uint96 instead of `uint256` : Saves `2000 ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Need to check the remaining tokens ### Description There is the `_transferRem` method in the contract. But in some cases, there are no checks: - https://github.com/CoverProtocol/cover-peripheral/tree/d5b37e34d47abec3252cdabd46e55e34a72421d4/contracts/CoverRouter.sol#L45 (`addCoverAndAddLiquidity`) - https:/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
true
false
## Low: Typo in comment within `LibSilo::_mow`
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Probably missed input check ### Description In `transferETH` function of `Budget.sol` contract defined at https://github.com/bondappetit/bondappetit-protocol/blob/355180f0aca0b29d60d808f761052956b7a3a159/contracts/Budget.sol#L61 contract sends ETH to `recipient` passed via arguments, however it seems `recipien...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insufficient Validation ### Description Some functions lack complete validation for input parameters, specifically for address-type parameters. Here is a detailed explanation of these functions: - The `initialize()` and `deployEnigmaPool()` functions lack validation for the `_operator` parameter. - The `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...
skyward_49k
medium
access-control
false
false
## Medium: payout doesn't fix `isForeclosed` state ### Description _Submitted by [gpersoon](https://twitter.com/gpersoon)_ The function payout of `RCTreasury.sol` doesn't undo the `isForeclosed` state of a user. This would be possible because with a payout a user will receive funds so he can lose his `isForeclosed` s...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unchecked return value ### Description **Severity**: Low **Status**: Resolved **Description** In contract VariableBorrow.sol - return value of _updateInterest is not checked in almost all its occurrences. **Recommendation**: Wrap the result of the call in a require statement or handle return according 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
storage
true
false
## Low: DeployUsdxlUtils: `_deployGsm()` should use `usdxlToken`'s proxy address instead of implementation ### Description `DeployUsdxlUtils`: The `_deployGsm()` function should use proxy address (`_getUsdxlToken()`) instead of its implementation when deploying new Gsm: Recommendations: Use `_getUsdxlToken()` inste...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: is not supported by all chains ### Description The compiler for Solidity 0.8.20 switches the default target EVM version to Shanghai, which means that the generated bytecode will include PUSH0 opcodes. Be sure to select the appropriate EVM version in case you intend to deploy on a chain other than mainnet like ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
false
false
## Low: Gwei amount truncation in ConvertAmount() ### Description If the value passed to `ConvertAmount` represents an integer that cannot be represented as a `uint64` (i.e., `= 2^64`), then it will be truncated without raising an error. ### Recommendation ```diff diff --git a/mod/cli/pkg/utils/parser/validator.go b/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Unnecessary Condition Inversion ### Description In the `LibCryptoLegacy._checkDistributionReady` [function](https://github.com/CryptoCust/cryptolegacy-contracts/blob/e409929501d5b78941bc78411f1fa3da36249a94/contracts/libraries/LibCryptoLegacy.sol#L147-L152), the condition is logically equivalent to the negatio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Mapping and internal function never used ### Description The `userYield` mapping and the `updateUserYield` function are never used as they are internal functions. ### Recommendation Consider whether they were introduced for any feature. If not, delete the related code.
0