prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Consider two-phase ownership transfer ### Description Admin calls `Ownable.transferOwnership` function to transfers the ownership to the new address directly. As such, there is a risk that the ownership is transferred to an invalid address, thus causing the contract to be without a owner. ### Recommendation ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use unchecked for subtraction in getUnvestedAmount ### Description In the `getUnvestedAmount` function, the subtraction operation `VESTING_PERIOD - timeSinceLastDistribution` can be wrapped in an unchecked block. This is safe due to the preceding if statement which ensures that `timeSinceLastDistribution` is 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
access-control
false
false
## Low: Role checking logic can be improved ### Description The current implementation of `_checkRole` in the `InfraredUpgradeable` contract relies on the `_infrared` variable set in the constructor. This approach can lead to potential inconsistencies and confusion as the `Infrared` contract sets it to zero, while `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
medium
oracle
true
false
## Medium: On-chain randomness can be exploited ### Description **Severity** **Impact:** Medium **Likelihood:** Medium **Description** Once a certain number of HoneyJar NFTs are minted, some amount of tokens are selected to be turned into fermented jars. These fermented jars can later be used to receive rewards fr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
signature
false
false
## Gas: Multiple address/ID mappings can be combined into a single mapping of an address/ID to a struct, where appropriate ### Description If both fields are accessed in the same function, can save ~42 gas per access due to not having to recalculate the key’s keccak256 hash (Gkeccak256 - 30 gas) and that calculation’s...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Previous `beneficiary` will not be able to claim `beneficiaryFees` if current beneficiary is a pool ### Description Previous `beneficiary` will not be able to claim `beneficiaryFees` if current beneficiary is a `pool` ### Impact Previous beneficiary will not be able to claim their fees ### Recommendation ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unsafe type cast. ### Description **Description** PerpetualMarket.sol, function deposit(), line 110. Such unsafe cast can also lead to incorrect shares calculation,, since user can pass a value greater than uint128, shares would be minted with this value, but the actual transferred amount would be lower. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: State variables should be cached in stack variables rather than re-reading them from storage (1 instances) ### Description * Deployment. Gas Saved: **400** * Minumal Method Call. Gas Saved: **-21** * Average Method Call. Gas Saved: **511** * Maximum Method Call. Gas Saved: **4 839** ### src/frxETHMinte...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `executeSimpleGrant` has two similar checks ### Description `executeSimpleGrant` has two similar checks, and one of them can be removed: https://github.com/MetaLex-Tech/borg-core/blob/b89ff5b7796047bbb6123c97192cfcff33e6b7f5/src/implants/daoVoteGrantImplant.sol#L397-L401 ### Recommendation We recommend removi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Low: Logic duplicated across code ### Description The logic in the repositories provided to Trail of Bits contains a significant amount of duplicated code. This development practice increases the risk that new bugs will be introduced into the system, as bug fixes must be copied and pasted into files across the syst...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: updateTokenURI doesn’t call setTokenURI ### Description ## Handle gpersoon ## Vulnerability details ## Impact The function updateTokenURI of RCFactory.sol doesn't update the uris of RCNftHubL2. E.g. it doesn't call setTokenURI to try and update the already created NFT's. This way the URIs of already minted...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Any Address Can Lock for a Short Period the User Contract of Another User by Supplying a Minimum Amount on Its Behalf ### Description **Update** The flow to supply assets has been updated such that locking the state of user contracts is no longer required. **Update** Marked as "Fixed" by the client. Addresse...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
false
false
## Low: Potential read-only reentrancy during the withdrawal from the underlying vault ### Description Severity: Low Risk Context: WrappedVault.sol#L516-L520 Description: The WrappedVault.withdraw() function executes an external call to VAULT.withdraw() be- fore _burn() . This causes the wrapped vault contract to be 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
other
true
false
## High: Lack of hookAddress in merkle tree schema in SuperVaultAggregator.sol ### Description The `_createLeaf()` function double-hashes the calldata and ignores the hook address, so different hook addresses with identical encoded arguments share the same authorization leaf. An example is the `RequestDeposit7540Vau...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: SILENT FAILURE DURING TOKEN MINTING ON THE ROUTER CONTRACT ### Description The `mToken.mint(msg.value);` function, originating from Compound's ERC20 `mToken` contracts, is a call that does not revert on failure but returns an error code as a `uint` value instead. This behavior deviates from the standard expec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: If the Blast admin calls adminClaimGas on particlePositionManager , the latter won 't be able to claim gas anymore ### Description The Blast contract has a function called `adminClaimGas`, which is only callable by Blast's admin (see Gas.sol#L128-L133). ```solidity // ... function adminClaimGas(address con...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
false
false
## High: BBLiquidation/SGLLiquidation::_updateBorrowAndCollateralShare liquidator can bypass bad debt handling to ensure whole liquidation reward ### Description When handling liquidation in BigBang and Singularity market, the protocol ensures that the liquidatee has enough collateral to cover for the liquidation 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
true
false
## Low: A rewards distributor does not exist for each reward token ### Description The `FraxUnifiedFarmTemplate` contract’s `setGaugeController` function (figure 21.1) has the `onlyTknMgrs` modifier. All other functions with the `onlyTknMgrs` modifier set a value in an array keyed only to the calling token manager’s t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Function with misleading name ### Description The `getMinimumAcceptablePriceForDecrease` function in the **OrderHelpers** library calculates the maximum acceptable price used as threshold when validating the prices for decrease orders. However, the name of the function suggests that the value calculated repres...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: USDC sent may be permanently locked/burnt in/by the Adapter if the _to address is black- listed in the destination chain ### Description The current USDC contract implements a blacklist through the `notBlacklisted(address)` modifier, which only allows transferring or minting USDC from or to addresses that a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
false
false
## Medium: Unhandled return values of `transfer` and `transferFrom` ### Description ERC20 implementations are not always consistent. Some implementations of transfer and transferFrom could return ‘false’ on failure instead of reverting. It is safer to wrap such calls into `require()` statements to these failures. ###...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Locked Ether ### Description **Update** Marked as "Fixed" by the client. Addressed in: `3630c5af28e7e8489e2e77106bb3a478a477cd5e`. The client provided the following explanation: > As recommended, we have added checks for the success of sending funds to the NFT721.redeem(), NFT1155.redeem(), and NFTMarketSi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Investors transferring all their balances among their wallets or self-transferring on the same wallet causes to incorrectly decrement the investor counters causing DoS for other investors transfers ### Description **Description:** `ComplianceServiceRegulated::recordTransfer()` is in charge of adjusting 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
gas
other
true
false
## Gas: `bytes` constants are more eficient than `string` constans ### Description If the data can fit in 32 bytes, the bytes32 data type can be used instead of bytes or strings, as it is less robust in terms of robustness. https://github.com/code-423n4/2023-03-canto-identity/blob/main/canto-pfp-protocol/src/Profile...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
signature
false
false
## Gas: Redundant checks can be omitted ### Description In the `Swapper.swapExactOutputWithPermit()` function performs a check to verify that the `amountIn` is less than the `amountInMax` amount as follows: if (amountIn > amountInMax) revert TooBigAmountIn(); But this is a redundant check since the same check is ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: scalingFactor allows values leading to potentially undesirable behavior ### Description The `NoteRegistryManager` contract defines how notes will be managed. When creating a note registry, a `scalingFactor` is defined, which represents the value of an AZTEC asset relative to another asset. Both the `scalingFac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Low: VaultFactory/VaultsRegistry - Should Check That New Implementation Is a Contract  Acknowledged ### Description Currently, the `addVaultImpl()` function in the `VaultsRegistry` contract lacks validation that address of `newImpl` actually has code. If an invalid address, devoid of code, is set as an implementati...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Incorrect Docstring ### Description To improve the readability of the codebase, consider correcting the [docstring](https://github.com/MorpheusAIs/SmartContracts/blob/5e1222e8c31731cf230c2e3b709683b10a5c1b0e/contracts/interfaces/IMOROFT.sol#L9) above the `IMOROFT` interface, which states that the token is capp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Minipools can borrow from lending pool reserves that are not borrowable ### Description In this context, unlike the borrow flow of the lending pool, we don't check whether: - The reserve is not frozen. This check is later performed when one deposits assets into the lending pool again when calling: ```solid...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Attacker can steal all fees from SFPM in pools with ERC777 tokens ### Description An attacker can steal all outstanding fees belonging to the SFPM in a uniswap pool if a token in the pool is an ERC777. ### Proof of Concept The attack is possible due to the following sequence of events when minting a short 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: Total shares cache ### Description At the line https://github.com/bondappetit/bondappetit-protocol/blob/355180f0aca0b29d60d808f761052956b7a3a159/contracts/profit/ProfitSplitter.sol#L126 contract calculate total shares sum, that information used when we adding new account and can be easily cached to save gas. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: <a name="NC-2"></a>[NC-2] `require()` / `revert()` statements should have descriptive reason strings
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Invalid address string can become valid and be used in the operation ### Description The `deposit()` in the `DepositETH` and `DepositUSD` contracts, as well as the `withdraw()` in the `DepositETHBera` and `DepositUSDBera` contracts, receive a dynamic string as the receiver input address. This input is converte...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
false
false
## Medium: _maxRedemptionRequest() reverts when set is insolvent ### Description ## 4 Token Integration Checklist | Attribute | Compatibility | Explanation | |-----------------------------------|------------------|-----------------------------------------------------------------------------------------------------...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rewards are not accounted for properly in NTokenApeStaking contracts, limiting user's collateral ### Description ApeStakingLogic.sol implements the logic for staking ape coins through the NTokenApeStaking NFT. `getTokenIdStakingAmount()` is an important function which returns the entire stake amount mappin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Later prediction rounds may not start at expected timestamp ### Description _Resolved_ According to the discussion with sponsors, we expect to start a new round at the expected timestamp. For example, we expect to start a new round in each UTC 00:00. The problem here is that when the owner wants to end 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
high
dos
true
false
## High: Bond operations will always revert at certain time when `putOptionsRequired` is true ### Description when `putOptionsRequired` is `true`, there is period of time where bond operations will always revert when try to purchase options from perp atlantic vault. ### Proof of Concept When `bond` is called and `pu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unbounded array iterations ### Description In the `Escrow` contract, two view functions contain unbounded iterations that could hit block gas limits as transaction history grows. The `getTotal()` function iterates through all user transactions via `recipients[_user]` or `customers[_user]` arrays with no bounds...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
flash-loan
false
false
## Medium: `flashProof` is not flash-proof ### Description The `flashProof` modifier is supposed to prevent flash-loan attacks by disallowing performing several sensitive functions in the same block. However, it performs this check on `tx.origin` and not on an individual user address basis. This only prevents flash l...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
true
false
## Low: Remove setting deprecated `lastUpdatedBy` in RegistryService ### Description The client has informed us that `lastUpdatedBy` is deprecated so it should not be updated in `RegistryService`: ```solidity registry/RegistryService.sol 113: investors[_id].lastUpdatedBy = msg.sender; 140: investors[_id]...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: updateYieldStrategy could leave funds in the old strategy ### Description The `updateYieldStrategy` function sets a new yield strategy manager contract without calling `yieldStrategy.withdrawAll()` on the old strategy, potentially leaving funds in it. ```solidity // Sets a new yield strategy manager contract...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
false
false
## Low: Remove unused return from `USDCBridgeV2:_sendUSDCWithPayloadToEvm` ### Description Function `USDCBridgeV2::_sendUSDCWithPayloadToEvm()` returns the sequence number from the `wormholeRelayer.sendToEvm` external call. However, this value is never utilized thereafter. ### Recommendation Consider removing this va...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Incompatible SelfDestruct Implementation ### Description ## SelfDestruct Behavior and Issues SelfDestruct is expected to delay storage deletion until the end of the transaction. The original implementation deletes storage as soon as SelfDestruct is called. > _x/evm/state/state.gogo Aside from storage dele...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: StateTransitionManager Cannot Unfreeze Chains ### Description The `StateTransitionManager` is privileged to [freeze and unfreeze](https://github.com/matter-labs/era-contracts/blob/d5c5d7a7c3a458f131e5de72c6c134a172e6763d/l1-contracts/contracts/state-transition/StateTransitionManager.sol#L164-L172) the chain...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: User can accidentally burn their iPT tokens during redemption ### Description User can accidentally burn their iPT tokens during redemption ### Impact A user can accidentally call the `redeem` function after maturity but before the other `redeem` function is called (the one that burns external PT tokens–they...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect checkpoint handling nullifies voting weights ### Description - https://gitlab.ubertech.dev/blockchainlaboratory/eywa-dao/blob/29465033f28c8d3f09cbc6722e08e44f443bd3b2/contracts/EscrowManager.sol#L869 A vulnerability has been identified in the `_findCheckpoint` method of the `EscrowManager` contract...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: For-loop optimization ### Description The for-loop in `PoolManager#setIsLoanManager`, `PoolDeployer#deployPool`, and `PoolDeployer#getDeploymentAddresses` are the only ones not optimized in the codebase. ### Recommendation We recommend optimizing the for-loops.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious pairs can steal approved or deposited tokens ### Description The LendingPair token flow may allow malicious pools to steal users’ tokens when users are interacting with tokens deposited into the vault. To add funds from the vault, a user must deposit funds and then approve the LendingPair contract w...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: `BasePool.mint()` Is Callable By Anyone ### Description _Submitted by leastwood_ #### Impact The `BasePool.mint()` function differs from its implementation in `BasePoolV2.mint()` in which it lacks an `onlyRouter` modifier. This ensures that users cannot call this function directly as `VaderRouter.addLiqui...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: In `ERC20Boost.sol`, a user can be `attached` to a gauge and have no boost balance. ### Description When a user with a boosted gauge becomes deprecated, the user can transfer their boost tokens. When the same gauge is reintroduced to the active gauge list, the user will boost it again, even if their boost t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Insufficient confirmation depth for reorg protection ### Description He `waitForTxConfirmationWithClient` function in only waits for a transaction to appear in a single block without requiring additional confirmations. This creates an issue where blockchain reorganizations can reverse "confirmed" transactions...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
false
false
## High: Undocumented privileged operations ### Description Several admin operations are not documented. This lack of transparency can mislead users regarding the system’s centralization. The privileged operations that are documented include: ### Recommendation Short term, document all the privileged operations 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
low
other
false
false
## Low: Tier indexing is confusing ### Description **Description:** Throughout `MembershipERC1155`, the [highest tier](https://github.com/OneWpOrg/smart-contracts-blockchain-1wp/blob/416630e46ea6f0e9bd9bdd0aea6a48119d0b515a/contracts/dao/tokens/MembershipERC1155.sol#L169-L175) membership is referred to with the lowest...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 validator active check in `rebalanceWithdrawal()` ### Description In `ValidatorManager` contract: `rebalanceWithdrawal()` does not check if a validator is active before processing withdrawals, while `requestEmergencyWithdrawal()` does.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Parameter not used ### Description In the `add_validator` function of the **basset\_inj\_validator\_registry** contract, the `hub_address` parameter is not needed since there is no call to the `AddValidator` entry point in the **basset\_inj\_hub** contract. ![Unnecessary parameter](https://halbornmainframe.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
signature
true
true
## High: nlrType type is not signed by strategist, which could allow fraudulent behavior as new types are added ### Description The strategist signs the merkle root, their nonce, and the deadline of all strategies to ensure that new borrowers meet their criteria. However, the lien type (`nlrType`) is not signed. Curre...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Share to asset exchange rate can be skewed when totalSupply = 0 and totalAssets != 0 ### Description In ERC4626-like implementation of shares to asset conversion of VaultV2, it is possible to reach a state where `totalSupply = 0` and `totalAssets != 0` given the following conditions: - Management and perfor...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
false
false
## Medium: `setSalesAddress()` Breaks the Token Minting Process ### Description **Update** Marked as "Fixed" by the client. Addressed in: `b898120427d9748162dccbb37a79524d40f20f40`. The client has removed the functionality for chaging the sale address. **File(s) affected:**`UniKuraPhygitalCollection.sol` **Descripti...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 comment on reward tokens for IBGT vault ### Description The comment on line 197 in the initialize function of the Infrared contract incorrectly states that the IBGT vault can have IBGT and IRED rewards. In reality, the IBGT vault can also have Honey (Bera native stablecoin) as a reward token. This 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
medium
liquidation
false
false
## Medium: No default `liquidationThresholdPercent` ### Description The `IsolatedMarginTrading` contract does not define a default `liquidationThresholdPercent` which means it is set to 0. The `belowMaintenanceThreshold` function uses this value and anyone could be liquidated due to `100 * holdings >= liquidationThres...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The `lock_pool` operation can be DoS ### Description The `lock_pool` operation requires the creation of a `lockEscrow` account. However, a malicious actor could preemptively create the `lockEscrow` account, causing the `create_lock_escrow` transaction to fail and resulting in a Denial of Service (DoS) 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
low
access-control
false
false
## Low: Dispute Period Can Be Postponed Indefinitely by Continuous Snapshot Submission ### Description In `DelayedFeeCalculator`, the `submitSnapshot` function allows submitting a new snapshot even when a previous pending snapshot exists and its dispute period has not expired. Submitting a new snapshot in this case ov...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LOOP GAS USAGE OPTIMIZATION ### Description Multiple gas cost optimization opportunities were identified in the loops of the `NftfiBundler` contract: * Unnecessary reading of the array length on each iteration wastes gas. * Using != consumes less gas than <. * It is possible to further optimize loops by using...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
initialization
true
false
## Gas: Access mappings directly rather than using accessor functions ### Description Saves having to do two `JUMP` instructions, along with stack setup. https://github.com/ERC725Alliance/ERC725/blob/v5.1.0/implementations/contracts/ERC725YCore.sol#L99 https://github.com/code-423n4/2023-06-lukso/tree/main/contract...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
false
false
## High: TRST-H-5 It’s possible to DOS voting for the whole protocol ### Description **Description:** The function `_vote()` internally calls `_calculateMaxVotePossible()`, which internally calls `getTotalVotingPower()` on Ve.sol, which loops over every veSatin and adds all of their current voting power to get the 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...
cyfrin_structured
low
token
true
false
## Low: Unverified `_receiver` can cause irrecoverable token loss ### Description When a user bridges their YTokens using CCIP, they call [`BridgeCCIP::send`](https://github.com/YieldFiLabs/contracts/blob/40caad6c60625d750cc5c3a5a7df92b96a93a2fb/contracts/bridge/ccip/BridgeCCIP.sol#L117-L158). One of the parameters pa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: An error in the `minPayoutSize` check in the `sell()` function ### Description ```javascript function sell(uint256 tokensToSell, uint256 minPayoutSize) external nonReentrant returns (uint256) { // Ensure the sender has enough liquidity to sell if (tokensToSell > balanceOf(msg.sender)) revert Insufficie...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 code ### Description Line 43 of `ERC5115To4626Wrapper.sol` contains the unused constant `NATIVE`. ### Recommendation Consider removing the unused constant.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
false
false
## High: Enable mode can be frontrun to add policies for a different permissionId ### Description SmartSession offers an enable mode for when a smart account wants to enable policies within the same call when the related actions get executed. In this case, it first enables the required policies during the validation p...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
reentrancy
true
false
## Security Assessment Report ## Severity: Medium Risk ### Context - **MultiMerkleDistributor.sol**: Lines 296-300 - **QuestBoard.sol**: Lines 986-991 ### Description The function `recoverERC20()` in the contract `MultiMerkleDistributor.sol` allows the retrieval of all ERC20 tokens from the contract. However, the co...
Spearbit
5
Paladin
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: The 255th staker in `L1Staking.sol` can avoid getting slashed and inadvertently cause fund loss to stakers ### Description The 255th staker in `L1Staking.sol` can avoid getting slashed and inadvertently cause fund loss to stakers ### Impact Critical - loss of funds and breaks protocol functionality ### 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
medium
dos
false
false
## Medium: Arbitrary destination gas limit for `CoinType_Zeta` cctxs results in paying lower gas fees ### Description Gas fees are underpaid for Zeta token cctx's. ### Proof of Concept Outbound cctx's are processed, collectively signed, and ultimately sent to the receiver chain by the observers via the [`TryProcessO...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: IMPROPER REWARDS DISTRIBUTION OVERLAPPING CHECK ### Description It was identified that the `depositRewards()` function in the `RewardsManagerConstant` contract uses an improper distribution period overlapping validation. Therefore, it is possible to start a new reward period before the end of the current one, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Medium: Malicious minters can repeatedly penalize their undercollateralized accounts in a short peroid of time, which can result in disfunctioning of critical protocol functions, such as `mintM`. ### Description Malicious minters can exploit the `updateCollateral()` function to repeatedly penalize their undercollat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 `indexed` Keyword in Events Causes Data Loss for Variables of type `bytes` ### Description By making the event topic `indexed` for `bytes` type inside the `NexusAccountFactory` contract, it would lead for wrong variable to be emitted
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unlimiting the delay period with minimum threshold allows the delay period to be set too low and allows a malicious `ScheduleUpgrade` message to be executed on the root contract and gain access on the other contracts ### Description *Note: this finding was originally submitted separately by the warden at a hig...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of spec on the modules ### Description The spec file intends to outline the common structure for specifications within this directory. The `assetprofile` - `parameter` - `commitment` - `stablestake` - `oracle` - `accountedpool` - `amm` modules are missing spec. This documentation is segmented into develop...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Passing the `return data` by the EVM state ### Description [`execTransactionFromModuleReturnData`](https://github.com/EnsoFinance/shortcuts-contracts/blob/951a4a247165f4209bceb6deb628a4970bf3f6da/contracts/wallet/ModuleManager.sol#L45) is using `returndatasize` and `returndatacopy` in the assumption that virtu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Validation
true
false
## Severity: Critical Risk ## Context `RewardsManagerForAave.sol#L145-L147` ## Description Aave has 3 different types of tokens: aToken, stable debt token, and variable debt token (a/s/vToken). Aave’s incentive controller can define rewards for all of them, but Morpho never uses a stable-rate borrow token (sToken). ...
Spearbit
5
Morpho
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Operator is blocked when sequencer is down on Arbitrum ### Description When the sequencer is down on Arbitrum state changes can still happen on L2 by passing them from L1 through the Delayed Inbox. Users can still interact with the Index protocol but due to how Arbitrum address aliasing functions the opera...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Accruing yield to msg.sender is not required when minting to xPYT contract ### Description The `the_exit` function always accrues yield to the `msg.sender` before burning new tokens. The idea is to accrue yield for the recipient first before increasing/reducing their balance to not interfere with the yield rew...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Resetting of `withdrawSeasons` state was not executed on-chain as part of the BIP-36 upgrade ### Description The [addition](https://github.com/BeanstalkFarms/Beanstalk/blob/12c608a22535e3a1fe379db1153185fe43851ea7/protocol/contracts/beanstalk/init/InitBipNewSilo.sol#L42-L43) of `s.season.withdrawSeasons = 0` 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: Lack Of Eth Rpc Support On Artela Chain ### Description The Artela chain currently does not support standard Ethereum (ETH) RPC calls. This limitation significantly impacts the chain's compatibility with existing Ethereum tools, libraries, and dApps. 1. **Reduced Developer Adoption**: Ethereum developers f...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Recommendation: remove IsDeposit and add a similar getter to BlockController ✓ Addressed ### Description The `IsDeposit` library is used to check whether a block number is a deposit or not. The logic is simple - if `blockNum % childBlockInterval` is nonzero, the block number is a deposit. By including this 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
cross-chain
false
false
## Low: SettlementVault balances are not updated in the PlaceOrder_Partial_2 receiver of the settlement contract ### Description The `PlaceOrder_Partial_2` message receiver function of the `PixelswapSettlement` contract is used to relay messages between the funding contract and execution contracts, but it does not upd...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use of an uninitialized state variable in functions ### Description The `_mesonContract` address is not set in the `UCTUpgradeable` contract’s `initialize` function during the contract’s initialization. As a result, the value of `_mesonContract` defaults to the zero address. The `UCTUpgradeable.allowance` a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
true
false
## Medium: The Restriction Manager does not completely implement ERC1404 which leads to accounts that are supposed to be restricted actually having access to do with their tokens as they see fit ### Description Medium, contract's intended logic is for *blacklisted* users not to be able to interact with their system 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
low
initialization
true
false
## Low: Missing Initialization Check ### Description ## CrossChainBridge.sol Analysis ## Function Overview ## Issue Description The function fails to verify whether `srcAddress_` is initialized. Consequently, a function call with a currently uninitialized source chain ID and an empty source address would return `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
true
false
## Medium: Vault Tokens Can Be Trapped If User Is Removed from Whitelist ### Description When `onlyWhitelistTransfer == true`, the `_beforeTokenTransfer()` hook blocks transfers **to or from** any address not on the whitelist. If a user is removed from the whitelist after claiming tokens, they can no longer: - Trans...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
high
other
true
false
## High: Operator is not removed in Registry when validator has `owedAmount == 0` ### Description `CasimirManager::withdrawValidator()` function is designed to remove a validator after a full withdrawal. It checks whether the final effective balance of the removed validator is sufficient to cover the initial 32 ETH 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
low
other
false
false
## Low: Users can't control upgrades in the plugin implementation ### Description Plugins can affect the number of tokens that users will receive after the swap, so updating the plugin without a time delay can negatively affect users (https://github.com/cryptoalgebra/Algebra/blob/6c22b64977e0b0266aec89470480df74977eb6...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rejecting non-zero transfers is not ERC20 compliant ### Description The ERC20 specification states that [“transfers of 0 values MUST be treated as normal transfers”](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md#transfer). In `FuelToken` these are [rejected](https://github.com/ethe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: When `LockManager.lockOnBehalf` is called from `MigrationManager`, the user's `reminder` will be set to 0, resulting in fewer received `MunchableNFTs` ### Description ### Lines of code [`LockManager.lockOnBehalf`](https://github.com/code-423n4/2024-05-munchables/blob/57dff486c3cd905f21b330c2157fe23da2a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Getters Do Not Return Information About the Validity of `prices_packed` ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Getters can be invoked by users only (no contract-to-contract invocation). bearing in mind we use on-demand oracle model, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: monad::async::working_temporary_directory,make_temporary_inode modify const objects ### Description `monad::async::working_temporary_directory` casts away the constness of `std::string::c_str()` and modifies it via `mkostemp`: ```cpp auto path2 = path / "monad_XXXXXX"; fd = mkostemp(const_cast(path2.native...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Changing Verifier Address Doesn’t Emit Event ### Description In function `setVerifierAddress`, after the verifier address is changed, there is no event emitted, which means if the operator (security council) changes the verifier to a buggy verifier, or if the security council is compromised, the attacker can ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Remove obsolete `return` statements when using named return variables ### Description **Description:** Remove obsolete `return` statements when using named return variables: * `RequestManager::_addMintRequest, _addBurnRequest` **Avant:** Fixed in commit [7a3587c](https://github.com/Avant-Protocol/Avant-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
low
token
true
false
## Low: [09] Rewards distribution can be dossed if recipient is blocked by USDC/USDT ### Description *Note: At the judge’s request [here](https://github.com/code-423n4/2024-02-althea-liquid-infrastructure-findings/issues/58#issuecomment-1985548589), this downgraded issue from the same warden has been included in 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
gas
other
true
false
## Gas: `>=` costs less gas than `>` ### Description The compiler uses opcodes `GT` and `ISZERO` for solidity code that uses `>`, but only requires `LT` for `>=`, [which saves **3 gas**](https://gist.github.com/IllIllI000/3dc79d25acccfa16dee4e83ffdc6ffde) *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
low
access-control
true
false
## Low: function rescueTokens it's not emmiting event ### Description **Severity** : Informational **Status**: Resolved **Description** Critical function rescueTokens it's not emmiting event It is a good practice that onlyOwner functions always emit event https://github.com/zokyo-sec/audit-struct-finance-1/blob/au...
0