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
medium
logic
true
false
## Medium: Wrong formula of `getSharesForAmount()` can potentially cause fund loss when being used to calculate the `shares` to be used in `withdraw()` ### Description _Submitted by WatchPug_ In `Collateral`, the getter functions `getAmountForShares()` and `getSharesForAmount()` is using `totalAssets()` instead 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
initialization
false
false
## Low: Use of uninitialized state variables in fee calculation ### Description The [`computeRegularFee` function](https://github.com/UMAprotocol/protocol/blob/9d403ddb5f2f07194daefe7da51e0e0a6306f2c4/core/contracts/oracle/implementation/Store.sol#L85) of the `Store` contract is in charge of computing the regular orac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Newline Handling ### Description ## Snap Dialog Vulnerability The Snap does not handle newlines properly inside Snap Dialog, which may allow for easier message spoofing and phishing attacks by integrating arbitrary text into the rest of the message. This may deceive users into taking certain actions 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
initialization
true
false
## Low: Missing zero address validation for authorized signer in `WorldLibertyFinancialV2.initialize()` ### Description **Description:** The `WorldLibertyFinancialV2::initialize()` function does not validate that the `_authorizedSigner` parameter is not the zero address. This parameter is critical for the activateAcc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Solmate's `SafeTransferLib` doesn't check whether the ERC20 contract exists ### Description Solmate's SafeTransferLib, which is often used to interact with non-compliant/unsafe ERC20 tokens, does not check whether the ERC20 contract exists. The following code will not revert in case the token doesn't exist (ye...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Cache storage values in memory to minimize SLOADs ### Description The code can be optimized by minimizing the number of SLOADs. SLOADs are expensive (100 gas after the 1st one) compared to MLOADs/MSTOREs (3 gas each). Storage values read multiple times should instead be cached in memory the first time (costin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Loose restriction on fees ### Description Currently, fees on buys and won auctions are not restricted and can be arbitrarily set for up to 100% via the `assertBidInputsOK` function in the [`BuyNowBase`](https://github.com/freeverseio/crypto-payments/blob/956a98e53ef540f7b2b40f3b923d0b0e3e5d32ef/contracts/buyNo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
reentrancy
true
false
## High: Malicious users can steal reward tokens via re-entrancy attack ### Description Malicious users can steal reward tokens via re-entrancy attack. ### Impact Reward tokens can be stolen by malicious users. ### Recommendation Add re-entrancy guard on the `claimAccountRewards` function to prevent anyone from re-e...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
high
Gas Limit
false
true
[HolographOperator.sol#L415](https://github.com/code-423n4/2022-10-holograph/blob/f8c2eae866280a1acfdc8a8352401ed031be1373/contracts/HolographOperator.sol#L415)<br> When a beaming job is executed, there's a requirement that the gas left would be at least as the `gasLimit` set by the user. Given that there's no limit ...
Code4rena
5
Holograph
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [12] `check_can_edit_long()` and `check_can_edit_short()` have the same logic ### Description The NFT owner can't un-list the LongRent only or `ShortRent`. So, in case I have only one going `ShortRent` and I want to unlist my NFT from the `LongRent`; it is not possible because both `check_can_edit_long()` and ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Unused L2Messages can be committed to L1 ### Description In the [`ExecutorFacet` contract](https://github.com/matter-labs/zksync-2-dev//blob/c05b49d7e303996f60a0e35f18ef224e45ee19f5/contracts/ethereum/contracts/zksync/facets/Executor.sol) the validator provides multiple blocks of type [`CommitBlockInfo`](https...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Misleading Variable Name in Withdrawal Approver Contract ### Description The issue is identified within the state variable declaration of contract `EnjoyoorsWithdrawalApprover`. The contract uses the variable name `withdrawalPeriodSeconds` which does not accurately reflect its actual purpose. This variable re...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
true
false
## Low: Deprecated Functions ### Description **Update** Addressed in: `c8952877d77aa0db86304fb3a2bf4ce06fb7b1e4`. **File(s) affected:**`ERC1155BaseToken.sol`, `ERC1155Items.sol`, `ERC1155Sale.sol`, `ERC20BaseToken.sol`, `ERC20Items.sol`, `ERC721BaseToken.sol`, `ERC721Items.sol`, `ERC721Sale.sol` **Description:** Sev...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: set cap breaks vault's Balance ### Description _Submitted by jonah1005, also found by 0xsanson_ #### Impact In controller.sol's function `setCap`, the contract wrongly handles `_vaultDetails[_vault].balance`. While the balance should be decreased by the difference of strategies balance, it subtracts the rema...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users can provide old price feeds to trade in their favor ### Description **Description:** The function [set_underlying_px](https://github.com/deriverse/protocol-v1/blob/30b06d2da69e956c000120cdc15907b5f33088d7/src/state/instrument.rs#L224) is being called from many places in code, its setting the underlyin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Partially Implemented feeRate ### Description Description The variable feeRate has only been implemented in the function makeOrder() . This variable is not used in the functions takeOrder() and matchOrders() The impact is that users are not being charged the allocated fee when taking or matching orders. Recomm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: Accrued liquidity can be lost and never be recovered for a given tick period. ### Description Accrued liquidity can be lost and never be recovered for a given tick period due to not incrementing `tickTrackingIndex`, which sets the tick end timestamp to `nextweek` and will start accruing liquidity for next t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
initialization
false
false
## Gas: Remove arrays check. ### Description `InitCore._validateFlash` function [does arrays check](https://github.com/code-423n4/2024-01-init-capital-invitational/blob/main/contracts/core/InitCore.sol#L573). This line can be removed and there will be no problems with that even if sizes will be different. **[fez-init...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: PolygonConnector does not properly use channels ### Description The Polygon connector does not read from the `PollSubscription.quit` channel, nor does it write to the `PollSubscription.unsubDone` channel. A caller who calls `Unsubscribe` on the `PollSubscription` could hang. A `PollSubscription` struct conta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Package’s `currentMPR` can be 0 ### Description **Severity**: Low **Status**: Resolved **Description** In Contract YollloStaking.sol, the method `purchasePackage(...)` allows to purchase a package and sets the currentMPR for a package using the following formula: Here if tier.passiveAPR is less than 12 whi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Observations regarding queueValCommission() ### Description In BeraChef, if `queueValCommission()` is called for `valPubKey` where there is already a queued commission change, the function will revert: ```solidity /// @inheritdoc IBeraChef function queueValCommission(bytes calldata valPubkey, uint96 commissio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use safeTransfer/safeTransferFrom consistently instead of transfer/transferFrom ### Description Use safeTransfer/safeTransferFrom consistently instead of transfer/transferFrom ### Impact If the token send fails, it will cause a lot of serious problems. For example, in the clear function, if debt token is ZRX...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Reduce the size of error messages (Long revert Strings) ### Description Shortening revert strings to fit in 32 bytes will decrease deployment time gas and will decrease runtime gas when the revert condition is met. Revert strings that are longer than 32 bytes require at least one additional mstore, along with...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: Multiple accesses of a mapping/array should use a local variable cache ### Description The instances below point to the second+ access of a value inside a mapping/array, within a function. Caching a mapping's value in a local `storage` or `calldata` variable when the value is accessed [multiple times](https://...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
true
false
## High: Approved spender can spend too many tokens ### Description _Submitted by cmichel, also found by WatchPug, jonah1005, gzeon, and TomFrench_ The `approve` function has not been overridden and therefore uses the internal *shares*, whereas `transfer(From)` uses the rebalanced amount. #### Impact The approved spe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Insufficient Input Validation on proposalId in Voting Functions ### Description Description When voting on an non-existent proposal, the related transaction on the Gov contract does not revert. This results in the user’s lock up period being increased by lockDuration (see line [ 258]), even though their rel...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [Fixed] Factorize Repo ownership into modifier ### Description In several functions of the `OptionsContract`, such as [`issueOTokens`](https://github.com/opynfinance/Convexity-Protocol/blob/c34598565cba2bfcf824eb2da63d95c7f5dda4fa/contracts/OptionsContract.sol#L299), the function is marked as public but furthe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insufficient use of NatSpec and comments on complex code blocks ### Description Many low-level functions, such as `WellDeployer::encodeAndBoreWell`, are missing NatSpec documentation. Additionally, many math-heavy contracts and libraries can only be easier to understand with NatSpec and supporting comments. *...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [G‑08] `<x> += <y>` costs more gas than `<x> = <x> + <y>` for state variables ### Description Using the addition operator instead of plus-equals saves **[113 gas](https://gist.github.com/IllIllI000/cbbfb267425b898e5be734d4008d4fe8)** *There is 1 instance of this issue:*
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: The formula for forecast normalization differs from the one in the whitepaper. ### Description The formula for forecast normalization differs from the one in the whitepaper. ### Impact The incorrect base formula for calculating weights based on regrets ### Recommendation Implement from whitepaper or chang...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious Manager Can Pass Any Proposal and Drain Funds ### Description **Update** The client fixed the issue in commit `b4eb42c56d6265c4a42d8867281bd48c5e2dc913` by updating the `voteRecord` mapping to reflect that a manager has voted on a proposal, preventing them from voting more than once. **File(s) af...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
front-running
false
false
## High: Fees can be changed during the batch ✓ Fixed ### Description Shareholders can vote to change the fees. For buy orders, fees are withdrawn immediately when order is submitted and the only risk is frontrunning by the shareholder’s voting contract. For sell orders, fees are withdrawn when a trader claims an or...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Efficiency Concern With NDC Iteration ### Description The code segment from line [111-118] in the LRTDepositPool contract involves iterating over Node Delegator Contracts (NDCs) to compute asset distributions. This iterative approach can become gas-intensive and potentially exceed block gas limits as 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
high
other
true
false
## High: `VotingEscrow`'s merge and withdraw aren't available for approved users ### Description _Submitted by hyh, also found by hansfriese, rotcivegaf, and WatchPug_ Users who are approved, but do not own a particular NFT, are supposed to be eligible to call merge and withdraw from the NFT. Currently \_burn(), use...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: File: UUPSUpgradeable.sol ### Description ### function upgradeToAndCall() ### Use `calldata` instead of `memory` for external functions where the function argument is read-only Here, `bytes memory data` should be `bytes calldata data`
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
true
false
## Low: It may be possible to exploit external call in `CallImpl::call` ### Description [`CallImpl::call`](https://github.com/feat/dolomite-margin/blob/e10f14320ece20d7492e8e68400333c5c7dec656/contracts/protocol/impl/CallImpl.sol#L39) contains the following logic: ```solidity state.requireIsOperator(args.account, msg....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Deposits will always revert if the amount being deposited is less than the `bufferToFill` value ### Description The [`deposit`](https://github.com/code-423n4/2024-04-renzo/blob/1c7cc4e632564349b204b4b5e5f494c9b0bc631d/contracts/RestakeManager.sol#L491) function in the `RestakeManager` contract enables users...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Data structure that often used but never filled ### Description **Lines**: PinkChef.sol#51 mapping(address => mapping(address => UserInfo)) vaultUsers; **Recommendation**: Add method to change data structure.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
storage
false
false
## Gas: Storage ### Description Consider a storage reference in `SubprotocolRegistry` for [`SubprotocolData memory subprotocolData`](https://github.com/code-423n4/2023-01-canto-identity/blob/dff8e74c54471f5f3b84c217848234d474477d82/src/SubprotocolRegistry.sol#L89). This would be cheaper in the case of `SubprotocolAlre...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LibMathSigned - wpowi returns an invalid result for a negative exponent  Pending ### Description `LibMathSigned.wpowi(x,n)` calculates Wad value `x` (base) to the power of `n` (exponent). The exponent is declared as a signed int, however, the method returns wrong results when calculating `x ^(-n)`. The co...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: The Solidity version should be updated. ### Description **Description** Best practices for Solidity development and auditors standard checklist requires strict and explicit usage of the latest stable version of Solidity, which is 0.8.11 at the moment. **Recommendation**: Consider updating to “pragma solidit...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Checks-Effects-Interactions Pattern Violation ### Description **Update** The client provided the following explanation: > Decided to accept the risk without engaging in special efforts to control it **File(s) affected:**`IFFundable.sol` **Description:** The [Checks-Effects-Interactions](https://solidity.rea...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Event Emission ### Description The **bithive** contract implements owner-only functions that modify critical state variables without emitting events. The affected functions are the following: * `change_owner` * `set_btc_light_client_id` * `set_bip322_verifier_id` * `set_chain_signatures_id` * `set...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Medium: Validator and protocol fees can exceed 100 percent of rewards in `PolygonStrategy.sol` ### Description **Description:** The `setValidatorMEVRewardsPercentage` function in `PolygonStrategy.sol` allows setting the validator MEV rewards percentage up to 100% (10,000 basis points), but does not account for the ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
true
false
## Medium: `vMaia` Lacks of override in `forfeitBoost` ### Description Lack of override in `forfeitBoost`. When needed, `forfeit` will `underflow`. ### Proof of Concept In `vMaia`, override the `claimBoost()` code to be empty to avoid failing. The code and comments are as follows: But it does not override the cor...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users Choosing Which LRT Token to Withdraw May Harm Other Users ### Description The function `withdrawLRT()` allows users to burn the `bldETH` amount and get in return an equal value of LRT tokens, users can decide which LRT token they want to get by setting the `assetToWithdraw` variable in the `withdrawLRT()...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: (HAL-05) MULTIPLE TLS MISCONFIGURATION ### Description Deprecated TLS Versions Offered is a security vulnerability that occurs when a server or application continues to support outdated and insecure versions of the Transport Layer Security (TLS) protocol. This exposes users to potential man-in-the-middle attac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inadequate Input Validation in `setStakingConfig` Function ### Description **Severity**: Low **Status**: Resolved **Location**: PoolBase.sol **Description** The `setStakingConfig` function in the `PoolBase.sol` contract lacks proper input validation for the `_index` parameter. The `_index` parameter is use...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unimplemented receive() Functions in Unstaking Adapters ### Description The unstaking adapters **UnstakeStETH** and **UnstakeSwETH** do not implement the `receive()` and `onERC721Received()` functions that are required to unstake stETH and swETH. This is not an issue currently as the inheriting contract **LRTC...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Minimum deposit value not enforced in `LINKMigrator` ### Description The `LINKMigrator` contract includes a `queueDepositMin` field intended to define the minimum deposit amount. However, this value is currently unused, allowing users to deposit amounts as small as 1 juel (1e-18 LINK). ### Impact Without enfo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ```withdraw``` eToken before ```withdrawFee``` of eToken could render ```withdrawFee``` of eToken unfunctioning ### Description _Submitted by Kumpa_ ### Vulnerability Details `withdrawFee` of eToken requires the amount of eToken in `Lender.sol` >= `fees[eToken]` so `Safe.transfer` will not revert. Howeve...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wallet information accessible in locked state ### Description It is possible to interact with the locked Uniswap wallet browser extension. For example, when connected to a dapp, the locked extension still allows a website to return a user's address (Figure 8.1). However, during the audit, we did not find that ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
true
false
## Medium: GovNFT: maxBridge has no effect ### Description In GovNFT, setMaxBridge function is provided to set maxBridge, but this variable is not used, literally it should be used to limit the number of GovNFTs crossing chain, but it doesn't work in GovNFT. ### Proof of Concept ### Recommended Mitigation Steps...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Forcing a borrower to pay a huge debt via the giveLoan() ### Description The `Lender::giveLoan()` can be used by a rogue lender to force a borrower to pay a huge debt to repay their loan. Otherwise, their loan's collateral tokens will be seized. ### Impact An attacker (rogue lender) can execute the `giveLoan...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: All locked LP tokens can be withdrawn during a migration ### Description HoneyLocker migrations are authorized based on the codehashes of the contracts: ```solidity function migrate(address[] calldata _LPTokens, uint256[] calldata _amountsOrIds ,address payable _newHoneyLocker) external onlyOwner { // chec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Dependencies With Publicly Known Vulnerabilities (Out of Scope) ### Description ### 3.2 Description The snaps project defines a dependency (`@truffle/[[email protected]](/cdn-cgi/l/email-protection)` within the `yarn.lock` file vulnerable to publicly known weaknesses rated as `High` or `Medium` in the CVSS ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lifivalidator.validatetx performs an incorrect receiver check for lifi over stargate/celer/amarok bridging ### Description LiFi is a liquidity bridge that acts as a wrapper on top of many bridges. Among them is Stargate, which itself is built upon the messaging mechanism of LayerZero. When calling LiFi over ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Reserved Fee Tier Misuse ### Description The `setFeeTier` function allows the assignment of fee tier `1` to any account. This tier is reserved for `VW_FEE_TIER`, automatically assigned when `_isVirtualWallet` returns `true`. Allowing manual assignment undermines the logic and integrity of the reserved fee 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
other
false
false
## Medium: OFT Transfer Might Revert Due to Non-Zero ZRO Token Fee Quote ### Description The `OFTTransportAdapter` contract implements the [`_transferViaOFT` function](https://github.com/across-protocol/contracts/blob/c5d7541037d19053ce2106583b1b711037483038/contracts/libraries/OFTTransportAdapter.sol#L57), meant to 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
high
overflow
false
false
## High: Yield spread cannot be decrease without causing significant loss to the stUSDC pool ### Description **Details** [StUsdc.sol#L313-L324](https://github.com/stakeup-protocol/stakeup-contracts/blob/b4d8a83e9455efb8c7543a0fc62b5aea598c7f49/src/token/StUsdc.sol#L313-L324) function _liveTbyValue(IBloomPool pool)...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Initialization functions can be front-run if the contracts are not deployed and initialized atomically ### Description All the upgradeable contracts across the Holograph codebase implement initialize functions. However, as these contracts do not implement the `disableInitializers()` modifier their initializati...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
false
false
## Low: Direct Communication with EigenDA Disperser in RetrieveBlob ### Description The rollup service [leverages `RetrieveBlob`](https://github.com/mantlenetworkio/mantle-v2/blob/c77cb6e9f44a60f6d25de54bd3d52731de8bdda9/op-node/rollup/derive/calldata_source.go#L534) to retrieve blobs from EigenDA in order to reconstr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
false
false
## Low: Consider replacing IERC20.approve with SafeERC20.forceApprove for external tokens ### Description Some ERC-20 tokens (like USDT) revert if you try to set an allowance (by calling `IERC20.approve`) from a non-zero value to another non-zero value without first resetting it to zero. This may cause a denial of ser...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Duplicated functions pose future risk of diverging ### Description The `TroveManager` and `BorrowerOperations` contracts both contain a function to calculate the current TCR. Although they currently are identical in terms of outcome, they differ in their implementation. This could pose future problems in case ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
false
false
## Low: Natspec enhancements ### Description * [`onUSD_Factory::deployonUSD`](https://github.com/ondoprotocol/rwa-internal/blob/a74d03f4a71bd9cac09e8223377b47f7d64ca8d4/contracts/globalMarkets/onUSDFactory.sol#L54-L76) is missing the `complianceView` parameter in its natspec. * [`onUSD_Factory.onUSDDeployed`](https://...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Duplicate code ### Description Duplicate code, i.e. using the same code structures in several places. Combining these structures will improve your code. The use of duplicate code structures impairs the perception of the program logic and can easily lead to errors in subsequent code edits. Duplicate code violat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Any ERC1155 tokenId can be used for token-gated claims ### Description For `ERC1155` NFTs, different IDs usually have unique attributes that represent them. The `claim()` function in the `Claim` contract allows to pass any `_tokenId` value for the token-gated validation: Consider the admins of the `Claim` 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
front-running
true
false
## High: function `withdrawETH` from `GiantMevAndFeesPool` can steal most of eth because of idleETH is reduced before burning token ### Description The contract GiantMevAndFeesPool override the function totalRewardsReceived: return address(this).balance + totalClaimed - idleETH; The function totalRewardsReceived 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
token
true
false
## Low: logic uses selectors instead of interface ids ### Description When a user installs a policy in the SmartSession codebase, ERC-165 is used to ensure that the policy implements the expected interface. According to the ERC-165 specification, these types of queries should be based on an interface identifier, which...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Incorrect Requirement for Parameter Check in `Pool.initialize()` Function ### Description **Update** Fixed in `516ad5dd565c4444bff8b13946fbbdbf7889583d`. **File(s) affected:**`Pool.sol` **Description:** In the `Pool.initialize()` function, there is an incorrect requirement statement that checks the wrong var...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: First xERC4626 deposit exploit can break share calculation ### Description _Submitted by VAD37_ Solmate `convertToShares` [function](https://github.com/Rari-Capital/solmate/blob/12421e3edee21cfb99bf5a6edd6169e6497511de/src/mixins/ERC4626.sol#L133) follow the formula: `assetDepositAmount * totalShareSupply ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [19] Multiple instances of where messages within `require` are not descriptive ### Description ### Proof of Concept This is fairly rampant in code, taking the `Admin.sol` as the primary case to prove this bug. Take a look at these instances: Other instances can be scoped out by using this search keyword: [h...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Possible DoS When calling `GammaTradeMarket::_removePosition` will cause user position to not be able to get liquidated ### Description ### Impact Griefing/DOS attack is possible when, a malicious user creates many very small positions, which could cause excessive gas consumed and even transactions reverte...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: QuestFactory is suspicious of the reorg attack ### Description The `createQuest` function deploys a quest contract using the `create`, where the address derivation depends only on the `QuestFactory` nonce. At the same time, some of the chains (Polygon, Optimism, Arbitrum) to which the `QuestFactory` will ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Position not deleted after debt paid ### Description In `_paymentAH` function from LienToken.sol, the `stack` argument should be storage instead of memory. This bug was also disclosed in the Spearbit audit of this program and was resolved during here: , but was later re-introduced here. Marking it as high-...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Revert Inside Hook
true
true
A credit line can be closed by using the `LineOfCredit.depositAndClose()` or `LineOfCredit.close`. The remaining funds deposited by the lender (`credit.deposit`) and the accumulated and paid interest are transferred to the lender. However, if the used credit token `credit.token` is native ETH (or an ERC-777 token wit...
Code4rena
5
Debt DAO
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Event Emissions for Critical Actions ### Description **Severity**: Low **Status**: Resolved **Description**: YieldToken.sol lacks event emissions for key actions such as `whitelisting/unwhitelisting` addresses and enabling/disabling the whitelist. Events are crucial for off-chain monitoring and 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
true
false
## Low: MISSING FEE RATES SANITY CHECKS ### Description The exchange charges handling fees on certain operations. Fee rates are set by the contract owner and can be updated anytime. None of the setter functions does the sanity check of the provided fee rates, which may lead to contract owners introducing prohibitive 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
high
token
true
false
## High: Utilization of Incorrect Authority for Token Transfers ### Description ## SPL Compression Vulnerability `compress_spl_tokens` is intended to transfer SPL tokens from a specified token account (`compress_or_decompress_token_account`) to a token pool account (`token_pool_pda`) to compress tokens. In the 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
high
other
true
false
## High: Unrestricted Access to trackUnseenRewards Cause Rewards Loss ### Description The `trackUnseenRewards` function can be called by anyone, and it does not update the `rewardPerTokenStored` value for users. A malicious user can exploit this by sending a small amount of tokens to the contract, triggering `_handleU...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Pause
false
false
Source: https://github.com/sherlock-audit/2022-11-isomorph-judging/issues/234 ## Found by hansfriese, rvierdiiev ## Summary The protocol charges interest from users using `virtualPrice` and it increases when the protocol is paused. As a result, users would be forced to pay more interests and experience an unexpe...
Sherlock
4.5
Isomorph
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
logic
false
false
## Medium: Incorrect calculations in `debtCeiling` ### Description Incorrect `debtCeiling` value will prevent users from withdrawing Guild tokens out of the gauge. ### Proof of Concept If there is a loan in the gauge and user wants to decrement the weight, we need to check it's ceiling first: // check if gauge i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: UTP account constraints ### Description ## UtpMangoActivate and UtpZoActivate Instructions In the UtpMangoActivate and UtpZoActivate instructions, there are no constraints that check that the passed-in accounts are under the ownership of respective protocols and that data is empty. It is better to check them ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Separate stake and prepayment [core] ### Description The [`StakeManager` contract](https://github.com/eth-infinitism/account-abstraction/blob/8832d6e04b9f4f706f612261c6e46b3f1745d61a/contracts/StakeManager.sol) holds ETH on behalf of users for two different reasons: * Paymasters lock a deposit as an anti-...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Admin can break _numberOfValidTokens ### Description ## Handle cmichel ## Vulnerability details The `ProtocolGovernance._numberOfValidTokens` can be decreased by the admin in the `ProtocolGovernance.removeFromTokenWhitelist` function: This function can be called repeatedly until the `_numberOfValidTok...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Modifying System Parameters Can Lead To Dangerous Behavior ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > _We will notify users & community about system parameter updates before we execute them. Also, we will use multi-sig wallet as our 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
high
other
true
false
## High: Incorrect user accounting in `withdraw` method ### Description **Proof of Concept** The `withdraw` method in `NYProfitTakingVaultBaseV1` does incorrect user accounting in the following line: In the `deposit` method we use the `user.amount` to store the amount of `underlying` tokens deposited, but in `withd...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: FeeSplitter: No sanity check to prevent shareholder from being added twice. ### Description _Submitted by GreyArt, also found by hack3r-0m_ #### Impact It is possible for duplicate shareholders to be added. These shareholders will get more than intended when `_sendFee()` is called. #### Recommended Mitiga...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insufficient validation of new Fertilizer IDs allow for a denial-of-service (DoS) attack on `SeasonFacet::gm` when above peg, once the last element in the FIFO is paid ### Description **Description:** A Fertilizer NFT can be interpreted as a bond without an expiration date which is to be repaid in Beans and...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: `trade.maxAmount` check in the `_processInternalTrades()` ### Description [link](https://github.com/Storm-Labs-Inc/cove-contracts-core/blob/6b607d137f898c0f421b4ba4e748f41b09b41518/src/libraries/BasketManagerUtils.sol#L827) `trade.maxAmount` appears to be designed to protect the counterparty (`toBasket`). - `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Tests should be independent ### Description Some tests depend on each other. This makes testing specific functions in isolation more difficult. We recommend [making each test independent](http://softwareengineering.stackexchange.com/a/64308) by using a new token contract for each test case, instead of using 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
overflow
false
false
## Medium: Lack of events for critical arithmetic parameters ### Description Function `BondBaseSDA.setDefaults` sets critical arithmetic parameters for bond market. But it has no event emitted, it is difficult to track these critical changes off-chain. ### Impact Both Users and Issuers would possibly be unware of cr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Move shared logic to internal functions called within a modifier ### Description The above logic in [`_mintPosition`](https://github.com/crispymangoes/uniswap-v3-limit-orders/tree/83f5db9cb90926c11ee6ce872dc165b7f600f3d8/src/LimitOrderRegistry.sol#L1029) and [`_addToPosition`](https://github.com/crispymangoes/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
false
false
## Low: Transfer method is used to send ETH ### Description The Holdefi platform uses [the `CollateralsWallet` contract](https://github.com/holdefi/Holdefi/blob/f4df394d7cf6df347b1f1e9af8e2676c5933c2c9/contracts/CollateralsWallet.sol) to store the collateral assets of the project. There, the contract implements functi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
true
false
## Medium: Users can avoid accruing interest by repaying a zero amount ### Description To repay borrowed funds, users call the `repay_borrow` extrinsic. The extrinsic implementation calls the `Pallet::repay_borrow_internal` method to recompute the loan balance. `Pallet::repay_borrow_internal` updates the loan balance ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Loss of gas revenue in blast network ### Description The protocol is intended to be deployed to blast. In the blast network, the gas fee spent by the user can be claimed by the contract owner (see the blast building guides). Yet because all smart contracts do not set the gas mode to claimable and implement a 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...
solodit_api
medium
storage
true
true
The `removeStrategy` function in the `MultiStrategy` contract allows the removal of a strategy and redistributes the withdrawn funds among the remaining strategies. * [Refered code](https://github.com/code-423n4/2024-12-bakerfi/blob/0daf8a0547b6245faed5b6cd3f5daf44d2ea7c9a/contracts/core/MultiStrategy.sol# L263C8-L2...
Code4rena
4
BakerFi
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: Missing checks for referralFeeBps ### Description Required checks on setting `referralFeeBps` are missing in `setReferralFeeBps` and `initialize` functions. This, in worse conditions, allows `referralFeeBps = feeBps`, which is currently restricted in `setFeeBps`. ```solidity function setFeeBps(uint256 _feeBps...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: POSTFIX OPERATORS CONSUME MORE GAS THAN PREFIX OPERATORS ### Description The use of postfix operators `i++` consume more gas than prefix operators `++i`. Code Location ------------- `Bracketx.sol` * Line 397: `for (uint tid = autoClaimPtr; tid <= maxId; tid++ ) {` * Line 405: `cnt++;` `Offersx.sol` * Line...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
false
false
## High: H04] BigNumber internal values can be manipulated ### Description ###### High The [`BigNumber`](https://github.com/BeamNetwork/currency/blob/de81d9bad4195e03f07aedd2a6817f0cb04a8c8d/contracts/VDF/BigNumber.sol) library internally stores its value in a `bytes` buffer. When it is initialized with a `uint256` ...
0