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... | solodit_api | medium | liquidation | true | false |
_Acknowledged_
## Severity
**Impact:** Low
**Likelihood:** High
## Description
The `TradingCallbacksLib::getDynamicTradePriceImpact` helps in calculating the final price impact before registering the trade. It is calculated before the `OstiumTradingCallbacks::registerTrade()` call in `OstiumTradingCallbacks::open... | Pashov Audit Group | 4.5 | Ostium_2025-09-14 |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | reentrancy | false | false | ## Low: Events may be emitted out of order due to reentrancy
### Description
If a reentrancy occurs, some events may be emitted in an unexpected order, and this may be a problem if a third party expects a specific order for these events. Ensure that events follow the best practice of CEI.
*There are 8 instances of th... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | liquidation | false | false | ## Low: Burning clawback rewards causes total debt to be greater than stable total supply
### Description
The `burnClawbackRewards` function in the `PositionController` contract burns the stable tokens minted to the contract on `claimEscrow`. However, the debt accounted for by the protocol has not been reduced.
This ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | overflow | false | false | ## High: Rebaseable Tokens Cause Unfair Vesting and Claim Failures
### Description
This issue has been identified within the `_claimTokenWithVesting` function of the **CryptoLegacyBasePlugin** contract, specifically related to its interaction with rebaseable ERC-20 tokens.
The function calculates the `amountToDistrib... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 rewardRate management in BaseGauge
### Description
The BaseGauge contract operates on a period-based distribution where rewards accrue linearly. However, there is a mismanagement issue with how rewards are calculated and distributed within a given period, which can lead to inconsistent reward emis... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: UNCHECKED ARITHMETICAL OPERATIONS CAN CAUSE PANIC
### Description
When calculating the distribution of rewards, the `distributor-v1` contract performs a division without checking that the denominator is not zero. In the event that `epoch_manager` is misconfigured and has an epoch length of 0 blocks (that can h... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Impossible To Set Currency
### Description
Users may set the currency to a non-None value when initializing an order. However, the match arm of the implementation does not cover the case where the existing currency is `None`, and the new one is not, resulting in erroring a transaction when providing a currency... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Gauge constructor should whitelist xSHADOW as well
### Description
As we can see, in the current version of the code, only the `emissionsToken` is added to the `tokenWhitelists`.
```solidity
tokenWhitelists.add(IVoter(_voter).emissionsToken());
```
The `tokenWhitelists` is the list that blocks unexpected rew... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | true | false | ## Gas: `NFTPair.init` and `NFTPairWithOracle.init`: Storage usage optimization
### Description
I suggest replacing:
with:
Here, we're saving 1 SLOAD at the cost of 2 MSTOREs and 3 MLOADs => around 85 gas.
Furthermore, in case of revert, a lot more gas would be refunded, as the 2 SSTORE operations are done after t... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | cross-chain | false | false | ## Medium: Remote timing side channel in WalletConnect library
### Description
WalletConnect is a protocol for relaying messages between DApps and user Wallets. Setup is accomplished by sharing a QR code specifying a symmetric private key as well as a Bridge node responsible for relaying requests and maintaining pub/s... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | solodit_api | medium | Front-Running | true | false | Source: https://github.com/sherlock-audit/2023-01-ajna-judging/issues/111
## Found by
koxuan
## Summary
Average debt size of the pool is used to calculated MOMP (Most optimistic matching price), which is used to derive NP (neutral price). Higher average debt size will result in lower MOMP and hence lower NP which ... | Sherlock | 4 | Ajna |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | cross-chain | true | false | ## Low: 2] Sent funds may get stuck inside of the bridge
### Description
**Severity:** Low
**Path:** bridge-fungible-token/src/main.sw#L343-L361, bridge-fungible-token/src/main.sw#L170-L187
**Description:**
In the `bridge-fungible-token/src/main.sw` contract while processing the message there are a couple of points... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [4] contracts/NFTCollection.sol
### Description
### 4.1 Shorter inheritance list
The inheritance contracts on line [29-40](https://github.com/code-423n4/2022-08-foundation/blob/792e00df42/contracts/NFTCollection.sol#L29-L40) can be consolidated into a shorter list:
Then you would need to adjust the override... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Large Centralization Risk
### Description
The `withdrawFunds()` Function within the RunaAGI.sol file poses a significant centralization risk. This function permits the contract owner to withdraw the entire balance of funds to any specified address. This capability grants the owner excessive control over 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 | gas | initialization | true | false | ## Gas: Redundant incremental performed in transferInRewards() and transferInFrozenFunds()
### Description
For both functions, when `getUnvestedAmount()` or `getUnvestedUnfrozenAmount()` != 0, the function reverts. This means these functions will only execute when these values are 0.
While these return values are 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 | medium | other | false | false | ## Medium: TRST-M-4 hedgeDelta(0) doesn’t behave properly
### Description
**Description:**
`hedgeDelta()` is called again by the pool when the exposure to underlying asset needs to
change. If it was previously non-zero and the pool wishes to reset the delta to zero,
`hedgeDelta(0)` would be called. Unfortunately, it... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Repetitive condition check
### Description
**Severity**: Informational
**Status**: Acknowledged
**Description**
In Contract DevvE.sol, the method multiMint(...) checks for the following conditions which are again verified in the mint(...) method.
**Recommendation**:
Remove the repetitive conditions 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 | other | false | false | ## Low: Lack of Proper Configuration and Setup
### Description
## DenomResolver Configuration Issue in xfeemarket
The default **DenomResolver** for **xfeemarket** has not been properly configured with the **feemarketkeeper**, nor has it been set up. The DenomResolver is a key component in the fee market system that 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 | reentrancy | false | false | ## High: OpenLevV1Lib's and LPool's `doTransferOut` functions call native `payable.transfer`, which can be unusable for smart contract calls
### Description
_Submitted by hyh_
When OpenLev operations use a wrapped native token, the whole user withdraw is being handled with a `payable.transfer()` call.
This is unsafe... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | front-running | true | false | ## Medium: Malicious user can DoS the creation of every account at no cost by front running it with the same ```accountId```.
### Description
Malicious user can DoS the creation of every account at no cost by front running it with the same ```accountId```. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | true | ## Low: Compound’s redeem call failure emits ExternalError with incorrect function name
### Description
The `DharmaSmartWalletImplementationV2` contract checks the results of its interactions with Compound by using the `_checkCompoundInteractionAndLogAnyErrors` function. This function (Figure 3.1) emits an `ExternalEr... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | gas | initialization | false | false | ## Gas: [04] Don't initialize variables with default value
### Description
### Proof of concept
Found in line 118 at optimismContest/L2/GasPriceOracle.sol:
uint256 total = 0;
Found in line 120 at optimismContest/L2/GasPriceOracle.sol:
for (uint256 i = 0; i < length; i++) {
Found in line 269 at optimismCont... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Race condition in Drift SDK
### Description
A race condition in the Drift SDK causes client programs to operate on non-existent or possibly stale data. The race condition affects many of the project’s Anchor tests, making them unreliable. Use of the SDK in production could have financial implications.
When ru... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Risks associated with forceful ETH transfers to unprepared contracts
### Description
Forcing ETH transfers to contracts that are not designed to receive them, due to the absence of a `payable fallback` or `receive` function, can lead to permanently locked funds within these recipient contracts. This situation,... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary Safe Math is being utilized
### Description
**Severity**: Informational
**Status**: Resolved
**Description**
The default safe math operation in solidity versions ^0.8.x incurs extra gas overhead due to it requiring more computation. The following operation, that is being carried out on the itera... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Validation Logic
### Description
## Code Review Suggestions
1. **Utilize Unpack**
Utilize `unpack` over `unpack_from_slice` in all cases to ensure that accounts are correctly initialized with the appropriate size and layout. In addition to deserializing data, `unpack` performs a check to ensure th... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | oracle | false | false | ## Medium: Basketmode provides insufficient protection in severe depegs
### Description
Severity: Medium Risk
Context: HoneyFactory#mint
Description: If the pyth oracle reported stale price or the reported price deviate from the lowerPegOff-
sets /upperPegOffsets :
function isBasketModeEnabled() public view returns (b... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | true | false | ## Low: Unused Function Arguments
### Description
In the `DDOperatorPlan` contract we find that `getTargetAssets` has a not used argument.
```
function getTargetAssets(uint256) external view override returns (uint256) {
if (enabled == 0) return 0;
return targetAssets;
}
```
Besides, there's a call in contrac... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | access-control | false | false | ## Low: Repeated Forced Burns from the Liquidity Pool Deter and Harm LPs
### Description
In the SheepCoin ecosystem, the Wolf NFT contract enables a mechanism where SHEEP tokens are burned directly from the sheep market liquidity pool. This process is designed to reduce the circulating supply of SHEEP, potentially dri... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | false | false | ## Medium: MIN_MINT_DYAD_DEPOSIT doesn't enforce any behavior on minters
### Description
The public mint() function includes a requirement that users must submit $5k of ETH in order to mint a new dNFT. However, there is no restriction stopping them from immediately redeeming this deposit back into ETH by calling redee... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: GraphQL Injection
### Description
## Vulnerability Overview
The lack of validation of the `userPublicKey` parameter allows client-side injections in GraphQL queries, which may result in the manipulation of the query response.
## Example Code
### arweave.ts
## Remediation
Check if the `userPublicKey` 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 | other | false | false | ## Low: Voting may be allowed on paused Infrared vaults
### Description
`Voter.sol` manages voting for Infrared's POL CuttingBoard allocation of its vaults. Infrared vaults can be paused/unpaused by the Infrared Governor to react to any emergency situations. Similarly, their corresponding Voter bribe vaults can be kil... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Externally-owned accounts can be registered as contracts in Finder contract
### Description
The [`changeImplementationAddress` function](https://github.com/UMAprotocol/protocol/blob/9d403ddb5f2f07194daefe7da51e0e0a6306f2c4/core/contracts/oracle/implementation/Finder.sol#L24) of the `Finder` contract is a privi... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | front-running | false | false | ## Low: Grief through salt collision due to abi.encodePacked on createPointsProgram(...)
### Description
Severity: Low Risk
Context: PointsFactory.sol#L47
Description: The createPointsProgram function computes the salt for contract creation using
abi.encodePacked with dynamic string parameters _name and _symbol . This... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | other | false | false | ## Medium: Treasury cap restriction will not hold and one block per month will be compromised
### Description
Treasury cap restriction will not hold and one block per month will be compromised
### Impact
Cap restriction will not hold and one block per month will be compromised
### Recommendation
```diff
if blockEmi... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Consider adding a comment saying that EIP-2098 short signatures are not supported
### Description
1. File: src/ECDSA.sol (line [33](https://github.com/code-423n4/2022-04-axelar/blob/dee2f2d352e8f20f20027977d511b19bfcca23a3/src/ECDSA.sol#L33))
**[deluca-mike (Axelar) commented](https://github.com/code-423n4/... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | true | ## Medium: Fees can become stuck in `UniswapV4Wrapper`
### Description
When a modification is made to Uniswap V4 position liquidity, such as in the case of a partial `UniswapV4Wrapper` unwrap which decreases liquidity, any outstanding fees are also transferred and required to be completely settled. For multiple holder... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Integer Overflow/Underflow
### Description
## Vulnerability Overview
The vulnerability pertains to a potential integer overflow that may occur in all swap instructions during the computation of `swap_usd_amount` when handling high-valued assets. Specifically, `swap_usd_amount`, being of type `u64`, is susc... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | true | false | ## Low: Missing Address Checks
### Description
## createClaimDepositOrder Function Overview
The `createClaimDepositOrder` function does not validate the user-provided `param.router` address. This oversight results in the approval of `rewardToken` on an arbitrary address. The amount of clearance is limited to the amou... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | solodit_api | high | reentrancy | true | false | Source: https://github.com/sherlock-audit/2023-06-tokemak-judging/issues/587
## Found by
xiaoming90
Stat calculator returns incorrect reports for swETH, causing multiple implications that could lead to losses to the protocol,
## Vulnerability Detail
The purpose of the in-scope `SwEthEthOracle` contract is to act ... | Sherlock | 5 | Tokemak |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | cross-chain | true | false | ## Medium: Race condition with tab IDs in the background component
### Description
The background component asynchronously processes requests from the injected JavaScript Ethereum API (the extension’s content script). The background receives a window’s tab ID along with the request, then pulls dapp information (e.g., ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | oracle | false | false | ## Medium: Stake can be withheld indefinitely
### Description
In the [`Staker`](https://github.com/UMAprotocol/protocol/blob/7938617bf79854811959eb605237edf6bdccbc90/packages/core/contracts/oracle/implementation/Staker.sol) contract the function [`setUnstakeCoolDown`](https://github.com/UMAprotocol/protocol/blob/79386... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | true | ## Medium: Native token prizes cannot be funded due to missing `receive()` function
### Description
SpinGame supports multiple prize types, including ERC721, ERC20, and native tokens, where native tokens are represented as `prize.tokenAddress = address(0)`.
To ensure that prizes can be successfully claimed, the proto... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Invariable.sol won't save Bean from exploit because of flawed entitlement calculation
### Description
`fundsSafu` modifier is used to ensure that Protocol has enough balances to cover all the obligations after functino execution.
Problem is that it doesn't include Bean amounts contributed while creating Po... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Validation missing on `_initialSupply`
### Description
**Description:**
1. Observe that in the `initialize`function `_initialSupply` is not checked to be smaller than or equal to `_maxSupply`.
2. Observe that admin can mistakenly set `_initialSupply`greater than `_maxSupply`which is incorrect behavior.
**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... | solodit_api | high | Reentrancy | false | true |
GiantMevAndFeesPool.withdrawETH calls lpTokenETH.burn, then GiantMevAndFeesPool.beforeTokenTransfer, followed by a call to \_distributeETHRewardsToUserForToken sends ETH to the user, which allows the user to call any function in the fallback. While GiantMevAndFeesPool.withdrawETH has the nonReentrant modifier, GiantMe... | Code4rena | 5 | Stakehouse Protocol |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | rounding | true | false | ## Low: Precision loss in `swETH::_deposit` from unnecessary hidden division before multiplication
### Description
**Description:** `swETH::_deposit` [L170](https://github.com/SwellNetwork/v3-contracts-lst/blob/a95ea7942ba895ae84845ab7fec1163d667bee38/contracts/implementations/swETH.sol#L170) contains a hidden unneces... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Improvements to use of ternary operator | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Reward Accumulator Initialization in Stake Creation
### Description
This issue has been identified within the `_internalStakeForAddress` function of the `DIAStakingCommons` contract.
The reward accumulator (`rewardAccumulator`) is not initialized when a new stake is created. This oversight allows stak... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | dos | true | false | ## Low: End-of-day option buys vulnerable due to `block.timestamp` dependency
### Description
The `buy()` function in `OperationalTreasury.sol` allows users to purchase options by providing parameters including a signature (`sig`) generated off-chain by a trusted signer. This signature covers several parameters, inclu... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Check for Setting Alpha Values
### Description
`alphaDenominator` should never exceed `alphaNumerator`, as specified by the audit documentation as well as this [error](https://github.com/VenusProtocol/venus-protocol/blob/f31a0543da039dab69112c6be3e36ea54959503b/contracts/Tokens/Prime/libs/Scores.sol#L4... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Code Clarity
### Description
## Light Protocol Audit 05 — General Findings
## Remediation
1. Utilize `self.next_index` directly instead of `first_leaf_index + leaf_i` to simplify the code and avoid potential confusion.
2. Replace the above-mentioned code snippets with their respective functions to ensure be... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | initialization | false | false | ## Medium: No check of parameter values when executing smart contract constructor
### Description
It is recommended to append `require(variableAddress != address(0))` requirement right after the constructor execution starts.
- https://github.com/pickle-finance/protocol/blob/9b0f330a16bc35c964211feae3b335ab398c01b6/sr... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | logic-error | true | false | ## Low: Unused parameter in address validation modifier SecuritizeOffRamp::addressNonZero
### Description
The `addressNonZero` modifier used in `SecuritizeOffRamp::initialize()`, `SecuritizeOffRamp::updateLiquidityProvider()`, and `SecuritizeOffRamp::updateNavProvider()` functions accepts a `string memory parameter` a... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | token | true | false | ## Medium: Consistently check account balance before and after transfers for Fee-On-Transfer discrepancies
### Description
_Submitted by Dravee, also found by pauliax_
### Vulnerability Details
As arbitrary ERC20 tokens can be passed, the amount here should be calculated every time to take into consideration a poss... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Votes are not cleared when a voter is removed.
### Description
**Severity**: High
**Status**: Resolved
**description**
TestStake::setOwnersAndMinimumSignatures().
When changing the `topHolders` array to remove an account that voted in the current active
voting for contract upgrade, the function does not r... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The fee may be changed during the auction.
### Description
**Description**
The platform owner can change the fee of the platform at any time without any restrictions at any moment during the existence of the auction. As a result, if this functionality is used in bad faith, you can change the fee of the auc... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | other | false | false | ## Medium: fees calculations are not accurate
### Description
_Submitted by certora_
after that fee is calculated, it is minted to the feeBeneficiary.
simply minting the exact amount results lower fee than it should be.
#### Impact
feeBeneficiary will get less fees than it should.
#### Proof of Concept
let's assu... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Slight miscalculation in maxAmountsIn for Admin Fee Logic in UpliftOnlyExample::onAfterRemoveLiquidity Causes Lock of All Funds
### Description
The function `onAfterRemoveLiquidity` is responsible for handling post-liquidity removal operations, including fee calculations and administering liquidity back 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 | medium | cross-chain | false | false | ## Medium: Unprotected Initialization Function
### Description
In the `L2EthToken` contract, an [unresolved comment](https://github.com/matter-labs/system-contracts/blob/4ad1f26ae205d5a973216d141833e0ac37d72ec8/contracts/L2EthToken.sol#L35) acknowledges the fact that the `initialization` function is unprotected and an... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | overflow | false | false | ## Low: Consider implementing emergency pause mechanism for user facing calls
### Description
**Description:** Both `TokenAirdrop` and `LineaToken` expose critical operations that, once live, cannot be halted in the event of an unforeseen bug or exploit:
* `TokenAirdrop::claim`
Without a pausable guard, any mis‑cal... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | cross-chain | false | false | ## High: A Relayer Can Avoid a Slash by Requesting a Withdrawal From the Bond
### Description
**Update**
The team fixed the described issue. However, an issue persisted: `bondWithdrawal` can only keep track of one token, but `BondManager` supports several tokens. `getBond()` receives a token ID as parameter (token 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 | front-running | false | false | ## Low: The Use of `SafeERC20.safeApprove()`
### Description
**Update**
Marked as "Fixed" by the client. Addressed in: `464d19fedd80f9f45e78c7e3c0dffa1ae2428d76`, `b385d23a24156ce436507afa3ef0ad1653c658b7`. The client provided the following explanation:
> Using forceApprove instead of safeApprove
**File(s) affected:... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: CoreRouter Prone to Fund Depletion or Trapping Due to Miscalculated Redemption Payouts
### Description
The `redeem` [function](https://github.com/sherlock-audit/2025-05-lend-audit-contest/blob/main/Lend-V2/src/LayerZero/CoreRouter.sol#L100) in `CoreRouter.sol` (lines 82-110) is responsible for redeeming a 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 | front-running | true | false | ## Medium: Attacker can transfer all SUSD’s balance of LiquidityPool as margin to Synthetix perpetual market, and break the actions of users until the pool is rebalanced by the authority
### Description
Contract `LiquidityPool` will transfer margin of size delta for every trade, and this margin is always > 0. Then att... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Anyone can prolong the time for the rewards to get distributed
### Description
Anyone who holds a few wei of credit token can prolong the time for the rewards to get distributed for the rebasing users with minimal effort.
### Proof of Concept
A malicious attacker only needs a few wei of tokens to execute ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Integer Overflow
### Description
## Potential Overflow in `verifyMultiHashes`
There is a potential for overflow when calculating `proofRangeSubtreeEstimate` in `verifyMultiHashes`. `verifyMultiHashes` calls `_getSplitPoint` internally to calculate the split point.
## NamespaceMerkleTree.so - Solidity
If `p... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | overflow | true | false | ## Medium: `BribesFactory::createBribeFlywheel` can be completely blocked from creating any `Flywheel` by a malicious actor
### Description
A malicious actor can completely block the creation of any bribe `flywheel` that is created via `BribesFactory::createBribeFlywheel` because of the way the `FlywheelBribeRewards` ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Initial value check is missing in Set Functions
### Description
**Context:**
7 results 1 files
Checking whether the current value and the new value are the same should be added. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Rebalance Checks
### Description
## Rebalance Operation Overview
`start_rebalance` initiates a re-balance operation between two liquidity pools. `end_rebalance` is expected to conclude the re-balance operation. However, `start_rebalance` fails to perform a thorough check on the destination liquidit... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | liquidation | false | false | ## High: Late abond holders steal USDa amount from liquidations from earlier abond holders
### Description
`BorrowLib::redeemYields()` [gets](https://github.com/sherlock-audit/2024-11-autonomint/blob/main/Blockchain/Blockchian/contracts/lib/BorrowLib.sol#L996) `usdaToAbondRatioLiq`, which is the amount of USDa gained ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Division By Zero Error
### Description
## Borrow Flash Loan
The `borrow_flash_loan` function calculates the flash loan fee based on the configured `fee_rate` and a potential discount. If both `fee_rate` and `fee_discount_numerator` are zero (no fee and no discount applied), it will be impossible to obtain a 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 | token | true | false | ## Low: REVEALWAVE.REVEALDATE IS NOT USED
### Description
The contracts `ERC721WoonklyNFTRevealWave`, `ERC1155WoonklyNFTRevealWave` and `ERC721WoonklyNFTMinimalRevealWave`` contain the following struct:
### Recommendation
**SOLVED**: The `Woonkly team` removed the `revealDate` variable from the `RevealWave` struct. T... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | gas | other | false | false | ## Gas: Unnecessary storage update
### Description
Deleting the commit stored in the `_commits` mapping has no meaningful effect and can be skipped.
### Recommendation
- Remove the line deleting the storage.
- Alternatively, use a magic value with a long past timestamp that is, e.g., `uint8(uint256(keccak256("claimed... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `maxUserNetSizeLimit` Can Be Circumvented
### Description
**Update**
The Blex team acknowledged the issue and indicated that this is the intended design.
**File(s) affected:**`./contracts/market/GlobalValid.sol`
**Description:** The `maxUserNetSizeLimit` storage variable restricts how much one side (long vs.... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ACOTokens become non-transferrable after expiration
### Description
Although the [`ACOToken` contract inherits](https://github.com/AuctusProject/aco/blob/36bcab024c9781d799381f8f973e99fd5b0f4d2d/smart-contracts/contracts/core/ACOToken.sol#L13) `ERC20.sol`, which has a standard [`transfer`](https://github.com/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 | storage | false | false | ## Low: Inconsistent `salt` argument when cloning `subGauge`s
### Description
In `GaugeFactory` there is cloning of `subGauge`s both in `createGaugeProxyAndSubGauges` and in `createSubGauge`, but the way the `salt` argument for the cloning is computed is different. This can result in multiple `subGauge`s created for t... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | gas | other | false | false | ## Gas: Splitting `require()` statements that use `&&` saves gas
### Description
See [this issue](https://github.com/code-423n4/2022-01-xdefi-findings/issues/128) which describes the fact that there is a larger deployment gas cost, but with enough runtime calls, the change ends up being cheaper
*There are 2 instances... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: Missing version field in the MorphoTokenEthereum and MorphoTokenOptimism
### Description
When an upgradable contract is defined, it is customary to define a version field in the implementation which will specify the current version. This field is usually incremented with every upgrade. The `MorphoTokenEthereum`... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Code Refactoring
### Description
## Light Protocol Audit 05 — General Findings
1. Implement the Deref trait for the `IndexedMerkleTreeZeroCopy` and `IndexedMerkleTreeZeroCopyMut` structures to allow them to behave like references to their inner `IndexedMerkleTree` structure. This will help access methods or 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... | solodit_api | medium | liquidation | true | false | Source: https://github.com/sherlock-audit/2024-03-wagmileverage-v2-judging/issues/7
## Found by
bughuntoor
## Summary
Liquidation bonus scales exponentially instead of linearly.
## Vulnerability Detail
Let's look at the code of `getLiquidationBonus`
```solidity
function getLiquidationBonus(
address to... | Sherlock | 4 | WagmiLeverage V2 |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Risks in modifying critical parameters in marketplace
### Description
_Acknowledged_
The `Marketplace` contract allows for the modification of several critical parameters, including `acceptedCurrency`, `tradeFee`, `fees`, and `whitelistRegistry`.
Changing these parameters mid-operation can lead to unintende... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | front-running | true | false | ## High: 3. Frontrunning to block user withdrawal
### Description
**Severity:** High
**Path:** St1inch.sol:#L118-L134, L145-L165
**Description:**
The functions `withdraw` and `withdrawTo` can be frontrunned by any illicit
actor by calling `depositFor` or `depositForWithPermit` and passing the
victims account and 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 | high | liquidation | true | false | ## High: Using forged/fake lending pools to steal any loan opening for auction
### Description
An attacker can steal any loan opening for auction by executing the `Lender::buyLoan()` and specifying the `poolId` parameter to a forged/fake pool. This vulnerability can even cause the protocol to become insolvent 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 | low | other | true | false | ## Low: Adding a `return` statement when the function defines a named return variable, is redundant
### Description
*There are 2 instances of this issue:* | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | liquidation | true | false | ## Medium: Liquidation Cannot Be Closed Even With Healthy Position Due To Strict Debt Check
### Description
The `closeLiquidation()` function in the `LendingPool` contract requires users to repay their debt almost entirely (below a dust threshold of 1e6) to close a liquidation, rather than checking if their position h... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Risk of Non-Reachable postExecution
### Description
When inheriting the [`FirewallConsumerBase`](https://github.com/ironblocks/onchain-firewall/blob/8f4fcf861d53c835ed005db67b8af4037464e0ca/contracts/FirewallConsumerBase.sol#L20), any protected function using modifiers `firewallProtected`, `firewallProtecte... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | false | false | ## Medium: Unsafe Modification of Decimals in LendingPoolConfigurator
### Description
In the `LendingPoolConfigurator` contract, the `setDecimals` function allows changing the number of decimals for a reserve asset. This can lead to critical issues if the new decimals do not match the underlying asset's actual decimal... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | initialization | false | false | ## Low: Lack of event emission after sensitive changes
### Description
The [`addControlledToken` function](https://github.com/pooltogether/pooltogether-pool-contracts/blob/23b826b94e62d9c3a49bbe637da44cd1409c5b7f/contracts/prize-pool/PrizePool.sol#L554) of the `PrizePool` contract adds a new token to the `_tokens` arr... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | true | ## Low: `DividendManager::distributePayout` records a new payout record increasing the current payout index for zero `payoutAmount`
### Description
`DividendManager::distributePayout` records a new payout record increasing the current payout index for zero `payoutAmount`.
### Proof of Concept
```solidity
function tes... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users withdraw more assets than should when `mintFee` was called long ago
### Description
The amount of LP-tokens to withdraw is calculated at the `GMXWithdraw.withdraw` before the `mintFee` function is called. The `mintFee` function increases the `totalSupply` amount. This way users receive more tokens than... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | solodit_api | high | Decimals | false | false | Source: https://github.com/sherlock-audit/2022-10-illuminate-judging/issues/164
## Found by
0x52
## Summary
The decimals of the Sense principal token don't match the decimals of the ERC5095 vault it mints shares to. This can be abused on the USDC market to mint a large number of shares to steal yield from all othe... | Sherlock | 4 | Illuminate |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Usage of magic constants
### Description
There are several [magic constants](https://en.wikipedia.org/wiki/Magic_number_%28programming%29) in the contract code. Some examples are:
*
*
Use of magic constants reduces code readability and makes it harder to understand code intention. We recommend extracting... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Misleading Error Message
### Description
In the `GovernanceController` contract, the `onlyManager` modifier utilizes the error message "Governance:RTO," which stands for "Restricted to Owner." This message is identical to the one used in the `onlyOwner` modifier, potentially leading to ambiguity since the `onl... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary use of `emit_cpi!` increases CU cost
### Description
**Description:** The `whitelist` instruction uses [`emit_cpi!`](https://github.com/securitize-io/bc-solana-whitelist-sc/blob/main/programs/dstoken-whitelist/src/instructions/whitelist.rs#L247) and the `#[event_cpi]` attribute to emit the `Whiteli... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | flash-loan | true | false | ## Medium: Share Price Inflation by First LP-er, Enabling DOS Attacks on Subsequent buyShares with Up to 1001x the Attacking Cost
### Description
The smart contract contains a critical vulnerability that allows a malicious actor to manipulate the share price during the initialization of the liquidity pool, potentially... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Slippage Protection in `LendingPool.deposit()`
### Description
The `deposit()` function in `LendingPool` lacks slippage protection, allowing an attacker to manipulate the `liquidityIndex` and reduce the amount of `rToken` minted for a user. This results in fewer reward tokens (`raacToken`) in the `S... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | token | false | false | ## Medium: Order queues might become stuck
### Description
In the `CrossMarginHandler`, `Ext01Handler`, and `LiquidityHandler` contracts, there exists a `nextExecutionOrderIndex` variable. These variables point to the next order that needs to be processed, so these contracts essentially maintain queues of operations 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 | overflow | true | false | ## Low: Unnecessary Safe Math is being utilized
### Description
**Severity**: Informational
**Status**: Resolved
**Location**: TokenDistributor.sol
**Description** :
The default safe math operation in solidity versions ^0.8.x incurs extra gas overhead due to it requiring more computation. The following operation, ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | false | false | ## Medium: JUSDBank users can bypass individual collateral borrow limits
### Description
JUSDBank imposes individual borrow caps on each collateral. The issue is that this can be bypassed due to the fact that withdraw and borrow use different methods to determine if an account is safe.
### Impact
Deposit caps can be ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.