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
access-control
true
false
## Low: Inefficient Role Check Implementation ### Description The MessageControllerUpgradeable.sol contract implements role-based access control by inheriting from AccessControlUpgradeable but does not utilize the provided `onlyRole` modifier. Instead, it performs manual role checks using if statements: ``` // Curren...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Individual token royalty functionality no longer supported ### Description _Resolved_ The `WishWishManager` is the owner of all `WishWishBox` and `WishWishCollectable` contracts deployed during `WishWishManager::launchNewCollection`. The `WishWishBox` and `WishWishCollectable` contracts inherit from `ERC2981`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unsecure And Incorrect Encryption ### Description ## Important Note on IV.fromLength It is important to note that `IV.fromLength` is not designed to function as a cryptographically secure pseudorandom number generator. Instead, the purpose of `fromLength` is to generate initialization vectors (IVs) that ar...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistently formatted, unhelpful, or missing revert messages ### Description Many of the error messages in `require` statements throughout the codebase were found to be too generic, not accurately notifying users of the actual failing condition causing the transaction to revert. Additionally, error messages...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [08] `execute.rs` still uses a placeholder for the tx hash ### Description https://github.com/code-423n4/2024-08-axelar-network/blob/69c4f2c3fcefb1b8eb2129af9c3685a44ae5b6fe/axelar-amplifier/contracts/axelarnet-gateway/src/contract/execute.rs#L14-L15 A placeholder is being uses to substitute the tx hash, [si...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
storage
true
false
## Gas: Using bools for storage incurs overhead ### Description // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is th...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Delayed Invocation of `accrueInterest()` May Cause Reward Distribution Discrepancies ### Description **Update** The client acknowledged the issue and provided the following explanation: > Given that accrueInterest() will be invoked before any interaction with the vToken, it's likely that the block delta won'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
flash-loan
true
false
## High: CurveVolatileCollateral Collateral status can be manipulated by flashloan attack ### Description Attacker can make the CurveVolatileCollateral enter the status of IFFY/DISABLED. It will cause the basket to rebalance and sell off all the CurveVolatileCollateral. ### Proof of Concept The `CurveVolatileCollate...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Expired Options can be Created ### Description It is possible to grant options that have already expired, and so are effectively a sort of disguised cash transfer. As the testing team understands it, this has no legitimate use within the protocol. It is, however, a tool that might be useful for perpetrating at...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Maximum mintable and depositable amounts returned are incorrect ### Description The amount of vault shares available for minting is limited by the [`availableCap`](https://github.com/pods-finance/yield-contracts/blob/9389ab46e9ecdd1ea1fd7228c9d9c6821c00f057/contracts/mixins/Capped.sol#L20). Similarly, 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
high
liquidation
true
false
## High: Malicious user can drain protocol by bypassing `ASK` offer abortion validation in `Turbo` mode ### Description `Tadle` allows users to seamlessly trade points with collateral tokens. Sellers provide points guarded with deposited collateral, and buyers provide collateral with which they buy the set points. Use...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: (Re-Audit) Blocked Credit Managers Cannot Be Unblocked ### Description **Update** The functions have been modified so they enable and disable borrowing and repayment from specific credit managers. **File(s) affected:**`AbstractVault.sol` **Description:** The functions `forbidCreditManagerToBorrow()` and `...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
false
false
## Low: Unhandled check in upgradeable contract with constructor. ### Description **Severity**: Informational **Status**: Resolved **Description** The TestStake contract is the upgradeable contract that has a defined constructor using _disableInitializers(). In such a case, it is recommended to turn off the corresp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
logic
false
false
## Medium: Inaccurate calculation of referral fees for referrers and allies ### Description When calculating the referral reward, the fee tiers are applied immediately to the `positionSizeCollateral`, so the position size is already adjusted by the `feeMultiplierCache` of the trader. function _registerTrade( ITra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Reverse Iterator DOS ### Description ## Splay Tree Previous Node Index Function In the `splay_tree::prev_node_idx` function, the iterator traverses down to the left only when the left is not sentinel. In other cases, the check was made for the left node and matched against the right node. This will fail if...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Logical Flaw in set_gauge_controller Permanently Disables Critical Governance Function ### Description An incorrect assertion in the Factory.vy contract will cause the set_gauge_controller function to fail for any valid input, preventing the protocol's admin from ever updating the GaugeController contract 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
gas
other
true
false
## Gas: Splitting `require()` statements that use `&&` saves gas ### Description If you're using the Optimizer at 200, instead of using the `&&` operator in a single require statement to check multiple conditions, I suggest using multiple require statements with 1 condition per require statement:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
dos
true
false
## Low: `massUpdatePools` needs to be capped due to OOG reverts ### Description **Impact** `massUpdatePools` looks as follows: Meaning it will iterate over all known pools The gas limit on SEI is 10MLN gas per block Assuming around 25k gas per update, that's 400 pools before the function reverts I just did some ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Don't update state
true
true
## Lines of code https://github.com/code-423n4/2022-11-stakehouse/blob/main/contracts/liquid-staking/GiantMevAndFeesPool.sol#L126-L138 https://github.com/code-423n4/2022-11-stakehouse/blob/main/contracts/liquid-staking/GiantMevAndFeesPool.sol#L176-L178 ## Vulnerability details ## Impact The contract GiantMevAndFees...
Code4rena
5
Stakehouse Protocol
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `USDC` cannot be added as an accepted collateral token ### Description **Description:** At least 10% of each collateral deposit to Gamma must be directed toward the `USDs/USDC` pool underlying the `USDs` Hypervisor: During this process, [`SmartVaultYieldManager::_swapToUSDC`](https://github.com/the-standard/...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
signature
false
false
## High: BLS Rogue Key Attack Allows Executing Arbitrary Transactions ### Description By creating a new wallet while executing the function `processBundle()`, we can leverage the cryptographic attack known as the rogue public key attack [^1] to commit any arbitrary action including theft of assets. When processing 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
reentrancy
true
false
## Medium: REENTRANCY ON LPTOKEN MINTING ### Description The LPToken contract is ERC721 token and uses `tokenMetadata` to keep deposit amounts for other ERC20 tokens. When a user deposit native asset or ERC20 token to the Liquidity Pool over LiquidityProviders contract, LPToken is getting minted to track this operatio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: USDC blacklisted accounts can DoS the withdrawal system ### Description _Submitted by throttle_ DoS of USDC withdrawal system ### Proof of Concept Currently, withdrawals are queued in an array and processed sequentially in a for loop. However, a `safeTransfer()` to USDC blacklisted user will fail. It wil...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `updatePoolAddress` functions always revert when updating existing `poolId` ### Description The purpose of the `updatePoolAddress` function is to update the pool address associated with an existing `poolId`. However, due to its internal invocation of the `verifyNewPool` function, the `updatePoolAddress` fun...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Immutable addresses lack zero-address check ### Description Constructors should check the address written in an immutable address variable is not the zero address. ### PROOF OF CONCEPT Instances include: #### stableswap/BaseV1-core.sol l107 (token0, token1, stable) = (_token0, _token1, _stable) #### sta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 of EVM's ecrecover() ### Description Description: The function calls the Solidity ecrecover() function directly to verify the given signatures. However, the ecrecover() EVM opcode allows malleable (non-unique) signatures and thus is susceptible to replay attacks. Although a replay attac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: M04] The function that computes votes is too long ### Description ###### Medium The [`computeVote`](https://github.com/BeamNetwork/currency/blob/51b65c5c7af455391af2bc30d13d761566d8c236/contracts/inflation/CurrencyGovernance.sol#L226) [function](https://github.com/BeamNetwork/currency/blob/51b65c5c7af4553...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Named imports can be used ### Description It’s possible to name the imports to improve code readability. E.g. import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; can be rewritten as import {IERC20} from “import “@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol” FILE : 2023-03-canto-identity/canto-...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Medium: Rounding operations for late interest payments may result in slight overcharges ### Description **Severity**: Low **Status**: Acknowledged **Location**: LoanManager.sol#_getLateInterest,_getInterest **Description**: Users of the protocol are able to utilize the LoanManager contract in order to take ou...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
access-control
true
false
## Severity: Medium Risk ## Context - MultiMerkleDistributor.sol#L240 - QuestBoard.sol#L276-L369 ## Description The `addQuest()` function uses an `onlyAllowed` access control modifier. This modifier checks if `msg.sender` is `questBoard` or `owner`. However, the `QuestBoard.sol` contract has a QuestID registration an...
Spearbit
5
Paladin
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Potential hash collisions for constants ### Description [The constants for the access roles `OWNER_ROLE` and `EXECUTOR_ROLE`](https://github.com/EnsoFinance/shortcuts-contracts/blob/4902e55608f975f73772310955444110b1cfc4fc/contracts/access/Roles.sol#L5) are vulnerable to potential hash collisions. ### 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
low
liquidation
false
false
## Low: [06] If borrower becomes blacklisted for his collateral his loan needs to be forgiven in case to receive it ### Description If a user is blacklisted for his collateral, trying to `repay()` will result in a revert. The only way to settle this loan is for the Governor to initiate `forgive()`, and then the Govern...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Vault.withdraw sometimes burns too many shares ### Description ## Handle cmichel ## Vulnerability details The `Vault.withdraw` function attempts to withdraw funds from the controller if there are not enough in the vault already. In the case the controller could not withdraw enough, i.e., where `_diff < ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Address Changes Should Use Two-step Procedure ### Description The critical procedures should be two step process. **Recommended Mitigation Steps:** Lack of two-step procedure for critical operations leaves them error-prone. Consider adding two step procedure on the critical functions.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
signature
false
false
## Low: sENA permit signatures cannot be canceled before deadlines ### Description sENA permit signature offers the signer the option to create an EIP-712 signature. After signing this signature, a signer might want to cancel it, but will not be able to do so. This is because the contract is based on OpenZeppelin's ER...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Distribution closing shouldn't be allowed during the active distribution ### Description There are no checks that the distribution ended in the closing function. https://github.com/FantiumAG/smart-contracts/blob/a2d126453c1105028f12277b8f342d2cdbf01a77/contracts/claiming/FantiumClaimingV1.sol#L624-L631 ###...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistency across multiple repaying functions causing lender to pay extra fees ### Description Within functions such as `repay` and `repayAndProcessUnpaidWithdrawalBatches`, funds are first pulled from the user in order to use them towards the currently expired, but not yet unpaid batch, and then the upd...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Veto function should decrease proposalsPassed (and possibly proposalsCreated) ### Description When a proposal that has passed is vetoed, the proposer still has the bonus of `proposalsCreated` and `proposalsPassed` related to the proposal. Both should be decremented because `veto` is intended to be used for ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: No Token Distribution in BatchRelease Due to Premature State Updates ### Description In the `batchRelease()` function of `TreasuryVesting`, currently separates state updates and token transfers into two separate loops, following the checks-effects-interactions pattern. ``` // Current implementation function ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: `ownerSetVotingPowerExcludedStatus()` applies onlyOwner modifier twice ### Description **Description:** In WLF V2 contract, the function `ownerSetVotingPowerExcludedStatus()` applies `onlyOwner` modifier twice : - First in the external `ownerSetVotingPowerExcludedStatus()` function - Again in the internal `_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
access-control
true
false
## Medium: NTT Manager cannot be unpaused once paused ### Description **Description:** `NttManagerState::pause` exposes pause functionality to be triggered by permissioned actors but has no corresponding unpause functionality. As such, once the NTT Manager is paused, it will not be possible to unpause without a contra...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Redundant `require` statement due to non-decreasing `queueId` ### Description The issue is identified in the `WithdrawalQueue._withdrawalQueue` function. The condition checks if `userQueueIds_[_receiver].add(_queueId)` already exists, which is intended to prevent duplicate `queueId` entries for a receiver. How...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
storage
true
false
## Gas: Multiple `address` mappings can be combined into a single `mapping` of an `address` to a `struct`, where appropriate ### Description Saves a storage slot for the mapping. Depending on the circumstances and sizes of types, can avoid a Gsset (**20000 gas**) per mapping combined. Reads and subsequent writes can a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: The NatSpec comment of the `DripsConfigImpl.lt` function neglects to sorting of `dripId` ### Description According to the NatSpec comment of the `DripsConfigImpl.lt` function, the `DripsConfig` struct is sorted by `amtPerSec`, then `start` and then `duration`. However, the `dripId` is not mentioned in the comm...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Cannot settle at expiration ### Description The `settle` function of the `LongShortPair` contract [considers settlement conditions](https://github.com/UMAprotocol/protocol/blob/d4e7ea22159b2eed8e39d5b86ce0026ea3b8b995/packages/core/contracts/financial-templates/long-short-pair/LongShortPair.sol#L233-L234) 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
low
other
true
false
## Low: Incorrect Gauge Weight Emission in BoostController Vote Function ### Description The BoostController contract’s `vote` function emits the `WeightUpdated` event using the user-provided weight instead of the actual gauge weight computed after the vote update. This discrepancy leads to inaccurate reporting of gau...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Possible DOS on deposit(), withdraw() and unstake() for BridgeReth, leading to user loss of funds ### Description Future changes on deposit delay on rETH tokens would prevent DittoETH users to use deposit(), withdraw() and unstake() for BridgeReth, which would make its transfering and burning impractical, l...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
false
false
## Medium: `LibTokenPermit` logic is susceptible to signature replay attacks in the case of a hard fork ### Description **Description:** Due to the implementation of [`LibTokenPermit::_buildDomainSeparator`](https://github.com/BeanstalkFarms/Beanstalk/blob/c7a20e56a0a6659c09314a877b440198eff0cd81/protocol/contracts/li...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
false
false
## High: Missing Subgroup Check for G2 Points ### Description In [`pairing_certificate.rs`](https://github.com/matter-labs/zksync-crypto/blob/feature/ec_precompiles/crates/pairing/src/bn256/pairing_certificate.rs), points in G2 are used in pairing operations without explicit verification that they belong to the correc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ContractFunctionT.from_abi fails to gracefully handle a valid JSON ABI interface that represents `__default__` and/or `__init__` function ### Description ContractFunctionT.from_abi can't handle code with __default__ and/or __init__ methods provided with the object from a valid JSON ABI interface representing a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
initialization
true
false
## Low: `uniquePlayersCount` Not Updated After Eliminations Leading to Unnecessary Memory Allocation ### Description The variable `uniquePlayersCount` is never decreased after the elimination of cells in a round. As a result, when arrays like `tempWinners`, `uniquePlayers`, and `playerTotalStakes` are pre-allocated ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
token
false
false
## Low: Redundant `virtual` declaration in` YToken::_withdraw` ### Description In the [pull request](https://github.com/YieldFiLabs/contracts/pull/19), the function [`YToken::_withdraw`](https://github.com/YieldFiLabs/contracts/blob/702a931df3adb2f6e48807203cdc7a92604ea249/contracts/core/tokens/YToken.sol#L193) was up...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
true
false
## Low: Using `block.timestamp` for deadline makes it ineffective ### Description _Resolved_ In `Execute._mintLP()`, the deadline for minting LP positions is set using `block.timestamp`: Since `block.timestamp` is evaluated at execution time, the deadline will always be 5 minutes in the future. This defeats the pur...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: registerReward() can be DoS-ed after a very long time due to block gas limit ### Description This is similar to issue L-5 from MixBytes(). However, the impact that was identified there was only a high gas cost. It's important to note that after a very long time (doing a rough estimation, it seems like at least...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Protocol Fee Multiple Accrual in Oracle.submitReports ### Description The `Oracle.submitReports` function processes multiple asset reports in a single transaction, but the `ShareModule.handleReport` function calculates and accrues protocol fees for each report individually without considering that the timesta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
token
false
false
## Gas: Consolidating library functions can save gas by preventing external calls ### Description _Submitted by 0xRajeev_ While code modularity is generally a good practice and creating libraries of functions commonly used across different contracts can increase maintainability and reduce contract deployment size/cos...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of differentiation between rental types leads to loss of funds ### Description In the CodedEstate system, a property (token) can be listed for both **short-term** and **long-term** rentals, with each rental type having separate configurations; including the denomination (`denom`) of the token used for 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
high
other
true
false
## High: Existing balance of underlying tokens in omnipool.sol skews target allocation ### Description The existing balance of underlying tokens in `Omnipool.sol` skews target allocation and results in an imbalanced pool after a large deposit. In `Omnipool.sol`, `depositFor` calculates `beforeAllocatedBalance = total...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: The function toString() does not manage memory properly ### Description ## Severity: Low Risk ## Context: LibString.sol#L7-L72 ## Description: There are two issues with the `toString()` function: 1. It does not manage the memory of the returned string correctly. In short, there can be overlaps between memo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Remove checks for inaccessible states ### Description `GovernorUpgradeableV2.sol` has a simplified `state()` function that can not reach every possible `ProposalState`. Here is the enum with the list of possible states: Here is the function, which assigns the state: As we can see, Pending, Active, Cancele...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Assets sent from `MarginAccount` to `InsuranceFund` will be locked forever ### Description _Submitted by 0xliumin, also found by hyh, minhquanym, and WatchPug_ Assets sent from MarginAccount to InsuranceFund will be locked forever. ### Proof of Concept The insurance fund doesn't have a way to transfer n...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
true
false
## Low: Multiple violations of the Checks-Effects-Interactions pattern ### Description The **Checks-Effects-Interactions** pattern establishes a logical order of the execution of a function in order to avoid **reentrancy attacks**. Most important, to comply with the **Checks-Effects-Interactions** pattern, functions 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
medium
overflow
true
false
## Medium: amount is downcasted to uint112 without overflow protection ### Description The amount is downcasted from `uint256` to `uint112` at various places in `AtlEth.sol`, as highlighted above. The `transfer()` and `transferFrom()` functions could emit an event with a very large amount if an amount such as `type(ui...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The lockdown period shouldn’t be extended when called multiple times ✓ Fixed ### Description In order to withdraw a deposit from the `PaymentRegistry`, the account owner should call the `withdrawDeposit` function and wait for `depositWithdrawalLockPeriod` (30 days) before actually transferring all the tokens f...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: The `FERC1155.sol` don't respect the EIP2981 ### Description _Submitted by 0x29A_ The [EIP-2981: NFT Royalty Standard](https://eips.ethereum.org/EIPS/eip-2981) implementation is incomplete, missing the implementation of `function supportsInterface(bytes4 interfaceID) external view returns (bool);` from the...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
true
false
## Medium: Buyout Module: `redeem`ing before the update of totalSupply will make buyout's current state success ### Description _Submitted by zzzitron, also found by unforgiven_ MED - a hypothetical attack path with stated assumptions, but external requirements. Attacker can create a vault with successful buyout sta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Large ValSets potentially freezes Gravity.sol ### Description ## Handle nascent ## Vulnerability details Gas requirements of `makeCheckpoint`: If the size of the validator set grows large enough during a time of block-size expansion, it may be possible to make the validator set large enough that, 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
front-running
false
false
## Low: Minter Could Front-Run the `setPublicPrice()` Admins' Transaction and Execute a Public Mint at the Old Price ### Description The `setPublicPrice()` method sets the public sale price of a token, and only the owner can call it. If a user monitors the mempool and spots a transaction that raises the `publicPrice`,...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect set up and logic of `referralInfoMap` in `SystemConfig::updateReferrerInfo` function ### Description - The `referralInfo` contains 3 members: `referrer`, `referrerRate` and `authorityRate`. - Here referrer is the person which has referred the other person. - The referralInfoMap contains a mapping fr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
signature
true
false
## Medium: EIP-712 compliance Issue in `Marketplace` ### Description The `TRADE_TYPEHASH` in the Marketplace contract is computed using a struct that references `TradeGive` and `TradeTake`. However, the current implementation does not include the definitions or type hashes for these referenced structs. ```solidity ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
high
liquidation
true
false
## Severity **Impact:** High **Likelihood:** Medium ## Description When users request an increase in position size, it will eventually be executed, triggering `executeIncreasePositionSizeMarket`. ```solidity function executeIncreasePositionSizeMarket( ITradingStorage.PendingOrder memory _order, ...
Pashov Audit Group
5
GainsNetwork_2025-05-26
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `requestIncreasePositionSize` could fail ### Description When users increase their position size, they can set `_input.collateralDelta` to 0 if they only want to increase the leverage. But if the used collateral token reverts on 0 transfer, the update will always fail. Skip the transfer if `_input.collatera...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Parameters lack zero check ### Description **Description** BlockBank.sol, line 16 Function parameters recipient and amount should be checked for misleading transactions prevention (e.g. in case of the frontend validations failure). **Recommendation**: Add “require” statements to check that parameters are no...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
access-control
false
false
## Medium: Initialization Safety Checks Bypassed ### Description **Update** Fixed in commit [e562ffd](https://github.com/blex-dex/contracts/commit/e562ffd) by removing function `OrderMgr.setContracts()`, as suggested. **File(s) affected:**`./contracts/market/OrderMgr.sol`, `./contracts/market/Market.sol` **Descripti...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
storage
true
false
## Security Analysis Report ## Severity **Medium Risk** ## Context **File:** Account.sol **Line Range:** L48-L57 ```solidity function delegateCall(address to, bytes memory data) external { require(proxyOwner() == msg.sender, "NOT_OWNER"); assembly { let result := delegatecall(gas(), to, add(data,...
Spearbit
5
Brink
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: USE OF INLINE ASSEMBLY ### Description Inline assembly is a way to access the Ethereum Virtual Machine at a low level. This discards several important safety features of Solidity and the static compiler. Because the EVM is a stack machine, it is often hard to address the correct stack slot and provide argument...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Bugged `erc7579-implementation` commit imported ### Description Currently, the codebase imports the `erc7579-implementation` external repository at commit `42aa538397138e0858bae09d1bd1a1921aa24b8c `to use the `ExecutionHelper`. This import is used inside the `DelegationMetaSwapAdapter` to implement the `execut...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Epoch accounting should consider trade directions ### Description In the new adaptive fee system, open interest is tracked in epochs using the `epochLongOI` and `epochShortOI` mappings. Essentially, `epochLongOI` adjusts based on actions affecting overall long positions, while `epochShortOI` does the same for ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
false
false
## Low: Numerous uint types and resultant casts increase system complexity ### Description Throughout the codebase, numerous unsigned integer (`uint`) values of various sizes are used. Those less than 256-bits (`uint256`) are used extensively. Non-`uint256` sizes are generally chosen to facilitate tight packing inside...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Faulty append function ### Description The [`appendKeyValueBytes32` function](https://github.com/UMAprotocol/protocol/blob/f24ad501c8e813cf685f72217e7f13c8f3c366df/packages/core/contracts/common/implementation/AncillaryData.sol#L87) should combine its inputs into a formatted `bytes` array. However, the `cur...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
token
true
false
## High: `SessionKey` Owner Can Drain the Smart Wallet ### Description `CredibleAccountModule` is designed to allow time-based restricted authorization for `sessionKey`, where it gives `sessionKey` the ability to transfer tokens on behalf of the main SCW. This session is restricted to a given period, for a given `sess...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
medium
Reentrancy
true
false
Source: https://github.com/sherlock-audit/2022-11-buffer-judging/issues/130 ## Found by bin2chen, HonorLt, KingNFT ## Summary _openQueuedTrade() does not follow the “Checks Effects Interactions” principle and may lead to re-entry to steal the funds https://fravoll.github.io/solidity-patterns/checks_effects_interac...
Sherlock
5
Buffer 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
low
dos
true
false
## Low: Calling `notifyRewardAmount` for unsupported tokens can grief `gauge` ### Description An attacker exploits the system by repeatedly calling `notifyRewardAmount` for a new `gauge`, potentially reaching the `MAX_REWARD_TOKENS` limit. This could prevent legitimate tokens from being added as rewards. Once a 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
gas
other
true
false
## Gas: `Funding.deposit()`: `funding.assetCumulativeFunded + _assetAmountIn` should get cached ### Description See `@audit` tags:
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Remove unused code ✓ Fixed ### Description In `account/AccountController.sol` when deploying an account, the function `_deployAccount()` gets an extra input `value` which is always 0 and not set in any other method. ### Recommendation Comment from the client: Unused code has been removed
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Option NFTs that go in the money after liquidation can be locked ### Description **Severity** **Impact:** High **Likelihood:** Low **Description** The liquidation of option NFTs is handled in `HegicModule.liquidate`. This function loops over all the token ids and processes the liquidation if the option ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
overflow
true
false
## High: User can prevent balance updates by withdrawing ### Description When `finishWithdraw()` is called the ETH amount is transferred from the native node contract's balance but the code doesn't decrease the value of the `creditedNodeETH` so its value would be higher than it should be and `_startSnapshot()` would r...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Require New Admin as Co-signer for Admin Setting in `transfer_admin` Instruction ### Description The admin can mistakenly be set to an invalid address because there is no validation or two-step admin transfer process. This could lead to losing control over the onft_config if the admin is set to an invalid addr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `require()` or `revert()` statements that check input arguments should be at the top of the function ### Description Checks that involve constants should come before checks that involve state variables *There are 11 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
medium
other
false
false
## Medium: Synth: `approveAndCall` sets unnecessary approval ### Description _Submitted by cmichel_ The `Synth.approveAndCall` function approves the `recipient` contract with the max value instead of only the required `amount`. For safety, the approval should not be set to the max value, especially if the amount tha...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Tokens are pulled from users without verifying pool status contrary to requirement ### Description Both the `update_position_internal()` and `adjust_position_internal()` functions are responsible for managing token positions, which involves taking tokens from users. However, there is a critical inconsisten...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Users can create extra ENS records at no cost ### Description [ETHRegistrarController.sol#L249-L268](https://github.com/code-423n4/2022-07-ens/blob/ff6e59b9415d0ead7daf31c2ed06e86d9061ae22/contracts/ethregistrar/ETHRegistrarController.sol#L249-L268) [ETHRegistrarController.sol#L125](https://github.com/code-...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inverse `if-else` statements that have a negation ### Description **Severity**: Informational **Status**: Resolved **Description** In contract PairInfo, the method lossProtectionTier(...) has a `if-else` statement Can be switched to save gas.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Incorrect withdrawal requested ### Description _Submitted by csanuragjain, also found by MiloTruck_ `\_requestWithdrawalFromTokemak` function :: Instead of sending amountToRequest for requestWithdrawal, contract is asking \_amount for requestWithdrawal. This becomes a problem when balance // the only 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
dos
false
false
## Low: Denial Of Service Due To Batching Queries ### Description ## GraphQL Endpoint for Wallet The GraphQL endpoint for the wallet, accessible [here](#), currently supports batching without any limit. Batching in GraphQL allows multiple queries to be sent in a single request. While this may improve efficiency, it a...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Wrong error message on transaction verification failure ### Description The [`verifyTransaction`](https://github.com/OpenBazaar/smart-contracts/blob/c4f02cdd41cb85d28bba637a01f20a8ee8bb04bd/contracts/escrow/Escrow_v1_0.sol#L416) function implements several checks to verify the conditions under which transactio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Usage Of Tx.Origin ### Description ## Vulnerability in TTUV2BeaconManager In the constructor of `TTUV2BeaconManager`, the contract owner is set to `tx.origin`, which should be avoided. ## TTUV2BeaconManager.sol The usage of `tx.origin` leaves the contract vulnerable to phishing-like attacks. `tx.origin` is...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
gas
other
false
false
## Gas: optimization storage NFTs ### Description _Submitted by a_delamo_ In `Visor.sol`, NFTs are being stored using an array `Nft[] public nfts;` This seems an optimal structure, but when needing to remove an NFT or look for an NFT by contract and id, we need to do `O(n)` iterations. See [issue page](https://gith...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## Medium: Arithmetic rounding allows minting of liquidity tokens without payment of tokens ### Description An arithmetic imprecision allows minting of liquidity tokens without transferring any underlying tokens. To mint tokens, the user needs to send half of the value in tezos and half in the underlying token. `Add...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ERC20 compliant assets may not be used ### Description In the [`Oracle` contract](https://github.com/emptysetsquad/emptyset/blob/bf9753ef9cd5b17236036257f290e0d0b850a029/protocol/contracts/src/oracle/Oracle.sol#L34), the [`_normalize` function](https://github.com/emptysetsquad/emptyset/blob/bf9753ef9cd5b172360...
0