prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: try-catch does not store the state when it is reverted ### Description If a withdrawal from GMX is successful without any errors, the borrowed amount is repayed to the lending vaults within a try-catch block within the processWithdraw function. Subsequently, the afterWithdrawChecks are performed. If a revert ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: RocketDAO* - daoNamespace is missing a trailing dot; should be declared constant/immutable ✓ Fixed ### Description `string private daoNameSpace = 'dao.trustednodes'` is missing a trailing dot, or else there’s no separator when concatenating the namespace with the vars. ### Recommendation Addressed in branch `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Test coverage script fails to deliver the report ### Description Even though the project uses the [`Brownie` package](https://eth-brownie.readthedocs.io/en/stable/quickstart.html) to automate the tests and compile the contracts, running the script to get the coverage of the tests throughout the codebase end...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unchecked psy_american_program Address ### Description ## Vulnerability in American Option Instructions In the `InitializeAmericanOptionMarket` and `MintAmericanOption` instructions, the address that is passed to the `psy_american_program` account is not being validated against any address. Making a CPI call ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Risk of Overreporting Assets ### Description **Update** Fixed by the clients: Addressed in: `539ade03fd6486dba87cc2f411f1fa646f2f1f1c`. The client provided the following explanation: > Harvester has to record any external withdrawal request manually to complete withdrawal. Delegator keep track of all the w...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
Change Validation
true
false
Source: https://github.com/sherlock-audit/2022-11-isomorph-judging/issues/145 ## Found by cccz ## Summary priceLiquidity() may not work if PriceFeed.aggregator() is updated ## Vulnerability Detail In the constructor of the DepositReceipt_* contract, the value of minAnswer/maxAnswer in priceFeed.aggregator() is obta...
Sherlock
5
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
access-control
true
false
## Medium: setIsPausedForAllMarkets bypass the check done in setIsBorrowPaused and allow resuming borrow on a deprecated market ### Description The `MorphoGovernance` contract allows Morpho to set the `isBorrowPaused` to `false` only if the market is not deprecated. ```solidity function setIsBorrowPaused(address _poo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Centralization Risk ### Description **Severity**: Medium **Status**: Acknowledged **Description** Admin enjoys too much authority in contracts. The general theme is that admin has power to call several state changing functions also affecting the tokenomics of the project. Some functions can be highly sev...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
reentrancy
true
false
## High: `BalancerPairOracle` can be manipulated using read-only reentrancy ### Description `BalancerPairOracle.getPrice` makes an external call to `BalancerVault.getPoolTokens` without checking the Balancer Vault's reentrancy guard. As a result, the oracle can be trivially manipulated to liquidate user positions prem...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Deadline doesn’t protect against long-pending transactions ### Description In Uniswap v3, the `deadline` parameter represents the Unix time after which the transaction will fail, intended to protect against long-pending transactions and wild swings in prices. However, the deadline set when calling `UNISWAP_V3_...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Liquidations May Fail Due to Underflow in `CurveConvexLib.checkReentrancyContext()` ### Description `CurveConvexLib.checkReentrancyContext()` is called during liquidations to check whether the reentrancy flag in Curve pools is enabled. For pools flagged as `CurveInterface.V2`, the function calls: ```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
oracle
true
false
## Medium: Unable to retrieve price information with CamelotRelayer contract ### Description The price lookup feature of the CamelotRelayer contract does not work. ### Proof of Concept The CamelotRelayer contract uses Uniswap V3's OracleLibrary to retrieve price information from Camelot pool. However, Camelot pool d...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Calculation can be incorrect ### Description `expectedLiquidity` contains real balance + pseudo balance from borrowers interest: https://github.com/Gearbox-protocol/gearbox-contracts/blob/0ac33ba87212ce056ac6b6357ad74161d417158a/contracts/pool/PoolService.sol#L396 ### Recommendation We recommend adding a fun...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
true
false
## Low: Revert while revoking already expired permissions ### Description The `revoke` function revokes arbitrary spend permissions without validating/double-checking the input parameters. Logically, it is good to revert if the current `block.timestamp` is beyond `spendPermission.end`, as the permission will have expi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [G‑18] Multiple accesses of a mapping/array should use a local variable cache ### Description The instances below point to the second+ access of a value inside a mapping/array, within a function. Caching a mapping’s value in a local storage or calldata variable when the value is accessed multiple times, saves ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
timing
false
false
## Low: Unused functions in `KeyRegistry` ### Description In the `KeyRegistry` contract, there are three internal methods designed to handle 64-byte key operations: * `_setKey64(address operator, uint8 tag, bytes memory key)` * `_getKey64At(address operator, uint8 tag, uint48 timestamp)` * `_getKey64(address operat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No incentive to liquidate small positions could result in protocol going underwater ### Description The DYAD protocol allows users to deposit as little as 1 WEI via the [`deposit()`](https://github.com/code-423n4/2024-04-dyad/blob/main/src/core/VaultManagerV2.sol#L119-L131) function; however, in order to mi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Append instruction overwrites instead of appending ### Description The `append_data_sandwich_validators_bitmap` function is documented as an "append" utility. However - its implementation actually **overwrites** the beginning of the bitmap with the provided data, starting at offset 0. It does not support tru...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Bad `killed` check in `unpause` and `kill` functions ### Description **Severity** **Impact:** High **Likelihood:** Medium **Description** Pools are designed to be paused, unpaused or killed. If killed, they cannot then be unpaused again. Lets look at the `unpause` function. The second line checks the k...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LinearVesting does not calculate vested amount linearly ### Description _Submitted by xYrYuYx_ #### Impact - - These calculations are incorrect for linear vesting. #### Proof of Concept i.e. if start amount is 10000, and duration is 100 seconds. After 50 seconds, user can claim 5000 which is 50% 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
high
front-running
true
false
## High: No slippage protection for bridgeFunds ### Description **Severity:** High **Path:** BridgeConnectorHomeSTG.sol, BridgeConnectorRemoteSTG.sol **Description:** The function bridgeFunds (in both Home and Remote contracts) is used to send assets from a crate to a remote chain; it uses Stargate to make the swap....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Weak Fiat-Shamir in `c-kzg-4844.verify_cell_kzg_proof_batch ` ### Description Prysm (and possibly other clients) use the `c-kzg-4844` library to verify KZG proofs. For example, Prysm calls the `verify_cell_kzg_proof_batch` function to verify incoming data column sidecars, as shown [here](https://github.com/Of...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Missing zero check during initialization ### Description **Description** contracts/OrderBook.sol#48, withdrawAddress The variable is actively used in the contract, though is not checked against the zero address. Since there is no ability to change the value and since the initialization is performed only in th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: IRMSynth.sol - L91-L94: Failure to account for case quote == targetQuote risks incorrect in- terest rate calculations for synthetic tokens ### Description The `_computeRate()` function fails to accommodate the case when `quote == targetQuote`. Currently, it bundles this case together with `quote > targetQuote`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No kick motivation in case of many little locks ### Description A `kick()` caller receives a kickPenalty which is `voteLocks[].amount * 10%`. - https://github.com/ConicFinance/protocol/blob/7a66d26ef84f93059a811a189655e17c11d95f5c/contracts/tokenomics/CNCLockerV2.sol#L342 If this reward does not exceed the g...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious proposer can include additional transactions in BeaconBlock ### Description A malicious proposer can include additional transactions in `BeaconBlock` besides the `BeaconBlock` and Sidecars transaction. These are essentially ignored but the code still iterates over them and sets their transaction 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
false
false
## Low: Pre-start trading fees may result in unfair investor benefits ### Description _Acknowledged_ In the current design, the Fixed Side investor’s liquidity can be added to the Uniswap V3 pool and begin generating trading fees **before** the Vault officially starts (`isStarted == false`). However, once the 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
low
other
false
false
## Low: Functions should be declared as external ### Description **Description** Methods burn(uint256), snapshot() and transferAndCall(address,uint256,bytes) should be declared external. **Recommendation**: declare methods as external
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent Solidity Versions ### Description Different Solidity compiler versions are used, the following contracts mix versions: ```js 21 results - 21 files contracts/access/PermitControl.sol: 2: pragma solidity ^0.8.19; contracts/interfaces/IByteContract.sol: 2: pragma solidity ^0.8.19; contracts/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
true
false
## High: Malicious call data can DOS execute ### Description An attacker can Denial of Service (DOS) the executor contract by giving infinite allowance to normal users. Since the executor increases allowance before triggering an external call, the transaction will always revert if the allowance is already infinite. `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lender may not be able to close loan or get back lending token. ### Description The `TellerV2` smart contract offers lenders to claim a NFT by calling `claimLoanNFT`. This will set the `bid.lender` to the constant variable `USING_LENDER_MANAGER`. This is done to ensure that the lender will only be able to cla...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: SwapperCalleeUniV3 is incompatible with USDT ### Description The `SwapperCalleeUniV3` can be used by the Swapper as a Uniswap-V3 swap fulfillment callee for arbitrary tokens. The preliminary technical specification of the Allocation System mentions USDT among other tokens. 1. The `ApproveLike` interface defin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
front-running
true
true
## High: A user calling controller::dctstake can bypass tax by first transferring the tokens to be staked in a separate transaction ### Description ## Context **File:** Controller.sol#L430 ## Impact When a user stakes DCT tokens via `dctStake`, there is a 1% tax on their `amount_` to stake. This 1% "tax" is transferre...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Unused library import ### Description FixedPointMathLib is imported in ERC4626.sol but no longer used. https://github.com/code-423n4/2024-06-gondi/blob/ab1411814ca9323c5d427739f5771d3907dbea31/src/lib/pools/ERC4626.sol#L7 ### Recommendation Remove unused library. ### Recommendation Remove unused library.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Low: Any Contract In Any Transaction Initiated By Owner Can Spend RCH Before The Start Time ### Description Any contract that is interacted with by the owner can call RCH and bypass the check on line [23]. This means that it is quite possible for third parties to interact with the RCH token before `tradingStartTime...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: | Pull Over Push Ownership ### Description **Description** The ownership transfer process should have a push and pull step rather than executing in a single transaction with `setGov`. This way the protocol may avoid catastrophic errors such as setting the wrong governance address. **Recommendation** Implem...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No incentive for bidders to vote earlier ### Description Hermez relies on a voting system that allows anyone to vote with any weight at the last minute. As a result, anyone with a large fund can manipulate the vote. Hermez’s voting mechanism relies on bidding. There is no incentive for users to bid tokens w...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Restriction cannot be set again ### Description **Description** contracts/RUSD.sol After setting restrictions to NONE they cannot be renewed even if the restrictionRenewal is updated. Since there is no documentation about state changes we cannot verify the correctness. Check the functionality and confirm 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
timing
true
false
## Low: Incorrect test setup leads to false test outcomes ### Description `IntegrationTest.t.sol` includes an integrated test that verifies the entire staking lifecycle. However, the current test setup, in several places, advances the blocks using foundry's `vm.roll` but neglects to adjust the timestamp using `vm.warp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TRST-L-7 Gelato risks ### Description **Description:** The GelatoBot contract deposits ETH for gas fees into the Gelato system. If Gelato, due to malicious reasons or due to a bug, charges more gas than required for the transaction, the balance would be deducted by this amount. It is worth noting that Gelato...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
storage
true
false
## Medium: Users that have to claim collateral more than once for a time slot, may get the wrong total amount ### Description Users that have to claim collateral more than once for a given time slot, may get the wrong total amount, because the amount claimed is incorrectly set ### Impact Accounting of the claimed amo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Custom Errors instead of Revert Strings to save Gas ### Description Custom errors from Solidity 0.8.4 are cheaper than revert strings (cheaper deployment cost and runtime cost when the revert condition is met) Source: : > Starting from [Solidity v0.8.4](https://github.com/ethereum/solidity/releases/tag/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
signature
false
false
## Low: [37] `PointProjective::mul_assign` optimization ### Description [secp256k1/mod.rs, line 543](https://github.com/code-423n4/2023-10-zksync/blob/1fb4649b612fac7b4ee613df6f6b7d921ddd6b0d/code/era-zkevm_circuits/src/ecrecover/secp256k1/mod.rs#L543)
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Time Rounding
true
false
Source: https://github.com/sherlock-audit/2022-11-bond-judging/issues/32 ## Found by obront ## Summary Fixed Term Tellers intend to mint tokens that expire once per day, to consolidate liquidity and create a uniform experience. However, this rounding is not enforced on the external `deploy()` function, which allow...
Sherlock
5
Bond Protocol
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Incorrect User and Chest ID Handling in allPlayerEntriesInChest() Function ### Description The `allPlayerEntriesInChest()` function is designed to return all player entries in a specified chest by chest ID and user address. ``` function allPlayerEntriesInChest(uint256 chestId, address user) external view retu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
front-running
true
true
[CidNFT.sol#L147-L157](https://github.com/code-423n4/2023-01-canto-identity/blob/dff8e74c54471f5f3b84c217848234d474477d82/src/CidNFT.sol#L147-L157)<br> [CidNFT.sol#L177-L182](https://github.com/code-423n4/2023-01-canto-identity/blob/dff8e74c54471f5f3b84c217848234d474477d82/src/CidNFT.sol#L177-L182) `CidNFT.mint()` ha...
Code4rena
4
Canto Identity Protocol
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Floating income is denominated in unclear units ### Description The NatSpec comments describe the income parameter in `updateDailyFloatingIncome` as "the calculated per token per wei income generated in the protocol since the last update." ```solidity /** * @dev Updates the daily floating income data. * @para...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: The wrong spell in the `ModuleBenefiaryReplaced` event name. ### Description **Severity**: Informational **Status**: Resolved **Description** https://github.com/SentienceQuest/heirloom/blob/main/src/Heirloom.sol#L25 `ModuleBenefiaryReplaced` should be replaced with `ModuleBeneficiaryReplaced`. **Recommenda...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: energy usage and environmental impact ### Description The token’s physical implementation requires huge amounts of energy for printing, counterfeit management, as well as transportation. Consider switching to a crypto-based currency to [reduce environmental impact](https://cointelegraph.com/news/bitcoin-has-l...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
overflow
true
false
## High: Liquidation of PartyA will fail due to underflow errors ### Description Liquidation of PartyA will fail due to underflow errors. As a result, assets will be stuck, and there will be a loss of assets for the counterparty (the creditor) since they cannot receive the liquidated assets. ### Impact Liquidation of...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Dispensable gas fess from public functions not called within contract ### Description Several functions throughout the files in scope currently define several functions with the `public` visibility modifier, even though the functions are not called from within the contract, possibly resulting in higher gas cos...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
storage
false
false
## Medium: Possible admin control loss ### Description In the current version of protocol, admin can set address of a new admin to zero, which means that nobody can call admin functions after that: https://github.com/lidofinance/steth-price-feed/blob/459495f07c97d04f6e3839e7a3b32acfcade22ad/contracts/PriceFeedProxy.so...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: OpenZeppelin vendoring ### Description All contracts except `MetalToken` are from version 1.0.5 of [OpenZeppelin](https://github.com/OpenZeppelin/zeppelin-solidity). Consider installing the contracts from NPM instead of vendoring (copy-pasting) them into the repository.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The Legacy Node Vesting Formula Ignores `legacyNodeTokensSentOnL1` Leading to Excessive Reward Distribution ### Description **File(s) affected:**`SnapshotterState.sol` **Description:** Owners of legacy nodes who have provided KYC details can claim node token rewards after burning their node. The intention of...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Missing admin initializations ### Description **Severity**: Low **Status**: Acknowledged PCryptoPunks and PCryptoPunksDelegate do not have important functionalities implemented, such as setting of the admin. If these contracts are deployed, it could lead to the admin functions and nonreentrant functions bein...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `VaultRouter` cannot be used for deposits when it reaches the maximum deposit limit ### Description `VaultRouter` cannot be used for deposits when it reaches the maximum deposit limit because this contract is the `msg.sender` to the vault and it is treated as a depositor who has a limit. ### Impact DoS of ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
false
false
## Medium: Same contract multi permits fundamentally cannot be solved via the chosen standards ### Description The finding is a direct follow up to: `All cross-chain USDO and TOFT flows using approvals may be susceptible to permit-based DoS griefing` from the Spearbit report. Since permits are signatures, they will 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
medium
other
false
false
## Medium: If The Staking Token Exists In Both `StakingRewards.sol` And `ConvexStakingWrapper.sol` Then It Will Be Possible To Continue Claiming Concur Rewards After The Shelter Has Been Activated ### Description _Submitted by leastwood_ Staking tokens are used to deposit into the `StakingRewards.sol` and `ConvexStak...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: transferToReserveAndStore: balanceReserveAfter can be inlined ### Description In the `_transferToReserveAndStore` function, we store the reserve balance after the transfer in the balanceReserveAfter variable, on line [523](https://github.com/code-423n4/2022-06-nested/blob/b253ed80f67d1bb2a04e1702f5796fd96a7c52...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Low: Permit2 Signatures Could Be Front-Run to Temporarily Prevent Execution ### Description The [`Permit2Forwarder`](https://github.com/Uniswap/v4-periphery/blob/df47aa9ba521fc15ffd339dc773d32f5fc4c91fc/src/base/Permit2Forwarder.sol) contract allows setting the contract as a spender in Permit2\. It implements two 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
high
liquidation
false
false
## High: Malicious refinancing attack could lead to suboptimal NFT liquidation ### Description A malicious refinancing with a very low `liquidationInitialAsk` just prior to a liquidation event could result in an NFT being liquidated for a price much lower than what the borrower wanted when signing up for the loan. Bec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Agent Data Oracle Signed Credential Front-Running Attack ✓ Fixed ### Description For almost every action as an `Agent`, the owner of the `Agent` is supposed to request `SignedCredential` data that contains all the relevant current info about the “off-chain” state of the `Agent`. New credentials can only be re...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
false
false
## High: `onlyOwnerOrAssetManager` can swap Yield Source in `SwappableYieldSource` at any time, immediately rugging all funds from old yield source ### Description _Submitted by GalloDaSballo, also found by 0xRajeev and gpersoon_ The function `swapYieldSource` [SwappableYieldSource.sol` L307](https://github.com/poolt...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
true
## Low: Small delegations prevent delegatee from receiving micropool rewards while still rewarding delegator ### Description Small delegations prevent delegatee from receiving micropool rewards while still rewarding delegator. ### Impact Delegatee doesn't receive micropool rewards but the delegator is able to extract...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Source Chain ID in a Submitted Batch Can Be Modified ### Description **Update** Marked as "Fixed" by the client. Addressed in: `21cfcab477bd9e8aa1f0b93656891b0b0657b368`. The client provided the following explanation: > Added sourceChainId to signed data **File(s) affected:**`ConsensusBridge.sol` **Descript...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Setting unused local variables ### Description **Severity**: Informational **Status**: Acknowledged **Description** In the `_excessInvariant()` function, a_0 and a_1 are not set but not used at all. **Recommendation**: Remove the line setting a_0 and a_1
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
false
false
## Medium: Centralization Risks ### Description The issue was identified within the contract's ownership and role management structure, presenting several centralization risks: 1. Owners have the capability to upgrade the contract implementation. 2. The `PAUSER_ROLE` can pause all transfers of sUSX, including mints 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
other
true
false
## Low: Reconfigurable Protocol Fee Percentage ### Description ## Fees.sol - Fee Calculator In `Fees.sol`, the `calculate` function is used to calculate the fee that should be taken by the protocol based on `tierType` and `mintPrice`. These percentage values are hardcoded into the code. ## Code Overview ## Remedia...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Auction creation during paused state due to entropy callback ### Description The `ApiologyAuctionHouse` contract has a mechanism to pause its operations preventing new auctions from being created. The creation of an auction can only occur through the `ApiologyAuctionHouse::unpause` and `ApiologyAuctionHouse...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 input validation may set COMP token to zero-address in Comptroller.sol ### Description ## Handle 0xRajeev ## Vulnerability details ## Impact Function _setCompAddress() is used by admin to change the COMP token address. However, there is no zero-address validation on the parameter. This may acciden...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Return fast in `TradingAccountBranch::getAccountLeverage` when margin balance is zero ### Description **Description:** Return fast in `TradingAccountBranch::getAccountLeverage` when margin balance is zero: **Zaros:** Fixed in commit [8ae8340](https://github.com/zaros-labs/zaros-core/commit/8ae8340aca00f7db9f...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The `sender` argument for the Solana `OnCall` instruction can be impersonated ### Description The `sender` argument for the Solana `OnCall` instruction can be impersonated due to not being included in the message signed by the observers. This allows an attacker to call the destination program with a differe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Not possible to send native via the `TransactionRelayer` to the target contract when executing `executeByInvestorWithBlockLimit` ### Description `TransactionRelayer::executeByInvestorWithBlockLimit` makes an external call to a `destination` address, one of the input parameters of this function is `value`, whic...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 use of Absolute Value in Calculations ### Description Description The function safeCalcTradeMargin() is a helper function in determining if a user is able to make a order by calculating the users base and quote after applying the changes of the order. The function safeCalcTradeMargin() incorrectly ta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
true
false
## Low: Oracles can be invalid in at most one way ### Description The Drift Protocol codebase represents oracle validity using an `enum`, which does not allow an oracle to be invalid in more than one way. Furthermore, the code that determines an oracle’s validity imposes an implicit hierarchy on the ways an oracle cou...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Can't enableCollateral after a disableCollateral ### Description _Submitted by gpersoon_ #### Impact The function `disableCollateral` of OverlayV1Mothership.sol doesn't set `collateralActive\[\_collateral] = false;` But it does revoke the roles. Now `enableCollateral` can never be used because `collater...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
false
false
## High: Permanent DOS in `liquidity_lockbox` for under $10 ### Description The `liquidity_lockbox` contract in the `lockbox-solana` project is vulnerable to permanent DOS due to its storage limitations. The contract uses a Program Derived Address (PDA) as a data account, which is created with a maximum size limit of ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
reentrancy
false
false
## Low: Missing modifiers ### Description Despite the use of OpenZeppelin libraries for re-entrancy guards and pausable functionality, not all external functions have the `nonReentrant` and pausable modifiers applied, so cross-function re-entrancy may be possible and functions could be called when not intended. Specif...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: newRatePerSec and newFullUtilizationRate might need to be updated even if interestEarnedAssets is 0 ### Description ## InterestImpl.sol: Lines 36-41 **Context:** A custom IIrm implementation might return values for `newRatePerSec` and `newFullUtilizationRate` which might need to be updated even if `interest...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: withdrawAll Function Can Withdraw Unsupported Tokens ### Description In the `BalancerMetaPoolStrategy`, the [`withdrawAll`](https://github.com/OriginProtocol/origin-dollar/blob/eb11498c376b65696c90981757221b076d6226aa/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L330) implementation re...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
true
false
## Low: `chainId` is used as the `EIP712Base::EIP712Domain.salt` in `DOMAIN_TYPEHASH` ### Description `EIP712Base` implements EIP-712; however, there is a mistake in the definition of [`DOMAIN_TYPEHASH`](https://github.com/OneWpOrg/smart-contracts-blockchain-1wp/blob/416630e46ea6f0e9bd9bdd0aea6a48119d0b515a/contracts/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
true
false
## High: `getPrice()` will always revert due to absence of `fallback()` and `receive()` functions ### Description **Description:** The `getPrice()` function is designed to calculate the price of `saleToken` by dividing the contract's ETH balance by the balance of `saleToken` held by the contract. However, the 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
medium
other
false
false
## Medium: Fixed fee level used for Uniswap swaps ### Description **Severity**: Medium **Status**: Resolved **Description** The UniswapV3Router function from AFiBase contract utilizes the UniswapV3 swap feature, where it intends to swap tokens using a hardcoded fee level of 3000, equivalent to a fee rate of 0.3%. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Access Control
true
false
## Audit Report ## Severity: Medium Risk ### Context OrderBook.sol#L790 ### Description The `collectFees` function is guarded by an inline access control require statement condition which prevents anyone, except a host, from invoking the function. Only the host of the market is authorized to invoke, effectively deli...
Spearbit
5
CLOBER
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Revert in Mira's get\_y Function Poses Convergence Risk ### Description In Mira's implementation of the `get_y` function, the method does not revert if it fails to converge within 255 iterations: ``` fn get_y(x_0: u256, xy: u256, y: u256) -> u256 { // ... [iteration logic] ... while i < 255 { // ......
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Exchanges ### Description A Futureswap [`Exchange`](https://github.com/futureswap/fs_core/blob/96255fc4a550a5f34681c117b5969b848d07b3a3/contracts/exchange/Exchange.sol) is defined by [an asset token and a stablecoin](https://github.com/futureswap/fs_core/blob/96255fc4a550a5f34681c117b5969b848d07b3a3/contracts...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Enforce Governing Mint as Community Mint ### Description Both `nft-voter` and `gateway-civic` specify a governing mint in multiple instructions, but there is some ambiguity as a realm can have both a community and council mint. While council mints are not yet supported, we recommended enforcing the governing m...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
true
false
## Low: Miscellaneous Findings ### Description This section details miscellaneous findings discovered by the testing team that do not have direct security implications: 1. Although the specification (specification.md) discusses upgradability, it makes no direct mention of the ContractProxy ERC1967 proxy. 2. Minor Ga...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: Wrong comment DecentralizedStableCoin.sol ### Description ### Relevant GitHub Links https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/DecentralizedStableCoin.sol#L32 It should be
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A flashmint max amount check is easily bypassed ### Description Users can take two or more flashloans and bypass the requirement of the `maxFlashLoan()` size. - https://github.com/prisma-fi/prisma-contracts/blob/52b26b8a2f1904b048754d5443e08d2144610b92/contracts/core/DebtToken.sol#L155C14-L157 The current cap...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `Auction.sol#settleAuction()` Bonder may not be able to settle a bonded auction, leading to loss of funds ### Description _Submitted by WatchPug_ [Auction.sol#L97-L102](https://github.com/code-423n4/2021-12-defiprotocol/blob/205d3766044171e325df6a8bf2e79b37856eece1/contracts/contracts/Auction.sol#L97-L102)...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Improvements on Fuzzing Suite ### Description The Wonderland OpUSDC codebase has a significant number of invariant tests. The below provides recommendations on improvements and enhancements that can be made to increase coverage. ### Recommendation The files mentioned below contain recommendations for addition...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Array length validation inconsistencies ### Description Many functions across the protocol accept arrays as parameters, and each function checks that the array length of each parameter is equal to all other array parameters before iterating through any of them. There are a few instances where one of the array ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
false
false
## High: Valid redemptions may fail ### Description The [`_calculateRedeemOutputs` function](https://github.com/OriginProtocol/origin-dollar/blob/bf4ff28d5944ecc277e66294fd2c702fee5cd58b/contracts/contracts/vault/VaultCore.sol#L522) in the `VaultCore` contract calculates the amount of each asset to be redeemed based 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
initialization
false
false
## Low: Eliminate Unutilized Code ### Description ## Code Maintenance and Clarity ## Eliminate Unutilized Code ### Remediation Remove the sections of code listed below: - **lib.rs** - `initialize` - `increase_locker_size` - **state.rs** - `Initialize` - `IncreaseLockerSize` - `Withdraw` - `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
medium
oracle
true
false
## Medium: `PendlePTOracle._getPTRate` isn't correct for some market ### Description Quoting from the [comment](https://github.com/sherlock-audit/2025-06-notional-exponent/blob/main/notional-v4/src/oracles/PendlePTOracle.sol#L60C) >ptRate is always returned in 1e18 decimals The `PendlePTOracle._getPTRate` function 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
high
other
true
false
## High: Users can grief Bribe rewards, forcing them to be stuck forever by continuously calling `Voter::poke` ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/Bribe.sol Impacts: - Permanent freezing of unclaimed yield - Griefing (e.g. no profit m...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Token Amount Mismatch ### Description In the deposit instruction, the `deposit_sol` operation deposits SOL into a stake pool and receives a certain amount of stake pool tokens in return. These tokens are received in an account with the `mint` `common_state.lst_delegation_mint`, not necessarily the same as the ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
false
false
## Medium: Program start failure due to incorrect buffer calculation ### Description The buffer to start funding is [defined as](https://github.com/sherlock-audit/2025-06-superfluid-locker-system/blob/main/fluid/packages/contracts/src/FluidEPProgramManager.sol#L265-L268) `uint256 buffer = program.token.getBufferAmount...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Calls to liquidate don't write down totalBorrows which breaks exchange rate ### Description When a pool is liquidated, the `totalBorrows` storage slot for the token in question should be decremented by `debtToCover` in order to keep the exchange rate of the corresponding `pToken` correct. ### Impact When a u...
0