prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: Unnecessary math operation when `_remainingNewLender` is set to type(uint256).max in the refinance flow ### Description When a lender initiates `refinanceFull()` or `refinancePartial()`, `_remainingNewLender` will be set to `type(uint256).max` (`src/lib/loans/MultiSourceLoan.sol# L280`), which indicates the le...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: Lack of two-step procedure for critical operations leaves them error-prone ### Description Several critical operations are done in one function call. This schema is error-prone and can lead to irrevocable mistakes. For example, the setter for the whitehack group address sets the address to the provided argume...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing events for critical parameter changing operations by owner ### Description _Submitted by 0xRajeev_ The owner of `TracerPerpetualSwaps` contract, who is potentially untrusted as per specification, can change the market critical parameters such as the addresses of the `Liquidation`/`Pricing`/`Insuran...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: There are no checks that an athlete sent funds to the FantiumClaimingV1 contract ### Description There are no checks that an athlete has sent tokens to the contract (`amountPaidIn` is not checked). So, users from the collections that are not able to claim funds will be able to claim them from other distributi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Medium: Replay Attack to Close or Open Market Unexpectedly ### Description **Update** The team fixed the issue in the following commits: `d1c563c`, `7cbb1bc`, `9a0de5c`, `0efabf1`, and `495a4d6`. To address the issue, the team moved the responsibility for the "market pause" from a specific operation instruction to...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Rebalance considers 4 Gm tokens while Router considers 5 Gm tokens ### Description **Severity**: Low **Status**: Resolved **Description** Contract GlmRebalance considers a total of 4 Gm tokens in the rebalancing logic while Contract GlmRouter considers 5 Gm tokens for the deposit/withdrawal process. Curre...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiple checks-effects violations ### Description Throughout the system, there are various violations of the checks-effects-interactions pattern where the contract state is updated after an external call. Since large parts of the Rocket Pool system’s smart contracts are not guarded against reentrancy, the ex...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: Denial of service for swaps on `MultiRangeHook` pools ### Description **Description:** When a new range is created in `MultiRangeHook`, a new `IncentivizedERC20` LP token is registered and added to the array of tokens corresponding to the specific pool: Since the action is permissionless, this means that 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
false
false
## Low: | Using .transfer ### Description **Description** `transfer()` comes with a fixed amount of gas. **Recommendation** Utilize `call()` with a success check. **Resolution** Ultimate Fantoms: Resolved, applied suggestion.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `MinterContract::payArtist` can result in double the intended payout ### Description The royalty allocation within the protocol works like this: First, an admin sets the split between team and artist. Here it is validated that the artist and team allocations together fill up 100%: [`MinterContract::setPri...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: MISSING HTTP SECURITY HEADERS ### Description It was found that `https://hsuite-finance.firebaseapp.com` does not implement a number of the standard and recommended HTTP security headers. The headers that were found to be missing are: * access-control-expose-headers * access-control-allow-methods * access-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
gas
other
true
false
## Gas: `SwingTraderManager.buyMalt()`: swingTraders should get cached ### Description See @audit tag
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
true
false
## Low: The maker cannot enforce the number of times a specific order can be fulfilled for custom strategies ### Description When a maker signs an order with a specific strategy, it leaves it up to the strategy to decide how many times this specific order can be fulfilled. The strategy's logic on how to decide on 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
other
false
false
## Low: Improper use of access modifiers. ### Description **Description** The whole functions in contract use “public” access modifiers but most of them can be called only externally. Recommendation**: Use “external” access modifier in functions that can be called only externally.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Functions cannot be called ### Description **Severity** **Impact:** Medium **Likelihood:** High **Description** The `YieldToken` implementation is created within the `YieldTokenFactory` constructor: The `YieldManager` contract inherits from the `YieldTokenFactory` contract: Therefore, the `YieldManage...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wrong P2P exchange rate calculation ### Description `_p2pDelta` is divided by `_poolIndex` and multiplied by `_p2pRate`, nevertheless it should have been multiplied by `_poolIndex` and divided by `_p2pRate` to compute the correct share of the delta. This leads to wrong P2P rates throughout all markets if supp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
storage
true
false
## Gas: Use assembly to reuse memory space when making more than one external call ### Description **Issue Description** - When making external calls, the solidity compiler has to encode the function signature and arguments in memory. It does not clear or reuse memory, so it expands memory each time. **Proposed Optim...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Interest Rate Model Uses Prime Rate Instead of Optimal Rate at Optimal Utilization ### Description The interest rate model in `ReserveLibrary::calculateBorrowRate()` calculates borrowing rates using the prime rate instead of the configured optimal rate, causing borrowers to pay double the intended 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
low
initialization
true
false
## Low: Missing events in initializers ### Description As a best practice, consider emitting an event when the contract is initialized. In this way, it's easy for the user to track the exact point in time when the contract was initialized, by filtering the emitted events. *There is 1 instance of this issue.* [[135]...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Cross-chain replay attacks ### Description Storing the `block.chainid` is not safe. See [this](https://github.com/code-423n4/2021-04-maple-findings/issues/2) issue from a prior contest for details. 1. File: src/ERC20Permit.sol (lines [23-28](https://github.com/code-423n4/2022-04-axelar/blob/dee2f2d352e8f20f2...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
false
false
## Low: Caching array length in loops can save gas ### Description Reading the length of the array at each iteration of the loop requires 6 gas (3 for `mload` and 3 to place `memory_offset`) onto the stack. Caching the length of the array on the stack saves about 3 gas per iteration. The affected functions are the fol...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing slippage/min-return check in BaseStrategy ### Description ## Handle cmichel ## Vulnerability details ## Vulnerability Details The contracts are missing slippage checks which can lead to being vulnerable to sandwich attacks. > A common attack in DeFi is the sandwich attack. Upon observing a trade 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
other
false
false
## Low: Inaccurate Redemption Calculations ### Description ## GetPendingRedemptions `GetPendingRedemptions` in insurance calculates the total pending redemption amount for a specific user and market by summing up the redemption amounts from all relevant redemption schedules. However, it does not account for changes 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
high
other
true
false
## High: Disabling Withdrawals by Withdrawing Zero-Value FA ### Description ## ds_token Module Overview The `ds_token` module relies on an invariant that withdrawals must be coupled with deposits. The system tracks the number of active withdrawals utilizing the `WithdrawCount` resource, ensuring that multiple withdra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `StrategyPUSDConvex.balanceOfJPEG()`: `jpeg` should get cached ### Description See `@audit` tags:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
false
false
## Low: Forcing CCIP native fee payment results in 10 percent higher costs for `LINK` holders ### Description CCIP allows users to pay using either `LINK` or native gas token. By hard-coding `EVM2AnyMessage::feeToken = address(0)` the protocol forces all users to pay using the native gas token. This results in [highe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
high
rounding
false
false
Source: https://github.com/sherlock-audit/2023-03-taurus-judging/issues/35 ## Found by imare, GimelSec, jonatascm, cducrest-brainbot, 0x52, bytes032, Bauer, Bahurum, duc, yixxas, mstpr-brainbot, RaymondFam, roguereddwarf, peanuts, ck ## Summary Multiple calculation are done with the amount of collateral token that...
Sherlock
5
Taurus
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insufficient event generation ### Description Multiple operations do not emit events. As a result, it will be difficult to review the contracts’ behavior for correctness once they have been deployed. Events generated during contract execution aid in monitoring, baselining of behavior, and detection of suspicious...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential Unexpected Behavior when Depositing ### Description **Update** Marked as "Fixed" by the client. Addressed in: `e8d4175428ff7b304619bf9ff2eb341d86deb0e5`. Deposit transactions now revert if the deposit duration is not within the valid timeframe. **File(s) affected:**`BreederTimeLockPool.sol` **Desc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Contract upgrades can catastrophically fail if the storage layout changes ### Description The contracts in Ampleforth use the ZeppelinOS library for upgradability. Due to the way in which the library implements upgrades, the storage layout of the contracts must not change between deployments. Unfortunately, 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
liquidation
false
false
## Low: Noncanonical bump ### Description ## Community Pools Authority and Loan Proposal Security The community pools authority PDA is used as an authority by the program, with the caller providing the bump seed. In particular, an attacker may provide a noncanonical bump in the `proposeLoan` instruction. This results...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Unnecessary require statements ### Description There are several instances in the code base where the `require` statements or conditional checks are unnecessary. For instance: * In the `OracleRelayer` contract, the `require` statement in the `modifyParameters` function at [line 189](https://github.com/reflex...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Medium: Increasing quorum requirements will prevent messages from being processed ### Description The admin can call `setRequiredMessagingQuorum` to set `requiredQuorum`: ```solidity function setRequiredMessagingQuorum(uint64 srcChainId_, uint256 quorum_) external override onlyProtocolAdmin { requiredQuorum[srcC...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Decimals
true
true
The `price()` function is expected to return the price of one fractional tokens, represented in base tokens, to 18 decimals of precision. This is laid out clearly in the comments: `/// @notice The current price of one fractional token in base tokens with 18 decimals of precision.`<br> `/// @dev Calculated by dividing...
Code4rena
5
Caviar
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
true
false
## Low: Attacker can increase gas cost of _getSaltAndTarget ### Description The `_getSaltAndTarget` function (Figure 17.1) is used by the DharmaSmartWalletFactoryV1 and DharmaKeyRingFactoryV1 contracts to calculate an address to be used during contract deployment. If a generated address already has contract code deplo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
overflow
true
false
## Gas: Unchecking arithmetics operations that can't underflow/overflow ### Description Solidity version 0.8+ comes with implicit overflow and underflow checks on unsigned integers. When an overflow or an underflow isn't possible (as an example, when a comparison is made before the arithmetic operation), some gas can ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Fixed gas limits in `LayerZero` cause transaction and fund locks ### Description The LayerZero integration uses hardcoded gas limits (500,000 for lzReceive and 800,000 for compose operations) that don't adapt to payload complexity or network conditions. This creates a critical vulnerability where complex opera...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: Variables could be immutable ### Description **Severity**: Informational **Status**: Resolved **Description** In contract Proxy.sol, at line 7 inside the constructor, the impl parameter can be zero and is not checked. In case the address is zero, the proxy would not function properly and there is no fallbac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use the delete keyword instead of assigning default values ### Description There is no need to assign default values to storage slots that you want to clear, as there is the `delete` keyword for this. You use it in some places but not everywhere - use it everywhere for this use case. ### Recommendation - `org...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: RELIANCE ON MANUAL PROCESS ### Description The `make_payment_on_behalf_of` instruction enables the pool treasury owner to make payments on behalf of a borrower. To use this instruction, the borrower manually transfers a previously agreed-upon amount to the pool treasury. The treasury owner then completes 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
overflow
true
false
## High: Reserve Share Overflows Due to Too Strict Reward Calculation Mechanism ### Description In the system's vertex balancing logic, `trimBalance()` withdraws surplus funds from a vertex's vault and deposits them into the global reserve. The reserve maintains its own share accounting per token, and share minting is...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
token
true
false
## Gas: Using `bool`s for storage incurs overhead ### Description 1. File: core-contracts/contracts/ERC721Payable.sol (line [8](https://github.com/code-423n4/2022-03-joyn/blob/c9297ccd925ebb2c44dbc6eaa3effd8db5d2368a/core-contracts/contracts/ERC721Payable.sol#L8)) 2. File: core-contracts/contracts/CoreCollection.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
high
other
false
false
## High: yVault: First depositor can break minting of shares ### Description _Submitted by hickuphh3, also found by 0xDjango, berndartmueller, cmichel, hyh, and WatchPug_ [yVault.sol#L148-L153](https://github.com/code-423n4/2022-04-jpegd/blob/main/contracts/vaults/yVault/yVault.sol#L148-L153) The attack vector and i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
false
false
## High: Unauthenticated disperser clients can fill the global rate limit even if unauthRates are 0 ### Description Unauthenticated disperser clients can fill the global `rate limitsTotalUnauthThroughput` and `TotalUnauthBlobRate` even if the `unauthRates.PerUserUnauthThroughput` and `unauthRates.PerUserUnauthBlobRate...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Solmate's SafeTransferLib doesn't check whether the ERC20 contract exists ### Description Solmate's SafeTransferLib, which is often used to interact with non-compliant/unsafe ERC20 tokens, does not check whether the ERC20 contract exists. The following code will not revert in case the token doesn't exist (yet)...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Missing parameter validation on setters and event spamming prevention ### Description User parameter validity should always be verified to prevent contract updates in an inconsistent state. The parameter’s value should also be different from the old one in order to prevent event spamming (emitting an event whe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Protected listings checkpoints are not always updated when the total supply changes ### Description The protocol doesn't update protected listings checkpoints every time the total supply of collection token changes ### Impact Since the checkpoints are not correctly updated users will pay a wrong interest rat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The function `withdrawRemainingTokens` can be changed in a safer way to handle the withdraw from the owner and the protocol fee as well. This prevent risks allocated with the protocol fees. ### Description By the docs this function is called in two different scenarios, if a quest is full and receipt redeemers ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Pending allowances can be exploited ### Description Pending allowances can be exploited in multiple places in the codebase. ### Impact The impact of this vulnerability is that any pending allowances from any user can immediately be exploited to steal the collateral/borrowed amount. ### Recommendation There ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 variable `lastTransaction` ### Description Contract `ERC314Implementation` contains storage variable `lastTransaction` which is never used. Consider removing it or adding missing functionality.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `InterestRateModel.getCurrentInterestRate()` returns a non-zero value for `address(0)` ### Description `LendingPool.assetUtilizationData` returns an empty struct when the asset address is **address(0)**. `InterestRateModel.getCurrentInterestRate()` calculates the delta between the current timestamp and data.i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Lack of emitting an event ### Description **Severity** - Low **Status** - Resolved **Location** - DomainNFT.sol **Description** The setStakingContract() is missing an event when the stakingContract variable is updated. **Recommendation** Add a relative event in 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
other
false
false
## Low: Overall Test Coverage ### Description Testing is a core procedure in quality assurance (QA) to help minimize bugs. The overall quality and quantity of the tests is reasonable in `kzg-ceremony-sequencer` and `trusted-setup-frontend`. The output of cargo tarpaulin, as seen in **Appendix Test Coverage**, shows 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
overflow
false
false
## Low: Unbounded Curve Parameter Can Lead to Overflow ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Well before getting to the point of math overflow, setting the bonding curve parameter too high will simply make purchasing the item impossible, si...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
false
## Low: Use `SafeERC20` functions instead of standard ERC20 functions ### Description Use [SafeERC20](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/utils/SafeERC20.sol) functions `safeTransfer`, `safeTransferFrom`, `forceApprove` etc instead of standard ERC20 functions to ens...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
false
false
## Low: Incorrect Variable Naming ### Description The issue was identified in the [`getPaymentAmount`](https://github.com/MetaLex-Tech/MetaVesT/blob/b614405e60bce8b852e46d06c03fd47b04d86dde/src/RestrictedTokenAllocation.sol#L118) function of the `RestrictedTokenAllocation` contract. `repurchaseTokenDecimals` 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
gas
overflow
true
false
## Gas: `/reference`: Unchecking arithmetics operations that can't underflow/overflow ### Description This is similar to the optimization above, except that here, contracts under `/reference` are just readable versions of the real contracts to be deployed. The following lines should be `unchecked`, please check that ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
true
false
## High: Attakers can steal the funds from long-term reservation ### Description In this protocol NFT owner can set the NFT in sale even if it is still under active rent by triggering `execute.rs#setlistforsell()` which could set `token.sell.auto_approve` to a true value (means anyone can directly be approved and this...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: SINGLE-STEP OWNERSHIP CHANGE ### Description Single-step ownership change for contracts is risky. Owner addresses in River contracts can be changed in one step due to pattern in `LibOwnable`. If the owner's address is set to the wrong address, this could lead to funds being lost or locked. When changing pr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Native tokens may be drained by invoking unexpected compliance functions ### Description The `CommandSafeExecutor` contract performs arbitrary calls into the compliance diamond, potentially allowing an unintentional function from the diamond to be called and trigger unexpected behavior, up to and including 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
signature
true
false
## High: `executeTransactionFromOutside` does not increment the nonce ### Description `ClaveImplementation` implements `executeTransactionFromOutside`, which can be called by the wallet owner to manually execute a transaction as a fallback. However, this execution doesn't increment the nonce of the wallet. ```solidit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
initialization
true
true
## 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/588c84b7bb354d20cbca6034544c4faa46e6a80e/contracts/Trading.sol#L734 ## Vulnerability details ## Impact Formula for `fee paid` in [...
Code4rena
5
Tigris Trade
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
true
false
## Low: Missing slippage protection in redeem function ### Description _Resolved_ The `redeem` function in `UsrExternalRequestsManager` lacks a minimum expected amount parameter to protect users from price changes between transaction submission and execution. The redemption rate is determined by the Aave oracle pric...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Privileged Roles and Ownership ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: _Added public docs: https://docs.31third.com/protocol/contracts/owner-privilege_ **Description:** Smart contracts will often have `owner` variables to designate the ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Conditional chain halt vector due to unmetered iteration over unbounded restakable asset under default params ### Description In the case where no denoms are allowed as restakable, allowed denom checks are skipped and all denoms are restakable. Due to linear iteration over reward denoms when calculating ope...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack Of Restriction On Seed Length ### Description ## Issue Summary The issue arises due to a lack of explicit checks or restrictions on the length of the seed input, which may result in various issues, including a stack overflow or panic if the seed length is very high. The code recursively calls `Self::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
low
other
false
false
## Low: | Visibility Modifiers ### Description **Description** The functions `getTokenEditionName`, `getTokenEditionId`, `getTokenNoteId`, `getTokenBalance`, `getEditionsLength`, `getNotesLength`, `totalPrinted`, and `notesCirculating` are marked as `public`, but are never called from inside the contract. **Recommen...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
false
false
## Low: SiloManager.borrowAsset allows to pass arbitrary _collateralAsset parameter ### Description The `borrowAsset` function doesn’t verify if the passed `_collateralAsset` parameter is the actual collateral used by the silo. ### Recommendation Consider if the parameter can be derived from the silo. For instance, a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
false
false
## Medium: Possible DoS on `unstake()` ### Description RocketPool rETH tokens have a [deposit delay](https://github.com/rocket-pool/rocketpool/blob/967e4d3c32721a84694921751920af313d1467af/contracts/contract/token/RocketTokenRETH.sol#L157-L172) that prevents any user who has recently deposited to transfer or burn toke...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Wrong Math
true
false
Source: https://github.com/sherlock-audit/2023-01-ajna-judging/issues/162 ## Found by hyh ## Summary atomicSwapCallback() now reports `tokensTaken` higher than one corresponding to `quoteTokenAmount` whenever the rounding took place as the `excessQuoteToken` is omitted. ## Vulnerability Detail ERC721Pool's take(...
Sherlock
3.333333
Ajna
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Improper input validation in TransactionConsenu... ### Description Report type: Blockchain/DLT Target: https://github.com/shardeum/shardus-core/tree/dev Impacts: * Network not being able to confirm new transactions (total network shutdown) * Direct loss of funds ## Description ## Brief/Intro Shardeum 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
high
initialization
false
false
## High: Malicious Imports via Webpack Assets Module ### Description ## Exploiting Webpack's Asset Handling It is possible to exploit Webpack’s handling of assets when utilizing the `URL()` constructor to import files. Webpack treats certain imported assets, such as HTML files when included via the `URL()` constructo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Remove redundant checks ### Description **Description:** The function below behaves the same whether or not that check is present. * `StrataCDO.sol` **Strata:** Removed redundant check in commit [934be5](https://github.com/Strata-Money/contracts-tranches/commit/934be516bd0e3643d7fe37f19ce62f141281d704). **...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Dangerous nested loops ### Description **Severity**: Low **Status**: Acknowledged **Description** phenomanelTree.sol - In findPositionSpot, while loop is including a for loop (inside calcTreeNetwork). Nested loops in solidity are not recommended in blockchain. **Recommended** Rethink the data representat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious `variableAsset` token griefing attack ### Description _Acknowledged_ The protocol allows the creation of Vaults where the `variableAsset` is a user-supplied ERC20 token address. There are no enforced on-chain validations (e.g., whitelisting of trusted tokens) to ensure the token's behavior is compli...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [11] The `nonReentrant` `modifier` should occur before all other modifiers ### Description This is a best-practice to protect against reentrancy in other modifiers There are 10 instances: BidOrdersFacet.sol ([40-47](https://github.com/code-423n4/2024-03-dittoeth/blob/91faf46078bb6fe8ce9f55bcb717e5d2d302d22e/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
dos
true
true
## Low: DoS in unbonding when validator rewards fall below min amount threshold ### Description The [unbond](https://github.com/stakedotlink/contracts/blob/1d3aa1ed6c2fb7920b3dc3d87ece5d1645e1a628/contracts/polygonStaking/PolygonStrategy.sol#L213-L263) function in `PolygonStrategy` is vulnerable to DoS when small rewa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Low: `StakingCore` does not account for pending deposits to Hyper Core ### Description _Acknowledged_ The function `getTotalProtocolHype()` fails to include deposits made to Hyper Core within the **current block**. When users call `StakingCore.depositToHyperCore`, tokens are transferred to the bridge and remain...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: bitcoin-spv - verifyHash256Merkle allows existence proofs for the same leaf in multiple locations in the tree  Won't Fix ### Description `BTCUtils.verifyHash256Merkle` is used by `ValidateSPV.prove` to validate a transaction’s existence in a Bitcoin block. The function accepts as input a `_proof` and an `_i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
false
false
## Low: Erroneous docstrings and comments ### Description Several docstrings and inline comments throughout the code base were found to be erroneous and should be fixed. In particular: * In [lines 93 and 94 of `CoreLibrary.sol`](https://gitlab.com/aave-tech/dlp/contracts/blob/1f8e5e65a99a887a5a13ad9af6486ebf93f57d02...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `GovPool::revoteDelegated()` doesn't support multiple tiers of delegation resulting in delegated votes not flowing through to the primary voter ### Description **Description:** When a proposal has `delegatedVotingAllowed == false` such that automatic delegation re-voting will occur in [`GovPoolVote::revoteD...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No account existence check for low-level call in CEther.sol ### Description ## Handle 0xRajeev ## Vulnerability details ## Impact Low-level calls call/delegatecall/staticcall return true even if the account called is non-existent (per EVM design). Account existence must be checked prior to calling. The 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
token
false
false
## High: Anyone who approved quote tokens to a pool can be forced to take ### Description Taking may be executed on behalf of any address who approved spending of quote tokens to a pool: such address will pay quote tokens and will receive collateral. ### Impact Anyone can initiate a take on behalf of another user. Su...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Unused field in ForgePropsMulti struct  Won't Fix ### Description The `ForgePropsMulti` struct defines the field `isValid` which always seems to be true: **code/contracts/masset/shared/MassetStructs.sol:L78-L84** ``` /\*\* @dev All details needed to Forge with multiple bAssets \*/ struct ForgePropsMulti { ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unsafe type-casts ### Description Unsafe type-casts are performed throughout the contracts. - HyperdriveLong.sol#L259 - HyperdriveLong.sol#L321 - HyperdriveLP.sol#L157 - HyperdriveLP.sol#L320-L321 - HyperdriveLP.sol#L352 - HyperdriveLP.sol#L418 - HyperdriveLP.sol#L418-L441 - HyperdriveLP.sol#L532-L536 - Hy...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [L-05] ### Description [L-05] _safeMint() should be used rather than _mint() wherever possible _mint() is discouraged in favor of _safeMint() which ensures that the recipient is either an EOA or implements IERC721Receiver. Both OpenZeppelin and solmate have versions of this function There is 1 instance of 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
low
access-control
false
false
## Low: Privileged Roles and Ownership ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > _We intend to add an extensive explanation of the roles and impacts on the user in the docs._ **File(s) affected:**`PriceRouter.sol`, `Registry.sol`, `Fund.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
liquidation
true
false
## Medium: Incorrect totalVolumeOfBorrowersAmountinWei update in withdraw() ### Description In withdraw, we should deduct `depositedAmountInETH` not `depositedAmount` from the `totalVolumeOfBorrowersAmountinWei`. ### Impact After borrowers withdraw non-Ether collateral(weETH, wrsETH), the `totalVolumeOfBorrowersAmoun...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Logic Resulting in Wasted Gas ### Description **Update** Marked as "Acknowledged" by the client. The team has provided justification to claim the necessity of the code logic, and we consider this issue addressed properly. This item is remained as an informational item for reference. The client prov...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Accounts Are Incorrectly Closed ### Description ## Close Account Function in Solana The `close_account` function is used by the program to close Solana accounts. It does so by transferring any remaining lamports to another address. The issue is that Solana does not guarantee that the account will be immediate...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: PASSING SUPERFLUOUS SYSTEM PROGRAM ACCOUNT ### Description The instructions `ManageCredit`, `ManageCreditConfig`, `TriggerDefault`, `RefreshCredit`, `StartCommittedCredit` required passing also the `SystemProgram` account. However this account is not used in the program and is therefore superfluous. Passing t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
rounding
false
false
## Medium: Be careful with small transactions ### Description Token calculation [at line 90 of HackerGold.sol](https://github.com/ether-camp/virtual-accelerator/blob/2529ffe5efd5294b44f1bc89dc9a4721a7b16409/contracts/HackerGold.sol#L90) uses an integer division by 1,000,000,000,000,000, [which truncates the result 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
high
cross-chain
true
false
## High: InfernalRiftBelow.thresholdCross verify the wrong msg.sender ### Description `InfernalRiftBelow.thresholdCross` verify the wrong `msg.sender`, `thresholdCross` will fail to be called, resulting in the loss of user assets. ### Impact When transferring nft across chains,`thresholdCross` cannot be called in L2,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Remove sendMessages function ### Description The `sendMessages` function should be removed as it is not the intent of this application to transfer messages, only value. Best practices are to remove any code that is not intended to be used so as to reduce potential attack surfaces. ### Recommendation Remove th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: require(winval > 0) can lead to votes never able to be finalized and locking users fund forever in certain situations ### Description The Attacker Alice can create a vote with `voterPercent_` having the value of `0`. The `0` value can pass the check of `LPercentage.validatePercent(voterPercent_)`, so this vo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 topics[0] documented in `INTTManagerEvents` and `IRateLimiterEvents` ### Description **Description:** Inline NatSpec documentation incorrectly specifies topics[0] for the following events: 1. [`INTTManagerEvents::TransceiverAdded`](https://github.com/wormhole-foundation/example-native-token-transfer...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: claimFees may cause some external rewards to be locked in the contract ### Description claimFees will update rewardToken.lastBalance so that if there are unaccrued reward tokens in the contract, users will not be able to claim them. ### Impact It will cause some external rewards to be locked in the 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
medium
other
true
false
## Medium: `randomIndex` is not truly random - possibility of predictably minting a specific token Id ### Description `randomIndex' is not random. Any miner has access to these values: Non-miner attackers could also test the minting random condition until they get the ID they are looking to access. The internal var...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: An Address Gets Added to the `poolArray` Every Time `setNativePool()` Is Called ### Description **Update** The variable `poolArray` has been removed and the function `setNativePool()` has been updated accordingly. **File(s) affected:**`src/CreditVault.sol` **Description:**`CreditVault.sol` contract has a ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: There 's no way to transfer out native balance from the particlepositionmanager contract ### Description The `ParticlePositionManager` contract is intended to be deployed in the Blast network. Blast allows contracts and EOAs to set their Yield mode. As seen below, the contract configures itself at construct...
0