prompt
listlengths
2
2
source
stringclasses
3 values
severity
stringclasses
5 values
category
stringclasses
186 values
has_code
bool
2 classes
has_poc
bool
2 classes
reference_response
stringlengths
23
5k
firm
stringclasses
26 values
quality_score
float64
0
5
protocol
stringclasses
398 values
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
false
false
## Medium: Incorrect inequality in `YieldBearingAssetFundsAllocator#_generate_balance_txs` can lead to withdrawal DOS ### Description **Details** [YieldBearingAssetFundsAllocator.vy#L273-L277](https://github.com/adapter-fi/AdapterVault/blob/a5172a63abedd4e19c9e1a17b06d579760b4aba6/contracts/YieldBearingAssetFundsAllo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `earlyExitById()` and `exitLateById()` calls near the end of `lockPeriod` are vulnerable to attacks. ### Description `earlyExitById()` and `exitLateById()` calls near the end of `lockPeriod` are vulnerable to attacks. ### Impact Funds may be locked for longer than expected in `exitLateById()` Penalty may 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
other
true
false
## Medium: PositionManager will revert when trying to return back to user excess of the premium transferred from the user when minting position ### Description `PositionManager.mint` calculates preliminary premium to be paid for buying the option and transfers it from the user. The actual premium paid may differ, and ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
signature
false
false
## Low: Protocol vulnerable to cross-chain signature replay ### Description As signatures do not include`chainId`, signature verification is vulnerable to [cross-chain replay](https://dacian.me/signature-replay-attacks#heading-cross-chain-replay). ### Impact Although the protocol plans to deploy cross-chain in the fu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
critical
token
true
false
## Critical: Wrong decimals in the calculation of liquidity amount during redemption ### Description The contract `SecuritizeRedemption` provides a public function `redeem()` so that investors can redeem their asset (DS Token) for liquidity token. (Stable Coin) The parameter `_amount` represents the amount of asset 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...
cyfrin_structured
low
input-validation
false
false
## Low: Inconsistent validation while creating/updating a perp market ### Description `GlobalConfigurationBranch::createPerpMarket` [reverts](https://github.com/zaros-labs/zaros-core-audit/blob/de09d030c780942b70f1bebcb2d245214144acd2/src/perpetuals/branches/GlobalConfigurationBranch.sol#L351-L353) if `maxFundingVeloc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Payer cannot withdraw accidental extra funds sent to the contract without canceling ### Description If a different ERC20 is accidentally sent to the contract, the Payer can withdraw it using the `rescueERC20` function. However, if they accidentally send extra of the streaming token's funds to the 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
low
token
true
false
## Low: According to the style guide function arguments’ names should be in mixedCase. ### Description **Recommendation**: In the constructor of the ERC20 contract change the naming of the arguments from the CapWords to mixedCase as follow: constructor(string memory name, string memory symbol) {}
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `StakedCitadelVester.vest()`: Help the optimizer by saving a storage variable's reference instead of repeatedly fetching it (`vesting[recipient]`) ### Description Just like in `StakedCitadelVester.claimableBalance()` above:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A user can 'borrow' dMute balance for a single block to increase their amplifier APY ### Description The amplifier's APY is calculated based on the user's dMute balance (delegation balance to be more accurate) - the more dMute the user holds the higher APY they get. However, the contract only checks the 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
high
logic
true
false
## High: `burnSharesToWithdrawEarnings` burns before math, causing the share value to increase ### Description The [burnSharesToWithdrawEarnings](https://github.com/sherlock-audit/2024-04-teller-finance/blob/main/teller-protocol-v2-audit-2024/packages/contracts/contracts/LenderCommitmentForwarder/extensions/LenderComm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Low: No cap on protocol fee setting creates DoS risk ### Description _Resolved_ The `setProtocolFeeBps()` function in `ElytraConfigV1` lacks validation to cap the protocol fee at reasonable levels, creating inconsistency with other protocol functions and potential DoS risk. If you check the below 2 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
medium
rounding
true
false
## Medium: There may exist a discordance between price units and a precision loss. ### Description **Severity**: Medium **Status**: Acknowledged **Description** The whole protocol performs price down-escalations by dividing prices by `1e14`. These price variables are compared with prices directly from function par...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `MembershipFactory::tiers` will almost always return incorrect state ### Description **Description:** [`MembershipFactory::tiers`](https://github.com/OneWpOrg/audit-2024-10-oneworld/blob/416630e46ea6f0e9bd9bdd0aea6a48119d0b515a/contracts/dao/MembershipFactory.sol#L45-L50) exposes the [`_tiers`](https://github....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unintuitive User-Experience when `feeBeneficiary` Is Not Set ### Description **Update** Marked as "Fixed" by the client. Addressed in: `f648eb0550afa68901f42918719cb88140223b23`. Recommendation implemented. **File(s) affected:**`xAUXO.sol` **Description:** In `_chargeFee()`, the fee is first calculated and ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
true
false
## Medium: Modifying the loan term setting can default existing loans ### Description Protocol admins can modify the loan term settings. This action can inadvertently default existing loans created under different terms. ### Impact Positions in the Particle LAMM protocol are created for a configurable period of time...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
## High: `ReferralsUtils.updateStartReferrerFeeP()` implements wrong check ### Description At L64 in the `updateStartReferrerFeeP` function comparing sign is wrongly set to ``, resulting in an inability to set `startReferrerFeeP` to value in the correct range: ```solidity File: ReferralsUtils.sol 63: function update...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
initialization
true
false
## Gas: It costs more gas to initialize variables with their default value than letting the default value be applied ### Description If a variable is not set/initialized, it is assumed to have the default value (`0` for `uint`, `false` for `bool`, `address(0)` for address...). Explicitly initializing it with its defau...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: GradientBasedRules will not work for >=4 assets with vector lambdas ### Description UpdateRules based on `GradientBasedRule`will revert/produce incorrect result when  if `numAssets >= `4 and `lambda.length > 1`. It's due to a simple mistake in updating `intermediateGradientStates`. ### Impact * All gradient ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Order of Functions ### Description **Description** The functions in contract TokenVesting and MultiSigWallet are not grouped according to their visibility and order. Functions should be grouped according to their visibility and ordered in the following way: Constructor; Receive function (if exists); Fallback ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Account Abstraction
true
true
[contracts/smart-contract-wallet/BaseSmartAccount.sol#L60-L68](https://github.com/code-423n4/2023-01-biconomy/blob/main/scw-contracts/contracts/smart-contract-wallet/BaseSmartAccount.sol#L60-L68)<br> [contracts/smart-contract-wallet/aa-4337/core/EntryPoint.sol#L319-L329](https://github.com/code-423n4/2023-01-biconomy/...
Code4rena
5
Biconomy
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ETH recipients can block receiving ETH ### Description The function `executePayroll()` performs multiple ETH and/or token transfers. If one of the ETH recipients reverts (for example, if it's a contract that can't receive ETH), the entire function `executePayroll()` is reverted, necessitating a re-execution wi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Refactor the `PrincipalToken::getCurrentYieldOfUserInIBT` function to avoid one function call and one `Gcoldsload` when `oldIBTRate == 0` ### Description When `oldIBTRate == 0` then calling `_getPTandIBTRates(false)` (at line 563 below) and reading `ptRateOfUser[_user]` (at line 565) is useless since their res...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious User Can Increase the Gas Cost of Verification ### Description The `ZkTrieVerifier` library verifies proofs that come from the Scroll L2 node which uses a sparse binary Trie as the data structure. For the verification process, the proofs have the necessary node hashes to reconstruct the root hash ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Crashing all Validators | Vulnerability in eth_getBlockByHash ### Description Report type: Blockchain/DLT Target: https://github.com/shardeum/shardus-core/tree/dev Impacts: - Network not being able to confirm new transactions (total network shutdown) ## Description ## Brief/Intro In this report, we demons...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `FREEZER_ROLE` Not Revoked From Previous `VaultRouter` ### Description **Update** Fixed in commit [e5aa988](https://github.com/blex-dex/contracts/commit/e5aa988) by removing the `FREEZER_ROLE` from the previous `vaultRouter`, as suggested. **File(s) affected:**`./contracts/vault/CoreVault.sol` **Description:...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [FIXED] Missing `require` check in `FlashMintModule` ### Description In the function `flashLoan` of the contract `FlashMintModule`, there is no validation that after the `settleSystemBadDebt` call, the current amount of the `stablecoin` in `BookKeeper` equals or is greater than the previous amount plus fees, w...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
cross-chain
false
false
## Low: Path Disclosure in Error Response(All Relayers/Servers URLs) ### Description **Severity**: Low **Status** : Resolved **Description**: The Hinkal Protocol's Relayer endpoint is revealing sensitive file path information in its error response when it encounters malformed JSON input. In the provided scenario, ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Accepting new terms while loan is not funded leads to wrong principal transfers ### Description For open-term loans, the requested principal is stored in the `principal` storage variable upon initialization (instead of an extra `principalRequested` variable like for fixed-term loans). This leads to issues when...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Mainnet oracles are incompatible with wstETH causing many popular yields strategies to be broken ### Description Source: https://github.com/sherlock-audit/2023-07-blueberry-judging/issues/96 ## Found by 0x52 Mainnet oracles are incompatible with wstETH causing many popular yields strategies to be broken...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Low: Lack of SafeMath could lead to incorrect crowd loan bonuses ### Description The Crowd Loan Bonus pallet defines a `claim` function through which users can attempt to claim a crowd loan bonus from the crowd loan pot. This function takes an `amount` value and computes the amount of the payout (the `to_payout` 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
medium
token
false
false
## Medium: Use safeIncreaseAllowance instead of safeApprove ### Description **Severity**: Medium **Status**: Resolved **Description** While calling external contracts that consume your assets, try to avoid using `safeApprove` and use `safeIncreaseAllowance` instead. That will ensure you're not getting the 'SafeERC2...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Centralization risk ### Description **Severity**: Low **Status**: Resolved **Location**: locking.sol, TokenDistributor.sol, TokenMigration.sol **Description** : The smart contracts employ modifiers (e.g. onlyOwner) in functions responsible for carrying out important actions (e.g. setEmergencyExit, addBulkA...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TempleGold incompatibility with some chains ### Description **Description:** Because of `PUSH0` not supported in 0.8.19 or lower versions of solidity compiler, TempleGold will be incompatible with chains like Linea where it only supports solidity compiler 0.8.19 or lower. \clearpage
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Funds can be stuck due to wrong order of operations ### Description The contract `ERC20Quest.sol` has two functions of interest here. The first is `withdrawFee()`, which is responsible for transferring out the fee amount from the contract once endTime has been passed, and the second is `withdrawRemainingTok...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: An unchecked timestamp ### Description There are not enough timestamp checks. https://github.com/FantiumAG/smart-contracts/blob/a2d126453c1105028f12277b8f342d2cdbf01a77/contracts/FantiumNFTV3.sol#L719 https://github.com/FantiumAG/smart-contracts/blob/a2d126453c1105028f12277b8f342d2cdbf01a77/contracts/FantiumNF...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `FluidLocker::_getUnlockingPercentage()` incorrectly divides one of the components of the formula by `S`, leading to always having `80%` penalty ### Description [FluidLocker::_getUnlockingPercentage()](https://github.com/sherlock-audit/2024-11-superfluid-locking-contract/blob/main/fluid/packages/contracts/src...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Function setTrustedSigner should do sanity checks even if the caller is the owner, the owner can make mistakes too. ### Description **Recommendation**: Do a sanity check where you are checking if the new trusted signer has a different value from the old one, to not set the same value twice and consume gas.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Missing checks for `address(0x0)` when assigning values to `address` state variables ### Description *There are 6 instances of this issue:*
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Missing Zero Check of Milestone Award ### Description This issue has been identified within the `validateAndCalculateMilestones` function of the `MetaVesTController` contract. There is [no validation](https://github.com/MetaLex-Tech/MetaVesT/blob/b614405e60bce8b852e46d06c03fd47b04d86dde/src/MetaVesTController....
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [09] payable modifier on a function that shouldn't receive native tokens ### Description The `claim()` function has a `payable` modifier despite it doesn't use `msg.value`, and the contract shouldn't receive native tokens. This may lead to user errors and lost ETH, as it can't be recovered. https://github.co...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: [01] Previews misquote protocol fees by returning cumulative accrual in `LatentSwapLEX` ### Description `quoteMint()` and `quoteRedeem()` return `protocolFees` as `currentState.accruedProtocolFee`, which is the total time-based fee accrued since the last update, not the incremental fee attributable to the sing...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unprotected Vercel Preview URLs ### Description Preview deployments are currently accessible to anyone who obtains the URL, creating unnecessary security exposure. Without deployment protection, preview URLs (e.g., my-preview-5678.vercel.app) are publicly accessible with no access controls or audit capabilitie...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Gateway can call any contract  Acknowledged ### Description The `Gateway` contract is used as a gateway for meta transactions and batched transactions. It can currently call any contract, while is only intended to call specific contracts in the system that implemented `GatewayRecipient` interface: **code/src...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TOKENS ACCIDENTALLY SENT TO THE CONTRACT CANNOT BE RECOVERED ### Description It can't be recovered if the tokens accidentally arrive at the `V2Migrator` contract address. In line 65, it is noted that `BATH TOKENS V2` may get stuck, but no token recovery implementation is implemented if this happens. We recomme...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
true
false
## Medium: Receiver does not verify address from the originator chain ### Description The Receiver contract is designed to receive the cross-chain call from the `libDiamond` address on the destination chain. However, it does not verify the source chain address. An attacker can build a malicious `_callData`. An attacke...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Oracle
true
false
Source: https://github.com/sherlock-audit/2022-08-sentiment-judging/tree/main/133-M ## Found by xiaoming90, IllIllI ## Summary ERC4626 oracle is vulnerable to price manipulation. This allows an attacker to increase or decrease the price to carry out various attacks against the protocol. ## Vulnerability Detail Th...
Sherlock
5
Sentiment
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User incurs fee loss when using `BURN_UNLOCK_CODE` with a `NotSet` token status ### Description A user's funds may get stuck when using `BURN_UNLOCK_CODE` for a `NotSet` token. For example, consider the following scenario: 1. A user locks `1000e18` LP tokens on chain A and mints corresponding synthLp token...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Dead code in some contracts ### Description There are some occurrences of unused (`dead`) code in some contracts. ### Impact As said before, removing unused code can keep the code clean and more readable.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: ZERO LEVERAGE POSITIONS CAN BE OPENED ### Description It has been detected that positions with 0 leverage cycles can be opened. Although these kinds of positions make no sense in the context of these contracts, they still can be opened (i.e., because of user input error). Opening a position like this 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
other
true
false
## Low: Commented-out and unimplemented conditional statements ### Description The Composable Finance system does not define or document the expected behavior of certain conditional statements. It is difficult to assess the correctness or security of the code without an understanding of its expected behavior. For exa...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
dos
true
false
## Medium: Users can cast their votes multiple times for the proposal by transferring their nfts and then voting again ### Description ### Finding description and impact In the `BlackGovernor` contract users can cast their vote on the proposal. The requirements to cast the vote are that proposal has to be active, and...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: CRAFTS COOLDOWN TIME ARE ALWAYS ZERO ### Description In the `CraftingSystem` contract, when a craft is completed, the `lastCompletionTime` in the `_accountData` mapping is not updated. This means that the `cooldown` value is never considered, so all crafts have no cooldown. ### Recommendation **PARTIALLY 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
cross-chain
true
false
## Low: Users can avoid paying fees ### Description The vulnerability exists in the `send` function, which is responsible for sending tokens across chains. This function requires the user to pay fees to the protocol in the local representation of the token, as demonstrated in the following code: Although fees are 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
true
false
## Low: Resolve discrepancy between expected `randomNumber` in `DropBox::_assignTierAndMint` and `DropBoxFractalProtocol::_determineTier` ### Description **Description:** `DropBox::_assignTierAndMint` generates `randomNumber` between 0 and 9999 and then calls `DropBoxFractalProtocol::_determineTier` passing this as i...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
liquidation
false
false
## High: Missed depositary check ### Description In function `buy` defined at https://github.com/bondappetit/bondappetit-protocol/blob/88680691fe8d872c5fc26e9500d19cf7caaa9861/contracts/CollateralMarket.sol#L120 contract exchanges collateral tokens to stable tokens. But in case of wrong `depositary` that code will lea...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Instruction Implementation ### Description ## BurnDustWithAuthority Instruction Overview The **BurnDustWithAuthority** instruction is documented to only allow the burning of tokens in a vault if its amount is less than a specified `max_amount`. However, the implementation of the instruction may 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
overflow
true
false
## Medium: DOS any Staking contract with Arithmetic Overflow ### Description ### Impact This allows attackers to disable any Staking contract deployed via the system, essentially locking up all funds within the Staking contract. It would lead to a significant loss of funds for all users and the protocol who have 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
initialization
true
false
## Low: Inaccurate description of SwapSuccess event ### Description The description of the `SwapSuccess` event in the `technical` pallet suggests that the event should have two arguments, an `initiator` and a `finaliser`, but the event takes only a single argument (Figure 13.1). This event is currently triggered only ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [18] UNDERSCORE CAN BE ADDED FOR `21000` IN `OptimismPortal.minimumGasLimit` FUNCTION ### Description It is a common practice to separate each 3 digits in a number by an underscore to improve code readability. `21000` can be updated to `21_000` in the following `OptimismPortal.minimumGasLimit` function. https...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: [04] Import of protobuf ### Description As per the [docs](https://github.com/cosmos/cosmos-sdk/blob/release/v0.47.x/UPGRADING.md# protobuf); > The SDK has migrated from gogo/protobuf (which is currently unmaintained), to our own maintained fork, cosmos/gogoproto. > > This means you should replace all imports ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unchecked math operations ### Description There are three unchecked math operations inside the migration function in lines [114](https://github.com/qiibee/qb-contracts/blob/d40368c9a7a536572a5bb03cb031d658ccb34f24/contracts/QiibeeToken.sol#L114)–[116](https://github.com/qiibee/qb-contracts/blob/d40368c9a7a5...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Rewarder Implementation Cannot Be Updated ### Description **Update** Marked as "Fixed" by the client. Addressed in: `7b881c496bbac9c75bb281673238ec80253e2f00`. The client provided the following explanation: > Added a function in the RewarderFactory to update rewarderImplementation and added test cases. **Fil...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of check for zero address when adding destination ### Description The `_addDestination()` function from the `InceptionBridge` contract has a check to verify that the `_bridgeAddressByChainId` mapping is properly set up and is not equivalent to `address(0`. However, it does not perform the same verificatio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Events missing indexed parameters ### Description **Description:** Events in Solidity can have up to three indexed parameters, which are stored as topics in the event log. Indexed parameters allow for efficient filtering and searching of events by off-chain services. Without indexed parameters, it becomes more...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Using `>` 0 costs more gas than `!=` 0 when used on a uint in a `require()` statement ### Description This change saves 6 gas per instance. The optimization works until solidity version 0.8.13, where there is a regression in gas costs. https://github.com/code-423n4/2023-05-maia/blob/main/src/erc-4626/ERC4626...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: 5] Compilation failed due to incompatible Solidity versions ### Description **Severity:** Medium **Path:** contracts/ZealousSwapPair.sol#L1 contracts/interfaces/IZealousSwapDiscountManager.sol#L1 **Description:** The contract `ZealousSwapPair` imports the interface `IZealousSwapDiscountManager`. Howev...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Documentation issues ### Description • Remove irrelevant comment in `buildHatId()`: • Correct comment in checkHatStatus(): • Remove comment in MultiHatsSignerGate's claimSigner(): • Change comment in approveLinkTopHatToTree() – can be approved by wearer or admin
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Typo in `FertilizerFacet::getMintFertilizerOut` NatSpec ### Description The NatSpec of [`FertilizerFacet::getMintFertilizerOut`](https://github.com/BeanstalkFarms/Beanstalk/blob/12c608a22535e3a1fe379db1153185fe43851ea7/protocol/contracts/beanstalk/barn/FertilizerFacet.sol#L108) currently refers to Fertilizer a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
false
false
## Medium: External LST compromission leads to avs compromission due to a lack of operators ' staked amount cooldown ### Description A compromised LST can instantly lead the attacker to break EigenDA and every other AVS that use this LST. The protocol relies on external LSTs, and some of these may be compromised throu...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Signature malleability due to missing ECDSA checks ### Description The `permit` function in FundingVault20 uses `ecrecover` to validate signatures without implementing checks for signature malleability. It has no validation that `s` is in the lower half of the curve's order. While the nonce mechanism (`nonce...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potentially Inconsistent Hashing of Leaf Nodes ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > The function that we use to create merkle tries offchain will always sort the leaf nodes so that it works with the verification function in the pro...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Possible to liquidate past the debt outstanding above the min borrow without liquidating the entire debt outstanding ### Description It is possible to liquidate past the debt outstanding above the min borrow without liquidating the entire debt outstanding. Thus, leaving accounts with small debt that are not p...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
true
false
## High: Attacker can steal an high-value token due to lack of swap execution ### Description Whenever [`withdrawToNativeChain`](https://github.com/sherlock-audit/2025-05-dodo-cross-chain-dex/blob/d4834a468f7dad56b007b4450397289d4f767757/omni-chain-contracts/contracts/GatewayTransferNative.sol#L530) or[`onCall`](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
low
initialization
false
false
## Low: Lack of Validation ### Description Throughout the codebase, the following instances were identified where stronger validation can be applied: * In the `Admin` facet, the [`setTokenMultiplier` function](https://github.com/matter-labs/era-contracts/blob/d5c5d7a7c3a458f131e5de72c6c134a172e6763d/l1-contracts/con...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
token
true
false
## Low: Code Maturity ### Description ## Code Review Summary ## 1. Code Readability Improvement WormholeTunnel utilizes `wormhole.chainId()` despite having the public function `chainId()` which performs the same task. Replace all instances of `wormhole.chainId()` to `chainId()` for code readability. ## 2. CEI Patte...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
other
false
false
## Low: Add sanity check to revert if `messageHashesLength == 0` in `L2MessageManager::anchorL1L2MessageHashes` ### Description Add sanity check to revert if `messageHashesLength == 0` in `L2MessageManager::anchorL1L2MessageHashes`.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
false
false
## Low: Missing zero address checks in `STBL_Register::setupAsset` ### Description Several asset addresses are initialized without zero address checks in `STBL_Register::setupAsset` : - `_contractAddr` - `_issuanceAddr` - `_distAddr` - `_vaultAddr` - `_oracle` Notably, the same variables when set via their respectiv...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wrongly increased `participants` amount ### Description At line https://github.com/tosdis/TosDisFinance/blob/be50dbf8a52a8f919694498bf30394d328d88fbb/StakeMaster/contracts/StakingPool.sol#L120 contract increases participants amount, that happens if `user.amount` is zero, however if user will provide zero `_am...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Universal Data Key Permissions May Be Abused During Ownership Transfers ### Description ### Lines of code ### Impact In `LSP6KeyManager`, when fetching permissions. we are looking for universal permissions (independent from the owner). If a UP owner transfers ownership to a new owner that uses a key mana...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
initialization
true
false
## Medium: initialize – Committee Members Array Can Contain Duplicates ✓ Fixed ### Description The initial committee members are given as array argument to the pool’s `initialize` function. When the array is processed, there is no check for duplicates, and duplicates may also end up in the storage array `committeeArra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Minting cap can be bypassed by changing MintManager ### Description The minting restrictions, which include a 2% cap and a timelock, are enforced in the `MintManager.sol` contract instead of within the `Tea.sol` token contract. Because the MintManager can be replaced via the upgrade function, the restrictions ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `Goldigovernor._getProposalState()` shouldn't use `totalSupply` ### Description **Severity:** Medium **Description:** In `_getProposalState()`, it uses `Goldiswap(goldiswap).totalSupply()` during the comparison. As `totalSupply` is increasing in real time, a `Queued` proposal might be changed to `Defeate...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
overflow
true
false
## Medium: Missing Tick Step Validation ### Description ## Open Vault Vulnerability In `open_vault` within the vault module, the `base_tick_step` and `limit_tick_step` values are user-provided inputs and are not validated. This means a malicious user may enter substantially high values for these steps. Inside `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
other
false
false
## Low: Any User Can Drain Ether That Is Left In The Contract ### Description In the functions `FuroStream.createStream()` and `FuroVesting.createVesting()`, the amount of ETH used to create the stream or vest is determined by a parameter to the function, not by reference to `msg.value`. This approach is used to provi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Return unused fees ### Description The `expectedMarketFeeBPS` argument to a bunch of functions is a user projection. The actual fee is a static value set by the admin, not a dynamic one, so the difference between the two values should be returned, as is done for some of the other token transfers in this contra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
flash-loan
false
false
## Medium: flashProof is not flash-proof ### Description ## Handle @cmichelio ## Vulnerability details ## Vulnerability Details The `flashProof` modifier is supposed to prevent flash-loan attacks by disallowing performing several sensitive functions in the same block. However, it performs this check on `tx.orig...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incentive Misalignment in Maximum Pack Purchases. ### Description **Severity**: Informational **Status**: Acknowledged **description** bpnmMain.sol: _buyLimitPack(). Currently, purchasing the maximum available limit pack seems less profitable than buying smaller packs sequentially due to the lack of cumulat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The contract owner has too many permissions ### Description **Description** The vesting functionality is built based on token allocation performed by the contract owner. It means only token owners can send vested tokens to token holders. The potential token holders don’t have any guarantees they receive 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
access-control
true
false
## High: Anyone can call `StrategySupplyBase.harvest`, allowing users to avoid paying performance fees on interest ### Description ### Finding description and impact Since `StrategySupplyBase.harvest` can be called by anyone, users can front-run the `rebalance` call or regularly call harvest to avoid paying 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...
skyward_49k
low
access-control
true
false
## Low: Incomplete Error Handling in retireStrategy ### Description The function `retireStrategy` calls `_protocolWithdraw(balanceOfUnderlying(shares), 0)` without verifying that `balanceOfUnderlying` returns a valid value. This could potentially cause issues if `balanceOfUnderlying` does not return the expected value...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
high
front-running
true
true
## High: `MembershipERC1155::sendProfit` can be front-run by calls to `MembershipFactory::joinDAO` to steal profit from existing DAO members ### Description Profit is distributed to DAO members following a call to [`MembershipERC1155::sendProfit`](https://github.com/OneWpOrg/audit-2024-10-oneworld/blob/416630e46ea6f0e...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
high
token
true
false
## High: In `GovLocks`, it shouldn't use a `deposits` mapping ### Description In `GovLocks`, it tracks every user's deposit amount using a `deposits` mapping. As users can transfer `govLocks` freely, they might have fewer `deposits` than their `govLocks` balance and wouldn't be able to withdraw when they want. ```sol...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unchecked address used to instantiate contract ### Description In [the `initialize` function](https://github.com/mcdexio/mai-fund-protocol/blob/98af0d1d7e9872ba2b5e734e2a43c161ef635608/contracts/fund/implement/AutoTradingFund.sol#L41-L55) of the `AutoTradingFund` contract, the [value of `strategyAddress` ad...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: | Uint Comparisons ### Description **Description** When dealing with unsigned integer types, comparisons with `!= 0` are cheaper than with `> 0`. **Recommendation** Replace the `assigners[msg.sender] > 0` check with `assigners[msg.sender] != 0`. **Resolution** NFTR Team: - The suggested changes were impl...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Owners can never be removed ✓ Fixed ### Description The intention of `setOwners()` is to replace the current set of owners with a new set of owners. However, the `isOwner` mapping is never updated, which means any address that was ever considered an owner is permanently considered an owner for purposes of sig...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Value of `leaf` argument when calling `addReserve` is hardcoded incorrectly ### Description **Impact:** High, because liquidity won't be returned to the LiquidityTree **Likelihood:** High, because the incorrect value is hardcoded and can't be changed **Description** In `BetExpress::resolvePayout` we can se...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent used of named return params ### Description Personally I prefer named return params, but it is a style preference. However in a project, it's nice to be consistent throughout with whichever style you prefer. * [`SubprotocolRegister.getSubprotocol`](https://github.com/code-423n4/2023-01-canto-iden...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Low: Flash loan rate lacks bounds and can be set arbitrarily ### Description There are no lower or upper bounds on the flash loan rate implemented in the contract. The Blacksmith team could therefore set an arbitrarily high flash loan rate to secure higher fees. The Blacksmith team sets the _flashLoanRate when 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
storage
false
false
## Low: Potential Unnecessary Event Emission ### Description **Update** Marked as "Acknowledged" by the client. The client provided the following explanation: > Acknowledged **File(s) affected:**`PortalToken.sol` **Description:** When `permitedEnabled` is set to a particular value, calling `disablePermit()` with th...
0