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
liquidation
false
false
## High: Improper Supply Cap Limitation Enforcement ### Description The `openLoan()` function does not check if the loan to be issued will result in the supply cap being exceeded. Indeed, line [251] only enforces that the supply cap is not reached before the loan is opened. As a result, any account can create a loan 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
low
other
true
false
## Low: Documentation and naming conventions can be improved ### Description Although the documentation is extensive, there are numerous areas where the documentation is either lacking or differs from the specifications in the codebase.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
true
false
## High: Red Stone Oracle Can Time Travel ### Description The [`RedstoneCoreOracle`](https://github.com/sherlock-audit/2024-08-sentiment-v2/blob/25a0c8aeaddec273c5318540059165696591ecfb/protocol-v2/src/oracle/RedstoneOracle.sol) can be atomically manipulated repeatedly back and forth between different observations wit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Native token withdrawal fails until manually approved ### Description TokenManager::withdraw uses a spending allowance on the capital pool to move its funds. When doing a withdrawal, the internal function TokerManager::\_transfer checks for this allowance and attempts to approve spending, but incorrectly pas...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
access-control
true
false
## Low: Don't initialize to default values ### Description Don't initialize to default values as Solidity already does this: ```solidity SoulBoundToken.sol 125: for (uint256 i = 0; i < admins.length; ++i) { 162: for (uint256 i = 0; i < accounts.length; ++i) { 226: for (uint256 i = 0; i < accounts....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Cross Chain
false
true
## Lines of code https://github.com/code-423n4/2022-11-stakehouse/blob/main/contracts/liquid-staking/LPTokenFactory.sol#L27-L48 ## Vulnerability details ### Impact Mistakes made on one chain can be re-applied to a new chain There is noΒ chain.idΒ in the data If a user does `deployLPToken`Β using the wrong network, a...
Code4rena
4
Stakehouse 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...
cyfrin_structured
low
initialization
true
false
## Low: Fee-on-transfer and rebasing tokens break accounting ### Description When recording a bet, the input data is saved directly to storage: ```solidity function initialize( IBet.Bet calldata initialBet, string calldata description, address pool, address treasury ) external initializer { _bet =...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Division by Zero in Committee Selection ### Description ## Division by Zero Issue in `staking_inner::select_committee_and_calculate_votes` In `staking_inner::select_committee_and_calculate_votes`, a division by zero may occur when calculating `capacity_vote` if `weight` is zero. The calculation of `capacit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect ticket price reference in JackpotBridgeManager causes user overpayment after price updates ### Description ### Finding description and impact In the `Jackpot.sol` contract, several parameters define each drawing (such as `ticketPrice`, `bonusBall`, etc.). These parameters are set at the beginning...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: NuCypherKMSToken may be vulnerable to transaction reordering attacks ### Description There’s a well-known race condition in the ERC20 standard where an attacker with the ability to reorder transactions can use `transferFrom` to take more tokens than they were allotted with `approve`. While mitigations for 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
gas
storage
true
false
## Gas: State variables may be packed into fewer storage slots ### Description **File:** `Governance.sol` [File: code/contracts/ethereum/contracts/governance/Governance.sol](https://github.com/code-423n4/2024-03-zksync/blob/main/code/contracts/ethereum/contracts/governance/Governance.sol#L26) Consider changing `minD...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: Unsafe `safeApprove` and `safeIncreaseAllowance`. ### Description - https://github.com/ConicFinance/protocol/blob/7a66d26ef84f93059a811a189655e17c11d95f5c/contracts/CurveHandler.sol#L246 - https://github.com/ConicFinance/protocol/blob/7a66d26ef84f93059a811a189655e17c11d95f5c/contracts/CurveHandler.sol#L266 ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
true
false
## Medium: Malicious user can frontrun withdrawals from Insurance Fund to significantly decrease value of shares ### Description When a user withdraws from the insurance fund, the value of their shares is calculated based on the balance of vUSD in the fund. Another user could deliberately frontrun (or frontrun by chan...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unsafe Casting ### Description **Update** Marked as "Fixed" by the client. Addressed in: `9e6877e058affa30ab14a2e55d9374f4ef0690b9`. **File(s) affected:**`contracts/peripheral/vault/Vault.sol` **Description:** The following casts are unsafe and may result in bit loss, thereby leaving some funds untransfered....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
true
## High: Failure to update dirty flag in `transferToUnoccupiedPlot` prevents reward accumulation on valid plot ### Description The [`transferToUnoccupiedPlot`](https://github.com/code-423n4/2024-07-munchables/blob/94cf468aaabf526b7a8319f7eba34014ccebe7b9/src/managers/LandManager.sol#L199) function allows a user to tra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Validation
true
false
## Medium Risk Vulnerability Report ## Severity **Medium Risk** ## Context - `aave-v2/MorphoGovernance.sol#L470` - `compound/MorphoGovernance.sol#L470` ## Description The `MorphoGovernance` contract allows Morpho to set the `isBorrowPaused` to `false` only if the market is not deprecated. ```solidity function setIs...
Spearbit
5
Morpho
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Typo in code comments ### Description The following code comments are incorrect: - `/// @param order the priorityOrder` - `/// @param order the V3DutchOrder` ### Recommendation Consider fixing the code comments as above.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Use `uint256` instead of `uint` ### Description Consider using the explicit `uint256` consistently instead of its alias `uint`. Instances: `AmbireAccount.sol#L15` `AmbireAccount.sol#L62` `AmbireAccount.sol#L63` `AmbireAccount.sol#L94`
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Medium: Wrong rounding direction in previewMint() ### Description According to the EIP4626 function `previewMint()` should round up when calculating assets: > Finally, EIP-4626 Vault implementers should be aware of the need for specific, opposing rounding directions across the different mutable and view methods, 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
dos
true
true
## Medium: Determining how many votes to buy may run OOG. ### Description The current way buying votes works is that a user sends a certain `msg.value` and a minimum and maximum amount they wish to buy, and the contract loops through the values to find the maximum amount the user can actually buy. ```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...
cyfrin_structured
high
token
true
true
## High: Queued transfers can become stuck on the source chain if new Transceivers are added or existing Transceivers are modified before completion ### Description When a sender transfers an amount that exceeds the current outbound capacity, such transfers are sent to a queue for delayed execution within [`NttManager...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: Liquidation Can Be Blocked By Pausing or Blacklisting the NFT Contract, Permanently Trapping Expired Loans ### Description When a pawn expires, `PawnShop.liquidate(...)` closes the position by burning the escrowed NFT collateral through the NFT’s `burn(...)` function (context). However, in this system, 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
true
false
## Low: Test function left behind can expose order book ### Description ## Handle 0xRajeev ## Vulnerability details ## Impact The getBid() order book function is noted in its Natspec @dev comments as β€œ@dev just to pass old tests, not needed otherwise @dev to be deleted once tests updated” but is left behind here....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
false
false
## Low: Optimisations ### Description The following gas optimisation changes can be made to greatly reduce gas costs and risk of DoS from reaching the block gas limit: 1. The *isOperator()* function can use the *operatorPubkeys* mapping to check if the value corresponding to the operator’s address is non-zero. 2. Avo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Mnemonic Regex Loophole Allows Abuse of Secure Storage ### Description **Update** Marked as "Fixed" by the client. Addressed in: `f07ce8ff4159397d26be23c34f2ee1bb111612b9`. The client provided the following explanation: > Add mnemonic input sanitation with whitespace normalization **File(s) affected:**`walle...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Handling of secondaryFee for Single Hops ### Description In the `_send` and `_sendAndCall` [functions](https://github.com/tesseract-protocol/smart-contracts/blob/940fc6650d1f48b3b3d028640dffcc9203f8bd76/src/Cell.sol#L174-L215) of the `Cell` contract, when creating the `input` struct, the `secondaryFe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `ComplianceServiceRegulated` and its parent `ComplianceServiceWhitelisted` uses a chain of `initializer` modifiers when calling the `initialize` ### Description **Description:** `ComplianceServiceRegulated` is the child contract inheriting from `ComplianceServiceWhitelisted`. The `ComplianceServiceRegulated::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
other
true
false
## High: Borrowers can escape from paying half of the penalty fees by closing the market, and those remaining penalty fees will be covered by the lender who withdraws last ### Description ### Lines of code ### Vulnerability details To explain this issue, I will need to mention two things: the fee structure of the p...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: Missing important check if repay and redeem functions in compoundv2migrationbundler.sol are successful ### Description In `CompoundV2MigrationBundler.sol`, we have `compoundV2Repay()` and `compoundV2Redeem()`: ```solidity function compoundV2Repay(address cToken, uint256 amount) external payable protected {...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: If signer gate is deployed to safe with more than 5 existing modules, safe will be bricked ### Description `HatsSignerGate` can be deployed with a fresh safe or connected to an existing safe. In the event that it is connected to an existing safe, it pulls the first 5 modules from that safe to count the numb...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Before initialization, EXECUTOR returns the wrong value ### Description Within the [`HomoraBank` contract](https://github.com/AlphaFinanceLab/homora-v2/blob/5efa332f2ecf8e9705c326cffda5305bc6f752f7/contracts/HomoraBank.sol), the [function `EXECUTOR`](https://github.com/AlphaFinanceLab/homora-v2/blob/5efa332f2e...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rate Limiters Can Lead to a Denial-of-Service Attack ### Description The protocol uses [rate limiters](https://github.com/Consensys/linea-contracts/blob/f08c1906855198e2dc0413a47dcb38291b7087e5/contracts/messageService/lib/RateLimiter.sol) to limit its exposure in case of financial loss. These limit the amoun...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
initialization
true
false
## Low: <a name="GAS-8"></a>[GAS-8] Don't initialize variables with default value
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: changeWallets() can be confirmed immediately after proposalWallets() by manipulating activeTimelock beforehand ### Description `ManagedWallet.sol` [states](https://github.com/code-423n4/2024-01-salty/blob/main/src/ManagedWallet.sol#L7-L10) that: However, the current 30-day wait period can be bypassed. T...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
rounding
false
false
## High: BloomPool#\_normalize price will cause severe mis-pricing for RWAs that are not 18 dp ### Description **Details** [BloomPool.sol#L349-L351](https://github.com/Blueberryfi/bloom-v2/blob/87a60380331cc914be41ad57691f08b532a4d6fb/src/BloomPool.sol#L349-L351) uint256 totalValue = (existingCollateral.mulWad(sta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
storage
true
true
## High: ERC1155Bridgable.sol cannot receive ETH royalties ### Description ERC1155Bridgable.sol cannot receive ETH, so any attempts for royalty sources to send ETH to the contract will fail, and as a result, users cannot claim their ERC1155 royalties. ### Impact Contracts cannot receive ETH, and as a result, users ca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Content-Security-Policy is overly permissive ### Description The Content Security Policy for the Parity UI (accessible at [http://127.0.0.1:8180](http://127.0.0.1:8180)) is overly permissive. In the presence of an XSS vulnerability, the applied Content Security Policy may be insufficient to block injected mali...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: SPLITTING REQUIRE() STATEMENTS THAT USES AND OPERATOR SAVES GAS ### Description Instead of using the `&&`` operator in a single require statement to check multiple conditions, using multiple require statements with one condition per require statement saves 8 GAS per operation. The gas difference 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
token
true
false
## High: Methods returning price in the wrong units ### Description **Severity**: High **Status**: Resolved **Description** In TradingVaultV2.sol - Method getPricePerFullShare() starts by assuming 18 decimal places for price (i.e. at totalSupply() = 0) . Once totalSupply() takes non-zero value the method returns 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
true
false
## Medium: ETH sent when calling `executeAsSmartWallet` function can be lost ### Description Calling the `executeAsSmartWallet` function by the DAO further calls the `OwnableSmartWallet.execute` function. Since the `executeAsSmartWallet` function is `payable`, an ETH amount can be sent when calling it. However, since ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The use of `tx.origin` ### Description Liquidity gauge `manager` is set as a `tx.origin` of the gauge deploy transaction. - https://github.com/curvefi/curve-stablecoin/blob/c3f7040960627f023a2098232658c49e74400d03/contracts/lending/LiquidityGauge.vy#L176 It is not recommended to have `tx.origin` in access ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `Lender` does not handle correctly rebasing, inflationary, deflationary tokens and tokens with fee on transfer ### Description The current implementation of the `Lender` contract does not handle these kinds of tokens: - Rebasing tokens - Inflationary tokens - Deflationary tokens - Tokens with fee-on-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...
cyfrin_structured
low
reentrancy
false
false
## Low: Condition addresses can re-enter `StrategyBuilderPlugin` ### Description Condition addresses can re-enter `StrategyBuilderPlugin` from the external call in `_changeStrategyInCondition()` and similarly in `_changeAutomationInCondition()`. In the latter case, it seems that the worst thing that can happen here 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
low
token
false
false
## Low: delegatedTransferERC20 can revert when called by owner ### Description ## Handle gpersoon ## Vulnerability details ## Impact If the function delegatedTransferERC20 is called from the owner (e.g. msg.sender == _getOwner ) then erc20Approvals[keccak256(abi.encodePacked(msg.sender, token))] doesn't have 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
initialization
true
false
## High: Oracle.sol: manipulation via increasing Uniswap V3 pool observationCardinality ### Description Source: https://github.com/sherlock-audit/2023-10-aloe-judging/issues/40 ## Found by roguereddwarf This issue deals with how the `Oracle.consult` function can be provided with a malicious `seed` such as to return...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Merging tranches could make `_loanTermination()` accounting incorrect ### Description In the `Pool` contract, when a loan is repaid or liquidated, a call to the Pool is made for accounting. The `_loanTermination()` function is eventually invoked. This function uses the `loanId` to determine the withdrawal que...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
false
false
## Medium: Reentrancy in `depositBribeERC20` function ### Description _Submitted by Czar102, also found by 0x1f8b and SolidityScan_ [BribeVault.sol#L164-L205](https://github.com/code-423n4/2022-02-redacted-cartel/blob/main/contracts/BribeVault.sol#L164-L205) `depositBribeERC20` function in `BriveVault` is reentrant ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Batch Operation Fully Reverts on Invalid Ejection Entry ### Description The `processBadPerformanceProof` function in the `CSStrikes` contract, which handles batch ejections for validators with excessive strikes, will revert the entire transaction if any single validator in the batch does not meet the required ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Constants usage: ### Description **Description** PropertyDraw._start (contracts/VRFLottery.sol#59) Property Draw.callbackGasLimit (contracts/VRFLottery.sol#46) Property Draw.keyHash (contracts/VRFLottery.sol#38) Property Draw.numWords (contracts/VRFLottery.sol#53) Property Draw.requestConfirmations (contr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Plugins ### Description Any funds held by external plugins are exposed to third-party risks. Currently, that comprises of Stargate centralization-related threats and security compromise potential
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No `deadline` + `limitPrice` set to maximum can lead to loss of funds ### Description **Severity**: Medium **Status**: Resolved **Description**: The function `ambientSwap()` within the `TeamVaultAmbient.sol` contract, which is used to swap tokens using Ambient Finance, does not implement a `deadline` p...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: `lastWithdrawTimestamp` used instead of `lastTradeTimestamp`. ### Description **Severity**: Low **Status**: Acknowledged **Description** The `Bladeswap__execute()` function in `StableSwapPool.sol` and `XYKPool.sol` implements an β€˜if statement’ which checks if `lastWithdrawTimestamp` is equal to `block.time...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: Incorrect calculation of new liquidation price ### Description **Severity** **Impact:** Medium **Likelihood:** Medium **Description** When calculating the newLiqPrice in `IncreasePositionSizeUtils.prepareCallbackValues`, the function uses `newCollateralAmount` and `newLeverage`. To calculate the liqui...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
overflow
true
false
## Gas: Don't use `SafeMath` once the solidity version is 0.8.0 or greater ### Description Version 0.8.0 introduces internal overflow checks, so using `SafeMath` is redundant and adds overhead
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The current beneficiary may be allowed to call the proposeBeneficiary() function ### Description The NatSpec of the `proposeBeneficiary()` function specifies that the function is restricted to only the contract owner. In `IVestingWallet.sol#L152-L156`: ```solidity /** * @notice Proposes a new beneficiary. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Reduce deployment costs by tweaking contracts' metadata ### Description The Solidity compiler appends 53 bytes of metadata to the smart contract code which translates to an extra 10,600 gas (200 per bytecode) `+` the calldata cost (16 gas per non-zero bytes, 4 gas per zero-byte). This translates to up to 848 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
false
false
## Medium: Pool reserves should be initialized and supplied in same transaction ### Description Currently, for the **HyperEVM testnet**, the pool is initialized with the reserve tokens in the `ConfigurrHyFiReserves` script, and the tokens are supplied in a different script, `SupplyHyFi`. This approach leaves the syste...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Incorrect implementation of QuantammMathGuard.sol#_clampWeights. ### Description &#x20; In the contract `QuantammMathGuard.sol`, `_clampWeights` is implemented wrongly, causing the sum of \_weights to be larger than 1 and some weights will be larger than absoluteMax. ### Impact The function \_clampWeights...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Method `requestDeposit()` doesn’t consider the real USDC value of the amount ### Description **Severity**: Medium **Status**: Resolved **Description** In Contract GlmRouter.sol, the method `requestDeposit(_amount)` allows any user to deposit USDC to mint GLP tokens. `_amount` is used to check if deposit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ADAPTER_BREAKS_LOSS_POINT is too tight for volatile assets leading to near constant adapter blocking ### Description **Details** [FundsAllocator.vy#L14](https://github.com/adapter-fi/AdapterVault/blob/3c2895a69ad5eb2c4be16d454f63a6f2f074f351/contracts/FundsAllocator.vy#L14) ADAPTER_BREAKS_LOSS_POINT : c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
medium
input-validation
true
true
## Medium: Operator can over allocate the same stake to unlimited nodes within one epoch causing weight inflation and reward theft ### Description The `AvalancheL1Middleware::addNode()` function is the entry-point an operator calls to register a new P-chain validator. Before accepting the request the function asks `_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
reentrancy
true
false
## Medium: Withdrawal from NFTs can be temporarily blocked ### Description If `nextWithdrawal > ManagedNFTs.length`, the contract won't be able to withdraw revenue from managed NFTs, because `nextWithdrawal` can't reset. ### Proof of Concept How `nextWithdrawal` can become greater than `ManagedNFTs` length? Multipl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 indexed parameters in events ### Description In the [`MetaTransactionsWallet` contract](https://github.com/celo-org/celo-monorepo/blob/b2f0a58fcc7667d41585123aae5b24c47aa894f6/packages/protocol/contracts/common/MetaTransactionWallet.sol#L12), the following events are defined without any indexed paramet...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
rounding
true
false
## High: ConvexPositionHandler._claimRewards incorrectly calculates amount of LP tokens to unstake ### Description `ConvexPositionHandler._claimRewards` is an internal function that harvests Convex reward tokens and takes the generated yield in ETH out of the Curve pool by calculating the difference in LP token price....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of indexed parameters in events ### Description In the codebase, almost all event definitions are lacking indexed parameters. There are several contracts that, in some cases, correctly make use of indexed parameters, like the `Coin` contract that has [two events](https://github.com/reflexer-labs/geb/blo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Minor code and specification improvements ### Description 1. **Distributor1.sol#L43-L44**: Unused errors. It is best practice to check that the constructor parameter, `signer`, is not `address(0)`. Consider adding the check or removing the unused errors. 2. **Distributor1.sol#L58-L60**: Consider emitting eve...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `SIG_VALIDATION_FAILED` Returned in Incorrect Cases ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Signature validation is a hot-path, and it would be more expensive to be fully spec-compliant. It follows Coinbase's Smart Wallet behavior. *...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Implementation contracts allow unauthorized Initialization ### Description The `DepositETH`, `DepositUSD`, `DepositETHBera`, `DepositUSDBera`, and `StrategyManager` contracts do not disable initialization. This allows the ownership of the implementation being taken. Specifically, for `DepositETH`, this vulnera...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Wrong Math
true
false
## Vulnerability Report **Severity**: High Risk **Context**: BridgeFacet.sol#L660-L663 **Description**: The `BridgeFacet` passes `args.amount` as `_liquidityFee` when calling `reimburseLiquidityFees`. Instead of sponsoring `liquidityFee`, the sponsor vault would sponsor the full transfer amount to the receiver. ...
Spearbit
5
Connext
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Variables lacks validation. ### Description **Description** RailgunLogic.sol: function changeFee(). Percentage fee variables should be verified not to exceed 100%. **Recommendation**: Verify that new fee variables are less than β€œBASIS_POINTS” ### Use enum instead of uint. **Description** Globals....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Use existing `available` function in `BeefyVaultConcLiq::balances` ### Description **Description:** `BeefyVaultConcLiq` has an `available` function that [returns](https://github.com/beefyfinance/experiments/blob/14a313b76888581b05d42b6f7b6097c79f3e65c6/contracts/protocol/concliq/vault/BeefyVaultConcLiq.sol#L91...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Medium: Imprecise calculations in `launchFor()` lead to less liquidity be added to the pair via the router ### Description ### Finding description and impact Solidity rounds down the result of an integer division, and because of that, it is always recommended to multiply before dividing to avoid that precision los...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Vault address is not verified to be valid in InvestmentManager ### Description The vault address is not verified to be valid in the following functions: - `fulfillDepositRequest()` - `fulfillRedeemRequest()` - `fulfillCancelDepositRequest()` - `fulfillCancelRedeemRequest()` - `triggerRedeemRequest()` The vaul...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
rounding
false
false
## High: `AlloraPendingRewardForDelegator` module account could have insufficient rewards due to truncation ### Description `AlloraPendingRewardForDelegator` module account could have insufficient rewards due to truncation. ### Impact Rewards account may have insufficient funds to pay out to delegators. ### 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
medium
dos
false
false
## Medium: 3] Ques Callback Iterates Over Deposit and Withdraw Queues Backwards ### Description **Severity:** Medium **Description:** In `UFarmPool:quexCallback`, the queues for deposits and withdrawals are processed, however they are handled in reverse order, from the most recent to the oldest. This means the origin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Validation
true
true
## Security Report ## Severity **Medium Risk** ## Context `ArbitrumBridgeFacet.sol#L97-L121` ## Description The `ArbitrumBridgeFacet` does not check whether the users’ provided ether (`msg.value`) is enough to cover `_amount + cost`. If there are remaining ethers in LiFi’s LibDiamond address, exploiters can set a la...
Spearbit
5
LI.FI
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: In library ConvertHexToString, function toString, for a better gas optimization, you can save the value of data.length in memory and iterate over the variable that is safe in memory, it will be cheaper to read from memory every time then to read from storage. ### Description **Recommendation**: Create a new va...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing maxNumberOfKeys checks in shareKey and grantKey ### Description _Submitted by kenzo_ More keys can be minted than maxNumberOfKeys since `shareKey` and `grantKey` do not check if the lock is sold out. #### Impact More keys can be minted than intended. #### Proof of Concept In both `shareKey` and...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
true
false
## Low: Strategy vault swaps can be frontrun ### Description Some strategy vaults utilize borrowing one currency, swapping it for another, and then using the new currency somewhere to generate yield. For example, the CrossCurrencyfCash strategy vault could borrow USDC, swap it for DAI, and then deposit that DAI back 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
medium
token
true
false
## Medium: Residual stablecoin Theft in ProxyCall Contract Due to Missing Balance Check ### Description When executing a `fillOrder` through GeniusVaultCore, `STABLECOIN` tokens are transferred to `ProxyCall` before executing a swap using `call` function : ``` // GeniusVaultCore.sol STABLECOIN.safeTransfer(address(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: Avoid Semantically Incorrect Variable Names ### Description ## Code Review: Variable Naming Improvement In the `swap_tokens_for_any_nfts` function, users provide the maximum slippage acceptable through `max_expected_token_input`. However, upon passing this to `swap_tokens_for_any_nfts`, it is renamed to `min_...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Medium: Front-Running Vulnerability in `createAccount` Method ### Description Report type: Smart Contract Target: https://testnet.snowtrace.io/address/0x3324B5BF2b5C85999C6DAf2f77b5a29aB74197cc Impacts: - Griefing (e.g. no profit motive for an attacker, but damage to the users or the protocol) ## Description ##...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: DEBT PAY OFF IMPOSSIBLE DUE TO INTEGER UNDERFLOW ### Description In the `LineOfCredit` contract, the borrower has two possibilities to pay off the debt: by calling `depositAndRepay()` and then `close()` functions, or by calling a single `depositAndClose()` function.`LineOfCredit``depositAndRepay()``close()``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
low
other
false
false
## Low: BlobSidecars.Get() index out of range panic ### Description A panic: runtime error: index out of range [x] with length y can be triggered in `Blob-Sidecars.Get()` if it is called with a negative int or with an index that is higher than the number of `bs.Sidecars`. While this function appears to be unused 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
other
false
false
## Low: DUPLICATE ENTRY IN THE VESTING DISTRIBUTION LIST ### Description `0xcc6548f1b572968f9539d604ec9ff4b933c1be74` address accidentally appeared twice in the AURA vesting distribution list (`tasks/deploy/mainnet-config.ts`). ### Recommendation **RISK ACCEPTED**: The `Aura Finance team` will correct this finding 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
gas
other
false
false
## Gas: Missing events ### Description _Submitted by cmichel_ The following events are not used: - `IInstanceRegistry.InstanceRemoved` Unused code can hint at programming or architectural errors. Recommend using it or removing it. **[xyz-ctrl (Visor) acknowledged but disputed severity](https://github.com/code-423n...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
initialization
true
false
## Gas: Use calldata instead of memory for function parameters ### Description If a reference type function parameter is read-only, it is cheaper in gas to use calldata instead of memory. Calldata is a non-modifiable, non-persistent area where function arguments are stored, and behaves mostly like memory. Note that 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
gas
other
true
false
## Gas: `public` functions not called by the contract should be declared `external` instead ### Description Contracts [are allowed](https://docs.soliditylang.org/en/latest/contracts.html#function-overriding) to override their parents' functions and change the visibility from `external` to `public` and can save gas by ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `TwoWayLendingFactory.exchange()` griefing ### Description * https://github.com/curvefi/curve-stablecoin/blob/9e20913fb46db6d3774c56b13ba17d6911cb2caa/contracts/lending/TwoWayLendingFactory.vy#L589 * https://github.com/curvefi/curve-stablecoin/blob/9e20913fb46db6d3774c56b13ba17d6911cb2caa/contracts/lending/Two...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `zappers_leverage_exchange_leftovers` review ### Description **Med - Missing Sweeps here** https://github.com/liquity/bold/blob/3f190ec5d63fa26a64fa5edc9404b92e9e053e03/contracts/src/Zappers/GasCompZapper.sol#L143-L174 As discussed in the original finding, one way to leave dust is to try repaying more th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
high
liquidation
true
true
The vulnerability is present in the `VaultManagerV2::liquidate` function where it doesn't have any check for whether the vault has enough exogenous collateral leading to no liquidation even if the non-kerosene value is less than DYAD minted. It is intended that the position of user's DNFT has enough exogenous collate...
Code4rena
5
DYAD
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
oracle
false
false
## Gas: Storage variables can be more tightly packed ### Description Currently, `rewardGasAmount` and `fallbackOracle` are packed together in a single storage slot, as shown in the output of `forge inspect ReservoirPriceOracle storage --pretty`. This leaves room for potential optimization. ### Recommendation Since `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
oracle
false
false
## High: An attacker can manipulate each pod and gain an advantage over the remainder Operators ### Description In [contracts/HolographOperator.sol#crossChainMessage](https://github.com/code-423n4/2022-10-holograph/blob/main/contracts/HolographOperator.sol#L484-L539), each Operator is selected by: * Generating a ran...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The fromBlock variable of a checkpoint is not initialized ### Description A checkpoint contains a `fromBlock` variable which stores the block number at which the checkpoint is created. ```solidity /// @notice A checkpoint for marking delegated tokenIds from a given block struct Checkpoint { uint256 fromB...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
true
false
## Low: `processDeposit()` can cause a DoS if equityAfter is 0 and equityBefore > 0. ### Description When minting the user's `gvToken` in `ProcessDeposit.sol`, if equityAfter is 0 and equityBefore is a positive number, an evmRevert will occur due to arithmetic underflow. ### Impact DoS of the system until assetValue ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Improper Use of ArgumentsDecoder Leads to Incorrect curTakerFillAmount Decoding βœ“Β Fixed ### Description In the `decodeUint256` function of the `ArgumentsDecoder` contract, the padding is set to `0x24` bytes, where the additional `0x04` bytes correspond to a `selector`. In the `fillDCA` function of the `StarBa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Include ``return parameters`` in _NatSpec comments_ ### Description It is recommended that Solidity contracts are fully annotated using NatSpec for all public interfaces (everything in the ABI). It is clearly stated in the Solidity official documentation. In complex projects such as Defi, the interpretation 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
true
false
## Low: Incorrect TTL check in approve_trade ### Description The `approve_trade` instruction performs an incorrect TTL check (Figure 11.1). Specifically, the instruction checks that the provided TTL is at least `MAX_TTL` rather than no more than `MAX_TTL`. Thus, trades will be required to live longer than they should....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
storage
true
false
## Medium: execute in VoteProxy should be payable ### Description _Submitted by wuwe1_ `execute` will revert when `msg.value > 0` ### Proof of Concept Lacking `payable` mutability specifier. [VoteProxy.sol#L28-L35](https://github.com/code-423n4/2022-02-concur/blob/main/contracts/VoteProxy.sol#L28-L35) ### Recomm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: Miscellaneous General Comments ### Description This section details miscellaneous findings discovered by the testing team that do not have direct security implications: 1. **Hardcoded Gas value of 150,000 in `op-node:rollup/derive/l1_block_info.go`:** Verify if the hardcoded gas value is correct or could it...
0