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
token
false
false
## Low: Unknown Usage of State Variable ### Description **Severity**: Informational **Status**: Resolved **Description** In the contract GenericERC20Token.sol the state variable uint[] Extra is not used within the contract itself. As the use case for this is unknown, it would be beneficial to understand what the i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: [01] Missing Checks for Address(0x0) ### Description Lack of zero-address validation on address parameters may lead to transaction reverts, waste gas, require resubmission of transactions and may even force contract redeployments in certain cases within the protocol. ### Recommended Mitigation Steps Consider...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: In `ZipperFactoryVault:changeVault` does not clean `vaultToToken` ### Description In `ZipperFactoryVault:createVault`, two mapping values, `tokenToVault` and `vaultToToken`, are assigned. The issue arises when a changer updates these values later using a new vault address. However, the data for the `oldVault` ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: JBToken: mint function could mint arbitrary amount of tokens ### Description _Submitted by cccz_ The owner of the JBToken contract can mint arbitrary amount of tokens. In general, the owner of the JBToken contract is the JBTokenStore contract, and the minting of the tokens is controlled by the JBControlle...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
token
true
false
## Low: Use custom errors instead of revert error strings ### Description Using custom errors instead of revert error strings to reduce deployment and runtime cost: ```solidity File: Portico.sol 64: require(token.approve(spender, 0), "approval reset failed"); 67: require(token.approve(spender, 2 ** 25...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
true
false
## High: Overpayment of native ETH is not refunded to buyer ### Description _Submitted by horsefacts, also found by 0x29A, antonttc, berndartmueller, byterocket, cccz, codexploder, dipp, GimelSec, GreyArt, Lambda, oyc_109, Ruhum, and unforgiven_ ### Vulnerability Details `InfinityExchange` accepts payments in nativ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Reward Accumulation During Inactive Time Period ### Description ## Vulnerability in Reward Calculations for Liquidity Positions There is a vulnerability in how reward calculations are handled for liquidity positions after a reward distribution has ended and then restarts. There is no way to correctly resta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Disallow changing cloud guardian during recovery ### Description An account can change its cloud guardian address by calling the `updateGuardian()` function on the `CloudRecoveryModule`. The comments of this function state that *"Recovery must not be in progress for the account"*, but this is currently not ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
storage
true
false
## High: Use the getStorage() /NAMESPACE pattern instead of global variables ### Description The facet `DexManagerFacet` and the inherited contracts `Swapper.sol` / `SwapperV2.sol` define a global variable `appStorage` on the first storage slot. These two overlap, which in this case is intentional. However, it is dang...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Underflow of `lpPosition.points` during withdrawLP causes huge reward minting ### Description NeoTokyoStaking allows to stake and withdraw LPs. User can stake multiple times on same position which simply results in extended lock time and user can withdraw all of these LPs once lock time is passed. There is a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Bond tokens (HLG) can get permanently stuck in operator ### Description [HolographOperator.sol#L374-L382](https://github.com/code-423n4/2022-10-holograph/blob/f8c2eae866280a1acfdc8a8352401ed031be1373/contracts/HolographOperator.sol#L374-L382) [HolographOperator.sol#L849-L857](https://github.com/code-423n4/2...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Implement 7-Day User Exit Window for Non-Emergency Upgrades ### Description The LayerN Rollman system currently lacks a guaranteed minimum exit period for users in the event of system upgrades or significant changes. To enhance user protection and align with best practices, we need to implement a mechanism tha...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Incorrect Swap Amount in buySheep Function ### Description In the `SheepDog` contract's `buySheep` function, the swap operation uses an incorrect token amount, leading to a guaranteed revert every time this function is called. The function calculates `balGasToken` as the total `wGasToken` balance of the contr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
false
false
## Low: Consider using OpenZeppelin’s SafeCast library to prevent unexpected overflows when casting from various type int/uint values ### Description FILE : 2023-03-canto-identity/canto-bio-protocol/src/Bio.sol 77: uint8(bioTextBytes[i + 4]) >= 187 && 78: uint8(bioTextBytes[i + 4]) <= 191) || [](https://github.c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: On transaction hooks aren’t controlled by the lender ### Description Contrary to the docs [which state](https://github.com/code-423n4/2024-01-renft/blob/main/docs/hooks.md#:~:text=When%20signing%20a%20rental%20order%2C%20the%20lender%20can%20decide%20to%20include%20an%20array%20of%20Hook%20structs%20along%20wi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
false
false
## Low: Remove `from` parameter from `Minter:redeem` and `_onlySender` function ### Description `Minter:redeem` takes a `from` input parameter but then calls `_onlySender` to enforce that `from == msg.sender`. In this case there is no need for the `from` input parameter for the `_onlySender` function; remove them bot...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: Uninitialized `RocketJoeStaking.lastRewardTimestamp` can inflate `rJoe` supply ### Description _Submitted by cmichel_ The `RocketJoeStaking.lastRewardTimestamp` is initialized to zero. Usually, this does not matter as `updatePool` is called before the first deposit and when `joeSupply = joe.balanceOf(addre...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Contract Name Reused in Different Files ### Description The name `Address` and `ReentrancyGuardProxy` is used more than once to declare a library or contract inside the project. Specifically: * `Address` inside `contracts/library/Address.sol` * `Address` inside `contracts/utils/Address.sol` * `ReentrancyGuard...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 input validation for _rewardProportion parameter allows keeper to escalate his privileges and pay back all loans ### Description According to the Contest page and discussion with the sponsor, the role of a `keeper` is to perform liquidations and to swap yield token for `TAU` using the `SwapHandler.swa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: `MsgCreate2` deviates from EVM spec causing a large range of address not reachable ### Description ### Proof of Concept Based on [EIP-1014](https://eips.ethereum.org/EIPS/eip-1014# specification), salt used in `create2` is always 32 bytes. The issue is `MsgCreate2` defines salt as `uin64`. This means a la...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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()` should be used instead of `transfer()` on address payable ### Description **Description:** The `transfer()` and `send()` functions forward a fixed amount of 2300 gas. Historically, it has often been recommended to use these functions for value transfers to guard against reentrancy attacks. However, th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: Lack of two-step process for contract ownership changes ### Description The owner of a LooksRare protocol contract can be changed by calling the `transferOwnership` function in OpenZeppelin’s Ownable contract. This function internally calls the `_transferOwnership` function, which immediately sets the 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
other
true
false
## Low: Fee on transfer token support ### Description It seems that only the `addLiquidity` function is currently supporting the fee on transfer token. All operations like swapping are prohibiting the fee on transfer token. **Note:** The `SwapUtilsExternal.sol` contract allows fee on transfer token and as per produc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Contract does not follow the Solidity style guide's suggested layout ordering ### Description The [style guide](https://docs.soliditylang.org/en/v0.8.16/style-guide.html#order-of-layout) says that, within a contract, the ordering should be 1) Type declarations, 2) State variables, 3) Events, 4) Modifiers, and ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
false
false
## Low: SafeMath library is not used ### Description **Update:** *Fixed in [pull request #54](https://github.com/endaoment/endaoment-contracts/pull/54).* In the code base, the `SafeMath` contract library is declared to be used against `uint256` variables in the [`Fund`](https://github.com/endaoment/endaoment-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
other
false
false
## Low: Centralisation Risks ### Description **Severity** - Low **Status** - Acknowledged **Description** Currently, the total supply of the tokens is minted to the owner of the contract, and the distribution of tokens is controlled by the owner in KBT.sol (100000000 tokens) Make sure the owner is a multisig accoun...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The `startSqrtPriceX96` manipulation ### Description The starting price [`startSqrtPriceX96`](https://github.com/DivergenceProtocol/diver-contracts/blob/e5286f94a7ccb9d6279fae51ea66a8833672628a/src/core/Battle.sol#L102) is an arbitrary, user-defined value. For the given battle key, an attacker can specify the...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Code quality ### Description **Severity**: Informational **Status**: Acknowledged **Description** The code quality of the project is bad. The code is not well structured and the code is not well commented. Functions are overly complex and the code is not modular. The code itself is very hard to read, not se...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
true
false
## High: Missing check of return value of transfer and transferFrom ### Description Some tokens, such as BAT, do not precisely follow the ERC20 specification and will return false or fail silently instead of reverting. Because the codebase does not consistently use OpenZeppelin’s SafeERC20 library, the return values 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...
cyfrin_structured
low
other
true
false
## Low: Unused constants can be removed ### Description `LibDoubleGeometricDistribution` and `LibCarpetedDoubleGeometricDistribution` both define the following constant: ```solidity uint256 internal constant MIN_LIQUIDITY_DENSITY = Q96 / 1e3; ``` However, both instances are unused and can be removed as they appear 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
dos
true
false
## Low: Pool initialization can be permanently blocked by weaponising 48-bit hash collisions ### Description The function `SFPM::initializeAMMPool` has a while loop that checks potential IDs for a new Panoptic pool and stops when an unused ID has been found: ```cpp uint64 poolId = PanopticMath.getPoolId(idV4, key.tic...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Low: (HAL-03) Potential reentrancy ### Description In the `PotPool` contract, `pushAllRewards(address recipient)` calls `updateRewards(recipient)` and transfers rewards to `recipient`. Unlike `getAllRewards` or `withdraw`, `pushAllRewards` does **not** have the `nonReentrant` or `defense` modifiers. Although it is ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
true
false
## Low: `PriceStorage::setPrice` maximum lower and upper bounds can be easily bypassed by repeatedly calling the function in the same block ### Description `PriceStorage::setPrice` limits the price movement to a maximum lower/upper range delta based on the current price, to prevent sudden extreme changes in price: ```...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: Unsafe ABI Encoding ### Description It is not an uncommon practice to use `abi.encodeWithSignature` or `abi.encodeWithSelector` to generate calldata for a low\-level call. However, the first option is not typo\-safe and the second option is not type\-safe. The result is that both of these methods are error\-pr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Operator Has Full Control Over Mint vs. Reimburse - Relying Entirely on Ratio Bounds ### Description The `processDeposit()` function allows the operator to manually input both `amountMinted` and `amountReimbursed` for a deposit. While ratio bounds (`minRatio` and `maxRatio`) are enforced, the contract does not...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
signature
false
false
## High: Malicious orders can create and execute new orders ### Description A malicious order execution can create new orders and execute them by adding the multisignature wallet as a signer and sending messages to the multisignature wallet contract to create a new order and execute it. Orders contain a dictionary of...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
false
false
## Medium: Malicious peer can cause a syncing node to panic during blocksync ### Description The system uses a vulnerable CometBFT version. An attacker can abuse this to cause a panic during blocksync. ### Impact The vulnerability allows an attacker to DoS the network by causing panics in all nodes during blocksync. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Contract incompatibility with non-standard ERC20 tokens like USDT ### Description The ULTI contract uses `IERC20.approve` and `IERC20.transferFrom` to interact with input tokens. However, there are some tokens that don’t follow the IERC20 interface, such as USDT. This could lead to transaction reverts when dep...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
token
false
false
## Low: Consider reverting in `RebasingLibrary` functions if rounding down to zero occurs ### Description `RebasingLibrary` has two functions `convertTokensToShares` and `convertSharesToTokens`. If rounding down to zero occurs such that the input is non-zero but the output is zero, consider reverting as it makes littl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 events in `NodeOperatorRegistry` update methods ### Description **Description:** The following functions in `NodeOperatorRegistry` update multiple storage locations but don't emit any events: * `updateOperatorControllingAddress` * `updateOperatorRewardAddress` * `updateOperatorName` Consider emitting ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 a unified compiler version for all contracts ✓ Fixed ### Description Currently the smart contracts for the Gitcoin token and governance use different versions of Solidity compiler (`^0.5.16`, `0.6.12` , `0.5.17`). ### Recommendation Compiler versions updated to `0.6.12` in [gitcoinco/governance#2](https:/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The Minting Rules for the Token Naym Are Not Fully Documented ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: Minting NAYM will be done upon governance decision when it is beneficial to the existing token holders. **File(s) affected:**`naym-coi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: SynthVault withdraw forfeits rewards ### Description ## Handle cmichel ## Vulnerability details ## Vulnerability Details The `SynthVault.withdraw` function does not claim the user's rewards. It decreases the user's weight and therefore they are forfeiting their accumulated rewards. The `synthReward` vari...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Misleading Documentation for recipient Address Handling ### Description **Severity**: Low **Status**: Resolved **Description** The documentation for the `AdvancedOrderEngine` contract here specifies that if a user wants the recipient address to be the same as the maker address, they should set the recipient...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Undocumented “magic” number ### Description **Description** IgnitionCore.sol, 37. Variable status_boolean is initialized just once during the construction and is not changed anywhere. Consider declaring it as a constant in order to save gas. Also, the variable has “magic value” - undicumented hardcoded num...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
true
false
## Medium: Users Can Use Outdated Prices As Long As The Signature Expiry Has Not Passed ### Description Pool prices influence how much `aSugar` gets minted to stakers when they stake. For this to happen `aSugarSigner` will produce signatures for the staking token prices during each stake and full claim reward. The 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
liquidation
false
false
## Medium: COLLATERAL Token Is Not Part of The digest ### Description The COLLATERAL token is not part of the digest that the market maker signs. This means that if the vault is upgraded to a new implementation that allows the admin to change to another collateral token, a user can call the `mint()` function using a 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
high
other
true
false
## High: Admin of the index pool can withdrawCredit() after applyCover() to avoid taking loss for the compensation paid for a certain pool ### Description ## Handle WatchPug ## Vulnerability details In the current implementation, when an incident is reported for a certain pool, the index pool can still `withdrawCr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Transfer without enough token on contract balance. ### Description **Description** Leverager: loop() The function will revert with isBorrow parameter = true since it cannot transfer fee without any tokens on balance. Also it seems like it is charging funds twice: before the for() cycle and in it. **Recomm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 tokens with whitelist function ### Description At line: https://github.com/Gearbox-protocol/gearbox-contracts/blob/0ac33ba87212ce056ac6b6357ad74161d417158a/contracts/credit/CreditManager.sol#L584-L593 The Gearbox protocol is assumed to use some tokens which have whitelist function ( ex. USDC, USDT) lik...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No sanity check on large timestamp updates ### Description Even if Pyth updates are trusted, it would make sense to have some sanity check against errors and ensure that time progresses somewhat steadily. An erroneous timestamp update could cause significant damage since a bug that, for example, shifts a times...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Sandwich Attacks and Price Manipulation ### Description **Update** The team has also made the `swapTokensAtAmount` configurable as recommended. **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > The Reach team has stated that they plan to remove the fee 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
other
false
false
## Low: Lack of Two-Step Ownership Transfer ### Description **Severity**: Low **Status**: Resolved **Description** The SymbiosisMiddleware contracts does not implement a two-step process for transferring ownership. In its current state, ownership can be transferred in a single step, which can be risky as it 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
medium
front-running
false
false
## Medium: Assets Can Be Transferred After Auction Started ### Description It is possible to force the bidder to spend more cash than they anticipated through frontrunning. Accounts are not prevented from transferring assets after the auction has started. This can result in the account being liquidated to frontrun a b...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
true
false
## High: Vault max redeem calculations limit redeem amount to the smallest position size in underlying markets which can lead to very small max redeem amount even with huge TVL vault ### Description When redeeming from the vault, maximum amount allowed to be redeemed is limited by current opened position in each under...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: didTransferShares function has no access control modifier ✓ Fixed ### Description The staked tokens (shares) in Forta are meant to be transferable. Similarly, the rewards allocation for these shares for delegated staking is meant to be transferable as well. This allocation for the shares' owner is tracked in ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: [04] Inconsistent zero address validation in token transfers ### Description The `ERC20MetaTxUpgradeable::transferWithAuthorization()` and `ERC20AdminUpgradeable::forceTransfer()` functions bypasses zero address validation checks by directly calling `ERC20Upgradeable::_update()` instead of using `ERC20Upgradea...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: redeemDueInterestAndRewards does not validate output tokens ### Description The Pendle compliance validator exposes the `redeemDueInterestAndRewards` function, which harvests accrued interest and rewards from the user’s liquidity provider (LP) position and yield token (YT) position. As shown in Figure 8.1, 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
initialization
true
false
## Medium: 1] All users can benefit from a discounted fee instead of the regular fee when performing a swap ### Description **Severity:** Medium **Path:** contracts/ZealousSwapPair.sol#L285-L311 **Description:** The function `ZealousSwapPair.swap()` facilitates token swaps and takes an input parameter `actualUser`,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unauthorized Access to proposeUpdateTransmitters Function ### Description The `MSCProposeHelper` contract has a vulnerability in the `proposeUpdateTransmitters` function that allows unauthorized access to update the transmitters for a specified protocol on a specified chain. The function is marked as `externa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Clarify reserve variable descriptions ### Description It is unclear what each variable consists of, because there is: * Supplied liquidity (SL) from liquidity providers * Available liquidity: SL + net deposits and withdrawals from bridging activity * Incentive fees * Gas fees * LP fees (accumulated equil...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent reference to pToken ### Description The `BaseCurveStrategy` has two mechanisms to refer to the 3CRV token: [the generic mapping](https://github.com/OriginProtocol/origin-dollar/blob/bfe0ac8e5d7c05b9bf1021fafb25e0aed8a6ed45/contracts/contracts/utils/InitializableAbstractStrategy.sol#L40) it inherit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Consider implementing explicit rounding behaviour instead of default round down ### Description **Description:** All functions in `ShareMath.sol` round down to the nearest integer currently. This can be unfavourable in certain instances for the SherpaVault. For example, the `ShareMath.pricePerShare` function ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unused Constants, Errors, and Events in `TellerWithMultiAssetSupport` ### Description Several constants, errors, and events defined in the [TellerWithMultiAssetSupport](https://github.com/Se7en-Seas/cMETH-boring-vault/blob/d6e2d18f45a3e05d749d34966139fc85fc47f7e6/src/base/Roles/TellerWithMultiAssetSupport.sol)...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
initialization
false
false
## Gas: Using `calldata` instead of `memory` for read-only arguments in `external` functions saves gas ### Description When a function with a `memory` array is called externally, the `abi.decode()` step has to use a for-loop to copy each index of the `calldata` to the `memory` index. **Each iteration of this for-loop ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A malicious lien owner can exploit a reentrancy to steal LP funds ### Description A malicious lien owner can exploit a reentrancy in auctions to have their liens removed without making their payments and thus stealing LP funds. ### Impact PoC: https://gist.github.com/lucyoa/901a7713fded73293b5e4f9452344c5a ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: | Storage Location ### Description **Description** The following parameters are marked as `memory` when they could be declared `calldata`: - PositionStore::18 - DepositHandler::73,102 - OrderHandler::58,73,155 - OrderUtils::73 - DepositUtils::61 - DepositStore::17 - WithdrawalUtils::74 - WithdrawalStore::17 ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [14] Missing getter functions for key internal `ZkSyncStateTransitionStorage` variables should be introduced ### Description ### Proof of Concept Take a look at the getter facet here: https://github.com/code-423n4/2024-03-zksync/blob/4f0ba34f34a864c354c7e8c47643ed8f4a250e13/code/contracts/ethereum/contracts/s...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: addLiquidity Does Not Reset Approval If Not All Tokens Were Added To Liquidity Pool ### Description ## Handle leastwood ## Vulnerability details ## Impact `addLiquidity` is called when users reinvest their tokens through bonding events. The `RewardReinvestor` first transfers Malt and rewards tokens bef...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
rounding
true
false
## High: Positive and negative balances are not on the same scale in health calculations ### Description The `add_token` function computes the `positive_account_value` and `negative_account_value` for a given account. However, these two values are not on the same scale. The negative account value has more decimals tha...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
medium
token
true
false
## Medium: `transferWhitelist` checks are missing in `AccountableVault::_checkTransfer` ### Description AccountableVault.sol employs a "transferWhitelist" feature to help select addresses that should be allowed to transfer vault shares, overriding the other restrictions checked in `_checkTransfer()`. Both `transfer()...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Possible wrong accounting in L1Staking.sol ### Description Possible wrong accounting in L1Staking.sol during some slashing occasions. ### Impact Incorrect contract accounting ### Recommendation Ensure stakers can't withdraw if they have a batch that is unfinalized or unproven and always ensure that withdr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiple accesses of a array should use a local variable cache ### Description The instances below point to the second+ access of a value inside an array, within a function. Caching an array's struct avoids re-calculating the array offsets into memory ### Proof of concept ### 2 Instances 1. ### Cache `hooks...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 NatSpec `@notice` from contract declaration ### Description Some contract definitions have an incomplete NatSpec: add a `@notice` notation to describe the contract to improve the code documentation. *There are 5 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
gas
other
false
false
## Gas: Consider disabling renounceOwnership() ### Description If the plan for your project does not include eventually giving up all ownership control, consider overwriting OpenZeppelin's Ownable's renounceOwnership() function in order to disable 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
medium
access-control
false
false
## Medium: Used orders or revoked token authorizations can cause `withdrawAuction` and `depositAuction` to fail ### Description The owner must ensure that all orders are valid before submitting an auction, as a single order failure can revert an entire auction. The current implementation allows a market maker to inval...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No automatic check for `scaleDown` after `updateMaxPositionThreshold` ### Description The `updateMaxPositionThreshold` function in the `ArbitrumStrategyManager` contract allows the configurator role to update the maximum position threshold. However, there is currently no mechanism in place to **automatically...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Only active stakers can evaluate proposals ### Description When a vote is complete, an account with active stake at the time the proposal was submitted has to call the [`evaluateProposalOutcome` function of the `Governance`](https://github.com/AudiusProject/audius-protocol/blob/6f3b31562b9d4c43cef91af0a0119...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Deposited Ether Gets Taken By The Next User To Call SwapFrom ### Description The contract currently allows Ether to be sent to the contract via the `receive()` function on line [55]. Any Ether accidentally sent by a user can be claimed by anyone through the use of the `swapFrom()` function, which sends the ent...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 build instructions ### Description The Squads v4 repository contains information for verifying the deployed program, but lacks other essential information. The repository’s README should include at least the following: - Instructions for building the project - Instructions for running the built artifa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `updateProposalAndExecution()` doesn't support sending ETH ### Description Function `updateProposalAndExecution()` is supposed to execute DAO operations but the issue is that it doesn't support transferring ETH and as result some functionalities won't be able to be executed in that DAO.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Not transferring collateral when submitting bids allows malicious users to create honeypot-style attacks ### Description Currently, Teller does not require collateral to be transferred when a bid request with collateral is submitted. Instead, the collateral is pulled from the borrower when the bid is accepted...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Missing DAO functionality to call changeDAO() function in Vader.sol ### Description ## Handle 0xRajeev ## Vulnerability details ## Impact changeDAO() is authorized to be called only from the DAO (per modifier) but DAO contract has no corresponding functionality to call changeDAO() function. As a result, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 of improperly pinned GitHub Actions ### Description The GitHub Actions workflows use several third-party actions pinned to a tag or branch name instead of a full commit SHA. This configuration enables repository owners to silently modify the actions. A malicious actor could use this ability to tamper 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
true
false
## Low: Complete withdrawal fee bypass via unstaking vault ### Description _Resolved_ Users can completely avoid withdrawal fees by using the unstaking vault instead of direct withdrawals. The `ElytraDepositPoolV1` charges configurable withdrawal fees, but `ElytraUnstakingVaultV1` provides identical withdrawal 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
medium
token
true
false
## Medium: Fixed `i_arbiterFee` can prevent payment ### Description `i_arbiterFee` is a fixed value and can brick payment in resolution of disputes if the payment token has a rebasing balance. Instead, `i_arbiterFee` should be a percentage and should the actual fee should be based on the current balance of the contra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A malicious user could DOS a vesting schedule by sending only 1 wei ofTLCto the vesting escrow address ### Description ## Severity: Critical Risk ## Context: - `ERC20VestableVotesUpgradeable.1.sol#L132-L134` - `ERC20VestableVotesUpgradeable.1.sol#L137-L139` - `ERC20VestableVotesUpgradeable.1.sol#L86-L97` - `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Cancellation of minipool may skip `MinipoolCancelMoratoriumSeconds` checking if it was cancelled before ### Description When canceling a minipool that was canceled before, it may skip `MinipoolCancelMoratoriumSeconds` checking and allow the user to cancel the minipool immediately. ### Proof of Concept A 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
low
other
false
false
## Low: Constant redefined elsewhere ### Description Consider defining in only one contract so that values cannot become out of sync when only one location is updated. A [cheap way](https://medium.com/coinmonks/gas-cost-of-solidity-library-functions-dbe0cedd4678) to store constants in a single location is to create 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
access-control
true
false
## Low: Lack of a Double-Step Transfer Ownership Pattern ### Description The standard OpenZeppelin’s Ownable contract allows transferring the ownership of the contract in a single step: ```solidity /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owne...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
true
false
## Medium: Non-compliance with EIP-4337 ### Description [contracts/smart-contract-wallet/BaseSmartAccount.sol#L60-L68](https://github.com/code-423n4/2023-01-biconomy/blob/main/scw-contracts/contracts/smart-contract-wallet/BaseSmartAccount.sol#L60-L68) [contracts/smart-contract-wallet/aa-4337/core/EntryPoint.sol#L319-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
oracle
false
false
## Low: Potential Ether Accumulation Risk in Payable Contracts ### Description Multiple contracts in the protocol have payable functions with no explicit mechanism to handle accumulated Ether: - Contracts can receive Ether without a clear withdrawal strategy - Potential risk of unintended Ether accumulation - Impacts ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: PTokens Can Be Transfered to Blacklisted Address ### Description **Update** As per discussion with the client, this is an intentional design. > Blacklist contract is made in such a way that we can block only contracts. In the case of PToken and the `transfer` and `transferFrom` functions, this was not done du...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect encoding for Permit ### Description **Impact** The additional `MessageHashUtils.toEthSignedMessageHash(digest);` is not necessary and is re-encoding the user signature Per the EIP, you're supposed to simply sign on the digest https://eips.ethereum.org/EIPS/eip-2612 Also check this implementation ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: USE SCIENTIFIC NOTATION (E.G. 1E18) RATHER THAN EXPONENTIATION (E.G. 10**18) ### Description Scientific notation `(e.g. 1E18)` is clearer and easier to read than exponentiation `(e.g. 10**18)`. Additionally, scientific notation is widely used in the Ethereum development community and is considered a best pract...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unchecked Blob-Proof Parameter ### Description In the [`finalizeBatchWithProof4844` function](https://github.com/scroll-tech/scroll/blob/8bd4277c13ec17670963848a24e4e1b135504f3f/contracts/src/L1/rollup/ScrollChain.sol#L436) of the `ScrollChain` contract, the [`_blobDataProof`](https://github.com/scroll-tech/sc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: IMMUTABLE VARIABLES CAN BE CHANGED IN STAKING CONTRACT ### Description The `update_staking_config` function in the **krp-token-contracts/staking** contract allows updating the values of `staking_token` and `rewards_token` variables, which should be immutable. As a consequence, some unexpected situations could ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Pointless return ### Description **Description** IgnitionCore.sol, setPrivAndAutoTxPool() and setQuoteAsset() IgnitionPools.sol, addTokenToPool(), setRate(), setBaseTier(), setStartDate(), setEndDate(), setTokenTotalAmount(), transferPool(), setAdminOnPoolToken(), disablePool() IgnitionaIDO.sol: addWhitelist(...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
rounding
false
false
## Medium: Acknowledged Medium-Low severity issues from Velodrome security review should be re- considered ### Description Infrared derives its Voting logic from a slightly modified version of Velodrome's corresponding contracts. We identified a total of four applicable Medium and Low severity issues that were reporte...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Vault accumulated values do not reflect market change correctly ### Description In `market.getVaultAccumulatedValues`, important deltas `realizedDebtChage`, `unrealizedDebtChange`, `usdcCreditChange` are all incorrectly calculated. Returned value is way less than the actual market change. This will bring va...
0