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
medium
token
false
false
## Medium: Scoop ERC20 tokens from basket contract ### Description ## Handle gpersoon ## Vulnerability details ## Impact Suppose some unrelated ERC20 tokens end up in the basket contract (via an airdrop, a user mistake etc) Then anyone can do a bondForRebalance() and settleAuction() to scoop these tokens. The 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
overflow
false
false
## Low: Overflow During Token Conversion May Lead to Locked Funds ### Description **Update** The Blex team has acknowledged the issue and will use caution when integrating tokens into the protocol. **File(s) affected:**`./contracts/utils/TransferHelper.sol` **Description:** Function `TransferHelper.formatCollateral(...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Super pool uses `ERC20.approve` instead of safe approvals, causing it to always revert on some ERC20s ### Description Super pools that get created on a specific asset then leverage its positions and deposit them in the "main" pools. Super pools get created in `SuperPoolFactory::deploySuperPool`, where some ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Avoid utilizing inside knowledge of functions ### Description ETH-based swap functions use `isRouter == false` and `routerCaller == address(0)` as parameters to `swapTokenForAnyNFTs()` and `swapTokenForSpecificNFTs()`. These parameters end up in `_validateTokenInput()`. The LSSVMPairETH version of this functio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `mintWithPermit` provides the wrong amount to the `usrPermit.permit` ### Description `WstUSR` allows users to mint wstUSR directly from the contract by providing the required USR amount. If a user wants to mint using permit, they can utilize the `mintWithPermit` function. ```solidity function mintWithPer...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Absence Of Oracle Account Validation ### Description ## Randomness Commit Implementation Overview In the current implementation, `RandomnessCommit` instruction takes an oracle account as a parameter and also references an oracle key stored in the randomness account. However, there is no explicit check to e...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
token
true
true
<https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Lottery.sol#L151> <https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/staking/Staking.sol#L48> ### Impact Blocking rewards assigned to stakes from the sale of lottery tickets ...
Code4rena
5
Wenwin
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: compliance ### Description ERC20 specifies `decimals` to be a value of type `uint8`. It is [declared](https://github.com/MercuryProtocol/global-messaging-token-contracts/blob/d0765cbd0732453832455dae0e2cf892da1ab572/contracts/Tokens/GMToken.sol#L18) as a `uint256` variable in `GMToken`. Consider changing it to...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [03] Protocol unconsciously limits the amount of token manager types it can have to a small value which could be problematic when Axelar heavily scales ### Description First from the [readMe](https://github.com/code-423n4/2024-08-axelar-network/blob/69c4f2c3fcefb1b8eb2129af9c3685a44ae5b6fe/README.md#L128-L134)...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: In `StrategyPassiveManagerUniswap` public functions should cache common inputs then pass them as parameters to private functions ### Description `StrategyPassiveManagerUniswap` has many private functions which read the same values from storage multiple times without changing them. Since reading from storage 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
initialization
true
false
## Medium: Helper function used in archiving returns new blocks and keeps old blocks in the ledger state ### Description The ledger canister API’s `archive_blocks` function is used to archive blocks older than a given age. The age is passed to the helper function `split_off_older_than`, which should prune blocks older...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
true
## Low: Existing Chainlink stakers can skip queue by bypassing migration requirements ### Description The purpose of `LINKMigrator` is that users can migrate their existing position from the Chainlink community pool to stake.link vaults, even when the community pool is at full utilization, since vacating a position fr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Updating the maxFundingVelocity should update the funding rate as well ### Description [`maxFundingVelocity`](https://github.com/Cyfrin/2024-07-zaros/blob/main/src/perpetuals/branches/GlobalConfigurationBranch.sol#L532) of a market can be freely updated by the admins, but the problem is that since funding rate...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: unstakedFee may be paid for Pools with a killed gauge or that will never receive any votes ### Description ## Severity: Low Risk **Context:** CLPool.sol#L923-L924 **Description:** All pool fees apply the `splitFees` formula which uses `applyUnstakedFees`, which will query for the `unstakedFee` (see CLPool.so...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Initializing `totalClaimAmount` with a value different than zero ### Description The `totalClaimAmount` value in the `Claim` contract is supposed to keep internal accounting information. However, it may be set to a non-zero value when on initialization as there is no check to prevent the admin from doing so. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: `LiquoriceSettlement.settle()` does not check for upper bound when using SolverData ### Description When a trader has a non-zero allowance to the BalanceManager contract, the Solver can set **SolverData.curFillAmount** to a value greater than **quoteTokenData.toTrader**. As a result, the trader will spend m...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
signature
true
true
<https://github.com/code-423n4/2025-10-sequence/blob/b0e5fb15bf6735ec9aaba02f5eca28a7882d815d/src/modules/Calls.sol# L36-L48> <https://github.com/code-423n4/2025-10-sequence/blob/b0e5fb15bf6735ec9aaba02f5eca28a7882d815d/src/modules/Calls.sol# L61-L123> <https://github.com/code-423n4/2025-10-sequence/blob/b0e5fb15bf...
Code4rena
5
Sequence
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Anyone can call `AlgebraEternalFarming.addRewards()` ### Description `AlgebraEternalFarming.addRewards()` can be called by any address: https://github.com/cryptoalgebra/Algebra/blob/7290fad656bfa89db3743c52af631154f6a8a2d5/src/tokenomics/contracts/farmings/AlgebraEternalFarming.sol#L186. So, anyone can manipul...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Reentrancy
true
true
## Lines of code https://github.com/code-423n4/2022-11-stakehouse/blob/4b6828e9c807f2f7c569e6d721ca1289f7cf7112/contracts/liquid-staking/SyndicateRewardsProcessor.sol#L51-L73 https://github.com/code-423n4/2022-11-stakehouse/blob/4b6828e9c807f2f7c569e6d721ca1289f7cf7112/contracts/liquid-staking/GiantMevAndFeesPool.sol#...
Code4rena
5
Stakehouse Protocol
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Yield Amount Not Reset in `withdrawPrincipal` Function ### Description This issue has been identified in the `withdrawPrincipal` function of the `Prestaking` contract. While the principal balance is correctly set to zero after the withdrawal, the `yieldAmount` remains unchanged. If the `yieldAmount` is not ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Lack of string validation during UI operations ### Description While some basic validation is performed before copying strings into the UI, in many cases arbitrary strings can be displayed. For instance, in the code below, an address loaded from the address book is lightly validated to ensure it starts with...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
reentrancy
false
false
## High: `withdrawETH()` in GiantPoolBase don't call `_distributeETHRewardsToUserForToken()` or `_onWithdraw()` which would make users to lose their remaining rewards ### Description Function `_distributeETHRewardsToUserForToken()` is used to distribute remaining reward of user and it's called in `_onWithdraw()` of `G...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Lack of Input Validation ### Description The [`EscrowedEXA`](https://github.com/exactly/protocol/blob/1dfca200ff82a964ed34b7429656a05b013dfb5d/contracts/periphery/EscrowedEXA.sol) contract implements two administrative functions that miss input validation: * The [`setVestingPeriod`](https://github.com/exactl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Centralization issues in `ParibusOracleDelegate` ### Description **Severity**: Medium **Status**: Acknowledged **Description** The `_setCollectionWhitelisted()` function can be used by an owner to add or remove an NFT collection from whitelist anytime. This can lead to a malicious admin unfairly removing...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The Whitelist contract is not controlled by the election commission ### Description **Difficulty:** Low The election commission can set the pointer to the Whitelist contracts in SimpleShares, but does not control the contracts themselves. The election commission votes on proposals to control the whitelists wi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
storage
false
false
## Medium: Security of ‘SignalService’ Network Is No Higher Than Its Weakest Node - Phase 2 ### Description The `SignalService` contract handles cross-chain communications. Sending a cross-chain message sets a [storage slot](https://github.com/taikoxyz/taiko-mono/blob/b47fc34cb0e7fe9b7ebd9416b3051a067483b860/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
other
false
false
## Low: Updater misconfigured to check for a non-running container ### Description The current running version is obtained by checking the status of a container named `rocketpool_node`, but such a container would likely not exist. The name being checked should be renamed to ensure the updater works as expected. ### 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
high
cross-chain
true
false
## High: LOF Due to Incorrect Tracking of Received Ether ### Description ## LaunchBridge Claim Process In **LaunchBridge**, when `claim` is called, it triggers a process to claim Ether that was unstaked and withdrawn from Lido. The function checks the status of withdrawal requests to identify which ones are claimable...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Consider using `delete` rather than assigning zero to clear values ### Description The `delete` keyword more closely matches the semantics of what is being done, and draws more attention to the changing of state, which may lead to a more thorough audit of its associated logic. *There are 2 instances of this i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
false
false
## Low: Front-Running in addOidcAccount Account Registration ### Description The [`OidcRecoveryValidator`](https://github.com/matter-labs/zksync-sso-clave-contracts/blob/ed21d09add8da99d9c82d0f7c30659625c6636e6/src/validators/OidcRecoveryValidator.sol#L21) contract uses a `digestIndex` mapping to associate unique iden...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: The Delay app allows scripts to be paused even after execution time has elapsed ✓ Addressed ### Description The `Delay` app is used to configure a delay between when an evm script is created and when it is executed. The entry point for this process is `Delay.delayExecution`, which stores the input script wi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Missing event for important parameter change ### Description Important parameter or configuration changes should trigger an event to allow being tracked off-chain. *Instances (8)*: - [AfEth::setStrategyAddress()](https://github.com/code-423n4/2023-09-asymmetry/blob/main/contracts/AfEth.sol#L81) - [AfEth::set...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Business Logic
false
true
_Submitted by cmichel, also found by AuditsAreUS, csanuragjain, danb, IllIllI, joshie, Ruhum, t11s, and tintin_ [NFTLoanFacilitator.sol#L148](https://github.com/code-423n4/2022-04-backed/blob/e8015d7c4b295af131f017e646ba1b99c8f608f0/contracts/NFTLoanFacilitator.sol#L148)<br> The loan amount is used as a min loan amou...
Code4rena
3
Backed Protocol
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Transfering funds to yourself increases your balance ### Description Using temporary variables to update balances is a dangerous construction that has led to several hacks in the past. Here, we can see that `_toBalance` can overwrite `_fromBalance`: Furthermore, the `safeTransferFrom` function has the `chec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `firstOpenChallengeForNodeKey()` function returns incorrect value. ### Description **Severity**: Low **Status**: Acknowledged **Description** `firstOpenChallengeForNodeKey()` function returns a number greater by 1 than `batchSequenceNumber` of the first challenge including `_nodeKeyId` or just returns the 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
other
false
false
## Low: Complex functions should have explicit comments ### Description Large and/or complex functions should have more comments to better explain the purpose of each logic step. *There are 24 instances of this issue.* ---
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
false
false
## Low: Project dependencies contain vulnerabilities Difficulty: Low ### Description Although dependency scans did not yield a direct threat to the projects under review, yarn audit identified dependencies with known vulnerabilities. Due to the sensitivity of the deployment code and its environment, it is important to e...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
reentrancy
false
false
## Gas: The nonReentrant modifier should occur before all other modifiers ### Description This is a best-practice to protect against reentrancy in other 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
low
storage
false
false
## Low: Kernel Upgrade Override ### Description The kernel upgrade is stored in a single place. If there is a kernel upgrade stored and another is received, then the new kernel upgrade overrides the previous one. This is still okay despite the activation time shift. However, if the first kernel upgrade provides a stor...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: setFlowLimit does not change the indices and interest rates ### Description ## Medium Risk Notice **Severity:** Medium Risk **Context:** MiniPoolAddressProvider.sol#L349-L355 **Description:** Changing the flow limit of a reserve in a mini pool affects its virtual available liquidity. Therefore, it'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...
cyfrin_structured
low
access-control
true
false
## Low: Owner can not burn tokens from blacklisted addresses ### Description The `HilBTC.sol` contract contains a logical inconsistency in its `burnFrom()` function regarding blacklisted addresses. While the function grants the `owner` special privileges to burn tokens from any user without requiring allowance (bypass...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Transition: Minipools can be created using other operator’s AVAX deposit via recreateMinipool ### Description ## Lines of code https://github.com/code-423n4/2022-12-gogopool/blob/aec9928d8bdce8a5a4efe45f54c39d4fc7313731/contracts/contract/MinipoolManager.sol#L444 ## Vulnerability details ## Impact...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
rounding
true
false
Source: https://github.com/sherlock-audit/2023-06-real-wagmi-judging/issues/82 ## Found by 0xdice91, BugBusters, ash, ginlee, josephdara, lil.eth, shealtielanz, tsvetanovv, twcctop ## Summary The `_checkpositionsRange` function contains a potential precision loss issue. The problem arises from the expression ((_rang...
Sherlock
4
RealWagmi
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Consider Making `public` Functions `external` ### Description Several functions in the [`LOB`](https://github.com/longgammalabs/hanji-contracts/blob/09b6188e028650b9c1758010846080c5f8c80f8e/src/OnchainLOB.sol) contract that are marked as `public` could be declared as `external` to save gas costs and improve pe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiple divisions by zero may lead to unusable system ### Description Multiple divisions by zero are possible due to a wrongly parameterized system. A division by zero leads to throwing. As a result, the system may become temporarily or fully blocked. See details in **Appendix B** and test cases for some o...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: Rewards are calculated as distributed even if there are no stakers, locking the rewards forever ### Description The ``ZivoeRewards.sol`` and the ``ZivoeRewardsVesting.sol`` contracts are a fork of the Synthetix rewards distribution contract, with slight modifications. The contract logic keeps track of the t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Inaccurate availableToMint Tracking During Forge Operations ### Description The SuperFrens contract contains a logical inconsistency in the management of the `availableToMint` variable during the forging process. Specifically, when a user forges new tokens by burning a specific quantity of lower-tier tokens to...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `distribute()` won't update `epoch[tigAsset]` when `totalShares[tigAsset]==0` which can cause later created bond for this tigAsset to have wrong mint epoch ### Description ### Impact Function `BondNFT.createLock()` creates a bond and it sets bond's mint epoch as `epoch[asset]`. Function `Lock.lock()` first...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Delayed Use of `increaseStakeAndLock()` Could Cause Arithmetic Overflow ### Description If a user waits too long before calling `increaseStakeAndLock()`, it may cause an arithmetic overflow. The function adds the new lock value to the old lock value and then subtracts the current timestamp from the result. 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
low
other
false
false
## Low: using block.chainid for create2 salt can be problematic if there's chain hardfork ### Description ## Severity: Low Risk **Context:** - StableMarketDeployer.sol#L30 - VolatileMarketDeployer.sol#L28 - MarketFactory.sol#L155 - MarketFactory.sol#L182 **Description:** Using `block.chainid` as salt for `crea...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Mint price will be inaccurate for quantities that jumped more than one price tier ### Description **Severity** **Impact:** High, prices can be significantly different and not considering the in-between price tier. **Likelihood:** Medium, it is possible for users that buy the token in high quantity or when t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Hardcode or whitelist the Axelar destinationAddress ### Description The functions `executeCallViaAxelar()` and `executeCallWithTokenViaAxelar()` call a `destinationAddress` on the `destinationChain`. This `destinationAddress` needs to have specific Axelar functions (`_execute()` and `_executeWithTokento()`)...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
logic-error
true
false
## Low: Feature flags are not being used in the `TokenLibrary` ### Description `TokenLibrary::setFeature` implements a feature flag system that is completely non-functional in the current codebase. While the infrastructure exists to enable/disable features, no business logic actually checks these feature flags; consid...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Use `ITroveManager::Status` enum types instead of casting to `uint256` ### Description Use `ITroveManager::Status` enum types instead of casting to `uint256`: ```diff core/TroveManager.sol - 364: function getTroveStatus(address _borrower) external view returns (uint256 status) { + 364: function getTroveS...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
storage
false
false
## Medium: Currencies Can Be Unregistered From `TokenVault`, Which Could Lead to Funds Locked ### Description **Update** A zero address validation was added for the first point. However, it is still technically possible to have two different `bytes32` identifiers pointing to the same token address. **Update** Addres...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Events Missing Indexed Fields ### Description Indexed event fields make the data more quickly accessible to off-chain tools that parse events, and add them to a special data structure known as "topics" instead of the data part of the log. A topic can only hold a single word (32 bytes) so if you use a [referenc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Redundant code ### Description Some contracts contain redundant checks in their codebase that do not add functional value, potentially increasing gas costs and reducing code clarity: 1. **Ownership initialization in** `BaseRegistrar.constructor`**:** Both `Ownable(owner_)` and `_transferOwnership(owner_)`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: No proposal time limit traps sponsors of unpopular proposals ### Description A staker is restricted to sponsoring a single proposal at any given time. This proposal remains active until a predetermined duration has elapsed, and it has received the sufficient number of votes to reach a quorum, after which it...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: Unused imports ### Description **Severity**: Informational **Status**: Resolved In Contract ChainZoomToken.sol, the following imports are unused. ERC20 is already available from the import ERC20Permit.sol Ownable.sol is not needed as onlyOwnable modifier is not used anywhere. **Recommendation**: remove the...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
false
false
## Medium: `transferERC721` doesn't clean `timelockERC721s` ### Description _Submitted by gpersoon, also found by shw_ The function `transferERC721` works similar to the functions `timeUnlockERC721` with timelocked NFT's. However `timeUnlockERC721` cleans `timelockERC721s` (delete `timelockERC721s[key]`;), while `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
other
false
false
## Low: recoveries[][] could be left when an adapter is removed ### Description After an adapter is removed, there still could be a `recoveries[][]` entry linked to this adapter. If an adapter is installed again later, these `recoveries[][]` entries can be used again, which might be unwanted. **Note:** `executeMessag...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: transfer does not respect check-effect-interact pattern ### Description **Severity**: Low **Status**: Resolved **Description** In _stake and _unstake methods the transfer of nft might represent a re-entrancy risk because of the hook of onERC721Received, it would be best to protect from this possibility by i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
true
false
## Low: Liquity Oracle Gas Math could theortically fail if the CL Price Feed Gas Griefs ### Description **Impact** The following finding has no impact unless Chainlinks proxy is changed to revert for OOG on purpose Meaning that the CL team would need to: - Replace their proxy - Purposefully put a malicious one that ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
true
false
## Medium: Claiming auctioned tokens in BribeCollector can be front-run ### Description Claiming auctioned tokens in BribeCollector can be front-run, leading to loss of tokens for later callers. Bribe tokens that accumulate in the Infrared contract can be auctioned off through the BribeCollector contract. Tokens can...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
false
false
## Medium: Changing `bribeVault` in `RewardDistributor.sol` will Lock Current ETH Rewards ### Description _Submitted by kirk-baird, also found by WatchPug_ [RewardDistributor.sol#L178-#L182](https://github.com/code-423n4/2022-02-redacted-cartel/blob/main/contracts/RewardDistributor.sol#L178-#L182) [RewardDistributor....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: protocol parameter configuration/changes should have sanity/threshold checks ### Description ## Handle 0xRajeev ## Vulnerability details ## Impact Input validation on key function parameters is a best-practice. Not applying sanity/threshold checks will allow incorrect values to be set accidentally/malicio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Gas: Multiple `address`/ID mappings can be combined into a single `mapping` of an `address`/ID to a `struct`, where appropriate ### Description Saves a storage slot for the mapping. Depending on the circumstances and sizes of types, can avoid a Gsset (20000 gas) per mapping combined. Reads and subsequent writes can...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Small rewards stuck ### Description _Acknowledged_ In the `StrategyWrapper` contract, the `_updateExtraRewardState()` function is called before users claim their extra rewards via `claimExtraRewards()`, where it first pulls any pending extra rewards from the `RewardVault`, then updates the `extraRewardPerToke...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
initialization
true
false
## Gas: In Solidity don't initialize to default values ### Description **Description:** In Solidity don't initialize to default values: **Securitize:** Fixed in commits [7594671](https://bitbucket.org/securitize_dev/bc-nav-provider-sc/commits/75946718b5129603545c364a2d9c6f57902200d9), [6833173](https://github.com/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
low
signature
false
false
## Low: Scope 2 - EIP-1271 Threshold Could Be Larger Than Available Members In Multisig ### Description The [`constructor`](https://github.com/ZKsync-Association/zk-governance/blob/c66fc0b27ef7452188d349dafd8e170095bbd1f0/l1-contracts/src/Multisig.sol#L27-L38) of `Multisig.sol` does not check if the `_members.length` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
initialization
true
true
When doing inflation, function `getInflationAmt()` calculated number of intervals elapsed by dividing the duration with interval length. ```solidity function getInflationIntervalsElapsed() public view returns (uint256) { ProtocolDAO dao = ProtocolDAO(getContractAddress("ProtocolDAO")); uint256 startTime = get...
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
initialization
false
false
## Low: Check zero denominator ### Description When a division is computed, it must be ensured that the denominator is non-zero to prevent failure of the function call. ### Proof of Concept Instances include: #### InfinityStaker.sol [((threeMonthLock - threeMonthVested) / THREE_MONTH_PENALTY)](https://github.com/c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: An unnecessary subtraction operation ### Description At the line https://github.com/cryptoalgebra/Algebra/blob/bddd6487c86e0d6afef39638159dc403a91ba433/src/periphery/contracts/LimitOrderManager.sol#L246 the `position.tokensOwed0` and `position.tokensOwed1` values are set to the result of subtraction of the pre...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: CALLCODE to withdrawal precompile may lead to fund loss ### Description The current withdrawal precompile implementation blindly accepts a Transfer without checking its source and target. When a `CALLCODE` instruction executes, it creates a Transfer object with the following values: - **source**: the 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
medium
access-control
true
false
## Medium: Insufficient Length Check When Verifying Allowed Data Keys ### Description There is an insufficient length check when validating the allowed data keys that can be set by a caller. In particular, if a decoded length in the compact bytes array happens to be 0, the caller will be validated against any data key...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Program ID Verification ### Description ## Vulnerability Description The vulnerability arises from the potential mismatch between the expected and actual program IDs used within `deposit_governing_tokens_owner_not_signer`. It fails to explicitly verify that the `governance_program` provided by the 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
initialization
true
false
## Low: Include all inherited constructor calls in derived contracts ### Description Contracts with deep inheritance chains may have multiple constructor calls that are non-obvious and implicitly called on deployment. ### Recommendation For code clarity, explicitly denote all inherited constructors which communicates...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: If L1GraphTokenGateway’s outboundTransfer is called by a contract, the entire msg.value is blackholed, whether the ticket got redeemed or not ### Description ## Lines of code https://github.com/code-423n4/2022-10-thegraph/blob/309a188f7215fa42c745b136357702400f91b4ff/contracts/gateway/L1GraphTokenGateway.s...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: Bidder Funds Can Become Unrecoverable Due to 1 second Overlap in `participateToAuction()` and `claimAuction()` ### Description ### Lines of code ### Impact Bidder funds may become irretrievable if the `participateToAuction()` function is executed after `claimAuction()` during a 1-second overlap. ### Pro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
true
false
## Low: Privileged roles accept invalid EVC sub-accounts ### Description _Acknowledged_ EulerEarn vaults use the Ethereum Vault Connector (EVC) for authentication, which supports sub-accounts. The EularEarn vault therefore, makes sure to handle cases in which these sub-accounts interact with the vault. These sub-acco...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
storage
false
false
## Medium: Integration with `Curve` is flawed ### Description **Severity** **Impact:** Low, as users won't lose funds but the protocol's contract might need new implementation and redeployment **Likelihood:** High, as users can't use a big part of Curve pools **Description** Currently, the `Curve` methods `deposit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
rounding
false
false
## High: `convert_to_yang_helper()` loss precision ### Description In `gate.cairo`, when the user calls `deposit()`, it calculates the corresponding shares through `convert_to_yang_helper()`. The code is as follows: The calculation formula is: `(asset_amt.into() * total_yang) / get_total_assets_helper(asset).into()`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Non-Deterministic behavior due to system clock usage in dispersal logic ### Description The code uses the system clock to determine when to switch from optimal to suboptimal dispersal quality, which can lead to non-deterministic behavior. This issue is present in the dispersal logic, specifically in the run me...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect forward value when minting PT in function mint_py_jettons ### Description The `mint_py_jettons` function of the YTMinter contract assigns an incorrect forward value when minting PT jettons, resulting in excessive gas consumption. The `mint_py_jettons` function handles the minting process for both PT ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `bumpConcentrated()` Can Overflow ### Description **Update** Fixed in commit `286e83f`. **File(s) affected:**`mixins/LiquidityCurve.sol` **Description:** The `bumpConcentrated()` method on line `L232` is converting the liquidity delta from a `uint128` to an `int128` without any checks. This means that if a l...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
true
false
## Medium: `GASLIMIT` opcode returns transaction gas limit instead of block gas limit resulting in incompatibility with the EVM ### Description The EVM `GASLIMIT` opcode () is supposed to return the **block** gas limit. However, when building the `BlockContext` in `buildBlockContext()`, `GasLimit` is set to the curre...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Owner of `FraxlendPair` can set arbitrary time lock contract address to circumvent time lock ### Description _Submitted by berndartmueller_ The ownership of a deployed Fraxlend pair is transferred to `COMPTROLLER_ADDRESS` on deployment via `FraxlendPairDeployer_deploySecond`. This very owner is able to cha...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Error in preview rate calculation results in users losing rewards or offers not being allocated ### Description Severity: High Risk Context: WrappedVault.sol#L466 Description: The previewRateAfterDeposit() function calculates the rate a user would receive in rewards after depositing assets. However, the incor...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
initialization
false
false
## Gas: Remove local-testing related code in `DiamondInit.sol` ### Description [File: ethereum/contracts/zksync/DiamondInit.sol](https://github.com/code-423n4/2023-10-zksync/blob/1fb4649b612fac7b4ee613df6f6b7d921ddd6b0d/code/contracts/ethereum/contracts/zksync/DiamondInit.sol#L85-L87) According to the above code, `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: Migration Sequence Not Enforced ### Description Functions should be called in the following sequence to migrate a vault after a successful buyout. 1. `Migration.settleVault` - Create new vault 2. `Migration.settleFractions` - Mint new fractional tokens to new vault 3. `Migration.migrateFractions` - Give ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
upgrade
false
false
## Low: Use named return variables where this optimizes away a local variable definition ### 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::totalIssued`, `balan...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Use unchecked block for increment operations in `distributeRewards`
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
dos
false
false
## High: DoS attack exhausting account space and halting spot trading ### Description The temporary spot client ID allocation system reserves space in both `client_infos_acc` and `client_infos2_acc` accounts when orders are created, but deallocation only occurs when specific cleanup functions are invoked. An attacker ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `gameCreatedAt` should be set during initialization ### Description Each game contract has a specified duration. For instance, if the duration is set to 12 hours, the game becomes unplayable after that period. This constraint is enforced as follows: - `gameDuration` refers to the length of the game. - `gameC...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The recipient receives free collateral token if an ERC20 token that deducts a fee on transfer used as baseToken ### Description ### Impact * There are some ERC20 tokens that deduct a fee on every transfer call. If these tokens are used as baseToken then: 1. When depositing into the **Collateral** contr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
overflow
true
false
Source: https://github.com/sherlock-audit/2023-02-hats-judging/issues/96 ## Found by Ace-30, unforgiven, chaduke, 0xMojito, Allarious, GimelSec ## Summary some of the functions in the Hats and HatsIdUtilities contracts has recursive logics without limiting the number of iteration, this can cause unlimited gas usage...
Sherlock
5
Hats
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of sanity check for `stoptime` ### Description We believe when the stoptime is before the current time, then it might be wrong. ### Impact If the user calls `createAndFundStream()` with a wrong/unintended `stoptime` that is earlier than the current time, the stream will not be able to be canceled. ##...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `burst()` does not return eth when action fails ### Description When executing `Magnetar.burst()`, the user can specify `allowFailure = true`. If it fails, it ignores the current `_action` and execute another `_action`. `burst()` -> `_executeCall(_allowFailure)`. But with the current implementation, if t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Unclaimed Rewards Loss Due to Missing Validation in `VaultRouterBranch.stake()` ### Description An issue exists in the `VaultRouterBranch` contract where calling the `stake()` function while having unclaimed earned fees results in the loss of accumulated fees. `VaultRouterBranch.stake()` lacks a validation ch...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: NFTs can be stuck for smart contract users without ERC721 receiver support ### Description _Acknowledged_ The `_unstakeNFTs()` function in `NFTStaking` uses `safeTransferFrom()` to return NFTs to users. When the user is a smart contract that does not implement the `onERC721Received()` function, the transfer w...
0