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...
cyfrin_structured
low
integer-overflow
true
true
## Low: Large priority fee relative to one-for-zero swap amounts will cause `CompensationPriceFinder::getOneForZero` to underflow ### Description Swaps over zero liquidity can push the square root price to any arbitrary tick and are allowed by Uniswap; however, such top-of-block one-for-zero swaps are in certain circu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
medium
initialization
true
false
## Medium: Uninitialized CCTP domain mapping can send USDC to the incorrect blockchain ### Description `USDCBridgeV2::chainIdToCCTPDomain` maps Wormhole chain IDs to Circle's CCTP domain IDs: ```solidity mapping(uint16 => uint32) public chainIdToCCTPDomain; function getCCTPDomain(uint16 _chain) internal view returns ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wrong starting price when listing on Seaport for assets that has less than 18 decimals ### Description According to Astaria's docs: > Liquidation initial ask: Should the NFT go into liquidation, the initial price of the auction will be set to this value. Note that this set as a starting point for a dutch au...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Low: Potential inconsistent delegator data handling ### Description In the `getDelegator` function of the **PledgeAgent** contract, there is a potential for inconsistent data updates. The current implementation only updates values when `realtimeAmount`is non-zero, potentially missing scenarios where `stakedAmount`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
medium
oracle
false
false
## Medium: reportOracle can be sandwiched for profit. ### Description The fact that price update happens in an on-chain transaction gives the searches the ability to see the future price and then act accordingly.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LyraPositionHandlerL2 inaccurate modifier onlyAuthorized may lead to funds loss if keeper is compromised ### Description The `LyraPositionHandlerL2` contract is operated either by the L2 keeper or by the L1 `LyraPositionHandler` via the `L2CrossDomainMessenger`. This is implemented through the `onlyAuthoriz...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Security Council Is Owner Of TaikoTimelockController Proxy Allowing Upgrades ### Description According to the deploy scripts, the owner of the `TaikoTimelockController` contract will be the security council. The `TaikoTimelockController` is an upgradable proxy, which can be upgraded instantly by the owner. 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
other
false
false
## Medium: Users Can Create Unslashable/Non-removeable Subnode Names ### Description Users can register any name (including unsavoury ones) as a sub-subnode of the ENSNode. These names are irrevocable and can be obtained for free, regardless of the price variable. The vulnerability exists because there is no function...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Crate `parity-wasm` deprecated by the author ### Description **Severity**: Informational **Status**: Acknowledged **File**: Cargo.lock **Details**: This PR explicitly deprecates parity-wasm. The author recommends switching to wasm-tools. **Recommendation**: Use the `wasm-tools` crate
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Use latest version of Solidity ### Description [Current code](https://github.com/Superdao-DAO/Superdao-Seed-Stage1/blob/c20d6d45d911f59003122d97df701848cf597cab/contracts/PromissoryToken.sol#L1) is written for old versions of solc (0.4.0). With [the latest storage overwriting vulnerability](https://blog.eth...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
liquidation
true
true
**Description:** Users of The Standard can take out `USDs` stablecoin loans against their collateral deposited into an instance of `SmartVaultV4`. If the collateral value of a Smart Vault falls below 110% of the `USDs` debt value, it can be liquidated in full. Users can also move collateral tokens into Gamma Vaults (ak...
Cyfrin
5
The Standard Smart Vault
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: liquidateDefaultedLoanWithIncentive can be gamed to avoid paying loans interest ### Description The amountDue calculation at the liquidateDefaultLoanWithIncentive function at the LenderCommitmentGroup contract calls getAmountOwedForBid with a false argument, which means it considers the principal lent as owed...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: PeriodicPrizeStrategy - Inconsistent behavior between award-phase modifiers and view functions ### Description The logic in the `canStartAward()` function is inconsistent with that of the `requireCanStartAward` modifier, and the logic in the `canCompleteAward()` function is inconsistent with that of the `requi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Theoretical wrappedM supply could exceed minting cap ### Description The minting cap is stored as `uint96` to be tightly packed with the `wrappedM` address, while the balances and accrued yield (and thus total supply) for `wrappedM` are stored as `uint240`. It is highly unlikely for `wrappedM`'s total supply 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
front-running
true
false
## Medium: Possible DoS of the AllocationVesting.transferPoints() by front-running ### Description The `transferPoints()` function can be DoSed if a recipient address has a different vesting period by front-running. ### Recommendation I don't have a straightforward mitigation, but we should reconsider the vesting per...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
storage
false
false
## High: Malicious strategy can lead to loss of funds ### Description A malicious strategy has access to the adapter's storage and can therefore freely change any values. ### Proof of Concept Because `AdapterBase` calls the `Strategy` using `delegatecall`, the `Strategy` has access to the calling contract's storage ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Useless Assertion Check ### Description The [`assertEq` function](https://github.com/matter-labs/system-contracts/blob/4ad1f26ae205d5a973216d141833e0ac37d72ec8/bootloader/bootloader.yul#L1644-L1653) in the bootloader compares two values. If they are not equal, it throws an error. There are two issues with thi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: User can claim rewards before the start. ### Description **Description** Arkouda.sol, claimReward() rewardGenerationStartTime is not checked against 0, thus the condition in function is always true, and the user gets the ability to claim tokens before rewards start. Especially because rewardGenerationStartTi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Address Changes Should Use Two-step Procedure ### Description The critical procedures should be a two-step process. 4 results, 3 files ### Recommended Mitigation Steps Lack of two-step procedure for critical operations leaves them error-prone. Consider adding two-step procedure on the critical functions.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
false
false
## Medium: No validation of the address parameter value in contract constructor ### Description The variable is assigned to the value of the constructor input parameter. But the parameter is not checked before this. If the value turns out to be zero, then it will be necessary to redeploy the contract since there is no...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: `public` functions not called by the contract should be declared `external` instead ### Description Contracts [are allowed](https://docs.soliditylang.org/en/latest/contracts.html#function-overriding) to override their parents' functions and change the visibility from `external` to `public`. *There are 9 insta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Bootstrapping BtcPoller with too many blocks will crash ### Description The Bootstrap function of the `BtcPoller` is used during service start and it retrieves all blocks from `startHeight` to current height. All these blocks are stored in the memory variable `confirmedBlocks`. If the Babylon started a whil...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [FIXED] Using constant in `CurveStratBase` ### Description In this locations, a hardcoded number `5` is used: ```solidity for (uint256 i = 0; i < 5; i++) { ``` ### Recommendation We recommend using the `POOL_ASSETS` constant instead of a hardcoded number.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
true
false
## Low: Management fees might not accrue ### Description Management fees accrue using the following formula: The formula can round down and there are 2 reasons which make that a likely event. Firstly, malicious users can call `BasketToken.proRataRedeem()` by redeeming 1 share often enough for the `timeSinceLastHarve...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `_lendingPools` mapping slot 0 is overwritten every time a new pool is created ### Description When a new lending pool is created, its address is set in the `_lendingPools` mapping with `createdPoolId` as the key. However, `createdPoolId` is zero, causing the slot to be overwritten each time: ``` uint32 create...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
true
false
## High: Theft of rewards via sandwich attack ### Description The `Omnipool.swapForGem()` function makes a Balancer `batchSwap()` without any slippage protection, thus leaving it exposed to sandwich attacks. These sandwich attacks can be used to steal nearly 100% of users' rewards as they attempt to claim. The user-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
gas
access-control
false
false
## Gas: Sender in `transferFrom` in `Lender.setPool` different from msg.sender ### Description The method `setPool` in Lender.sol uses `p.lender` as sender in the transferFrom method. This can be exploited to make the contract transfer tokens on behalf `p.lender`, potentially leading to unauthorized token transfers. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Possible to approve babylon request with invalid finality provider public key ### Description ## Finality Provider Issue in Babylon Requests ## Context * File: `finality_providers.go#L12-L24` * Description: Possible to approve Babylon request with invalid finality provider public key. Whenever a Babylon reque...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inability To Accept Native Token Transfers ### Description ## Vulnerability in TokenMessaging::_lzReceiveBus The vulnerability in `TokenMessaging::_lzReceiveBus` stems from the handling of native tokens. After processing the bus passengers, any remaining native tokens are transferred to `msg.sender`, 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
medium
other
false
false
## Medium: Spam attack would prevent LiquidityGauge ’s integral from being updated ### Description An attacker spamming `LiquidityGauge` can prevent the integral from being updated. As a result, users will not earn interest. On every balance’s update, `LiquidityGauge._checkpoint` is executed and updates the integral ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Risk of Centralisation ### Description **Severity**: Low **Status**: Acknowledged **Description** The current implementation grants significant control to the owner through multiple functions that can alter the contract's state and behavior. This centralization places considerable trust in a single entity, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users will miss some rewards when they add liquidity ### Description In `UniswapV3Staking.stake`, the current liquidity is stored when a note is staked: ```solidity function stake(uint256 noteId, uint256 tokenId) external { require(dnft.ownerOf(noteId) == msg.sender, "You are not the Note owner"); 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
cross-chain
false
false
## Medium: Incorrect accounting on transfer-on-fee/deflationary tokens in Gravity ### Description ## Handle shw ## Vulnerability details ## Impact The `sendToCosmos` function of `Gravity` transfers `_amount` of `_tokenContract` from the sender using the function `transferFrom`. If the transferred token is a trans...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Disconnected Upgrade Process ### Description **Update** Addressed in: `3fae4977fe67cee11e3d6bd29f53dec71bb239ea`. The client provided the following explanation: > Modify the setImplementation function to simultaneously execute deployBeacon or upgradeBeacon when setting the implementation. Since the factory 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
medium
token
false
false
## Medium: Allowed zero `mintFresh` ### Description Zero `mintFresh` doesn't change the state of supply and collateral tokens. It only consumes gas and emits an "empty" event https://github.com/CreamFi/compound-protocol/blob/23a4ae93adc70334553f5a83429a4e967c1eefaa/contracts/CCollateralCapErc20.sol#L476 ### Recommend...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Banned Addresses Could Be Called By Cross-Chain Messages - Phase 2 ### Description The status of messages sent to addresses in the `addressBanned` mapping of the `Bridge` contract is [set to `DONE`](https://github.com/taikoxyz/taiko-mono/blob/b47fc34cb0e7fe9b7ebd9416b3051a067483b860/packages/protocol/contracts...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Basket.sol#auctionBurn() A failed auction will freeze part of the funds ### Description ## Handle WatchPug ## Vulnerability details https://github.com/code-423n4/2021-09-defiProtocol/blob/main/contracts/contracts/Basket.sol#L102-L108 Given the `auctionBurn()` function will `_burn()` the auction bond 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
high
other
true
false
## High: Borrower can bypass maxLoanRatio's configuration of a pool via buyLoan() ### Description In [buyLoan()](https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Lender.sol#L465), there is no validation if the `loanRation < pool.maxLoanRatio`. Therefore, a lender can be given a loan with higher LTV than his 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
high
access-control
false
false
## High: Bids Can Be Blocked By Sending Option To Liquidator ### Description Description It is possible to prevent liquidations by frontrunning an executeBid() call. To provide context, liquidations through the DutchAuction.sol contract are integral to the proper operation of the Lyra protocol. This is primarily due 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
true
false
## Low: Coin Type Not Required ### Description ## Storing the Coin Type in incentive_rewards::RewardFactor Storing the coin type in `incentive_rewards::RewardFactor` is redundant, as the coin type already serves as the key for retrieving the reward factor from `WitTable`. ## Interest Model ## Remediation Store th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Best Practices ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Acknowledged. We don't want to change code too much at this stage, in order to make sure we don't invalidate another audits. **File(s) affected:**`PortalToken.sol`, `TokenVesting...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
logic
false
false
## Low: Lack of Documentation for Minor Business Logic Enforced in the Code ### Description **Update** The team has acknowledged and decided to keep the minor issue as it is. **File(s) affected:**`All files` **Description:** The following aspects are enforced in the code but not documented in the file `README.md`: ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
false
false
## High: External actor can submit PythPriceFeedUpdate messages through HTTP server ### Description The `PythPriceFeedUpdate` message is used to update the current value of a price feed. A dedicated thread is started (see `oracle.rs`) and retrieves feed prices every 500ms to send them to the engine. However, `PythPric...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The Roles in the System Can Be Temporarily or Indefinitely Lost ### Description **Update** It is not possible anymore to lose the `DEFAULT_ADMIN_ROLE` role. However, the Secured Finance team acknowledged that the system can remain temporarily without an operator. Addressed in: `fda2f7389ce13248680fcf538bbf5...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Locked tokens and payout failure when removing token without checking `lockedLiquidity` ### Description In the `Staking` contract, the `removeAcceptedToken()` function allows the owner to remove a token from the `acceptedTokens` list without checking if the token has any `lockedLiquidity`. This causes the `tra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
true
false
## Low: The _CONVERT_FACTOR is inconsistently applied to shares and assets ### Description In the Vault contract, the constant `_CONVERT_FACTOR` is applied to share as well as asset amounts in 4 instances, and therefore has a different impact in terms of magnitude depending on the underlying token's decimals. ```soli...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unstrict decoding of PSBT sign requests ### Description When decoding the PSBT sign request, it uses `json.Unmarshal`, which is by default non-strict JSON decoding: - `internal/approver/strategy/cubist/custodian_manager.go#L162`: ```go if err := json.Unmarshal(bodyJson, &psbtSignReq); err != nil { ``` As suc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 validators can prevent orders from being created or cancelled ### Description **Description:** Use of `block.timestamp` as the deadline for [`MintParams`](https://github.com/crispymangoes/uniswap-v3-limit-orders/blob/83f5db9cb90926c11ee6ce872dc165b7f600f3d8/src/LimitOrderRegistry.sol#L1056), [`Inc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
false
false
## Medium: The first Liquidity Provider can perform a fee less swap by providing unbalanced liquidity. ### Description When users provide unbalanced liquidity, a swap is simulated and a fee is charged. However, this is not done during the initial liquidity provisioning. So the first Liquidity Provider can provide 1000...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
overflow
true
false
## High: TokenisableRange's incorrect accounting of non-reinvested fees in "deposit" exposes the fees to a flash-loan attack ### Description ### Vulnerability details The `TokenisableRange` is designed to always collect trading fees from the Uniswap V3 pool, whenever there is a liquidity event (`deposit` or `withdraw...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: RandomX configurable parameters are brittle ### Description RandomX contains 47 configurable parameters, including flags for parallelization, memory consumption, and iterations of the initial KDF, memory size of the dataset, sizing of three levels of cache for the virtual CPU, the size and iteration count of pr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Harvest Functionality on Emergency ### Description ## Harvest Protocol The Harvest protocol allows users to stake coins in exchange for rewards. Users are allowed to harvest the accumulated rewards at any given time, if they are available. ## Code Snippet However, in case of emergency, the users ca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
reentrancy
false
false
## Gas: Use `ReentrancyGuardTransient` for faster `nonReentrant` modifiers ### Description **Description:** Use [ReentrancyGuardTransient](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/ReentrancyGuardTransient.sol) for faster `nonReentrant` modifiers: * `issuance/src/minter/Minter....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Snapshot Withdraw State is Not Checked With Onchain Values ### Description Unlike the different snapshot values, there is no validation for the snapshot withdraw state with the actual withdraw values in `swEXIT`. When submitting a reprice snapshot via `submitSnapshot()` or `submitSnapshotV2()`, there are diff...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `LSP8CompatibleERC721`'s `approve()` deviates from ERC-721 specification ### Description The `LSP8CompatibleERC721` contract is a wrapper around LSP8, which is meant to function similarly to ERC-721 tokens. One of its implemented functions is ERC-721's `approve()`: [LSP8CompatibleERC721.sol#L155-L158](http...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## Medium: 3S-LENFT-M02 protocol/GenesisNFT.sol: Only 1336 GenesisNFT tokens can be minted ### Description The [documentation](https://lenft.gitbook.io/lenft-docs/genesis-mint) mentions that the Genesis Mint is limited to just 1337 tokens, which is corroborated by the [constant](https://github.com/leNFT/contracts/blob...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Funds might remain locked in `BalancerRouter` when depositing in Balancer pool ### Description Not checking how much of the deposited assets are actually deposited in the pool, will lead to loss of funds for the user, because the remaining assets will be locked inside the `BalancerRouter`. ### Impact The 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
high
rounding
false
false
## High: Incorrect Decimals For `unsoldTokens` ### Description **Severity**: High **Status**: Resolved **description** In the contract `TokenSaleETH` (same issue in TokenSaleUSDB) , in the function `takeUSDBRaised()` the `unsoldTokens` are calculated as `(unsold * (10 ** ETH_DECIMAL))/ tokenPrice` , this amount 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
token
true
false
## Low: Variable names that consist of all capital letters should be reserved for `const`/`immutable` variables ### Description If the variable needs to be different based on which class it comes from, a `view`/`pure` *function* should be used instead (e.g. like [this](https://github.com/OpenZeppelin/openzeppelin-cont...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Address Changes Should Use Two-step Procedure ### Description The critical procedures should be a two-step process. ### Recommended Mitigation Steps Lack of two-step procedure for critical operations leaves them error-prone. Consider adding a two- step procedure on the critical functions.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
token
false
false
## Medium: Centralization attack vectors are present in the code ### Description **Impact:** High, as some accounts can execute a rug pull or brick the game **Likelihood:** Low, as it requires a malicious or compromised owner/admin account **Description** The owner accounts of both `NFTLootbox` & `VRFv2Consumer` 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...
cyfrin_structured
medium
access-control
true
false
## Medium: `AccountableAsyncRedeemVault` allows deposits for non-whitelisted or non-KYCed addresses ### Description Almost all functions in `AccountableAsyncRedeemVault` use an `onlyAuth()` modifier to verify that the caller is KYC-ed or Whitelisted (according to the vault's own policy). This logic can be seen in `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
medium
other
false
false
## Medium: Be careful with integer division ### Description Several parts of the code use integer division. See [1](https://github.com/WeTrustPlatform/rosca-contracts/blob/2af29be97d529488f5488fe0592f9e6b3585254f/contracts/ROSCA.sol#L288),[2](https://github.com/WeTrustPlatform/rosca-contracts/blob/2af29be97d529488f548...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Lack of docstrings ### Description The [`IGraphGovernance`](https://github.com/graphprotocol/contracts/blob/d51553b3d70c61108852f0ffe1ed249254c91e9a/contracts/governance/IGraphGovernance.sol) interface, as well as the [`ProposalCreated`](https://github.com/graphprotocol/contracts/blob/d51553b3d70c61108852f0ffe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
reentrancy
false
false
## Gas: Inefficient reentrancy lock ### Description The lock modifier of LockstakeClipper uses `0` and `1` to represent reentrancy lock state. This is inefficient due to zero-to-nonzero storage changes requiring **17,100 extra gas**. Although this extra amount would be refunded when the lock is set back to its original ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
cross-chain
false
false
## High: Preservation of msg.sender in ZkSync could break certain trust assumption ### Description For ZkSync chain, the `msg.sender` is preserved for L1 -> L2 calls. One of the rules when pursuing a cross-chain strategy is to never assume that address control between L1 and L2 is always guaranteed. For EOAs (i.e., no...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
false
false
## Low: Withdrawn stETH gets stuck on the bridge if the recipient is an stETH address on L1 ### Description stETH on L1 doesn't permit transfers to the token's own address: https://github.com/lidofinance/lido-dao/blob/5fcedc6e9a9f3ec154e69cff47c2b9e25503a78a/contracts/0.4.24/StETH.sol#L444. However, there are no restr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Deployment - Docker containers running as root ### Description By default, Docker containers run commands as the `root` user. This means that there is little to no resistance for an attacker who has managed to break into the container and execute commands. This effectively negates file permissions already s...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Withdraw role is not configured ### Description The [`DesignatedVotingV2Factory`](https://github.com/UMAprotocol/protocol/blob/7938617bf79854811959eb605237edf6bdccbc90/packages/core/contracts/oracle/implementation/DesignatedVotingV2Factory.sol#L11) contract inherits from the [`Withdrawable`](https://github.com...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
liquidation
true
false
Source: https://github.com/sherlock-audit/2022-10-astaria-judging/issues/59 ## Found by HonorLt, ctf\_sec, cryptphi, rvierdiiev ## Summary Strategist nonce is not checked while checking commitment. This makes impossible for strategist to cancel signed commitment. ## Vulnerability Detail `VaultImplementation.commitT...
Sherlock
4
Astaria
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
overflow
true
false
## Gas: Optimize the `TrimmedAmount` struct as a bit-packed `uint72` user-defined type ### Description The existing [`TrimmedAmount`](https://github.com/wormhole-foundation/example-native-token-transfers/blob/f4e2277b358349dbfb8a654d19a925628d48a8af/evm/src/libraries/TrimmedAmount.sol#L5-L8) abstraction has a [runtime...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 event emit when user calls deposit ### Description Whenever `BalanceToDeposit` is updated, the protocol should emit a `SetBalanceToDeposit` event. However, when a user calls `UserDepositManager.deposit`, the event is never emitted, which could break tooling. ### Recommendation Instead of setting the v...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Validation in initializeDeposit ### Description The [`initializeDeposit` function](https://github.com/0xFFoundation/fchain-contracts/blob/11ffd45bc95747b8d2432a2e8bb120d4a1dc19a2/src/StakeManager.sol#L303-L306) allows deposits of both native tokens and lockups for licenses. However, in the case wh...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: cronJob checkTokens Might Flood User Notifications ✓ Fixed ### Description The snap includes a cron job named `checkToken` that activates every 15 days to verify which user tokens are backed up and which are not. For each token identified as not backed up (listed in `tokenList`), the snap issues a notificat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: It is possible to fire empty events ### Description There is an issue at line https://github.com/curvefi/stableswap-ng/blob/8c78731ed43c22e6bcdcb5d39b0a7d02f8cb0386/contracts/main/LiquidityGauge.vy#L435 and https://github.com/curvefi/stableswap-ng/blob/8c78731ed43c22e6bcdcb5d39b0a7d02f8cb0386/contracts/main/Li...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
logic
false
false
## High: Incorrect calculation of `rewardPerLiquidity` ### Description If the first user deposits NFT after some time from `notify()` call, then `(lastTimeRewardApplicable() - lastUpdateTime)` always will be less than `DURATION` which leads to freezing some funds on the contract: https://github.com/keep3r-network/Stak...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Privileged roles can have only one member ### Description The [`AddressRegistry` contract](https://github.com/InstaDApp/contract-v2/blob/4863c0c4156af7ded9cdb38b66e5f5e527c4a6d0/contracts/InstaRegistry.sol#L9) has a mapping named `registry` that maps (hashes of) a role to the address that has that role. Import...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use a two-step access control transfer pattern ### Description The `MuseumOfMahomes` contract uses a single-step access control transfer pattern in `setOwner` and `setMetadataOwner`. This means that if the current `owner` or `metadataOwner` accounts call the methods with an incorrect address, then those roles ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `StorageOperator.costableWalletCount()` Does Not Exclude Costfree Wallets ### Description **Update** The team addressed the issue in: `b98e1d0e868b1349938f111bf3317ffc3ee22a27`. The function was renamed to `storageWalletCount()`, and the comments were updated to clarify that the returned number will include 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
other
true
false
## High: Wrong validation in `DefaultUndelegationPolicy.onUndelegate()` ### Description **Severity:** High **Description:** In `onUndelegate()`, it checks if the operator owner still holds at least `minimumSelfDelegationFraction` of total supply. But `amount` means the DATA token amount and `balanceOf(owner)` indic...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Cancel of already cancelled order ### Description User can cancel already filled order, so incorrect event would emit: https://github.com/1inch/limit-order-protocol/tree/a14bde6a260458de5083cee117d734221e1cbc05/contracts/LimitOrderProtocol.sol#L161 ### Recommendation We recommend to add the following check...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
flash-loan
false
false
## Low: Unused Struct Variables and Errors ### Description The following is a list of variables that are either unused or are set but never read: - **ValidationLogic.sol**: - `ValidateBorrowLocalVars.currentLiquidationThreshold` - **DataTypes.sol**: - `FinalizeTransferParams.toEModeCategory` - **FlashLoanLo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
access-control
true
false
## Low: Incorrect/misleading comments (2) - SecuritizeVault ### Description Comments that do not accurately reflect the code's functionality can lead to misinterpretation during development, code review, and future maintenance. ```solidity ISecuritizeVault.sol 72: /** 73: * @dev Grants the Redeemer role to an...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
true
false
## Low: Old escrow might still contain tokens ### Description ## Node Escrow Removal Recommendation **Context:** Node.sol#L227 **Description:** If an escrow is removed, it could potentially still contain assets or node shares. It also still could contain allowances to the node. **Recommendation:** Consider doin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `universalApproveMax` will not work for some tokens that don't support approve `type(uint256).max` amount. ### Description `universalApproveMax` will not work for some tokens that don't support approve `type(uint256).max` amount. ### Impact Tokens that don't support approve `type(uint256).max` amount could...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Sub-optimal role ID implementation ### Description The `ArbitrumStrategyManager` contract defines role identifiers as public constants using string literals, specifically for the `CONFIGURATOR_ROLE` and `EMERGENCY_ACTION_ROLE`. According to the `OpenZeppelin` [documentation](https://github.com/OpenZeppelin/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
other
false
false
## High: It is impossible to rebalance another account’s fixed borrow rate ### Description In the [`rebalanceFixedBorrowRate` function](https://gitlab.com/aave-tech/dlp/contracts/blob/1f8e5e65a99a887a5a13ad9af6486ebf93f57d02/contracts/lendingpool/LendingPool.sol#L493) of the `LendingPool` contract, the call to [`core....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: setEModeCategory() Invalid Parameters ### Description The function `setEModeCategory()` takes the parameters `ltv`, `liquidationThreshold`, and `liquidationBonus`. These parameters are used when a user supplies collateral in eMode with a matching eMode category. There is an assertion when configuring a reserv...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Proposal creation bypasses minimum voting weight requirement when no tokens are locked hence no voting power exists ### Description **Description:** `AdminVoting::minCreateProposalPct` specifies the minimum voting weight required to create proposals, however this is bypassed allowing anyone to create proposals...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Whitelisting too Many Tokens on Construction Will Fail ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > For the deployment of the Marketplace contracts, we decided to add only one token to the white list (WPLS), and the rest of the tokens 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
low
initialization
true
false
## Low: Missing Initialization Check ### Description ## LzAppUpgradeable Contract Review ## File Location `contracts/contracts-upgradable/lzApp/LzAppUpgradeable.sol` ## Function Overview ### Issue Identified The function fails to verify whether `_srcAddress` is initialized. Consequently, a function call with a cur...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
storage
false
false
## Gas: Don't copy entire structs from `storage` to `memory` when only a few slots are required ### Description **Description:** Don't copy entire structs from `storage` to `memory` when only a few slots are required: * `Bet::cancel` only needs to read 5 slots `status,maker,makerStake,takerStake,asset` from storage, 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: Users who deposit via `returnShares()` can be unable to withdraw ### Description **Severity** **Impact:** High **Likelihood:** Low **Description** The problem is that functions `gimmieShares()` and `returnShares()` don't update the array of vaults `stakersVaults`. For example, if the user's first deposi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
signature
false
true
The validateOrder function of GolomTrader calls the Solidity ecrecover function directly to verify the given signatures. The return value of ecrecover may be 0, which means the signature is invalid, but the check can be bypassed when signer is 0. ### Proof of Concept <https://github.com/code-423n4/2022-07-golom/blob...
Code4rena
5
Golom
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unused constants can be removed ### Description **Description:** `LibDoubleGeometricDistribution` and `LibCarpetedDoubleGeometricDistribution` both define the following constant: However, both instances are unused and can be removed as they appear to have been erroneously copied from the `LibGeometricDistrib...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: contract is not fully ERC2981 compliant ### Description The `WERC721` contract implements the ERC721 standard from the OpenZeppelin library. This contract primarily represents bridged NFTs on a chain that is different from the NFT's original chain. It implements a few additional functions from the standard ERC...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
false
false
## High: Integrity Check Bypass ### Description ## Gramine Manifest File Security Gramine’s manifest file allows the filtering of files or directories readable by the enclave program via the `allowed_files` field. Additionally, it ensures the integrity of files through the `trusted_files` field. Any files in this lis...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
from=to
true
true
<https://github.com/code-423n4/2022-10-traderjoe/blob/79f25d48b907f9d0379dd803fc2abc9c5f57db93/src/LBToken.sol#L182><br> <https://github.com/code-423n4/2022-10-traderjoe/blob/79f25d48b907f9d0379dd803fc2abc9c5f57db93/src/LBToken.sol#L187><br> <https://github.com/code-423n4/2022-10-traderjoe/blob/79f25d48b907f9d0379dd80...
Code4rena
5
Trader Joe
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Constants not declared explicitly ### Description There are a few occurrences of literal values being used with unexplained meaning in the codebase. For example: * In the [`OrderMixin`](https://github.com/1inch/limit-order-protocol/blob/4d94eea25e4dac6271bfd703096a5c4a4d899b4a/contracts/OrderMixin.sol) contr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
true
false
## Medium: If a withdrawal executes after a bad debt auction gets created, it could cause the auction to be stuck and further bad debt auctions can’t be created ### Description ### Finding description and impact In a bad debt auction: * Bid token - the `dtokens` (debt) the auction winner will take on. * Lot token - ...
0