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
dos
false
false
## Low: Bulk Coin Sends ### Description For blockchains that support custom token transfer logic, such as blacklists for specific tokens like USDC, it is crucial to ensure that all token transfers in the Begin/EndBlock stages properly handle and catch potential panics. While this is generally a straightforward task, 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
token
false
false
## Low: `LyLevel` ERC-20 Discrepancy ### Description **Update** Acknowledged. The token does not inherit from OpenZeppelin's ERC20. The client's response: "We acknowledged the issue and decided not to make any changes in the current version, because lyLVL is designed not to use as a typical ERC20. This is a poor abstr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
logic-error
true
false
## Low: Arbitrary controller addresses can be passed to `DistributionManager::setModuleForController` without validation of the corresponding gauge addresses ### Description The DAO can currently pass any arbitrary controller address in calls to `DistributionManager::setModuleForController`; however, this logic should...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potentially undetected underflow In assembly ### Description ## Severity: Low Risk **Context:** LSSVMPair.sol#L447-494, LSSVMPairERC20.sol#L24-32 **Description:** Functions `factory()`, `bondingCurve()`, `nft()`, `poolType()`, and `token()` have an assembly-based calculation where the `paramsLength` is 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
low
other
false
false
## Low: Upgradability ### Description **Update** The Blex team acknowledged the issue and indicated that they will move to timelocked upgrades in the future. **File(s) affected:**`./contracts/market/OrderMgr.sol`, `./contracts/market/PositionAddMgr.sol`, `./contracts/market/PositionSubMgr.sol`, `./contracts/ac/AcUpgr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Extended commands read the wrong index from the array ### Description Severity: Medium Risk Context: VM.sol#L49 Description: VM commands contain a 1-byte flag argument which uses each bit to identify additional features and calltype. Command structs would normally contain only a 6-byte list of indices . Howe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: missing a way to remove `collTokens` from `Config.sol`, which could be dangerous in the long run as some token could go rogue (or an upgrade). ### Description **[fez-init (INIT) acknowledged](https://github.com/code-423n4/2023-12-initcapital-findings/issues/35#issuecomment-1870331709)** **[hansfriese (Judge) ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: Lack of event emissions ### Description * In the `OVM_ProxySequencerEntrypoint` contract, the [`upgrade` function](https://github.com/ben-chain/contracts-v2/blob/a935e276f5620b40802b52721e3474232e458f72/contracts/optimistic-ethereum/OVM/predeploys/OVM_ProxySequencerEntrypoint.sol#L51) does not emit an event af...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
false
false
## Medium: Math library is vulnerable to shadow overflow ### Description The [`AuxMath`](https://github.com/pods-finance/yield-contracts/blob/9389ab46e9ecdd1ea1fd7228c9d9c6821c00f057/contracts/libs/AuxMath.sol) library is a custom auxiliary math library that performs multiplication and division with rounding specifica...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Off-By-One Error in Liquidator and Operator Capacity Check ### Description When adding new liquidators or operators, the check is performed to check that the MAX_LENGTH is greater than or equal the current length. But after this we push the new element. > - bc-solana-vault-sc/programs/sc-vault/src/instruction...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Collateral token interest is accrued after relative price calculation in liquidations ### Description When `batchLiquidateBorrow()` is called, we calculate the amount of collateral tokens to seize by taking the amount of liquidatable assets paid back and finding the relative exchange rate between the two. 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
access-control
true
false
## High: Royalty Tokens can be stolen ### Description In order to distribute the Royalty Tokens of a determined IP, the `_distributeRoyaltyTokens()` internal function from the `RoyaltyTokenDistributionWorkflows` contract is called. This function is called from the following functions: * `mintAndRegisterIpAndAttachPIL...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Improper Fee Amount Calculation With Zero Fees ### Description ## Documentation for `protocol::fee_amount` The `protocol::fee_amount` function is used to calculate the fee for a given amount using the input parameter `fees` as basis points (bps). ## Code Implementation ## Issue Description Currently, 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...
cyfrin_structured
low
initialization
false
false
## Low: `MembershipERC1155` implementation contract can be initialized ### Description `MembershipERC1155` is an implementation contract intended to be used with the Transparent upgradeable proxy pattern; however, it can be initialized since the `initialize()` function can be called by anyone. ### Impact This cannot ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Contracts are not using their OZ upgradeable counterparts ### Description The non-upgradeable standard version of OpenZeppelin’s library, such as `Ownable`, `Pausable`, `Address`, `Context`, `SafeERC20`, `ERC1967Upgrade` etc, are inherited / used by both the proxy and the implementation contracts. As a result...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Hardcoded Addresses ### Description The existence of hardcoded addresses could lead to detrimental consequences for the protocol if the smart contracts, deployed at these addresses are exploited in some way. ### Recommendation It is recommended to follow the recommended order of functions in Solidity, as outl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
signature
false
false
## Gas: Empty blocks should be removed or emit something ### Description The code should be refactored such that they no longer exist, or the block should do something useful, such as emitting an event or reverting. If the contract is meant to be extended, the contract should be `abstract` and the function signatures ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Setters should check the input value ### Description Setters should check the input value - ie make revert if it is the zero address or zero ### Proof of Concept Instances include: #### InfinityExchange.sol [function updateMatchExecutor](https://github.com/code-423n4/2022-06-infinity/blob/765376fa238bbccd8...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
overflow
true
false
## Gas: Use assembly for math (add, sub, mul, div) ### Description Use assembly for math instead of Solidity. You can check for overflow/underflow in assembly to ensure safety. If using Solidity versions < 0.8.0 and you are using Safemath, you can gain significant gas savings by using assembly to calculate values and ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
false
false
## Low: Tokens With Non-18 Decimals Are Unsupported ### Description Collateral values are never normalized based on their decimal values before being used in calculations where all other values are 18 decimals and the return value is expected to be 18 decimals (one example highlighted in the context). This means 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
true
false
## High: Lack of clear state program check allows any vault to be drained ### Description The vault authorization can be abused by executing the clear state program on the app-vault. To execute a transaction from a vault, the transaction must: - Be in a group where the transaction at index 0: - Is the app-vault. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Settlement slippage is not implemented correctly which may lead to some vaults being impossible to settle ### Description The contract is supposed to implement a different max slippage value depending on the settlement type, but these values have no impact because they are never actually applied. Instead, reg...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Require statements without error messages ### Description **Severity**: Informational **Status**: Acknowledged **Description** In the whole project there are multiple require statements that do not have an error message associated with it, it would be recommended to have an error message associated with all...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
true
true
## Medium: Inflation of zero totalBorrowShares to disable borrowing is possible ### Description - When `totalBorrowShares` equals zero, an attacker can exploit the rounding by borrowing `SHARES_OFFSET - 1` shares. - Initially, `totalBorrowShares = 0` and `totalBorrowAssets = 0`. - The borrow amount (`borrowAssets`)...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious clients can use forks or reorgs to convict honest nodes  Won't Fix ### Description In case of reorgs it is possible to have more than 6 blocks in a node that gets replaced by a new longer chain. Also for forks, such as upcoming [Istanbul fork](https://blog.infura.io/were-ready-for-the-istanbul-fork-...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: EXManager and BlockedWithdrawalQueue lack support of cancelled withdrawal requests ### Description StakingManager allows users to queue withdrawal requests via `queueWithdrawal()`. This function transfers LST tokens from the caller and creates a corresponding withdrawal request object. A privileged account 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
other
false
false
## Low: Custom `error` without details ### Description Consider adding some parameters to the error to indicate which user or values caused the failure. *There are 34 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: MISSING ZERO VALUE CHECKS ### Description It was identified that within the code, several functions were lacking zero address or zero value validation on important parameters. Setting invalid parameters in the examples below might result in loss of funds, waste of gas, lose of administrative controls, or rever...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Distributions Merkle Roots Can Be Overwritten ### Description **Update** Marked as "Fixed" by the client. Addressed in: `6d5224d`. The client provided the following explanation: > This contract only maintains one merkle tree now on top of the recommended updates **File(s) affected:**`ReachDistributionV2.sol`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: Source contract can steal NFTs from users ### Description A source contract can burn and transfer NFTs of users without their permission. ### Proof of Concept Every Holographed ERC721 collection is paired with a source contract, which is the user created contract that's extended by the Holographed ERC721 ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 of solidity `assert` instead of foundry asserts in test suite ### Description **Description:** In [`QuantAMMWeightedPool8Token`](https://github.com/QuantAMMProtocol/QuantAMM-V1/blob/7213401491f6a8fd1fcc1cf4763b15b5da355f1c/pkg/pool-quantamm/test/foundry/QuantAMMWeightedPool8Token.t.sol#L312) tests `assert`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent use of oracles ### Description Throughout the protocol, oracles are relied upon to keep FEI stable, calculate payouts to users, and judge whether actions are eligible to be carried out. In addition to the vulnerabilities caused by oracles described in [C01](#c01), and [H01](#h01), we found the us...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Receipt event has confusing semantics ### Description The `Receipt` event is emitted, in line 29, for each payment processed. It logs the investor address, payment hash, and amount of ether received. The same event is emitted, with an empty hash, when the owner withdraws the collected ether in line 37. This...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
token
true
false
## Gas: Do not declare local variables used only once ### Description **Files:** `L2ContractHelper.sol`, `Compressor.sol`, `L2SharedBridge.sol`, `Mailbox.sol`, `L1ERC20Bridge.sol`, `NonceHolder.sol`, `DefaultAccount.sol`, `EfficientCall.sol`, `AccountCodeStorage.sol`, `L1SharedBridge.sol`, `Diamond.sol`, `L2StandardER...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 - (saves 8 gas per &&) ### Description Instead of using the && operator in a single require statement to check multiple conditions,using multiple require statements with 1 condition per require statement will save 8 GAS per && The gas difference would only b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Lack of Backup RPC Endpoints for Bitcoin and Solana ### Description The current configuration uses single RPC endpoints for both Bitcoin and Solana networks without any backup options. This creates a single point of failure that could lead to service disruptions. ### Recommendation **1. Implement RPC redundan...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users May Lose the Interest They Should Claim When Transferring NFTs ### Description In `LendingNFT`, `claim()` is not called in the NFT's [transfer hook](https://github.com/chiru-labs/ERC721A-Upgradeable/blob/main/contracts/ERC721AUpgradeable.sol#L690). This means that the contract cannot guarantee 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
true
false
## High: Bypassing sender verification in 'gossip-final-state' can cause transaction to fail. ### Description Report type: Blockchain/DLT Target: https://github.com/shardeum/shardus-core/tree/dev Impacts: - Network not being able to confirm new transactions (total network shutdown) ## Description ## Brief/Intro Th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: tbtc - Restrict access to fallback function in Deposit.sol ✓ Addressed ### Description `Deposit.sol` has an empty, `payable` fallback function. It is unused except when seizing signer bonds from `BondedECDSAKeep`. ### Recommendation Issue addressed in [keep-network/tbtc#526](https://github.com/keep-network/tb...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Lack of Account Registration Check for Coin ### Description **Update** Addressed in: `fc23228`. Added `coin::register` calls in `liquidate` and `borrow_entry`. **File(s) affected:**`isolated_lending/sources/isolated_lending.move` **Description:** Different functions in the `isolated_lending::isolated_lending...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Miners are able to manipulate the result of the raffle. ### Description **Description** SqwidMarketplace.sol: function endRaffle(), line 751. In order to determine the winner of the raffle, a pseudo-random number is generated, based on the information of the block. Miners are able to manipulate the transa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
true
false
## High: wLp tokens could be stolen ### Description `PosManager#removeCollateralWLpTo` function allows users to remove collateral wrapped in a wLp token that was previously supplied to the protocol: This function could be called only from the core contract using the `decollateralizeWLp` and `liquidateWLp` functions....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Change in ERC7739 magic number can break things when ERC7739 standard gets updated ### Description EIP7739 says that the magic number `0x77390001` may change in future iterations of the ERC7739 standard. However, in Nexus, as well as in K1Validator (constant inherited from `ERC7739Validator.sol`), a constant v...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insufficient Role Management in Dispatch Function ### Description The issue has been detected within the `dispatch` function of the `OracleTrigger` contract. Currently, the function is called from the `OracleRequestRecipient`, making it necessary to assign a more specific role to it. ### Recommendation We rec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Vulnerability: Public function that could be declared external ### Description **Lines**: PinkChef.sol#131 function addVault(address vault, address token, uint allocPoint) public onlyOwner { **Recommendation**: Public functions that are never called by the contract should be declared external to save 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
low
other
true
false
## Low: [01] `DecayLib#decay2()` should prevent division by zero ### Description https://github.com/code-423n4/2024-05-predy/blob/a9246db5f874a91fb71c296aac6a66902289306a/src/libraries/orders/DecayLib.sol#L16-L37 Evidently, in the edge case where `decayEndTime == decayStartTime` this leads to protocol to then have `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
true
false
## Medium: Integer underflow leading to memory corruption in memcpy function(fd_bank) ### Description Report type: Blockchain/DLT Target: https://github.com/firedancer-io/firedancer/tree/e60d9a6206efaceac65a5a2c3a9e387a79d1d096 Impacts: - Process to process Memory Corruption between sandboxed tiles (may lead to cod...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of Validation of PrivateOffer Initialization Parameters ✓ Fixed ### Description The `PrivateOffer` contract allows to create a customised deal for a specific investor. The `initialize()` function receives parameters to set up the `PrivateOffer` accordingly. The following parameters lack of validation du...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## High: Expired transfers will lock user funds on the sending chain ### Description _Submitted by 0xRajeev_ The cancelling relayer is being paid in `receivingAssetId` on the `sendingChain` instead of in `sendingAssetID`. If the user relies on a relayer to cancel transactions, and that `receivingAssetId` asset does n...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
true
false
## Low: Using `delegatecall` inside a loop may cause issues with `payable` functions ### Description If one of the `delegatecall` consumes part of the `msg.value`, other calls might fail, if they expect the full `msg.value`. Consider using a different design, or fully document this decision to avoid potential issues. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious users can block admins from accessing setter functions ### Description executeSetterFunction() in multiSign.sol lacks access control so malicious users can prevent admins from accessing setters. ### Impact 5 admin setters in both borrowing.sol and CDS.sol require executeSetterFunction() call so a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
false
false
## High: Operator Can Continue To Utilize The Protocol After Being Liquidated ### Description In the SDUtilityPool, the functions `utilize()` and `utilizeWhileAddingKeys()` lack necessary checks to verify the operator’s current status. As a result, operators who have already been liquidated, or those with an unhealthy...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Broken logic in check. ### Description **Severity**: Low **Status**: Resolved **description** AirPuffHandlerM._curveRouterSwapWithPaths(). The function has two checks if any Curve pools are set. If no addresses are set, this check will never be reached because `curvePoolsIn` and `curvePoolsOut` are structs...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unsafe contract deployment and update process ### Description This issue is identified in the [deployment](https://github.com/Kelp-DAO/KelpDAO-contracts/blob/8c62af6057402f4616cc2a1d3218a277a864ee2c/script/foundry-scripts/DeployLRT.s.sol) scripts and in the history of deploy transactions [[1]](https://ether...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: (HAL-08) IMPROPER INPUT VALIDATION ### Description The application does not validate or incorrectly validates the input from the user, which has not the properties that are required to process the data safely and correctly. It is possible to safe information which contains characters such as `&, >, <, ", ', {...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Attacker May Reduce Other User Rewards ### Description **Update** The client removed the functionality entirely in commit `53ec1b3`. All rewards are now transferred back to the contract upon forfeit. **File(s) affected:**`Vepoch.sol` **Description:** An attacker may be able to reduce the rewards received ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Using `bool`s for storage incurs overhead ### Description Use `uint256(1)` and `uint256(2)` for true/false to avoid a Gwarmaccess (**[100 gas](https://gist.github.com/IllIllI000/1b70014db712f8572a72378321250058)**) for the extra SLOAD, and to avoid Gsset (**20000 gas**) when changing from 'false' to 'true', af...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: Use inheritance order from most "base-like" to "most-derived" so `super` will call correct parent function in `DropBox::supportsInterface` ### Description **Description:** Use inheritance order from most "base-like" to "most-derived"; this is considered good practice and can be important since Solidity [search...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `Setup` unnecessarily inherits OpenZeppelin `Context` ### Description The `Setup` contract currently inherits OpenZeppelin `Context`; however, this is unnecessary as none of its functionality is used anywhere within the logic. **Wormhole Foundation:** Fixed in [PR \#52](https://github.com/wormhole-foundation/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 comment on `DelegationFundedFromStake` event ### Description The `DelegationFundedFromStake()` allows a representative or delegator himself to fund a delegation contract using the delegator’s stake. The `user` in the `DelegationFundedFromStake` event refers to `msg.sender`. Since the funds are coming...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 of the Liquidity Pool ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: Centralization risks to be informed to the actors on the LP UI **File(s) affected:**`LP/*.sol` **Description:** To enable fast-exit L2 tokens, a centrali...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Medium: Imports Cannot Be Read Because of Incorrect File Location ### Description When testing the deployment of the contracts in `Remix`, there is an error in imports, the file location is incorrect in the import statement. `./` should be used instead of directly calling it from `utils/EthReceive.sol` ```solidity...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Token gated drops with a self-allowed ERC721SeaDrop or a variant of that can lead to the drop getting drained by one person. ### Description There are scenarios where an actor with only 1 token from an allowed NFT can drain Token Gated Drops that are happening simultaneously or back to back.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unused Custom Errors ### Description **Severity**: Informational **Status**: Resolved **Description** The following custom errors are not used throughout the codebase: StakingNode.sol, L52-L55 StakingNodesManager.sol, L42, 45 LSDStakingNode.sol, L35-L36 **Recommendation**: It’s recommended that these cus...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use custom errors rather than `revert()`/`require()` strings to save deployment gas ### Description Custom errors are available from solidity version 0.8.4. The instances below match or exceed that version
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [15] Avoid duplicate code ### Description The `viewPrice` and `getPrice` methods of the `Oracle` contract are very similar, the only difference being the following peace of code: It's recommended to reuse the code in order to be more readable and light. ### Affected Source Code * [Oracle.sol:126-130](http...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Redundant Inheritance ### Description Detects when a contract inherits from another contract that it already indirectly inherits from. 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
other
true
false
## Low: [08] Setters don't have equality checkers ### Description ### Proof of Concept Take a look at https://github.com/code-423n4/2024-08-wildcat/blob/fe746cc0fbedc4447a981a50e6ba4c95f98b9fe1/src/types/LenderStatus.sol#L54-L70 These functions are used to set/unset the credential status of a lender, issue however ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
true
false
## High: Incorrect `destEid` Value in `_handleLiquidationSuccess` Prevents Liquidation Completion ### Description Source: https://github.com/sherlock-audit/2025-05-lend-audit-contest-judging/issues/979 ## Found by 0xc0ffEE, Fade, Kirkeelee, Tychai0s, Waydou, Z3R0, aman, h2134, jokr, mahdifa, moray5554, newspacexyz,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
true
false
## Low: In `InvestorBasedRateLimiter::_setAddressToInvestorId` first read `addressToInvestorId[investorAddress]` then use it in the `if` statement check ### Description In `InvestorBasedRateLimiter::_setAddressToInvestorId` first read `addressToInvestorId[investorAddress]` then use it in the `if` statement check to sa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Removed nominee doesn't receive staking incentives for the epoch in which they were removed which is against the intended behaviour ### Description ### Impact If a nominee is removed in the ith epoch then they are eligible to receive staking incentives for the ith epoch if they had enough staking weight. 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
low
access-control
true
true
## Low: Compromised or malicious treasury can disable fee distribution and seize all protocol fees ### Description ### Impact The attacker can collect all accumulated protocol fees by exploiting the `isTokenLive` flag. The gauge-based fee distribution system becomes non-functional, affecting `users` and `LPs` who ar...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Improper Reward Distribution ### Description ## LpFarm::increase_share_indexes `LpFarm::increase_share_indexes` calculates how much each emission’s share index should be updated based on the passage of time and the total LP (Liquidity Provider) supply. It applies this update to all emissions on the farm. 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
medium
initialization
false
false
## Medium: Using a timestamp as a key for processed messages leads to key collisions in the database ### Description ### Finding description and impact The executor’s [`MsgsToProcessedMsgs()`](https://github.com/initia-labs/opinit-bots/blob/640649b97cbfa5782925b7dc8c0b62b8fa5367f6/node/broadcaster/broadcaster.go# L27...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Liquidation does not prioritize lowest LTV tokens ### Description The protocol does not prioritize repayment of debt in partial liquidations in the lowest Loan-To-Value tokens which leads to inefficient liquidations in which health factor because the average Risk-Adjust Factor is not improved and puts 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
low
token
false
false
## Low: Underlying Decimals in Erc20Wrapper Can Be Set Incorrectly ### Description The `Erc20Wrapper` contracts [set the underlying token address](https://github.com/OpenZeppelin/rust-contracts-stylus/blob/5ed33dd88c3d74a0d0ec6cc0ff53f55a36a74c48/contracts/src/token/erc20/extensions/wrapper.rs#L313) during constructio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Seized tokens will be stuck on the receiver of the seized funds because it is not an investor and never receives investorsBalance ### Description When seizing DSTokens, the receiver of the confiscated assets must be an issuer wallet. A wallet that is an issuer wallet must not be an investor wallet. This means ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Using `tokenId` in `lien` for Margin Storage ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Acknowledged. We use `lienId` to store margin to save space. Our frontend won’t show this to user. **File(s) affected:**`ParticleExchange.sol` **De...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unused public variable `uniswap_factory` in ApeMexMargin ### Description **Description** In contract ApeMexMargin, you are declaring the public variable uniswap_factory at line 96, and initializing with a value in the constructor at line 193, but there is no other use of it in the contract logic code. **Reco...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [06] Borrow APY calculations don't account for utilization rate ### Description There are 2 functions calculating APY: one calculates borrow APY, one lending APY. So, generally both should yield similar results, that is `lending APY - protocol fees ~= borrowing APY`. However, lending APY includes utilization 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
medium
initialization
false
false
## Medium: BondNFT.extendLock force a user to extend the bond at least for current bond.period ### Description The current implementation forces a user to extend their bonds for at least they current bond period. These mean that, for instance, a bond which was initially locked for 365 can never be extended, even after...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Data length not validated ### Description The following functions do not validate that the input `_data` is 32 bytes: - `GnosisSpokeConnector._sendMessage` - `GnosisSpokeConnector._processMessage` - `BaseMultichain.sendMessage` - `OptimismSpokeConnector._sendMessage` The input `_data` contains the outbound Me...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: GeneratePrefixProof does not work in some cases ### Description The `GeneratePrefixProof` function incorrectly returns an error when `yyy` is 0 and `zzz` is not 0. In the case that the `zzz != 0` branch is taken and `MostSignificantBit` is called with `yyy` as an input, the function will return an `ErrCannot...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TRST-M-7 Changing liquidation vault or token makes liquidations impossible ### Description **Description:** When UniswapV3Strategy is initialized, it approves spending of the liquidation token to the liquidation vault. The addresses of the vault and the token are read from the Config contract, which allow...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: “Require” never reverts ### Description **Description** CashVaultV1.sol: function: function _settleStrike(), line 139. Function _settleStrike() is called from CommonV1.settleStrike_chainlink() and CommonV1.settleStrike_chainlink_fallback(), parameter “oracleTime” is assigned to “expiry” which means that “orac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Arithmetic Overflow ### Description ## Settlement and Arithmetic Overflow in Exchange In _settle within Exchange, the values of `_order.ammFunding` and `_order.lpFunding` are subjected to direct `uint256` casting without undergoing any validation or assessment for negative values. This scenario raises the ris...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Install OpenZeppelin via NPM and Update ### Description `Contactable`, `Pausable`, `SafeMath`, `Ownable`, `ERC20Basic`, `ERC20`, `BasicToken`, and `StandardToken` were [copied](https://github.com/tetherto/ether-contracts/tree/9718de4da7b571c1acf822bfde1f5300d1acc381/contracts/zeppelin) from the OpenZeppelin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The Inheriting Oracles Can Accept Outdated Prices ### Description **Update** Marked as "Fixed" by the client. Addressed in: `12cbe0a9f0efaa2dfe8a2577e33102a40802f584`. The client provided the following explanation: > We set maxDelayTime when deploying the contract, rather than initializing it in the constr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect parameter order in `mintWithPermit` ### Description The current implementation of `WstUSF::mintWithPermit` uses the calculated `usfAmount` in the permit verification: Since the transfer we make is of the usfAmount itself post the verification (`WstUSF.sol#L250`, `WstUSF.sol#L146`), it's better we c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Omissions in Events ### Description Throughout the codebase, events are generally emitted when sensitive changes are made to the contracts. However, some events are missing important parameters The events should include the new value and old value where possible: Events with no old value; https://github.com...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Could use delete keyword ### Description **Severity** - Informational **Status** - Resolved **Location** - StakingContract.sol, StakingERC1155Contract.sol **Description** In the StakingContract.sol, the slash() and _withdraw() functions update all elements of the stakes[_staker] to 0. Basically, it could u...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Unnecessary require Statement ### Description The following require statement in `Blacklistable.sol` can be removed: - line [106]: `require(to != address(0));` Indeed, this check is implemented in the `_transfer()` function in the `ERC20.sol` smart contract. ### Recommendation The development team provided 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
cross-chain
true
false
## Medium: Double spending of funds when bridging “bridgedToken” ### Description When a user bridges a `BridgedToken`, the user will spend twice their funds. ### Impact 1. If the user still has remaining `BridgedToken`, they will lose their funds because bridging the `BridgedToken` causes the contract to take double ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Withdrawal Fee Determined at Processing Time ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Designed this way precisely to take the most accurate fees from the user. **File(s) affected:**`programs/ntbundle/src/instructions/process_withdrawa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Pre-decrements cost less than post-decrements ### Description *Estimated savings: 5 gas per iteration* *Max savings according to `yarn profile`: 61 gas* For a `uint256 maximumFulfilled` variable, the following is true with the Optimizer enabled at 10k: - `--maximumFulfilled` costs 5 gas less than `maximumFul...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Checking Whether Untrusted Epoch Contains Trusted Epoch's Validators Can Cause ELC to Halt ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > We acknowledge this finding but assess the risk as minimal. Based on our investigation of mainnet opera...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: NFT cannot be withdrawn after all liquidity was removed from the position ### Description `CLGauge.withdraw()` fails when all liquidity from a position has been removed using `CLGauge.decreaseStakedLiquidity()`. The NFT position remains locked in the Gauge contract and cannot be removed until some new liqui...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use of deprecated Chainlink API ### Description _Submitted by 0xRajeev, also found by cmichel and leastwood_. #### Impact The contract uses Chainlink’s deprecated API `latestAnswer()`. Such functions might suddenly stop working if Chainlink stopped supporting deprecated APIs. Impact: Deprecated API stops...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Disabled operators can register new validator nodes ### Description **Description:** The `AvalancheL1Middleware::addNode` function allows an operator to register a new node if msg.sender is included in the operators list. However, there is a potential issue with how the operator lifecycle is handled: before an...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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** The team has fixed the issue by overriding the `renounceOwnership()` function and removing the `Owner` role from contracts that were not using it. **File(s) affected:**`depositers/GMXDeposter.sol`, `AddressProvider.sol`, `depositers/GMXExecutor.sol`, `cred...
0