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
false
false
## Low: Code Maturity ### Description ## Current Issue Currently, `pool_id(&staked_sui)` is called twice in `staking_pool::convert_to_fungible_staked_sui`, even though it returns a similar value on both calls. ## Remediation Store the result of `pool_id(&staked_sui)` in a variable instead of calling it twice 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
other
false
false
## Medium: Incorrect state transition may cause vault in stuck ### Description Incorrect state transition may cause vault in stuck under `processCompoundCancellation` scenario. ### Impact Vault may stuck in unexpected state after `processCompoundCancellation` action.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing input validation ### Description Throughout the codebase, there are several instances where an input address is assigned to a state variable without checking if the input address is `address(0)`. Assigning `address(0)` to a state variable can lead to unexpected behavior of the system. Instances of this...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unused storage variables borrowerOperationsAddress and troveManagerAddress ### Description The defined storage variables `borrowerOperationsAddress` and `troveManagerAddress` are not being used. ### Recommendation Consider removing such variables.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 check of `tokenConfig[asset].isActive` in the `_transferToBeneficiary` function. ### Description The `redeem` function has `belowMaxRedeemPerBlock` modifier and it checks `_config.isActive` is true from [L127](https://github.com/code-423n4/2024-11-ethena-labs/blob/main/contracts/ustb/UStbMinting.so...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
oracle
true
false
## Gas: Caching the length of calldata increases gas cost instead of reducing it ### Description ### Proof of Concept **Instance 1:** Reduce gas cost of `FeeManager.setBeneficial()` function by not caching the length of calldata variable `_feeTokens`. https://github.com/code-423n4/2024-02-wise-lending/blob/main/co...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
false
false
## Medium: Users May Lose Their Stake If `setToken` Is Called For A Second Time With An Alternative Address ### Description **Severity**: Medium **Status**: Acknowledged **Description** The `setToken` function is used to initially set the token used for staking within the Staking contract however, there is a lack 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
low
other
true
false
## Low: Sanity check on all important variables ### Description Most of the functionalities have proper sanity checks when it comes to setting system-wide variables, such as whitelist addresses. However there are a few key setters that lack such sanity checks. ### Recommendation Comment from pSTAKE Finance team: > ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Protocol may charge more fees than expected ### Description In HyperEvmVault, the protocol will charge some protocol fees based on the total assets we manage. If the calculated fee amount is zero, we will skip the fee process. The problem here is that we don't update the `lastFeeCollectionTimestamp` in this ca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
rounding
true
false
## Medium: Amount Values Within BentoBox Can be Inconsistent ### Description If the actions `ACTION_DST_DEPOSIT_TO_BENTOBOX` and `ACTION_DST_WITHDRAW_FROM_BENTOBOX` are carried out with the same amount argument, it is possible for the `ACTION_DST_WITHDRAW_FROM_BENTOBOX` action to revert because the amount of tokens cl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: FLOATING PRAGMA ### Description The project contains many instances of floating pragma. Contracts should be deployed with the same compiler version and flags that they have been tested with thoroughly. Locking the pragma helps to ensure that contracts do not accidentally get deployed using, for example, either...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Using uninitialized value ### Description In the `constructor` of the `SubstrateSignatureValidator` contract, the call to `_updateAttestors(attestors)` is made before the `_threshold` value is set via `_updateThreshold(threshold)`. However, `_updateAttestors` checks that `attestors.length >= _threshold`, relyi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
dos
true
false
## High: `poolRewards` arrays can grow without bounds, resulting in DoS of core functionality ### Description **Description:** The `poolRewards` mapping maintains an array of reward token addresses for a given `IncentivizedPoolId`. Given that the distribution of rewards is permissionless, anyone can invoke this functi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Disabled Transceivers cannot be re-enabled by calling `TransceiverRegistry::_setTransceiver` after 64 have been registered ### Description **Description:** [`TransceiverRegistry::_setTransceiver`](https://github.com/wormhole-foundation/example-native-token-transfers/blob/f4e2277b358349dbfb8a654d19a925628d48...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Alchemist can mint `AlTokens` above their assigned ceiling by calling `lowerHasMinted()` ### Description _Submitted by tintin, also found by 0xsomeone, AuditsAreUS, and hyh_ [AlchemicTokenV2Base.sol#L111-L124](https://github.com/code-423n4/2022-05-alchemix/blob/de65c34c7b6e4e94662bf508e214dcbf327984f4/cont...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No need to cache a function call if used only once ### Description ### Instance 1 No need to cache `params.tokenIn.balanceOf(address(this))` and `params.tokenOut.balanceOf(address(this))` in stack variable in `balanceInAfter` and `balanceOutAfter` respectively, since they are used only once. [Swapper.sol#L1...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The approveMax() and unapprove() functions could be used maliciously by the node owner ### Description The functions `approveMax` and `unapprove` are critical for the Escrow contract as they handle token approval permissions. If the owner's account is compromised, these functions could be exploited in the foll...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Counter Values ### Description State counters such as `activePrivateOfferCnt`, `activeRaffleCnt`, and `activeAuctionsCnt` may still include unsettled NFTs. NFTs put up for auction that receive no bids will result in the auction ending without a winner. Consequently, it will not go through the settle...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Use of Precision Library ### Description **Update** Marked as "Fixed" by the client. Addressed in: `5a045189b562878cc5416f136fd32fd580cec1d8`. **File(s) affected:**`Lending.sol` **Description:** In the `getDebtWithPenalty()` function, only at the very end of the calculation the calculation of the `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
true
false
## Low: [12] SPACES CAN BE ADDED FOR BETTER READABILITY ### Description For better readability, spaces can be added in code where appropriate. A space can be added between `challenge` and `phase` in the following comment. https://github.com/code-423n4/2023-05-ajna/blob/main/ajna-grants/src/grants/base/StandardFunding...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 explicit `uint256` instead of generic `uint` ### Description **Description:** Use explicit `uint256` instead of generic `uint`: **Bima:** Fixed in commit [f614678](https://github.com/Bima-Labs/bima-v1-core/commit/f614678e78e5d3dd91682aeca7ae6e881d927052). **Cyfrin:** Verified.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Putty position tokens may be minted to non ERC721 receivers ### Description _Submitted by horsefacts, also found by 0xc0ffEE, 0xsanson, berndartmueller, BowTiedWardens, csanuragjain, defsec, IllIllI, joestakey, Kenshin, Picodes, shenwilly, Sm4rty, unforgiven, and xiaoming90_ ### Vulnerability Details Put...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Add constructor initializers ### Description As per [OpenZeppelin’s (OZ) recommendation](https://forum.openzeppelin.com/t/uupsupgradeable-vulnerability-post-mortem/15680/6), “The guidelines are now to make it impossible for *anyone* to run `initialize` on an implementation contract, by adding an empty cons...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Dangerous int256 casting to uint256 ### Description The `fetchPrice()` function in BAMM.sol employs Chainlink's pricefeed to retrieve a value of type `int256`. However, without any validation checks, this value is immediately cast to a `uint256` type, potentially leading to a silent overflow in the event that ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
front-running
false
false
## High: first user can steal everyone else's tokens ### Description _Submitted by egjlmn1, also found by OriDabush_ A user who joins the systems first (stakes first) can steal everybody's tokens by sending tokens to the system externally. This attack is possible because you enable staking a small amount of tokens. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Trading with Self to Make a Loss is Profitable ### Description Because of the socialising of loss within the protocol, it is possible to extract funds from the protocol if a user owns two accounts, and one makes a large and sudden loss to the other, sufficient to make the first account insolvent. When insolvent...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Accidental account deletion ### Description ## Account Management in Populated Networks When ensuring an account on an already populated network, all accounts in this network are deleted: Currently, it is not possible to have multiple addresses in the same network, so this doesn’t immediately affect the ext...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Silent failure can occur in `Pipeline` function calls if the target has no code ### Description **Description:** In the case of a `Pipeline` function call to a target address with no code, the call will silently fail. Scenarios where this may occur include calls to non-contract addresses or on a contract where...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## High: IndexTemplate.sol#compensate() will most certainly fail ### Description ## Handle WatchPug ## Vulnerability details ## Root Cause Precision loss while converting between `the amount of shares` and `the amount of underlying tokens` back and forth is not handled properly. --- https://github.com/code-423n...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 comments makes code difficult to read ### Description **Description** There are a lot of logic but almost no comments nor docstrings. It’s easy to misunderstand the whole flow idea. **Recommendation**: Add comprehensive docstring and comments.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
true
false
## Medium: Malicious royalty recipient can steal excess eth from buy orders ### Description ### Impact Users that submit single or bulk Buy orders through `EthRouter.sol` can have their excess eth stolen by a malicious royalty recipient. ### Proof of Concept **Introduction** The `buy(...)` function in `PrivatePool...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: NFT owner can create multiple auctions ### Description _Submitted by 0xliumin, also found by leastwood_ [NFTMarketReserveAuction.sol#L325-L349](https://github.com/code-423n4/2022-02-foundation/blob/4d8c8931baffae31c7506872bf1100e1598f2754/contracts/mixins/NFTMarketReserveAuction.sol#L325-L349) [NFTMarketRese...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Range Check For Duration ### Description ## Vulnerability Details The vulnerability is rooted in the functionality responsible for creating a future subscription for a given consumer. Within `CreateSubscription`, there is a validation check for the duration range (between zero and twelve) via `Valida...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: read_multiple_buffer_sender::operator() reserves but not resizes vector before writing ### Description The code reserves sufficient elements in `temp` but does not resize `temp`. It then writes to all the elements it reserved. Reserving grows the memory capacity underlying the vector abstraction, but does n...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
true
false
## Low: DELETE - ABI CODER V2 FOR GAS OPTIMIZATION ### Description From **Pragma 0.8.0**, **ABI coder v2** is activated by default. The pragma abicoder v2 can be deleted from the repository. That will provide gas optimization. Code Location ------------- ``` ./PledgeAgent.sol:2:pragma experimental ABIEncoderV2; ./Go...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Z-coordinate usage in G2 scalar multiplication causes invalid pairing computations ### Description In `g2ScalarMul` function in the EcPairing precompile, when performing scalar multiplication by 2, the function incorrectly passes the y-coordinate (`yp1`) instead of the z-coordinate (`zp1`) as the las...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
false
false
## Medium: Missing implementation of `marginAccountDepositFromFundingAccount` ### Description **Severity**: Medium **Status**: Resolved **Description** In the SideMarginFundingAccount contract, the marginAccountDepositFromFundingAccount() function, which is called on line: 132, does not exist in the TradeableSideVa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 documentation on strategies in case of system parameter update ### Description Malicious users of the Folks Finance capital market protocol could try to game the system and earn more than honest users. When users deposit assets into the protocol, they receive interest-bearing assets known as f-assets....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
true
false
## High: UNUSED ARCH NOT RETURNED WHEN OPENING A POSITION ### Description Opening a position requires the following user input: * Amount of `OUSD` that will be used as collateral * Number of leverage cycles * The required amount of `ARCH` to burn for the position When calling `createLeveragedPosition()` from `Levera...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
true
false
[HolographOperator.sol#L329](https://github.com/code-423n4/2022-10-holograph/blob/f8c2eae866280a1acfdc8a8352401ed031be1373/contracts/HolographOperator.sol#L329)<br> [HolographOperator.sol#L419-L429](https://github.com/code-423n4/2022-10-holograph/blob/f8c2eae866280a1acfdc8a8352401ed031be1373/contracts/HolographOperato...
Code4rena
4
Holograph
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `CreateOfferer.sol` should not enforce the nonce incremented sequentially, otherwise user can DOS the contract by skipping order ### Description According to https://github.com/ProjectOpenSea/seaport/blob/main/docs/SeaportDocumentation.md#contract-orders: > "Seaport v1.2 introduced support for a new type 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
low
other
false
false
## Low: Not using the latest version of OpenZeppelin from dependencies ### Description The package.json configuration file says that the project is using 4.6.0 of OpenZeppelin which has a not last update version ### Recommended Mitigation Steps Use patched versions
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Tracking signature nonces based on tx.origin will be problematical for account abstraction ### Description The order signature nonces are tracked based on the `tx.origin` of the taker. With account abstraction, the `tx.origin` may not be known beforehand when the maker signs the order which includes the nonce....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
true
false
## High: The `_currentExchangeRate` of the Vault contract can't increase and will always be lower than or equal to `_assetUnit` ### Description The `_currentExchangeRate` of the Vault contract can not increase and will always be lower than or equal to `_assetUnit`. Therefore, when the vault is under-collateralized (`_...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Quote functions should not be payable ### Description `VaultExtension.quote` and `VaultExtension.quoteAndRevert` are payable, but they cannot receive Ether due to the restriction on the proxy pattern used. The fallback function of the Vault is used to forward calls to the VaultExtension (and VaultAdmin). 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
true
false
## Low: Inactive EIGEN Supply Stuck After Token Upgrade ### Description Any unwrapped EIGEN tokens before the upgrade will be stuck in the Eigen contract and excluded from the total supply. In the current EIGEN implementation before the upgrade, unwrapping EIGEN sends the tokens to the Eigen contract. ```solidity 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
overflow
true
false
## Low: [31] Consider adding validation of user inputs ### Description There are no validations done on the arguments below. Consider that the Solidity [documentation](https://docs.soliditylang.org/en/latest/control-structures.html#panic-via-assert-and-error-via-require) states that `Properly functioning code should n...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
true
false
## Low: BLOCK WITH GAS LIMIT ### Description There are several loops in the contract that can eventually grow large enough to make future operations of the contract cost too much gas to fit in one block. Code Location ------------- `TokenSaleDistributor.sol` ``` TokenSaleDistributor.sol::31 => for (uint i; i for...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Functions Are Updating the State Without Event Emissions ### Description Throughout the codebase, instances of functions that are updating the state without an event emission were found. The contracts which could benefit from the addition of event emissions include: * The [`constructor`](https://github.com/U...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: HybridDeleGator: Miscellaneous Minor Points ### Description #### A. Unused imports can be removed: **DeleGator/src/HybridDeleGator.sol:L6** **DeleGator/src/libraries/P256VerifierLib.sol:L6** #### B. The struct definition should be preceded by the NatSpec annotation: **DeleGator/src/HybridDeleGator.sol:...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Unused function _mintMinter in MyShare. ### Description **Description** MyShare.sol: function_mintMinter(), line 501. The function is not used within MyShare contract. Though it is internal and can be used by children contracts, such contracts are not present within the scope of the audit. **Recommendation**...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Burning a Position Notifies the Subscriber But Does Not Unsubscribe Them ### Description The burn operation on a position triggers the `_modifyLiquidity` logic, which, if a subscriber is set, will [notify the subscriber](https://github.com/Uniswap/v4-periphery/blob/df47aa9ba521fc15ffd339dc773d32f5fc4c91fc/src/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unrestricted emergency withdrawal ### Description This comment is about unrestricted emergency withdrawal function in here: https://github.com/tosdis/TosDisFinance/tree/be50dbf8a52a8f919694498bf30394d328d88fbb/StakeMaster/contracts/StakingPool.sol#L170 being possible to be called anytime with burning all 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...
solodit_api
medium
liquidation
false
false
Source: https://github.com/sherlock-audit/2023-01-ajna-judging/issues/96 ## Found by yixxas ## Summary It is documented that pools can be created for tokens with interest rate between 1-10%. > Pool creators: create pool by providing a fungible token for quote and collateral and an interest rate between 1-10% Howe...
Sherlock
5
Ajna
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 `_zroPaymentAddress` Specification ### Description **Update** In-line comment has been added. **Update** Marked as "Fixed" by the client. Addressed in: `ebe888c73e1ad9b77eea9bec1b2596c75a96cc6f`. **File(s) affected:**`OmnichainProposalSender.sol` **Description:** The `send()` function in `Omnichain...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
timing
false
false
## Low: Add `deadline` parameter for mint and burn requests in `RequestsManager` ### 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 become "stale" over...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [11] Message.id wrongly downcasted to uint64 ### Description ### Issue Description In `MessageV1Codec` library `id` is wrongly decoded to `uint64`, instead of the original size when being encoded - `uint256`. The `_msg` that this function expects is the `Message` struct that looks like this: [Message.sol](ht...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Handling losses from underlying vault ### Description The underlying SUSD vault may suffer a permanent loss. This will lead to a loss of corresponding SNX. However, such loss is not fairly distributed across vault users. On the first withdrawals no loss will be reported but on a later withdrawal attempts th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Funds Locked Due to the Whitelist ### Description - https://github.com/resolv-im/resolv-contracts/blob/a36e73c4be0b5f233de6bfc8d2c276136bf67573/contracts/beta/ExternalRequestsManagerBetaV1.sol#L209 - https://github.com/resolv-im/resolv-contracts/blob/a36e73c4be0b5f233de6bfc8d2c276136bf67573/contracts/beta/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
medium
other
true
false
## Medium: `setPendingRedemptionBalance()` may cause the user's cash token to be lost ### Description `setPendingRedemptionBalance()` are not checking Old balances, resulting in the possibility of overwriting the new balance added by the user. ### Proof of Concept In `setPendingRedemptionBalance()`, `MANAGER_ADMIN` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
true
false
## Low: Duplicate address accounts can lead to overwritten contributions ### Description On deployment, the constructor of `MemeBase` will receive an array of accounts to set the contribution of each account. The `_launchCampaignSetup` function currently sets the contribution amount of each address in `memeHearters` 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: `isNewYToken` can be omitted in YToken contracts ### Description **Description:** To support the accounting of underlying assets, a new parameter `isNewYToken` was introduced in `mintYToken`. This parameter is used in the [`dYTokenL1::mintYToken`](https://github.com/YieldFiLabs/contracts/blob/702a931df3adb2f6e...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Function description differs from implementation. ### Description The function [description](https://github.com/iearn-finance/yearn-vaults/blob/cff924f1894cca1820a588b14d341c4fa4f384c0/contracts/BaseStrategy.sol#L311) says that > this call and `tendTrigger` should never return `true` at the same time. 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
gas
overflow
true
false
## Gas: Loop can use unchecked arithmetic and cache array length ### Description **Description:** The `Network::scheduleBatch()` function has multiple loops that can be optimized with unchecked arithmetic and cached array lengths. **Recommended Mitigation:** **Symbiotic:** Acknowledged. **Cyfrin:** Acknowledged. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Proposer can steal funds from the portal by including malicious deposits in proofs ### Description The proposer interacts with the enclave to generate output proof by providing the `txs` for the current block. The enclave then verifies that the deposits for the associated L1 block are embedded in the `txs` 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...
cyfrin_structured
low
reentrancy
true
false
## Low: Use named imports instead of importing the entire namespace ### Description Use named imports as they offer a number of [advantages](https://ethereum.stackexchange.com/a/117173) compared to importing the entire namespace. File: `DropBox.sol` ```solidity // DropBoxFractalProtocol import {DropBoxFractalProtocol...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Medium: Dangerous 1 to 1 price assumption for ETH derivatives ### Description Omnipool.sol can only handle underlying tokens with a Chainlink USD price feed (e.g., STG/USD). This is evident from the following code: ```solidity uint256 underlyingPrice_ = bptOracle.getUSDPrice(address(underlyingToken)); ``` **BPTOr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
true
false
## Low: Precision loss from `Divide-Before-Multiply` in price calculation ### Description _Acknowledged_ In the `SpinLottery` contract, the calculation of `avgBasePrice` in the function `calculateSpinCost` involves a division operation before a multiplication operation. This approach can lead to precision loss, wh...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
true
false
## High: `YaxisVaultAdapter.sol#withdraw()` will most certainly fail ### Description _Submitted by WatchPug_ The actual token withdrawn from `vault.withdraw()` will most certainly less than the `_amount`, due to precision loss in `_tokensToShares()` and `vault.withdraw()`. As a result, `IDetailedERC20(_token).safeTr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Outdated Dependencies ### Description Multiple outdated dependencies were found in the codebase. These dependencies include versions with known security vulnerabilities that pose significant risks to the application’s security and stability. ### Recommendation Update all affected dependencies to the latest po...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: Floating Pragma ### Description Pragma directives should be fixed to clearly identify the Solidity version with which the contracts will be compiled. Throughout the codebase, multiple instances of floating pragma directives were identified: * `GuardianRecoveryValidator.sol` has the [`solidity ^0.8.24`](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...
skyward_49k
medium
initialization
true
false
## Medium: ISCONTRACT MODIFIER CAN BE BYPASSED THROUGH CONSTRUCTOR ### Description The Validator can register as a Core validator candidate by calling register in CandidateHub contract. However, feeAddress and consensus address are checked with **isContract** modifier. the **isContract** function that uses **EXTCODESI...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TransmuterBuffer's setAlchemist will freeze deposited funds ### Description _Submitted by hyh_ Currently setAlchemist doesn't check whether there are any open positions left with the old Alchemist before switching to the new one. As this require a number of checks the probability of operational mistake 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
low
storage
false
false
## Low: Invalid `MarketConfigStruct.VALID_DECREASE_BIT_POSITION` Overlaps Into `DECREASE_NUM_LIMIT_BIT_POSITION` ### Description **Update** Fixed in commit [902f7ce](https://github.com/blex-dex/contracts/commit/902f7ce) by increasing the position value to `120 + 4 * 3`, as suggested. **File(s) affected:**`./contracts...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: Subscriptions Tokens Distinguish Functionality Is Broken ### Description The function `_processNativePayment()` will be called only in case the `sub.erc20TokensValid` is `false`, and this condition will only be met if the input `_erc20Token` address is set to `address(0)`. Therefore, the user could add a d...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing NatSpec `@dev` from event declaration ### Description Some events have an incomplete NatSpec: add a `@dev` notation to describe the event to improve the code documentation. *There are 11 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
medium
overflow
true
false
## Medium: Secondary short liquidation reverts due to arithmetic underflow in volatile market conditions ### Description The `ercDebtAtOraclePrice` is calculated based on the cached Oracle price, which is not updated with the retrieved, potentially fresh spot price due to the 15-minute staleness limit at the beginning...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unsafe New Admin Assignment ### Description ## Authority Change Process In the current implementation, it is possible to change the authority of the state, queue, oracle, and pull_feed accounts in a single step. However, the program does not account for mistyping the new authority address. Not handling this 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...
skyward_49k
low
access-control
false
false
## Low: Misleading docs ### Description This comment is about misleading documentation mentioning there is a `PAUSER_ROLE` (and there is no such a role in this particular case) in here: https://github.com/tosdis/TosDisFinance/tree/be50dbf8a52a8f919694498bf30394d328d88fbb/StakeMaster/contracts/FeeToken.sol#L27. ### Re...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
false
false
## High: Registry.sol fails to deliver expected functionality ### Description _Submitted by byndooa, also found by arcoun, cccz, Lambda, and thebensams_ ### Impact The description of Registry.sol is following: /// Deploys new proxies via the factory and keeps a registry of owners to proxies. Owners can only /// ha...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: zNS - domain name collisions ✓ Fixed ### Description Domain registration accepts an empty (zero-length) name. This may allow a malicious entity to register two different NFT’s for the same visually indinstinguishable text representation of a domain. Similar to this the domain name is mapped to an NFT via a su...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: wrong YAXIS estimates ### Description _Submitted by cmichel_ The `Harvester.getEstimates` contract tries to estimate a `YAXIS` amount but uses the wrong path and/or amount. It currently uses a `WETH` **input** amount to compute a `YAXIS -> WETH` trade. #### Impact The estimations from `getEstimates` are...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Batch Reverting Can Pause Finalization ### Description The `ScrollChain` contract allows `sequencer`s to [commit new batches](https://github.com/scroll-tech/scroll/blob/3bc8a3f5c6ac816ddffadca41024331dcf4d3064/contracts/src/L1/rollup/ScrollChain.sol#L153) of L2 blocks on L1. It also allows the `owner` of the c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Presence Of Typographical Error ### Description The following typographical error was identified: ``` contracts/bithive/src/deposit.rs L23: const ERR_BAD_PUBKER_HEX: &str = "Invalid pubkey hex"; ``` ### Recommendation It is recommended to fix the aforementioned typographical error as follows: * `ERR_BAD_PUB...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Exposed Initialize Function ### Description ## Under the current implementation It is possible to call `initialize` on the implementation address. Calling `initialize` on the implementation contract effectively re-initializes the contract, setting the caller to owner and allowing the execution of methods wit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
true
false
## Low: Fee Bypass Due to Rounding Error ### Description ## Vulnerability Report: Rounding Error in withdraw_inner Function In the `_withdraw_inner` function, there is a rounding error that could allow a beneficiary to bypass the fee collection. ## Code Snippet The withdraw instruction can be invoked multiple tim...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Sub-optimal calculations in `getAmountToTransfer()` results in wei losses ### Description In the scenario where the transfer fee exceeds the equilibrium fee, the excess gets credited to the incentive pool. Disregarding from the fact that a bracket is incorrectly placed causing a massive loss in incentives (rai...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Fee Parameters ### Description This issue has been identified within the `initialize()`, `setMintFee`, `setRedeemFee`, and `setSwapFee` functions of the `SelfPeggingAsset` contract, and in the `bufferPercent` parameter of the `LPToken` contract. Although each fee is capped individually, the owner ca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
token
true
false
## Low: <a name="L-4"></a>[L-4] Unsafe ERC20 operation(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
overflow
true
false
## Medium: Freeze Redeems if bonds too Large ### Description Issuing too many bonds can result in users being unable to redeem them. This is caused by arithmetic overflow in the `previewRedeemAtMaturity` function. If a user’s `bonds` and `paidAmount` (or `bonds * nonPaidAmount`) product is greater than `2**256`, 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...
cyfrin_structured
low
token
false
false
## Low: Parameter name mismatch between interface and implementation may be misleading ### Description In `IHype_Module`, the parameter names differ from the implementation: * `hyper_sendSpot(uint64 token, uint64 _wei)` vs implementation uses `asset` for the first `uint64` * `hyper_addApiWallet(address wallet, string...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
## Severity **Impact:** High **Likelihood:** Medium ## Description The `reentrantSettle` function in RFTLib contains a vulnerability that allows malicious contracts to implement the `IRFTPayer` interface to completely avoid payment obligations. The vulnerability is from how the function tracks cumulative balance c...
Pashov Audit Group
4.142857
Itos_2025-05-24
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: CollateralToken.flashAction reverts with incorrect error ### Description Reverts with `InvalidCollateralStates.AUCTION_ACTIVE` when the address is not `flashEnabled`. ### Recommendation Revert using `InvalidCollateralStates.FLASH_DISABLED`: ```solidity function flashAction( IFlashAction receiver, uint256...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [24] Use custom errors rather than `revert()`/`require()` strings to save deployment gas ### Description Custom errors are available from solidity version 0.8.4. The instances below match or exceed that version [See original submission](https://github.com/code-423n4/2022-05-factorydao-findings/issues/95) for ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Leak of value when interacting with an ERC721 enforcer contract ### Description [HolographERC721.sol#L962](https://github.com/code-423n4/2022-10-holograph/blob/f8c2eae866280a1acfdc8a8352401ed031be1373/contracts/enforcer/HolographERC721.sol#L962) HolographERC721.sol is an enforcer of the ERC721 standard. 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
access-control
false
false
## Medium: Missing check for address(0) in constructor of AdminUpgradeabilityProxy ### Description In `BaseAdminUpgradeabilityProxy`, the `changeAdmin` function performs a zero-address check before calling `_setAdmin()`. ![Figure 9.1: changeAdmin function in BaseAdminUpgradeabilityProxy](link_to_figure_9.1) Howe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The owner can set the pool settings without updating the pool. ### Description **Description** MiniChefV2.sol: function set(). The owner can set new allocation points to the pool without updating the pool, which can lead to the loss of users' pending rewards. The owner can also reset the rewarder contract fo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
front-running
true
false
## High: Pool token price is incorrect when there is more than one pending upkeep ### Description The amount of pool tokens to mint and quote tokens to burn is determined by the pool token price. This price, for a commit at update interval ID X, should not be influenced by any pending commits for IDs greater than X. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `internal` functions only called once can be inlined to save gas ### Description Not inlining costs 20 to 40 gas because of two extra `JUMP` instructions and additional stack operations needed for function calls.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: During the global pause users can increase and decrease TCR ### Description We have two contracts that check the global pause: - BorrowerOperations.sol (BO) - StabilityPool.sol (SP) These contracts have the following functions for users and sometimes they are allowed to be called during the global pause. fun...
0