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 | rounding | true | false | ## Low: The voting power is not calculated correctly according to the weights assigned by the user during poking
### Description
In the `VoterUpgradeableV2._vote` function, there is precision loss in calculation of `votePowerForPool`.
And `votePowerForPool` is used recursively in `_poke` function.
At that time, 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... | skyward_49k | low | token | true | false | ## Low: [08] Potential for improved safety in token minting process
### Description
The contract uses `_mint` to create new ERC721 tokens representing Katana V3 liquidity positions. While `_mint` is sufficient in many cases, `_safeMint` offers additional checks that can prevent tokens from being minted to addresses 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 | gas | other | true | false | ## Gas: The following functions can benefit from some optimizations
### Description
### We can optimize the function `_acceptAdmin` (Save 4 SLOADS: ~400 gas)
https://github.com/nounsDAO/nouns-monorepo/blob/718211e063d511eeda1084710f6a682955e80dcb/packages/nouns-contracts/contracts/governance/NounsDAOLogicV2.sol#L854-... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | rounding | true | false | ## High: Stake Mint Differentiation
### Description
## Vulnerability Overview
The vulnerability is rooted in deposit, and pertains to the lack of consideration for different token decimals in `solana_ibc::cpi::set_stake`, specifically related to the mint of the staked amount. `set_stake` is invoked without explicitly... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `ConduitController.sol#createConduit()`: Help the optimizer by saving a storage variable's reference instead of repeatedly fetching it
### Description
To help the optimizer, declare a `storage` type variable and use it instead of repeatedly fetching the reference in a map or an array.
The effect can be quite ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Consider enforcing minimum redemption amounts in `PublicStockOffRamp, SecuritizeOffRamp::redeem`
### Description
**Description:** The `PublicStockOnRamp` contract enforces a minimum subscription amount check via the `validateMinSubscriptionAmount` modifier to prevent dust trades:
However, the `PublicStockOff... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `disableInitializers` not used to prevent uninitialized contracts
### Description
**Description:** `PolygonVault` and `PolygonStrategy` contracts are designed to be upgradeable.
They are both inheriting from `Initializable` but do not have a constructor that calls `_disableInitializers()`.
An uninitialized 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 | medium | signature | true | false | ## Medium: Signature from one address can be recycled to maliciously reach threshold
### Description
## Security Report
## Severity:
**Medium Risk**
## Context:
`UserOpMultiSigVerifier.sol#L51-L52`
## Description:
The `UserOpMultiSigVerifier` contract allows signature recycling when the owners array contains dup... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [17] `internal` functions not called by the contract should be removed to save deployment gas
### Description
If the functions are required by an interface, the contract should inherit from that interface and use the `override` keyword
*There are 7 instances of this issue:* | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | access-control | false | false | ## Low: Role-Based Access Control Offers Enhanced Security and Clarity
### Description
**Update**
The client acknowledged the issue and provided the following explanation:
> This would entail a significant alteration since it would necessitate a complete overhaul of our access system, requiring the granting of all pe... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `NFTVault.repay()`: `totalDebtPortion` and `totalDebtAmount` 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 | high | access-control | true | false | ## High: Permission Reuse in Orders
### Description
## Validation Issue in Order Permissions
There is a lack of validation for the permission account against the order account in both `TakeOrder` and `FlashTakeOrder`. Each `TakeOrder` or `FlashTakeOrder` transaction is intended to be executed with a specific order an... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: Potential License Incompatibilities
### Description
The project contains contracts with varying SPDX license identifiers:
* Some contracts specify `// SPDX-License-Identifier: Apache-2.0`.
* Others specify `// SPDX-License-Identifier: MIT`.
* Some use `// SPDX-License-Identifier: UNLICENSED`.
This incons... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Deposited funds can be stolen or lost due to transaction ordering
### Description
The [`Option` contract](https://github.com/primitivefinance/primitive-protocol/blob/78a8e64b7618e9199203ab84042876c580ae1e90/packages/primitive-contracts/contracts/option/primitives/Option.sol) plays a fundamental role in the Pr... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | token | true | false | ## Low: asset type is defined but not implemented
### Description
The asset type **ERC1155** is defined in `DataTypes.sol` but is not otherwise supported. Having an unsupported variant in the code is risky, as developers could use it accidentally.
The `AssetType` declaration appears in figure 4.1. It consists of thre... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ZENO Token Redemption Returns Negligible USDC Amount Compared to Purchase Price
### Description
The ZENO token redemption mechanism is severely flawed, causing users to receive only a tiny fraction of their initial USDC investment when redeeming ZENO tokens at maturity. In the test case, a user who spent appr... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Owner Can Renounce Ownership
### Description
Typically, the contract’s owner is the account that deploys the contract. As a result, the owner is able to perform certain privileged activities.
The Openzeppelin's `Ownable` used in `PuttyV2` contract implements `renounceOwnership`. This can represent a certain 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 | other | false | false | ## Low: Using magic numbers
### Description
The use in the source code of some unknown where taken values impairs its understanding.
The value is `1000`:
- in the contract https://github.com/Grandthrax/yearnV2-generic-lender-strat/blob/979ef2f0e5da39ca59a5907c37ba2064fcd6be82/contracts/Strategy.sol on lines 45, 431, ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | rounding | false | false | ## High: Markdown and Control Character Injection ✓ Fixed
### Description
The snap uses MetaMask’s Snaps UI package to present dialogs to users for data verification and action confirmations. While these dialogs ensure dapps don’t silently execute operations without user consent, some UI components have vulnerabilitie... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Babylon request are unmarshalled twice during their processing
### Description
Babylon requests are always unmarshalled twice during their processing, which is inefficient. Babylon MFA requests are unmarshalled in two places during their processing life cycle:
1. **processMfaRequest** ([custodian_manager.go#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... | solodit_api | high | Reentrancy | true | false | #### Resolution
Fixed in <https://github.com/rocket-pool/rocketpool/tree/77d7cca65b7c0557cfda078a4fc45f9ac0cc6cc6> by implementing a custom reentrancy guard via a new state variable `lock` that is appended to the end of the storage layout. The reentrancy guard is functionally equivalent to the OpenZeppelin implement... | ConsenSys | 5 | Rocket Pool Atlas (v1.2) |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Simplify checks to fail faster and remove negation operator on final boolean result
### Description
Many checks in the code use a pattern of:
```solidity
if( !(check_1 && check_2 && check_3) ) revert Error();
```
Often these checks can be simplified with improved efficiency by re-writting to:
* use `||` inst... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Pool will stop working if a pausable / blockable token is blocked
### Description
Some tokens are pausable or implement a block list (e.g. USDC). If such a token is part of a Pool, and the Pool is blocked, the Pool will stop working.
It's important to notice that the LP token, which wraps a deposit, will sti... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | signature | true | false | ## Gas: State variables can be cached instead of re-reading them from storage
### Description
Caching of a state variable replaces each `Gwarmaccess (100 gas)` with a much cheaper stack read.
*Note these are instances that the c4udit tool missed.*
Total Instances: 16
Gas savings: `11 * 100 + 501 (5 benchmarked ins... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Storage read optimizations
### Description
1. [`AccountableOpenTerm::_calculateRequiredLiquidity`](https://github.com/Accountable-Protocol/audit-2025-09-accountable/blob/fc43546fe67183235c0725f6214ee2b876b1aac6/src/strategies/AccountableOpenTerm.sol#L642-L655): `vault` and `_scaleFactor` can be cached. Also co... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | token | true | false | ## High: Incorrect Value Assigned To token When Recalling Messages
### Description
In the function `onMessageRecalled()` in `ERC20Vault.sol`, the calldata intended for `receiveToken()` is decoded to refund the user’s tokens. However, during this decoding, the `token` variable is assigned the value `user` instead of 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 | oracle | false | false | ## Low: relayMessage should use a custom gasLimit value in the extraArgs to avoid OOG reverts on the receiving side
### Description
The CCIP framework allows the call of `ccipRouter.ccipSend` to specify in the `Client.EVM2AnyMessage` extra arguments. One of these arguments is `gasLimit` that, by default (when unspecif... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Bypassing Token Account Initialization
### Description
## Potential Vulnerability in Token Account Initialization
In the current implementation of `bond::process_purchase_bond` and `purchase_order::process_redeem_purchase_order` (shown below), there may be a potential vulnerability in the method of determini... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Bypassable Events
### Description
**Update**
Marked as "Acknowledged" by the Venus team. The Venus team provided the following explanation:
> Out of scope for now
**File(s) affected:**`governance-contracts/contracts/Governance/AccessControlManager.sol`
**Description:** In the function `AccessControlManager.... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | Validation | true | false | ## Medium Risk Advisory
## Severity
**Medium Risk**
## Context
- SwapperV2.sol#L77
- Swapper.sol#L74
- LibStorage.sol#L4-L8
- DexManagerFacet.sol#L114-L143
## Description
The function `_executeSwaps()` slices the `callData` with 8 bytes. The function selector is only 4 bytes. Refer to the documentation for additiona... | Spearbit | 5 | LI.FI |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Interest Not Accrued Prior to Withdrawing or Depositing Collateral
### Description
Within the `IonPool` contract, the [`depositCollateral`](https://github.com/Ion-Protocol/ion-protocol/blob/98e282514ac5827196b49f688938e1e44709505a/src/IonPool.sol#L626-L636) and [`withdrawCollateral`](https://github.com/Ion-Pro... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | cyfrin_structured | low | access-control | true | false | ## Low: Consider allowing `ROUSG::burn` to burn dust amounts
### Description
`ROUSG::burn` is used by admins to burn `rOUSG` tokens from any account for regulatory reasons.
It does not allow burning a share amount smaller than 1e4, because this is less than a wei of `OUSG`.
```solidity
if (ousgSharesAmount < OUSG_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 | medium | initialization | false | false | ## Medium: Too high totalAuctionLength prevents settling of fixed-discount collateral auctions
### Description
Within [`FixedDiscountCollateralAuctionHouse`](https://github.com/reflexer-labs/geb/blob/261407b6b332c2063e4256aa5f9b223d52dad7e1/src/CollateralAuctionHouse.sol#L352), the variable [`totalAuctionLength` is in... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | access-control | false | false | ## Medium: StateTransitionManager Cannot Unfreeze Chains
### Description
The `StateTransitionManager` is privileged to [freeze and unfreeze](https://github.com/matter-labs/era-contracts/blob/d5c5d7a7c3a458f131e5de72c6c134a172e6763d/l1-contracts/contracts/state-transition/StateTransitionManager.sol#L164-L172) the chain... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Check for the Configured Mode of Reward Distributors in `PoolLens`
### Description
**Update**
Marked as "Fixed" by the client. Addressed in: `e57c00d7df5f84d4eb19e10d6cf2704d18b0fdff`.
**File(s) affected:**`isolated-pools: contracts/Lens/PoolLens.sol`
**Description:** In the `_calculateNotDistributed... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 will get 1/100 of the intended accrual rate
### Description
The base accrual rate, as described in the documentation, should be `1e9`.
However, in `DyadXPv2._computeXP` it is set to `1e7`:
```solidity
uint256 adjustedAccrualRate = accrualRateModifier * 1e7;
```
As such, users will get a meager yiel... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Bypass zap timelock
### Description
_Submitted by gzeon_
The default value of `inventoryLockTime` in `NFTXStakingZap` is `7 days` while `DEFAULT_LOCKTIME` in `NFTXInventoryStaking` is 2 ms. These timelock value are used in `NFTXInventoryStaking` to eventually call `_timelockMint` in `XTokenUpgradeable`.
... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | overflow | false | false | ## Low: optimization
### Description
There is a `_getAndIncrementNonce` function at the line https://github.com/cryptoalgebra/Algebra/blob/bddd6487c86e0d6afef39638159dc403a91ba433/src/periphery/contracts/LimitOrderManager.sol#L262. Its logic can be put into an `unchecked` block to skip overflow checks (like it is done... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Improper Handling of Predecessor Dependencies in Batch Scheduling and Execution
### Description
The `scheduleBatch` function allows scheduling operations that depend on pending predecessors, meaning an operation can be scheduled while its predecessor is still unexecuted. However, if the pending predecessor 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 | high | access-control | false | false | ## High: Specification-Code mismatch for AssetProxyOwner timelock period
### Description
The specification for AssetProxyOwner says: "The AssetProxyOwner is a time-locked multi-signature wallet that has permission to perform administrative functions within the protocol. Submitted transactions must pass a 2 week timeloc... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [07] Apply some sort of AC to `WildcatMarketWithdrawals#executeWithdrawal()`
### Description
### Proof of Concept
Take a look at https://github.com/code-423n4/2024-08-wildcat/blob/fe746cc0fbedc4447a981a50e6ba4c95f98b9fe1/src/market/WildcatMarketWithdrawals.sol#L194-L211
This function is used to execute a pe... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insu�cient logging
### Description
Log messages generated during program execution aid in monitoring, baselining behavior, and detecting suspicious activity. Without log messages, users and blockchain monitoring systems cannot easily detect behavior that falls outside the baseline conditions. This may prevent ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Paymasters can spend locked stake [core]
### Description
Wallets pay for their operations using the funds [deposited with the `StakeManager`](https://github.com/eth-infinitism/account-abstraction/blob/8832d6e04b9f4f706f612261c6e46b3f1745d61a/contracts/EntryPoint.sol#L255), whether or not those funds are locke... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Refactor `SecuritizeBridge::bridgeDSTokens` and `quoteBridge` to use `internal` function saves 2 storage reads per bridging transaction
### Description
**Description:** `SecuritizeBridge::bridgeDSTokens`:
* L71 calls `quoteBridge` which reads `wormholeRelayer` and `gasLimit` from storage
* L91 calls `wormholeR... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of minimum guardian set enforcement
### Description
The current implementation of `set_guardian_set` only checks if the guardian set is non-empty. This check is insufficient as it allows for a guardian set with just one guardian.
```rust
pub(crate) fn set_guardian_set(&mut self, gs: pyth::GuardianSet) ->... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Adding liquidity can be `DoS`ed due to calculation mismatches
### Description
When users add liquidity, they send tokens to the `ArrakisPublicVaultRouter` contract. The `ValantisHOTModulePublic` contract then takes the required tokens from the `ArrakisPublicVaultRouter` contract. However, due to a calculation... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `Chainlink` oracle returns stale price due to `CHAINLINK_TIMEOUT` variable in `LibChainlinkOracle` being set to 4 hours
### Description
The `LibChainlinkOracle` library utilizes a `CHAINLINK_TIMEOUT` constant set to `14400` seconds (4 hours). This duration is four times longer than the `Chainlink` heartbeat... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | rounding | true | false | ## Medium: Potential Mismatch in Penalty Calculation and Burning in StakingVault
### Description
In the `penalizeUser` function of the StakingVault contract, there's a potential mismatch between how the penalty is calculated and how it's applied. The penalty is calculated in terms of assets, but it's burned in terms o... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | access-control | true | false | ## Low: Consider Allowing approve Even When Contract Is Paused ✓ Fixed
### Description
The `MUSD` contract is pausable. More specifically, it inherits from OpenZeppelin’s `PausableUpgradeable` and calls `_requireNotPaused();` in `_beforeApprove`, `_beforeWrap`, `_beforeUnwrap`, and `_beforeTransfer`. This means that 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: Inconsistent behavior when xcall with a non-existent _params.to
### Description
A xcall with a non-existent `_params.to` behaves differently depending on the path taken:
1. **Fast Liquidity Path** - Use `IXReceiver(_params.to).xReceive`. The `_executeCalldata` function will revert if `_params.to` is non-exist... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 order cancellation functions
### Description
There are `IPOrderCancelled` and `LPOrderCancelled` events, but the actual functions where they should be emitted are missing.
### Recommendation
Add `cancelIPOrder` and `cancelLPOrder` functions to allow users to cancel their orders. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 for Transactions Being Submitted Before Contracts Are Fully Configured
### Description
**Update**
Marked as "Acknowledged" by the client. The client provided the following explanation: This is low risk, and due to Spurious Dragon size constraints, a deployer contract wouldn't be possible anyway.
**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 | initialization | true | false | ## Medium: Missing StabilityPool Integration in `mintRewards` Function
### Description
The `mintRewards` function in the RAAC minter contract is designed to be callable exclusively by the StabilityPool contract. However, there is no implementation or interface that allows the StabilityPool to invoke this function. As ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | liquidation | false | false | ## Medium: Borrower can abuse late repayment to always repay the loan late
### Description
**Description:**
In the protocol, borrowers are allowed to repay the loan late without any penalty or fees. Even when the lender calls the function forceLiquidateExpiredLoan(), it still checks if the borrower can repay first 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: _decreasePosition() now uses incorrect fee rate
### Description
In the `_decreasePosition()` function within the TradeService, some of the arguments passed to `tradeHelper.updateFeeStates()` have been changed to support the new adaptive fee logic. One argument has been mistakenly changed from `_marketConfig.de... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | initialization | false | false | ## Low: Incorrect balance check comparison in TokenPaymaster [sample]
### Description
In the `TokenPaymaster` contract, the `validatePaymasterUserOp` function performs a check to verify that the sender’s token balance is sufficient to pay the `tokenPrefund` cost for the user operation. In [both cases](https://github.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 | access-control | true | false | ## Low: `OmoVault.borrow` missing receiver validation enables unauthorized transfers
### Description
The `OmoVault.borrow()` function allows whitelisted agents to borrow assets from the vault to reinvest and generate yield, the function accepts a `receiver` parameter, which determines the address that will receive 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 | overflow | false | false | ## Low: Cap Validation Failure for Vaults With No Limits
### Description
This issue has been identified within the `_validateCap` function of the `CapRiskSteward` contract.
If a vault currently does not have a limit, the function `AmountCap.wrap(currentCap).resolve()` returns `type(uint256).max`. Consequently, when 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 | low | other | false | false | ## Low: Use constants for literal or magic values
### Description
Consider defining constants for literal or magic values as it improves readability and prevents duplication of config values.
*Instances (9)*:
- https://github.com/code-423n4/2023-09-asymmetry/blob/main/contracts/strategies/votium/VotiumStrategyCore.s... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | reentrancy | true | false | ## High: `FarmFacet` functions are susceptible to the draining of intermediate value sent by the caller via reentrancy when execution is handed off to an untrusted external contract
### Description
**Description:** The `FarmFacet` enables multiple Beanstalk functions to be called in a single transaction using Farm cal... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | gas | reentrancy | true | false | ## Gas: Use `uint256(1)`/`uint256(2)` instead of `true`/`false` to save gas for changes
### Description
Boolean variables in Solidity are more expensive than `uint256` or any type that takes up a full word, due to additional gas costs associated with write operations. When using boolean variables, each write operation... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Shortfall might be calculated incorrectly if a price value for one collateral isn't fetched correctly
### Description
Function `price()` of an asset doesn't revert. It [returns values](https://github.com/reserve-protocol/protocol/blob/df7ecadc2bae74244ace5e8b39e94bc992903158/contracts/plugins/assets/Asset.s... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | oracle | true | true | ## Low: Numerous internal and external assumptions
### Description
The system makes many assumptions about both the semantics of its internal code and the data provided to it from outside sources. As a result, the system relies on hard-coded values and expects certain input, such as USDC tokens as the strike price-den... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Possibility of cancel non-existing orders
### Description
User can cancel any order with `makerAssetData` containing his address at `FROM_INDEX` index https://github.com/1inch/limit-order-protocol/blob/a14bde6a260458de5083cee117d734221e1cbc05/contracts/LimitOrderProtocol.sol#L157-L163
### Recommendation
We re... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | token | false | false | ## Medium: Excess Base Tokens Not Refunded for ERC20 tokens
### Description
When a user purchases tokens using an ERC20 base token, the function _getBuyQuoteAndFees() correctly calculates the actual amount used (amountInUsed) and the associated fees. However, if the user sends more than amountInUsed, the excess tokens... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | Deposit/Reward tokens | false | false |
_Resolved_
## Severity
**Impact:** Medium
**Likelihood:** Medium
## Description
The `Market.mint()` function mints both fToken and xToken [based on the current collateral ratio](https://github.com/RegnumAurumAcquisitionCorp/fx-contracts/blob/main/contracts/f(x)/math/FxLowVolatilityMath.sol#L293-L307).
In th... | Pashov Audit Group | 3 | RWf(x)_2025-08-20 |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LACK OF SAFEGUARD DATA VALIDATION
### Description
The safeguards are used to transfer the tokens from the user to the backup wallet address if they are initiated. It was identified that users can create safeguards with parameters that are not related to their token type. For example, it is possible to create 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 | oracle | false | false | ## Low: Risk in OracleERC4626 due to ignored withdraw fees
### Description
_Acknowledged_
The current implementation of OracleERC4626 uses the ERC4626 function convertToAssets(1e18) to determine the underlying asset amount per share.
This approach does not account for withdrawal or redemption fees, potentially leadin... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | cross-chain | false | false | ## Medium: Contract `HibernationDen` can receive ETH but it can't be withdrawn
### Description
**Impact:**
Medium, as it will result in stuck funds, but they will just have the value of gas refunded
**Likelihood:**
Medium, as it will happen when there is a refund from a cross-chain call
**Description**
The `Hiberna... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Resetting delegation will result in user funds being lost forever
### Description
### Lines of code
### Impact
The default delegate value for a user is `address(0)`, which maps to the user delegating to themselves. If a user had delegated to another address and wanted to reset their delegated balance back ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Automation and redemption could be artificially manipulated due to use of instantaneous `sqrtPriceX96`
### Description
**Description:** `AutoRedemption::checkUpkeep` is queried every block by the Chainlink Automation DON:
However, use of `sqrtPriceX96` is problematic since it is based on the instantaneous... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | true | false | ## High: HatsSignerGateBase: valid signer threshold can be bypassed because HSG checks signatures differently from Safe which allows exploitation
### Description
This report deals with how the `HatsSignerGate` and the `Safe` check signatures differently which opens the door to exploitation.
I will show how this allow... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unexpected token unlock could happen Severity: Quality Assurance
### Description
**Description:**
As per docs, max of valid\_till or valid\_till\_block\_height is always taken to derive the unlock time: "valid\_till\_block\_height: Option — the same as valid\_till, but in block height, not in nanoseconds. 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 | high | front-running | true | false | ## High: Vault creation can be DoSed by lien owners who can transfer their lien token to any address
### Description
## Severity: High Risk
## Context:
- AstariaRouter.sol#L778-L792
- AstariaRouter.sol#L794-L796
- Vault.sol#L53-L58
## Description:
When a vault is created, AstariaRouter uses the `Create2ClonesWithImm... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing mango account check
### Description
## Mango Account Vulnerability
In `mango_state.rs`, a `MangoObserver` struct is instantiated from a list of Mango accounts. However, there is no constraint validating that the provided addresses are actually associated with the marginfi account. An attacker can abu... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Absence of event emissions in critical functions
### Description
Several critical functions do not emit events upon execution. These functions include `ApiologyDAOAuctionHouse::setPrices`, `ApiologyDAOAuctionHouse::setEntropy`, `erc20dao::updateGovernanceActive`, `Deployer::transferOwnerShip`, `Deployer::defin... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | storage | false | false | ## Medium: Missing callbacks are not detected
### Description
Before an operation of submission is executed, a callback can be registered so that the vault will accept the specific callback during the operation call and perform further actions. However, a callback may be registered but not received since, in the `_exe... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Both Transactor.CALL and Transactor.DELEGATECALL Do Not Emit Events
### Description
Transactor contains a "general purpose" `DELEGATECALL` and `CALL` function that allow the owner to execute a delegatecall and call toward a target address passing an arbitrary payload. Both of those functions are executing `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 | high | oracle | true | false | ## High: `ChainlinkOracle.sol#getPrice()` The price will be wrong when the token's USD price feed's `decimals != 8`
### Description
`ChainlinkOracle` assumes and inexplicitly requires the token's USD feed's decimals to be 8. However, there are certain token's USD feed has a different `decimals`.
### Impact
When the 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 | low | front-running | false | false | ## Low: Front Running Vulnerability in `decreaseClaimable` Function
### Description
**Severity**: Informational
**Status**: Acknowledged
The `decreaseClaimable` function, which can only be called by an admin, is vulnerable to front running by users who call the claim function. This allows the users to drain the clai... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | cross-chain | false | false | ## Low: Impact of Chain Reorganizations over the Protocol Flows
### Description
**Update**
The customer accepts this risk, considering that the likelihood is low (having a pending transaction while the reorg happens) and the impact is also low (only trades of pending transactions will be impacted).
**File(s) affected... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Logic issue.
### Description
**Description**
StakingB_1.sol Line 512
“lastRewardBlock” must be initialized when the pool is set. In other case first reward will be
counted as a reward in range [0; last block number] that is a numerous amount.
**Recommendation**:
Initialize lastRewardBlock in pool setting. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | solodit_api | high | dos | true | true | ## Denial of Service: _burnGroupBalances Function
**Difficulty:** Medium
**Type:** Denial of Service
## Description
The `_burnGroupBalances` function fails to validate that the burn operation completes successfully when expired tokens are present, potentially creating inconsistencies between ERC1155 balance trackin... | TrailOfBits | 5 | Radius Technology EVMAuth |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Structs can be packed into fewer storage slots
### Description
Each slot saved can avoid an extra Gsset (**20000 gas**) for the first setting of the struct. Subsequent reads as well as writes have smaller gas savings.
*There are 4 instances of this issue:* | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | oracle | false | false | ## Low: Token Price Calculation Should Be Rounded Up Explicitly
### Description
**Update**
Marked as "Fixed" by the client. Addressed in: `fa98e2bedb16ffc9ca37f344d18771bb9c6f3821`.
**File(s) affected:**`BaseERC20Paymaster.sol`, `TwapOracle.sol`, `ERC20PaymasterV06.sol`, `ERC20PaymasterV07.sol`
**Description:** Paym... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Ownership Can Be Renounced
### Description
**Update**
The client acknowledged the issue and provided the following explanation:
> This is a design behavior.
**File(s) affected:**`FanToArtistStaking.sol`, `Web3MusicNativeTokenDAO.sol`, `Web3MusicNativeTokenManagement.sol`
**Description:** If the owner renoun... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `UlyssesToken` asset ID accounting error
### Description
Asset IDs in the `UlyssesToken` contract are **1-based**, see [L49 in UlyssesToken.addAsset(...)](https://github.com/code-423n4/2023-05-maia/blob/54a45beb1428d85999da3f721f923cbf36ee3d35/src/ulysses-amm/UlyssesToken.sol#L49) and [L55 in ERC4626MultiToke... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: listOffer maker can settle offer via settleAskMaker() in Turbo settle type.
### Description
In turbo settle type, the maker is the only person who deposit some collaterals. So the maker should be the only person who can settle ask maker and get back the collateral. But now the listOffer's owner can trigger se... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | oracle | true | false | ## High: Unsecure Token Swaps
### Description
## Token Swap Vulnerability
In the `swap_fund_tokens` instruction, the program uses Pyth prices directly to perform token swaps. No fee is charged if the tokens are not being swapped to/from USDC. This could be exploited with a MEV reordering attack.
An attacker would ha... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Static AES-GCM nonce used for cloud backup encryption
### Description
The cloud backup feature of the Uniswap mobile wallet allows users to store encrypted mnemonics in the Google Drive application data folder. AES-GCM cipher mode is used for the encryption. The mode requires a unique, random nonce for ever... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Contract owner can transfer tokens allocated for investors
### Description
**Description**
Contract owner can invoke the smart contract PrivateDistributions’s method recoverToken
and pass argument _token as UnmarshalToken address to withdraw tokens allocated for
investors.
**Snippet**:
**Recommendation**:... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malfunctioning Address Book
### Description
## Snap Initialization Issues with Addresses Attribute
When initializing the snap, the `addresses` attribute is not inserted into the snap state. However, the `addAddress`, `deleteAddress`, and `getAddresses` functions require it to be a valid JSON stringified ob... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `ReraiseETHCrowdfund.sol`: party card transfer can be front-run by claiming pending voting power which results in a loss of the voting power
### Description
In this report I show how an attacker can abuse the fact that anyone can call [`ReraiseETHCrowdfund.claim`](https://github.com/code-423n4/2023-04-party/b... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: Threshold Changes Can Permanently Inflate `Pending` Exemptions
### Description
**Update**
Marked as "Acknowledged" by the client. The client provided the following explanation:
> Modifying thresholdOf[quote] typically occurs immediately after setting the quote in the contract, and the administrator will ensur... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary redundant initialization of variables
### Description
**Severity**: Informational
**Status**: Resolved
**Description**
PendleVoteManagerMainChain.sol/PendleVoteManagerSideChain.sol - In __PendleVoteManagerMainChain_init()/__PendleVoteManagerSideChain_init() functions which are invoked in order 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... | cyfrin_structured | low | other | true | false | ## Low: `whChainId` should not be stored as immutable constant
### Description
The `SecuritizeBridge` contract's use of an immutable `whChainId` constant, set during deployment, creates a critical vulnerability during chain forks. If the stored whChainId no longer matches the actual `chain ID`(block.chainid), cross-ch... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | false | ## Medium: `ClientCommunityState::update` function does not update the `rate` before calculating new `dividends_value`
### Description
The `ClientCommunityState::update` function is responsible for distributing dividends based on the amount of DRVS tokens a user holds:
```rust
for (i, d) in self.data.iter_mut().enumer... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: TRST-M-3 User deposits can fail despite using the correct method for calculation of deposit amounts
### Description
**Description:**
Users can use the `getAmtsNeededForDeposit()` function to get the amount of tokens that
maintain the desired proportion for vault deposits. It will perform a calculation very... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: DOS via Uninitialized EasyTrack Implementation Contract
### Description
The EasyTrack implementation contract is left uninitialized during deployment, allowing an attacker to execute **EasyTrackStorage_init()** to take control of the underlying implementation contract and exploit a vulnerability in the OpenZe... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | reentrancy | false | false | ## High: | Reenter Dividends
### Description
**Description**
Because the dividends paid to a user is only updated after the external call sending them funds, it is possible for a malicious contract to re-enter and keep draining `div` amount of BNB on each call.
**Recommendation**
Add a `nonReentrant` modifier from ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.