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
gas
storage
false
false
## Gas: Use `require` instead of `assert` ### Description The `assert()` and `require()` functions are a part of the error handling aspect in Solidity. Solidity makes use of state-reverting error handling exceptions. This means all changes made to the contract on that call or any sub-calls are undone if an error is th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Weak CSP Configuration ### Description **Update** Marked as "Fixed" by the client. Addressed in: `7c9b18c08ea939a5c6d6a4651e9d8c1c2f75f343`. The client provided the following explanation: > Added a CSP that now removes ‘unsafe-inline’ policy directives from default-src, style-src, script-src, media-src, img-s...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: User can game protection via renewal to get free insurance ### Description When renewing a position, the new protectionAmount can be higher than what was previously bought. A user can abuse this to get insurance for free. Most of the time they would keep the protection amount at 1 and pay virtually no premium...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious controllers make EVC compatible tokens intrinsically susceptible to reentrancy ### Description Malicious controllers make EVC compatible tokens intrinsically susceptible to reentrancy. EVC compatible tokens are weird tokens when used without the EVC. A malicious controller can be enabled and execute ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Implicit structure for reporter invalidation message ### Description The [`invalidateReporter` function](https://github.com/compound-finance/open-oracle/blob/d0a0d0301bff08457d9dfc5861080d3124d079cd/contracts/Uniswap/UniswapAnchoredView.sol#L258) of the `UniswapAnchoredView` contract implicitly assumes that th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
true
## Medium: When calling _recalfs from dctstake , the calculated fs may be incorrect ### Description When *reCalFs* is called from *dctStake*, *maxEarning* may be stale. This is because if the *poolOwner* has unshared earnings that have not yet been counted into *maxEarning*, then the actual *maxEarning* will be larger...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `safeApprove()` for Yearn Vault may revert preventing deposits causing DoS ### Description _Submitted by 0xRajeev, also found by pauliax_ The `_depositInVault()` function for Yearn yield source uses ERC20 `safeApprove()` from OpenZeppelin's SafeERC20 library to give maximum allowance to the Yearn Vault add...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
rounding
true
false
## High: Improper Rounding For BaseSwapped In Swap ### Description ## MathHelper Library In the `MathHelper` library, the `swap` function rounds the `baseSwapped` amount using the `sizeIncrement`, since the amount needs to be within the `baseAtPrice` range. The rounds fail to satisfy this condition in the case of a n...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Unnecessary frequent reads from storage in loops ### Description Within the function [`buckets` in the `PeriodicPriceBucket` contract](https://github.com/mcdexio/mai-fund-protocol/blob/98af0d1d7e9872ba2b5e734e2a43c161ef635608/contracts/oracle/PeriodicPriceBucket.sol#L55), the [for loop](https://github.com/mcde...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Lack of assert statement may produce unexpected slash ### Description In [line 78 of `SlasherUtil.sol`](https://github.com/celo-org/celo-monorepo/blob/7be22605e172ca536c028e408b147aab83202e4a/packages/protocol/contracts/governance/SlasherUtil.sol#L78), execution will `return` prematurely if the group of the va...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Incorrect `nextGroupTotalUnbonded` Calculation in `FundFlowController::_getVaultUpdateData` Includes Non-grouped Vaults, Leading to Potential Withdrawal and Deposit Errors ### Description The calculation for `nextGroupTotalUnbonded` in `FundFlowController::_getVaultUpdateData` incorrectly includes non-grouped ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Anyone can front run MixinExchangeCore.cancelOrder()  Won't Fix ### Description In order to cancel an order, an authorized address (maker or sender) calls `cancelOrder(LibOrder.Order memory order)`. When calling that function, all data for the order becomes visible to everyone on the network, and anyone 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
medium
signature
true
true
## Medium: Join Signature Lacks Domain Separation Leading to Cross-Deployment/Chain Replay ### Description In the `joinGame()` function in `Revolver`, the signed payload omits any domain/session fields: ```solidity // Verify signature - hash uid with msg.sender address (signature format unchanged) bytes32 messageHash...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
## Low: Code Maturity ### Description ## Audit Findings ## General Findings 1. In book, the current implementation of `get_level2_range_and_ticks` lacks a check for expired orders, which allows expired orders to be handled as valid. 2. While calculating `const::MAX_PRICE`, `const::MAX_U64`, and `book::START_BID_O...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Admin can drain all rewards from all incentives ### Description `AlgebraEternalFarming.decreaseRewardsAmount()` sends rewards to the address of admin: https://github.com/cryptoalgebra/Algebra/blob/7290fad656bfa89db3743c52af631154f6a8a2d5/src/tokenomics/contracts/farmings/AlgebraEternalFarming.sol#L172. It 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
oracle
true
false
## Medium: TRST-M-3 base to quote swaps trust GMX-provided minPrice and maxPrice to be correct, which may be manipulated ### Description **Description:** exchangeFromExactBase() in GMXAdapter converts an amount of base to quote. It implements slippage protection by using the GMX vault’s getMinPrice() and getMaxPrice(...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Missing ERC20 return value check ### Description The README mentions that the bridge supports "standard tokens". However, the bridge does not support tokens that return false instead of reverting. Note that ERC20 tokens **SHOULD** but not **MUST** throw; they can also return false. Callers **MUST** handle fa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `minDepositAmount` is unnecessarily high, can price out many users ### Description The `minDepositAmount()` function is intended to ensure that all depositors into Public Vaults are depositing more than dust to protect against attacks like the 4626 front running attack. It is calculated as follows: funct...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing role bounds check in `has_role` ### Description _Resolved_ The has_role function in `sources/acl.move` lacks role bounds validation, unlike other role functions. This inconsistency could cause runtime aborts if invalid role values (≥128) are passed. The issue may arise in future integrations where ext...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Analysis - Game theory on points ### Description ## Speculative and Implementation Dependent Considerations The following is speculative and implementation dependent. By checking at daily point updates, smart depositors may figure out if you're tracking all amounts instead of only the locked amounts. If you ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: setMaxAllowance should be called in the constructor ### Description ### BeefyVaultOperator.sol **deposit: setMaxAllowance should be called in the constructor** In the `deposit` function on [line 48](https://github.com/code-423n4/2022-06-nested/blob/b253ed80f67d1bb2a04e1702f5796fd96a7c521e/contracts/operators...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Attacker can bypass token sale `maxAllocationPerUser` restriction to buy out the entire tier ### Description **Description:** An attacker can bypass the token sale `maxAllocationPerUser` restriction to buy out the entire tier by doing multiple small buys under this limit. **Impact:** Permanent grief for othe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: CoinGecko API sanitization exposes DoS risks ### Description The `getPrice()` function and its calling functions do not account for issues or inconsistencies in Coingecko's token price API, making the fee oracle process vulnerable to multiple forms of unsafe API data handling. This data source is used downs...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
true
false
## Low: Rounding down in `split()` function causes dust token loss. ### Description _Resolved_ The `split()` function uses integer division, which rounds down, potentially causing permanent loss of small token amounts: The result of this is that small amounts of tokens are permanently lost due to rounding, accumula...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
overflow
false
false
## High: Wrong Accounting for totalBorrowed in the InfinityPool.pay Function ✓ Fixed ### Description If the Agent pays more than the current interest debt, the remaining payment will be accounted as repayment of the principal debt: **src/Pool/InfinityPool.sol:L382-L401** ``` // pay interest and principal principal...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
access-control
true
false
## Low: Use of `msg.sender` instead of `_msgSender()` prevents meta-transaction support ### Description Several contracts in the codebase use `msg.sender` directly instead of `_msgSender()`, which prevents proper meta-transaction support. This inconsistency affects both initialization and core functionality across 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
high
initialization
true
false
## High: Memory corruption in Buffer ✓ Fixed ### Description Although out of scope for this audit, the audit team noticed a memory corruption issue in the `Buffer` library. The `init` function is as follows: **contracts/Buffer.sol:L22-L41** ``` /\*\* \* @dev Initializes a buffer with an initial capacity. \* @param...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unnecessary Public Function ### Description **Update** Marked as "Fixed" by the client. Addressed in: `6d5224d`. **Description:** The function `getDeployedDistributions()` returns the state variable`deployedDistributions`. However, said variable is already public and solidity always provides getter functions ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: _getdepositpool() and _getwithdrawpool() can halt deposits and withdrawals for an om- nipool ### Description The `_getDepositPool()` and `_getWithdrawPool()` functions are responsible for managing the allocation between pools. However, if all pools reach their target allocation, both functions will fail 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
medium
oracle
false
false
## Medium: Permissioned nature of `TwapOracle` allows owner to manipulate oracle ### Description _Submitted by TomFrenchBlockchain_ #### Impact Potentially frozen or purposefully inaccurate USDV:VADER price feed. #### Proof of Concept Only the owner of `TwapOracle` can call `update` on the oracle. Should the owne...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
false
false
## Low: Incorrect Revert Condition in `submitBatch()` ### Description **Update** Marked as "Fixed" by the client. Addressed in: `3311e3a1a9c0df99d33c19e1971a8408d37d8bec`. The client provided the following explanation: > Changed condition from && to || to ensure that reverts happen if any of them is false The correc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: refunds can be abused by batching transactions ### Description The refund mechanism assumes a `REFUND_BASE_GAS` value of 36k to account for the overhead gas that occurs outside of the tracked gas. Specifically, this accounts for the 20k gas to kick off the transaction, 7k for the ETH transfer, and other gas 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
gas
overflow
false
false
## Gas: `++i`/`i++` should be `unchecked{++i}`/`unchecked{i++}` when it is not possible for them to overflow, as is the case when used in `for`- and `while`-loops ### Description The `unchecked` keyword is new in solidity version 0.8.0, so this only applies to that version or higher, which these instances are. This sa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Medium: non-compliance and denial of service risk for account abstraction wallets in council safe ### Description Owners using smart contract wallets (account abstraction) are facing a blocking issue when trying to sign transactions on the Council Safe. This is due to the use of incorrect validation logic for smart...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unreached code ### Description - **WrappedVault.sol#L270-L272**: If `rate < rewardsInterval.rate` is true, then the following would already revert due to arithmetic underflow: ``` rewardsAdded = (rate - rewardsInterval.rate) * (newEnd - newStart) + frontendFeeTaken + protocolFeeTaken; ``` and thus reve...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: er and upper bounds of the new withdrawal fees are not validated ### Description **Severity**: Informational **Status**: Resolved **Description** SakeVaultV2.sol - In function changeProtocolFee, the argument newWithdrawalFee should be within certain determined bounds. In the body of the function the newWith...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: Protocol does not support fee-on-transfer and rebasing tokens ### Description **Severity** **Impact:** High, as this can leave tokens stuck in the protocol **Likelihood:** Low, as a small portion of the commonly used tokens have such mechanisms **Description** The `_depositWithdraw` method in `AssetMana...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Loss of reward tokens during initiating withdrawal due to cooldown ### Description - ### Impact High, loss of funds (reward tokens) for the affected victim as shown above. ### Recommendation During initiating withdrawal, the cooldown should not be applicable and the claiming of reward tokens from the exte...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [04] Risky one-step admin transfer in `ContributionNft.sol` ### Description The `ContributionNft` contract implements a one-step admin transfer pattern via the `setAdmin` function: This approach is risky because it allows the current admin to immediately and irreversibly transfer admin rights to any address ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Excess ETH sent when sending staking incentives to Arbitrum will remain in `ArbitrumDepositProcessorL1` ### Description The `msg.value` sent to `ArbitrumDepositProcessorL1.sendMessageBatch()` from the dispenser is only checked to be at least as large as `cost[0] + cost[1]`: However, excess funds are not retu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
cross-chain
false
false
## Medium: Incorrectly Submitted Tree Depth Prevents Claiming and May Increase the Odds of Forged Messages ### Description The tree depth submitted in [`l2MerkleTreesDepth`](https://github.com/Consensys/linea-contracts-audit/blob/0154676f95a510a855622f8ac9b07816f94edf08/contracts/LineaRollup.sol#L358C74-L358C92) is no...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Missing Contract-existence Checks Before Low-level Calls ### Description Low-level calls return success if there is no code present at the specified address. ### Proof Of Concept https://github.com/code-423n4/2023-06-llama/tree/main/src/LlamaExecutor.sol#L34 https://github.com/code-423n4/2023-06-llama/tr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: More event parameters can be declared as indexed ### Description Some of the event parameters could benefit from being declared as indexed: - `address sender` in `PublicReallocateTo` can be declared as indexed. - `address owner` in `SetOwner` can be declared as indexed. ### Recommendation Consider declaring 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
flash-loan
false
false
## Medium: MIMOManagedRebalance.sol#rebalance calculates managerFee incorrectly ### Description _Submitted by 0x52_ Inconsistent manager fees could lead to lack of incentivization to rebalance and unexpected liquidation. ### Proof of Concept uint256 managerFee = managedVault.fixedFee + flData.amount.wadMul(manage...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Evidence Validation Can Fail After 256 Blocks ### Description **Update** The risk associated with this issue should be clearly stated in the documentation risk section. **Update** The client provided the following explanation: > In the "Dispute Against a Transaction More Than 256 Blocks Ago" section of 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
initialization
true
false
## Low: PolicyManager.getAggregateRemainingCapacity uses wrong caps ### Description `PolicyManager.getAggregateRemainingCapacity` computes mint and refund remaining capacity using simple BPS multipliers from the band config. For mints, a `zeroMintAggregateBps` is treated elsewhere as unlimited, but here it produces a ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: GovernorSimple and VetoGovernor minimum weight math uses the incorrect divisor ### Description The variable `COMMENT_DENOMINATOR` is defined in both `GovernorSimple` and `VetoGovernor` to express a ratio of 4 BPS: - **VetoGovernor.sol#L48-L49**: ```solidity uint256 public constant override COMMENT_DENO...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Killed Gauge Can Be Voted For ### Description The `VoterV3` contract has safety measures put in place, allowing for the [temporary](https://github.com/ThenafiBNB/THENA-Contracts/blob/2bb84cf6bb429e9bac8ac8464f4546da855ef4ca/contracts/VoterV3.sol#L298-L303) and [permanent](https://github.com/ThenafiBNB/THENA-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
gas
other
true
false
## Gas: 3S-LENFT-N20 protocol/VotingEscrow.sol: duplicated requirement ### Description The current implementation of the VotingEscrow has the [following function](https://github.com/leNFT/contracts/blob/master/contracts/protocol/VotingEscrow.sol#L323-L335): ```solidity function getLockHistoryPoint(uint256 tokenId,uin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
access-control
true
false
## Gas: Use modifiers rather than invoking functions to perform checks ### Description By using modifiers in place of functions to perform checks, we could reduce the gas cost by up to `40` units. In using modifiers, the solidity compiler would inline the operations of the modifier in the called function. Using 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
false
false
## Low: Using deprecated `RandomizedParams` ### Description As per the docs: > Remove `RandomizedParams` from `AppModuleSimulation` interface. Previously, it used to generate random parameter changes during simulations; however, it does so through `ParamChangeProposal` which is now legacy. Since all modules were migr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: Pool State Calculation Inconsistency ### Description ## StargatePool::redeemSend `redeemSend` increases local credit based solely on rewards received during deposit, without accounting for credit decreased due to transfer fees. When users redeem liquidity provider tokens and initiate token transfers, trans...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Tautology or contradiction ### Description **Severity**: Medium **Status**: Resolved **Contract**: PlexusIDO **Functions**: airdropUserClaimPlx, ecosystemClaimPlx, marketingClaimPlx, contributorClaimPlx, advisorClaimPlx, teamClaimPlx **Details**: In all functions above, there is an exact line of code: ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
true
false
## Low: Missing bracket in docs ### Description [The document](https://goldilocks-1.gitbook.io/goldidocs/locks/the-price-function) is missing a bracket. ```diff - Market price = Floor Price + ((PSL/Supply)*(FSL+PSL/FSL)^6) + Market price = Floor Price + (PSL/Supply)*((FSL+PSL)/FSL)^6 ```
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Reward calculation reverts due to potential arithmetic overflow ### Description The `earned` function in CLGauge.sol performs several arithmetic calculations that could potentially overflow, causing the function to revert and leading to a Denial of Service condition for reward claims: When computing updated 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
gas
oracle
true
false
## Gas: Using `bool`s for storage incurs overhead ### Description 1. File: contracts/utils/RateLimited.sol (line [23](https://github.com/code-423n4/2022-03-volt/blob/f1210bf3151095e4d371c9e9d7682d9031860bbd/contracts/utils/RateLimited.sol#L23)) 2. File: contracts/refs/OracleRef.sol (line [25](https://github.com/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
high
dos
true
false
## High: `codehash` check in factory contracts does not account for non-empty addresses ### Description In `WildcatMarketControllerFactory.sol`, registered borrowers can call `deployController()` to deploy a `WildcatMarketController` contract for themselves. The function checks if the `codehash` of the controller add...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Misleading comment ### Description In the function `FluidDexT1PerfectOperationsAndSwapOut.depositPerfect()`, a comment is repeated, and in one of the two instances, it is misleading. ``` // Adding + 1, to keep protocol on the winning side ``` 1. https://github.com/Instadapp/fluid-contracts/blob/9382e3c35b8a5...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
_Submitted by berndartmueller_ The [yVault.getPricePerFullShare()](https://github.com/code-423n4/2022-04-jpegd/blob/main/contracts/vaults/yVault/yVault.sol#L196) function calculates the price per share by multiplying with `1e18` token decimals with the assumption that the underlying token always has 18 decimals. `yVau...
Code4rena
3
JPEG'd
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
dos
true
true
A malicious node operator may create a minipool that cannot be cancelled. ### Proof of Concept Rialto may cancel a minipool by calling [cancelMinipoolByMultisig](https://github.com/code-423n4/2022-12-gogopool/blob/aec9928d8bdce8a5a4efe45f54c39d4fc7313731/contracts/contract/MinipoolManager.sol#L520), however the func...
Code4rena
5
GoGoPool
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Emergency revoke in RAACReleaseOrchestrator will freeze revoked RAAC tokens in orchestrator ### Description Incorrect acounting of `categoryUsed` in RAACReleaseOrchestrator will cause revoked RAACToken to be stuck in orchestrator. ### Impact Revoked RAACTokens will be stuck at orchestrator ### Recommendat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
reentrancy
true
false
## Gas: Using `bool`s for storage incurs overhead ### Description https://github.com/OpenZeppelin/openzeppelin-contracts/blob/58f635312aa21f947cae5f8578638a85aa2519f5/contracts/security/ReentrancyGuard.sol#L23-L27 Use `uint256(1)` and `uint256(2)` for true/false to avoid a Gwarmaccess (**[100 gas](https://gist.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
medium
initialization
false
false
## Medium: OperationalStaking::_unstake Delegators can bypass 28 days unstaking cooldown when enough rewards have accumulated ### Description When rewards are distributed, they are distributed evenly accross all of the shares held for a validator. However participants collecting rewards burn shares, and thus receive l...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: Use the Latest Version Of OpenZeppelin Contracts ### Description **Severity** - Low **Status** - Acknowledged **Description** OpenZepplin regularly updates their contracts in order to fix security issues that are present in the older version , it is always advisable to use the latest version of the OZ contr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: CONTRACT DEPENDENCIES CANNOT BE MODIFIED ### Description Every main contract has a `setDependencies()` function, which is used to set the key contracts needed for the proper functioning of the entire ecosystem, such as tokens, pools, or other contract addresses, or modify them after the deployment if needed 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: The owner of the registry can block all nodes ### Description The owner of the registry can remove components from `QuoterV1`, via `setErc4626()` and `setErc7540()`. This will block `getTotalAssets()` and thus `startRebalance()` on a lot of nodes. The owner of the registry can also remove Rebalancers, Routers,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Misleading comment ### Description The value of `transferFromDisabled` is never updated, let alone in an `initialize()` function. I don't see any bugs related to this, but this comment makes it seem as though something was overlooked when branching. 1. File: src/GlobalAccessControl.sol (line [51](https://git...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Zero value ERC-20 transfers can be performed on sending treasury funds to quitting member or forked DAO, denying the whole operation if one of erc20TokensToIncludeInQuit tokens doesn't allow this ### Description Some tokens do not allow for zero value transfers. Such behavior does not violate the ERC-20 standa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
integer-overflow
true
false
## Low: Unused custom errors and constants can be removed ### Description * `MultiRangeHook` [declares](https://github.com/PaladinFinance/Valkyrie/blob/6b97685d127c97bc369c0613943f45a547d89b18/src/hooks/MultiRangeHook.sol#L68-L69) the `RangeNotCreated()` custom error but it is never used. It would make sense to perfor...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Warning about listing tokens ### Description When taking into consideration the list of supported token pairs, special attention should be paid to: * Tokens which do not revert on failing `transfer`s or `transferFrom`s. * Tokens that extract fees (e.g. `USDT`) which may transfer less tokens than intended. * ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The calculation of LP token amount and deposit amount is wrong for edge cases ### Description `Bin.sol#L35` `Bin.sol#L38` ### Impact The wrong amount of LP tokens will be minted and the wrong amount of A/B tokens will be deposited. ### Proof of Concept According to the PDF document provided, the numbe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Parent of an Object Can Be Overridden ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: This is by design, we want this to be possible. For example, by removing parent ID we can disable user privileges on our platform. **File(s) affected:**`LibOb...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Typing error in the `RemoveContract_toStableToken()` function ### Description **Severity**: Low **Status**: Resolved **Description** In the MultiSig_V2 contract, the line: 145 in the RemoveContract_toStableToken() function is as follows: The code “(_target);” has been repeated twice in the function as an ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Inclusion of unsettled auctions in settlement results ### Description The `getSettlements(uint256)` and `getPrices` functions in the **BeraAuctionHouse** contract do not properly handle cases where `latestTokenId` is `0` and the last auction is not settled. When `latestTokenId` equals `0`, the functions will i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Slippage Condition May Be Too Restrictive ### Description In both `SwapFarm` (line 108) and `PendleV2Farm` (line 137), the slippage check enforces that the received assets must be strictly greater than the minimum expected amount. While this ensures slippage protection, it may be unnecessarily restrictive. A 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
other
false
false
## Low: AWS ALB load balancer has access logs disabled ### Description The Terraform configuration provided for setup-iac is not configured to maintain access logs. Due to the lack of access logs on the ALB configured by setup-iac, the owner of the ALB load balancer will be limited in their ability to investigate atta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Remove `require` statements that are always true ### Description The following two `require` statements always pass: [https://github.com/code-423n4/2023-03-mute/blob/4d8b13add2907b17ac14627cfa04e0c3cc9a2bed/contracts/dao/dMute.sol#L99-L100](https://github.com/code-423n4/2023-03-mute/blob/4d8b13add2907b17ac1...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Missing Signer and New Account Validation for `asset_token_program_acc` in `new_instrument` ### Description **Description:** The `new_instrument` instruction lacks validation checks for `asset_token_program_acc` when creating a new asset token account. Unlike `new_base_crncy` which explicitly validates that 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...
cyfrin_structured
low
other
false
false
## Low: Lack of events emitted for important state changes ### Description * [`StakingVault::setLockDurations`](https://github.com/0xKaizenLabs/staking-contracts-v3/blob/c78653ed5f2e5a6d5ace13c303a8765fe30679b0/src/StakingVault.sol#L388-L396) * [`L2RevenueDistributorV3::setClaimAllowlist`](https://github.com/0xKaizenL...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: Updating Token Owner Does Not Charge Caller ### Description ## Token Transfer and Storage Costs When a token is transferred to an account without any NFTs, the receiving account will be added to `tokens_per_owner`. The storage cost for this is not accounted for in `update_tokens_per_owner` and its caller...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: BinIds Are Not Checked In `PoolDistributor.claimLpAmount()` Function ### Description In the `PoolDistributor.claimLpAmount()` function, one of the parameters is an array of `uint32 binIds`. These IDs are supposed to be sorted in order, as seen in the code: ```solidity function claimLpAmount( uint256 toke...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Idle HYPE balance consideration allows silent bypass of exchange rate guard ### Description The `updateExchangeRatio()` function utilizes an exchange rate guard to mitigate potential issues with bad reads from precompiles in HyperCore. The new ratio is calculated as per the protocol's token holdings: ```sol...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing revert messages in require statements ### Description There are several `require` statements in the project without revert messages. This behavior results in an increased difficulty of debugging the system. The list of affected require statements is: * In the [`EpochRewards` contract](https://githu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Anyone can call the fallbackFunction because of missing authorization control ### Description ## Lines of code https://github.com/Cyfrin/2024-07-biconomy/blob/9590f25cd63f7ad2c54feb618036984774f3879d/contracts/base/ModuleManager.sol#L72C5-L110 ## Impact The lack of authorization control in the fallback 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: Use named imports ### Description **Description:** Use named imports: **Ethena:** Fixed in commit [89d4190](https://github.com/ethena-labs/timelock-contract/commit/89d41901be3387c11c2150c19eb99883ed807d79#diff-8ca72e61ebf9a693737b5c9052aa3814e8b291e3d6dd0341fe88b5b5e781427bL4-R5). **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
medium
token
false
false
## Medium: Proposal creation uses incorrect `ERC721Power::totalPower` as nft power not updated before snapshot ### Description **Description:** If `GovPool` is configured to use `ERC721Power` nft, when the proposal is created it doesn't recalculate the nft power, just [reads](https://github.com/dexe-network/DeXe-Proto...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
true
false
## Low: Missing event emission for change in pending LTV ### Description _Resolved_ `PoolConfigurator` sets the `_pendingLtv` mapping to zero in two places: `_setReserveLtvzero()` and `configureReserveAsCollateral()`. In the first case, the `PendingLtvChanged` event is emitted with the new pending LTV value (zero). ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
oracle
true
false
## High: `SharePrice` can get manipulated ### Description **Severity**: Critical **Status**: Acknowledged **Description** The `_withdrawFromTarget` function in the `CurveLiquidityWarehouse.sol` contract calculates the theoric price for a LP share relying on the spot price of the curve pool. The `calc_withdraw_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
other
false
false
## Low: Missing namespace NatSpec tag for ERC-7201 ### Description Currently, the `Sign` contract does not follow the NatSpec tag specification that should be annotated to the contract's struct for ERC-7201. According to ERC-7201: `A namespace in a contract should be implemented as a struct type. These structs should...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Solidity 0.8 includes a check of arithmetic operations by default, hence SafeMath is unnecessary. ### Description **Recommendation**: Consider removing the SafeMath library to optimize the contract size and gas usage.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Medium: Transferring deposit NFT doesn't check if the receiver exceeds the 100 deposit limit ### Description Transferring doesn't check if the receiver already has 100 deposits and allows exceeding it without limit. ### Impact When deposits are unlimited it can create a partial-DOS. If a user has many small 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
high
oracle
true
false
## High: Oracle DoS by depositing into a withdrawn validator ### Description **Severity:** High **Path:** services/oracle/reporter/reporter.go:computeNumValidatorsFullyWithdrawn#L201-L232 **Description:** The oracle implementation uses a validator’s balance to compute the number of validators that have withdrawn 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
true
false
## Low: Pool 's pause control is not on a per-function level ### Description All contracts can be paused and individual functions can be unpaused through governance, except for the Pool contract. The pool contract forwards the decision to the PoolManager's `canCall` function which performs a single pause check for all...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
true
false
## Low: Missing Zero Amount Check in Cross-Chain Bridge Functions ### Description The `burnAndBridge()` and `burnAndBridgeMulti()` functions in AssetController.sol lack input validation for the amount parameter. This allows transactions to be executed with zero amounts: ``` function burnAndBridge( address recipient...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
false
false
## Medium: The off-chain mechanism must be ensured to work in a correct order strictly ### Description **Severity:** Medium **Description:** The `PriorityPool` contract relies on the distribution oracle for accounting and the accounting calculation is done off-chain. According to the communication with the protocol ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
reentrancy
false
false
## High: Reentrancy issue in `yVault.deposit` ### Description _Submitted by cmichel_ [yVault.sol#L144-L145](https://github.com/code-423n4/2022-04-jpegd/blob/e72861a9ccb707ced9015166fbded5c97c6991b6/contracts/vaults/yVault/yVault.sol#L144-L145) In `deposit`, the balance is cached and then a `token.transferFrom` is tr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unresolved `TODO` ### Description Unresolved `TODO` was found in https://github.com/Grandthrax/yearnV2-generic-lender-strat/blob/979ef2f0e5da39ca59a5907c37ba2064fcd6be82/contracts/GenericLender/GenericDyDx.sol#L29. ### Recommendation It is recommended to resolve it.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
cross-chain
true
true
## Medium: Incorrect authorization prevents the calling of reporting functions ### Description An incorrect authorization schema prevents `outerSet` from calling the `reportBenign` and `reportMalicious` functions. `reportBenign` and `reportMalicious` of `outerSet` call `reportBenign` and `reportMalicious` of `innerSet...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `originationFeeRate`s of less than 1000 may charge no fees if amounts are small ### Description File: contracts/NFTLoanFacilitator.sol (line [156](https://github.com/code-423n4/2022-04-backed/blob/e8015d7c4b295af131f017e646ba1b99c8f608f0/contracts/NFTLoanFacilitator.sol#L156)) Add a `require()` for `facilita...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The `revoke` mechanics are not compatible with tokens that implement a block list feature ### Description **Impact:** High, as important functionality in the protocol won't work **Likelihood:** Low, as a special type of ERC20 token has to be used as well as the attacker's address has to be in a block list ...
0