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
initialization
true
false
## Medium: Missing `disableinitializers()` in constructor can lead to malicious takeover of the implementation contract ### Description **Severity**: Medium **Status**: Resolved **Location**: Airdrop.sol **Description** An uninitialized contract can be taken over by an attacker. This applies to both a proxy and it...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing flash loan initiator check ### Description **Severity**: Low **Status**: Resolved **Description** In the FlashloanLiquidator contract, the liquidate and liquidateFor functions are intended for liquidating the maximum possible amount of collateral. The _liquidateImpl function calls the flashLoanSimp...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
liquidation
false
false
## Medium: When users sign a credit loan for bidding on an item, they are forever committed to the loan even if the NFT value drops massively ### Description In ParaSpace marketplace, taker may pass maker's signature and fulfil their bid with taker's NFT. The maker can use credit loan to purchase the NFT provided the ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: WithdrawApproval Event Emitted Regardless of Account Approval ### Description The _withdrawApproval() function, called within the removeX functions, always emits the `WithdrawApproval` event, regardless of the status of the delegate to be removed. For example, this event will be emitted by the DelegateApproval...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Improper control over the versions of distributions' metadata may lead to repeated claims of rewards ### Description _Submitted by WatchPug_ [BribeVault.sol#L317-L324](https://github.com/code-423n4/2022-02-redacted-cartel/blob/92c4d5810df7b9de15eae55dc7641c8b36cd799d/contracts/BribeVault.sol#L317-L324) I...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
true
true
## Low: Rounding in withdrawal fee calculations can be abused to avoid fees ### Description The `previewWithdraw()` and `withdraw()` functions in the UsualX vault use floor rounding when calculating withdrawal fees. This allows users to minimize or completely avoid fees by splitting withdrawals into many smaller trans...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Allow Token Authority To Modify The Position ### Description ## Token Authorization Review The function `is_authorized_for_token` treats only `token_account.owner` as an user authorized for the token. However, according to the comment above that function and our understanding, it should also include `token_ac...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
reentrancy
false
false
## Low: Reentrancy potential issue for contracts building on top RFQOrderMixin ### Description #### Resolution Remediated as per the 1inch team in [1inch/[email protected]`d3957fe`](https://github.com/1inch/limit-order-protocol/commit/d3957fe5dba79128ce8a43c7c37318c7065d2985) by forwarding a limited amount of gas 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
liquidation
false
false
## High: Design of BufferBinaryPool allows LPs to game option expiry ### Description When an option is created, enough collateral is locked in BufferBinaryPool to cover a payout should it close ITM. As long as an LP isn't locked (trivially 10 minutes) and there is sufficient liquidity they can cash out their shares fo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Centralized Control Over Delegator Assignments ### Description **Severity**: Low **Status** : Acknowledged **Description**: The `VotingEscrowSidechain` contract allows for the assignment of delegators through the `setDelegatorFor` function, which is only callable by the owner. This centralization grants 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
true
false
## Low: The name of the function does not correspond to the logic of work ### Description ##### Description: At the line https://github.com/yearn/yearn-vaults/tree/e390c2a6b2ba6e2ecc8f3a72a1ea4adfabd17544/contracts/Registry.vy#L316 in method `setBanksy()` should probably emit an event `SetBanksy`. Line 316 has a funct...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
access-control
false
false
## Low: Anyone can deploy FiatTokenProxy and MintForwarder contracts ### Description The `TokenFactory.deployToken` and `MintForwarderFactory.deployMintForwarder` functions are publicly accessible. This means any user can deploy new `FiatTokenProxy` and `MintForwarder` contracts at their discretion. Since the cbBTC 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
initialization
false
false
## High: Assets, sent to earning, can’t be withdrawn. ### Description **Description** PutPhyVaultV1.sol There is no interface for withdrawing asset from earning in the vault. Once, asset is sent to Earning with functions sendBaseCollatToVault() or sendQuoteCollatToVault(), the user is not able to withdraw them, and 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
high
oracle
true
true
## High: AxiomV2GnosisHashiAmbHeaderVerifier does not whitelist yaru.adapters() ### Description The `_checkL1Broadcaster()` function within the `onlyFromL1Broadcaster()` modifier intends to check that the cross-chain call to `updateLatestPmmr()` originated from the L1 broadcaster. It does so by throwing the `NotBroadc...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: New market borrow or supply cap may block borrowing or minting ### Description If market borrow balance or supply already exceeds new cap when setting it may block borrowing or minting for market https://github.com/CreamFi/compound-protocol/blob/23a4ae93adc70334553f5a83429a4e967c1eefaa/contracts/Comptroller.so...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Duplicated locked splits can be discarded ### Description _Submitted by zzzitron_ The function of the protocol could be impacted. This [proof of concept](https://gist.github.com/zzzitron/a8c6067923a87af8e001c05442258370#file-2022-07-juiceboxv2-t-sol-L117-L163) demonstrates the discarding of one of the du...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
Selfdestruct
true
true
_Submitted by JohnSmith, also found by ayeslick, reassor, rokinot, and scaraven_ To block an address it must pass the `isContract(address)` check:<br> <https://github.com/code-423n4/2022-08-fiatdao/blob/main/contracts/features/Blocklist.sol#L25> contracts/features/Blocklist.sol 25: require(_isContract...
Code4rena
4
FIAT DAO
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
other
true
false
## High: Users may be forced into long lock times to be able to undelegate back to themselves ### Description Due to a check requiring users only be able to delegate to others or themselves with longer lock times and verwa's restrictions of all changes increasing lock times by 5 years users may be forced to remain del...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A malicious amm can rewrite another AMM's market account ### Description In `setAMMIdToAcc`, there is no check to make sure the AMM address provided by the master admin comes from a group of verified AMM addresses. If a rogue AMM address is accidentally provided to this endpoint, it can return any values 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...
solodit_api
high
Validation
true
false
## Severity: High Risk ## Context - BridgeFacet.sol#L337-L369 - BridgeFacet.sol#L659-L750 - AssetLogic.sol#L150-L182 - AssetLogic.sol#L229-L262 - SwapUtils.sol#L798-L826 ## Description As reported by the Connext team, the internal stable swap checks if `msg.sender` has sufficient funds in `onexecute()`. This `msg.sen...
Spearbit
5
Connext
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
true
false
## Low: [04] Parity reserve calculation in `calcReserveAtRatioSwap` could lead to suboptimal pricing in some edge cases ### Description The `calcReserveAtRatioSwap` function uses a simplified calculation for the parity reserve (`lpTokenSupply / 2`). This assumption may not hold true for stableswap pools, especially wh...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
true
true
## Low: Under�low in _computeRewardsPerUnitStaked might cause DoS during liquidation ### Description The rounding feedback mechanism of the `_computeRewardsPerUnitStaked` function might cause an underflow, leading the liquidation process to revert. The reversion could prevent certain liquidatable troves from being liq...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Risk of Centralisation ### Description **Severity**: Medium **Status**: Unresolved **Description** The current implementation grants significant control to the owner through multiple functions that can alter the contract's state and behavior. This centralization places considerable trust in a single enti...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Considerations Related to Unstaking Fees ### Description **Update** The client acknowledged the issue and provided the following explanation: > We will use `setNormalUnstakeFee` function to set fee rate in time. **File(s) affected:**`PumpStaking.sol` **Description:** The protocol team is responsible for 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
medium
other
false
false
## Medium: Starting timestamp can be bypassed by calling `settle` ### Description The starting timestamp set or still unset by the owner through the `start_auction` function can be bypassed by calling `settle`, which sends the first token to the fallback and then starts the auction for subsequent tokenIds. ### Impact...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User role `hasTokenSafePullRole` can withdraw `wrappedToken` ### Description The `safePullERC20()` function is designed to allow the withdrawal of tokens from the contract by authorized users: However, this function also allows the withdrawal of `wrappedTokens` (e.g., `wTAO` or `wCOMAI`), which should remain...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Constant is not declared explicitly ### Description The [`ATTESTATION_SIZE_BYTES` constant](https://github.com/graphprotocol/contracts/blob/b61a9b27eb18eab5ec6bb612244d58c33f2321f2/contracts/disputes/DisputeManager.sol#L56) is defined in the `DisputeManager` contract to be `161`. Literal values in the codebase...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Attackers Can Profit by Creating Repeated Long or Short Positions Using Known Oracle Prices ### Description **Update** The team clarified that they have tried the solution of ensuring an incremental timestamp, but it causes too many UX issues due to the risk of reverting transactions or using an unintention...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [G-06] ### Description [G-06] keccak256() should only need to be called on a specific string literal once It should be saved to an immutable variable, and the variable used instead. If the hash is being used as a part of a function selector, the cast to bytes4 should also only be done once There are 6 insta...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
front-running
false
false
## Medium: DOS attack to `SwapAction.transferAndSwap()` when using an ERC20 permit `transferFrom` ### Description `SwapAction.transferAndSwap()` will perform a `_transferFrom` to transfer the input tokens to the user proxy and then perform a swap via a router. When it uses an ERC20 permit `transferFrom`, an attacker ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Short-circuit rules can be used to optimize some gas usage ### Description Some conditions may be reordered to save an SLOAD (2100 gas), as we avoid reading state variables when the first part of the condition fails (with &&), or succeeds (with ||). For instance, consider a scenario where you have a `stateVari...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Safemath unnecessary computation cost being incurred ### Description **Severity**: Informational **Status**: Acknowledged **Description** VaultManager.sol - i++ does not need to be safely computed. Also there is totalRewards -= _amount; despite it is asserted before that totalRewards >= _amount. In Tranch...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unexpected deployer privileges ### Description The deployer address of the `Store` contract is [recorded as a protocol member](https://github.com/neptune-mutual-blue/protocol/blob/73fc82fbe0d1388867b7df669983fe42760daeb1/contracts/core/store/StoreBase.sol#L30), which allows it to update the storage arbitrar...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Avoid setting time variables manually ### Description Use solidity [Time Units](https://docs.soliditylang.org/en/v0.8.17/units-and-global-variables.html#time-units) to avoid mistakes in defining time variables. In [VRFNFTRandomDraw.sol#L28-L33](https://github.com/code-423n4/2022-12-forgeries/blob/main/src/VRFN...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: RCTreasury: AccessControl diagram contains Leaderboard, but it has no role ### Description ## Handle hickuphh3 ## Vulnerability details ### Impact From this diagram, one might expect the existence of a `LEADERBOARD` role, but there is no such role. It should be removed from the diagram. ### Recommended ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing Price Staleness Checks For SD/ETH Oracle ### Description `convertETHToSD()` and `convertSDToETH()` use the StaderOracle to grab the SD/ETH price. However, there are no price staleness checks performed. If the oracle was to halt, such as in the case where not enough trusted nodes submit a price, an outd...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
false
false
## Low: Lack of External Documentation ### Description The [`solana-fusion-protocol`](https://github.com/1inch/solana-fusion-protocol/tree/8743d383dab69dfa033c9e6c7d7c2d9f0a49e431) repository is missing fundamental project information, including a `README.md` file, project description, and any form of documentation di...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
access-control
true
false
## Low: Investor can prevent themselves from being removed by making `removeInvestor` revert ### Description The `removeInvestor` function in `RegistryService.sol` contains a flaw that allows any investor to permanently prevent their removal from the system. The function requires that `investors[_id].walletCount == 0`...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
oracle
false
false
## Low: Events related findings ### Description ## Code Review Summary ## Context - **DahliaRegistry.sol:** - [L17](https://github.com/example/repo/blob/main/DahliaRegistry.sol#L17) - [L33](https://github.com/example/repo/blob/main/DahliaRegistry.sol#L33) - [L56](https://github.com/example/repo/blob/main/D...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Transaction processing doesn’t reject malleable signatures ### Description Signatures with high S values were restricted in EIP-2 (i.e. the Homestead upgrade): All transaction signatures whose s-value is greater than `secp256k1n/2` are now considered invalid. The ECDSA recover precompiled contract remains un...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Code Duplication ### Description There are several cases of code duplication which make the codebase harder to read. In addition, they also make it more error\-prone, harder to fix, and complicate maintainability and upgradeability. Most notably: * In the `_liquidateLOCCollateral` function of the `LetterOfCr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
true
false
## Medium: TWAP Oracle inflexible _updatePeriod ### Description ## Handle elprofesor ## Vulnerability details ## Impact Update periods in TWAP oracles reflect risk of an asset. Updating more frequently accurately prices an asset but increases capabilities of manipulation (which should be harder with more stable 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...
solodit_api
medium
overflow
true
true
## Lines of code https://github.com/code-423n4/2022-12-gogopool/blob/aec9928d8bdce8a5a4efe45f54c39d4fc7313731/contracts/contract/tokens/TokenggAVAX.sol#L215-L223 https://github.com/code-423n4/2022-12-gogopool/blob/aec9928d8bdce8a5a4efe45f54c39d4fc7313731/contracts/contract/tokens/TokenggAVAX.sol#L205-L213 ## Vulnera...
Code4rena
5
GoGoPool
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Inconsistent and unsafe pragma statements used ### Description It is a best practice to use a stable pragma statement so you can lock the compiler version and get the same bytecode in each compilation deterministically. Also it is recommended to use the same Solidity version throughout the codebase, but this 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
gas
storage
true
false
## Gas: [1] 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 c...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: numTokens state variable can be replaced with a getter function ### Description In the `MemeFactory` contract, the `numTokens` state variable is always set to the length of the `memeTokens` array: ```solidity // Number of meme tokens uint256 public numTokens; // Push token into the global list of tokens meme...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Don’t compare boolean expressions to boolean literals ### Description [G-13] Don’t compare boolean expressions to boolean literals if (&lt;x&gt; == true) =&gt; if (&lt;x&gt;), if (&lt;x&gt; == false) =&gt; if (!&lt;x&gt;) There is 1 instance of this issue: File: contracts/gateway/L1GraphTokenGateway.sol 214:...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 sanity check for address validity in `PorticoBase::unpadAddress` ### Description **Description:** `PorticoBase::unpadAddress` is a re-implementation of [`Utils::fromWormholeFormat`](https://github.com/wormhole-foundation/wormhole-solidity-sdk/blob/main/src/Utils.sol#L10-L15) from the Wormhole 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...
skyward_49k
low
other
true
false
## Low: During an L1Transaction preparation in `Bootloader.yul` all the gas that's used in `l1TxPreparation` is not accounted for and some of it is not paid at the end of the execution ### Description ## Vulnerabity Details The function `Bootloader.yul::l1TxPreparation` returns a value `gasUsedOnPreparation` which is...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Ambiguity In Withdrawl Frequency Checks ### Description ## Protocol Validation Explanation The `protocol::create` function only ensures that `withdrawal_frequency` is above 30 but does not validate that `withdrawal_frequency` is greater than or equal to `contract.period`, unlike the `update` function. ## Sou...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
cross-chain
true
false
## Gas: `abi.encode()` is less efficient than `abi.encodePacked()` ### Description In terms of efficiency, `abi.encodePacked()` is generally considered to be more gas-efficient than `abi.encode()` because it skips the step of adding function signatures and other metadata to the encoded data. However, this comes at the...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
other
false
false
## Medium: Admin balances don't account for potential token rebases ### Description Admin fees (stored in an array https://github.com/curvefi/stableswap-ng/blob/8c78731ed43c22e6bcdcb5d39b0a7d02f8cb0386/contracts/main/CurveStableSwapMetaNG.vy#L208) don't account for potential slashings. If admin fees are withdrawn firs...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: A user can lose more value than he specifies in the spread when he enters a `PowerFarm` ### Description When a user enters or exits a `PowerFarm`, he specifies an allowed spread. The spread specifies the minimum value of the position allowed at the end of the transaction. E.g. a spread of 105% on a positio...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `Voter.updateForRange` could revert if `end` value is invalid ### Description Inside `updateForRange`, the provided `end` value is used to loop over the `pools` without checking whether it exceeds the valid `pools` range`. This could result in a revert. Consider checking the `end` value, and if it exceeds 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
true
false
## Low: There is no functionality to change the `fee rate model` in the `MagicLP` ### Description When creating `MagicLP` using the `create` function in the `factory`, we insert `maintainerFeeRateModel` as the `fee rate model`. This model will be used to calculate the `maintainer fee` in the `MagicLP`. 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
medium
other
false
false
## Medium: A broken hook can block user funds ### Description For closing position, a user should call the `burn` function which uses hooks to external contract https://github.com/cryptoalgebra/Algebra/blob/6c22b64977e0b0266aec89470480df74977eb606/src/core/contracts/AlgebraPool.sol#L137. If a hook were broken, then 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...
cyfrin_structured
low
logic-error
true
false
## Low: Single step redemption and two step redemption not equivalent logic ### Description The `RedemptionManager::executeSingleStepRedemption` has multiple issues when used with `CollateralLiquidityProvider` 1. Fee calculated on requested amount, not actual amount: ```solidity // Apply fee if it exists, tr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Stale Price Exploitation Due to Manipulable validTime ### Description **Severity** : Low **Status** : Resolved **Description** : The `VaultPriceFeed` contract fetches asset prices from the Pyth Oracle for financial operations within a DeFi platform. A critical vulnerability exists due to the mutable `validT...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `get_fee_growth_inside` in `tick.rs` should allow for `underflow`/`overflow` but doesn't ### Description When operations need to calculate the `Superposition` position's fee growth, it uses a similar function implemented by [uniswap v3](https://github.com/Uniswap/v3-periphery/blob/main/contracts/libraries/Pos...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: No slippage protection when interacting with `ValidatorShares` ### Description **Description:** In the `PolygonVault.sol` contract, the `buyVoucherPOL` and `sellVoucherPOL` functions do not set a slippage limit. Currently, there is no active slashing in `ValidatorShares`, therefore loss of funds cannot occur...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious EDITION_MANAGER_ROLE can front-run victims to increase royalty ### Description Malicious EDITION_MANAGER_ROLE can front-run victims to increase royalty, leading to a loss of assets for the victim. ### Impact Loss of assets for the victim, as shown in the above scenario ### Recommendation Ensure ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
false
false
## High: Queued LP tokens cannot be withdrawn due to subtraction underflow ### Description **Description** CashVaultV1.sol: withdraw() In case user has queued LP tokens to be withdrawn later(this happens if ‘expiry’ is not equal 0), he is not able to withdraw his funds due to underflow in function withdraw() (line 75...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential Drainage of payoutToken in claimFees Function ### Description The `claimFees` function in the `BribeCollector` contract does not currently prevent the `payoutToken` from being included in the `_feeTokens` array. This oversight could allow an attacker to drain any remaining `payoutToken` balance by re...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
solodit_api
high
initialization
true
false
[contracts/smart-contract-wallet/SmartAccount.sol#L166](https://github.com/code-423n4/2023-01-biconomy/blob/53c8c3823175aeb26dee5529eeefa81240a406ba/scw-contracts/contracts/smart-contract-wallet/SmartAccount.sol#L166)<br> [contracts/smart-contract-wallet/SmartAccount.sol#L192](https://github.com/code-423n4/2023-01-bic...
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
other
false
false
## Low: No message in “require” statements. ### Description **Description** StakingB_1.sol Line 546 StakingB.sol Lines 80, 95, 97, 99, 102, 103, 115, 117 To hold the exception error messages must be added. **Recommendation**: Add an error message to each exception.
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Unreachable code path in `RoyaltyEngine::_getRoyaltyAndSpec`
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Cross-Site Scripting ### Description ## Vulnerability Report: XSS in `/tokens/:mint/logo` Endpoint The `/tokens/:mint/logo` endpoint is vulnerable to XSS as it replicates the HTTP headers from the original token logo request in the API response. If the `logo_uri` is malicious, the original response could...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
front-running
true
false
## Low: Multi-block MEV may still be possible with ensureNoMEV ### Description ## VeloOracle Solidity Code Review ## Context: `VeloOracle.sol#L43-L50` ## Description: The `VeloOracle.ensureNoMEV` function takes a lookback amount of observations to look at and reverts if the tick change between individual observati...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: RocketMinipoolDelegate - Missing event in prepareVacancy ✓ Fixed ### Description The function `prepareVacancy` updates multiple contract state variables and should therefore emit an event. ### Recommendation Fixed in by emitting a new event `MinipoolVacancyPrepared`. > > Agreed. Added event per recommenda...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
true
false
## Medium: Inconsistent CVI value handling during the deposit in `MegaThetaVault` contract ### Description **Severity**: Medium **Status**: Resolved **Description** The `depositForOwner` function in the `MegaThetaVault` contract takes the `_realTimeCVIValue` as a parameter and assigns it to balanceCVIValue. The 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
medium
liquidation
false
false
## Medium: Usage of ERC777 token can block liquidation ### Description Malicious user can use ERC777 token callbacks for blocking liquidation: https://github.com/Gearbox-protocol/gearbox-contracts/blob/0ac33ba87212ce056ac6b6357ad74161d417158a/contracts/credit/CreditManager.sol#L433 ### Recommendation We recommend not...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Attacker can at anytime dramatically lower `ERC721Power::totalPower` close to 0 ### Description **Description:** Attacker can at anytime dramatically lower `ERC721Power::totalPower` close to 0 using a permission-less attack contract by taking advantage of being able to call `ERC721Power::recalculateNftPower()...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Anyone can take a loan out on behalf of any collateral holder at any terms ### Description In the `_validateCommitment()` function, the initial checks are intended to ensure that the caller who is requesting the lien is someone who should have access to the collateral that it's being taken out against. The ca...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
access-control
false
false
## High: Unbounded reward denoms in rewards plans can be exploited to permissionlessly halt chain ### Description Rewards plans can have arbitrarily long lists of denoms, which are iterated over unboundedly during reward allocation (`AllocateRewards`) and reward plan termination (`TerminateEndedRewardsPlans`) in unmet...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary check ### Description This check is unnecessary if price is fetched from oracle: https://github.com/Gearbox-protocol/gearbox-contracts/blob/0ac33ba87212ce056ac6b6357ad74161d417158a/contracts/credit/CreditFilter.sol#L156 ### Recommendation We recommend removing this 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
high
access-control
true
false
## High: Lack of Access Control in RequestBandPrice Function ### Description This function is intended to request price data from the Band Oracle, but it appears to lack sufficient access control measures. This oversight could potentially allow unauthorized entities to manipulate oracle requests, leading to inaccurate...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
medium
oracle
true
false
## Medium: Lack of on-chain deviation check for LST can lead to loss of assets ### Description - ### Impact Loss of assets, as mentioned in the scenario above. ### Recommendation Some on-chain deviation validation must be implemented for ETH0 to guard against this risk. As mentioned earlier, monitoring the price off...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
cyfrin_structured
low
access-control
true
true
## Low: Admin could use `CentralToken::transferFrom` after approval to break 1:1 invariant in child token ### Description Function `transfer` contains `_checkAllowedAdmin(to)` which prevents an admin (accidentally or otherwise) sending a `CentralToken` to a `ChildToken` directly. ```solidity function transfer(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
medium
access-control
true
false
## Medium: An Agent can be upgraded even if there is no new implementation ✓ Fixed ### Description Agents can be upgraded to a new implementation, and only the Agent’s owner can call the upgrade function: **code/src/Agent/AgentFactory.sol:L51-L72** ``` function upgradeAgent( address agent ) external returns (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
low
other
true
false
## Low: Permanent Loss Of Expired Rewards ### Description ## Reward Claim Policy Currently, if rewards are not claimed within a 14-day period, they become inaccessible and may not be retrieved or re-utilized. The `claim_rewards` function contains a check that ensures rewards may only be claimed if they are within a 1...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Mismatch between proposer selection algorithm ### Description The function `isNextProposer` attempts to determine whether the local node is the next proposer for the upcoming block in a CometBFT consensus system. However, there is a fundamental issue with the logic: it incorrectly applies a simple round-robin...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
logic
false
false
## High: `IndexLogic`: An attacker can mint tokens for himself using assets deposited by other users ### Description _Submitted by cccz, also found by hyh, Kenshin, pedroais, and TrungOre_ In the mint function of the IndexLogic contract, users are required to transfer assets to vToken in advance, and then call the mi...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `mandatoryBisectionHeight()` not return expected results ### Description ### Expected Result The documentation states: `Returns the highest power of 2 in the differing lower bits of start and end.` This means the function should identify the highest power of 2 in the bits where start and end differ. ### Actua...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `StrategyManager` Inherits Pausable But Lacks Pause/Unpause Functionality ### Description The `StrategyManager` contract inherits from OpenZeppelin's `Pausable` contract, but does not expose any mechanism to trigger the pause or unpause states. Specifically, there are no external or public functions that call ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Stability pool does not consider RToken balance increase when DEToken is withdrawn ### Description RToken is interest baring token and its balance increases overtime. DEToken does not accrue interest and its balance is fixed. However protocol exchanges RToken and DEToken 1:1. This inconsistency will lead to ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
dos
true
false
## High: Unoptimized subset matches counting implementation will exceed tx gas limit on base chain ### Description ### Finding description and impact During a drawing settlement, there is a very expensive calculation that counts all subset matches: The stacktrace is displayed here: [File: 2025-11-megapot/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
other
true
false
## Medium: Bug in `claim` allows users who are disqualified to claim their previously earned emissions ### Description In `ChefIncentivesController.sol`: The function calls `isEligibleForRewards` without calling `refresh`; hence, things like disqualification resulting from a change in price will not be accounted 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...
cyfrin_structured
medium
token
true
true
## Medium: Burning ALL PropertyTokens of a frozen holder results in the holder losing the payouts distribution while he was frozen ### Description Burning PropertyTokens from frozen holders has an edge case when all the tokens owned by a frozen holder get burned. This is how burning PropertyTokens impacts the payouts ...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential Gas Manipulation via Bytecode Compression ### Description Malicious operators could exploit this issue to overcharge users by artificially increasing the length of the dictionary without any benefit to the encoding process. As a result, users may end up paying higher gas costs for message publicat...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## High: Nullifier Trees can be Cleared ### Description ## Elusiv Framework and Subaccounts In order to store large amounts of related data in Solana accounts, Elusiv uses the concept of a subaccount. In the Elusiv framework, a subaccount is a data-only account pointed to by a parent tracker account. ## Nullifier Tr...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Assembly Block Diverges from Solidity's Memory Model ### Description [One of the assembly blocks](https://github.com/1inch/solidity-utils/blob/5fdd4c2c02525855e9f64d9a43d779013c6444ea/contracts/libraries/SafeERC20.sol#L423-L430) marked as memory safe contains [operations](https://github.com/1inch/solidity-util...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Liquidation transactions can potentially fail for all markets ### Description As an example, when calling `BigBang.liquidate()` the tx potentially fails, because the subsequent call to `Market.updateExchangeRate` (BigBang.sol line 316) can face a revert condition on line 344 in Market.sol. In `Market.updateE...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
other
true
false
## Low: Unused function parameter can cause user confusion ### Description The `optOutOfCampaign` function takes two parameters: `uint256 campaignId` and `uint256 index`. This gives the user the impression that the campaign they will be opted out of is the one provided in the `campaignId` parameter. However, the funct...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
low
rounding
true
true
## Low: Rounding Of slashingFactor Can Result In Complete Loss Of Withdrawable Shares ### Description Due to rounding, it is possible for the `slashingFactor` to be rounded down to zero, even when both `operatorMaxMagnitude` and `beaconChainSlashingFactor` are non-zero. This can result in incorrect `withdrawableShares...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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
true
false
## Medium: Incorrect protocol fee is taken when changing NFTs ### Description Incorrect protocol fee is taken when changing NFTs which results in profit loss for the Caviar protocol. ### Proof of Concept The protocol fee in changeFeeQuote is calculated as a percentage of the feeAmount which is based on the input amo...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `remainingBalanceOwner` should be set by the protocol owner ### Description **Description:** The `remainingBalanceOwner` parameter, passed during the invocation of the `addNode` function, is intended to represent the P-Chain owner address that will receive any leftover `$AVAX` from a validator's balance when t...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc...
skyward_49k
high
oracle
false
false
## High: Observation Cardinality Insufficient for Uniswap SwETH Oracle ### Description The [`SwEthSpotOracle` contract](https://github.com/Ion-Protocol/ion-protocol/blob/98e282514ac5827196b49f688938e1e44709505a/src/oracles/spot/SwEthSpotOracle.sol#L11) uses a Uniswap v3 TWAP oracle to get the price of the swETH 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
medium
access-control
false
false
## Medium: Ambiguous PubdataPricingMode Configuration ### Description The [`setValidiumMode` function](https://github.com/matter-labs/era-contracts/blob/d5c5d7a7c3a458f131e5de72c6c134a172e6763d/l1-contracts/contracts/state-transition/chain-deps/facets/Admin.sol#L89) of the `Admin` facet allows the admin role to toggle...
0
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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
signature
true
true
Source: https://github.com/sherlock-audit/2023-01-optimism-judging/issues/87 ## Found by HE1M ## Summary A malicious user can make users lose their fund during finalizing their withdrawal. This is possible due to presence of reentrancy guard on the function `relayMessage`. ## Vulnerability Detail - Bob (a malicio...
Sherlock
5
Optimism
[ { "role": "system", "content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `proRataRedeem()` lacks a check to verify if `msg.sender` is the operator ### Description The operator has the authority to manage all funds. If msg.sender is the operator, they can perform the redeem operation without requiring any allowance. Recommendation: if (msg.sender != from) { if (!isOperator[from][msg...
0