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
signature
false
false
## Low: Non-uniform Distribution in Random Nonce Generation Due to JavaScript Number Precision Limitations ### Description **Severity:** Low **Description:** The randomNonce() function in jub/jub.ts uses Math.random() and Number() type conversion to generate random nonces, which can lead to non-uniform distribution 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: Unclear Fee Management ### Description **Update** Listed issues were either fixed or clarified as working as intended. **Update** Marked as "Fixed" by the client. Addressed in: `2e2a8b1b7727a8782b2b5a7dded07c4425f4d7b2`. **Description:** The following is still unclear: 1. Fees for logs (`fee::log_tx`) are...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
true
false
## Medium: Two-step ownership transfer process in `LSP0ERC725AccountCore` can be bypassed ### Description To transfer ownership of the `LSP0ERC725AccountCore` contract, the owner has to call `transferOwnership()` to nominate a pending owner. Afterwards, the pending owner must call `acceptOwnership()` to become the new...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Hard-coding the `maxGasLimit` variable may cause problems in the future ### Description The variable `maxGasLimit` is defined as immutable and its value is assigned in `constructor` but cannot be changed later EVM-Based blockchains are hardforked and there is no such thing as Gas Limit etc. values may change,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect NatSpec comment about decimals ### Description **Severity**: Informational **Status**: Resolved **Description** The `InterestRateParameters` struct within the `Formula.sol` smart contract contains this comment: `All parameters are with 6 decimals.` that is later contradicted by other comments. 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
dos
false
false
## Medium: Vulnerable NPM Packages ### Description ## Vulnerability Report A total of **15 vulnerabilities** were identified with `npm audit`. These include: - **Command Injection** - **Prototype Pollution** - **Denial of Service** - **Sensitive Information Exposure** These vulnerabilities may pose a significant ri...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 check might lead to gas burn ### Description The [`incrementMinterAllowance`](https://github.com/centrehq/centre-tokens/blob/4b9ebf3941a48e41e7363fee729035610a71ca66/contracts/minting/MintController.sol#L92) function can be called with a parameter value of `allowanceIncrement = 0`. This would lead to g...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: executedropreserve() doesn't clean interest rates from defaultreserveinterestratestrate- gyv2 upon dropping a reserve ### Description After the introduction of the stateful `DefaultReserveInterestRateStrategyV2`, the interest rate parameters for each reserve are saved in the local mapping `_interestRateData`. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Solidity Version `0.8.13` Is Bugged ### Description **Update** Marked as "Fixed" by the client. The Solidity version was updated to `0.8.19`. Addressed in: `74496b665998e7cb3b9cb7101756e78cc1569d1a`. **Description:** Solidity versions `0.8.13` and `0.8.14`[contain important bugs](https://blog.soliditylang.org...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use of `_mint` instead of `_safeMint()` in minting ### Description _Resolved_ The `_mintNextPacket` function in the `RipFunPacks` contract utilizes the `_mint` method to create new tokens. According to [OpenZeppelin's documentation](https://docs.openzeppelin.com/contracts/5.x/api/token/erc721#ERC721-_mint-...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Approximate Hints are Generated Sub-Optimally ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > We knew it. **File(s) affected:**`HintHelpers.sol`, `SortedTroves.sol` **Description:**`HintHelpers.getApproxHint()` attempts to generate an appro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect handling of `stETH` token in `OmoRouter.deposit()` function ### Description - The `OmoRouter.deposit()` function doesn't correctly handle the `stETH` token, which is one of the LST tokens supported as an underlying asset in `OmoVaults`, the issue arises because `stETH` transfers **1-2 wei less tha...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
signature
false
false
## High: Arbitrary Transfer of Unowned NFTs ### Description Due to how the market functions are structured, it is possible to arbitrarily transfer any NFT that is not owned by any address. The function in question is the `tradeValid` function invoked by `acceptTrade` before the trade is performed. It, in turn, valida...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Medium: `PublicVault.processEpoch` updates `YIntercept` incorrectly when `totalAssets() <= expected` ### Description When `processEpoch` is called it calculates amount of `withdrawReserve` that will be sent to the withdraw proxy. Later it updates `yIntercept` variable. The part that we need to investigate is this...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Recipient never receives leftover tokens ### Description _Resolved_ The `Execute.sol` contract includes a state variable `recipient` intended to hold the address of a designated wallet (e.g., a multisig) for receiving leftover funds. This address is configured during `initialize` and can be updated via the `u...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Malicious user can prevent `rewardData.perodfinish` from ending by calling `TempleGoldStaking::distributeRewards()` before the end of the reward duration when no starter is set. ### Description Calling `TempleGoldStaking::distributeRewards()` upadates the `rewwardData.periodFinish` paramater which specificies...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
false
false
## Medium: Non-Unique compressedData Can Prevent Submission ### Description The [hash of the compressed data](https://github.com/Consensys/linea-contracts-audit/blob/bb6eb7284d1ac9574dc69e654abe5ccb8d8ded1a/contracts/LineaRollup.sol#L149) is used as a key in [several mappings](https://github.com/Consensys/linea-contra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
false
false
## Medium: Multisig can execute the same proposal repeatedly ### Description ### Lines of code ### Impact In MultisigBase and its use in Multisig, the `onlySigners` modifier will reset the vote count and execute the external call when the vote threshold is met. This means that if many signers send their transaction...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
other
false
false
Source: https://github.com/sherlock-audit/2023-02-carapace-judging/issues/117 ## Found by clems4ever, chaduke, Ruhum, jprod15, Bauer, Kumpa, mert\_eren, Web3SecurityDAO ## Summary In some cases the protocol can contain zero funds while having a non zero totalSupply of STokens. In that case the protocol will not be ...
Sherlock
5
Carapace
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: Wrong design/implementation of permission control allows malicious/compromised Registry or Factory admin to steal funds from users' wallet balances ### Description _Submitted by WatchPug_ The current design/implementation allows a `market` address (registered on `registry`) to call `Vault#addValue()` and tra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Race condition may lead to content compromise ### Description `GithubHint` allows anyone to associate a hash to some external content (URL or GitHub commit). A race condition may allow an attacker to preempt a `GithubHint` transaction and associate the specified hash to malicious content. In `GithubHint.so...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
true
false
## High: `AccountableAsyncRedeemVault::fulfillCancelRedeemRequest` can de-sync request data causing permanent DOS for queue processing ### Description **Description:** `fulfillCancelRedeemRequest()` function first finalises the cancellation of the redeeem request with input `requestID`, and then calls `_reduce()` to u...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
false
false
## Low: Permit2 Signatures Could Be Front-Run to Temporarily Prevent Execution ### Description The [`Permit2Forwarder`](https://github.com/Uniswap/v4-periphery/blob/df47aa9ba521fc15ffd339dc773d32f5fc4c91fc/src/base/Permit2Forwarder.sol) contract allows setting the contract as a spender in Permit2\. It implements two 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
medium
other
true
false
## Medium: ETH can be sold during reinvestment ### Description The existing control to prevent ETH from being sold during reinvestment can be bypassed, allowing the bots to accidentally or maliciously sell off the non-reward assets of the vault. ### Impact The existing control to prevent ETH from being sold during 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
high
overflow
true
false
## High: OVERFLOW IN CALCMAXTRANSFERRABLE FUNCTION ### Description In the contract, `TimeLockToken` the function `calcMaxTransferrable()` is used to calculate the maximum amount of transferrable tokens for an address: ### Recommendation **SOLVED**: `NewOrderDAO team` solved this issue in the commit ID: [e7547837502f1...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: doesn't calculate the current borrowing amount for the provider, including the provider's borrowed shares and accumulated fees due to inconsistency in `collateralRatio` calculation ### Description ### Lines of code ### Proof of Concept Borrowers `collateralRatio` in the `liquidation()` function is calculat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: NEW STAKING SESSIONS CANNOT BE CREATED ### Description Within the `addSession` function of `LighthouseStake.sol`, the `startTime` of the session needs to be after the current timestamp, thus in the future. However, this function calls the `newPriod` function of `StakeNft.sol` which subsequently calls the `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: Additional validation should be performed on the Chainlink Functions response ### Description **Description:** When consuming a Chainlink Functions response, the following additional validation should be performed within `AutoRedemption::fulfillRequest`: * Ensure the `_token` address is either a Hypervisor wit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unsafe casting from `uint256` to `uint16` could cause ticket prizes to become much smaller than intended ### Description In `LotterySetup.sol`, the `packFixedRewards()` function packs a `uint256` array into a `uint256` through bitwise arithmetic: [`LotterySetup.sol#L164-L176`](https://github.com/code-423n4...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Lack of Upper Limit Validation ### Description The issue is identified within the [constructor](https://github.com/lidofinance/community-staking-module/blob/a898d045b63303294752d1a60ad9dfe8d8ba69ca/src/abstract/CSBondCurve.sol#L59) of the `CSBondCurve` contract. While there is a check to ensure the maximum cur...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: Attacker can make restricted calls from any wallet ### Description When the `value` is `0` in the `spend()` function, it no longer checks whether permission is approved and will make restricted calls from the wallet. In `spend()`, it first calls `_useSpendPermission()` to consume the allowances, and then ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Buyer can grief attack seller in english and blind auction ### Description After the English auction or Blind auction ends, the following occurs: - If there are any bidders, the auction **cannot** be cancelled by the seller. - Anyone can call `settleAuction()` to send the NFT to the bidder and the tokens t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: Because of the asset: `Share 1:1 Conversion`, if vault incurs a loss, the last user to withdraw will take the entire loss ### Description Because of the 1:1 conversion rate in `PoolV3`, if the pool incur a loss due to liquidation from borrowed asset through `CDPVault`, last user to withdraw will take the fu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Checks on `revision_number` ### Description **Update** Marked as "Fixed" by the client. Addressed in: `c13824e01c7f24725a62eff8d14052899a302fbe`. **File(s) affected:**`contracts/core/04-channel/IBCChannelPacketTimeout.sol`, `contracts/core/04-channel/IBCChannelUpgrade.sol` **Description:** A packe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 `uint256` variables are already initialized to 0 by default. `uint256 i = 0`, for example, reassigns the 0 to `i` which wastes gas. Code Location ------------- `UniswapV3Integration.sol` * Line 107: `uint256 amount0Withdrawn = 0;` * Line 108:...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Local Variable Updated Instead of Storage Variable in `BridgePermissions` ### Description **Update** The client fixed the issue in: `e1710108b1e9abe2e5dcec26e688e9e63b292151` with the following explanation: > Corrected as recommended in audit report, correctly setting contract field _permissions on the provid...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
true
false
## Low: Static Price Feed Decimals Configuration Limits Oracle Integration Flexibility ### Description The **GeniusVaultCore** contract hardcodes price bounds with an assumed 8 decimals precision, even if it's the default behavior of Chainlink price feeds, it is not guaranteed that in the future price feeds use the 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
other
true
false
## Medium: Use .call() instead of .transfer() to transfer native tokens in swapCurve() ### Description In the `swapCurve()` function, when the swap's output is in native tokens, it is transferred to the `to` address using `.transfer()`. ```solidity if(tokenOut == NATIVE_ADDRESS) { payable(to).transfer(amountOut); }...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: `IncentiveVoting::unfreeze` doesn't remove votes if a user has voted with unfrozen weight prior to freezing ### Description `IncentiveVoting::unfreeze` doesn't remove votes if a user has voted with unfrozen weight prior to freezing. ### Impact Users keep their past votes unexpectedly after unfreezing their...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
true
## Low: `pUSDeVault::maxWithdraw` doesn't account for withdrawal pausing, in violation of EIP-4626 which can break protocols integrating with `pUSDeVault` ### Description [EIP-4626](https://eips.ethereum.org/EIPS/eip-4626) states on `maxWithdraw`: > MUST factor in both global and user-specific limits, like if withdraw...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Hash Collision in the MiMC Library ✓ Fixed ### Description In the `hash` function of the `Mimc` library, because of the following block of code: ``` lastChunk := shr(mul(sub(0x20, remaining), 0x8), lastChunk) ``` Different `calldata` can result in the same hash. For example, by passing: `0x000000000000...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [02] Return argument count mismatch ### Description `OPFaultGameFinder::gameAtIndex` returns 5 arguments, but `IOPFaultGameFinder::gameAtIndex` only returns 4 arguments. The number of return argument variables mismatch between the interface used and the actual contract. Since the used return variables still ma...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential Mismatch in `beacon` Contract ### Description **Update** The client provided the following explanation: > In the SolvBTCFactory.sol contract, the address of the beacon contract cannot be obtained, so verification cannot be performed within the contract. We will conduct strict verification in the dep...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
false
false
## Medium: Possible underflow in supply calculations ### Description **Severity**: Medium **Status**: Resolved **Description** In contract, BurnContract.sol, in function `burn`, `currentSupplySubTargetSupply` is calculated by subtracting `TARGET_TOTAL_SUPPLY` from `currentTotalSupply`(total supply of AukiToken). If...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [06] Using an Incorrect Protobuf Library ### Description According to the documentation, gogo/protobuf is no longer maintained, posing potential risks to the project’s ongoing development and security. To ensure stability and maintainability, the Cosmos SDK team has decided to migrate the Protobuf dependency f...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
true
false
## High: `CDPVault.sol#liquidatePositionBadDebt()` doesn't correctly handle profit and loss ### Description ### Impact When liquidating bad debt, the profit and loss is not correctly handled. This will cause incorrect accounting to lpETH stakers. ### Bug Description *Note: This is based on the 2024-07 Loopfi audit ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
true
false
## Medium: levETH Cannot Be Bought. ### Description If all levETH owners sell their levETH, no one will be able to buy levETH. ### Impact The functionality of the core contract is compromised, rendering the contract useless. ### Recommendation ```diff Pool.sol function _redeem( ...) private returns(uint256) { ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Frontrun `sync()` lets attacker steal tokens before reserve update ### Description To increase reserves, the admin must first transfer tokens to the pair contract and then call `sync()` to update the reserves. However, if these actions are done in separate transactions, an attacker can frontrun the `sync()`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: initialize() functions are front-runnable ### Description There are no access control checks on `initialize()` functions used to configure the protocol during the deployment. An attacker could front-run the deployment process and call `initialize()` functions to set their own parameters, e.g. set arbitrary ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
overflow
true
false
## High: `_transferFrom()` can be used to indefinitely increase voting power ### Description It is possible to indefinitely increase voting power by creating new accounts (addresses) and delegating. This will lead to unfair governance as a user can vote with more votes than actual. ### Explanation The `_transferFrom...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: SOLC 0.8.4 COMPILER VERSION CONTAINS MULTIPLE BUGS ### Description Presently, the smart contracts have configured the floating pragma set to ^0.8.0 or fixed pragma to 0.8.4 (e.g. `DirectLoanFixedCollectionOffer.sol`). The latest solidity compiler version 0.8.16 fixed important bugs in the compiler. The version...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: forecast-implied inferences can be set to any value due to ForecastElements is not filtered by duplicate. ### Description forecast-implied inferences can be set to any value due to ForecastElements is not filtered by duplicate. ### Impact forecastValue can be set to any value due to duplication ### Recommen...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Token management di�culties caused by the addition of arbitrary tokens ### Description Transfers and balance-change operations involving certain tokens require special verification; if the owner of a contract does not carefully monitor the contract when one such token is added, those operations can unexpected...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Full Liquidation Won't Sweep the Whole Debts With Leaving Some, And Will Wrongly Set Borrowing as False ### Description When a liquidator tries to full liquidation (to cover full debts), there will leave some uncovered debts and the liquidation will wrongly set borrowing status of the debt asset as false. ##...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: Setting new controller can break YVaultLPFarming ### Description ## Lines of code https://github.com/code-423n4/2022-04-jpegd/blob/e72861a9ccb707ced9015166fbded5c97c6991b6/contracts/farming/yVaultLPFarming.sol#L170 https://github.com/code-423n4/2022-04-jpegd/blob/e72861a9ccb707ced9015166fbded5c97c6991b6/cont...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Once a `RecoverySpell` is deployed, all spells on all chains may be deployed ### Description **Impact** RecoverySpells are meant to be used in a time of emergency For various reasons a recovery may need to be performed exclusively on one chain However, calling `createRecoverySpell` will leak key details abo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: PLP transfer or balance updates do not update reward index ### Description [Link](https://github.com/Hyperhyperfi/protocol/blob/212acfdcd4066334ff5ea06ce46b0bbca7ca212f/src/core/pool/facets/LiquidityFacet.sol#L397-L408) The reward calculation in `_getPendingRewards` depends on two key factors: the user's PLP...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Makefile: Target Order ### Description The target `all` in the Makefile ostensibly wants to run the targets `clean` and `solc` in that order. ``` all: clean solc ``` However prerequisites in GNU Make are not ordered, and they might even run in parallel. In this case, this could cause spurious behavior like ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: Remove from storage `baseMetadataURI` as already stored in `ERC1155` and `name` as never used ### Description **Description:** Remove from [storage](https://github.com/Earnft/smart-contracts/blob/43d3a8305dd6c7325339ed35d188fe82070ee5c9/contracts/MysteryBox.sol#L53-L54) `baseMetadataURI` as already stored 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
access-control
false
false
## Low: iOS - BACKGROUND SCREEN CACHING ### Description Background screen caching occurs when an iOS application’s screen is captured and displayed as a preview in the App Switcher view. While this feature provides a smooth user experience, it poses a potential security risk when sensitive information, such as user de...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
true
false
## Medium: Operator key change might cause loss of access to unclaimed rewards ### Description The `claimRewards()` function in the `ODefaultOperatorRewards` contract relies on `operatorByKey()` to resolve the operator's address from the provided `operatorKey`. However, this approach is fragile when operator keys are ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
true
false
## Medium: `oracleCircuitBreaker`: Not checking if price information of asset is stale ### Description ### Proof of Concept At `getOraclePrice`, it does not check if the `timeStamp` of asset token price oracle is in a stale. If it uses outdated price information, users will trade at the wrong price. The `oracleCir...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Unused `factory` storage in `L2RevenueDistributorV3` ### Description `L2RevenueDistributorV3` stores [`IAerodromeFactory public factory`](https://github.com/0xKaizenLabs/staking-contracts-v3/blob/c78653ed5f2e5a6d5ace13c303a8765fe30679b0/src/L2RevenueDistributorV3.sol#L54) and accepts it in `initialize`, but ne...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Recommendation: Merge TxPosLib into UtxoPosLib and implement a decode function with range checks. ### Description `TxPosLib` and `UtxoPosLib` serve very similar functions. They both provide utility functions to access the block number and tx index of a packed utxo position variable. `UtxoPosLib`, additionally,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: NodeRegistry - URL can be arbitrary dns resolvable names, IP’s and even localhost or private subnets ✓ Fixed ### Description As outlined in [issue 6.9](#noderegistry---multiple-nodes-can-share-slightly-different-rpc-url) the `NodeRegistry` allows anyone to register nodes with arbitrary URLs. The `url` is then...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Redundant function logic ### Description The function `getTransactionIds()` contains redundant logic. This function will always return an array of integers from `0` to `number` if `number` is less than `transactionCount`. As `count` will always be equal to `i`, the resulting array will always be of the form `[...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Accumulative reward setting to prevent overwrite and support incremental updates ### Description **Description:** The `Rewards::setRewardsAmountForEpochs` function allows an authorized distributor to set a fixed reward amount for a specific number of future epochs. This is typically called to define reward ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TRST-M-7 attackers can delay or disrupt hedging activity by abusing mutual exclusion with updateCollateral() ### Description **Description:** `hedgeDelta()` is the engine behind the PoolHedger.sol used to offset exposure. GMX increase / decrease position requests are performed in two steps to minimize slip...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Hardcoded and Potentially Vulnerable Slippage and Deadline Parameters ### Description In `UniswapNFTManager.sol` and `BoostManager.sol`, `increaseLiquidityParams()` and `decreaseLiquidityParams()` have their `minAmounts` hardcoded to 0, and the `deadline` is set as `block.timestamp`. This is dangerous, as it 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...
cyfrin_structured
medium
access-control
true
false
## Medium: `StrategyPassiveManagerUniswap` gives ERC20 token allowances to `unirouter` but doesn't remove allowances when `unirouter` is updated ### Description `StrategyPassiveManagerUniswap` gives ERC20 token [allowances](https://github.com/beefyfinance/experiments/blob/14a313b76888581b05d42b6f7b6097c79f3e65c6/contr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Missing Zero Address Checks In Checkpoint Oracle ### Description The WebSocket client of a TSS node employs an exponentially increasing time delay for reconnect attempts. When attempting to reconnect the WebSocket client of a TSS node, there is an exponentially increasing time delay to prevent accidental DoS 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
other
true
false
## Low: The `gasLeft()` after gas-limited external call might not be enough to complete the transaction ### Description In `StargateArbitrum::sgReceive` we have the following piece of code Now if the `arbitrumSwaps` call took up all of the gas it is possible that there is not enough gas left for the `safeTransfer` c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: `LockZap.quoteFromToken()` uses incorrect API for estimations ### Description Users are able to specify another `token` to be paired with RDNT tokens for adding liquidity. `quoteFromToken(address _token, uint256 _amount)` assists with estimating the `token` amount needed for this pairing. The quoted amount i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Custom Errors ### Description **Severity** : Informational **Status**: Acknowledged **Description** Throughout the codebase, `require` statements are used instead of custom errors. Custom errors are available from solidity version ^0.8.4. The contracts are on solidity version ^0.8.0 but are using a form 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
other
true
false
## Low: Constant redefined elsewhere ### Description Consider defining in only one contract so that values cannot become out of sync when only one location is updated 1. File: src/Funding.sol (lines [21-22](https://github.com/code-423n4/2022-04-badger-citadel/blob/dab143a990a9c355578fbb15cd3c884614e33f42/src/Funding...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Privileged Roles and Ownership ### Description **Update** Marked as "Mitigated" by the client. Addressed in: `dd662b87f14a5e86c79de21cab9cd88506c9ee22`. The client provided the following explanation: > Ownership will be transferred to Gnosis Safe multisigs after deployment. The multisigs use a 3 of 5 signing ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: VULNERABLE THIRD-PARTY DEPENDENCIES ### Description The scoped repository uses multiple third-party dependencies. Using vulnerable third-party libraries can result in security vulnerabilities in the project that can be exploited by attackers. This can result in data breaches, theft of sensitive information,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: AMM - Liquidity provider may lose up to lotSize when removing liquidity  Acknowledged ### Description When removing liquidity, the amount of collateral received is calculated from the `shareAmount` (ShareToken) of the liquidity provider. The liquidity removal process registers a trade on the amount, with 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: Incomplete Interest Implementation ### Description ## Lending Protocol Implementation The value of debt and deposits does not increase over time in the current implementation. However, it is crucial to implement interest to maintain the economy of a lending protocol. Without interest, users are less incentivi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Contract Ownership Can Be Renounced and Lost ### Description **Update** The client acknowledged the issue and stated that this is desired, as eventually the ownership is supposed to be renounced to the zero-address. **Update** The client provided the following explanation: > As mentioned in QS22, we are pla...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
oracle-manipulation
true
true
## Low: Liquidation reverts if collateral price feed returns 0 ### Description Liquidation reverts if collateral price feed returns 0. Generally this should never happen as Chainlink price feeds have a `minAnswer` they should always at least return. However since a trader can have a basket of different collateral, 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
low
initialization
true
false
## Low: StrategyBase – Inheritance-Related Issues ### Description A. The `StrategyBase` contract defines `view` functions that, given an amount of shares, return the equivalent amount of tokens (`sharesToUnderlyingView`) and vice versa (`underlyingToSharesView`). These two functions also have non-`view` counterparts: ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
true
false
## Medium: `sync` function in `RdpxV2Core.sol` should be called in multiple scenarios to account for the balance changes that occurs ### Description The function `sync` is used in `RdpxV2Core.sol` to synchronize the balances of the reserve assets stored in the contract, but it is not called in all of the situations wh...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Old yield source still has infinite approval ### Description _Submitted by tensors, also found by hickuphh3, cmichel and GalloDaSballo_ After swapping a yield source, the old yield source still has infinite approval. Infinite approval has been used in large attacks if the yield source isn't perfectly safe ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Early depositors to DnGmxSeniorVault can manipulate exchange rates to steal funds from later depositors ### Description To calculate the exchange rate for shares in DnGmxSeniorVault it divides the total supply of shares by the totalAssets of the vault. The first deposit can mint a very small number of share...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
true
false
## High: Direct theft of User's VestedZeroNFT by using split function to mint a new NFT to take most fraction of the theft NFT of other users ### Description Report type: Smart Contract Target: https://github.com/zerolend/governance Impacts: - Direct theft of any user NFTs, whether at-rest or in-motion, other than ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: L1Migrator.migrateLPT` can be used to take away protocol's access to LPT tokens in BridgeMinter ### Description _Submitted by Ruhum, also found by gzeon and harleythedog_. Same thing as the ETH issue I reported earlier. I wasn't sure if those are supposed to be a single issue or not. The concept is the sam...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Functions Silently Fail ### Description **Update** Acknowledged by the client. The client provided the following explanation: > Abort for unchanged state seems unnecessary. And in PTB if a moveCall abort the whole transaction fails. For example, we want to add checks to all CDP vaults and put all CDP vaults 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
gas
other
true
false
## Gas: Upgrade pragma ### Description Using newer compiler versions and the optimizer give gas optimizations. Also, additional safety checks are available for free. The advantages here are: - **Low level inliner** (>= 0.8.2): Cheaper runtime gas (especially relevant when the contract has small functions). - **Optim...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Function getMultiplier() can be restricted to "pure" ### Description At the line https://github.com/Layer3Org/spiritswap-core/blob/a23463f87fd3c7633e97fab5e8124b4499e1519e/SPIRITMasterChef.sol#L1251 the "view" modifier is used for function restriction, but when a function does not read any storage data, it's 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
medium
liquidation
false
false
## Medium: Insufficient incentives to liquidator ### Description The [`Holdefi` contract](https://github.com/holdefi/Holdefi/blob/f4df394d7cf6df347b1f1e9af8e2676c5933c2c9/contracts/Holdefi.sol) implements the [liquidation process](https://github.com/holdefi/Holdefi/blob/f4df394d7cf6df347b1f1e9af8e2676c5933c2c9/contrac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: No `amount(0)` validation for tokenAmount ### Description **Severity**: Informational **Status**: Resolved **Description** In Contract Pool.sol, the method `loop(...)` has a parameter `tokenAmount` which needs to be validated to be greater than 0. **Recommendation**: Add the validation to check if `token...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `beforeTransfer` is checked inside the bridge ### Description When users call `depositAndBridge`, they will immediately deposit the token to the vault, and the shares minted will be immediately provided to the bridge function to bridge the shares to the destination chain. However, the bridge function will al...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
## Medium: Bridge messages can be permanently lost ### Description The `MultiChainHyperlaneTellerWithMultiAssetSupport` contract includes a pause mechanism that blocks all message handling through the `_beforeReceive` check in the `handle` function: ```solidity function handle(uint32 origin, bytes32 sender, bytes c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing checks for ### Description [L-06] Missing checks for address(0x0) when assigning values to address state variables There are 6 instances of this issue: File: contracts/NibblVault.sol 191: assetAddress = _assetAddress; 193: curator = _curator; 487: curator = _newCurator; https://github.com/code-42...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Function createLiquidVestingToken from LiquidVestingTokenFactory could be optimized, if the length of the name array is to large, the function will revert with out of gas. ### Description **Recommendation**: Make the operations O(1). **Partner response for this issue**: It is better to use O(n) operations 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: No way to revoke approval for unsupported assets ### Description In `BoringVaultCrossChainDepositor` anyone can set max approvals if the token is supported on Teller: But Teller can either add supported assets or remove them. For removed, assets consider revoking approvals.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Miscellaneous Typos ### Description This section notes various small and insignificant typos found as a by-product of the review. We include it in an attempt to improve the overall code readability. - Minor typographical errors were noticed in comments on lines [45] (callabe), [178], [191] (lenght), [207] (us...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Missing Zero-Address Checks ### Description The issue was identified within the [`initialize`](https://github.com/dforce-network/OFT/blob/2ff5d7a8f9a509006557bf5de72fabf40d1138a5/src/sUSX.sol#L74-L75) function of the `sUSX` contract. There are no checks for zero-address values for the `_usx` and `_msdControll...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Borrower Lacks Capability to Cancel Requests ### Description **Update** Marked as "Fixed" by the client. Addressed in: `7916710f87139597202127455a5e18a0ed844f1c`. The borrower can now also cancel requests. **File(s) affected:**`MultiSourceLoan.sol`, `BaseLoan.sol` **Description:** The `LoanOffer` struct use...
0