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: No existence checks on framework block and timestamp reads ✓ Addressed ### Description The exit game libraries make several queries to the main `PlasmaFramework` contract where plasma block hashes and timestamps are stored. In multiple locations, the return values of these queries are not checked for existence...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users can create vaults that cannot be liquidated ### Description The Controller contract does not check that the UniswapV3 token positions deposited into the vaults hold liquidity, allowing users to create non-liquidable vaults. The Controller contract allows any user to deposit UniswapV3 token positions i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: [12] Lack of old and new value for events related to parameter updates ### Description Events that mark critical parameter changes should contain both the old and the new value. https://github.com/code-423n4/2023-03-asymmetry/blob/main/contracts/SafEth/SafEth.sol#L165-L175
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users can get unlimited votes ### Description _Submitted by IllIllI, also found by kenzo_ Users can get unlimited votes which leads to them: 1. gaining control over governance 2. getting undeserved rewards 3. having their pools favored due to gauge values ### Proof of Concept `_mint()` calls `_moveToke...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [05] Inefficient usage limit increment call ### Description `SessionManager` contract requires unnecessary `incrementUsageLimit` calls for signers with any historical ETH usage, even when no ETH is being spent in the current transaction. This wastes gas and increases calldata size without providing any functio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 could lose underlying tokens when redeeming from the `IdleYieldSource` ### Description _Submitted by shw_ The `redeemToken` function in `IdleYieldSource` uses `redeemedShare` instead of `redeemAmount` as the input parameter when calling `redeemIdleToken` of the Idle yield source. As a result, users coul...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Import Path in `WheelOfGuantune.sol` Will Cause the Code to Never Compile ### Description The import path of the code does not follow the same naming convention as the actual file: ```solidity import { VeGuan } from "src/VeGuan.sol"; ``` However, the actual file name is: `src/veGUAN.sol` ### Im...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
false
false
## Low: INSUFFICIENT VERIFICATION OF REFUND AMOUNTS IN ADD LIQUIDITY ### Description The `AddLiquidity` instruction, called by `deposit`, calculates the corresponding amounts to increase liquidity based on the user-provided amount\_0 and amount\_1, considering the following: * Transfer fees that will be internally 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
true
false
## Low: Users in VaultFundraise cannot cancel deposits ### Description In the VaultFundraise system, once a user chooses to deposit funds, they can only withdraw their funds by waiting for the admin to close or cancel the vault. However, during the fundraising process, the vault parameters, such as the total token sup...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inefficient encoding of uint56 to uint24 floating point representation ### Description This issue has been identified within the [_packFP24](https://github.com/longgammalabs/hanji-contracts/blob/70b15ec4d9e7578248141604503843716a67d875/src/HanjiLOB.sol#L1317) function of the `HanjiLOB` contract. The current 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
signature
true
false
## Medium: Missing nonce in `LISTING_TYPEHASH` affects EIP-712 and signatures ### Description In the `Marketplace.generateListingSignatureHash()` function, when the hash is generated for a listing request, it includes the `nonce` parameter, however, this nonce is not introduced in the `LISTING_TYPEHASH`, which breaks ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
reentrancy
false
false
## High: Player can mint more fighter NFTs during claim of rewards by leveraging reentrancy on the `claimRewards() function` ### Description When a fighting round ends, winners for the current round get picked and allocated respective rewards. These rewards are fighter NFTs that can be claimed by such winners. When yo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
front-running
true
false
## High: Reserve sales vulnerable to MEV due to missing slippage protection in _sellDsReserve func- tion ### Description The `_sellDsReserve` function in `FlashSwapRouter.sol` lacks slippage protection when selling DS (Debt Swap) tokens from reserves, exposing protocol liquidity providers to value extraction through M...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
reentrancy
false
false
## High: Token Bridge Reentrancy Can Corrupt Token Accounting ### Description The `TokenBridge` contract gets deployed on both L1 and L2, allowing users to bridge tokens between the layers by calling the [`bridgeToken`](https://github.com/Consensys/linea-contracts/blob/f08c1906855198e2dc0413a47dcb38291b7087e5/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
medium
other
true
false
## Medium: Unsafe asset removal without borrow validation ### Description The `removeAsset` function in the Vault contract allows removing an asset from the vault’s asset list without checking for outstanding borrows. This can lead to potential system inconsistencies and unexpected behavior in the lending protocol. `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
flash-loan
true
false
Source: https://github.com/sherlock-audit/2023-01-ajna-judging/issues/101 ## Found by hyh, CRYP70, minhtrng, ctf\_sec ## Summary FlashLoan logic do not control the end result of transferring tokens out and back in. Given that protocol aims to support arbitrary non-rebasing / without fee on transfer / decimals in `...
Sherlock
5
Ajna
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: In `FiveFiftyRule` add check that `equity != 0` in functions `createEntity` and `setCatalyst` ### Description **Description:** If `equity` is ever set to zero then `_checkEntityAllowance` will revert on division by zero which will prevent all transfers that pass through the code paths involving `_checkEntityAl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: It is possible to pollute the observations array Status: Undetermined ### Description In new versions of the Chainlink and Band price feeds, it is possible to pollute the observations array with a single observation because the strict equality in `require`’s condition was changed to a loose equality, as sho...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: With assembly, .call (bool success) transfer can be done gas-optimized ### Description Return data (bool success,) has to be stored due to EVM architecture, but in a usage like below, ‘out’ and ‘outsize’ values are given (0,0), this storage disappears and gas optimization is provided. (bool success,) = dest....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing input validation for LevelMinting.initiateRedeem() ### Description The `LevelMinting.initiateRedeem()` function only checks that `order.order_type` is `Order-Type.REDEEM`. There are no other checks for the fields in the order struct. As such, users can initiate redemption with: 1. `order.collateral_as...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Upgradability ### Description **Update** The client provided the following explanation: > acknowledged **Description:** While upgradability is not a vulnerability in itself, protocol users should be aware that the lending protocol can be upgraded at any given time. This audit does not guarantee the behavior ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
oracle-manipulation
true
false
## Low: Positive Pyth oracle exponents should be explicitly handled ### Description `PriceOracle._scalePythPrice()` assumes that the exponent `_expo` will always be negative: ```solidity function _scalePythPrice(int256 _price, int32 _expo) internal pure returns (uint256) { if (_price < 0) { 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
front-running
false
false
## Medium: `exitTempusAMM` can be made to fail ### Description _Submitted by cmichel_. There's a griefing attack where an attacker can make any user transaction for `TempusController.exitTempusAMM` fail. In `_exitTempusAMM`, the user exits their LP position and claims back yield and principal shares. The LP amounts 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
oracle
false
false
## Low: Incorrect Natspec ### Description `callOracle()` returns `uint256` but its Natspec says it returns `uint256[]`. ### Recommendation Fix the Natspec.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: PrivateDistribution does not guarantee the allocation of tokens for investors ### Description **Description** Method _addInvestor does not allocate tokens for investors during their creation and requires the governance address manager to transfer tokens manually to PrivateDistribution contract address. **Sn...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Weak condition ### Description The token's balance can be easily manipulated by any actor, which makes `balanceCondition` vulnerable to DoS attacks: https://github.com/MetaLex-Tech/borg-core/blob/9074503d37cfa1d777ef16f6c88b84c98b4f54eb/src/libs/conditions/balanceCondition.sol#L37. ### Recommendation We do...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rounding Errors ### Description ## Health Factor Calculation The health factor calculation in `as_health_factor` should use the floor operation to round down the result to benefit the pool. Likewise, within utilization, use ceiling rounding (`ceil`) instead of floor rounding for calculating the utilization ra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No Storage Gap Declared on `OwnableUpgradeable` ### Description **Update** Fixed in commit [f48f22f](https://github.com/hifi-finance/hifi/commit/f48f22f) by adding state variable `uint256[50] private __gap;` to `OwnableUpgradeable.sol`, as suggested. **File(s) affected:**`packages/protocol/contracts/access/Ow...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
rounding
true
false
## Gas: Full precision math is not strictly required ### Description The codebase uses full precision math whenever fractions are computed. While this can prevent overflow issues and allows for specifying a rounding direction, in most cases it is not required, adding unnecessary computational overhead. When the claim...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The EigenPod balance update function has to be permissioned ### Description **Severity:** Medium **Path:** EigenPod.sol:verifyBalanceUpdate#L193-L274 **Description:** The `verifyBalanceUpdate()` function is permissionless and, therefore, could be called by anyone with valid proof of a validator's 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...
solodit_api
medium
front-running
false
true
## Severity **Impact:** Medium **Likelihood:** Medium ## Description As the `sync()` modifier, which reverts if `swapActive()` returns `true`, is used in many crucial functions in `Folio` and also the `FolioDAOFeeRegistry`, this can be exploited to cause a DoS on protocol operations including: 1. `mint()` and `red...
Pashov Audit Group
3
Reserve_2025-06-02
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `reLPContract.reLP()` is susceptible to sandwich attack due to user control over `bond()` ### Description `RdpxV2Core.bond()` calls `reLPContract.reLP()` at the end of the bonding to adjust the LP for the rDPX/ETH pool and swap ETH for rDPX. Within `reLPContract.reLP()`, it first calls `removeLiquidity()` 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: Typographical errors ### Description ## Context **File:** `custodian_manager.go#L96` ## Description/Recommendation NFA should be changed for MFA. ## Lombard Fixed in commit `27daec96be4ad6616a38219a05e5f5156d61524a` on dev branch along with some other issues that were identified during QA. ## Cantina Manage...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
false
false
## Medium: ProtocolFeeController Gas Griefing ### Description The `ProtocolFees` contract implements the logic of retrieving a fee from the `protocolFeeController` external contract. The [call](https://github.com/Uniswap/v4-core/blob/d5d4957b35750e8cf1f3db5584e77eef4861c21e/src/ProtocolFees.sol#L72-L74) to `protocolFe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Access Control
false
false
## Handle pauliax ## Vulnerability details ## Impact This function sponsor should only be called by the factory, however, it does not have any auth checks, so that means anyone can call it with an arbitrary _sponsorAddress address and transfer tokens from them if the allowance is > 0: /// @notice ability to add...
Code4rena
5
Reality Cards
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Exhaustion Risk in massUpdatePools() ### Description The `massUpdatePools()` function from MasterBorpa contract iterates through all active pools to update their reward states. ``` function _massUpdatePools() internal { uint256 length = _activePools.length(); for (uint256 index = 0; index < length; ++inde...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use `do while` loops instead of `for` loops ### Description A `do while` loop will cost less gas since the condition is not being checked for the first iteration. Total Instances: `14` https://github.com/code-423n4/2023-05-ajna/blob/main/ajna-core/src/RewardsManager.sol#L680-L704 *Gas Savings for `RewardsMa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: COIN DENOMINATION IS NOT CHECKED WHEN REMOVING VALIDATORS ### Description When removing a validator using the `remove_validator` function in the **krp-staking-contracts/basset\_sei\_validators\_registry** contract, there is no check about coin denomination in the delegated amount (i.e.: coin to be redelegat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing events for `VaultPriceFeed` ### Description **Severity** : Low **Status** : Resolved **Description** : Missing events for critical functions in `VaultPriceFeed.sol` such as `setGov()`, `setValidTime()`, `setStableToken()`, `setPyth()` and `updatePriceFeeds()`. **Recommendation**: Consider adding...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
overflow
false
false
## Low: Missing validation check for unstakedFee in CLPool.applyUnstakedFees/unstakedFee , which might ### Description `unstakedFee` returns a value that is used in the context of percentage, i.e., there is an implicit assumption that the return value should be `<= 1_000_000` while in reality, this is not enforced 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
high
liquidation
true
false
## High: Users can avoid liquidation while being under the primary liquidation ratio if on the last short record ### Description The protocol permits users to maintain up to 254 concurrent short records. When this limit is reached, any additional orders are appended to the final position, rather than creating a new on...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
logic-error
true
false
## Low: Not way to change the recipient in the liquidity provider in the offramp logic ### Description Both` AllowanceLiquidityProvider` and `CollateralLiquidityProvider` contracts set the recipient address only during initialization, with no function to update it afterwards. In `RedemptionManager.sol`, when` assetBur...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
reentrancy
true
false
## Medium: keep-core - Service contract callbacks can be abused to call into other contracts ✓ Addressed ### Description `KeepRandomBeaconServiceImplV1` allows senders to specify an arbitrary method and contract that will receive a callback once the beacon generates a relay entry: **keep-core/contracts/solidity/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
token
true
false
## Low: `SwapPair` may revert on 0 transfer tokens ### Description **Impact** Certain tokens revert on a 0 amount transfer The code also performs the check to prevent zero transfers in many parts, but in these 2 instances the check was missed [Note that for OZ tokens, the check is not necessary](https://github.com/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
storage
false
false
## Low: Heap only supports balances up to type(uint96).max ### Description ## Severity: Low Risk **Context**: `HeapOrdering.sol#L9` **Description**: The current heap implementation packs an address and the balance into a single storage slot which restricts the balance to the `uint96` type with a max value of ~7.9e28...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Transferring tokens to feedistributor after calling checkpointtoken may cause incorrect distribution ### Description The `StakingEmissions` contract transfers tokens to `FeeDistributor` as weekly emissions, and users can claim rewards from `FeeDistributor`. Here is the `StakingEmissions._distribute()` funct...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
Type casting
false
true
Source: https://github.com/sherlock-audit/2024-03-axis-finance-judging/issues/204 ## Found by FindEverythingX ## Summary Unsafe casting within _purchase function can result in overflow ## Vulnerability Detail Contract: FPAM.sol The _purchase function is invoked whenever a user wants to buy some tokens from an FPAM...
Sherlock
5
Axis Finance
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
true
false
## Medium: _checkSig allows signature re-use ### Description `_checkSig` allows signature re-use across multiple contract deployments and forks. This means an attacker can re-use an association of babyjub with an Ethereum address in multiple Hermez instances. `_checkSig` checks that a babyjub address was signed by 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...
cyfrin_structured
medium
integer-overflow
true
true
## Medium: `Tranche::maxMint` for Junior Tranches is at risk of overflow when the `jrNav` falls below `1:1` rate to `JR_Shares` ### Description Given that the system is composed of two tranches (Senior and Junior), and all the assets deposited among the two Tranches are polled together on the Strategy, the actual `tot...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Hardcoded Storage Slots Instead of Hash-Based Approach ### Description The storage slot constants in `AbstractRewardManager` use hardcoded integer values (1000001, 1000002, etc.) instead of hash-based generation. This approach is more prone to conflicts and less maintainable compared to using `keccak256` hashi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unsafe ABI Encoding ### Description It is common practice to use `abi.encodeWithSignature` or `abi.encodeWithSelector` to generate calldata for a low-level call. However, the first option is not typo-safe, and the second option is not type-safe. The result is that both of these methods are error-prone and shou...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Endpoint Check ### Description ## Settle Auction None Local Failure The `settle_auction_none_local` function fails to verify the endpoint information within the `PreparedOrderResponse` account. It does not check if the `to_endpoint` field in the `PreparedOrderResponse` account is set to `Local` befor...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
true
false
## Low: `_onlyCalmPeriods` does not consider MIN/MAX ticks, which can DOS deposit, withdraw and harvest in edge cases ### Description **Description:** In Uniswap V3 liquidity providers can only provide liquidity between price ranges `[1.0001^{MIN_ TICK};1.0001^{MAX_TICK})`. Therefore these are the min and max prices. ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Excess ETH Not Refunded in Price Update Transactions ### Description The `PythAggregator` contract's `updatePrice` function, which is called indirectly through `getPrice()`, does not refund excess ETH sent by users. This function is called in multiple payable functions across `Router.sol`, `Factory.sol`, 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
token
false
false
## Low: Tokens can be transferred to the zero address ### Description The [`transfer`](https://github.com/pjsimpkins/ArroERC20Code/blob/1ca1cc85f2e7e046070c187031b75b3335ef57c3/Solidity#L149) and the [`transferFrom`](https://github.com/pjsimpkins/ArroERC20Code/blob/1ca1cc85f2e7e046070c187031b75b3335ef57c3/Solidity#L18...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
front-running
true
true
## High: Liquidity can be (de-)allocated at a bad price ### Description To allocate liquidity to a pool, a single `uint128` liquidityDelta parameter is specified. The required `deltaAsset` and `deltaQuote` token amounts are computed from the current `virtualX` and `virtualY` token reserves per liquidity (prices). An M...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Marketplace may call `onERC721Received()` and create a lien during `buyNftFromMarket()`, creating divergence ### Description The contract supports a "push-based" NFT supply, where the price and rate are embedded in the data bytes. This way, the lender doesn't need to additionally approve the NFT, but can just...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Use shift Right/Left instead of division/multiplication if possible
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Setting `Factory.auctionDecrement` to zero causes Denial of Service in `Auction.settleAuction()` ### Description _Submitted by pants_. The function `Factory.setAuctionDecrement()` allows the owner to set the state variable `Factory.auctionDecrement` to zero. #### Impact If `Factory.auctionDecrement` equa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Supplier May Not Be Able to Withdraw Nft ### Description **Update** Marked as "Fixed" by the client. Addressed in: `ec728695f660878b21f449410bf07e4373ede9d7`. The client provided the following explanation: > Save gas as well, users will be responsible to manage their received NFT. **File(s) affected:**`Parti...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Using weak source of randomness via block.timestamp for generating the Anity ### Description **Description:** Use of block.timestamp is insecure. There is no true source of randomness present in the random function. The input parameters are known values. This makes is easier for the attacker to guess the va...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: veALCX does not comply with ERC721, breaking composability ### Description Report type: Smart Contract Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/VotingEscrow.sol Impacts: - Contract fails to deliver promised returns, but doesn't lose value ## Description ## Brief/Intro veAL...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: NFT stolen due to wrong approval validation (Project self-injected exploit) ### Description **Severity** **Impact:** High **Likelihood:** High **Description** When calling `approve()`, some checks are performed under the hood via `_FB721Approve()` to validate approval permissions. Note that the check reg...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unrestricted `OmoAgent.onERC721Received()` allows permanent DoS and stuck funds ### Description - The `OmoAgent.onERC721Received()` function is intended to be invoked when an NFT is transferred to the contract using the `safeTransferFrom()` method, however, the `depositPosition()` function incorrectly transfe...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Redemption value of synths can be manipulated to drain `VaderPool` of all native assets ### Description _Submitted by TomFrenchBlockchain_ #### Impact Draining of funds from `VaderPool` #### Proof of Concept See the `VaderPool.mintSynth` function: As the pool's reserves can be manipulated through flashl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Optimize deposit amount check ### Description Following [check](https://github.com/iearn-finance/yearn-vaults/blob/054034304c7912d227d460feadc23177103de0b9/contracts/Vault.vy#L668) of deposit, the amount is required only if the previous [condition](https://github.com/iearn-finance/yearn-vaults/blob/054034304c7...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Contract inherits from `Pausable` but does not expose pausing/unpausing functionality ### Description **Impact:** Low, as methods do not have `whenNotPaused` modifier **Likelihood:** High, as it is certain that contract can't be paused at all **Description** The `Organizer` smart contract inherits from O...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
false
false
## Medium: Malicious Plugin Could Prevent Uninstall and Lead to Denial-Of-Service ### Description **Update** Alchemy has acknowledged this issue and added to the document of risks. **File(s) affected:**`account/UpgradeableModularAccount.sol`, `account/PluginManagerInternals.sol` **Description:** Plugins can register...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
false
false
## Medium: Cannot use most piecewise linear functions with current implementation ### Description _Submitted by cmichel_ The `ThreePieceWiseLinearPriceCurve.adjustParams` function uses three functions `f1, f2, f3` where `y_i = f_i(x_i)`. It computes the y-axis intersect (`b2 = f_2(0), b3 = f_3(0)`) for each of these ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Using Storage Root Value After Reset ### Description ## reset_active_merkle_tree Instruction The `reset_active_merkle_tree` instruction is used to close the active Merkle tree by storing its root value in a nullifier account and activating a new one. However, the storage root value is taken after resetting 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
high
oracle
true
false
## High: Incorrect Token Addresses Passed For Quote Price ### Description ## UniswapOracle Token Price Calculation Issue The calculation of `amountOut` for the given amount of the base token is performed incorrectly in `getTokenPrice` inside `UniswapOracle`, where the quote token is USDC. ## UniswapOracle.sol (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
low
other
true
false
## Low: forceDeallocate allows the caller to deallocate more than it owns ### Description ## Severity: Low Risk **Context:** `VaultV2.sol#L567-L582` **Description:** The current implementation of `forceDeallocate` imposes no explicit upper limit on what the caller can deallocate from the specified `address[] memory...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Misleading HTML Entity and Function Name getPrivkey ### Description Several lines in the code refer to a private key while the functionality always returns a public key. I.e. `getPrivkey` actually calls `getPublicKey`. **../solflare-snap/index.html:L17-L21** ``` const getPrivkeyButton = document.querySelec...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
false
false
## Low: An insecure HostnameVerifier that disables SSL hostname validation ### Description The `NoopHostnameVerifier` class in the `org.apache.http.conn.ssl` package defines a `HostnameVerifier()` method that does not validate the server’s hostname (figure 22.1). This allows an attacker to perform a PITM attack on a us...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Unclear program version checks ### Description When a program is activated, the current Stylus version of the chain is used to compile and instrument the program. If activation is successful, the program state is updated to reflect that version (figure 10.1). ```go programData := Program{ wasmSize: wasmSize,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect Withdraw Fee Calculation On Update ### Description ## Update on Protocol Fee Calculation In `protocol::update`, the change in `amount_per_period` triggers an additional fee calculation using `withdrawal_fees` based on `contract.start`. **File**: `sources/protocol.move` However, using the start...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
dos
false
true
Source: https://github.com/sherlock-audit/2023-02-openq-judging/issues/77 ## Found by rvierdiiev, eyexploit, TrungOre, 0xdeadbeef, MyFDsYours, joestakey, HollaDieWaldfee, chainNue, bin2chen, kiki\_dev, clems4ever, unforgiven, yixxas, jkoppel, hake, Robert, imare, HonorLt, 0x52, ak1, Atarpara, ctf\_sec, ltyu, seyni, ...
Sherlock
5
OpenQ
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
initialization
true
true
First, I need to clarify, there may be more serious ways to exploit this issue. Due to the lack of time and documents, I cannot complete further exploit. The current exploit has only achieved the impact in the title. I will expand the possibility of further exploit in the poc chapter. The call to MsgValueSimulator wi...
Code4rena
5
zkSync
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
initialization
false
false
## High: Incorrect values for release times are set in the constructor since there is no binding to the current time, so the user can easily withdraw all funds at once. ### Description **Example Case**: Three values are transferred to the releaseTime_ array - 100, 1000, 10000 (in seconds). The current timestamp is 1,0...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Max amount may exceed totalSupply ### Description **Description** Although these functions can be called only by an authorized person, the total of maxAmounts should be calculated in order not to exceed totalSupply or balance of _lgePairAddress . Also notice, that max amount for each round is a limit for e...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
reentrancy
true
false
## Low: Malicious user holding `HilBTC` tokens can front run blacklisted transaction ### Description When the `blacklister` attempts to blacklist a malicious user holding `HilBTC` tokens, the maliciois user can monitor the memepool and front-run the blacklist tx by quickly redeeming their `HilBTC` tokens through 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
other
false
false
## Low: PANIC IS USED FOR ERROR HANDLING ### Description Several instances of the `panic` function were identified in the codebase. They appear to be used to handle errors. This can cause potential issues, as invoking a panic can cause the program to halt execution and crash in some cases. This in turn can negatively ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: The borrower can be instantly liquidated ### Description **Severity** **Impact:** High **Likelihood:** Low **Description** The `IonPool.sol` allows the creation of unsafe positions that can be liquidated instantly. When a user creates a position only basic position checks are performed: Compare it to ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Using ```memory``` instead of ```calldata``` ### Description Using ```memory``` instead of ```calldata``` for input arrays in external functions: https://github.com/EnsoFinance/shortcuts-contracts/blob/4902e55608f975f73772310955444110b1cfc4fc/contracts/wallet/MinimalWallet.sol#L45 https://github.com/EnsoFinanc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
signature
true
false
## Low: Unused return value can be removed ### Description The `IRedeemableLegacy::autoRedemption` function signature is as follows: ```solidity function autoRedemption( address _swapRouterAddress, address _collateralAddr, bytes memory _swapPath, uint256 _amountIn ) external returns (uint256 _redeemed...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Direct Deposit Async Handling ### Description ## Internal Direct Deposit and Stake Issues When invoking `internal_direct_deposit_and_stake`, a copy of the validator info is passed into the asynchronous callback. Unfortunately, due to Near’s asynchronous nature, this data can become out of date, leadi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wrong Function description. ### Description **Severity**: Informational **Status**: Resolved **Description** dpnm_sc.sol - In the depositBonus For dPNM bonus requires that token value less than earn limit left. But in the description, dev wrote that token value should be greater than earn limit left. **...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
true
false
## Low: Signatures may be reused between the ChainlinkAtlasWrapper and BASE_FEED ### Description The ChainlinkAtlasWrapper is intended to be a wrapper of the Chainlink BASE_FEED contract, with the two contracts potentially sharing the same signers and transmitters. Since both contracts have the same arguments and veri...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
liquidation
true
false
## Low: `StabilityPool` user functions panic revert if more than 256 collaterals are enabled ### Description **Description:** `StabilityPool` has a number of mappings where the value component is an array with length 256: There are a number of internal functions which iterate over every collateral then update these ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Guardian will not be able to cancel a malicious proposal ### Description A malicious actor can bypass guardian cancellation protection by bundling malicious actions with `setGuardian` in a proposal. The guardian cannot cancel any proposal containing `setGuardian`, even when it includes other dangerous actio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unchecked possible zero address ### Description **Severity**: Medium **Status**: Resolved **Description** In contract EthBridge.sol, at line 69 in function depositERC20To the _to function parameter can be zero and is not checked. The following function calls will not revert in case of a zero _to address,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Consistent naming for lateInterestPremiumRate_ ### Description The `lateInterestPremium_` was renamed to `lateInterestPremiumRate_`, but this change was not reflected in: - `_getLateInterest` - `_getPaymentBreakdown` - `_getRefinanceInterest` ### Recommendation Consider changing the name to `lateInterestPremi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
rounding
true
false
## High: Bold Batch Shares Math can be rebased by combining rounding errors and `setBatchManagerAnnualInterestRate` to borrow for free ### Description **Executive Summary** This finding is the culmination of #41, #40 and #39 This finding demonstrates that the Truncation based math, used in `_updateBatchShares`, in ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
storage
true
false
## Low: The re-stake function is partially suppressed ### Description The `re_stake` functionality of the **fund** contract is partially suppressed due to the withdrawal included in the `unstake` function. Since the tokens are automatically withdrawn in the same transaction as the unstake operation, there is no possi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 `Ownable2Step` instead of `Ownable` for access control ### Description - https://github.com/code-423n4/2023-05-particle/blob/main/contracts/protocol/ParticleExchange.sol#L14 Use the [Ownable2Step](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable2Step.sol) variant...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `DocumentManager::hasSignedDocs` incorrectly returns `true` when there are no documents to sign ### Description **Description:** `DocumentManager::hasSignedDocs` incorrectly returns `true` when there are no documents to sign: **Impact:** Upstream contracts incorrectly assume users have signed docs and all...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: `Controller.updateWeights()` can set a total weight differing from one ### Description When invoking `Controller.updateWeights()` or `BaseConicPool updateWeights()`, it's possible to pass in duplicate pools so that the sum of the weights in the provided list would equal one. However, the resulting sum of `B...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
cross-chain
true
false
## Medium: DecentEthRouter.sol#_bridgeWithPayload() - Any refunded ETH (native token) will be refunded to the DecentBridgeAdapter, making them stuck ### Description ### Impact The current flow of swapping and bridging tokens using the `DecentBridgeAdapter` looks like so: `bridgeAndExecute` inside `UTB` is called, 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
low
other
false
false
## Low: Overcomplicated construction. ### Description **Description** Since AbstractRewards contract is not used anywhere but within BasePool, thus construction with function pointers seems overcomplicated. **Recommendation**: Consider construction simplification
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [Dependency] Signed UserOperation struct has neighboring variable-length types ### Description ## UserOperation Struct Analysis **Context:** UserOperation.sol#L8-L35 **Description:** The `UserOperation` struct from eth-infiniteism's account-abstraction dependency is the payload used for signing. Contained ...
0