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: Duplicated Events ### Description **Update** The Saffron team has informed us that the event design is expected behavior. **File(s) affected:**`VaultFactory.sol` **Description:** Setter functions can emit duplicated events that may confuse external systems when the new value is equal to the old value: 1. `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: `> 0` is less efficient than `!= 0` for unsigned integers (with proof) ### Description `!= 0` costs less gas compared to `> 0` for unsigned integers in `require` statements with the optimizer enabled (6 gas) Proof: While it may seem that `> 0` is cheaper than `!=`, this is only true without the optimizer enab...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
true
true
## High: Incorrect comparison enables swapping and token draining at no cost ### Description An incorrect comparison in the swap function allows the swap to succeed even if no tokens are paid. This issue could be used to drain any pool of all of its tokens at no cost. ```solidity // transfer the output if (amountOut ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 with hardcoded gas amount ### Description The `ZrSign` contract contains the `withdrawFees`. This function allows an address with the `TOKENOMICS_ROLE` to withdraw all funds from the contract. It does so by calling the `transfer` function. The `transfer()` and `send()` functions forward a fixed amoun...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
false
false
## Medium: Frontrun can create alternative NFT markets when price goes up ### Description FantiumNFTV1 allows upgrading the price of NFTs. When the price for a collection is set higher by calling updateCollectionPrice(), an attacker can front-run this price increase, buy many NFT tokens, and arrange secondary markets ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: _pullTokenInputAndPayProtocolFee() doesn't check that tokens are received ### Description The function `_pullTokenInputAndPayProtocolFee()` doesn't verify that it actually received the tokens after performing `safeTransferFrom()`. This can be problematic with fee-on-transfer tokens. It can also be an 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
signature
true
false
## Low: StrategyManager - Cross-Chain Replay Attacks After Chain Split Due to Hard-Coded DOMAIN_SEPARATOR ### Description A. The `StrategyManager` contract allows stakers to deposit into and withdraw from strategies. A staker can either deposit themself or have someone else do it on their behalf, where the latter req...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: `Accounting::setMinimumJrtSrtRatio` sets `reserveBps` instead of `minimumJrtSrtRatio` making ratio configuration impossible ### Description The `Accounting::setMinimumJrtSrtRatio` function contains a an implementation error where it modifies the wrong state variable. Instead of setting `minimumJrtSrtRatio`, th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
false
false
## Low: node-api listens on 0.0.0.0:3500 by default ### Description The node-api is an implementation of the Beacon API from Ethereum. This API's purpose is to serve as a means of communication between the beacon node and local clients (such as the validator client). It is not meant to be an external API and is not pr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Index Mismatch ### Description ## Vulnerability Overview The vulnerability concerns the assumption in `request_ride` that the `car_type` parameter corresponds directly to an index in the `car_types_info` table. This assumption may result in inaccuracies if the `car_type` value doesn’t match the actual index i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: [20] Interchangeable usage of uint and uint256 ### Description Consider using only one approach throughout the codebase, e.g. only uint or only uint256. https://github.com/code-423n4/2022-12-tigris/blob/main/contracts/Trading.sol#L223-L224 https://github.com/code-423n4/2022-12-tigris/blob/main/contracts/Trad...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
flash-loan
true
true
## High: DoSing vault rehypothecation through flashloans ### Description During a flash loan, the AToken contract transfers the underlying amount to the user through the `transferUnderlyingTo` function, which withdraws tokens from the vault when using it: ```solidity function transferUnderlyingTo(address target, uint...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: All Traits Loaded Into End-User Projects ### Description The OpenBrush library uses Rust `features` to allow users to selectively integrate contracts and modules into their codebases, thereby only importing the contracts they need. However, the system operates differently for traits. Traits are not governed by...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential use of _beforTokenTransfer hook. ### Description **Description** TauntToken.sol In order to decrease the code size and use recommended best practices, it is advised to use the_beforeToken Transfer() function for additional checks (e.g., for the bot protection) instead of overloading the whole_trans...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TRST-M-9 canHedge may return true when there is insufficient GMX liquidity to facilitate hedging, causing insolvency risks ### Description **Description:** Lyra’s security model relies on being able to hedge and achieve delta-neutrality when opening a user position. The check is done in canHedge() in GMXFu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A Malicious Treasury Manager Can Burn Treasury Tokens By Setting `makerFee` To The Amount The Maker Receives ### Description _Submitted by leastwood_ The treasury manager contract holds harvested assets/`COMP` from Notional which are used to perform `NOTE` buybacks or in other areas of the protocol. The mana...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Robust Allowance ### Description Some tokens do not correctly implement the EIP20 standard, and their `approve` function returns void instead of a `success` boolean. Calling these functions with the correct EIP20 function signatures will always revert. Tokens that do not correctly implement the latest EIP20...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Cannot install fallback handler for NFT token callbacks ### Description Note that the `receiverFallback` modifier performs a call context return when the following conditions are met: - `msig.sig` equals one of: - `onERC721Received(address,address,uint256,bytes)` - `onERC1155Received(address,address,ui...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LienToken._payment function increases users debt ### Description LienToken._payment function increases users debt by setting `lien.amount = _getOwed(lien)` ### Impact User borrowed amount increases and leads to lose of funds. ### Recommendation Do not update lien.amount to _getOwed(lien).
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `BlueBerryBank.withdrawLend` function cannot be paused ### Description When an extreme market condition occurs, the protocol faces an exploit, or the authority issues a legal requirement, the protocol is able to pause the lending, borrowing, and repaying functionalities. However, the protocol is unable to p...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
cross-chain
true
false
## High: Anyone can repay the portalDebt with different tokens ### Description Routers can provide liquidity in the protocol to improve the UX of cross-chain transfers. Liquidity is sent to users under the router’s consent before the cross-chain message is settled on the optimistic message protocol, i.e., Nomad. The r...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
false
false
## High: Failing Authorization Check Does Not Prohibit Function Call ### Description **Update** Marked as "Fixed" by the client. Addressed in: `d70ee54634af4466feec4a1d7c9716628f60290e`, `c5febb2ad9f3278236f04829aba400e034c8d837`. The client provided the following explanation: > Modified as recommended. The implement...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
true
false
## Low: Mech operators can have the mech call any contract or perform any custom logic ### Description Mech operators can have the mech call any contract or perform any custom logic. This is due to the fact that `OlasMech` inherits from `Mech`, which has the `exec` endpoint: ```solidity function _exec( address 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
access-control
false
false
## Low: Ownership Can Be Renounced ### Description **Update** Marked as "Fixed" by the client. Addressed in: `f295b39`. The client provided the following explanation: > Ownership of Reach.sol is intended to be renounced **File(s) affected:**`Reach.sol, ReachFactory.sol` **Description:** If the owner renounces their...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: The version string is missing from the domain separator allowing submission of signatures in different protocol versions ### Description The version string seems to be missing from the domain separator. According to EIP-712: > Protocol designers only need to include the fields that make sense for their signin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Timelock on emergencyUninstallHook() can be bypassed ### Description The `emergencyUninstallHook()` function is meant to allow the account owner to remove a hook from the account (minus the pre and post checks on the hook). It serves as an alternative to the `uninstallModule()` function, which offers hook 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...
solodit_api
high
ERC1155
false
true
[NameWrapper.sol#L820-L821](https://github.com/code-423n4/2022-07-ens/blob/ff6e59b9415d0ead7daf31c2ed06e86d9061ae22/contracts/wrapper/NameWrapper.sol#L820-L821)<br> [NameWrapper.sol#L524](https://github.com/code-423n4/2022-07-ens/blob/ff6e59b9415d0ead7daf31c2ed06e86d9061ae22/contracts/wrapper/NameWrapper.sol#L524)<br>...
Code4rena
3
ENS
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Failure of USDT token support ### Description The PendlePTRouter contract will fail when interacting with tokens like USDT on mainnet. This happens because the internal functions (_approveIfNotAllowed and _transferFrom) use raw ERC20 calls (token.approve(...) and token.transferFrom(...)). Tokens like USDT ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Editions should be checked if they are actually deployed from the legitimate Escher721Factory ### Description ### Impact For all kinds of sales, the creators create new sales contracts with arbitrary sale data, and the edition is not properly checked. Malicious creators can create fake contracts that impl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LOCs may be immediately liquidatable ### Description If the creation collateral factor (CCF) and the liquidation collateral factor (LCF) are equal, then LOCs that have the same collateral factor (CF) are immediately liquidatable. During the creation of a collateral and credit asset pair, the owner of the Le...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
false
false
## Medium: In `PriceTierVesting` there is no check if the Sequenzer for L2s is up when calling the oralce ### Description Price from oracle on L2s can be invalid/stale if the sequencer is down. This could lead to users being able to claim tokens that they should not be able to claim. ### Impact Receivers can claim 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
other
false
false
## Low: getUserClaimable() can be simplified. ### Description **Description** getUserClaimable() function can be simplified with the usage of internal calculateUserClaimable() function. **Recommendation**: The function can be simplified
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: `Market::liquidate()` will not work when most of the liquidity is borrowed due to wrong liquidator `transferFrom()` order ### Description `transferFrom()` to receive the assets of the liquidator to pay the debt in `Market::liquidate()` is done only after performing the liquidation, making it impossible 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
other
true
false
## Medium: Incorrect refund amount is sent to the tenant if long term reservation is cancelled after approval ### Description `token.longterm_rental.cancellation.percentage` is not deducted from the `token.longterm_rental.deposit_amount` and refunded back to the user as expected after a `cancelreservationafterapprova...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Input Validation ### Description **Update** Most of the missing input validation checks were addressed in commit `43fbe50ab6e77b4ed2b3f2708396fa0fd35132c3`, the only checks that were skipped revolve around duplicates. As this has no further impact on the contracts, but only around possibly duplicated 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: `_fillOrder` should update the vaults before deleveraging ### Description In the \`SettlementBranch.sol\` the deleverage amount is accounted incorrectly. ### Impact The discrepancy will cause incorrect internal accounting which may even lead to insolvency
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Centralization risk as minter accounts can mint 50% tokens to themselves ### Description **Severity**: Low **Status**: Acknowledged **Description** In Contract DevvE.sol, the methods mint(...) and multiMint(...) allow FOREVVER_MINTER and DEVVIO_MINTER to mint 50% of the total tokens. This brings centraliza...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: An attacker can easily bypass the collateral value limit factor checks ### Description The collateral value limit factor checks in `_updateAndCheckCollateral()` are used to check if the current value of used collateral is more than the allowed limit. The problem here is that these checks are not done when w...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Fail fast in `LiquidationBranch::liquidateAccounts` ### Description In `LiquidationBranch::liquidateAccounts` there is no point calling `GlobalConfiguration::load` if the function is going to exit early because `accountsIds.length == 0`. Hence only load global config if this isn't the case. ### 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
high
token
false
false
## High: Treasury is Incompatible with USDT ### Description **Severity**: High **Status**: Resolved **Description** The Treasury.sol contract uses `transfer` and `transferFrom` functions to interact with USDT. However, USDT does not fully comply with the ERC-20 standard and may not revert on failure and it also doe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Limit the rental to a reasonable time, to prevent creating for an unreasonable time by mistake ### Description Currently it seems that the protocol allows rental for thousands of years, that doesn’t make much sense and if a user specifies that by mistake that might lock their tokens forever.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `Treasury.noOfBorrowers` can be set to 0 by looping wei deposit<->withdrawals and DoS withdrawals and reset borrower debt ### Description `Treasury.noOfBorrowers` is [increased](https://github.com/sherlock-audit/2024-11-autonomint/blob/main/Blockchain/Blockchian/contracts/Core_logic/Treasury.sol#L169) when ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: Avoid using real values in the implementation ### Description Calling `initialize()` in the `constructor()` initializes `superchainConfig` and `portal` to `address(0)`, but `otherMessenger` remains `Predeploys.L2_CROSS_DOMAIN_MESSENGER`: ```solidity constructor() CrossDomainMessenger() { initialize({ _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
storage
false
false
## Medium: Use seperate contracts for each gnosis safe ### Description When several DAOs use the same contract for Organizer/PayrollManager, it is difficult to separate the token flows. For a recipient who works for different DAOs, it is hard to see from which DAO the tokens originated. If a bad actor is also using 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
false
false
## High: Balance check for swapToken in ShortLongSpell#_deposit is incorrect and will result in nonfunctional contract ### Description The balance checks on ShortLongSpell#_withdraw are incorrect and will make contract basically nonfunctional ### Impact ShortLongSpell is nonfunctional ### Recommendation Remove check
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Usage of `uints`/`ints` smaller than 32 bytes (256 bits) incurs overhead ### Description > When using elements that are smaller than 32 bytes, your contract’s gas usage may be higher. This is because the EVM operates on 32 bytes at a time. Therefore, if the element is smaller than that, the EVM must use more 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
gas
other
true
false
## Gas: Not using the named return variables when a function returns, wastes deployment gas ### Description It is not necessary to have both a named return and a return statement.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: Use `assembly` to check for `address(0)` ### Description Using `assembly` to check for `address(0)` is gas-efficient. There are `2` instances of this issue: ```solidity File: src/DecentralizedStableCoin.sol 58: if (_to == address(0)) { ``` ```solidity File: src/DSCEngine.sol 103: if (s_priceFeeds[token]...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Assembly Codes Specific – Should Have Comments ### Description Since this is a low level language that is more difficult to parse by readers, include extensive documentation, comments on the rationale behind its use, clearly explaining what each assembly instruction does. This will make it easier for users 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
other
false
false
## Low: The variable can be used instead of reading from the array ### Description There is an `xp_j` variable defined here - https://github.com/curvefi/stableswap-ng/blob/8c78731ed43c22e6bcdcb5d39b0a7d02f8cb0386/contracts/main/CurveStableSwapNG.vy#L1177. This variable can be used in the following calculations - 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...
solodit_api
medium
Pause
true
false
## Severity: Medium Risk ## Context - aave-v2/MorphoGovernance.sol#L358-L366 - compound/MorphoGovernance.sol#L368-L376 ## Description Currently, when a market must be deprecated, Morpho checks that borrowing has been paused before applying the new value for the flag. ```solidity function setIsDeprecated(address ...
Spearbit
5
Morpho
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Possible Duplicate Event Emissions ### Description When a setter function does not check if the value being set is different from the existing one, it becomes possible to set the same value repeatedly, creating the possibility for event spamming. Repeated emission of identical events can also confuse off-chain...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Calling `revealCard()` after `claimableAfter` has passed ### Description When a player guesses the value of a card, the operator is responsible for sending the card's number and salt to the Game contract. The operator has a window of 6 hours to call `revealCard()`. If the operator fails to do so, the winner 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
low
initialization
true
false
## Low: Optimizing Gas Usage in Smart Contracts by Leveraging Default Boolean Values in Solidity ### Description **Severity**: informational **Status**: Unresolved **Location**: Presale.sol, line 319 **Description**: In Solidity, the initialization of variables in smart contracts can have a direct impact on gas c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
true
false
## High: `Voter.poke` does not check `lastVoted` resulting in infinite replication of $FLUX ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/Voter.sol Impacts: - Direct theft of any user funds, whether at-rest or in-motion, other than unclaimed yi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Locked by the max value. ### Description **Description** WithdrawAndDeposit.sol: update(). Parameter “newLargeOracleNonce” is not validated from above. Thus there can be a situation when the oracles passes the max value (or value far after the current largeOracleNonce) in order to block the work of the update...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inability to Remove Tokens from Pool Leading to Maximum Asset Limit ### Description The `addToken()` function allows the contract owner to add new tokens to the pool. The token's address is added to the `allAssets` array, and the token is marked as listed and whitelisted. However, there is no corresponding fun...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Claim During Migration Mode ### Description **Severity** : Low **Status**: Acknowledged **Description**: Users are still able to claim their vested tokens during migration mode, which might not be intended as it can disrupt ongoing migration activities. Allowing claims during migration can lead to potenti...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User can prevent liquidations by frontrunning the tx and slightly increasing their collateral ### Description User can prevent liquidations by frontrunning the tx and decreasing their debt so that the liquidation transaction reverts. ### Impact User can prevent liquidations by slightly modifying their posi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential Denial of Service in Report Generation Due to Underflow ### Description **Update** The team fixed the issue by adding a helper function `getValidatorSkimmedBalance()` that includes the check `if wAmount River.1.sol::_pullCLFunds()` because `collectedCLFunds` will not be equivalent to `_skimmedEth...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Contradictory order handling when lacking parameters ### Description In the [`OrderMixin`](https://github.com/1inch/limit-order-protocol/blob/4d94eea25e4dac6271bfd703096a5c4a4d899b4a/contracts/OrderMixin.sol) contract, the [`fillOrderTo`](https://github.com/1inch/limit-order-protocol/blob/4d94eea25e4dac6271bfd...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Any duration can be passed by node operator ### Description When a node operator creates a minipool they pass which duration they want to stake for. There is no validation for this field so they can pass any field: Later when staking is done. if the node op was slashed, `duration` is used to calculate 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
other
false
false
## Medium: Updating storage variables could soft-brick the protocol ### Description The `Implementation` contract has the [`setRegistry`](https://github.com/emptysetsquad/emptyset/blob/bf9753ef9cd5b17236036257f290e0d0b850a029/protocol/contracts/src/common/Implementation.sol#L73) function which is used to update the ad...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
false
false
## High: Update initializer modifier to prevent reentrancy during initialization ### Description _Submitted by Dravee_ [package.json#L18-L19](https://github.com/code-423n4/2022-04-jpegd/blob/main/package.json#L18-L19) The solution uses: These dependencies have a known high severity vulnerability: * * * Whi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `RATE_MAX_SPEED` in `CryptoFromPoolsRateArbitrum` may fail in case of sequencer downtime ### Description - https://github.com/curvefi/curve-stablecoin/blob/25fb794f1acea1e1d498fab41f6cab9cbdc565e7/contracts/price_oracles/L2/CryptoFromPoolsRateArbitrum.vy#L144-L150 If the sequencer is down and the difference `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: M1 EigenPods can restake and withdraw without proving and burning shares ### Description **Severity:** Critical **Path:** EigenPod.sol:withdrawNonBeaconChainETHBalanceWei#L393-L404 **Description:** The EigenPod offers 2 functions to withdraw ETH directly without proving a withdrawal. The first one is `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
high
other
true
false
## High: Missing debt validation in group transfer function ### Description The `_transferGroups` function fails to complete group transfers when expired tokens are present, creating an inconsistency between the ERC1155 balance tracking and the group array tracking. The function skips over expired token groups during ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Project dependencies contain vulnerabilities ### Description Although dependency scans did not yield a direct threat to the Numerai codebase, `yarn audit` has identified dependencies with known vulnerabilities. Because of the sensitivity of the deployment code and its environment, it is important to ensure dep...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Update Relevant Parts of partial_hash.nr Code to the Latest sha256.nr Library by Aztec ### Description Since the beginning of this audit, Aztec has updated the [`sha256.nr` library](https://github.com/noir-lang/noir/blob/master/noir_stdlib/src/hash/sha256.nr) that is heavily utilized by the `partial_hash.nr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Limitation on same price ticks impedes favorable loans ### Description Borrowers aren't able to borrow liquidity from ticks that have the same price limit. This restriction hinders them from accessing liquidity that could offer more advantageous borrowing opportunities. For instance, consider the scenario whe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
medium
other
true
true
## Medium: Keeper fills market order using incorrect old `marketId` but newly updated position size when trader updates open order immediately before keeper processes original order ### Description Consider the following scenario: 1) A trader creates an order for the BTC market with position size POS_SIZE_A 2) Some ti...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Front-Running
true
true
## Lines of code https://github.com/code-423n4/2022-05-backd/blob/2a5664d35cde5b036074edef3c1369b984d10010/protocol/contracts/BkdLocker.sol#L90-L100 ## Vulnerability details Every time the `BkdLocker#depositFees()` gets called, there will be a surge of rewards per locked token for the existing stakeholders. This e...
Code4rena
5
Backd
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: less ETH bridging from L1 to L2 ### Description Source: https://github.com/sherlock-audit/2023-01-optimism-judging/issues/71 ## Found by tnch ## Summary ## Vulnerability Detail Users can submit deposit transactions on L1 using the [`depositTransaction` function](https://github.com/sherlock-audit/2023...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `CultureIndex.sol#dropTopVotedPiece()` - Malicious user can manipulate topVotedPiece to DoS the whole CultureIndex and AuctionHouse ### Description `CultureIndex` is responsible for the creation, voting and dropping (auctioning off) art pieces. Let’s focus on `dropTopVotedPiece` . The function is used by 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
reentrancy
true
false
## Medium: Lack of Success check of the "Timelock :: executeTransfer()" returned value leads to canceling the tx while emmitting it's been executed ### Description Report type: Smart Contract Target: https://etherscan.io/address/0x3C28B7c7Ba1A1f55c9Ce66b263B33B204f2126eA#code Impacts: - It will impact the functiona...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Call to Royalty Engine can block NFT auction ### Description `_generateValidOrderParameters()` calls `ROYALTY_ENGINE.getRoyaltyView()` twice. The first call is wrapped in a try/catch. This allows Astaria to continue even if the `getRoyaltyView()` reverts. However, the second call is not safe from this. Bot...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
false
false
## Low: Interface Mismatch ### Description The `L2WethBridge` utilizes the `L2EthToken` contract to bridge ETH from L2 to L1. The WETH bridge passes along additional data that encodes the recipient of the wrapped ETH on L1. Following the latest code change before this audited commit, this is realized through the [`wit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
true
false
## Low: Unnecessarily default safe math computation ### Description **Severity**: Informational **Status**: Resolved **Description** In TradingVaultV2.sol - By default arithmetic operations in soldity v0.8 are safe which incurs more computation. It is a good practice to avoid that extra computation if we are assure...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [09] Necessary changes to `foundry.toml` ### Description We had to introduce a few changes to `foundry.toml`. On the one hand, a couple of dependencies were missing, so we've introduced them for the project to compile. On the other hand, the fuzzing/invariant test settings have been in our opinion very low, 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
storage
false
false
## Medium: Exchange rate not updated properly ### Description The `execute_bond` function of the **basset\_inj\_hub** contract allows delegating to the validators a certain amount of staking, as well as to calculate the amount of binj/stinj tokens to be minted in exchange. At some point in the function, the **binj** ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
dos
false
false
## Low: Hard-coded slippage in `pUSDeDepositor::deposit_viaSwap` can lead to denial of service ### Description [Hard-coded slippage](https://dacian.me/defi-slippage-attacks#heading-hard-coded-slippage-may-freeze-user-funds) in `pUSDeDepositor::deposit_viaSwap` can lead to denial of service and in dramatic cases even [...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The refund address in `WormholeAdapter` can be different in different chains ### Description `REFUND_ADDRESS` in `WormholeAdapter` is immutable. However, the address of the controller can be different in different chains. Using one `WormholeAdapter` for multiple chains can lead to the loss of gas refund. 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
low
storage
true
false
## Low: [05] Vulnerable left padding when decoding storage slot values returned from `secureMerkleTrie.get` ### Description When getting values from a storage slot by slot index (`GatewayVM::getStorage`), `EthVerifierHooks::verifyStorageValue` assumes the value of the slot could be less than 32 bytes, and will left-pa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential Sensitive Information Disclosure Through Error Logging ✓ Addressed ### Description Both the kernel and gator snaps log complete error objects and unvalidated request data. This might expose internal and sensitive information like stack traces, API endpoints, and user input to browser logs. While loc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: “Dispute” state is not among possible transaction states ### Description The [error message](https://github.com/OpenBazaar/smart-contracts/blob/c4f02cdd41cb85d28bba637a01f20a8ee8bb04bd/contracts/escrow/Escrow_v1_0.sol#L75) in the [`inFundedState`](https://github.com/OpenBazaar/smart-contracts/blob/c4f02cdd41cb...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unpredictable Behavior Due to Admin Front Running or General Bad Timing ### Description In a number of cases, administrators of contracts can update or upgrade things in the system without warning. This has the potential to violate a security goal of the system. Specifically, privileged roles could use 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
signature
true
false
## Low: [07] Function `_verifyCall()` doesn't check for EOAs ### Description The function `_verifyCall()` calls a `logicVerifier` without checking if this is a contract or an EOA. Whereas function `isValidSignature()` first checks if the `owner` is an EOA. The risk is limited because the checks in `_verifyCall()` wil...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
high
totalSupply() = 0
true
false
## Severity: Critical Risk **Context:** SharesManager.1.sol#L195-L206 **Description:** An attacker can brick or lock all deposited user funds and also prevent oracle members from reaching a quorum when there are earnings to be distributed as rewards. Consider the following scenario: 1. The attacker forcefully sends ...
Spearbit
5
Liquid Collective
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Loss of precision due to rounding ### Description ## Non-Critical Issues Summary | Number |Issues Details|Context| |:--:|:-------|:--:| | [N-01]|Critical Address Changes Should Use Two-step Procedure|5| | [N-02] |Initial value check is missing in Set Functions |4| | [N-03] |Use a single file for all system-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
oracle
true
false
## Medium: `TapOracle` TWAP duration for Uniswap Oracle should be at least 30 mins ### Description **Severity** **Impact:** High, will cost loss of funds for oTAP options exercise **Likelihood:** Low, this could occur when liquidity is not spread over a wide range (e.g. during protocol launch) **Description** `Tap...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Use `addressNotZero` modifier on `USDCBridgeV2::setBridgeAddress` ### Description Use `addressNotZero` modifier on `USDCBridgeV2::setBridgeAddress`: ```diff - function setBridgeAddress(uint16 _chainId, address _bridgeAddress) external override onlyRole(DEFAULT_ADMIN_ROLE) { + function setBridgeAddress(uint...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `getLatestData` Does Not Check If Arbitrum Sequencer Is Down In Chainlink Feeds ### Description **Severity** - Medium **Status** - Resolved **Description** When utilizing Chainlink in L2 chains like Arbitrum, it's important to ensure that the prices provided are not falsely perceived as fresh, even 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
medium
token
true
false
## Medium: Malicious admin combing with low-level call can steal funds from user or form ### Description The intended functionality of `_dispatchTokens` is to enable users to bridge tokens or conduct token swaps through the 1inch exchange, utilizing low-level calls (see `LiquidityHandler.sol#L33`): ```solidity 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
low
signature
true
false
## Low: [07] `verifyECDSA` can have strict equality ### Description ### Issue Description Function which is used to check the validator signatures uses **greater than or equal to (`≥`)** when comparing to the validator threshold number. Indeed such check is not needed because the for loop is terminated as long as 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
initialization
false
false
## Medium: `_timestampLU` can be equal to 0 ### Description `_timestampLU` can be equal to 0, for example in constructor: https://github.com/Gearbox-protocol/gearbox-contracts/blob/0ac33ba87212ce056ac6b6357ad74161d417158a/contracts/pool/PoolService.sol#L209 https://github.com/Gearbox-protocol/gearbox-contracts/blob/0a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A malicious voter can potentially block a vote ### Description At line https://github.com/lidofinance/aragon-apps/blob/7e5cd1961697a1bc514bfebdeab08a296e51d700/apps/voting/contracts/Voting.sol#L368 a voter can change their vote. The malicious voter can initially vote `yes` misleading other users about their 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: `takeClaimingSnapshot()` call will lead to an inconsistent state ### Description This function can block the ongoing distribution event until the funds are paid or the event parameters are returned back. https://github.com/FantiumAG/smart-contracts/blob/b4acd978e25289becc640f75eb5921e760b83720/contracts/cla...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: User may lose rewards if the receipt is minted after quest end time ### Description After completing a task in the context of a quest, a user receives a signed hash that needs to be redeemed on-chain for a receipt that can later be claimed for a reward. The receipt is minted in the `mintReceipt` function p...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Alchemix : The first epoch's ALCX emissions of voter contract will be stuck forever. ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/Voter.sol Impacts: - Permanent freezing of unclaimed yield ## Description ## Brief/Intro - During each ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
true
false
## Low: Missing minimum deposit enforcement ### Description The `Licredity::depositFungible` function does not enforce a minimum deposit size. This allows users to create or add to positions with extremely small, economically insignificant amounts of collateral (i.e., "dust"). ### Impact Allowing dust deposits can le...
0