prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: The malicious fd_shred34_t data passed between fd_shred and fd_store causes the Solana Rust code to crash.(fd_store) ### Description Report type: Blockchain/DLT Target: https://github.com/firedancer-io/firedancer/tree/e60d9a6206efaceac65a5a2c3a9e387a79d1d096 Impacts: - Process to process RCE between sand...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
false
false
## Low: Cross-chain system contract invocation is allowed and undocumented ### Description System contract addresses can be specified in [`requestL2Transaction`](https://github.com/matter-labs/zksync-2-contracts/blob/3f345ce52bc378c4b5d710c80d817db170775049/ethereum/contracts/zksync/facets/Mailbox.sol#L232). 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
medium
rounding
false
false
## Medium: IdleCDO.virtualPrice() and _updatePrices() yield different prices in a number of cases ### Description The function `IdleCDO.virtualPrice()` is used to determine the current price of a tranche. Similarly, `IdleCDO._updatePrices()` is used to store the latest price of a tranche, as well as update other parts...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
true
false
## Medium: Funds can be locked indefinitely in NukeFund.sol ### Description ### Impact - Permanent loss of funds. - Dependency on user action. ### Proof of Concept The NukeFund contract has a unique fund distribution model where the primary - and only - method to withdraw funds is through the `nuke()` function. Thi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
signature
true
false
## Medium: The `owner` is a single point of failure and a centralization risk ### Description *Note: This finding was reported via the winning [Automated Findings report](https://gist.github.com/itsmetechjay/57d432101e7d8c98f3a061502aa8f327). It was declared out of scope for the audit, but is being included here for 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
medium
front-running
true
false
## Medium: Strict equality in `migrate()` method ### Description **Severity** : Medium **Status** : Resolved **Description** : In Contract TokenMigration.sol, the method migrate() allows users to migrate their TWSDM tokens to WSDM tokens. This method contains the following logic: If the balance is not equal 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
initialization
true
false
## Low: Neglecting to store the package hash under the contract's named keys results in non-compliance with the CEP18 standard ### Description During the contract's deployment, rather than storing the contract package hash under the contract's named keys, it was inadvertently re-stored under the deployer's named keys,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing checks for null addresses in RenderToken and Airdrop contracts ### Description In `RenderToken`, the [`setEscrowContractAddress`](https://github.com/jeualvarez/Token-Audit/blob/e946177747e57312690775204834b8fca1bbb0d5/contracts/RenderToken.sol#L58) function allows the token’s owner to change the esc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `calldata` is not used during NFT transfers ### Description https://github.com/code-423n4/2024-08-superposition/blob/4528c9d2dbe1550d2660dac903a8246076044905/pkg/sol/OwnershipNFTs.sol#L148-L157 https://github.com/code-423n4/2024-08-superposition/blob/4528c9d2dbe1550d2660dac903a8246076044905/pkg/sol/OwnershipN...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Code Redundancy ### Description ## Light Protocol Audit 05 — General Findings ## Remediation Remove the redundant and unused code instances highlighted above. ## Patch 1. Issue #2 was resolved in commit `dd97c8`. 2. `self.is_native` was removed in issue #6. ## Findings 1. In `process_initialize_nullifier_qu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: FUNCTIONALITY TO UPDATE FEES IS NOT APPLIED CORRECTLY ### Description The `assert_fees` function in `update_config` from the **krp-cdp-contracts/liquidation\_queue** and **krp-market-contracts/liquidation\_queue** contracts is not applied correctly. As a consequence, some valid values will not be accepted, see...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
false
false
## Medium: deposit() and mint() and _redeemInternal() in wfCashERC4626() will revert for all fcash that asset token is underlying token because they always call _mintInternal() with useUnderlying==True ### Description _Submitted by unforgiven_ ### Impact For some `fcash` the asset token is underlying token (`asset....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Mismatch emission plan between doc and implementation ### Description According to the doc(https://docs.kittenswap.finance/tokenomics/initial-distribution), our initial emission will start from `20,000,000 KITTEN (2%)`. When we check our implementation, the actual initial amount is `20,000,000 + 20,000,000 * ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Whitelist Extension cannot handle the case when there is no whitelist ### Description The `WhitelistExtension` contract is designed to allow only certain resolvers to fill a maker order. However, it is possible to have no whitelist, meaning that any resolver can fill the maker order. If the resolver count is s...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
true
false
## Medium: `swapIntoFromRouter` missing the `checkPoolCap` modifier ### Description **Severity** **Impact:** Medium **Likelihood:** Medium **Description** When depositing into the pools, the pool cap is enforced. This is done through the `checkPoolCap` modifier. The modifier tracks the pool's asset's balance, with...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
false
false
## High: Tokens Can Be Redeemed From Any Sale ### Description **Update** Marked as "Fixed" by the client. Addressed in: `e57b33c4e7604080c2824c07dba116d77c5d02b5`. The client provided the following explanation: > The sale key was added to the receipt PDA seeds and new unit tests were created to test this edge case *...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
oracle
true
false
## Gas: Refactor code to avoid unnecessary memory expansion and data check within loops ### Description In the instances below, the proof name is being read from memory and then stored into a new section of memory. After this is done an `if` statement is used to check a condition. Both the proof name and condition 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
other
false
false
## Low: Injected content script and InjectedProvider class are not hardened ### Description The Uniswap wallet browser extension injects a content script (`injected.js` file) into every webpage. The injected content script runs in an isolated world from its parent webpage and creates an HTML script tag (`ethereum.js` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
false
false
## Medium: Strategy in StakerVault.sol can steal more rewards even though it’s designed strategies shouldn’t get rewards. ### Description ## Lines of code https://github.com/code-423n4/2022-05-backd/tree/main/protocol/contracts/StakerVault.sol#L95 https://github.com/code-423n4/2022-05-backd/tree/main/protocol/contrac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Cheaper to split struct if only part of it is updated frequently ### Description The `currentStrike` and `currentExpiration` fields are updated frequently so they should be in a separate struct rather than re-writing the whole struct every time *There is 1 instance of this issue:* https://github.com/code-423...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Medium: TRST-M-2 ShortCollateral settleOptions may fail due to insolvency settled out of loop ### Description **Description:** settleOptions() loops over the input **positionIds** array and either sends proceeds to the user or consumes their collateral. If there’s any insolvency, it is appended to **baseInsolvent...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
false
false
## Low: Transfer Should Occur Before Updating Internal State ### Description The [`join` function](https://github.com/Ion-Protocol/ion-protocol/blob/98e282514ac5827196b49f688938e1e44709505a/src/join/GemJoin.sol#L51) of the `GemJoin` contract allows a user to deposit the `GEM` ERC-20 token into the contract and increas...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Import ### Description The issue is identified in the contract [`LGEStaking`](https://github.com/LayerLabs-app/Ozean-Contracts/blob/dacd9ed9c895c9b6be422531eea15fecc3c2b1d8/src/L1/LGEStaking.sol#L9). The `ISemver` interface is imported but never utilized. ### Recommendation We recommend removing the un...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Platform fees withdrawal will sweep oracle agents earned fees ### Description Oracle agents earn a portion of user-paid fees if their responses fall within established accuracy boundaries, defined by a specific range of standard deviations. Rather than directly transferring these fees to the agents, `LLMOra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
signature
true
false
## Medium: Incorrect EIP-712 `TXTYPE_HASH` in `SecuritizeSwap` ### Description **Description:** `SecuritizeSwap::TXTYPE_HASH` does not match the actual message structure being encoded for EIP-712 signature verification. The constant is defined as the hash of: But the actual `abi.encode` call in `SecuritizeSwap::doEx...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary variables ### Description **Severity**: Informational **Status**: Resolved **File**: strategy/programs/vaultka/src/lib.rs: 712,713 **Description** In the `request_deposit` function there are two variables introduced: `jlp_p` and `sol_p` that are excessive. **Recommendation** Change the declar...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Optimize names to save gas ### Description Saves 27 instances. Public/external function names and public member variable names can be optimized to save gas. See this [link](https://gist.github.com/IllIllI000/a5d8b486a8259f9f77891a919febd1a9) for an example of how it works. Below are the interfaces/abstract 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
access-control
true
false
## Low: Code Clarity ### Description ## Token Implementation Overview 1. In the current implementation of `Token`, both `SERVICE_ROLE` and `MANAGER_ROLE` have the ability to withdraw the contract’s earnings. However, they do so through different functions: `payoutETH` and `withdrawEarnings`, respectively. This create...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 way transfer of `governance` ### Description https://github.com/code-423n4/2023-07-axelar/blob/main/contracts/cgp/AxelarGateway.sol#L254-L258 The `governance` address has complete control over the `AxelarGatway` since it can do upgrades. ### Recommendation Consider implementing a two way (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
signature
false
false
## Low: Several functions receive the wrong number of arguments ### Description Several functions in the chainport-backend repository are called with an incorrect number of arguments: - Several functions in the `/project/deprecated_files` folder - A call to `release_tokens_by_maintainer` from the `rebalance_bridge` f...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: SALT staker can get extra voting power by simply unstaking their xSALT ### Description SALT staker might have chance to finalize the vote by manipulating the required quorum. ### Proof of Concept When a proposal is created, anyone can vote by calling `Proposals#castVote()` as far as they have voting power...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 functions visibility ### Description Whenever a function is not being called internally in the code, it can be easily declared as `external`, [saving also gas](https://github.com/crytic/slither/wiki/Detector-Documentation#description-44). While the entire code base have explicit visibilities for ever...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TRST-M-7 MozToken allows owner to mint an arbitrary amount of tokens, although supply is fixed ### Description **Description:** Supply of MozToken is defined to be fixed at 1B tokens: **Max Supply** 1B MOZ will be minted at the genesis and will be the entire finite supply of tokens However, there is an exp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Query Response Missing Height ### Description ## Issue with `Query` in `ssStore` The issue is present in `Query` of `ssStore`. Query forgets to set `res.Height` when handling the request. > _store v2/state/store.gogo This would result in incomplete query responses. ## Remediation Always set `res.Height` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Providing and withdrawing liquidity lacks slippage protection ### Description The `ProvideLiquidity` and `WithdrawLiquidity` messages do not include slippage protection parameters. This omission exposes users to the risk of receiving fewer tokens than expected due to market conditions between the transactio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Faucet.withdrawAll() does not change active status ### Description `Faucet.active` is `false` if the native balance is below `CLAIM_AMOUNT`. - https://github.com/KintoXYZ/kinto-core/blob/f7dd98f66b9dfba1f73758703b808051196e740b/src/Faucet.sol#L78-L79 But when `withdrawAll()` is called, it does not change 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
liquidation
false
false
## Medium: It is possible to mint 0 tokens ### Description The various minting functions ([`mintPayable`](https://github.com/AuctusProject/aco/blob/36bcab024c9781d799381f8f973e99fd5b0f4d2d/smart-contracts/contracts/core/ACOToken.sol#L378), [`mintToPayable`](https://github.com/AuctusProject/aco/blob/36bcab024c9781d7993...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## High: Fee target mismatch in `deposit`, `mint`, `withdraw`, `redeem` and `preview***` methods ### Description When users want to deposit their tokens, code calculates fee in `previewDeposit()` and `previewMint()` and add/subtract it from the amount/share. As you can see code checks entry fee based on `msg.sender`: ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing Natspec comments ### Description In various places (documented below), natspec comments for function parameters and return values are missing: - **Points.award(address to, uint256 amount, uint256 campaignId)**: Missing natspec for `amount` parameter. - **Points.award(address to, uint256 amount, addres...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: Incorrect Emission Rate Calculation in RAACMinter Creates Liquidity Bootstrapping Risk with Zero Deposits ### Description The emission rate calculation mechanism in `RAACMinter.calculateNewEmissionRate` contains inverted incentives when the stability pool is empty. This critical flaw causes the protocol to red...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: OwnershipTransferred event emits incorrect data when called via `execCalls()` ### Description When `transferOwnership()` is called, it emits the `OwnershipTransferred` event, which includes the old and new owners: It is assumed that, because the function is guarded by the `onlyOwner` modifier, the old owner ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Check __GAP s ### Description All `__GAP` variables have the same size, while the different contracts have a different number of storage variables. If the `__GAP` size isn't logical, it is more difficult to maintain the code. **Note:** Set to a risk rating of medium because the probability of something goi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
rounding
false
false
## High: Issues with MetaVesTs Having Different Decimals in the Same Set ### Description If MetaVesTs with different decimals are included in the same set, MetaVesTs with higher decimals will have an exponential advantage over those with lower decimals [during the calculation of the governing power](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
medium
token
true
false
## Medium: A malicious user can send tokens to the TribeRedeemer contract to make the redeem function work, and other users may lose assets as a result ### Description ## Lines of code https://github.com/code-423n4/2022-09-tribe/blob/769b0586b4975270b669d7d1581aa5672d6999d5/contracts/shutdown/redeem/TribeRedeemer.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
initialization
false
false
## Medium: _handleOpenFees returns an incorrect value for _feePaid. This directly impacts margin calculations ### Description ## Lines of code https://github.com/code-423n4/2022-12-tigris/blob/588c84b7bb354d20cbca6034544c4faa46e6a80e/contracts/Trading.sol#L178 https://github.com/code-423n4/2022-12-tigris/blob/588c84b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 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 `Babburuzu.sol`: * `import {IBorpaPair} from "../contracts/interfaces/IBorpaPair.sol"` * `error Babburuzu__E1(); // Transfer failed...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 storage pointer ### Description **Description** StakingData.sol, line 308, _getAllAcountUnstakesForAddress() StakingData.sol, line 287, _getAccountStakesForAddress() StakingData.sol, line 225, _getRoundRewardsForAddress() RoundData.sol, line 15, endRound() Burn.sol, line 64, getCurrentBurnData() Burn.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
high
token
true
false
## High: For self-lending pairs rewards will be stuck ### Description For self-lending pods, the paired LP token of the pod is a fToken, which is a share of a lending pair. In the `AutoCompoundingPodLp`, it converts the reward token into the paired LP token. However for self-lending pods, instead of converting 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
high
liquidation
true
false
## High: pendingDecreaseCollateral variable isn't excluded from the positionNetBalance() value in the leverage and rebalance calculations, which may lead to incorrect rebalance actions for the strategy ### Description **Severity:** High **Path:** src/strategy/BasisStrategy.sol#L779-L884 **Description:** During a par...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [17] Restrict calling `ChefIncentivesController#recoverERC20()` on the underlying token ### Description https://github.com/code-423n4/2024-07-loopfi/blob/57871f64bdea450c1f04c9a53dc1a78223719164/src/reward/ChefIncentivesController.sol#L430-L433 This function allows the owner to withdraw an arbitrary amount 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
dos
true
false
## Low: A User Can Register an Unlimited Number of Subscriptions ### Description A user can register an infinite number of times since there are no restrictions in place to prevent it. It is therefore possible to register a large number of subscriptions such that `registerSubscription()` and `getSubscribers()` functio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing Zero-address Validation ### Description Lack of zero-address validation on address parameters may lead to transaction reverts, waste gas, require resubmission of transactions and may even force contract redeployments in certain cases within the protocol. ### Recommendation Consider adding explicit zer...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TRST-H-1 More than one hat of the same hatId can be assigned to a user ### Description **Description:** Hats are minted internally using `_mintHat()`. As documentation states, it is unsafe if **_wearer** already has the **hatId**. However, this could easily be the case when called from `mintHat()`. The fu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Current decay percentage could be too high ### Description https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L44-L47 Currently, we have a decay per period of 70% and a period of 1 day. This means that every day, price drop will be 70%. While I understand ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of contract documentation ### Description The codebases lack code documentation, high-level descriptions, and examples, making the contracts difficult to review and increasing the likelihood of user mistakes. The CrosslayerPortal codebase would benefit from additional documentation, including on the follo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
true
false
## Medium: 14] Read-only reentrancy in withdraw can lead to swap fee manipulation ### Description **Severity:** Medium **Path:** src/STEXAMM.sol:withdraw#L523-L624 **Description:** In the `withdraw` function for LP shareholders in STEXAMM, the caller can choose to unwrap their wHYPE and receive native HYPE instead. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Violation of Protocol Integrity via Emission Removal ### Description The vulnerability concerns the potential for an emission to be removed from SyMeta in a way that breaks the integrity of the system. ### Recommendation - Disallow the **RemoveEmission** operation.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Risk of Registering Invalid NFT/token Pairs ### Description **Update** 1. For the first concern, the team fixed the issue as recommended in the commit `5fb99de`. 2. The team is concerned about the gas limit for the second concern. If the gas is insufficient, it might cause the message not able to be execu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `vaultID`’s NFT/ERC20 bundle can be modified while the loan is outstanding ### Description UserVault.sol allows a user to bundle assets (NFT/ERC20) together in a vault to be used as a collateral NFT. According to [doc](https://app.gitbook.com/o/4HJV0LcOOnJ7AVJ77p8e/s/W2WSJrV6PSLWo4p8vIGq/vaults), the intended...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: L05] Undocumented assembly code ### Description ###### Low Components: [`policy`](https://github.com/BeamNetwork/currency/tree/af3428020545e3f3ae2f3567b94e1fbc5e5bdb4c/contracts/policy), [`deploy`](https://github.com/BeamNetwork/currency/tree/af3428020545e3f3ae2f3567b94e1fbc5e5bdb4c/contracts/deploy), 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
high
token
true
false
## High: Rewards in the StakingContract are not calculated correctly ### Description The `StakingContract.sol` contract allows users to stake ERC20 tokens via the `stake()` function, and based on their stake, emissions,epochs passed and the total staked amount they are supposed to receive a certain amount of rewards. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## High: Malicious pool deployer can set a malicious interest rate contract to lock funds of vault depositors ### Description Once vault depositors have deposited funds into a pool, a malicious pool creator can upgrade the `interestRateStrategy` contract (using `PoolConfigurator.setReserveInterestRateStrategyAddress()...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
true
false
## Medium: Registering and Paying a Subscription Will Not Be Possible in a Single UserOperation Batch ### Description The Bastion wallet supports batched userOperations. However, it will not be possible to register a subscription and initiate payment for it in the same batch. That is because with the current implement...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
true
false
## Medium: CONFIG PARAMETERS VALUE CAN BE CHANGED UNRESTRICTEDLY ### Description `instantiate` and `update_config` functions in **contracts/martian-field/src/execute.rs** allow contract's owner to update `max_ltv`, `bonus_rate` and `fee_rate` fields with a potential unfair amount. This situation can produce the follow...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Removal of Deprecated Functions ### Description The function `setPause()` and `paused()` in `LendingPool` have been deprecated in favour of handling the logic in `LendingPoolConfigurator` to save on storage reads. These functions are public in `LendingPool` and no longer provide accurate outputs, which may pot...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
false
false
## Low: Omit SafeMath usage ### Description **Description** Since Solidity 0.8.x has built-in support of overflow/underflow restrictions, SafeMath lib can be safely omitted. Such solution will decrease gas usage of the contract. **Recommendation**: Omit SafeMath
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Redundant Check for Zero Address in `_transfer` Function ### Description **Severity**: Informational **Status**: Resolved **Description**: The `_transfer` function in the provided in nerd token contains a redundant check for the zero address. Initially, the function checks if the to address is the zero 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
signature
false
false
## Low: Scope 1 - Misleading Revert Message ### Description When [checking signatures](https://github.com/ZKsync-Association/zk-governance/blob/a3e361d00d8100ed1724b079ea7509f7f13e3d94/l1-contracts/src/Multisig.sol#L46) in `Multisig.sol`, a `while` loop is used to efficiently match a `member` to a recovered signer, ot...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
true
false
## Low: Transfers inside loops can lead to reverted transactions ### Description In the `transferToMainPool` function of the `CachePool.sol` contract, multiple transfers are executed inside a loop. This implementation can lead to reverted transactions if any individual transfer fails, causing the entire operation to 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
low
other
true
false
## Low: Lack of events in setBLabs is error-prone ### Description `BFactory.setBLabs` changes the `blabs` address without emitting an event: ```solidity function setBLabs(address b) external { require(msg.sender == _blabs, "ERR_NOT_BLABS"); _blabs = b; } ``` _Figure 2.1: BFactory.sol#L51-L54_ The lack of event...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Vault
false
true
_Submitted by 0x52, also found by ayeslick_ User funds stolen. ### Proof of Concept Swap data is completely arbitrary and can be used to swap though malicious ERC20 tokens allowing control transfer. This control transfer would allow the attacker to call rebalance on a second vault and exploit both as long as both va...
Code4rena
4
Mimo DeFi
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Gas: Unchecked arithmetic ### Description The default "checked" behavior costs more gas when adding/diving/multiplying, because under-the-hood those checks are implemented as a series of opcodes that, prior to performing the actual arithmetic, check for under/overflow and revert if it is detected. If it can static...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Magic numbers are used ### Description Throughout the codebase, there are occurrences of literal values with unexplained meaning. For example, the operation to get the [maximum slashable stake](https://github.com/forta-protocol/forta-token/blob/92d7a7ddd6672a7530a4bfc532d0d697e7f12744/contracts/components/stak...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Miscellaneous General Statements ### Description This section describes general observations made by the testing team during this assessment that do not have direct security implications: 1. The STORE token contract unnecessarily uses `safeAdd()` in `transfer()` and `transferFrom()` when the total supply of 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
token
true
false
## Low: Nouns will not be able to be transferred once the `block.number` passes `type(uint32).max` ### Description While this currently equates to ~1260 years, if there's a hard fork which makes block times much more frequent (e.g. to compete with Solana), then this limit may be reached much faster than expected, 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
high
front-running
false
false
## High: | Reward Compounds Are Sandwichable ### Description **Description** There exists no fee or lockup period associated with staking to receive a portion of the rewards compounded during the `updateAllRewardsForTransferReceiverAndTransferFee` function. A malicious actor may simply buy GMXKey and stake right befo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Stale Price
true
false
Source: https://github.com/sherlock-audit/2022-11-isomorph-judging/issues/200 ## Found by \_\_141345\_\_, 8olidity, yixxas, caventa, HonorLt ## Summary No check for round completeness could lead to stale prices and wrong price return value, or outdated price. The functions rely on accurate price feed might not wor...
Sherlock
3
Isomorph
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `returnFunds()` can be frontrun to profit from an increase in share price ### Description **Severity** **Impact:** High, an attacker can profit from the share price increase **Likelihood:** Low, only profitable if a large amount of funds are returned **Description** `SafetyModule.returnFunds()` is used ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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] MIPS: `sc` does not write a 0 to `rt` if the write is non-atomic ### Description As per the MIPS ISA, `sc` will write a 1 to `rt` if a write is atomic and a 0 to `rt` is non-atomic. A write is atomic if the value of the memory address pointed to by the `sc` instruction has not been changed since the 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
medium
overflow
true
false
## Medium: Allowance check in `FiveFiftyRule::canTransfer` is inverted ### Description **Description:** The following snippet from `FiveFiftyRule::canTransfer` has inverted logic. This is also present in `FiveFiftyRule::checkCanTransfer`. **Impact:** No transfers to entities are possible except in the rare cases 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
token
false
false
## Low: Possible to Create a Lien without Supplying an Nft ### Description **Update** Marked as "Fixed" by the client. Addressed in: `a6290e37e2ebde7397b8d8efdc505bda4cf3fd15`. The client provided the following explanation: > Fixed together with [PRL-3](https://certificate.quantstamp.com/full/particle/3cd57a7b-681f-4...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
true
false
## Low: Rearrange stale price check formula out of absurd paranoia ### Description In `_getFeedAnswer()`, we check if the Chainlink oracle has returned a stale price: `feed_.staleAfter` is a `uint24`, so for any chain that uses standard Unix timestamps, it should be impossible for `block.timestamp - feed_.staleAfter`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [27] Protocol currently does not consider all windows in regards to `minDelay` ### Description ### Proof of Concept Take a look at https://github.com/code-423n4/2024-03-zksync/blob/4f0ba34f34a864c354c7e8c47643ed8f4a250e13/code/contracts/ethereum/contracts/governance/Governance.sol#L250-L253 The `updateDelay...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Liquidity pool can be set multiple times in MyShare. ### Description **Description** MyShare.sol: function setLP(). In the comment section, it is declared that a liquidity pool can be set only once, and the "txnLiqPoolIsSet" variable is checked to be false to verify this. However, the stake of this variable ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: Use functions instead of modifiers ### Description ### Proof Of Concept https://github.com/code-423n4/2023-03-asymmetry/tree/main/contracts/SafEth/SafEth.sol#L52 ### Recommended Mitigation Steps Functions guaranteed to revert when called by normal users can be marked payable.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Amend Order Missing Refund ### Description ## amend_bid_order Function Issue In the `amend_bid_order` function, when a user tries to decrease the size of an order having the same price, the size of the order gets reduced silently without a refund. Users should be refunded when the size is reduced. ## Code S...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: `_MAX_FEE`Can be Greater Than `100` Percentage ### Description The `setMaxFee()` functions allow the `treasury` to update `_MAX_FEE`. The `setMaxFee()` permits values exceeding 100% (i.e., >10000 basis points), which can lead to economically irrational fees. ### Impact The protocol may charge excessive or ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Suboptimal gas usage due to post-increment in loops ### Description In multiple functions across the codebase, the for loops use`i++` (post-increment) for incrementing the loop counter. In Solidity, post-increment (`i++`) is slightly less efficient than pre-increment (`++i`) because `i++` requires storing the ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: MaxWithdraw should potentially account for the funds available in the ramp. ✓ Fixed ### Description Since `InfinityPool` is ERC4626 it should also support the `MaxWithdraw` method. According to the EIP it should include any withdrawal limitation that the participant could encounter. At the moment the `MaxWithd...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `++i` costs less gas than `i++`, especially when it's used in `for`-loops (`--i`/`i--` too) ### Description Saves 6 gas *PER LOOP* *There are 5 instances of this issue:*
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: TRST-M-7 Incorrect permission check due to confusion between empty call and the zero selector ### Description **Description:** In case the caller of LSP6 does not have **_PERMISSION_SUPER_CALL**, `_verifyAllowedCall()` is called to check they have specific permissions for the call. It will use the 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
low
initialization
false
false
## Low: Unnecessary State Storage of `pyth` Address ### Description The `pyth` address is stored as a regular state variable. If this address is never intended to change, making it effectively immutable could save gas on repeated reads. The issue is classified as **low** severity because it focuses on optimization ra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## High: Unitas swap function is vulnerable to Sandwich Attack at oracle price update ### Description WHen the oracle price is updates, an attacker can sandwich the update adderss with 2 swap transactions to gain a profit and drain the collateral. ### Impact Attacker can gain profit and "steal" collateral ### Recomm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing additional safety for multicall may lead to lost ETH in future ### Description If the function `multicall()` would be payable, then multiple delegated-to functions could use the same `msg.value`, which could result in losing ETH from the pair. A future upgrade of Solidity might change the default setti...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: Usage of `uints`/`ints` smaller than 32 bytes (256 bits) incurs overhead ### Description > When using elements that are smaller than 32 bytes, your contract’s gas usage may be higher. This is because the EVM operates on 32 bytes at a time. Therefore, if the element is smaller than that, the EVM must use more o...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
true
false
## Low: Lack of SafeMath in the dutch-auction pallet could result in incorrect prices ### Description The `off_chain_run_auctions` function in the `dutch-auction` pallet iterates through auction orders and computes an adjusted price for each order before submitting it to the Orderbook. This adjusted price is calculate...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent check for LP balance in AMO ### Description While pulling LP tokens from the CVXStaker contract, the AMO queries the current available balance using the staked balance, which is inconsistent with the implementation of the withdraw function. Curve LP tokens owned by the AMO contract are staked ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `priceFeeds` can't be changed ### Description `priceFeeds` can't be changed: https://github.com/Gearbox-protocol/gearbox-contracts/blob/0ac33ba87212ce056ac6b6357ad74161d417158a/contracts/oracles/PriceOracle.sol#L56 ### Recommendation We recommend adding a function for changing `priceFeeds`.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Two step ownership transfer ### Description The function `setAdmin()` transfers ownership to a new address. If a wrong address is supplied, ownership becomes inaccessible. This same issue occurs with `transferOwnership` in the `OwnableUpgradeable` of several Nomad contracts. Additionally, the Nomad contract tr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
true
false
## Low: `ReleasePol()` can be frontrun to bypass incentive rules ### Description _Acknowledged_ When users deposit the UniV3 position into the staker, they accumulate some rewards from incentives. Users can stake this position in different incentives, capped at some limit. Incentives could be in different reward toke...
0