prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
false
false
## Medium: Unclear TwapOracle.consult algorithm ### Description ## Handle cmichel ## Vulnerability details The `TWAPOracle.consult` function is unclear to the auditor. It seems to iterate through all registered pairs that share the `token` parameter (USDV or VADER) and then sums up the foreign token pair per `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...
skyward_49k
low
liquidation
false
false
## Low: Redundant Checks ### Description ## Analysis of Redundancies in `BorrowOperations` There are multiple redundancies within `BorrowOperations`, specifically in the checks found in `internal_adjust_trove`. The check to ensure that the contract is not paused and the check to verify a valid change (either in colla...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rounding issue can lead to lacking funds in the contract ### Description **Description:** In case `arbitrated = True`,arbitratorFee will be deducted from both buyer and seller splits. However they did not be sum up but after all,in `calculatePayment()`,arbitratorFee is calculated again with total amount. S...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: A "team" can block another "team" from receiving funds ### Description **Severity** **Impact:** High **Likelihood:** Low **Description** Token deployments using the `ERC314Factory` accrue a fee for two teams: 1. `evFeeCollector` 2. `dzhvFeeCollector` There could be a state where one of the teams is 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
low
initialization
true
false
## Low: Upgradeable contracts should call `_disableInitializers` in constructor ### Description **Description:** Upgradeable contracts should [call](https://docs.openzeppelin.com/upgrades-plugins/writing-upgradeable#initializing_the_implementation_contract) `_disableInitializers` in constructor: Affected contracts: ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
true
false
## Medium: Reentrant tokens should not be allowed by governance ### Description The protocol doesn't follow the checks-effects-interactions pattern and performs transfers in the middle of it. This can lead to borrowers or other untrusted third parties receiving a callback in the middle of the execution while the 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
initialization
false
false
## Low: Violations of Solidity Style Guide Conventions - confusion naming. ### Description **Description** 1. Variable naming inconsistencies: Presence of variables like 'value', '_value`, and value_` within the same codebase which could cause confusion. More specifically: a) In ChainportSideBridge some functions hav...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Delegation rewards are not counted toward granting fund ### Description Each period reserves a reward for granting up to [3% (GBC: Global Budget Constraint)](https://github.com/code-423n4/2023-05-ajna/blob/276942bc2f97488d07b887c8edceaaab7a5c3964/ajna-grants/src/grants/base/StandardFunding.sol#L27). The GBC 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: _setAssetsSources does not compare all lengths and is not emitting all parameters ### Description 1. **Timeouts Length**: The length of timeouts has not been compared to `assets.length`. 2. **Emission Issue**: `timeouts[i]` does not get emitted in the event `AssetSourceUpdated`. ### Recommendation Ensure 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
low
cross-chain
true
false
## Low: Static `gasLimit` will result in overpayment ### Description **Description:** Since [unspent gas is not refunded](https://docs.chain.link/ccip/best-practices#setting-gaslimit), Chainlink recommends carefully setting the `gasLimit` within the `extraArgs` parameter to avoid overpaying for execution. In [`Bridge...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Widespread lack of data validation in conversion functions ### Description Many `TryFrom` trait implementations and other conversion functions use `Result::unwrap()` on values that can be user-controlled or on error values. When `unwrap` is called on one such value, the process will panic, which could cause...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Validation of Token Name and Symbol in `list` function ### Description The `Name` and `Symbol` variables in the `list` function are unfiltered, allowing for malicious code injection. Without character limits, this vulnerability can lead to XSS or HTML injection attacks, enabling attackers to manip...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Commented code in production ### Description **Description** TokenDistribution.sol, line 122. There is a commented check which can influence a process of claiming. Rather the account itself can perform a claim (so this check should be uncommented), or anyone can perform a claim on behalf of another account (...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Risk of unexpected results when long-term swaps involving rebasing tokens are canceled ### Description FraxSwap’s use of rebasing tokens—tokens whose supply can be adjusted to control their prices—could cause transactions to revert after users cancel or withdraw from long-term swaps. FraxSwap offers a new ty...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Curve arithmetic ### Description ## Swap and Price Calculation in gfx-ssl Consider a swap where token X is being transferred in and token Y is being transferred out. We have the following quantities: - `x` and `y`: the current pool balances of X and Y; - `wx` and `wy`: the current weights of X and Y; - `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
rounding
true
false
## Low: Evault.ConverToAssets() is overestimated when exchangeRate < 1 ### Description In the `conversionTotals` function, `VIRTUAL_DEPOSIT_AMOUNT` (1e6 by default) is added to both `totalAssets` and `totalShares`. The exchange rate would be calculated as `totalAssets + virtualDeposit` divided by `totalShares + virtua...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Absence of Verification of Issuance Account Index ### Description In the function `purchase_order::process_redeem_purchase_order`, there is a critical issue where the provided issuance account is not verified to correspond with a valid and current issuance. Specifically, it fails to check if the index of 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
access-control
true
false
## Low: undelegation can be partially DoSed for some users ### Description Some users will not be able to undelegate their staked assets given that assets and shares are not always 1:1, especially because there is a permissioned donate function to inflate the `totalPool` amount. There is a requirement in the 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
reentrancy
false
false
## Medium: Vault rebalancing can be exploited if two vaults rebalance into the same vault ### Description _Submitted by 0x52, also found by ayeslick_ User funds stolen. ### Proof of Concept Swap data is completely arbitrary and can be used to swap though malicious ERC20 tokens allowing control transfer. This contro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Fake `LPToken.sol` contract instances can be used to drain underlying tokens ### Description **Update** Native team considers this risk to be minimal, as the `supportMarket()` function is only callable by the owner of the `CreditVault.sol` contract. At the same time, the team acknowledges the importance of 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
oracle
false
false
## Low: Inability to validate the recency of Aave and Compound oracle data ### Description The Aave and Compound oracle systems do not provide timestamps or round data. Thus, the Reserve protocol cannot validate the recency of the pricing data they provide. The Reserve protocol obtains pricing data for collateral 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
other
false
false
## Low: Delayed Withdrawals can be Created During Paused State ### Description The `claimDelayedWithdrawals()` function, which is used to claim delayed withdrawals, can be paused using the `onlyWhenNotPaused(PAUSED_DELAYED_WITHDRAWAL_CLAIMS)` modifier. However, this modifier is not present on the `createDelayedWithdra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Low: Before swap delta can exceed the actual specified amount for exact input swaps due to rounding ### Description **Description:** When returning the `beforeSwapDelta` in `BunniHookLogic::beforeSwap`, the `actualInputAmount` is assigned as the maximum between the `amountSpecified` and the `inputAmount` calculated...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary Invocation of getUnvestedAmount() ### Description The indicated line adds the return value of `getUnvestedAmount()` to the `amount` argument. However, the line above enforces a revert unless `getUnvestedAmount()` returns zero. Thus, this modification to `amount` is unnecessary. ### Recommendation ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
front-running
false
true
In RandomDraw, the host initiates a draw using `startDraw()` or `redraw()` if the redraw draw expiry has passed. Actual use of Chainlink oracle is done in `\_requestRoll`: request.currentChainlinkRequestId = coordinator.requestRandomWords({ keyHash: settings.keyHash, subId: settings.subscriptionId...
Code4rena
5
Forgeries
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inability to Repurchase Tokens Due to Low Repurchase Price in `RestrictedTokenAward` ### Description In the `RestrictedTokenAward` contract, if the repurchase price [is set too low](https://github.com/MetaLex-Tech/MetaVesT/blob/b614405e60bce8b852e46d06c03fd47b04d86dde/src/RestrictedTokenAllocation.sol#L107-...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
input-validation
true
false
## Low: Missing validation in `LibWhitelist::verifyTokenInLibWhitelistedTokens` ### Description Prior to the introduction of [`LibWhitelistedToken.sol`](https://github.com/BeanstalkFarms/Beanstalk/blob/dfb418d185cd93eef08168ccaffe9de86bc1f062/protocol/contracts/libraries/Silo/LibWhitelistedTokens.sol), Beanstalk did n...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: README file is missing important information ### Description **Update:** *Fixed in [pull request #60](https://github.com/endaoment/endaoment-contracts/pull/60).* The [README.md of the Endaoment project](https://github.com/endaoment/endaoment-contracts/blob/f60aa253d3d869ad6460877f23e6092acb313add/README.md) ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
true
false
## Low: Not way to change the recipient in the liquidity provider in the offramp logic ### Description **Description:** Both` AllowanceLiquidityProvider` and `CollateralLiquidityProvider` contracts set the recipient address only during initialization, with no function to update it afterwards. In `RedemptionManager.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
low
access-control
false
false
## Low: Missing Test Suite ### Description The in-scope contracts, including [`OptimisticOracleV2`](https://github.com/UMAprotocol/managed-oracle/blob/fc03083eca91c880efa8918c6d9532af9362f00d/src/optimistic-oracle-v2/implementation/OptimisticOracleV2.sol) and [`ManagedOptimisticOracleV2`](https://github.com/UMAprotoco...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Logic issue. ### Description **Description** StakingB_1.sol Line 512 “lastRewardBlock” must be initialized when the pool is set. In other case first reward will be counted as a reward in range [0; last block number] that is a numerous amount. **Recommendation**: Initialize lastRewardBlock in pool setting.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Low: Excess amountIn is never refunded when using swapToUnderlyingGivenIn() or swapToSynth- GivenIn() ### Description In the DeFi space, it's standard practice that when users call the `swap()` function, any excess `amountIn` that is not needed for the `amountOut` swap is returned. However, in Euler, due to the pro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Function Signature in _setActionsPaused ### Description The [`ensureAllowed`](https://github.com/VenusProtocol/venus-protocol/blob/94bc2e414e33ebf6c05d35c1605dcbd48fa932f5/contracts/Comptroller/Diamond/facets/SetterFacet.sol#L272-L273) check in the `_setActionsPaused` function verifies whether a cert...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
USDT
true
false
## Security Analysis Report ## Severity **High Risk** ## Context - AxelarFacet.sol#L71 - LibAsset.sol#L52 - FusePoolZap.sol#L64 - Executor.sol#L312 ## Description Non-standard tokens like USDT will revert the transaction when a contract or a user tries to approve an allowance when the spender allowance is already se...
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
high
front-running
true
false
## High: price spikes cause the selected operator to be vulnerable to frontrunning and be slashed ### Description [HolographOperator.sol#L354](https://github.com/code-423n4/2022-10-holograph/blob/f8c2eae866280a1acfdc8a8352401ed031be1373/contracts/HolographOperator.sol#L354) Since you have designed a mechanism to pre...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The undercollateralized positions may avoid being liquidated ### Description **Severity**: Critical **Status**: Resolved **Description** The stopTrade function in the Trading contract is designed to be called for the liquidation of undercollateralized positions. This function verifies various conditions 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
true
false
## Low: Reduced Fee Due To Miscalculation ### Description ## Settle Instruction Fee Calculation In the Settle instruction, the `fee_amount` is calculated as follows: There are also some other instances where the `fee_amount` is calculated similarly. The problem with this approach is that the `fee_amount` can be sig...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: In `GovLocks`, it shouldn't use a `deposits` mapping ### Description **Severity:** High **Description:** In `GovLocks`, it tracks every user's deposit amount using a `deposits` mapping. As users can transfer `govLocks` freely, they might have fewer `deposits` than their `govLocks` balance and wouldn't be abl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Minting and Claiming Fails if Dripper Address Is Not Set ### Description If the address of the [`dripper` contract](https://github.com/OriginProtocol/origin-dollar/blob/eca6ffa74d9d0c5fb467551a30912cb722fab9c2/contracts/contracts/vault/VaultStorage.sol#L186) is not configured, all attempts to collect assets fr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Complete liquidity removals fail from stableswap pools ### Description ### Impact The contracts for stableswap has 2 functions dealing with removal of liquidity: `remove_liquidity_one_asset` and `withdraw_asset_amount`. However, both these functions allow redeeming LP tokens and payout in only one token. C...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
false
false
## Low: Integer Overflow in _swapAndBridge ### Description In the [`_swapAndBridge` function](https://github.com/across-protocol/contracts/blob/b84dbfae35030e0f2caa5509b632c10106a32330/contracts/SpokePoolPeriphery.sol#L575), the adjusted output amount is [calculated](https://github.com/across-protocol/contracts/blob/b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
true
false
## Low: Precise pull distributions can be DOS'd with front running attack ### Description Funds can be distributed in four ways: pushed with a full balance, pushed with a precise balance, pulled with a full balance, and pulled with a precise balance. This issue concerns only the fourth option, when funds are intended ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Function totalVaultBalance() doesn't use firstVaultId variable ### Description **Description** Cycle “for (uint256 i = 0; i <= _lastVaultId; i++)” always starts from 0 but must start from the firstVaultId variable. **Recommendation**: Change “uint256 i = 0” to “uint256 i = firstVaultId” **Re-audit**: Fixed...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Vault cannot be deployed properly for newer Curve pools ### Description New Curve pools have a different ABI than the one that the vaults attempt to use. Not differentiating between the two will lead to silent failures when vaults are deployed for new pools. ### Impact The lp token's address will be set 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
true
false
## Low: Lockable - inconsistent locking status ✓ Fixed ### Description `Vega_Token.is_tradable()` will incorrectly return `false` if the token is never manually unlocked by the owner but `unlock_time` has passed, which will automatically unlock trading. ### Recommendation Issue was fixed by completely removing the un...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Managed veAERO NFT can be exploited to steal funds from lenders ### Description _No response_ ### Impact High. Loss of assets for lenders and buyers. ### Recommendation _No response_
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Add min received token amount to buy instruction ### Description When buying tokens using the `buy` instruction with SOL, the execution of the transaction may result in the user receiving fewer tokens due to oracle price updates. It is recommended to add a minimum received token amount to prevent users from...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
false
false
## Low: repayAll() and repayAllETH() vulnerable to front-running ### Description ## Handle toastedsteaksandwich ## Vulnerability details ## Impact The repayAll() and repayAllETH() functions allow any user to pay off debt of another user. Since all of the debt is going to be paid, no amount is specified, allowing 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
other
true
false
## High: Incorrect accounting bug of the `yDUSD` vault leads to total loss of depositors' `DUSD` assets ### Description The current implementation of the `yDUSD` vault does not properly support the auto-compounding token rewards mechanism by directly minting the `DUSD` assets to the vault. Due to an incorrect account...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## High: Unvalidated ExecutionPayload.Timestamp can halt chain ### Description The `Timestamp` field in `ExecutionPayload` at `consensus-types/pkg/types/payload.go#L60` is never validated during a cometBFT `ProcessProposal()` request. A malicious proposer could propose a `BeaconBlock` containing an `ExecutionPayload.T...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
true
false
## Low: <a name="GAS-7"></a>[GAS-7] Use Custom Errors
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Proposal execution not handling returned data ### Description The [`executeProposal` function](https://github.com/notional-finance/contracts-v2/blob/c37c89c9729b830637558a09b6f22fc6a735da64/contracts/external/governance/GovernorAlpha.sol#L273-L295) from the `GovernorAlpha` contract allows any user to execute a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Missing Length Validation ### Description ## Issues with the `slice` Function in Array The `slice` function in Array lacks proper boundary checks for the inputted length. The `slice` function enables the extraction of a portion of an array by specifying the starting index and length of the desired sub-array....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Floating pragma ### Description The file in scope currently use floating pragma version `^0.8.20`, which means that the code can be compiled by any compiler version that is greater than or equal to `0.8.20`, and less than `0.9.0`. However, it is recommended that contracts should be deployed with the same comp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Certificate Pinning Bypass ### Description Certificate pinning is a security measure that involves hardcoding the certificate or public key of a known server into the client application to prevent man-in-the-middle (MITM) attacks. This measure ensures that the client establishes connections only with the desig...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Typo in the DelegationToken ### Description The `DelegationToken _update` function contains a typo in the comment: ```solidity /// @dev Emits a {IDelegates-DelegateVotesChanged} event. ``` The function actually emits `DelegatedVotingPowerChanged` and there is no `IDelegates` interface; the interface is calle...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Canceling an auction with 0 bids will only partially pay back the outstanding debt ### Description Canceling an auction with 0 bids only partially pays back the outstanding debt without removing outstanding liens resulting in the collateralized NFT being locked forever. ### Impact A borrower canceling an auc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing event and incorrect event argument ### Description The `_mergeValue` method in `SemiFungible1155` does not emit an event while `_splitValue` does - consider emitting one for off-chain monitoring. Also the `TransferSingle` event emission in `_createTokenType` has a value of 1 for the `amount` argument b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
initialization
false
false
## Gas: Some Storage Variables Could Be immutable or constant to Reduce Gas Costs ### Description The indicated contract fields (`usde` in **EthenaMinting.sol#L63**, `silo` in **StakedUSDeV2.sol#L20**) are only set in the constructor of the relevant contract, and could thus be designated as **immutable** to reduce bot...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## High: Malicious operators can `undelegate` theirselves to manipulate the LRT exchange rate ### Description If a malicious operator undelegates itself in EigenLayer delegation manager contract, the exchange rate of LRT can significantly decrease, and ETH/LST can become stuck, unable to be claimed by the Rio Delegato...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Minting from signature is vulnerable to replay attacks ### Description A replay attack occurs when a signature used for a transaction on one chain can be reused on another chain other than where it was intended. There is no replay protection on `mintBySignature()` as implemented in `KinoAccountUpgradable` 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
low
dos
true
false
## Low: Missing percentage based borrowing cap can DoS all the liquidation actions ### Description _Resolved_ Currently, there is no percentage based borrowing cap in the system. It's not a regular cap type, and it's not required for many protocols, but it's required for RAAC because of it's own unique liquidation de...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Method `confirmFailureToTransfer()` doesn’t check for seller funds ### Description **Severity**: Medium **Status**: Resolved **Description** Method `confirmFailureToTransfer()` doesn’t check if the seller has locked funds or not but only checks for buyer funds. There could be a case where seller funds 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
low
other
true
false
## Low: [10] IMMUTABLES CAN BE NAMED USING SAME CONVENTION ### Description As shown below, some immutables are named using capital letters and underscores while some are not. For a better code quality, please consider naming these immutables using the same naming convention.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Redundant/Unutilized Code ### Description ## Code Review Notes 1. The `secp_authority` field on `OracleAccountData`. 2. In the `PullFeedSubmitResponseMany` and `PullFeedSubmitResponseManyV2` instructions, the `FeedInfo` structures are unnecessary since only the `value` field in it is utilized. 3. The `reward_...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Utilizing Deprecated Function From Library ### Description The [`TokenRateLimiter` contract](https://github.com/scroll-tech/scroll/blob/ae2e010324506d52f30d1aa98b98cc3e44f8c501/contracts/src/rate-limiter/TokenRateLimiter.sol) is setting up its default admin role in the constructor using the [`_setupRole` funct...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unenforced `allowFailure` Flag Could Cause Silent Execution Failures ### Description **Update** Marked as "Fixed" by the client. Addressed in: `815cd10540580768dd1e61b4883610313abad441`. The client provided the following explanation: > Added on-chain validation in `_validateRouterCall()` to decode the `Multic...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: FrontRunning Attack on createAccount ### Description Report type: Smart Contract Target: https://sepolia.etherscan.io/address/0x16Eecb8CeB2CE4Ec542634d7525191dfce587C85 Impacts: * Unbounded gas consumption * Griefing (e.g. no profit motive for an attacker, but damage to the users or the protocol) ## De...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Manipulate112 Should Manipulate To uint112 Instead Of 128 ### Description **Severity** - Informational **Status** - Resolved **Description** The function manipulate112 manipulates a int128 whereas it should be applied to int112 instead **Recommendation**: Cast to a int112 instead
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: The returned price by strategies are not validated ### Description When a taker submits an order to be executed, the returned price by the maker's chosen strategy is not validated. The current strategies do have the validations implemented. However, the general upper and lower bound price validation needs to b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Contract have two pragma declarations ### Description **Severity**: Informational **Status**: Resolved **Description** In contract UmamiPriceFeed, there are two pragma declarations at the beginning of the file, this fact will make the project impossible to compile in a hardhat environment **Recommendation*...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Revert By Sending Dust
true
false
## Severity: Critical Risk ## Context: - `ERC20VestableVotesUpgradeable.1.sol#L132-L134` - `ERC20VestableVotesUpgradeable.1.sol#L137-L139` - `ERC20VestableVotesUpgradeable.1.sol#L86-L97` - `ERC20VestableVotesUpgradeable.1.sol#L353` ## Description: An external user who owns some TLC tokens could DOS the vesting schedu...
Spearbit
5
Liquid Collective
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: DEPOSITOR_ROLE can be granted by the deployer of `BribeVault` and transfer briber's approved ERC20 tokens to `bribeVault` by specifying any `bribeIdentifier` and `rewardIdentifier` ### Description _Submitted by cccz_ In the depositBribeERC20() function of the TokemakBribe contract, the briber can specify 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
low
token
false
false
## Low: No events are emitted in setMarkup() ### Description The `setMarkup()` function allows the ERC20SponsorPaymaster owner to set the markup value of a specific protocol address. No events are emitted when this function is called, so it is difficult for off-chain observers to monitor its usage. ### Recommendation...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Comparison Operators ### Description ### PROBLEM In the EVM, there is no opcode for >= or and =. Using strict comparison operators hence saves gas ### PROOF OF CONCEPT Instances include: #### TopUpAction.sol TopUpAction.sol:61 TopUpAction.sol:212 TopUpAction.sol:224 TopUpAction.sol:328 TopUpAc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
front-running
false
false
## High: Canceling an auction does not refund the current highest bidder ### Description If the collateral token owner cancels the active auction and repays outstanding debt, the current highest bidder will not be refunded and loses their funds. ### Impact If the collateral token owner cancels the active auction 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
cross-chain
true
false
## Low: Incorrect opcode specification documentation ### Description It is unclear if the full opcode values include the flags as well. If so, they should be 8 bits in length, which isn’t the case. Their decimal representations are also incorrect. ```markdown | Opcode | Flags | Full Opcode | Decimal | |:-------|:----...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Excessive validation in the claimVestedTokens () and removeTokenGrant () functions at CoiinVestingVault.sol ### Description **Description** require(_totalSupply.sub(amountVested) >= 0, "not enough tokens"); Underflow already checked in sub() function from SafeMath. **Recommendation**: Remove these require(...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Padding Constraint ### Description ## ExtendedClaim Padding Vulnerability `ext_kc`, `ext_ev`, and `ext_nonce` within `ExtendedClaim` are padded with zeroes. However, they lack constraints that ensure the padded value is zero, as seen in the `ExtendedClaimParser` template. As these padded values are no...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Old Comments ### Description https://github.com/liquity/bold/blob/3ad11270a22190e77c1e8ef7742d2ebec133a317/contracts/src/TroveManager.sol#L690-L711 https://github.com/liquity/bold/blob/3ad11270a22190e77c1e8ef7742d2ebec133a317/contracts/src/ActivePool.sol#L39 https://github.com/liquity/bold/blob/3ad11270a22...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Performing a multiplication on the result of division ### Description Under some circumstances, it could result in inaccuracy. **Lines**: PinkPool.sol#90-96 uint rewardPerTokenPerSecond = rewardRate.mul(tokenDecimals).div(__totalSupply); uint PinkPrice = helper.tokenPriceInBNB(address(stakingToken)); uint fli...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
reentrancy
true
true
Source: https://github.com/sherlock-audit/2024-11-teller-finance-update-judging/issues/42 ## Found by hash ### Summary Not updating state before making custom external call can cause borrower's to loose assets due to re-entrancy ### Root Cause The details of the repayment is updated only after the external call t...
Sherlock
5
Teller Lender Groups Update Audit
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Improper Bounce Handling in `elections_master` May Misallocate Funds ### Description **Update** Voters may request a refund of their paid fees within one week after a proposal passes but fails during execution. Unclaimed refunds after this period are forfeited and transferred to the fee manager. However, wh...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Hardcoded Secret Data ### Description ## Vulnerabilities in Code The encryption keys and secret keys are embedded in the code. These keys must be set appropriately before the product ships so that the secrets cannot mistakenly be exposed to potential attackers. Attackers could utilize these secret keys to 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
gas
other
true
false
## Gas: Duplicated `require()`/`revert()` checks should be refactored to a modifier or function ### Description Saves deployment costs *There are 2 instances of this issue:*
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
Validation
false
false
## Severity: Medium Risk ## Context - River.1.sol#L176 - CoverageFundAddress.sol#L21 ## Description In the current implementation of `River.setCoverageFund` and `CoverageFundAddress.set`, both functions do not revert when the `_newCoverageFund` address parameter is equal to `address(0)`. If the Coverage Fund address ...
Spearbit
5
Liquid Collective
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
flash-loan
true
false
## High: Wrong calculation of excess depositToken allows stream creator to retrieve `depositTokenFlashloanFeeAmount`, which may cause fund loss to users ### Description _Submitted by WatchPug, also found by 0x0x0x, ScopeLift, gpersoon, harleythedog, hyh, gzeon, jonah1005, and kenzo_ In the current implementation, `d...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: LP Fees Unclaimable via launchV4Pool() ### Description The function launchV4Pool() allows custom pool creation and token graduation (with manually set ticks and spacing). However, it does not call lpLocker.setTokenParams(), which is required to configure the LP locker for fee claiming. Without calling setTok...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
false
false
## Medium: max_rate_at_target is given as apr but morpho blue uses it as apy ### Description Morpho Blue is compounding the interest, see Morpho.sol#L477. The `MAX_RATE_AT_TARGET` specified here is given as a value that would result in a 1e7% APR (annual percentage rate, non-compounding). As Morpho Blue is compounding...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Faulty Reallocation of Market Size ### Description ## Vulnerability Analysis The vulnerability concerns the incorrect handling of CPI (Cross-Program Invocation) accounts during the reallocation of the MarketTwo account in the `AddMarketEmission` instruction. Specifically, the issue is that the `market.cpi_...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 data inconsistency caused by errors during unstake receipt processing ### Description In `processUnstakeNotarizations()`, there is an edge case for new approver instances that try to sync up with Lombard's ledger, leading to data inconsistencies. In the worst case, it can lead to potential double pay...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Risk of Insolvent Balance with Non-Standard Erc20 Token Integration ### Description **Update** The client provided the following explanation: > We have explicitly stated in the "Sending Specific ERC-20 Tokens" section that we do not support Non-standard ERC20 tokens for now. https://docs.pheasant.network/cont...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: RLP Deserialization Ordering Optimization ### Description The RaptorCast TCP message processing performs computationally complex RLP deserialization operations on untrusted input before signature verification and peer scoring checks. This processing order creates unnecessary computational overhead for unauthen...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
true
false
## Medium: Nonce front-running vulnerability ### Description In the current implementation of the `NonceMap`, the `nonce` is used to prevent double-spending and replay attacks. However, it is possible for a malicious user with active permissions to the account to preemptively use the same nonce as a legitimate user, 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
low
initialization
false
false
## Low: Use a specific version of Solidity instead of a wide version ### Description `StratFeeManagerInitializable` should use `pragma solidity 0.8.23;` instead of `pragma solidity ^0.8.23;`.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 the comment ### Description **Description:** While this typo does not directly impact the functionality of the contract, it can cause confusion for developers who are trying to understand the code. Clear and accurate comments are essential for maintaining a high-quality codebase and ensuring smooth co...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: | Unnecessary Casting ### Description **Description** There is no need to cast `holdFarmingAddress` to the `IHoldFarming` interface in functions such as `curateCollection` as it was already declared with the `IHoldFarming` type. The variable was not cast in `initiateRetroactiveHoldFarming`. The same can be sa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing Docstrings ### Description Throughout the [codebase](https://github.com/ThenafiBNB/THENA-Contracts/tree/faa7161bf11f1f68d1744e534ca9e1b6c18ab04a/contracts/), there are several parts that do not have docstrings. Consider thoroughly documenting all functions (and their parameters) that are part of any ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Initializers Could Be Front-run ### Description According to the documentation, `CoreVault`, `Marketplace` and `MergeMarketplaceStrategy` contracts are meant to be upgradeable contracts. Initializers could be front-run, allowing an attacker to either set their own values, take ownership of the contract, and in...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: THE CONTRACT IMPORTS A LIBRARY THAT IT DOES NOT USE, BUT SHOULD ### Description The `V2Migrator` contract, on line 4, imports the `SafeERC20` library from OpenZeppelin but does not use it. According to a comment on line 29, every pool in V1 that wants to migrate to V2 should be able to do so with the `migrate`...
0