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 | oracle | true | false | ## Low: PythNodeprocess can revert because of incorrect casting
### Description
Report type: Smart Contract
Target: https://testnet.snowtrace.io/address/0xA758c321DF6Cd949A8E074B22362a4366DB1b725
Impacts:
* Contract fails to deliver promised returns, but doesn't lose value
## Description
## Brief/Intro
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 | medium | other | false | false | ## Medium: `Project.raiseDispute()` doesn't use approvedHashes - meaning users who use contracts can't raise disputes
### Description
_Submitted by 0xA5DF_
[Project.sol#L493-L536](https://github.com/code-423n4/2022-08-rigor/blob/5ab7ea84a1516cb726421ef690af5bc41029f88f/contracts/Project.sol#L493-L536)
In case users ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Function Naming for suspendDeposit Toggle Mechanism
### Description
**Severity**: Low
**Status**: Resolved
**Description**
The suspendDeposit function in SingleLiquidityProvider.sol is named in a way that implies it only suspends deposits, while it actually toggles the deposit status between acti... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Validation is missing for tokenA in `SwapExchange::calculateMultiSwap()`
### Description
**Severity:** Low
**Description:** The protocol supports claiming a chain of swaps and the function `SwapExchange::calculateMultiSwap()` is used to do some calculations including the amount of tokenA that can be received ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Loan duration can be reduced at the time of borrowing without user permission
### Description
Requested loan duration, if greater than the maximum allowed duration (the time to next epoch's end), is set to this maximum value:
```solidity
if (timeToSecondEpochEnd < lien.details.duration) {
lien.details.durat... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | signature | true | false | ## Low: Lack of Support for Account Abstraction
### Description
The implemented permit logic only supports ECDSA-based permits, which assume the current account model of base-layer Ethereum. However, there has been a long push in the direction of account abstraction for Ethereum, which would allow different signing me... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | other | false | false | ## Medium: No tests
### Description
Writing tests is a lot of work, but will save you from [regression problems](https://en.wikipedia.org/wiki/Software_regression). A regression bug appears when a previously correct component gets broken based on a recent change. Consider adding tests to catch regression errors when 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 | medium | initialization | false | false | ## Medium: Failure to Store User State
### Description
## Kamino Lending Security Issue
In the `init_sy` instruction in `kamino_lend_standard`, the `obligation_farm`, which represents the user’s state in Kamino Farms for earning rewards, is utilized to verify the `user_state` in deposit and withdraw instructions. How... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: safeTransfer Required for Critical Token Transfer
### Description
The transfer function on line [93] of `StargateAdapter.sol` will fail if called with USDT, one of the two tokens intended to be used in the function. This will cause a revert of the call to `sgReceive()`, which will leave the tokens transferred... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 `emergencyWithdraw` method can leave `PirexEth` in a broken state
### Description
**Severity**
**Impact:**
High, as the logic in `PirexEth` will be broken
**Likelihood:**
Low, as it requires an emergency and using the contract after it
**Description**
The `emergencyWithdraw` method in `PirexEth` all... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | solodit_api | medium | token | false | false | Source: https://github.com/sherlock-audit/2023-02-blueberry-judging/issues/15
## Found by
0x52
## Summary
WIchiFarm.sol makes the incorrect assumption that IchiVaultLP doesn't reduce allowance when using the transferFrom if allowance is set to type(uint256).max. Looking at a currently deployed [IchiVault](https://... | Sherlock | 5 | Blueberry |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Function name should contain `InitializeRoles` instead of `NewRoles`
### Description
The function `createNewStrategiesAndNewRolesAndSetRoleHoldersAndSetRolePermissions` should be `createNewStrategiesAndInitializeRolesAndSetRoleHoldersAndSetRolePermissions` as it calls `initializeRoles(description);`.
Similar ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | false | false | ## Low: Infinite Loop in Subscription Retry Mechanism
### Description
In the [`Listen` function](https://github.com/Fantom-foundation/Bridge/blob/558465d3aba2ffae1a4436a2fc14c723b82926df/internal/rpc/chainlistener.go#L83) of `ChainWatcher`, when a subscription error occurs, it immediately attempts to resubscribe witho... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Accounting on Step Revocation Enables Unauthorized Withdrawals in Partial Funding Mode
### Description
**Update**
Marked as "Fixed" by the client. Addressed in: `9ca1eb882b74e11e779a29f0c5bc0d48afe515c3`. The client provided the following explanation:
> We now track each step funding for mileston... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Magic Number Usage ✓ Fixed
### Description
In the `verifyAccountProof` function of the `LineaProofHelper` contract, there is a magic number, specifically the index `41`. A “magic number,” in computer programming, is a numeric literal in source code used without any explanation of its significance. This could 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 | other | false | false | ## Low: Inconsistent State Id Generation Due to Unreset `frozen_height`
### Description
**Update**
Marked as "Fixed" by the client. Addressed in: `ef4e9d46c7e73dd523b8b8a223089538f1c287e2`.
**File(s) affected:**`ibc/src/client_state.rs`
**Description:** When canonicalizing the `ClientState` to generate a consistent ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Consider removing redundant function `withdraw()` from PhiFactory.sol
### Description
The function `withdraw()` is not required since the protocol fees are currently sent to the `protocolFeeDestination` correctly. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Single-step Ownership Transfer Process
### Description
It was identified that the `OdosLimitOrderRouter` contract inherited from OpenZeppelin's `Ownable` library. Ownership of the contracts that are inherited from the `Ownable` module can be lost, as the ownership is transferred in a single-step process. The 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 | true | false | ## Low: State inconsistency due to solana rollback
### Description
One function in the protocol is vulnerable to state inconsistencies in the event of a Solana rollback:
1. **Setting Config Parameters**:
- Global configuration parameters could become outdated during a Solana rollback
- Protocol could operate with... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Attackers can prevent a user from opening a vault
### Description
`app-vault` prevents users from adding a vault if its current balance is positive. This can be abused by an attacker to prevent a user from opening a vault. To prevent attackers from calling the clear state program and re-opening a vault without... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TRST-H-3 Wrong accounting of user's holdings allows theft of reward
### Description
**Description:**
In `deposit()`, `withdraw()` and `withdrawProfit()`, `rewarder.onReward()` is called for reward
bookkeeping. It will transfer previous eligible rewards and update the current amount user
has:
In `withdraw(... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unwrapping while equating inside the `eq` function fails to account for the set `L_MATISSA_FLAG`
### Description
The [`Float128::eq`](https://github.com/code-423n4/2025-04-forte/blob/4d6694f68e80543885da78666e38c0dc7052d992/src/Float128.sol# L1070) function is designed to return a boolean if the given two pac... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Setting a new WithdrawalManager locks funds in old one
### Description
The WithdrawalManager only accepts calls from a PoolManager. When setting a new withdrawal manager with `PoolManager.setWithdrawalManager`, the old one cannot be accessed anymore. Any user shares locked for withdrawal in the old one are stu... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users cannot stop loss in AutoRange and AutoExit
### Description
### Impact
- Users cannot stop loss in AutoRange and AutoExit, resulting in huge loss.
- Users cannot withdraw their tokens and cut loss even when they choose no swap option.
### Proof of Concept
Contract `AutoRange` and `AutoExit` both inh... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Any Safe can emit changedSigners events on behalf of other DAOs
### Description
The `emitSignerChanged()` function in `ERC20DAO` and `ERC721DAO` allows the Safe wallet to emit events on behalf of any other DAO, just by passing a different `_dao` value. This can be used by an adversary to mess up the indexed va... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | gas | overflow | true | false | ## Gas: `++i`/`i++` should be `unchecked{++i}`/`unchecked{i++}` when it is not possible for them to overflow, as is the case when used in `for`- and `while`-loops
### Description
`++i`/`i++` should be `unchecked{++i}`/`unchecked{i++}` when it is not possible for them to overflow, as is the case when used in `for`- 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 | high | overflow | true | false | ## High: Prover can cheat in `felt_to_bytes_little` due to value underflow
### Description
First, note the following loop:
```
body:
let range_check_ptr = [ap - 3];
let value = [ap - 2];
let bytes_len = [ap - 1];
let bytes = cast([fp - 4], felt*);
let output = bytes + bytes_len;
let base = 2 ** 8;
let... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [4] State variables should be cached in stack variables rather than re-reading them from storage
### Description
The instances below point to the second+ access of a state variable within a function. Caching of a state variable replace each Gwarmaccess (**100 gas**) with a much cheaper stack read. Other less 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 | initialization | false | false | ## Low: Lack of flexible account sizing and data reallocation for future upgrades
### Description
**Description**
The protocol currently uses hardcoded account sizes without proper checks to ensure accounts have sufficient space for future updates. It also does not handle potential account data reallocation, which So... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | reentrancy | true | false | ## Medium: Reenterancy in `_sendSherRewardsToOwner()`
### Description
_Submitted by kirk-baird_
This is a reentrancy vulnerability that would allow the attacker to drain the entire SHER balance of the contract.
Note: this attack requires gaining control of execution `sher.transfer()` which will depend on the impleme... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | signature | true | false | ## Low: Unused errors
### Description
In the library [`Common`](https://github.com/YieldFiLabs/contracts/blob/40caad6c60625d750cc5c3a5a7df92b96a93a2fb/contracts/libs/Common.sol#L5-L6) there are two unused errors:
```solidity
error SignatureVerificationFailed();
error BadSignature();
```
Consider removing these. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: AuctionCrowdfund: If the contract was bid on before the NFT was gifted to the contract, lastBid will not be totalContributions
### Description
_Submitted by cccz_
In the finalize function of the AuctionCrowdfund contract, when the contract gets NFT and lastBid\_ == 0, it is considered that NFT is gifted to... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | other | true | false | ## High: Top level assertion timer not included in honest path timer calculation
### Description
Whenever the cumulative unrivaled timer of all honest edges is calculated, the validator does not account for the unrivaled timer of the honest top-level assertion. The validator periodically updates the cumulative unrival... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of storage gap in SDLPool.sol can lead to upgrade storage slot collision.
### Description
`SDLPool.sol` is an upgradable contract with storage variables and it has child contracts `SDLPoolPrimary.sol` and `SDLPoolSecondary.sol` but does not have storage gaps implemented.
see storage gaps here: https://d... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: Lacking Support for Deflationary Tokens
### Description
**Update**
Marked as "Acknowledged" by the client. Addressed in: `5ea182c7444ddde66f9d1cea457864fb4ef0813c`. The client provided the following explanation:
> added documentation to acknowledge, staking will be used for our BREED token which is neither 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 | medium | cross-chain | false | false | ## Medium: Missing/Limited Test Suite
### Description
**Update**
Marked as "Acknowledged" by the client. The client provided the following explanation:
> We will improve on it gradually.
**Description:** Although a test suite in the repository exists, it is from the original Optimism repository. The Mantle team stat... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unchecked low-level calls
### Description
_Submitted by 0v3rf10w, also found by Reigada_
#### Impact
Unchecked low-level calls
#### Proof of Concept
Unchecked cases at 2 places :-
`BasicSale.receive()` (2021-11-bootfinance/tge/contracts/PublicSale.sol#148-156) ignores return value by `burnAddress.call{v... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 strategist can bypass the slippage protection
### Description
When hooks are executed in `executeHooks`, this parameter serves as slippage protection:
```solidity
bool usePrevHookAmount = _decodeHookUsePrevHookAmount(hook, hookCalldata);
if (usePrevHookAmount && prevHook != address(0)) {
vars.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 | medium | oracle | true | false | ## Medium: spTKNMinimalOracle uses DIA oracle which only supports /USD pairs, which incorrectly assumes all stablecoins are priced at 1 USD.
### Description
spTKNMinimalOracle uses DIA oracle which only supports /USD pairs, which incorrectly assumes all stablecoins are priced at 1 USD.
### Impact
Oracle will return 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 | oracle | false | false | ## Medium: chainlinkAdaptor uses the same heartbeat for both feeds which is highly dangerous
### Description
chainlinkAdaptor uses the same heartbeat for both feeds when checking if the data feed is fresh. The issue with this is that the [USDC/USD](https://data.chain.link/ethereum/mainnet/stablecoins/usdc-usd) oracle ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Admin can close loan without restriction
### Description
## On-Chain Contract Vulnerability
The on-chain contract performs no checks restricting the usage of `closeLoan` by the admin account. This lets the admin close the loan account for active loans, which would prevent the proper repayment or liquidation 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 | medium | other | false | false | ## Medium: Incorrect operator used in `deploySynth()` of `Pools.sol`
### Description
The `deploySynth()` function in `Pools.sol` is expected to perform a check on the token parameter to determine that it is neither VADER or USDV before calling Factory’s `deploySynth()` function.
However, the `require()` incorrectly 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... | cyfrin_structured | low | access-control | true | false | ## Low: Redundant ownership guard on `BalancerValidatorManager::migrateFromV1`
### Description
`BalancerValidatorManager::migrateFromV1` restricts access to the owner, yet the wrapped `ValidatorManager::migrateFromV1` is intentionally permissionless. Calling through the balancer adds no real protection and may mislead... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Epoch mismatch in FjordPoints and FjordStaking leads to user being able to stake and unstake instantly for rewards
### Description
In FjordStaking and FjordPoints, the epoch times are calculated based on when the constructor is initialized(when the contracts are deployed). This leads to a mismatch in epoch ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `callContract` proposals are created with no `description`
### Description
### Impact
`callContract` proposals will be created with no `description`. The `Proposal` contract will be bricked, as it can't be fixed on-chain. Off-chain tools and integrations will have to create special code to lead with this erro... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Avoid unnecessary storage updates
### Description
Avoid updating storage when the value hasn't changed. If the old value is equal to the new value, not re-storing the value will avoid a `SSTORE` operation (costing 2900 gas), potentially at the expense of a `SLOAD` operation (2100 gas) or a `WARMACCESS` operati... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | cyfrin_structured | low | initialization | true | false | ## Low: In Solidity don't initialize to default values
### Description
In Solidity don't initialize to default values:
```solidity
multicall/IssuerMulticall.sol
31: for (uint256 i = 0; i < data.length; i++) {
service/ServiceConsumer.sol
38: uint8 public constant ROLE_NONE = 0;
compliance/ComplianceConfigur... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiple centralization attack vectors are present in the protocol
### Description
**Impact:**
High, as it can result in a rug from the protocol owner
**Likelihood:**
Low, as it requires a compromised or a malicious owner
**Description**
The protocol owner has privileges to control the funds in 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 | low | other | true | false | ## Low: Redundant check for zero address in the mintTo() function
### Description
The check is redundant as the check on the next line at https://github.com/metaxu-art/fantium-smart-contracts/blob/cb2d97bc30c40321991fe5ab8fc798babba1610f/contracts/FantiumNFTV1.sol#L208
```
require(fantiumMinterAddress != 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 | low | initialization | false | false | ## Low: Use Ownable-Two-Step Pattern for Administrator Contract
### Description
The contract currently uses an immutable [`administrator`](https://github.com/longgammalabs/hanji-contracts/blob/09b6188e028650b9c1758010846080c5f8c80f8e/src/OnchainLOB.sol#L84) address initialized through the `Governance` contract. Howeve... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Claimers Cannot Claim Prizes When Last Tier Liquidity is 0, Preventing Winners from Receiving Their Prizes
### Description
- The `Claimer` contract's `claimPrizes` function can revert when the prize for the tier `(numberOfTiers - 3)` is 0. This prevents all winners in this draw from receiving their prizes ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The Solidity version should be updated.
### Description
**Description**
Best practices for Solidity development and auditors standard checklist requires strict and
explicit usage of the latest stable version of Solidity, which is 0.8.11 at the moment.
**Recommendation**:
Consider updating to “pragma solidit... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | oracle-manipulation | true | false | ## Low: `RedStoneNavProvider::rate` will return massively inflated value if underlying oracle returns a negative value and lacks common oracle validations
### Description
`RedStoneNavProvider::rate` has an underlying oracle price feed which returns an `int256`, then performs an unsafe cast to `uint256`:
```solidity
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 | medium | dos | false | false | ## Medium: Signatures missing some parameters being vulnerable to attackers using them coupled with malicious parameters
### Description
[`createAgentWithSigWithNFT()`](https://github.com/sherlock-audit/2025-03-crestal-network/blob/main/crestal-omni-contracts/src/BlueprintCore.sol#L566) for example signs `projectId, 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 | medium | initialization | true | false | ## Medium: Impossible to change managed wallets with `proposeWallets` after first rejection
### Description
The `receive` function in `ManagedWallet` fails to reset the `proposedMainWallet` address to the zero address (`address(0)`) when the confirmation wallet rejects the wallet change:
This omission renders it 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 | high | token | false | false | ## High: Malicious users can honeypot other users by transferring out ERC20 and ERC721 tokens right before sale
### Description
Since the club and escrow are separate and tokens can be transferred at any time by the owner, it allows malicious users to honeypot victims.
### Impact
Malicious users can honeypot other us... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | oracle | false | false | ## Low: Switch tellor 's integration using UsingTellor.sol such as the official documentation
### Description
The implemented integration of Tellor's oracle is not the same as the one in the official documentation.
### Recommendation
Consider switching the current integration for the one recommended in the official gui... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: RACE CONDITION ON SIGNED MESSAGE
### Description
The `SignMessage` exported function allowed an attacker to abuse the function and trigger a race condition state. The function did not control the function execution, allowing to execute multiple calls to the same function in a short period of time. This situat... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | storage | true | false | ## Low: Potential function clashes
### Description
The [`TransparentUpgradeableConfiguratorProxy`](https://github.com/compound-finance/comet/blob/0f1221967149115f50a09681eea9580879ee7720/contracts/TransparentUpgradeableConfiguratorProxy.sol) overrides the [`_beforeCallback`](https://github.com/compound-finance/comet/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 | reentrancy | false | false | ## Low: Read-only reentrancy on `withdraw()` and `deposit()`
### Description
In BunniHub contract during withdrawal and deposit, the logic code makes a lot of external calls to vaults and tokens while the state of the contract is incorrect for that specific pool. Most of the functions of the BunniHub have reentrancy p... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | cross-chain | true | false | ## Low: SendETH() allows sending ETH to invalid chain IDs
### Description
The `sendETH()` function in SuperchainWETH allows users to specify any chain ID as the destination without validation. If a user provides an invalid chain ID, either by mistake or intentionally, the ETH amount will effectively be burned as there... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User can redirect fees by using a proxy contract
### Description
### Impact
For any given tx, the fees are sent to its recipient (`To`). Anybody can register an address using the Turnstile contract. Thus, a user is able to create a proxy contract with which they execute other smart contracts. That way, 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 | token | false | false | ## Low: BribeVault: Use `safeTransfer` for tokens
### Description
Some ERC20 tokens like ZRX don’t revert if the transfer fails. Since the `SafeERC20` has already been imported and the `safeTransferFrom` method used, the same should be done for token transfers. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TokemakBribe: Sync rounds with Tokemak’s manager instead of manually setting rounds via `setRound()`
### Description
Instead of manually setting rounds, consider fetching the round number directly from Tokemak’s manager contract via `[manager.currentCycleIndex()](https://etherscan.io/address/0xa86e412109f77c45... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Chainlink `basePrice` can be non-positive
### Description
**Severity**: Low
**Status**: Resolved
**Description**
In Contract Oracle.sol, the method `getPriceFromChainlink(...)` fetches assets prices from chainlink as follows:
Here `basePrice` is of type int256 meaning it can be a negative value as well. 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... | solodit_api | high | other | true | true | Source: https://github.com/sherlock-audit/2023-02-union-judging/issues/41
## Found by
hyh, seyni
## Summary
_cancelVouchInternal() doesn't update `voucherIndices` array and incorrectly updates `vouchees` array (using `voucherIndexes` for `vouchees`, which are unrelated index-wise), messing up the vouchers accounti... | Sherlock | 5 | Union Finance Update |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Polynomial evaluations are never observed by recursive verifier
### Description
Incorrect fiat-shamir observations in the recursive verifier allow a malicious prover to forge a proof
### Impact
Soundness of the recursive verifier is completely bypassed
### Recommendation
Observe each of the evaluations into... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: New BAKC Owner Can Steal ApeCoin
### Description
### Background
This section provides a context of the pre-requisite concepts that a reader needs to fully understand the issue.
#### Split Pair Edge Case In Paired Pool
Assume that Jimmy is the owner of BAYC `#8888` and BAKC `#9999` NFTs initially. He part... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: Use `payable.call` instead of `payable.send`
### Description
In `RivusCOMAI.sol`, `payable.send` is used when sending the serviceFee to the withdrawalManager.
Any smart contract that uses send() is taking a hard dependency on gas costs by forwarding a fixed amount of gas: 2300. If gas costs are subject to ch... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Accessor has too much rights.
### Description
**Description**
VaultLib.sol: approveAssetSpender(), withdrawAssetTo(), swapAndWithdrawAssetTo(),
mintShares(), burnShares(),
transferShares().
Accessor is able to grant allowance to any address, withdraw assets to any address, swap
assets to any address, etc.
Alt... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Add an auction resolution event
### Description
The`resolveAuction()` method at https://github.com/clearpool-finance/permissionless-protocol/blob/f1f38c5ba83e2c3a68155042229b04678d9425ce/contracts/Auction.sol#L139 doesn't emit an event about the auction resolution result.
### Recommendation
Add an event to 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 | liquidation | true | false | ## High: OptimisticListingSeaport.propose sets pendingBalances of newly added proposer instead of previous one
### Description
In `OptimisticListingSeaport.propose`, `pendingBalances` is set to the collateral. The purpose of this is that the proposer of a previous proposal can withdraw his collateral afterwards. Howev... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Variable inconsistency
### Description
**Severity**: Informational
**Status**: Partially Resolved
Water.sol - In functon `deposit()` , developer referred to the caller of the transaction as msg.sender , also they used _msgSender() (i.e. which returns msg.sender). This has no effect in logic of smart 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 | low | other | false | false | ## Low: Redudant inheritance of `Authorizable` in `BaseAdapter`
### Description
The `BaseAdapter` contract is currently inheriting from the `Authorizable` contract. However, the functionalities of `Authorizable` are not being utilized in any part of the `BaseAdapter` implementation. This inheritance appears to be redu... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `+=` and `-=` cost more gas
### Description
`+=` and `-=` generally cost 22 more gas than writing out the assigned equation explicitly. The amount of gas wasted can be quite sizable when repeatedly operated in a loop.
For instance, the `+=` instance below may be refactored as follows:
https://github.com/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... | skyward_49k | high | rounding | false | false | ## High: Rounding direction in token rates leads to inconsistent price between addLiquidity and removeLiquidity
### Description
Severity: High Risk
Context: Vault.sol#L784
Description: The Vault rounds balance up in addLiquidity rounds balance down in removeLiquidity . This in
most cases favors the protocol. However, ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | storage | true | false | ## Low: Leaving transient storage slots with nonzero values
### Description
The Security considerations from the EIP-1153 standard do not recommend leaving nonzero values in transient storage slots (https://eips.ethereum.org/EIPS/eip-1153#security-considerations). | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: | Chainlink Feed Validation
### Description
**Description**
Extra validation checks should be added on the result from the Chainlink price feed to ensure non-stale data. The price from the data feed influences the execution of orders and liquidations so it is imperative the data is up to date and correct. ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [17] Inaccurate year calculation has been set in as AMM constants
### Description
> NB: Similar issue also exists in the Position’s manager scope.
[/contracts/farm-manager/src/position/helpers.rs# L15-L17](https://github.com/code-423n4/2024-11-mantra-dex/blob/26714ea59dab7ecfafca9db1138d60adcf513588/contracts... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | true | false | ## Low: Emitting incorrect event parameters
### Description
The `Lender::refinance()` emits incorrect event parameters.
### Impact
The incorrect event logs may cause off-chain services to malfunction. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unreachable code in `getCTokenBalanceInternal`
### Description
Affecting variable `accountTokens[account]` always makes `isCollateralTokenInit[account]` true, so `accountCollateralTokens[account]` will be returned. Otherwise balance is 0
https://github.com/CreamFi/compound-protocol/blob/23a4ae93adc70334553f5a8... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | true | false | ## High: ETH withdrawals from EigenLayer always fail due to `OperatorDelegator`'s nonReentrant `receive()`
### Description
### Vulnerability details
The [`OperatorDelegator.completeQueuedWithdrawal()`](https://github.com/code-423n4/2024-04-renzo/blob/519e518f2d8dec9acf6482b84a181e403070d22d/contracts/Delegation/Opera... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Tokens Can Get Stuck on the `RestrictedTokenAllocation` Contract
### Description
The issue has been identified within the `RestrictedTokenAllocation` contract. If the unlock rate is reset to zero (which is a [permissible behaviour](https://github.com/MetaLex-Tech/MetaVesT/blob/b614405e60bce8b852e46d06c03fd47b... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wallet’s password not cleared from a dialog box
### Description
The wallet password is not cleared from the Send Confirmation dialog box after the box is closed (with Confirm button or X button). It’s likely cached in SendConfirmationModal local state.
![Figure 11.1: “Send Confirmation” dialog with cached pa... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: EXPIRED TOKENS ARE NOT CONSIDERED IN THE VOTING POWER
### Description
During the code review, It has been observed that expired tokens are not included in the voting power. Although the expired tokens are not used in the contract depends on the protocol behavior that can directly affect voting. The voting p... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | true | false | ## Low: Staking Router redundant module ID checks
### Description
**Severity:** Low
**Path:** StakingRouter.sol:getStakingModuleIsStopped, getStakingModuleIsDepositsPaused, getStakingModuleIsActive (L781-786, L788-793, L795-800)
**Description:**
The modifier `validStakingModuleId` checks whether the `_stakingModule... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [01] Withdrawer granted DEFAULT_ADMIN_ROLE
### Description
https://github.com/code-423n4/2024-06-krystal-defi/blob/main/src/Common.sol#L119
According to the Krystal docs:
https://docs.krystal.app/technical-docs/security#access-control
> Withdrawers cannot touch any of the LP positions
However, during the 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 | signature | false | false | ## Medium: `ECDSA` Library Vulnerable to Signature Malleability
### Description
**Update**
The team updated the Openzeppelin versions in the following commits: `ffed20b` and `1382573`.
**File(s) affected:**`PMXBonusNFT.sol`, `ReferralProgram.sol`, `WhiteBlackListReferral.sol`
**Description:** The protocol currently ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: Potential deadlock due to empty pool type
### Description
The `VotingRegistry` contract's `setNewImplementations` function allows for the setting of new implementations for given pool types without validating that the provided `poolType_` strings are non-empty. This lack of validation poses a risk of creating ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: makecommitmentv2 payment pattern can be exploited to steal user 's funds
### Description
The `makeCommitmentV2` function does not handle ETH payments as it is done in `makeCommitment`. The ETH sent by the user is not converted into WETH, preventing ETH payments from being executed directly through this functi... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | true | false | ## Low: `override` function arguments that are unused should have the variable name removed or commented out to avoid compiler warnings
### Description
*There is 1 instance 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 | token | false | false | ## Medium: Borrower/Lender excessive ETH not refunded and permanently locked in protocol
### Description
### Impact
The protocol does not refund overpayment of ETH. Excessive ETH is not included in the protocols accounting. As a result, the funds are permanently locked in the protocol **(Loss of funds)**.
There 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 | other | false | false | ## Low: Misleading Documentation
### Description
Here are some suggestions for improving the clarity and accuracy of the documentation:
* The [claim](https://era.zksync.io/docs/dev/building-on-zksync/contracts/contract-development.html#unsupported-functions) that `creationCode` is not supported should instead say 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 | oracle | true | false | ## Low: [32] Constants should be put on the left side of comparisons
### Description
Putting constants on the left side of comparison statements is a best practice known as [Yoda conditions](https://en.wikipedia.org/wiki/Yoda_conditions).
Although solidity's static typing system prevents accidental assignments within ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Call to `azuroBet.mint()` can reenter
### Description
The `mint` function in `azuroBet` does an external call to check if the recipient is a smart contract that can handle such tokens. This call is unsafe, as the recipient can be malicious and do a reentrancy call. Consider adding a `nonReentrant` modifier to ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: Add more testing for Compound strategy and LIDO strategy
### Description
Currently, only the ERC4626 strategy is tested. The integration tests for the Compound and LIDO strategies are missing.
### Recommendation
Add end-to-end testing for Compound strategy and LIDO strategy. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use of send
### Description
Use of `send` is always risky and should be analyzed in detail. Three occurrences found in [line 150](https://github.com/ether-camp/virtual-accelerator/blob/6d4097a08669c2520e0d5bab317b60f1d13df44e/contracts/DSTContract.sol#L150), [line 495](https://github.com/ether-camp/virtual-... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wide pragma statement spreads across multiple EVM versions
### Description
Solc compiler `version 0.8.20` switches the default target EVM version to Shanghai. The generated bytecode will include **PUSH0** opcodes. The recently released Solc compiler `version 0.8.25` [switches the default target EVM version to ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | rounding | true | false | ## Low: [02] `Payable` functions without `withdraw` mechanism
### Description
The AggregateRouter, V3Migrator, and NonfungiblePositionManager contracts all include `payable` functions that allow them to receive ETH. However, these contracts do not implement a dedicated `withdraw` function that would allow for the 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 | access-control | true | false | ## High: Missing checks cause DoS & consistent failed redemptions in IntentTokenMinting
### Description
During the analysis of the `IntentTokenMinting.sol` contract, it was observed that external calls to the `QuotaController.sol` contracts are performed in the execution flow of both `submit` and `redeem` functions. T... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.