prompt listlengths 2 2 | source stringclasses 3
values | severity stringclasses 5
values | category stringclasses 186
values | has_code bool 2
classes | has_poc bool 2
classes | reference_response stringlengths 23 5k | firm stringclasses 26
values | quality_score float64 0 5 | protocol stringclasses 398
values |
|---|---|---|---|---|---|---|---|---|---|
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: Validate withdrawals in AfEth have been already executed
### Description
https://github.com/code-423n4/2023-09-asymmetry/blob/main/contracts/AfEth.sol#L243
Withdrawals in AfEth are first enqueued when requested, and executed later when the vAfEth tokens are ready to be withdrawn. The `withdraw()` function 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 | other | false | false | ## Low: Array does not have a fixed length
### Description
**Severity**: Low
**Status**: Resolved
**Description**
In contract AggregateVaultStorage, struct AvStorage at line 77 there is an array called swapFee, that array will be setted as the same time as the vaults, in function setAssetVaults from AggregateVault ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | token | true | false | ## Medium: StableSwapOperatorV1 - the _minLpOut value is not accurate
### Description
When depositing, the expected minimum amount of the output LP tokens is calculated:
**code/contracts/pcv/curve/StableSwapOperatorV1.sol:L194-L200**
```
// slippage check on metapool deposit
uint256 \_balanceDeposited = IERC20(poo... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: Bug Bounty
### Description
Formal security audits are not enough to be safe. We recommend implementing [an automated contract-based bug bounty](https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/Bounty.sol) and setting a period of time where security researchers from around the globe can 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: Unsafe cast of addresses.length
### Description
The code truncates the `address.length` to `uint8`. If `addresses.length` were 257, this would result in 1. However, the entire `addresses` array is assigned to `adapters` later (see Gateway.sol#L92). Afterward, in functions like `send()`, the full `adapters.leng... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | gas | token | false | false | ## Gas: Reduce unnecessary approval each time
### Description
If `LibAsset.maxApproveERC20` is called with `amount = type(uint256).max` and a token's approval logic does not treat an allowance of `type(uint256).max` as infinite, the allowance will be reduced to less than `type(uint256).max` after each transaction. Thi... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | token | false | false | ## Medium: Deposits don’t work with fee-on transfer tokens
### Description
## Handle
cmichel
## Vulnerability details
## Vulnerability Details
There are ERC20 tokens that may make certain customizations to their ERC20 contracts.
One type of these tokens is deflationary tokens that charge a certain fee for every `... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: In `StandardToken::updateNameAndSymbol` cache existing name and symbol then pass them to child functions
### Description
**Description:** `StandardToken::updateNameAndSymbol`:
* reads the existing `name` and `symbol`
* calls `CommonUtils.isEqualString` to compare existing to proposed new
* if different, calls ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | cyfrin_structured | high | token | true | true | ## High: Permanent loss of `BabelToken` if a disabled emissions receiver doesn't call `Vault::allocateNewEmissions`
### Description
`BabelToken` is permanently lost if a disabled emissions receiver doesn't call `Vault::allocateNewEmissions` as:
* `Vault::_allocateTotalWeekly` allocates `BabelToken` according to total ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | initialization | true | false | ## Medium: Leverage Vault on sidechains that support Curve V2 pools is broken
### Description
No users will be able to deposit to the Leverage Vault on Arbitrum and Optimism that supports Curve V2 pools, leading to the core contract functionality of a vault being broken and a loss of revenue for the protocol.
### Imp... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: RPC password stored in plain text in QTSettings object
### Description
The RPC password is stored in plaintext within the QTSettings object. QTSettings stores application settings in a platform-dependent location which may not necessarily be secure. For instance, the data is stored on the Windows registry o... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | access-control | false | false | ## High: Session Keys with ERC-20 Spend Limit Can Drain MSCA of Limited Tokens
### Description
**Update**
The system now always assumes an upper bounded spend limit by increasing the key's `limitUsed` field by X for all `approve(address, X)` calls. Fixed in commits `1da79ebf6df5b680283dd1709b7842b68e26248e` and `96f5f... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Crashing the network by filling timestamp cache...
### Description
Report type: Blockchain/DLT
Target: https://github.com/shardeum/shardus-core/tree/dev
Impacts:
* Increasing network processing node resource consumption by at least 30% without brute force actions, compared to the preceding 24 hours
* Netw... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | initialization | true | false | ## Medium: Price impact overcharges using final instead of delta imbalance
### Description
The proposal states traders should “pay spreads” only to the extent their trade increases the imbalance (i.e., they pay for the change in imbalance, not the absolute imbalance).
The `_priceImpactFunction` is also designed so tha... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Return value not checked
### Description
Return value of `PriceProvider._setHeartbeat()` not checked.
https://github.com/Liquorice-HQ/contracts/blob/a5b4c6a56df589b8ea4f6c7b8cb028b1723ad479/src/contracts/PriceProvider.sol#L129
### Recommendation
We recommend checking the return value.
*** | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | solodit_api | medium | initialization | true | false | Source: https://github.com/sherlock-audit/2023-02-hats-judging/issues/11
## Found by
Allarious, carrot
## Summary
Child hats can be created under a non-existent admin. Creating the admin allows overwriting the properties of the child-hats, which goes against the immutability of hats.
## Vulnerability Detail
When cr... | Sherlock | 5 | Hats |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: INVALID VARIABLE VISIBILITY DOES CAUSE CONTRACT DEADLOCK
### Description
When the function `dynamicPremiumRatio` is executed 7 days after the pool's deployment, this function tries to retrieve `dynamicPoolCounter` from `PriorityPoolFactory` during the dynamic ratio calculation. Since the visibility of this va... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | cyfrin_structured | low | reentrancy | false | false | ## Low: Violation of the Checks Effects Interactions Pattern in `LiquidateOrVaporize::liquidate` and `LiquidateOrVaporize::vaporize` could result in read-only reentrancy vulnerabilities
### Description
When liquidating or vaporizing an undercollateralized account, there are [a](https://github.com/feat/dolomite-margin/... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `mint()` does not validate `tokenId` against `username` rules
### Description
The `GigaNameNFT.mint()` function allows a `MINTER_ROLE` holder to mint a `GigaNameNFT` with a precalculated tokenId based on the username, however, it doesn't validate if the `tokenId`, derived from the `username`, adheres to the co... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | gas | other | true | false | ## Gas: Using `storage` instead of `memory` for structs/arrays saves gas
### Description
When fetching data from a storage location, assigning the data to a `memory` variable causes all fields of the struct/array to be read from storage, which incurs a Gcoldsload (**2100 gas**) for *each* field of the struct/array. If... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | Allowance | true | false | Source: https://github.com/sherlock-audit/2023-01-uxd-judging/issues/339
## Found by
0x52, Jeiwan, berndartmueller, koxuan, jprod15, Bahurum, cccz, CRYP70, rvierdiiev, GimelSec
## Summary
The `ISwapper spotSwapper` (i.e., `Uniswapper`) helper contract, used by the `PerpDepository._rebalanceNegativePnlWithSwap` fun... | Sherlock | 4 | UXD Protocol |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | cyfrin_structured | low | integer-overflow | true | true | ## Low: Probability overflow can bypass `MaxProbabilityExceeded` check
### Description
When adding new prizes, the contract includes a check to ensure that the total probability does not exceed 100% in [`Spin::_addPrizes#L511-L513`](https://github.com/Consensys/linea-hub/blob/295344925ec4321265f7cbac174fcf903b529a4e/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 | high | other | false | false | ## High: User can drain all funds by calling withdraw multiple times Severity: High
### Description
**Description:**
Currently withdraw function transfer tokens and after its success, the callback function decreases user's balance. As main call and callback handler are independent transaction, a malicious user can ca... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | storage | true | true | ## Low: EulerSavingRate gulp can delay the full accrual of the user's interest
### Description
`gulp` is the ESR mechanism that starts the accrual of the amount of asset that has been sent to the ESR by an external entity. Once `gulp` is called, such amount is added to `esrSlot.interestLeft` and `esrSlot.interestSmear... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: Inconsistent spacing in comments
### Description
Some lines use `// x` and some use `//x`. The instances below point out the usages that don't follow the majority, within each file.
*There are 33 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... | skyward_49k | low | token | false | false | ## Low: Meaningless override
### Description
**Description**
CryptoBearWatchClub.sol, safeTransferFrom(address,address,uint256)
Function has the same code as the parent ERC721 contract, thus its override is meaningless. It
is enough to override the safeTransferFrom(address,address,uint256,bytes).
**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... | cyfrin_structured | medium | front-running | false | false | ## Medium: Linea can permanently lock user ETH on L2 by censoring user transactions through the centralized sequencer
### Description
Linea can permanently lock user ETH on L2 by censoring user transactions through the centralized sequencer; as the Linea team control the sequencer they can choose (or be forced by a go... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: _collateralERC20 should be renamed to _collateral since it could represent ether
### Description
The `_collateralERC20` variable in the contract's constructor can both represent an ERC20 address or `address(0)` for Ether. The name can lead to confusion since it doesn’t always represent an ERC20 token.
### Rec... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Ternary unnecessary
### Description
`z = (x == y) ? true : false` => `z = (x == y)`
*There are 2 instances of this issue:*
https:/github.com/code-423n4/2022-12-tigris/blob/496e1974ee3838be8759e7b4096dbee1b8795593/contracts/BondNFT.sol#L238 | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [14] `>=` costs less gas than `>`
### Description
### Proof of concept
Found in line 505 at optimismContest/L1/OptimismPortal.sol:
return block.timestamp > _timestamp + L2_ORACLE.FINALIZATION_PERIOD_SECONDS();
### Mitigation
The compiler uses opcodes `GT` and `ISZERO` for solidity code that uses `>`, ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `<array>.length` should not be looked up in every loop of a `for`-loop
### Description
The overheads outlined below are _PER LOOP_, excluding the first loop
* storage arrays incur a Gwarmaccess (**100 gas**)
* memory arrays use `MLOAD` (**3 gas**)
* calldata arrays use `CALLDATALOAD` (**3 gas**)
Caching the 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 | low | access-control | false | false | ## Low: An unnecessary comment
### Description
At the line
https://github.com/lidofinance/anchor-collateral-steth/blob/8d52ce72cb42d48dff1851222e3b624c941ddb30/contracts/AnchorVault.vy#L164
there is an unnecessary comment `# dev: unauthorized`.
### Recommendation
It is recommended to delete this comment. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [03] `calculatePrincipalWithdrawable()` should return user balance for `CANCELLED` status
### Description
[LenderPool.sol#L579-L592](https://github.com/sublime-finance/sublime-v1/blob/46536a6d25df4264c1b217bd3232af30355dcb95/contracts/PooledCreditLine/LenderPool.sol#L579-L592)
In the event the borrower cancel... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Code Refactoring
### Description
## Adrena Audit 05 — General Findings
## 1. Internal Position Functions
In `internal_increase_position_short`, `internal_increase_position_long`, `internal_open_position_short`, `internal_open_position_long`, and `internal_swap` do not need to be invoked with `transfer_author... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Curve pool interface should be verified.
### Description
**Description**
Curve PriceAccumulator.sol
Currently, the curve price accumulator is using the interface of the curve pool with the function get_dy() with the following parameters (int128 i, int128 j, uint256 dx). However there is another version of... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | rounding | true | false | ## High: Specified amount is not updated after clamping, causing a lock of funds
### Description
The value of `amountSpecified` in the `MarginalV1LBPool.swap()` function is not updated after the price is clamped. The clamping narrows the price movement during the swap, but the user still pays the full specified amount.... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | front-running | false | false | ## Medium: Missing transaction expiration check result in reward tokens selling at a lower price
### Description
Selling of reward tokens misses the transaction expiration check, which may lead to reward tokens being sold at a price that's lower than the market price at the moment of a swap. Gamers and depositors may ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Morpho market creation might fail for some IRMs
### Description
_Resolved_
`MorphoMarketFactory.create()` prevents zero utilization rate decay at market creation. This is done by supplying 1 token and borrowing for 90% of its value, [following the guidance in the Morpho documentation](https://docs.morpho.org/... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | true | false | ## Low: [05] Repurposed `StorageKeys` in `LandManager` compromise code clarity
### Description
The use of unrelated `StorageKey` values for tax rate configurations in the `LandManager` reduces code readability, increases the risk of future maintenance errors, and could potentially lead to conflicts if these keys are ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: USE UNCHECKED KEYWORD FOR GAS OPTIMISATION
### Description
In Solidity (pragma 0.8.0 and later), adding `unchecked` keyword for arithmetical operations can decrease gas usage on contracts where underflow/underflow is unrealistic. It is possible to save gas by using this keyword on multiple code locations.
Cod... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unlocked Pragma
### Description
**File(s) affected:**`AG_Token.sol`
**Description:** Every Solidity file specifies in the header a version number of the format `pragma solidity (^)0.8.0`. The caret (`^`) before the version number implies an unlocked pragma, meaning that the compiler will use the specified ver... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Community fees wasted if no voters in `claimAndDistributeAlgebraPoolFees()`
### Description
In the `Voter` contract, the `_claimAndDistributeAlgebraPoolFees()` function is called during the `_distribute()` flow for Algebra gauges, where it:
1. Collects and withdraws community fees from the Algebra pool.
2.... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | oracle | false | false | ## High: Slashing mechanism grants exponentially more rewards than expected
### Description
In the [`VotingV2`](https://github.com/UMAprotocol/protocol/blob/7938617bf79854811959eb605237edf6bdccbc90/packages/core/contracts/oracle/implementation/VotingV2.sol) contract the function [`updateTrackers`](https://github.com/U... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | signature | true | false | ## High: Three valid signatures for the same message
### Description
On Ethereum, it's possible to create **two** different valid signatures for the same message (known as ECDSA Signature Malleability). However, on Kakarot, you can create **three** different valid signatures for the same message. This happens because,... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Issue with Fee Payment During Interchain Callback
### Description
In the `OracleRequestRecipient.handle()` function the `msg.value` parameter is missing [in the call](https://github.com/diadata-org/Spectra-interoperability/blob/ed9f1e5ff3aa6cfba02d12f0bed1e435aeec24c1/contracts/contracts/OracleRequestRecipien... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Erroneous data logged in events
### Description
* The [`Close` event](https://github.com/primitivefinance/primitive-protocol/blob/78a8e64b7618e9199203ab84042876c580ae1e90/packages/primitive-contracts/contracts/option/primitives/Option.sol#L48) should emit the caller’s address and the number of options sent 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 | overflow | true | false | ## Low: Unvalidated `_refShare` Can Cause Reverts
### Description
This issue has been identified within the `_takeFee` function of the **LibCryptoLegacy** library.
The function uses `_refShare` to calculate a referral fee but doesn't check if `_refShare` exceeds `SHARE_BASE` (10000). An invalid `_refShare` (> 10000) ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | initialization | true | false | ## Medium: BigVector Size Overflow
### Description
## Book Initialization Issue
The `empty` function initializes two `BigVector` instances for storing bid and ask orders, respectively. The issue arises from setting the `max_slice_size` parameter to `10000` when creating these `BigVector` instances. This parameter inf... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Custom `error` should be used rather than `require`/`assert`
### Description
Custom errors are available from solidity version 0.8.4. Custom errors are more easily processed in try-catch blocks, and are easier to re-use and maintain.
*There are 9 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... | skyward_49k | low | initialization | false | false | ## Low: Missing Sanity checks for constructor parameters
### Description
**Severity**: Low
**Status**: Resolved
**Description**
In contract LendingVault.sol, there are missing sanity checks and validations for _performanceFee and _maxCapacity parameters in the constructor.
**Recommendation:**
It is advised to 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 | false | false | ## Low: Remove obsolete `return` statements when already using named returns
### Description
**Description:** Remove obsolete `return` statements when already using named returns:
**Evo:**
Fixed in commit [f594ae0](https://github.com/contractlevel/sbt/commit/f594ae004d4afc80f19e17c0f61d50caa00a4811).
**Cyfrin:** Ve... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [09] Activate the Optimizer
### Description
Before deploying your contract, activate the optimizer when compiling using “solc --optimize --bin sourceFile.sol”. By default, the optimizer will optimize the contract assuming it is called 200 times across its lifetime. If you want the initial contract deployment 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 | oracle | true | false | ## Low: [11] Ensure the use of a shorter stale period in production
### Description
When getting the status of the oracle there is a check used before ensuring if the status is valid or not, see [here](https://github.com/code-423n4/2024-07-loopfi/blob/57871f64bdea450c1f04c9a53dc1a78223719164/src/oracle/BalancerOracle.... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | other | true | false | ## Medium: Incorrect Implementation of revoke Function in `VestingWallet` Contract
### Description
**Severity**: Medium
**Status**: Unresolved
**Source**: ./libraries/VestingWallet.sol , ./libraries/VestingWallet2.sol
**Description**:
The revoke function in the `VestingWallet` contract is implemented to transfer ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | true | false | ## Low: [18] INCOMPLETE NATSPEC COMMENTS
### Description
NatSpec comments provide rich code documentation. The following functions miss the `@param` or `@return` comments. Please consider completing the NatSpec comments for these functions.
**[0xean (judge) commented](https://github.com/code-423n4/2023-03-aragon-fin... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unrestrained revert reason [core]
### Description
The `EntryPoint` contract can emit a [`FailedOp` error](https://github.com/eth-infinitism/account-abstraction/blob/6dea6d8752f64914dd95d932f673ba0f9ff8e144/contracts/interfaces/IEntryPoint.sol#L63) where the `reason` parameter provides additional context for 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 | gas | other | false | false | ## Gas: Some imported libraries are not used
### Description
The Errors and Structs libraries were imported but are not used in any implementation.
### Impact
It is good practice to do this to keep your code clean and easy to read. This can help prevent bugs and make it easier to review and maintain the code in the f... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: Misleading Comments
### Description
We have identified the following examples of misleading comments:
* The `gasBoundCall` function description mentions a [`BOUND_CALL_OVERHEAD` constant](https://github.com/matter-labs/era-contracts/blob/705a4c8946c1ddbd50dbc637010e6223b3865dab/system-contracts/contracts/Gas... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Empty blocks should be avoided
### Description
Avoid using code blocks, such as:
In [VRFNFTRandomDrawFactory.sol#L53-L59](https://github.com/code-423n4/2022-12-forgeries/blob/main/src/VRFNFTRandomDrawFactory.sol#L53-L59):
Consider emitting an event. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Staked service will be irrecoverable by owner if not an ERC721 receiver
### Description
The `StakingBase` contract allows users to stake services represented by ERC721 tokens. These services are freely transferable, meaning they could be staked by contracts that do not implement the `ERC721TokenReceiver` 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 | initialization | false | false | ## Low: Wrong Constructor Argument Passed
### Description
When [constructing](https://github.com/UMAprotocol/across-contracts-v2-private/blob/8595081d0edf6aa265fc5e0d04437e9aa07efbcd/contracts/SwapAndBridge.sol#L226) the `UniversalSwapAndBridge` contract, the address of the exchange contract is wrongly passed to [`Swa... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lock pragma to the specific version
### Description
**Description**
Lock the pragma to a specific version, since not all the EVM compiler versions support all the
features, especially the latest one’s which are kind of beta versions (for example you use
pragma solidity >=0.5.12 at CoiinVestingVault.sol ), 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 | high | other | false | false | ## High: No LP fees when closing matured longs/shorts
### Description
When closing matured longs through `closeLong` or `checkpoint`, `_applyCheckpoint` is first run, which closes the matured longs/shorts for this checkpoint. This function, however, does not take a fee on the `shareProceeds`. The share (and bond) rese... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | solodit_api | medium | initialization | true | true |
<https://github.com/rabbitholegg/quest-protocol/blob/8c4c1f71221570b14a0479c216583342bd652d8d/contracts/QuestFactory.sol#L219-L229><br>
<https://github.com/rabbitholegg/quest-protocol/blob/8c4c1f71221570b14a0479c216583342bd652d8d/contracts/Erc20Quest.sol#L81-L87>
After completing a task in the context of a quest, a u... | Code4rena | 5 | RabbitHole |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | Source: https://github.com/sherlock-audit/2024-03-axis-finance-judging/issues/90
## Found by
Avci, Aymen0909, FindEverythingX, bhilare\_, jecikpo, merlin, poslednaya, seeques
## Summary
During batch auction settlement, the bidder whos bid was partially filled gets the refund amount in quote tokens and his payout in ... | Sherlock | 3 | Axis Finance |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Theft of unclaimed yield due to the wrong calculation of claimable amout for a gauge that allow hackers to get the double reward from the Poolvoter contract.
### Description
Report type: Smart Contract
Target: https://github.com/zerolend/governance
Impacts:
- Theft of unclaimed yield
## Description
## Des... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Interest market's `initialize()` function is skipped due to incorrect signature
### Description
Both `CErc20InterestMarketDelegator.sol` and `CErc20InterestMarketNoProxy.sol` call the underlying implementation's `initialize()` function in their constructor.
Looking at the no proxy version as an example, we se... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `getPeriodReward()` function allows transfers to zero address without `receiver` address validation
### Description
The `getPeriodReward()` function does not enforce a check to ensure the receiver is not the zero address (address(0)).
The `safeTransfer` reverts if the recipient is the zero address (address(0)... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | access-control | true | false | ## Gas: Functions guaranteed to revert when called by normal users can be marked `payable`
### Description
If a function modifier such as `onlyOwner` is used, the function will revert if a normal user tries to pay the function. Marking the function as `payable` will lower the gas cost for legitimate callers because 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 | false | false | ## Low: Missing Event Emission in `withdrawNonBoringToken`
### Description
This issue has been identified within the [withdrawNonBoringToken](https://github.com/Se7en-Seas/cMETH-boring-vault/blob/d6e2d18f45a3e05d749d34966139fc85fc47f7e6/src/base/Roles/DelayedWithdraw.sol#397) function of the `DelayedWithdraw` contract... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Pumps are not updated in the shift() and sync() functions, allowing oracle manipulation
### Description
The `Well` contract mandates that the `Pumps` should be updated with the previous block's `reserves` in case `reserves` are changed in the current block to reflect the price change accurately.
However, thi... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | access-control | false | false | ## High: API has admin access to Redpanda
### Description
The API service has admin access to Redpanda to configure users (figure 20.1) and ACLs (figure 20.2). Having such powerful capability in a service exposed to the internet puts Redpanda at a high risk of exploitation.
```python
def create_user(self, address: str... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Event MintUnbacked Field user is Always Set to Bridge
### Description
The event `MintUnbacked` contains the field `user`. This field is set in `BridgeLogic.executeMintUnbacked()` to be `msg.sender`. However, since this function can only be called by the bridge, `msg.sender` will always be the bridge.
### Reco... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Excess funds withdrawn from the money market
### Description
Excessive amounts of assets are being withdrawn from the money market.
### Impact
This led to an excessive amount of assets idling in Notional and not generating any returns or interest in the money market, which led to a loss of assets for the use... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Possible DOS (out-of-gas) on loops.
### Description
_Submitted by 0x29A, also found by minhquanym_
### Impact
It is possible to get an out-of-gas issue while iterating the for loop.
Please take a look at [this link](https://github.com/wissalHaji/solidity-coding-advices/blob/master/best-practices/be-care... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: isInRegistry does not check whether parent vault was deployed by a designated VaultV2 factory
### Description
Both `isInRegistry` implementations in `MorphoMarketV1Registry` and `MorphoVaultV1Registry` do not check whether the parent vault of the adapter was deployed by a fixed designated `VaultV2` factory.
#... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [03] `auto_approve` is not used in long-term rent
### Description
The `execute.rs#setlistforlongtermrental()` function lets NFT owner set the `auto_approve`, but it is not used in the logic of long-term rent.
https://github.com/code-423n4/2024-10-coded-estate/tree/main/contracts/codedestate/src#L1288 | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | token | false | false | Source: https://github.com/sherlock-audit/2023-03-taurus-judging/issues/31
## Found by
roguereddwarf
## Summary
According to the contest page `any non-rebasing` ERC20 token is supposed to be supported.
The `SwapHandler.swapForTau` function checks that the `collateralToken` cannot be sent to the `SwapAdapter` for t... | Sherlock | 4 | Taurus |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | initialization | true | false | ## High: Admin Can Overcharge Users Due to Incorrect Fee Application in `FundContract`
### Description
The `FundContract` incorrectly applies `management fees` instead of `trading fees` during withdrawals, leading to users being overcharged. The issue arises in the `_withdraw()` function, where the sharesTradingFee 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 | medium | liquidation | true | false | ## Medium: Borrower with bad debt gets mint reward
### Description
**Severity:** Medium
**Context:** [`MUSDManager.sol#L249`](https://github.com/getmetafinance/meta/blob/00bbac1613fa69e4c180ff53515451df4df9f69e/contracts/musd/MUSDManager.sol#L249), [`MUSDManager.sol#L299`](https://github.com/getmetafinance/meta/blob/... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: proposer cannot cancel a proposal with a GOV_VOTING_DELAY=0 after propose block.timstamp + 1
### Description
Severity: Medium Risk
Context: DeployGovernance.s.sol#L19
Description: The OZ governance contracts include a parameter calledvotingDelay , which specifies a time delay
between the block.timestamp of ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | gas | other | true | false | ## Gas: The result of function calls should be cached rather than re-calling the function
### Description
The instances below point to the second+ call of the function within a single function
*There are 4 instances of this issue:*
`Pool.sol#L589` | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | initialization | true | false | ## Medium: Uniswap Pool price can be manipulated so stNXM adds liquidity to a super imbalanced pool and loses funds
### Description
[stNXM::initializeExternals()](https://github.com/sherlock-audit/2025-11-stnxm-by-easedefi/blob/main/stNXM-Contracts/contracts/core/stNXM.sol#L111) adds liquidity without slippage checks,... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | oracle | true | false | ## Medium: Fallback oracle is using spot price in Uniswap liquidity pool, which is very vulnerable to flashloan price manipulation
### Description
Fallback oracle is using spot price in Uniswap liquidity pool, which is very vulnerable to flashloan price manipulation. Hacker can use flashloan to distort the price and o... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | access-control | false | false | ## Low: StateTransitionManager Role-Specific Functions Cannot Be Reached in Admin Facet
### Description
In the `Admin` facet, some functions are limited only to be called by the `StateTransitionManager`. For instance:
* [`setValidator`](https://github.com/matter-labs/era-contracts/blob/d5c5d7a7c3a458f131e5de72c6c134... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | cyfrin_structured | low | token | false | false | ## Low: Decimal mismatch for tokens on HyperEVM and HyperCore
### Description
The `transferToCore` function transfers a specified `amount` of the base asset from a pocket to HyperCore. However, it does not account for potential differences in decimal precision between the HyperEVM token and the HyperCore token. If 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 | oracle | true | false | ## Low: Potentially Unsafe Encoding
### Description
## MultiSigOracle.sol Contract Review
In the `MultiSigOracle.sol` contract, the `hashCallData` function uses `abi.encodePacked` to encode the call data. This might be unsafe if multiple arguments to call data are dynamic, allowing for confusion between different 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 | medium | access-control | false | false | ## Medium: Wrong permissions on reassignGlobalAdmin
### Description
## Handle
cmichel
## Vulnerability details
The `Permissions.reassignGlobalAdmin` function is supposed to only be run with the `TIMELOCK_ROLE` role, see `onlyRole(TIMELOCK_ROLE, "Only timelock can assign roles")`.
However, the `TIMELOCK_ROLE` is 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 | high | access-control | true | false | ## High: Lack of Access Control in proposeBurnAndBridge Function Exposes Contract to Unauthorized Actions
### Description
The smart contract function `proposeBurnAndBridge` is designed to initiate significant operations such as burning synthetic assets and preparing them for cross-chain bridging. However, this functio... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | true | false | ## Low: References to missing am-AMM overrides should be removed
### Description
**Description:** The NatSpec of `BunniHook::_amAmmEnabled` references pool/global am-AMM overrides that appear to be missing. If, as suspected, they were they removed following a previous audit, all references should be removed.
**Bacon... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Quill necessitates having borrow caps
### Description
**Impact**
As discussed here #20
Many assets on Scroll are extremely illiquid
This means that Quill cannot be fully trustless as some branches pose counter-party risk to all users
Because of this, it's necessary you add borrow caps as to limit the dama... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Strategy and agent contracts can be set to invalid ones
### Description
Strategy contracts `PricingStrategy` and `CeilingStrategy` as well as `FinalizationAgent` each have an [`isSane`](https://github.com/CoinFabrik/ico/blob/142f43f3bec4afd0ffff3fce06946cf67cb0272f/contracts/Crowdsale.sol#L463) function 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: batchFillOffer() checking the same lengths provided
### Description
Consider checking `offerId.length == amount.length` in `batchFillOffer()`, same way as it is done in `settle2StepsBatch()`. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Variable to be declared as constant
### Description
**Severity**: Informational
**Status**: Resolved
**Description**
dpnm_sc.sol - minDailyBuy is shown to be immutable, therefore it is better to be declared as a constant.
**Recommendation**
uint constant public minDailyBuy = 50e18; | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Uninitialized proxy share price
### Description
The `sharePrice` variable in the `DepositETHBera` and `DepositUSDBera` contracts is improperly initialized within the implementation contracts instead of the proxy storage. As a result, the sharePrice for proxies begins at zero.
Moreover, since there is no use 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 | medium | other | false | false | ## Medium: Fee Regulation Might Not Work as Expected on Non-Mainnet Chains
### Description
The [`_isPriorityFeeValid`](https://github.com/1inch/limit-order-settlement/blob/ff7909c4f32bee8879211607275dc30d788afee8/contracts/SettlementExtension.sol#L188-L206) function implements the fee regulation check proposed in [1IP... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: EOPBCTemplate - permission documentation inconsistencies ✓ Fixed
### Description
#### Resolution
Fixed with [aragonone/[email protected]`bafe100`](https://github.com/aragonone/fundraising/pull/4/commits/bafe1005161d34b8e7113db355d059b78d432d00) by adding the undocumented and deviating permissions to the doc... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Changeable length of `vestingPoints` leading to issues
### Description
**Severity**: Low
**Status**: Resolved
**Location**: Vesting.sol
**Description**
Function `updateVestingPoints()` changes the array `vestingPoints`, while it is worth noting that caution is not taken on updating the value of this 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 | oracle | false | false | ## Low: Missed Price Data Is Filled In With Linear Derivations
### Description
In the `settle()` functions of both oracle files, there is logic which, if a day or more of price data is missing, will fill in that price data with evenly spaced prices between known data points. For example, if the price on Monday is 120 ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use custom errors rather than `revert()`/`require()` strings to save gas
### Description
Custom errors are available from solidity version 0.8.4. Custom errors save [**~50 gas**](https://gist.github.com/IllIllI000/ad1bd0d29a0101b25e57c293b4b0c746) each time they're hit by [avoiding having to allocate and store... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.