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
initialization
false
false
## Low: `sVEC` Token Infinite Allowance Logic ### Description **Update** Marked as "Acknowledged". The Vector Reserve team provided the following explanation: > _Informational - Acknowledged_ **File(s) affected:**`sVEC.sol` **Description:** The `sVEC` token implements ERC-20 approval logic, allowing approved users ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Prefunded contracts can permanently lose funds if account becomes dormant before code is de- ### Description ## Ployed **Severity:** Critical Risk **Context:** core/vm/evm.go#L891 **Description:** Contracts that receive funds before they are deployed can permanently lose the funds if the account goes ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Low: syncWithOmni() Can Surpass Ethereum Block Gas Limit ### Description Due to the use of for-loops when calling the `_getOperators()` function, it is possible for calls to the `syncWithOmni()` function to use more gas than the Ethereum block gas limit (30 million), which results in the call reverting. Tests demon...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: The DepositClaimable is emitting a wrong address as owner ### Description The DepositClaimable event is used after a deposit request is fulfilled. Currently, this emits the receiver as the owner while it should emit `record.depositor`. ### Recommendation Consider emitting the `record.depositor` instead of `re...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: lawEnforcementRole operations are highly visible ### Description When a `lawEnforcementRole` is assigned, an event including the previous and new `lawEnforcementRole` address is emitted. ```solidity function setLawEnforcementRole(address _newLawEnforcementRole) public { require(msg.sender == lawEnforcementR...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
other
true
true
## Medium: DAO membership can exceed `MembershipDAOStructs::DAOConfig.maxMembers` ### Description The [`MembershipDAOStructs::DAOConfig.maxMembers`](https://github.com/OneWpOrg/audit-2024-10-oneworld/blob/416630e46ea6f0e9bd9bdd0aea6a48119d0b515a/contracts/dao/libraries/MembershipDAOStructs.sol#L18) field is intended a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
false
false
## Low: Around 20% of locks can be blocked statistically ### Description When calling `reserveHatch`, lock calls happening within the next `HATCH_SIZE` blocks will revert. This functionality exists to mitigate a liquidation-blocking issue. Assuming locks are randomly distributed over time, spamming `reserveHatch` as 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
low
cross-chain
false
false
## Low: Lack of indexed parameter ### Description Within [`BaseBridgeReceiver.sol`](https://github.com/compound-finance/comet/tree/silver/polygon-deploy/contracts/bridges/BaseBridgeReceiver.sol), [line 20](https://github.com/compound-finance/comet/tree/silver/polygon-deploy/contracts/bridges/BaseBridgeReceiver.sol#L20...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [32] You are not using your own cached `virtualBlockInfo` in `SystemContext` ### Description Do this instead:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Refactor duplicated `require()`/`revert()` checks to save gas ### Description Duplicate `require()`/`revert()` checks can be refactored into a modifier or function, saving deployment costs. 2 issue instances in 1 file: [612](https://github.com/code-423n4/2024-03-pooltogether/blob/main/pt-v5-vault/src/PrizeV...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
storage
false
false
## Medium: `Golden God` tokens can be minted twice per generation ### Description The current implementation of the EntropyGenerator contract allows for the possibility of having two "Golden God" tokens (tokens with an entropy value of 999999) per generation. This duplicity undermines the intended uniqueness and rarit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: | Inaccurate Comments ### Description **Description** On line 1712: `// random number between 0 to 4` is inaccurate as `_toEarn` takes on a random value of 0 or 1. Additionally, on line 1672: `// 10%` is inaccurate as `_rndmAlloc` is calculated to be 15%. **Recommendation** Refactor comments to accurately r...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Role Transfer Not Following Two-Step Pattern ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > the ownership will be transferred to a multisig **Description:** The owner of the contracts can call `transferOwnership()` to transfer the ownership...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Tally VM startup costs not charged early enough ### Description The gas for activating the WASM VM is not charged early enough to prevent DoS attacks. ### Impact DoS attack, chain slowdown. ### Recommendation Do not start tally phase execution if the remaining gas is not enough for the VM spin-up.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: FSDVesting: Claiming tributes should call FSD token’s corresponding functions ### Description ## Handle hickuphh3 ## Vulnerability details ## Impact The claiming of staking and governance tributes for the a beneficiary's vested tokens should be no different than other users / EOAs. However, the `claimTri...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inline `modifier`s that are only used once, to save gas ### Description **Files:** `ContractDeployer.sol`, `KnownCodesStorage.sol` [File: code/system-contracts/contracts/ContractDeployer.sol](https://github.com/code-423n4/2024-03-zksync/blob/main/code/system-contracts/contracts/ContractDeployer.sol#L213) [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
access-control
true
false
## Low: Nonexistent zero address check for newQuestBoard in updateQuestManager function ### Description Nonexistent zero address check for `newQuestBoard` in `updateQuestManager` function. Assigning `newQuestBoard` to a zero address may cause unintended behavior. ### Recommendation Introduce a check for a zero addres...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
storage
false
false
## Gas: Structs can be packed into fewer storage slots ### Description Each slot saved can avoid an extra Gsset (**20000 gas**) for the first setting of the struct. Subsequent reads as well as writes have smaller gas savings *There are 3 instances of this issue.*
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
false
false
## Low: Max amount `2**(256/3)`, not `2**256` ### Description Curve calculation makes a secure arithmetics - division after multiplying. And the first multiplying is `amount**3`. It sets an overflow limitation of `2**(256/3)` for amount. On the other hand, README describes `amount` as - `is the total supply of the we...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
high
other
true
true
## High: Trader can't reduce open position size when under initial margin requirement but over maintenance margin requirement ### Description [`OrderBranch::createMarketOrder`](https://github.com/zaros-labs/zaros-core-audit/blob/de09d030c780942b70f1bebcb2d245214144acd2/src/perpetuals/branches/OrderBranch.sol#L204-L208...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Strengthen GCP Infrastructure Security ### Description The current GCP configuration has several areas that could be strengthened: - A single service account with “Editor” permissions is used for the collateral auction bot, granting it full control over most resources and violating the principle of least priv...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
storage
true
false
## Gas: Don't write to the same storage slot multiple times ### Description **Description:** In EVM writing to storage is expensive; ideally only write to the same storage slot once. For example `ComplianceServiceRegulated::cleanupInvestorIssuances` does this: This is very inefficient as it results in an additional ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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/Underflow
true
false
##### Description An overflow happens when an arithmetic operation reaches the maximum size of a type. For instance, in `Monoswap.sol`, the `getAmountOut` method is subtracting `fees` from a fixed number and may end up overflowing the integer since the resulting value is not checked to be greater or equal 0. In comput...
Halborn
5
MonoX
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Liquidators seizing NFTs retain their interest index, allowing theft of funds from interest market ### Description When an NFT is used as collateral for a liquidated loan and is seized as collateral, the `_seize()` function performs the following logic: - call `accrueInterest()`, which updates the borrowIndex...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: saving in copying storage variable ### Description In following function simple check can be added to save gas: https://github.com/CreamFi/compound-protocol/blob/23a4ae93adc70334553f5a83429a4e967c1eefaa/contracts/Comptroller.sol#L213 ### Recommendation We recommend to add following check: ```solidity= if (ass...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary and unrestricted `trade()` at `sync/BancorSwapper` ### Description [trade()](https://github.com/yearn/hardhat-monorepo/blob/ecc0b5147992b34c315e08af170ceb4a5fe071ee/packages/yswaps/contracts/swappers/sync/BancorSwapper.sol#L52) function has no use and most likely remains in contract by an accide...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Project dependencies contain vulnerabilities ### Description Although dependency scans did not yield a direct threat to the Bribe Protocol codebase, `npm audit` identified dependencies with known vulnerabilities. Due to the sensitivity of the deployment code and its environment, it is important to ensure depen...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 named `mapping` parameters ### Description **Description:** Solidity 0.8.18 [introduced](https://soliditylang.org/blog/2023/02/01/solidity-0.8.18-release-announcement/) named `mapping` parameters; use this feature in `DropBox` for clearer mappings like this: **Mode:** Fixed in commit [8f6a168](https://gi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistency between hook and supportedTokens[0] due to setHookAddressAndPoolId method ### Description ## Vulnerability Report **Severity:** Low Risk **Context:** - `ChatPoints.sol#L43-L54` - `Master42.sol#L106-L110` **Description:** The `setHookAddressAndPoolId` method allows the owner to change the ho...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: _calculateDiscount function could be a little bit more gas efficient ### Description **Description** The function is in contract ArgoPayments.sol (argo-payments-contract-master), three modification can save some gas: Function takes parameter a, then assigns its value to a new variable amount. I believe functi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: `eta` in `ProposalCancelled` event can be misleading ### Description https://github.com/code-423n4/2023-07-axelar/blob/main/contracts/cgp/governance/InterchainGovernance.sol#L135 https://github.com/code-423n4/2023-07-axelar/blob/main/contracts/cgp/governance/AxelarServiceGovernance.sol#L94 The `eta` here ca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: The redeem process updates the rewards in the wrong order ### Description When users redeem their stakeToken's their balance decreases hence right before the redeem request the rewards should be synced. However, the code does the opposite which leads to wrong accrual of rewards. ### Impact Unfair accrual 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
low
access-control
true
false
## Low: Batch Approval Duplicate Permissions Vulnerability in approveBatchWithSignature ### Description ## Context (No context files were provided by the reviewer) ## Impact The `approveBatchWithSignature` function allows duplicate permissions within the same batch to be approved without any safeguards to detect 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
medium
other
true
false
## Medium: A malicious user can send tokens to the `TribeRedeemer` contract to make the redeem function work, and other users may lose assets as a result ### Description _Submitted by cccz_ In the TribeRedeemer contract, the user provides redeemedToken to redeem the tokens in the list. The transaction will revert whe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Refine EMA Price Handling ### Description ## Price Validation Check Issue in `get_price` There is an inconsistency in the price validation check in `get_price`. Currently, `get_ema_price` fails to return `None` if the EMA price is unavailable. The comment in `get_ema_price` specifies that the method "currentl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inefficient encoding of uint56 to uint24 floating point representation ### Description This issue has been identified within the [_packFP24](https://github.com/longgammalabs/hanji-contracts/blob/70b15ec4d9e7578248141604503843716a67d875/src/HanjiLOB.sol#L1317) function of the `HanjiLOB` contract. The current 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
initialization
false
false
## Low: Possible Initialization of an Unusable SsoAccount ### Description In the [`initialize` function](https://github.com/matter-labs/zksync-sso-clave-contracts/blob/c7714c0fe0a33a23acce5aa20355f088d330b4f7/src/SsoAccount.sol#L59) of the `SsoAccount` contract, no validation is performed to ensure that the array argu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [FIXED] Array out of bounds in `_setTokens` when deleting tokens in `ZunamiPool` ### Description In the `_setTokens` function of the `ZunamiPool` contract, there is a potential for an array out-of-bounds error when attempting to delete more tokens than were initially set. The function operates by setting o...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Variables shadowing functions with the same name in PwIporToken.sol and PwIporTokenInternal.sol ### Description **Severity**: Informational **Status**: Resolved **Description** In contracts PwIporToken.sol and PwIporTokenInternal.sol there are multiple cases of function shadowing because of variables with t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: Do not declare variables inside loop ### Description **Files:** `Compressor.sol`, `Mailbox.sol`, `ImmutableSimulator.sol`, `ValidatorTimelock.sol`, `Executor.sol` Move variable declaration outside the loop. While the variable is declared inside the loop - every loop iteration will spend gas on that variable d...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Overleveraging After Allocator's Stablecoins Are Reclaimed ### Description **Update** The client fixed the issue in commit `4515deffff5b816ea0069ab842b71794ea1d398b` and provided the following explanation: > Added a condition in allocate_stablecoins() when deallocating **File(s) affected:**`contracts/AMM....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Improper use of access modifiers. ### Description **Description** The whole functions in contract use “public” access modifiers but most of them can be called only externally. **Recommendation**: Use “external” access modifier in functions that can be called only externally.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Too few rewards paid over periods in Furnace and StRSR ### Description For two instances in the codebase ([`Furnace`](https://github.com/reserve-protocol/protocol/blob/df7ecadc2bae74244ace5e8b39e94bc992903158/contracts/p1/Furnace.sol#L77-L79) and [`StRSR`](https://github.com/reserve-protocol/protocol/blob/d...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Minimum Liveness Can Be Set Beyond Valid Bounds ### Description The [`setMinimumLiveness` function](https://github.com/UMAprotocol/managed-oracle/blob/fc03083eca91c880efa8918c6d9532af9362f00d/src/optimistic-oracle-v2/implementation/ManagedOptimisticOracleV2.sol#L207) of the `ManagedOptimisticOracleV2` contract...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Claimable soft clay amount can be claimed unlimited times. ### Description **Description** SoftClayContract.sol: function userClaimSoftClay(). After a user has claimed soft clay, the value from mapping_claimableSoftClay is not set to zero, which means that user can claim the same soft clay multiple 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
high
token
true
false
## High: `FantiumNFTV1._owners` shadows `ERC721Upgradeable._owners` ### Description FantiumNFTV1 `mapping(uint256 => address) internal _owners` shadows ERC721Upgradeable `mapping(uint256 => address) private _owners`. Thus, the `exists()` (https://github.com/metaxu-art/fantium-smart-contracts/blob/cb2d97bc30c40321991f...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Validate array lengths ### Description **Severity** - Low **Status** - Resolved **Description** In the contract Vesting.sol’s constructor array of vestedPlans , receivers , amounts and timestamps is passed but there are not sufficient checks to verify the lengths of these arrays. It should be made sure 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
gas
other
true
false
## Gas: Improved Efficiency in `mulDiv` Function ### Description [Math.sol](https://github.com/code-423n4/2023-11-panoptic/blob/main/contracts/libraries/Math.sol#L207) The `mulDiv` function uses a `require` statement with a less efficient comparison for uint types. ### Original Code ### Optimized Code Using `!=...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
dos
true
true
Source: https://github.com/sherlock-audit/2023-01-optimism-judging/issues/96 ## Found by Allarious, obront, ladboy233, Barichek ## Summary Transactions to execute a withdrawal from the Optimism Portal require the caller to send enough gas to cover `gasLimit` specified by the withdrawer. Because the EVM limits th...
Sherlock
4
Optimism
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Superfluous event fields ### Description `block.number` and `block.timestamp` are added to the event information by default, so adding them manually will waste additional gas. ### Proof Of Concept https://github.com/code-423n4/2022-12-caviar/tree/main/src/Pair.sol#L36
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `fillAsk()` Allows for `msg.value` to be larger than require locking the excess in the contract ### Description [GolomTrader.sol#L217](https://github.com/code-423n4/2022-07-golom/blob/e5efa8f9d6dda92a90b8b2c4902320acf0c26816/contracts/core/GolomTrader.sol#L217) It is possible to send a higher `msg.value` t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Missing ancillary data stamp ### Description When requesting a price on the `OracleSpoke` contract, the provided ancillary data [is stamped](https://github.com/UMAprotocol/protocol/blob/0c4cea3c3d5e48da6f8984b8ba3afdfea4ce47cc/packages/core/contracts/cross-chain-oracle/OracleSpoke.sol#L66) with the child chain...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TokenPayAndSettleIncoming emits incorrect error ( BadHash instead of ExpiredContract) ### Description In the `TokenPayAndSettleIncoming` handler in `channel_manager::evm_channel()`, in the event of an expired timelock, the code will emit a `Notification::SwapError(BadHash)` error whereas it should emit `Notifi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unreachable DumpFees Function Of OffchainBook ### Description ## OffchainBook Contract - `dumpFees` Function In the OffchainBook contract, `dumpFees` is used to transfer the funds collected by matching orders to the fee account. ## Code Snippet However, the modifier `onlyEndpoint` only allows a call from ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Error Message in revert Statement ### Description Within the `getTokenConfigByCToken` function of [`UniswapAnchoredViewDestinationAdapter.sol`](https://github.com/UMAprotocol/oev-contracts/blob/0f2c18660fc342ced7c7177577432f7d06481684/src/adapters/compound/UniswapAnchoredViewDestinationAdapter.sol), 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
false
false
## High: Use of Vulnerable IBC-Go v8.4.0 - Non-Deterministic JSON Unmarshalling Can Cause Chain Halt ### Description The protocol is using IBC-Go v8.4.0, which contains a critical vulnerability ([ASA-2025-004](https://github.com/cosmos/ibc-go/security/advisories/GHSA-jg6f-48ff-5xrw)) in the deserialization of IBC ackn...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Use SafeMath in all math operations ### Description Most math operations are safe, but there’s still a few that are unchecked ([these two](https://github.com/brave-intl/basic-attention-token-crowdsale/blob/17a5f8440a256a6dc5d8dd894b9615182c2901b2/contracts/BAToken.sol#L84-L85), for instance). It’s always be...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
false
false
## Low: New allocation mechanics for `allowList` can be bypassed when allocation is updated ### Description Fix in commit https://github.com/metaxu-art/fantium-smart-contracts/commit/fdb089fa02c36560645f5ae7a3ab06d63f37ee1f introduced a new data type for `allowList`. Now it is a mapping storing the allocation for a 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
true
false
## High: BathToken LPs Unable To Receive Bonus Token Due To Lack Of Wallet Setter Method ### Description _Submitted by xiaoming90, also found by 0xNoah, PP1004, sseefried, reassor, hubble, pauliax, sashik_eth, and shenwilly_ BathBuddy is a Vesting Wallet that payout withdrawers any `bonusTokens` they may have accrued...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `StaderOracle` - Strict equal can cause no consensus if trusted nodes are removed before consensus ### Description if ( submissionCount == trustedNodesCount / 2 + 1 && _exchangeRate.reportingBlockNumber > exchangeRate.reportingBlockNumber ) { updateWithInLimitER( _exchangeRate.totalETHBalance, _...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Repeated assignment of the same value in the loop ### Description A gas efficiency issue is found in the [`_makeBeaconDeposit`](https://github.com/p2p-org/p2p-ssv-proxy/blob/9dd4728002d9c275e29e8ba38bcf7d90efc7531b/src/p2pSsvProxyFactory/P2pSsvProxyFactory.sol#L625-L628) function of the `P2pSsvProxyFactory` co...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
true
false
## Low: Accounts with low balances are trimmed from the ledger ### Description If the number of ledger accounts with a non-zero balance reaches the `Ledger::maximum_number_of_accounts` value (which defaults to 50 million), the ledger will burn the assets of the accounts with the lowest balances; the number of accounts...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
false
false
## Medium: `transfer()` depends on gas consts ### Description [ETHRegistrarController.sol#L183-L185](https://github.com/code-423n4/2022-07-ens/blob/ff6e59b9415d0ead7daf31c2ed06e86d9061ae22/contracts/ethregistrar/ETHRegistrarController.sol#L183-L185) [ETHRegistrarController.sol#L204](https://github.com/code-423n4/2022-...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
false
false
## Low: Whales can frontrun rewards distribution ### Description The WstUSR vault allows users to deposit and withdraw within the same block. This enables malicious users to monitor the mempool and front-run the reward distribution by making a large deposit, and then withdrawing within the same block, which allows 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
front-running
true
false
## Low: operatorInitiateClawBack() can be griefed ### Description When calling `operatorInitiateClawBack()`, a user can front-run the call by calling `undelegate()` for the same `validatorId` and prevent `operatorInitiateClawBack()` from executing. ### Recommendation Consider lowering the `amountAssets` to the amount...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
true
## Low: Deleting entries may lead to incorrect getter value (SimpleRegistry) ### Description Getter functions return information on entries even after entries are deleted. This behavior may lead to unexpected consequences in third-party applications or contracts. The `SimpleRegistry` contract contains an `entries` map...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Code quality issues: naming convention ### Description - The `UniswapV2Factory.sol` uses an internal naming convention for the external function `_initCodeHash()`, violating Solidity naming best practices. Despite being marked as external, the function uses an underscore prefix typically reserved for internal ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Typos ### Description *There are 3 instances of this issue.* ___ ## Excluded Findings These findings are excluded from awards calculations because there are publicly-available automated tools that find them. The valid ones appear here for completeness. ### Low Risk Issues | |Issue|Instances| |-|:-|:-:| | [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
token
false
false
## Medium: SeaDrop owner can choose an address they control as the admin when the constructor is called. ### Description The owner/creator can call the contract directly (skipping the use of the UI) and set the administrator as themselves or another address that they control. After creating a `PublicDrop` or `TokenGat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential Denial of Service (DoS) Vulnerability in PowApprox Function ### Description The Elys project uses a function called `PowApprox` to calculate approximate values for the exponentiation operation (`a^b`). This function is implemented using a Taylor series approximation, and it uses a while loop to itera...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: UNNEEDED INITIALIZATION OF UINT256 VARIABLES TO 0 ### Description As `i` is an `uint256`, it is already initialized to 0. `uint256 i = 0` reassigns the 0 to `i` which wastes gas. Code Location ------------- Internalizer.sol * Line 62: `for (uint256 i = 0; i < accounts.length; i++) {` Fertilizer.sol * Li...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Deprecated `testFail` Usage in Tests ### Description **Description:** Several tests ([1](https://github.com/Polkamarkets/polkamarkets-js/blob/24f1394be94d27433d2e3a7370442126e1c1e5ba/test/PredictionMarket.t.sol#L691-L698), [2](https://github.com/Polkamarkets/polkamarkets-js/blob/24f1394be94d27433d2e3a737044212...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
false
false
## High: `redeemToken` can fail for certain tokens ### Description _Submitted by cmichel, also found by hickuphh3, pauliax and jonah1005XXX_ The `SwappableYieldSource.redeemToken` function transfers tokens from the contract back to the sender, however, it uses the `ERC20.transferFrom(address(this), msg.sender, redeem...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Keep Slippage Expiration Date as a Governance Parameter ### Description In the provided code snippet, the `ClearOutdatedSlippageTrack` function is responsible for deleting expired slippage tracks. However, the expiration date is currently hardcoded as a constant value of 7 days (86400 \* 7 seconds). This hardc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `callerFundedMint()` does not work with fee-on-transfer tokens ### Description The `ClassicMinterV1::callerFundedMint` function is used to `mint USDf` tokens by depositing collateral tokens, after verifying signature of a `MintParams` message signed by the `BACKEND_SIGNER_ROLE address` of the protocol. After t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
true
false
## High: Bad Debt Redistribution Not Happening Between Liquidations in Batch Mode ### Description The issue lies in how liquidations handle debt redistribution in `LiquidationManager.sol`. Here's the problematic flow: ```solidity function batchLiquidateTroves(ITroveManager troveManager, address[] memory _troveArray) ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Zero Address Verification ### Description The issue is associated with the `addOracle` function in the `DIAOracleV2Meta` contract. Specifically, the function lacks a check for zero addresses when adding a new oracle. If an oracle with a zero address is added, it will trigger the `getValue` function to ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: `rescue` allows to withdraw collected ETH rewards and `boughtBackTokenBalances` ### Description `rescue` does not restrict the amount of ETH that can be withdrawn by the caller and does not verify whether the token to be withdrawn has `boughtBackTokenBalances`. Consider adding these verifications to prevent `r...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Integrators can wrongly interpret ´cliff´ as end of a Lineair stream when using getTimes- tamps ### Description Previously, this function in `SablierV2LockupLinear` was called `getRange`. It is now renamed to `getTimestamps` but still returns the type `LockupLinear.Timestamps`, which includes 3 timestamps (inc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary Treasury Wallet Field in Protocol State ### Description ## Fee Transfer Instruction Guidelines The account to which the fee amount is transferred in the Settle instruction should be of the same mint as the `asset_escrow` or the `quote_escrow` based on the caller of the instruction. Since there can...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Reentrancy in `withdrawToken()` May Delete The Next User's Balance ### Description The function `withdrawToken()` does not have a reentrancy guard and calls an external contract. It is possible to reenter `settleContract()` to spend the same token that was just transferred out. If the `safeTransferFrom()` 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: Use of error-prone pattern for logging functions ### Description The pattern shown in ![Figure 3.1](#) is used repeatedly throughout the codebase to log function names. *[REDACTED]* **Figure 3.1**: An example of the pattern used by ChainPort to log function names. This pattern is prone to copy-and-paste...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users will lock raffle prizes on the `WinnablesPrizeManager` contract by calling `WinnablesTicketManager::propagateRaffleWinner` with wrong CCIP inputs ### Description The [`WinnablesTicketManager::propagateRaffleWinner`](https://github.com/sherlock-audit/2024-08-winnables-raffles/blob/main/public-contracts/c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
false
false
## Medium: Data Market Creation Limited to 255 Due to Incorrect Variable Type ### Description **File(s) affected:**`ProtocolState.sol` **Description:** In `PowerloomProtocolState`, the `dataMarketCount` is declared as `uint8` limiting it to store `255` at maximum. When creating a new data market through `createDataM...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Small amount of native token transfer dropped from mempool ### Description When attempting to send a small amount of native tokens (e.g., 0.000000000000000001 ether) using the `cast send` command to invoke the `withdraw_base58` function of a precompile contract, the transaction is being dropped from the mempo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Profile creation can be frontrun ### Description _Submitted by cmichel_ [PublishingLogic.sol#L50](https://github.com/code-423n4/2022-02-aave-lens/blob/aaf6c116345f3647e11a35010f28e3b90e7b4862/contracts/libraries/PublishingLogic.sol#L50) The `LensHub/PublishingLogic.createProfile` function can be frontrun ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Medium: Incorrect Collateral Calculation Lets Users Mint Under-Collateralized USC ### Description The core pricing math in the `_getNormalizedAssetAmount()` function in the `Engine` contract is inverted: `previewMintAccount()` -> `_getNormalizedAssetAmount()` uses multiplication by the oracle price instead of divi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Deadline Enforcement in Periodic Allowance Logic  Acknowledged ### Description The `PeriodicAllowance` struct defines parameters for enforcing periodic transfer limits, including `periodAmount`, `periodDuration`, `startDate`, and tracking variables like `lastTransferPeriod` and `transferredInCurrentPer...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Logic Not Fully Deprecated ### Description The `SpokePool` contract implements the basics of keeping track of the respective [OFT messengers against tokens](https://github.com/across-protocol/contracts/blob/c5d7541037d19053ce2106583b1b711037483038/contracts/SpokePool.sol#L1739-L1749). It also inherits the [`OF...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
true
false
## Gas: Cannot use `_burn` Function in Beedle.sol Contract ### Description The Beedle.sol contract includes an unused internal _burn function which is internal and not being called anywhere within the contract. As it stands, the function is not accessible externally and is effectively "hidden" from external calls. ##...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
false
false
## Medium: | Missing Validation ### Description **Description** When creating a deposit, there is no validation that the `longToken` or the `shortToken` are valid for the supplied market. If WBTC is accidentally used as the long token in an ETH/USDC market, the user would lose their WBTC in the `depositStore`. Furth...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing docstrings throughout ### Description Most of the contracts and functions in Augur’s code base lack documentation. This hinders reviewers’ understanding of the code’s intention, which is fundamental to correctly assess not only security, but also correctness. Additionally, docstrings improve readabi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 += ### Description `+=` may provide better readability. ### Recommendation - Change: `lp.principal = lp.stake + lp.principal;` - To: `lp.principal += lp.stake;`
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: An Agent can borrow even with existing debt in interest payments ✓ Fixed ### Description To borrow funds, an `Agent` has to call the `borrow` function of the pool: **code/src/Pool/InfinityPool.sol:L302-L325** ``` function borrow(VerifiableCredential memory vc) external isOpen subjectIsAgentCaller(vc) { ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Medium: Inconsistent debt bookkeeping may lead to trapped tokens ### Description Note: This issue is the result of our investigation into Sai Issue #87. The Sai system uses the `sin` token to track the total CDP debt to the Sai system, as well as the individual debts for each CDP. At any point, the sum of the debt...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Riskless trades due to delay check ### Description `Trading.limitClose()` uses `_checkDelay()`. This allows for riskless trades, by capturing price rises through increasing the stop-loss, while preventing the underwater position to be closed in case of the price dropping by continuously increasing the delay. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Docker container running as root ### Description Docker containers run by default as root. It is recommended to use a different user to prevent privilege escalation. ### Recommendation Add a `USER` to the Dockerfile. This will require that the files needed to run the node software are owned by that user.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
logic-error
false
false
## Low: Over-complicated design of delegation ### Description In staking contract, the logic around delegation is over-complicated, where it has concepts of `delegation`, `self-delegation`, and `delegation to self`, of these logic mixed, which could be simplified.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiple contracts are missing inheritance ### Description Several contracts implement interfaces but do not inherit from them. This behavior is error-prone and might prevent the implementation from following the interface if the code is updated. The missing inheritances are: - `WithdrawalDelayer` from `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
low
initialization
false
false
## Low: Events related issues ### Description ## Security Assessment ## Severity: Low Risk ### Context - `LendingPoolAddressesProvider.sol#L197-L199` - `LendingPoolAddressesProvider.sol#L213-L215` - `MiniPoolAddressProvider.sol#L280` - `MiniPoolAddressProvider.sol#L292` - `MiniPoolAddressProvider.sol#L326` - `MiniPo...
0