prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unclear Revert Messages ### Description All revert messages across every contract are unclear which can lead to confusion. Unclear revert messages may cause misunderstandings on reverted transactions. ### Recommendation Consider making revert messages more clear.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Iteration through the whole storage array. ### Description **Description** TokensFarm.sol: function_remove Participant(), line 419. Perpetual TokensFarm.sol: function_removeParticipant(), line 332. When a user performs withdrawal,_removeParticipant() is called to verify whether the user should be removed...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
access-control
true
false
Source: https://github.com/sherlock-audit/2023-02-olympus-judging/issues/100 ## Found by cccz ## Summary claimFees will update rewardToken.lastBalance so that if there are unaccrued reward tokens in the contract, users will not be able to claim them. ## Vulnerability Detail _accumulateExternalRewards takes the diff...
Sherlock
4
Olympusdao
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Minters can front-run `setMinterLimit` to mint more tokens ### Description **Severity**: Informational **Status**: Resolved **Description** In Contract DevvE.sol, the method `setMinterLimit(...)` allows the admin to lower the minting limit for any minters. A minter can see this transaction in the pool and 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
high
front-running
true
false
## High: CollateralManager#commitCollateral overwrites collateralInfo._amount if called with an existing collateral ### Description When duplicate collateral is committed, the collateral amount is overwritten with the new value. This allows borrowers to front-run bid acceptance to change their collateral and steal fro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Whale governance attack on the protocol takes 1 day and cannot be cancelled by DAO ### Description The flow of the attack: 1) A whale prepares funds so that the lock for one week gives a weight to bypass the `passingPct`. 2) In the end of week [N], one minute before week [N+1], the whale calls`TokenLocker.loc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
rounding
true
false
Source: https://github.com/sherlock-audit/2023-02-notional-judging/issues/8 ## Found by xiaoming90 ## Summary A Curve vault that comprises tokens with different decimals will undervalue or overvalue the LP Pool tokens. As a result, users might be liquidated prematurely or be able to borrow more than they are allow...
Sherlock
5
Notional Update #2
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Paid Tokens by Smart Contract Wallets Are Not Refunded When Cancelling Invoice ### Description When processing the claiming process, the smart wallet pays for the amount of token locked and sends it to the `InvoiceManager` contract. In order for the claiming to occur, the session should not have expired, 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
gas
other
true
false
## Gas: Length of `_factoryDeps` is calculated multiple of times in `_verifyFactoryDeps` in `BaseZkSyncUpgrade.sol`. ### Description Calculating length of array cost gas. Instead of doing it every time, calculate it once and assign that value to local variable. `_factoryDeps.length` is being calculated: - ` require(_...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Repository does not contain Ethereum development environmentconfiguration. ### Description **Recommendation**: use Truffle or Hardhat toolkits for automating of running tests, deployments and migrations.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insufficient Liquidity Removal Protection in reduceLiquidity Function ### Description **Severity** : Critical **Status**: Invalid **Description** The reduceLiquidity function in the MMTrade contract contains a logic flaw that can lead to potential abuse and unintended behavior. The function checks if the ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Potential Reward Index Mismatch ### Description ## Potential Mismatch in Reward Emissions Processing In `utils::process_reward_emissions`, there is a potential mismatch between the enumerated index utilized during reward harvesting and the actual index of the reward in the `meta.emissions` data structure. `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Cleaner code ### Description • Consider using the utility function `getTophatDomain()` here: • **SAFE_TX_TYPEHASH** is not used throughout the code, yet it is declared. Consider omitting it. • Several variables which cannot be changed in the lifetime of the contract are not declared immutable (e.g. **maxSig...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wallet structure permits inconsistent state ### Description The **Wallet** structure (Figure 12.1) from the Kotlin Tezos SDK permits the mnemonic to be nullable; however, in practice it is not possible because constructors ensure it is always present. The Android wallet also expects the mnemonic to be present ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
false
false
## High: Attackers can flood validators with Commit/Reveal execution messages to delay blocks or DOS the node ### Description Commit and Reveal execution messages sent to the SEDA Core Contract are [not charged](https://github.com/sherlock-audit/2024-12-seda-protocol/blob/main/seda-chain/app/ante.go#L55-L71) any gas f...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Usage of Floating Pragmas May Compile Contracts With an Unexpected Version ### Description **Severity**: Low **Status**: Resolved **Description** The BitGrit (BGR) token contract uses the pragma ^0.8.20. By enabling the use of multiple compilers for this contract, they can lead to unexpected issues in the S...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Lockup of vestings or completion time can be bypassed due to missing check for staked tokens ### Description The vesting module in the Andromeda protocol allows multiple vestings to be created. Currently restricted to the owner, it will be extended to any user. While tokens are vesting, they can be staked t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: Borrowers cannot realize full loan value without risking default ### Description To fully capitalize on their loans, borrowers need to retain their loaned assets and the owed interest for the entire term of their loans. However, if a borrower waits until the loan’s maturity date to repay it, they become imm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
other
false
true
<https://github.com/code-423n4/2022-07-golom/blob/e5efa8f9d6dda92a90b8b2c4902320acf0c26816/contracts/core/GolomTrader.sol#L342><br> <https://github.com/code-423n4/2022-07-golom/blob/e5efa8f9d6dda92a90b8b2c4902320acf0c26816/contracts/core/GolomTrader.sol#L397><br> `fillCriteriaBid` can be reverted due to the pre-chec...
Code4rena
5
Golom
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
false
false
## Low: Share variables lack validation. ### Description **Description** Disqualifier.sol: setHunterShare(). Eligibility DataProvider.sol: setRequired EthRatio(). Middle Fee Distribution.sol: setLpLocking Reward Ratio(), setOperation Expenses(). Leverager.sol: setFeePercent(). Leverager.sol: loop(), parameter 'bo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 tx.origin for authentication ### Description ## Handle shw ## Vulnerability details ## Impact The `eoaOnly` function of `Controller` checks whether the user is whitelisted using `tx.origin`. Using `tx.origin` to authenticate users is generally not a good practice since it can be abused by malicious...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: | Redundant Transfers ### Description **Description** When claiming and updating a reward for a `TransferReceiver`, the fee is first transferred to the `TransferReceiver` before being transferred to the `msg.sender`. **Recommendation** Consider implementing a `feeTo` address parameter on the `updateAllRewar...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inexplicit Revert - Phase 3 ### Description When a token is bridged through the `ERC20Vault` contract, the destination chain message value is derived as [`msg.value - _op.fee`](https://github.com/taikoxyz/taiko-mono/blob/dd8725f8d27f835102fa3c5a013003090268357d/packages/protocol/contracts/tokenvault/ERC20Vault...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Deduction Of Swap From Liquidity Pool ### Description ## Swap Instruction Overview In the swap instruction, `amount_out` is calculated utilizing the entire `params.amount_in` value, which represents the total number of input tokens provided by the user. The fees are calculated based on the `params.amount_in`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Functions Across The Targeted Codebase Performs Operations Directly On State Variables Which May Result In Costly Transactions ### Description **Severity**: Informational **Status**: Acknowledged **Description** There are various functions such as _fulfillRedeem in the BaseControlledAsyncRedeem contract w...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Bytes constant are cheaper than string constants ### Description If the string can fit into 32 bytes, then `bytes32` is cheaper than `string`. `string` is a dynamically sized-type, which has current limitations in Solidity compared to a statically sized variable. ### Proof of Concept 2 instances: ##### src...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Griefing attack for VestedZeroNFT ### Description Report type: Smart Contract Target: https://github.com/zerolend/governance Impacts: - Griefing (e.g. no profit motive for an attacker, but damage to the users or the protocol) - Permanent freezing of funds ## Description ## Vulnerability Details It is po...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
true
false
## Medium: No quorum requirements for transmit() function ### Description ## Medium Risk Vulnerability Report **Severity:** Medium Risk **Context:** - `ChainlinkAtlasWrapper.sol#L77-L124` - `ChainlinkDAppControl.sol#L136-L162` **Description:** In order to `transmit()` a new oracle update to the `ChainlinkAtlasW...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `TokenBank::addToken` should revert if token has already been added ### Description **Description:** `TokenBank::addToken` should revert if token has already been added. **Impact:** Token data such as `saleAmount` and `feeAmount` will be reset to zero causing other core functions to malfunction. **Remora:** ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
logic
false
false
## Low: Code duplication ### Description **Severity**: Low **Status**: Acknowledged **File**: client/cli/query_setup.go:293:371 **CWE**: 1041 **Details**: Two functions, "SetupCmdQueryGetMarket" and "SetupCmdQueryValidateMarket," have an identical code. **Recommendation**: Externalize the implementation and cal...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
true
## Low: Accidentally sent user funds get lost to EAS contract when there is no resolver ### Description The EAS contract attempts to ensure that all user (attester/revoker) funds sent are forwarded appropriately to the resolver without locking any in its contract. However, in the specific condition where the value spe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: `withdrawNative` and `depositNative` cannot be used for WHYPE/HYPE ### Description _Resolved_ It is not possible to wrap/unwrap tokens from the Burn pool. Consider adding a `isBurn` parameter to those function to allow that.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
false
false
## Medium: Voting Process Reverts ### Description Because of the removal of OpenZeppelin’s `ERC20VotesUpgradeable` contract from the Dimo token in `DimoV2.sol`, it is not possible to propose a governance vote. Calls to `DimoGovernance.propose()` revert because `propose()` calls `token.getPastVotes(account, blockNumber...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use shift Right/Left instead of division/multiplication if possible ### Description **Client:** Fixed in [540cca1](https://github.com/Ranama/StakePet/commit/540cca16669ee8575806d0f3430723726e3d9c2e) **Cyfrin:** Verified.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Consider checking the recipient address for existence before making the call ### Description https://github.com/code-423n4/2022-06-nested/blob/b4a153c943d54755711a2f7b80cbbf3a5bb49d76/contracts/governance/TimelockControllerEmergency.sol#L283 https://github.com/code-423n4/2022-06-nested/blob/b4a153c943d54755711...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [04] Unnecessary Modifiers Cost Gas ### Description Reentrancy is a common root-cause for exploits in smart contracts. To avoid the specific case of basic reentrancy, a `nonReentrant` modifier is often used. In the case of a handful of functions in **`VotingEscrow.sol`,** this modifier is unnecessary, becaus...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
true
false
## Medium: Overflow handling could allow recovery of transaction token ID ### Description The system’s fee calculation could overflow a `u64` value. When this occurs, the fee is divided up into multiple smaller fees, each fitting into a `u64` value. Under certain conditions, this behavior could be abused to reveal whet...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Oracles Can Accept Invalid Requests, Constructed with Small _data ### Description The current `Oracle.sol` implementation does not check the length of `_data` in `onTokenTransfer` on line [51]. This function uses assembly to add the address and amount to the `_data` variable before calling `delegatecall` on `_...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: CHECK-EFFECTS-INTERACTIONS PATTERN NOT FOLLOWED ### Description **Severity**: Low **Status**: Acknowledged **Description** The checks effects interactions pattern has not been followed in the depositNative() function. This function allows external call to the native asset contract on line: 267, after which ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `Project.sol` and `Community.sol` have no way to revoke a hash in approvedHashes ### Description _Submitted by 0x52_ [Community.sol#L501-L506](https://github.com/code-423n4/2022-08-rigor/blob/5ab7ea84a1516cb726421ef690af5bc41029f88f/contracts/Community.sol#L501-L506) [Project.sol#L108-L115](https://github....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Document hook address mining ### Description The HookManager contract classifies hooks as validation hooks, execution hooks, or both. This classification is based on two bitmasks applied to the hook's address, which implies that hook addresses must be mined before deployment to find appropriate values for thes...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect documentation for mint function ### Description **Description:** The `mint` function's documentation incorrectly states it "disallows burning from address(0)" when it should be "disallows minting to address(0)". **Recommended Mitigation:** Update the documentation to correctly reflect the function'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
liquidation
true
false
## Medium: D3VaultFunding#checkBadDebtAfterAccrue is inaccurate and can lead to further damage to both LP's and MM ### Description D3VaultFunding#checkBadDebtAfterAccrue makes the incorrect assumption that a collateral ratio of less than 1e18 means that the pool has bad debt. Due to how collateral and debt weight affe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Can't Remove Access Control
true
false
## Security Issue Report ## Severity **Medium Risk** ## Context `Merkle.sol#L93-L97` ## Description Arborist has the power to write over the Merkle root. In case Arborist starts misbehaving (compromised or security issue), then there is no way to remove this Arborist from the whitelist. ## Recommendation Revise the...
Spearbit
4
Connext
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
flash-loan
false
false
## High: Flash loan manipulation on `getPoolShareWeight` of `Utils` ### Description _Submitted by shw_ The `getPoolShareWeight` function returns a user's pool share weight by calculating how many SPARTAN the user's LP tokens account for. However, this approach is vulnerable to flash loan manipulation since an attacke...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 return statement ### Description **Severity**: Informational **Status**: Resolved **Description** In the function spotPrice inside the contract VelcoreLens.sol, there are multiple conditions that influence the parameters with which the function will be called recursively. However, if the function does...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 `withdraw` method can be permissionless ### Description Instead of using the `onlyOwner` modifier on `withdraw`, just replace `msg.sender` with `owner` as the callee and remove the modifier. This will save some gas and remove any access controls in the protocol, making it completely permissionless.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: repay calls can be blocked by front-running them with another repay call ### Description An attacker can make a repay call to revert by front-running it with another repay, forcing the user to redo the transaction. The repay function (Figure 6.1) is used to return the funds borrowed, even on behalf of 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
high
initialization
false
false
## High: Capped Amount Is Not Enforced Upon Minting ### Description The [`PSP22Capped` extension](https://github.com/Brushfam/openbrush-contracts/blob/553347354de6d0ead6a335ba4c197bdd01fb2d12/contracts/src/token/psp22/extensions/capped.rs) provides various functions to [initialize a cap value](https://github.com/Brush...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LACK OF A DOUBLE-STEP TRANSFEROWNERSHIP PATTERN ### Description The `OwnershipFacet` contract allows transferring the ownership of the `IrrigationDiamond` in a single step: ### Recommendation **ACKNOWLEDGED:** The `Irrigation Protocol team` acknowledged this finding.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
logic
true
true
## Low: Referential assignment causes incorrect block interpolation ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/VotingEscrow.sol Impacts: - Contract fails to deliver promised returns, but doesn't lose value ## Description ## Brief/Intro Due...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: Decimals mismatching during reserve initialization will break calculations ### Description The v3.1 update adds a minimum decimals requirement for listed assets. During a reserve initialization, a newly implemented check ensures that the asset's decimals are greater than or equal to 6. However, the reserve is ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Maximum Borrow Rate Not Enforced ### Description **Update** Marked as "Fixed" by the client. Addressed in: `295913f6e865e18e56e4d776f61209752a4eb48c`. The client provided the following explanation: > Borrow rate cannot exceed the value given by getMaxBorrowRate(). **File(s) affected:**`TroveInterestRateSt...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
overflow
true
false
Source: https://github.com/sherlock-audit/2023-02-hats-judging/issues/85 ## Found by cccz, ktg, roguereddwarf, GimelSec ## Summary The Hats contract does not override the ERC1155.balanceOfBatch function ## Vulnerability Detail The Hats contract overrides the ERC1155.balanceOf function to return a balance of 0 when ...
Sherlock
5
Hats
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
reentrancy
true
true
## Low: `DebtToken::flashLoan` fees can be bypassed by borrowing in small amounts ### Description `DebtToken::flashLoan` fees can be bypassed by borrowing in small amounts to trigger [rounding down to zero](https://dacian.me/precision-loss-errors#heading-rounding-down-to-zero) precision loss in fee calculation. Since ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Decimals
true
true
## Lines of code https://github.com/code-423n4/2022-12-tigris/blob/main/contracts/Trading.sol#L650 https://github.com/code-423n4/2022-12-tigris/blob/main/contracts/Trading.sol#L675 ## Vulnerability details ## Impact In `Trading.sol` a [deposit](https://github.com/code-423n4/2022-12-tigris/blob/main/contracts/Trad...
Code4rena
4
Tigris Trade