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
high
initialization
false
false
## High: Attacker Can Break Buying Nfts From Market ### Description **Update** The team fixed the issue in commit `bea3d4d3da201443ec3df744b204a1e6155ca8a2` by adding the initial WETH balance to the initial ETH balance before making the comparison. **File(s) affected:**`ParticleExchange.sol` **Description:** The `_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
low
other
false
false
## Low: `_l2Destination` in the `migrate` Function ### Description A potential refinement opportunity has been found in the `migrate` function of the `LGEStaking` contract. Current function parameters do not include a check to prevent certain addresses (`ozUSD` and `wozUSD` on L2) from being used as the Layer 2 (`_l2D...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Ambiguous owner terminology creates confusion in access control of SecuritizeVault ### Description **Description:** SecuritizeVault implements two different ownership concepts that create confusion in access control. It uses a custom `OWNER_ROLE` for vault operations (deposit/redeem) while inheriting `Ownab...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: MarginTradingHook users could potentially be DOSed ### Description The `refundNative` modifier unwraps and sends a native coin to the `msg.sender` at the end of the function execution. However, it could send native even if the case function call was not related to native coin trading - for example, if wrapp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: DOS attack on the Nomad Home.sol Contract ### Description ## Severity: High Risk **Context:** Home.sol#L332, Queue.sol#L119-L130 **Description:** Upon calling `xcall()`, a message is dispatched via Nomad. A hash of this message is inserted into the merkle tree and the new root will be added at the end of ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Solidity Optimizor ### Description Solidity Gas Optimizor not set in configuration or documentation or policy ### Impact This can result in using optimizer settings that are no best for reducing gas costs for the users. The more the runs e.g 10,000 the cheaper the gas costs for functions for users. The small...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Missing NatSpec comments ### Description Some of the functions have missing or incomplete [Ethereum Natural Specification Format](https://solidity.readthedocs.io/en/latest/natspec-format.html) (NatSpec) comments. * [the `publishPendingConfig` function](https://github.com/UMAprotocol/protocol/blob/1631ef7ad29...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Splitting `require()` statements that use `&&` saves gas ### Description See [this issue](https://github.com/code-423n4/2022-01-xdefi-findings/issues/128) which describes the fact that there is a larger deployment gas cost, but with enough runtime calls, the change ends up being cheaper *There are 15 instance...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `miladyAuthority` Should Be a Multi Sig ### Description **Update** The client provided the following explanation for their fix > The recommendation to make the `miladyAuthority` address a multisig is infeasible, for the following reason: > > > The `miladyAuthority` address will be a server that responds 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: Missing validation for balance tracker in _requestBatch ### Description The function `_requestBatch` in `MechMarketplace.sol` retrieves the balance tracker contract from `mapPaymentTypeBalanceTrackers[paymentType]`. However, there is no validation ensuring that a valid contract address is assigned before usage...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## High: Slashing Mechanism May Allow Some Users to Overclaim Rewards and Cause DoS for Other Users ### Description **Update** Marked as "Fixed" by the client. Addressed in: `eea500eec3bb75595d5e49a5ba35779bc76494b3`and `ef2536b6394f33ea43f339d197bf405ac224fdbd`. The client provided the following explanation: > By 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
gas
initialization
true
false
## Gas: Don't Initialize Variables with Default Value ### Description Uninitialized variables are assigned with the types default value. Explicitly initializing a variable with it's default value costs unnecesary gas.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insecure AES Encryption Mode ### Description During encryption and decryption routines performed when creating new wallets, AES in CBC mode is used, which is known to present several weaknesses. **Padding Oracle Attacks (on CBC):** * CBC mode requires padding to make the last block of plaintext the same s...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Consider a two-step ownership transfer ### Description **Description:** In the `SolidtlyV2-memecore` contracts the owner is set as `msg.sender` in `SolidlyV2Factory` when deployed. It can also be changed using `SolidlyV2Factory::setOwner`: Here there's a risk that the owner is lost if the new address not 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
low
other
true
false
## Low: All repo 's ownership can be removed if Github/Gitlab goes down for 5 seconds ### Description The Drips protocol uses an asynchronous Gelato task to update repository ownership. Users will call the `RepoDriver` contract to emit an `OwnerUpdateRequested` event. Based on this task, the Gelato task will trigger, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [08] `release()` is vulnerable to racing conditions against permissionless `lockAndBurn()`, users might lose released refunds ### Description *Note: The sponsor team decided to mitigate this QA finding that was outside of the winning QA report. This downgraded issue from the same warden has been included in 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...
solodit_api
medium
other
false
true
## Lines of code https://github.com/code-423n4/2022-12-tigris/blob/588c84b7bb354d20cbca6034544c4faa46e6a80e/contracts/Trading.sol#L857-L868 ## Vulnerability details ## Impact Trade delay will not work correctly on Arbitrum allowing users to exploit multiple valid prices ## Proof of Concept function _checkDe...
Code4rena
5
Tigris Trade
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Upgradable escrow contract ### Description _Submitted by gzeon_ Upgradable escrow contract poses great risk to user who approved their NFT to the contract. Most popular token / NFT exchange do not require user to approve their asset to admin upgradable contract. This also increases user gas usage because ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
token
false
false
## Medium: Need to make sure the tokens are unique for ImmutableTokens ### Description The current implementation does not enforce uniqueness in the `_tokens` of `ImmutableTokens`. Assuming `_tokens[0]=_tokens[1]`. An honest liquidity provider calls `addLiquidity([1 ether,1 ether], 200 ether, address)`, resulting 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
true
false
## Medium: PREDICTABLE SALT (COLISSION ATTACK RISK) ### Description The codebase used in different code points a predictable salt value (`const salt = "this is salt"`), which could lead to a collision attack risk. A predictable salt could allow an attacker to precompute address collisions if they can anticipate the 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
medium
other
false
false
## Medium: Unchecked NFT ownership in ticket casting ### Description ## getLotTicket Instruction Overview The `getLotTicket` instruction allows the owner of an NFT to obtain raffle tickets. However, it does not verify that the NFT is actually owned by the invoker. This allows an attacker to obtain raffle tickets by s...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: `renounceOwner` can be called by anyone ### Description The issue is identified within the function [`renounceOwner`](https://github.com/diadata-org/prestaking-contracts/blob/6ee4beee6cbcdb3b7e7ea1feb9a8b1192bc8c8ba/prestaking/src/roles/PreStakingRoles.sol#L35) of contract `PrestakingRoles`. It is possible 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: Unnecessary usage of approve ### Description In commands `Commands.CURVE_REMOVE_LIQUIDITY` and `Commands.CURVE_REMOVE_LIQUIDITY_ONE_COIN` in Dispatcher code calls `_ensureApproved(lpToken, pool, lps)` which isn't necessary.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [3] ### Description In functions `unsafeOverrideBlock()` and `setNewBlock()` of SystemContext, code should check that timestamp is less than `BLOCK_INFO_BLOCK_NUMBER_PART`, otherwise it can overflow and change the block number when combining them to calculate block info. https://github.com/code-423n4/2023-03...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Explicit Assertions to Improve Error Messages ### Description Several functions in `ditto_staking` already contain explicit assertions to check that the protocol has been initialized: Consider adding this assertion to the following functions in `ditto_staking` which also require the protocol to be initia...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 - [Exchange.sol#L540](https://github.com/code-423n4/2022-11-non-fungible/blob/main/contracts/Exchange.sol#L540)
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Cyclomatic complexity ### Description Detects functions with high (> 11) cyclomatic complexity. There are 1 instances of this issue:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Code Refactoring ### Description ## Assessment of `wns::buy_spl` and `amm::pool` Issues 1. In `wns::buy_spl`, `list_ta` should ideally be an associated token account (ATA) instead of an arbitrary token account. ATAs are linked directly to the owner and mint. This guarantees that the `list_ta` belongs to 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: Lack of validation ### Description Throughout the codebase, there are places where a proper input/output validation is lacking. In particular: * The [`inverse`](https://github.com/bancorprotocol/contracts-v3/blob/b2224595afab14827ee065cb65a1444d61689fb3/contracts/utility/FractionLibrary.sol#L52-L73) and [...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: Fault game factory can be manipulated to DOS game type using malicious `l2BlockNumber` ### Description All new games are proven against the most recent L2 block number in the `ANCHOR_STATE_REGISTRY`. This includes requiring that the block number we are intending to prove is greater than the latest proven bl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Fee overcharging arising from precision issues ### Description Severity: Low Risk Context: Pair.sol#L178 Description: The calculation of fees can result in overcharging for swaps involving high-value tokens with low decimal precision (such as WBTC and GUSD). Proof of Concept: // SPDX-License-Identifier: MIT 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
high
token
true
false
## High: `Bridge` is unable to transfer ownership and upgrade on `ERC721Bridgeable` ### Description The admin function is missing in the contract `Bridge` to transfer ownership on `ERC721Bridgeable` or change the implementation address on `ERC721Bridgeable` proxy. ### Impact * Bridge which is the owner of `ERC721Brid...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiple accesses of a mapping/array should use a local variable cache ### Description The instances below point to the second+ access of a value inside a mapping/array, within a function. Caching a mapping's value in a local `storage` or `calldata` variable when the value is accessed [multiple times](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
other
true
false
## Medium: executeCall will always revert when sending native tokens ### Description `executeCall` and `executeMultiCall` are both payable functions that accept a `Call` struct as an argument. These functions use OpenZeppelin's `Address.functionCallWithValue` function to make an arbitrary call to the target address, 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...
skyward_49k
low
liquidation
true
false
## Low: Liquidations may fail if bundle unwrapping reverts ### Description It's possible for liquidations to fail if unwrapping reverts from the following causes: 1. **Gas Limit Exceeded**: Gas incurred exceeds block gas limit. Wrapping can be performed without interacting with the protocol, but there's additional ga...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Staker contract missing in `LT` contract post-creation ### Description _Resolved_ In the Factory contract, the `add_market` function creates a staker contract for the market if `staker_impl` is provided. However, the code doesn't set this newly created staker in the corresponding LT contract. Therefore, 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: Unclear Specifications of Fee Accounting and Associated Invariants ### Description **Update** Native team has modified the code to clarify the flow of fee accumulation to both LP token holders and the protocol itself (included in the fix for issue [NATv2-2](https://certificate.quantstamp.com/full/native-v-2...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Lack of implementation to remove the whitelisted address ### Description **Description:** In Shop.sol ,mapping mapping(uint256 => mapping(address => bool)) storeIdToUserInWhitelist;is used to store the whitelisted address for each store id. The whitelisting process is done by onlyStoreManagers with help 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
access-control
true
false
## Low: Non compliance with Curve implementation ### Description ##### Description ### Context The `stable-amm` is an implementation of Curve's stable swap, and the `Halborn` team verified the proper implementation by inspecting the differences with the `SwapTemplateBase.vy` contract from the [b0bbf77](https://githu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
false
false
## Low: Use `safeMint()` Instead of `mint()` ### Description Using `ERC721::_mint()` can mint ERC721 tokens to addresses which do not support ERC721 tokens, while `ERC721::_safeMint()` ensures that ERC721 tokens are only minted to addresses which support them. Both `publicMint()` and `preMint()` methods in `TokTokNft...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [14] Protocol hashes do not use `EIP712` ### Description ### Issue Description Signatures that validators provide in order to validate the messages are not compliant with the `EIP712`, as a result they will be unreadable by wallets as `Metamask` and can pose some difficulties for the signers. The most crucia...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Emit missing event information ### Description **Description:** Emit missing event information: * `YieldDistributed` should have the `timestamp` parameter in addition to the amount **Syntetika:** Fixed in commit [f4305a6](https://github.com/SyntetikaLabs/monorepo/commit/f4305a630d731455477a9979a9bb9bbdba541f0...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing a cap for GameFactory fee ### Description The function `setGameCreationFee()` allows the owner to set a new `gameCreationFee` percentage for a given instance. However, there is no upper limit or cap defined for the `_gameCreationFee` parameter: This could potentially allow for an excessively high fee...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Create setters for external call parameters interaction ### Description The `TruglyMemeception.sol` contract relies on third-party contracts to operate as expected. The `UNCX_LiquidityLocker_UniV3.sol` contract is used to store the LP position from the first deposit on the Uniswap V3 pool. To utilize this 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...
cyfrin_structured
low
access-control
false
false
## Low: `MembershipERC1155` should use OpenZeppelin upgradeable base contracts ### Description `MembershipERC1155` is an implementation contract intended for use with `TransparentUpgradeableProxy`, controlled via an instance of `ProxyAdmin`; however, it does not utilize the OpenZeppelin upgradeable contracts which 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
gas
token
true
false
## Gas: Get `targetIndex` from mapping instead of iterating ### Description Gas savings: a few thousands (see below) The following code is used at the [BasketLib](https://github.com/reserve-protocol/protocol/blob/c4ec2473bbcb4831d62af55d275368e73e16b984/contracts/p1/mixins/BasketLib.sol#L196-L198) to find the index o...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Outdated interest rate ### Description **Severity**: Medium **Status**: Acknowledged **Description** In Contract PToken.sol, the methods `borrowRatePerBlock(...)` and `supplyRatePerBlock(...)` uses interestRateModel contract’s getBorrowRate() and getSupplyRate(). Further, getBorrowRate() and getSupplyR...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Remove unused code ### Description **Description:** **Wormhole:** Fixed in commit 6208dd1. **Cyfrin:** Verified. \clearpage
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Cumulative Value Used To Update Perp LpState ### Description ## PerpEngineState Contract Update In the `PerpEngineState` contract, the `updateStates` function updates the base balance of `lpState` (pool) by using the `updateBalance` function. For this, it requires a `lastCumulativeFundingX18` so ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Prefer two-step pattern for role transfers ### Description The `Upgradeable1155` contract inherits from `OwnableUpgradeable` which uses a single-step pattern for ownership transfer. It is a best practice to use two-step ownership transfer pattern, meaning ownership transfer gets to a "pending" state and the ne...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: 2] Lack of Slippage Protection During Graduation in BondingCurvePool ### Description **Severity:** Medium **Path:** contracts/BondingCurvePool.sol#L253-L260 **Description:** When the `BondingCurvePool` has sold all its tokens, it calls `graduateToken` and sends all collected Ether to the Zealous Swap Rou...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `ExponentiationImpl::pow()` returns `0` for `0^0` ### Description The [`ExponentiationImpl::pow()`](https://github.com/kkrt-labs/kakarot-ssj/blob/d4a7873d6f071813165ca7c7adb2f029287d14ca/crates/utils/src/math.cairo#L39) function in `math.cairo` incorrectly returns `0` when computing `0^0`, instead of the ma...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
signature
false
false
## High: Missing await in asynchronous validation functions ### Description The `runTask` and `sendTask` functions use the `verifyIntent` method to validate the integrity of user-provided data (`signableUserTasks`, `ethereumAddress`, and `tasksSignature`). However, the `verifyIntent` function returns a Promise, and 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
oracle
true
false
## Medium: setIncentiveSettings would be halt during a rebalance operation that gets stuck due to supply cap is reached at Aave ### Description setIncentiveSettings would be halt during a rebalance operation that gets stuck due to supply cap is reached at Aave ### Impact setIncentiveSettings would be halt. ### Recom...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: curatePool emits Curated event no matter what ### Description ## Handle paulius.eth ## Vulnerability details ## Impact function curatePool emits Curated event every time. It should emit this event only when the conditions are fulfilled. ## Recommended Mitigation Steps Put this event inside the most inner ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unused imported interface `IVisorService` ### Description _Submitted by shw_ The imported interface `IVisorService` in the contract `Visor` is not used. Recommend considering removing this import. **[xyz-ctrl (Visor) acknowledged](https://github.com/code-423n4/2021-05-visorfinance-findings/issues/71#issueco...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wrong accounting for totalBorrowed in the InfinityPool.writeOff function ✓ Fixed ### Description Here is a part of the `InfinityPool.writeOff` function: **code/src/Pool/InfinityPool.sol:L271-L287** ``` // transfer the assets into the pool // whatever we couldn't pay back uint256 lostAmt = principalOwed > ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect DaoStorage Event Type ### Description ## DAO Storage Withdraw Event Correction The function `dao_storage::withdraw` emits an incorrect event type, `CoinDepositedEvent`, when the withdraw functionality is completed. ## Remediation Change the event handle to `coin_withdrawn_handle` and the event typ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
logic
true
false
## Medium: Incorrect calculation of keeper reward ### Description The keeper reward is calculated as ``` (keeperGas * tipPercent / 100) / 1e18 ``` The division by `1e18` is incorrect and undervalues the reward for the keeper. The tip part of the keeper reward is essentially ignored. The likely cause of this miscalc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [04] Unbounded loop ### Description There are multiple instances of loops executing external calls where the number of iterations is unbounded and controlled by the number of derivatives. This is not an issue on the current setup, since there are only three derivatives. However, if a large amount of derivati...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Missing Trade Count Updates in `reversed_swap` Function for Buy Orders ### Description **Description:** The `reversed_swap` function used for `buy` orders in `swap` operations fails to properly track and return `trade` counts, leading to incorrect trade statistics being written to the state. This inconsiste...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The uniTransferFrom function can potentially be used with invalid params ✓ Fix Unverified ### Description The system is using the `UniERC20` contract to incapsulate transfers of both ERC-20 tokens and ETH. This contract has `uniTransferFrom` function that can be used for any ERC-20 or ETH: **code/contract...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
true
false
## High: User can divide big deposit/withdraw into small parts to reduce tax ### Description **Severity** **Impact:** Medium **Likelihood:** High **Description** Tax to pay depends on how much deposit/withdraw makes current asset concentration deviate from the target value, therefore big amounts will pay bigger ta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Frozen Vesting Possible ### Description ## Periodic Vesting Concerns With very large `num_periods` or `period_duration` in periodic vesting, it is possible to specify a schedule that never vests, resulting in tokens being non-withdrawable. ## Code Snippet ## Remediation It may also be good practice to lim...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 clear TODO-comment ### Description It's not clear what is that `TODO` about https://github.com/nucypher/nucypher/blob/main/nucypher/blockchain/eth/sol/source/contracts/staking_contracts/PoolingStakingContractV2.sol#L226 ### Recommendation Add more details into commentary
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Accidental Token Burn Risks in New Transfer-to-Token Contract Mechanism ### Description **Update** The client acknowledged the issue and provided the following explanation: > This design was intentional. On our side, we will make sure that this is properly explained to the holders of the token, and in the use...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Reentrancy allows manipulation of voting power ### Description The owner of the `CHNStaking` contract is the `CHNTimelock` contract, that means if a proposal passes all kind of tokens can be added via the `add()` function.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
true
false
## High: `Kelp:_finalizeCooldown` cannot claim the withdrawal if adversary would requestWithdrawals with dust amount for the holder ### Description If an adversary calls `LidoWithdraw.requestWithdrawals` with some dust stETH amount and the `KelpCooldownHolder`'s address, the withdrawal will be locked. It cannot be res...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: rmational - Extreme misconfiguration could cause loss of tokens or early unlocks ### Description ## Code Explanation The following code snippet demonstrates how to set the `lockEnd` variable in a smart contract: ## Logic Analysis The logic behind this line is as follows: - The expression `uint32(block.time...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Trading disabled in the first block after enabling when IPO is disabled ### Description _Resolved_ When `IPO_FEE_DURATION` is set to `0` (IPO disabled) and trading is enabled for a player, the contract temporarily blocks all buy transactions in the same block. If IPO is disabled, the `IPO_FEE_DURATION` is se...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Add proposeRemoveWL to NftEth Contract . . . . . . . . . . . . . . . . . . . ### Description ## NftEth Contract Whitelisting Details The NftEth contract uses `proposeAdditionWL` to whitelist lender contracts, which have access to mint NftEth tokens. ## Code Snippet ## Recommendations It is recommended to h...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `internal` functions not called by the contract should be removed to save deployment gas ### Description If the functions are required by an interface, the contract should inherit from that interface and use the `override` keyword *There are 2 instances of this issue:*
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Unused Imports, Errors and Events ### Description Throughout the code in scope, there are several instances where the imports, errors, and events are declared but never used. In `PriceFeedManagerEvents.sol` : * `event PriceProviderRemoved(address indexed token);` In `RemoteRegistryEvent.sol`: * `event Remo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## High: Users can exploit TVL during EVM to L1 transfer causing share inflation ### Description **Users can exploit TVL calculation during EVM to L1 transfer, leading to share inflation** The `HyperliquidEscrow` contract is responsible for holding assets and calculating the total value locked (TVL) for a vault 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
other
false
false
## High: Chain halt as VerifyVoteExtensionHandler is not guaranteed to run ### Description Late/slow precommit votes, after +2/3 votes do not trigger VerifyVoteExtensionHandler. `ProcessProposalHandler` expects all vote extensions to be valid. Single malicious/misbehaving validator can inject invalid vote extension 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: Missing Documented Access Control for `batchRelease()` Function ### Description **Update** Marked as "Fixed" by the client. Addressed in: `1fe891a`. **File(s) affected:**`CampTimelockEscrowNativeOFT.sol` **Description:** The README document suggests that the contract allows the batched release of matured 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
low
other
false
false
## Low: Reorder Require Statements ### Description **Severity**: Informational **Status**: Acknowledge **Description**: The require statement on line 188 and the require statement on line 194 should be interchanged so as the simpler require statement is ran first so the contract fails with less gas as possible 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
reentrancy
true
false
## Gas: Using `bool`s for storage incurs overhead ### Description https://github.com/OpenZeppelin/openzeppelin-contracts/blob/58f635312aa21f947cae5f8578638a85aa2519f5/contracts/security/ReentrancyGuard.sol#L23-L27 Use `uint256(1)` and `uint256(2)` for true/false to avoid a Gwarmaccess (**[100 gas](https://gist.github....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
Reentrancy
false
true
[Market.sol#L464](https://github.com/code-423n4/2022-10-inverse/blob/cc281e5800d5860c816138980f08b84225e430fe/src/Market.sol#L464)<br> Markets can be deployed with arbitrary tokens for the collateral, including ERC777 tokens (that are downwards-compatible with ERC20). However, when the system is used with those token...
Code4rena
5
Inverse Finance
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use descriptive names for Contracts and Libraries ### Description This codebase will be difficult to navigate, as there are no descriptive naming conventions that specify which files should contain meaningful logic. Prefixes should be added like this by filing: - Interface I\_ - absctract contracts Abs\_ - L...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Users can lose funds because of incorrect SY token configurations in the YTMinter contract ### Description The YTMinter contract owner can update the storage values of the `sy_minter_address` and `sy_wallet_address` variables using two different operations. Not keeping these variables in sync can result in 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
medium
front-running
false
false
## Medium: Anyone can set the `marketmaker` address ### Description This issue has been identified within the [changeMarketMakerAddress](https://github.com/longgammalabs/hanji-contracts/blob/70b15ec4d9e7578248141604503843716a67d875/src/HanjiLOB.sol#L313) function of the `HanjiLOB` contract. The function allows 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
low
token
false
false
## Low: ShareToken contract details ### Description The [`decimals`, `name` and `symbol` variables](https://github.com/mcdexio/mai-protocol-v2/blob/4b198083ec4ae2d6851e101fc44ea333eaa3cd92/contracts/token/ShareToken.sol#L8-L10) of the `ShareToken` contract are explicitly defined. While OpenZeppelin Contracts are alrea...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
initialization
false
false
## Gas: Move mode check to PosManager. ### Description To decrease size of InitCore contract, you can [move 0 mode check](https://github.com/code-423n4/2024-01-init-capital-invitational/blob/main/contracts/core/InitCore.sol#L163) to the PosManager.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Anyone Can Pause the `ReserveFund` Liquidation Coverage ### Description **Update** Functions `pause()` and `unpause()` are now protected by `onlyOperator`. Addressed in `af435086b82299f4f630e8554b875fdd3d19d3c9`. **File(s) affected:**`ReserveFund.sol` **Description:**`ReserveFund` contract implements a paus...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: PAIR KEY CAN CONTAIN DUPLICATED ASSETS ### Description The `update_pair_config` function in the **swap-extension/swap\_sparrow** contract does not verify that `asset_infos` contains different assets, which could allow that the owner mistakenly registers an invalid pair of assets in the contract. Code Location...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `executeBatch()` Can Be Used to Bypass Other Selector's Validation Hook Execution ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > We will commit to clearly describing the implications of global validations and modules allowed to validate `exe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
dos
true
true
## Severity **Impact:** High, this bypass the designed deregister flow and doesn't delete worker from active workers list. **Likelihood:** Medium, as long as not currently active, worker can directly withdraw without deregister as a worker. ## Description The designed flow and expected worker's behavior for withdra...
Pashov Audit Group
5
Subsquid
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: DoS: Attacker may significantly increase the cost of `withdrawExcessRewards()` by creating a significant number of excess receipts ### Description _Submitted by AuditsAreUS, also found by 0x52, 0xf15ers, and pedroais_ An attacker may cause a DoS attack on `withdrawExcessRewards()` by creating a excessive 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
other
true
false
## Low: Use delete to clear variables instead of zero assignment ### Description You can use the delete keyword instead of setting the variable as zero.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Division before multiplication result in loss of token reward if the reward update time elapse is small ### Description Division before multiplication result in loss of token reward ### Impact Division before multiplication result in loss of token reward if the reward update time elapse is small ### Recom...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
token
true
true
## Low: Withdraw can return zero tokens while burning a positive amount of shares ### Description Invariant fuzzing found an edge-case where a user could burn an amount of shares > 0 but receive zero output tokens. The cause appears to be a rounding down to zero precision loss for small `_shares` value in `BeefyVaultC...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Storage variables are read multiple times in the functions. ### Description **Severity**: Informational **Status**: Acknowledged **Description** Raferee.sol L111-112: rewardPerSecond variable Raferee.sol L241-264: batchReward variable Raferee.sol L231, L259: rewardPerSecond variable Raferee.sol L272, 27...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 @param NatSpec comment for _key inAssetLogic._swapAsset is incorrect ### Description The `@param` NatSpec for `_key` indicates that this parameter is a canonical token id where instead it should mention that it is a hash of a canonical id and its corresponding domain. We need to make sure the correct value...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `SablierFlowBase` Lacks `EIP-165` Compliance for `EIP4906` Interface Support ### Description The `SablierFlowBase` contract does not adhere to the `EIP4906` standard, as it fails to implement the required `supportsInterface(bytes4)` function to confirm compatibility with the `IERC4906` interface. This omission...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Misspelled Word ### Description ## Merchant BTC Address Correction The `set_merchant_btc_address` function contains a minor spelling error. The variable `new_merchant_btc_addresss` contains an extra 's' at the end, which is likely unintentional and should be corrected. ## File Reference `src/instructions/se...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
false
false
## High: Adversary manipulate the middle path when calling `execute_dca_order`, resulting user loss, benefiting the attacker ### Description Adversary manipulate the middle path when calling `execute_dca_order`, resulting user loss, benefiting the attacker ### Impact User will get a bad rate (far from the normal rate...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
true
false
## High: Users cannot claim rewards from `RevenueHandler` if they update a veALCX lock time to max lock. ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/VotingEscrow.sol Impacts: - Permanent freezing of unclaimed yield ## Description ## Brief/In...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
true
false
## Low: Interaction with uniswap quoter during deposits ### Description AegisVaultCore.sol interacts with uniswap quoter contract. It is used during deposits to calculate how much a user would get if they swapped on the targetVault. However, Uniswap Quoter can be gas-intensive and is not designed to be used onchain,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 limit on repeated withdraw requests ### Description _Acknowledged_ The functions makeWithdrawRequest and cancelWithdrawRequest allow an address with allowance to execute withdrawal-related actions. This check only ensures the spender has allowance ≥ shares, but it does not consume allowance or limit t...
0