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 | dos | true | false | ## High: _updateWithdrawalQueue can run out of gas ✓ Fixed
### Description
When there’s not enough collateral to withdraw liquidity from a policy book, the withdrawal request is added to a queue. The queue is supposed to be processed and cleared once there are enough funds for that. The only way to do so is the `_upda... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ALL NFT EDITION SALE PROFITS ARE TRANSFERRED TO THE FEE VAULT
### Description
NFT owners can post sell orders on NFTs or NFT editions. When a user buys a single-edition NFT, a fixed percentage is deducted from the ask price and transferred to the fee vault. When a user buys an NFT edition, however, 100% of 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 | rounding | true | false | ## Low: Interest Rounding
### Description
## Interest Calculation in Smart Contracts
In some cases, it is possible to skip interest for some seconds. The `raw_interest` is linear with respect to the lockup time.
## Code Snippet
The following code snippet describes the full calculations. In particular, note the floo... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: H02] Executed policy proposals have full control over the system
### Description
###### High
The Eco system is built from a registry of policy contracts. Every 40 days, a voting over policy proposals can take place. The voting has two staking phases. At the end of the voting, [3 proposals can be enacted](ht... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TRST-L-3 XMozToken cannot be added to its own whitelist
### Description
**Description:**
By design, XMozToken should always be in the whitelist. However, `updateTransferWhitelist()`
implementation forbids both removal and insertion of XMozToken to the whitelist.
**Recommended Mitigation:**
Move the **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 | other | false | false | ## Low: `_recipient` zero address check
### Description
In `addRecipient()`: a missing `_recipient` zero check.
https://github.com/MetaLex-Tech/borg-core/blob/9074503d37cfa1d777ef16f6c88b84c98b4f54eb/src/borgCore.sol#L184
### Recommendation
We recommend adding parameters checks from the 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 | other | true | false | ## High: `ve_supply` is updated incorrectly
### Description
An incorrect time check causes `ve_supply[t]` to be updated incorrectly.
### Impact
A malicious user could create a new veNFT to steal future distribution rewards, leaving other eligible users without any rewards to claim.
### Recommendation
Make sure that ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | front-running | false | false | ## High: Rewards can be accounted as collateral
### Description
If the sum of the execution layer and consensus layer rewards reaches 32 ether, the rewards will be accounted as collateral, and the service will not collect some fees https://github.com/p2p-org/eth-staking-fee-distributor-contracts/blob/30a7ff78e8285f2ea... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | oracle | true | true | ## Medium: Band price feed may return invalid prices in two edge cases Status: Partially Resolved
### Description
The Band price feed returns a price instead of reverting in the following two edge cases:
1. There is not enough historical data and an entry in the observations array is empty.
2. The historical data is ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | gas | other | true | false | ## Gas: [2] Using `calldata` instead of `memory` for read-only arguments in `external` functions saves gas
### Description
When a function with a `memory` array is called externally, the `abi.decode()` step has to use a for-loop to copy each index of the `calldata` to the `memory` index. **Each iteration of this for-l... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | reentrancy | true | false | ## Medium: Atomic Subscription-Staking Failure Due to State Update Sequencing
### Description
The `SubscribeRegistry` contract contains a vulnerability in its `subscribe` function The function is designed to allow users to subscribe to a service and stake tokens in a single transaction. However, due to the order of op... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Not enforced checkpoints gap size
### Description
For the `checkpoints` field in the `SlumberParty` struct we have the following comment:
> /// @dev the gap between checkpoints MUST be big enough so that a user can't mint through multiple checkpoints.
This is just an assumption, as the place where the `check... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Methods used by EntryPoint has `onlyOwner` modifier
### Description
[contracts/smart-contract-wallet/SmartAccount.sol#L460-L461](https://github.com/code-423n4/2023-01-biconomy/blob/main/scw-contracts/contracts/smart-contract-wallet/SmartAccount.sol#L460-L461)
[contracts/smart-contract-wallet/SmartAccount.so... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | overflow | true | false | ## Medium: MULTIPLE INTEGER UNDERFLOWS IN LMCV MODULE
### Description
There are multiple cases in the `LMCV` contract when subtracting balances without checks. Such behavior may cause the transaction to fail due to arithmetic errors (integer underflow).
Code Location
-------------
The `repay` function does not perfo... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Approximations may finish with inaccurate values
### Description
_Submitted by 0xsanson, also found by broccoli_
#### Impact
In `HybridPool.sol`, functions `_computeLiquidityFromAdjustedBalances`, `_getY` and `_getYD` may finish before approximation converge, since it's limited by `MAX_LOOP_LIMIT` iteratio... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incompatible Function Syntax
### Description
In the [`bootloader` contract](https://github.com/matter-labs/system-contracts/blob/4ad1f26ae205d5a973216d141833e0ac37d72ec8/bootloader/bootloader.yul), the function [`getFarCallABI`](https://github.com/matter-labs/system-contracts/blob/4ad1f26ae205d5a973216d141833e... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | signature | true | true | ## Lines of code
https://github.com/code-423n4/2022-12-tigris/blob/b2ebb8ea1def4927a747e7a185174892506540ab/contracts/Trading.sol#L506
## Vulnerability details
## Impact
The open price of a stop order might be changed during execution but it doesn't validate StopLoss/TakeProfit for the changed price.
As a result, ... | Code4rena | 5 | Tigris Trade |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | initialization | true | false | ## Low: Users can allocate tokens to a pool at the moment the pool reaches maturity
### Description
Users can allocate tokens to a pool at the moment the pool reaches maturity, which creates an opportunity for attackers to front-run or update the curve right before the maturity period ends.
```solidity
function alloc... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: No checks in setMaxApprovalExchangeRateChange
### Description
Within the [function `setMaxApprovalExchangeRateChange`](https://github.com/celo-org/celo-monorepo/blob/d06617c7f4e59f643a0a0120e5501bcf762f1a7d/packages/protocol/contracts/liquidity/GrandaMento.sol#L556), there are no checks on acceptable values fo... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Read storage variables multiple times.
### Description
**Severity**: Informational
**Status**: Resolved
**Description**
In the `refundFromAdminInUSDT()` function, the function reads `investorInvestedAmountPerProjectInUSDT` multiple times from storage in the same iteration of the for loop.
**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 | medium | reentrancy | true | false | ## Severity: Medium Risk
## Context
- GClaimManager.sol
- Claim.sol
- Divider.sol
## Situation
When calling the function `join()` and `exit()` from contract `GClaimManager`, the function `_collect()` of `Divider` is called via `transfer()` or `transferFrom()` and `collect()`. The function `_collect()` can revert in c... | Spearbit | 5 | Sense |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Receiver of `Extraspins` and GPoints in `_handlePayout()`
### Description
The `_handleRewardPayout()` function is called by `fulfillRandomWords()` which is called by `rawFulfillRandomWords()` in the `VRFConsumerBaseV2Plus` contract. The permissions to call `rawFulfillRandomWords()` is only granted 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 | false | false | ## Low: Wrong comment in DVGToken.sol
### Description
**Description**
At line 73 there is a comment “Delegate votes from `msg.sender` to `delegatee`”, but actually
delegates function doesn’t delegate anything and doesn’t work with msg.sender. (delegates
does).
**Recommendation**:
Change comment to match actual func... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insufficient fee validation leading to user contract state lock
### Description
The liquidation fee validation logic contains a flaw that allows attackers to permanently lock user funds by triggering incomplete liquidation processes. The current implementation validates only that `msg_value` is enough to cove... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Deposits Via LRTConverter May Be Vulnerable To Inflation Attacks
### Description
The function `convertEigenlayerAssetToRsEth()` allows users to convert their EigenLayer assets and receive rsETH in return, enabling an alternative way to deposit assets into the protocol. However, in contrast to depositing via `L... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | access-control | false | false | ## Medium: Confusion With Multiple Modifiers Passing Custom Data to Policies
### Description
**Risk of Passing Arbitrary Data**
In `FirewallConsumerBase`, the [`firewallProtectedCustom`](https://github.com/ironblocks/onchain-firewall/blob/8f4fcf861d53c835ed005db67b8af4037464e0ca/contracts/FirewallConsumerBase.sol#L5... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Emergency withdrawal cannot recover `HYPE`
### Description
_Resolved_
`emergencyWithdrawToken()` is meant to be called in the case of an emergency to withdraw tokens from the contract. However, it does not implement any logic to recover native tokens.
It is recommended to implement a mechanism to recover nat... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Ability to set max stale duration for non-existent node
### Description
The `owner` has the capability to set the `maxStaleDuration` for a non-existent node:
This allows a newly created node to have a `maxStaleDuration` value other than zero. It is recommended to validate the existence of nodes before modify... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Witnet is not available on some networks listed
### Description
Witnet is not deployed on Blast, Linea, ZkSync, Zerion, so draws will not be possible there. Vaults can still be deployed and yield earned, so it will fail when trying to start or complete draws.
### Impact
DoSed yield until the prize pool shu... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Healthy loans can be liquidated
### Description
Due to missing validation that the loan's threshold is less than the LTV, an arbitrary loan can be liquidated if the threshold is between the `MAX_PENALTY_LTV` and `MAX_THRESHOLD` variables.
When loans are insolvent, liquidations via the stability pool can occu... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | other | true | false | ## Medium Risk Advisory
## Severity
Medium Risk
## Context
`PoolKeeper.sol#L119-L161`
## Description
The `performUpkeepSinglePool()` function of the `PoolKeeper` contract updates `executionPrice[]` with the latest price and calls `pool.poolUpkeep()` to process the price difference. However, `pool.poolUpkeep()` can r... | Spearbit | 5 | Tracer |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The Substrate dependency "chaostests" contain out of date dependencies that have security vulnerabilities
### Description
The Substrate dependency version `6b600cdeb` used by Acala uses two outdated dependencies that contain security vulnerabilities in its testing framework called "chaostests".
The outdated 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 | access-control | true | false | ## Low: Lingering permissions from uncleaned DEX swap token approvals
### Description
In `PositionInteractionFacet._swapAssetToAsset()`, the function approves `amountInMaximum` for swapping but the required `amountIn` could be less than or equal to `amountInMaximum`. This will leave the lingered approval to external 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: Unimplemented ERC4626 functions
### Description
We can observe in the contract that some functions from ERC4626 are not implemented, even though we can see them present in 4626.sol. These functions are just view functions and can help a user to calculate off-chain various amounts. An example is the `previewDep... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users may end up paying more than expected due to uncontrolled slippage.
### Description
**Severity**: High
**Status**: Resolved
**Description**
When a user purchases x amount of vaults by calling `purchaseFirstVaults()` or `purchaseMoreVaults()` the total amount of funds needed to be paid is calculated 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 | medium | liquidation | true | false | ## Medium: Repayers using EOA accounts can be affected if bad debt is generated when they are repaying loans
### Description
Repayers using EOA accounts will need to spend more PeggedTokens than what they should to get the needed CreditTokens to repay a loan if the market accrues bad debt while the repayer is doing 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 | high | other | true | false | ## High: `RubiconMarket` checks slippage incorrectly
### Description
`RubiconMarket` checks slippage incorrectly, user can loose funds because of that.
### Proof of Concept
`RubiconMarket.sellAllAmount` function has price protection. User should provide `min_fill_amount` param to that function in order to limit mini... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | flash-loan | true | false | ## Low: Accessible Locked Pool
### Description
## Flashloan Transaction and Pool Locking
When a flashloan transaction is performed, the pool that is used is being locked. However, functions such as `get_reserves_size` and `get_cumulative_prices` can still access the pool due to the lack of sufficient checks.
## Reme... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | token | true | false | ## Medium: Lack of slippage protection in the SecuritizeVault's liquidation function
### Description
The SecuritizeVault's `liquidate()` function converts share tokens to asset tokens using the NAV provider's rate without allowing users to specify a minimum output amount. Since the conversion rate is dynamic and exter... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Floating pragma
### Description
**Severity**: Informational
**Status**: Resolved
**Description**
The audited contracts use the following floating pragma:
It allows for the compilation of contracts with various compiler versions and introduces the risk of deploying with a different version than the one used... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | other | true | false | ## High: User can lose up to whole stake on vault withdrawal when there are funds locked in the strategy
### Description
ReaperVaultV2's `withdrawMaxLoss` isn't honoured when there are any locked funds in the strategy. Locked funds mean that there is a gap between requested and returned amount other than the loss repo... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: All functions can be merged
### Description
All functions can be merged into one with `bytes32` parameter:
https://github.com/Gearbox-protocol/gearbox-contracts/blob/0ac33ba87212ce056ac6b6357ad74161d417158a/contracts/core/AddressProvider.sol
### Recommendation
We recommend merging all functions into 1 with `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 | high | oracle | true | false | ## High: LibUsdOracle returns the wrong price for Uniswap Oracle
### Description
## Vulnerability Details
The Generalised Oracle is broken for the external tokens that use Uniswap. This is happening for two reasons:
1. The token passed as a base token for the `OracleLibrary.getQuoteAtTick` is incorrect. The base 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 | medium | other | true | false | ## Medium: setPrincipal fails to approve Notional contract to spend lender's underlying tokens
### Description
If the **Notional** principal is not set at Marketplace creation, when trying to add it at a later time via **setPrincipal**, the call will not accomplish that the lender approves the notional contract to spe... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | false | false | ## Low: Lost ERC20 rewards
### Description
**Severity**: Low
**Status**: Resolved
**Description**
In unstakeNft - if totalFunding is less than amount or reward, the investor is worthy to receive. The investor would not receive rewards, which is obvious anyway, but stakeNftRewardInfo record for that investor for the... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | storage | true | false | ## Medium: Use of Bearer HTTP Authorisation Without TLS
### Description
The Sequencer uses Bearer authorization to identify different users. However, this is not used with HTTPS, and so the Bearer token is included in the HTTP Header as plain text. The impact is that any attacker witnessing the request can read the us... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wrong `proposalThreshold` amount in `LybraGovernance.sol`
### Description
The proposal can be created with only 100\_000 esLBR delegated instead of 10\_000\_000.
### Proof of Concept
According to [LybraV2Docs](https://docs.lybra.finance/lybra-v2-technical-beta/governance/process/propose#threshold), a prop... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: 004: Default Evidence Configuration Parameters May Limit Window of Validity for the Noble App Chain
### Description
The Elys App Chain, which utilizes a vulnerable version of CometBFT as its consensus engine, has been identified to have a default configuration issue. The default values for the `EvidenceParams.... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [12] `FunToken` currently hardens off-chain tracking
### Description
https://github.com/code-423n4/2024-11-nibiru/blob/8ed91a036f664b421182e183f19f6cef1a4e28ea/x/evm/precompile/funtoken.go#L109-L211
Evidently, we can see there is a failure to emit events for critical state changes, even in the `sendToBank... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Setting The Configuration with Arrays of Longer Than 1 Causes Incorrect Config
### Description
In the `WheelOfGuantune` contract the expectation is that the configuration will be set using the `configureWheel()` function. The input parameters expect an array of values as below:
```solidity
function configure... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Sorascan does not show asset IDs that are not present in the system
### Description
When a transaction is sent with an asset ID that is not present in the system, the Sorascan blockchain explorer will not display the asset ID (Figure 15.1).
` is called without voters
### Description
In the `Voter` contract, the `notifyRewardAmount()` function allows anyone to donate `KITTEN` tokens for the current period, which are distributed among registered gauges based on their share of the total votes. This fu... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | other | true | false | ## Medium: Blacklisted extensions can't be disabled for rental safes
### Description
Safe owners can enable modules on their safes only if those modules are whitelisted, this check is also done on disabling modules, which poses a problem. This guarding logic is handled in `_checkTransaction` in `Guard.sol`. If a modul... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Add Seed Check
### Description
## WithdrawV2 Security Considerations
WithdrawV2 does not perform any checks for `user_ta`. To mitigate potential attacks, implement an address check for `user_ta` using a program and seeds instead of wrapping it as `UncheckedAccount`.
## Remediation
Add seeds and bumps to the... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | other | true | false | ## Medium: Absence of Royalty Enforcement
### Description
## Overview of `process_buy_legacy_spl` Issues
In `buy_spl::process_buy_legacy_spl`, the `optional_royalty_pct` parameter is currently utilized without verifying whether the royalties are actually enforced based on the `metadata.token_standard`.
## Explanati... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Miscellaneous General Comments
### Description
This section details miscellaneous findings in the Dimo contracts.
1. **Minimise Function Access**:
It is best practice to use the minimum visibility for a function, for gas saving purposes:
- `DimoV2.pause()` should be declared external.
- `DimoV2.unpause(... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Empty receive() function
### Description
It's a best practice to avoid leaving an open `receive()` function. A user could potentially send ETH to this contract, resulting in it becoming stuck. This function should be used only by the WETH contract.
### Recommendation
Restrict the call to the `receive()` 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 | medium | other | true | false | ## Medium: `activateProposal()` need time delay
### Description
_Submitted by __141345__, also found by 0x1f8b, Trust, V_B, and zzzitron_
There is no time lock or delay when activating a proposal, the previous one could be replaced immediately. In `vote()` call, a user might want to vote for 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 | storage | true | false | ## Low: level `call` will always succeed for non-existent addresses
### Description
https://docs.soliditylang.org/en/latest/control-structures.html#error-handling-assert-require-revert-and-exceptions:
> The low-level functions call, `delegatecall` and `staticcall` return true as their first return value if the 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 | false | false | ## High: Partial fills for buy orders in ERC1155 swaps will fail when pair has insufficient balance
### Description
Partial fills are currently supported for buy orders in `VeryFastRouter.swap()`. When `_findMaxFillableAmtForBuy()` determines `numItemsToFill`, it is not guaranteed that the underlying pair has so many ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Remove redundant `unary` call from `TradingAccount::getAccountMarginRequirementUsdAndUnrealizedPnlUsd`
### Description
`TradingAccount::getAccountMarginRequirementUsdAndUnrealizedPnlUsd` [L239](https://github.com/zaros-labs/zaros-core-audit/blob/de09d030c780942b70f1bebcb2d245214144acd2/src/perpetuals/leaves/Tr... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: SSZMarshal panics on nil pointers
### Description
The SSZ encoder will panic on nil pointers:
```go
package main
import (
"github.com/berachain/beacon-kit/mod/primitives/pkg/encoding/json"
clitypes "github.com/berachain/beacon-kit/mod/cli/pkg/commands/genesis/types"
datypes "github.com/berachain/beacon... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Node Owners are Allowed to Liquidate Themselves
### Description
**Severity**: Informational
**Status**: Invalid
**Description**
In StakingPool.sol - Function liquidation(uint64 actorId) enables the node owners to liquidate themselves. This is an uncommon pattern in DeFi projects as the owner repays debt 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 | low | liquidation | false | false | ## Low: Protocol team can preferentially refuse to liquidate traders via centralized liquidators
### Description
**Description:** The protocol team can preferentially refuse to liquidate traders since:
* only liquidators can liquidate traders subject to liquidation
* the protocol team control which addresses can be li... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Broken Authorization Scheme ✓ Fixed
### Description
Anyone can enumerate all tickets belonging to any wallet address by providing the corresponding address key (SHA256 of the address) to the right API endpoint. Users can also create tickets on behalf of other users by sending a POST request to the API with 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: No Automatic Refund for Excessive Native Fees
### Description
**Update**
Marked as "Acknowledged" by the client. The client provided the following explanation:
> We will implement it in the future
**File(s) affected:**`wstTAO.sol`
**Description:**`wstTAO.requestUnstake()` does not refund the user in the cas... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `DailyLendIncreaseLimitLeft` and `dailyDebtIncreaseLimitLeft` are not adjusted accurately
### Description
### Vulnerability Details
When the `V3Vault.sol#_withdraw` and `V3Vault.sol#_repay` functions are called, `dailyLendIncreaseLimitLeft` and `dailyDebtIncreaseLimitLeft` are increased. However, if it 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 | high | oracle | true | false | ## High: Users can disrupt the bookkeeping of the strategy when it is deployed
### Description
The strategy contains code that initializes bookkeeping operations on the first deposit, but any user can make a collateral deposit to disrupt these operations.
When the strategy performs its first deposit, the code contain... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `previewMint()` rounding direction is incorrect
### Description
`FraxlendPairCore.previewMint` is a function used to calculate the amount of shares required to mint the provided `_shares`.
However, the calculated `_amount` is rounded down instead of up, causing the returned amount to be incorrect and potenti... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect input parameters
### Description
In the function for calculating price, relative difference `old` argument can be zero:
https://github.com/lidofinance/steth-price-feed/blob/459495f07c97d04f6e3839e7a3b32acfcade22ad/contracts/StEthPriceFeed.vy#L58
### Recommendation
We recommend to add simple check... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing usage of SafeMath
### Description
## Handle
@cmichelio
## Vulnerability details
## Vulnerability Details
The following code does not use SafeMath and can potentially lead to overflows:
- `NFTXFeeDistributor.distribute`
- `NFTXFeeDistributor._sendForReceiver`
## Impact
While looping through all ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Manual error overrides throughout codebase should be removed to preserve maintainabil- ity
### Description
There are around 70 occurrences of manual error overrides that seem to have been introduced to apply v0.50 conventions in a state compatible manner. These should be removed in the next chain upgrade to av... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `PellStrategy#stakerStrategyShares` function should be `view`
### Description
Currently `PellStrategy#stakerStrategyShares` doesn't have a `view` modifier since it's calling the external non-view function `stakerStrategyShares` from the `IPellStrategyManager` interface:
However, in the current implementation... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Merkle library verifies intermediate inputs
### Description
The [`Merkle` library](https://github.com/matter-labs/zksync-2-dev/blob/c05b49d7e303996f60a0e35f18ef224e45ee19f5/contracts/ethereum/contracts/zksync/libraries/Merkle.sol) enables verification of a Merkle proof by performing an inclusion check of an... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | other | true | false | ## Medium: NOT CHECKING BALANCE BEFORE AND AFTER UNTRUSTED TOKENS TRANSFERS
### Description
None
Code Location
-------------
`NewStakingSaloon.sol` Lines# 512-540
```
//Get check-in revenue
function getSignInReward(uint256 _sessionId, uint8 _tagNum, uint8 v, bytes32 r, bytes32 s) external
Params storage para... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | access-control | false | false | ## Low: Missing Route53 Domain Lock ✓ Fixed
### Description
Domain registrars often give customers the option to lock a domain. This prevents unauthorized parties from transferring it to another registrar, either through malicious interaction with the registrar itself, or compromised domain owner credentials. No domai... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Centralization issue in TradableBalanceVault, TradableSettingsMessageAdapter and TradeableSettings
### Description
**Severity**: Medium
**Status**: Acknowledged
**Description**
In the TradableBalanceVault contract, the settingsProvider can be changed anytime by an admin using setSettingsProvider() functi... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | oracle-manipulation | false | false | ## Medium: Parallel data structures are not necessary
### Description
Usage of the [`updatesById`](https://github.com/ChaosLabsInc/risk-oracle/blob/9449219174e3ee7da9a13a5db7fb566836fb4986/src/RiskOracle.sol#L25) mapping with keys given by the monotonically increasing [`updateCounter`](https://github.com/ChaosLabsInc/... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | logic | true | false | ## High: Number of entities in generation can surpass the 10k number
### Description
Increment generation function sets the count of the entites of the new generation to 0, which could lead to incorrect calculations of the entities in new generation. What can happen is that users will forge entities that will belong 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 | storage | false | false | ## Low: Cannot Receive ETH From send() or transfer()
### Description
The contract `BaseERC20Guild` allows any account to send ETH to it. However, since this contract intends to use a proxy contract (for upgradeability purposes), ETH transfers through the functions `send()` and `transfer()` may fail due to insufficient... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Streamline Error Handling with `require` Statements
### Description
As of Solidity 0.8.26, the preferred method for error handling is using the `require(bool, Error)` statements instead of `if (bool) revert Error`. This modern approach not only streamlines the code but also enhances is readability and gas effi... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Fixed participants will earn full premium even when vault ends early from debt settlement
### Description
**Severity**
**Impact:** High, premium can be stolen from variable participants
**Likelihood:** Medium, occurs when admin settles debt
**Description**
When `adminSettleDebt()` is called before the ful... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | false | false | ## Medium: LiquidityGauge does not account for VotingEscrow ’s totalSupply updates
### Description
VotingEscrow’s `totalSupply` update is not accounted for in LiquidityGauge. As a result, users will not earn the expected interest. LiquidityGauge computes the interest earned by users. A bonus is applied to VotingEscrow... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: An arbitrage opportunity in the rsETH price calculation for MANAGER role
### Description
There is an arbitrage opportunity for the `MANAGER` role using the `swapAssetWithinDepositPool` function. Even if some `MANAGER` permissions are revoked, the permission to call `swapAssetWithinDepositPool` is enough to pe... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | true | false | ## Low: Management fees not updated timely in `setManagementFee()`
### Description
In Cove, the management fees will be calculated via `currentTotalSupply`, `feeBps`, and `timeSinceLastHarvest`. In the function `setManagementFee`, we will change the management fee, but we don't accrue the previous time slot's manageme... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: maxReplayTimes is Not Initialized in L1ScrollMessenger
### Description
Currently `maxReplayTimes` is not being set in the [`initialize`](https://github.com/scroll-tech/scroll/blob/2eb458cf4224d82fc56254e91e297a9ed261cefb/contracts/src/L1/L1ScrollMessenger.sol#L94-L105) function of `L1ScrollMessenger`. In addit... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | upgrade | true | false | ## Low: Use named mapping parameters to make explicit the purpose of keys and values
### Description
Use named mapping parameters to make explicit the purpose of keys and values:
```solidity
wormhole/WormholeCCTPUpgradeable.sol
79: mapping(uint16 => uint32) public chainIdToCCTPDomain;
bridge/USDCBridgeV2.sol
63: ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | other | false | false | ## Medium: No method to withdraw from EtherFi
### Description
**Severity**
**Impact:** Medium
**Likelihood:** Medium
**Description**
The `YieldStrategy.sol` contract has the method `depositWETHInEtherfi` that allows the caller to deposit WETH into EtherFi to obtain WEETH.
However, there is currently no method 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 | overflow | true | false | ## Low: downscaleUp Function Does Not Handle 0Input
### Description
## Risk Assessment
## Severity
**Low Risk**
## Context
`Space.sol#L502-525`
## Situation
The functions `_downscaleUp()` and `_downscaleUpArray()` will not work if `amount == 0`. If a `safeMath` library is used, then an underflow or a revert will oc... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rewards `rate` can be set to 0
### Description
There is an issue with a `deposit_reward_token` function defined at the line https://github.com/curvefi/stableswap-ng/blob/86462096e40a878faee369839eb27fcd10e112f5/contracts/main/LiquidityGauge.vy#L680. It is possible to provide quite a big `_epoch` compared to... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | initialization | true | false | ## Low: Service fees cannot be withdrawn
### Description
If the service fee charged for a swap is waived, the fee collected for the swap is stored at index zero of the `_balanceOfPoolToken` mapping. However, because the fee withdrawal function does not allow withdrawals from index zero of the mapping, the fee can neve... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | rounding | false | false | ## Low: Incorrect rounding
### Description
In several places, the rounding direction is set to down when it should be rounding up. These locations include:
- `previewMint()`:
- `_convertToAssets(shares, MathLib.Rounding.Down);`
- `withdraw()`:
- `shares = MathLib.mulDiv(assets, maxShares, maxAssets);`
- `... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: All ETH can be stolen during rebalancing for `mTOFTs` that hold native
### Description
Rebalancing of ETH transfers the ETH to the destination mTOFT without calling `sgRecieve` which leaves the ETH hanging inside the `mTOFT` contract.
This can be exploited to steal all the ETH.
### Impact
All ETH can be sto... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | storage | false | false | ## Medium: Unused mapping.
### Description
**Description**
GaugeProxy.sol: mapping deprecated.
Values from mapping “deprecated” are never read or written.This might signalize about
unfinished contract logic. Contract should not contain unused variables or unfinished logic.
**Recommendation**:
Either remove unused m... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: Strategist Can Get All Operation Fees Cut
### Description
**Update**
Fixed in: `5da53c9dfa7134bc741618433eacbd58b9f94293`.
The client provided the following explanation:
> _The strategist platform cut is set by the registry owner instead of the Fund's owner which makes more sense in terms of negotiation powe... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Weak Password Hashing Configuration: Low `PBKDF2` Iteration Count and No Use of Argon2
### Description
**Update**
Marked as "Fixed" by the client. Addressed in: `0f6180f1921216b72f3f210687369fdcf0f8bb48`. Additional fixes in: `9c26b94fca8767a0114944678b3fe095ef422ae8` The client provided the following explana... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The `ecrecover` precompile is vulnerable to signature malleability
### Description
By flipping `s` and `v` it is possible to create a different signature that will amount to the same hash & signer. This is fixed in OpenZeppelin's ECDSA library like [this](https://github.com/OpenZeppelin/openzeppelin-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 | token | false | false | ## Medium: Public to all funds escape
### Description
### Vulnerability Details
The `LooksRareAggregator` smart contract implements a bunch of functions to escape funds by the contract owner (see `rescueETH`, `rescueERC20`, `rescueERC721`, and `rescueERC1155`). In this way, any funds that were accidentally sent to th... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | token | false | false | ## Low: Fee-on-Transfer Tokens Counted Incorrectly in `deposit`
### Description
In the `deposit` function of `P2pLendingProxy`, the contract increments `s_totalDeposited` by the nominal `amount` from the permit without accounting for fee-on-transfer tokens that arrive in smaller amounts.
The issue is classified as *... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.