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 | gas | other | true | false | ## Gas: [15] `abi.encode()` is less efficient than `abi.encodePacked()`
### Description
*There are 3 instances of this issue:* | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | other | false | false | ## Medium: M01] There are multiple hard-coded constants
### Description
###### Medium
Components: all
Hard-coded booleans, numbers, and strings in the code are hard to understand, and they are prone to error, because after some time, their origin and context can be forgotten or mistaken.
For example:
In `deplo... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | Wrong Math | false | true | _Submitted by leastwood, also found by cmichel and kirk-baird_
The `ConvexStakingWrapper.sol` implementation makes several modifications to the original design. One of the key changes is the ability to add multiple pools into the wrapper contract, where each pool is represented by a unique `_pid`. By doing this, we ar... | Code4rena | 3 | Concur Finance |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | initialization | false | false | ## Low: Application Monitoring Can Be Improved by Emitting More Events
### Description
**Update**
Marked as "Fixed" by the client. Addressed in: `43fbe50ab6e77b4ed2b3f2708396fa0fd35132c3`.
**File(s) affected:**`Lending.sol`
**Description:** In order to validate the proper deployment and initialization of the contrac... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `createRJLaunchEvent()` can be called by anyone with 1 Wei of `_token` and stop others from creating RJLaunchEvent with the same token anymore
### Description
_Submitted by WatchPug, also found by p4st13r4_
In the current implementation, `RocketJoeFactory.sol#createRJLaunchEvent()` can be called by anyone... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: ACOToken.sol reference implementation is publicly initializable
### Description
The [`init` function of `ACOToken.sol`](https://github.com/AuctusProject/aco/blob/36bcab024c9781d799381f8f973e99fd5b0f4d2d/smart-contracts/contracts/core/ACOToken.sol#L177-L185) is `public` and allows anyone to call it, setting key... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | Business Logic | true | true | ## Lines of code
https://github.com/code-423n4/2022-10-inverse/blob/main/src/Market.sol#L566
## Vulnerability details
## Impact
Users abels to invoke `forceReplenish()` when they are on liquidation position
## Proof of Concept
On `Market.sol` ==> `forceReplenish()`
On this line
```
uint collateralValue = getColl... | Code4rena | 4 | Inverse Finance |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | other | true | false | ## High: Public vaults can become insolvent because of missing `yIntercept` update
### Description
The deduction of `yIntercept` during payments is missing in `beforePayment()` which can lead to vault insolvency.
### Impact
PoC: https://gist.github.com/berndartmueller/477cc1026d3fe3e226795a34bb8a903a
This missing up... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | cyfrin_structured | high | dos | true | true | ## High: Swaps performed in pools with zero liquidity can cause a complete DoS of `FullRangeHook`
### Description
The `FullRangeHook` is characterized by rebalancing after every swap executed in the pool:
```solidity
function _rebalance(PoolKey memory key) public {
PoolId poolId = key.toId();
// Remove all th... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: Inefficiency in Reward Reservation Within the `locker` Contract
### Description
**Update**
The team has acknowledged and decided to keep the minor issue as it is.
**File(s) affected:**`locker.fc`
**Description:** During the addition of rewards to the `locker` contract, a reservation of 1 TON is made, presuma... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: User can unlock protected listing without paying any fee.
### Description
`ProtectedListings.adjustPosition()` function adjust `listing.tokenTaken` without considering compounded factor. Exploiting this vulnerability, user can unlock protected listing without paying any fee.
### Impact
User can unlock protec... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Manipulation of price outside of the `FullRangeHook` liquidity range can result in DoS and financial loss to liquidity providers
### Description
**Description:** The minimum and maximum ticks used by the `FullRangeHook` differ from those defined in Uniswap V4 pools:
This means that there are two regions int... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Adding Wrapped Participation Tokens as Supported External Tokens May Lead to Incorrect Accounting
### Description
**Update**
Marked as "Fixed" by the client. Addressed in: `f2e19f2ba184af2decdbe58d761b30bfc2f293f6`. The system now checks using the storage mapping `objectTokenWrapperId` that we cannot add parti... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | other | false | false | ## Medium: Weak TLS ciphers supported by wormhole
### Description
The wormhole server supports the following weak SSL ciphers which have been deemed to be insufficient for modern transport security:
| Cipher | Mode | Safety Rating | Key Size |
|------------------------------------------------|------|---------------|... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | access-control | true | false | ## Medium: Funds of Old Token Are Locked When `StableManagement` is Updated
### Description
The `setStableManagement()` function in the `OffRamp` contract allows an authorized role to update the `stableManagement` variable, which also updates the `usc` token used for all off-ramp operations.
This design introduces a ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | initialization | false | false | ## Medium: Potential `stake()` DoS if sole safETH holder (ie: first depositor) unstakes `totalSupply` - 1
### Description
### Impact
Potential inability to stake (ie: DoS) if sole safETH user (ie: this would also make them the sole safETH holder) unstakes `totalSupply - 1`.
### Proof of Concept
The goal of this POC... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect genesis initialization of pending nonces
### Description
In case a ZetaChain node has been hard-reset or a hard fork is performed, the `x/crosschain` module's `InitGenesis` function will initialize the pending nonces for all external chains to 0, diverging from the real pending, non-zero, nonces. ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 of multiple repositories
### Description
The Yield Protocol code is spread across four repositories. These repositories are tightly coupled, and the code is broken up somewhat arbitrarily. This makes it more difficult to navigate the codebase and to obtain a complete picture of the code that existed at any... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | false | false | ## High: Issues with token transfers and rewards when a marinator is removed from whitelist in MarinateV2.sol.
### Description
**Description**
MarinateV2.sol - the implementation of hooks_beforeTokenTransfer & _afterToken Transfer leads to issues in specific scenarios in which a marinator (i.e. contract holding mUMAM... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: PToken double spend race conditions
### Description
**Severity**: Low
**Status**: Acknowledged
**Description**
In Contract PToken.sol, the method approve(...) is used to allow the spender to transfer a certain amount from the source account.
This method is prone to double-spend attacks. Briefly, an authori... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | rounding | false | false | ## Low: Missing data validation in formatProtocol()
### Description
The `formatProtocol()` function has incomplete data validation logic. Before `decompressLEB128(addressBytes + 1)` is called, there is no check to ensure that the input buffer argument is large enough, which could lead to a read overrun.
```c
uint16_... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect handling of decimals in ERC4626i
### Description
If the underlying vault has 36 decimals for example and ERC4626i is using the fixed 18, off-chain components (like portfolio display apps) and other contracts that interact with it will interpret the user's balance as millions of trillions of tokens w... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | other | true | false | ## High: User can receive more rewards through a mistake in the withdrawal logic
### Description
In the `withdraw()` function of the SingleSidedLiquidityVault the contract updates the reward state. Because of a mistake in the calculation, the user is assigned more rewards than they're supposed to.
### Impact
A user 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 | false | false | ## Low: Lookup key strings are not centrally defined
### Description
Known UMA contracts are tracked in the [`interfacesImplemented` mapping](https://github.com/UMAprotocol/protocol/blob/9d403ddb5f2f07194daefe7da51e0e0a6306f2c4/core/contracts/oracle/implementation/Finder.sol#L13) of the `Finder` contract. New entries ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | false | false | ## Low: Missing governor setter boundaries
### Description
The governor functions `setMinLiquidityLifespan`, `setMinMargin`, and `setDebtLimit` in the `RiskConfigs` contract do not perform any validation on their input parameters. A privileged user (the `governor`) can set these critical risk parameters to any `uint25... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Naming convention for interfaces is not followed
### Description
The AllowanceModule interface does not follow the standard naming convention for Solidity interfaces, which begins with an `I` prefix. This inconsistency can make it harder for developers to understand the purpose and usage of the contract.
### ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | initialization | false | false | ## Low: No validation on input address
### Description
**Severity**: Informational
**Status**: Resolved
**Description**
dpnm_sc.sol - input address in init, changePromoter & changeFeeCollector might be zero and assignment of such improper address would be set in this case.
gwt_new.sol - input address in init, addAl... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | dos | true | false | ## Low: DoS vulnerability in spin due to pending prize
### Description
_Resolved_
Consider a scenario with three rarity pools:
Rarity 1: 1 prize available.
Rarity 2: 10 prizes available.
Rarity 3: 10 prizes available.
User1 calls `spin()`
For rarity 1, pendingCount becomes 1
Any subsequent user calling spin() will... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | token | true | false | ## Low: Points programs cannot be created due to incorrect campaign id computation
### Description
In the Points contract, the function `createRewardsCampaign()` contains the following logic for checking that the campaign ID of the created campaign is what is expected:
```solidity
uint256 campaignId = allowedVault.to... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | liquidation | false | false | ## Low: Amount of collaterals enabled in `StabilityPool` is not limited
### Description
The arrays in `depositSums`, `collateralGainsByDepositor`, `epochToScaleToSums`, and `lastCollateralError_Offset` have a size of 256. However, in the `enableCollateral` function there is no check for the total number of collaterals... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Pointer Arithmetic Error in RLP Library
### Description
During finalization, L1 to L2 transactions that have been transmitted to L2 by the coordinator are marked as [received](https://github.com/Consensys/linea-contracts/blob/f08c1906855198e2dc0413a47dcb38291b7087e5/contracts/messageService/l1/L1MessageManager... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing tokens order check in MarginalV1LBPoolDeployer.deploy()
### Description
The `MarginalV1LBPoolDeployer.deploy()` function is used to deploy instances of the `MarginalV1LBPool` contract. The function takes necessary parameters and passes them to the constructor of `MarginalV1LBPool`.
However, the order ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: View function will never return value.
### Description
**Description**
StakingB.sol Line 46
“stakesInfo” will never return value because it creates an array [from; to) but tries to iterate
through [from; to].
**Recommendation**:
Change the format of array to
“ s = new Stake[](_to - _from+1)” or
“for (uin... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | oracle | true | true |
When the price moves, Chainlink instantly reports the spot price, while the TWAP slowly changes the price. The spot price of CoreSaltyFeed can be manipulated, allowing an attacker to move the price in a desired direction.
### Vulnerability Details
1. The spot price of `CoreSaltyFeed` can be manipulated, even when c... | Code4rena | 3 | Salty.IO |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Reveal and Redeem should only be set to `true`
### Description
Currently the `setRevealOpen` and `setRedeemOpen` methods allow setting the values to both `true` and `false` as many times as the `metadataOwner` decides to. This shouldn't be the case, as both should only be available to set to `true` just once, ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: In `Stable2LUT1::getRatiosFromPriceLiquidity`, in extreme cases, `updateReserve` will start breaking
### Description
This is one of the edge cases in `getRatiosFromPriceLiquidity`:
The range where the price can be is very large, between `0.27702e6` (`highPrice`) and `0.001083e6` (`lowPrice`). If we are cl... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Wrong accounting of locked RA when repurchasing DS+PA with RA
### Description
Users have the option to repurchase DS + PA by providing RA to the PSM. A portion of the RA provided is taken as a fee, and this fee is used to mint CT + DS for providing liquidity to the AMM pair.
### Impact
Wrong accounting of lo... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Solidity versions greater than the current version should not be included in the pragma range
### Description
The below pragmas should be `= 0.5.0 = 0.5.0 = 0.5.0 = 0.5.0 = 0.5.0 = 0.5.0 = 0.5.0 = 0.5.0 = 0.5.0 = 0.5.0 = 0.5.0 = 0.5.0 = 0.5.0 = 0.5.0 = 0.5.0 <= 0.9.0; | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | other | false | false | ## Medium: Rotating `LPTokens` to banned BLS public key
### Description
It is possible to rotate `LPTokens` to a banned BLS public key. This is not a safe action, because it can result in insolvency of the project (specially if the banned BLS public key was malicious).
### Proof of Concept
When a user deposits ETH 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 | other | true | false | ## High: Faulty Distribution of Emissions
### Description
## Reward Allocation Issue
The issue arises from a misalignment in how rewards (emissions) are allocated to staked SY tokens and the treasury’s share for unstaked SY tokens. In the Emission structure, the `index` field is utilized to track how much reward (emi... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unfinished functionality in commented code.
### Description
**Description**
Commented functionality that isn't currently implemented.
$programs/auction\_house/src/lib.rs$
Line. 65-94.
**Recommendation**
The functionality must be implemented or comments must be removed.
**Re-audit comment**
Resolved | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | initialization | true | true | Source: https://github.com/sherlock-audit/2022-09-notional-judging/issues/19
## Found by
Arbitrary-Execution
## Summary
`deleverageAccount` can be used by an address to enter a vault that would otherwise be restricted by the `requireValidAccount` check in `enterVault`
## Vulnerability Detail
When `enterVault` in `... | Sherlock | 5 | Notional |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Certain stablecoins cannot be added to Pool
### Description
**Severity**
**Impact:** Medium
**Likelihood:** Medium
**Description**
The protocol aims to work with standard tokens, stablecoins, and LRTs, but in the constructor and the `addToken` function, there's a check ensuring that token decimals equal... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unsafe Account Deserialization
### Description
## Code Review: Loader
In the loader, `load_mint` and `load_token_account` (as shown below) currently utilize `unpack` to deserialize the account data. `unpack_unchecked` does not perform any additional checks beyond the deserialization process itself. Thus, if t... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | token | false | false | ## Low: Missing Event Emission
### Description
The [`setBaseURI`](https://bitbucket.org/wisdomtreeam/whitelist-contexts/src/44760785af1696704cdfcc56c2ba4a17ff603fb5/src/tokens/ERC721/ERC721SoulboundToken.sol#lines-219:221) and [`setTokenURI`](https://bitbucket.org/wisdomtreeam/whitelist-contexts/src/44760785af1696704c... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: By updating `emit`, extra emit usage can be reduced
### Description
In the `mint` function in the `Bio.sol` contract, the protocol emits two emits (the `_mint` and bioAdded emits). By updating the emit of Solady's `_mint` function, the use of one extra emit can be reduced.
Reference: https://github.com/ethere... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | token | true | false | ## Medium: UniProxy.depositSwap doesn’t deposit all the users' funds ✓ Fixed
### Description
When executing the swap, the minimal amount out is passed to the router (`deposit1` in this example), but the actual swap amount will be `amountOut`. But after the trade, instead of depositing `amountOut`, the contract tries t... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | access-control | true | false | ## Low: Deadline/End Params Not Validated Against `block.timestamp` or Minimum Value
### Description
The `setSeasonTime()` function in the Dragma contract lacks input validation for the `startTime` and `endTime` parameters. Unlike other contracts in the OCH ecosystem (such as `Endgame.sol` and `LevelingGame.sol`), thi... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: <a name="GAS-13"></a>[GAS-13] `internal` functions not called by the contract should be removed | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | front-running | true | false | ## High: slippage protection is inaccurate
### Description
Report type: Smart Contract
Target: https://github.com/alchemix-finance/alchemix-v2-dao/blob/main/src/RevenueHandler.sol
Impacts:
- Protocol insolvency
## Description
## Brief/Intro
`RevenueHandler._melt` is used to swap normal token to alAsset(for example... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | false | false | ## High: Attackers can use a malicious yield token to steal funds from users
### Description
**Severity:** High
**Description:** According to the documentation and the current implementation, anyone can create a new StakePet contract and feed any address for the `YIELD_TOKEN`. As long as a contract implements `IYield... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect value comparison for uint8 type in VariableBorrow.sol
### Description
**Severity**: Low
**Status**: Resolved
**Description**
In contract VariableBorrow.sol, at line 521, 522 and 523 in function updateProtocolRevenue inside the require statements uint types are checked to be greater than or equal 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 | medium | overflow | true | false | ## Medium: CuratedVaults are prone to inflation attacks due to not utilising virtual shares
### Description
An attacker can frontrun a user's deposit transaction in a new vault pool position, stealing 100% of the depositors underlying token deposit by causing no shares to be minted to the user. This is caused by infla... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Multiplication/division by two should use bit shifting
### Description
` * 2` is equivalent to ` / 2` is the same as ` >> 1`. The `MUL` and `DIV` opcodes cost 5 gas, whereas `SHL` and `SHR` only cost 3 gas
*There are 3 instances of this issue:*
https://github.com/code-423n4/2022-05-cally/blob/1849f9ee124340... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Approval Periods Are Implicitly Restricted
### Description
The [`approve` function](https://github.com/OpenZeppelin/stellar-contracts/blob/01dbcb53d3992570dba5faf517a3d0502ebf1254/contracts/token/fungible/src/storage.rs#L139) defined in the `openzeppelin_fungible_token` crate authorizes the spender to spend... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: insertValidatorSet() can insert an invalid validator into valTable
### Description
This might be an impossible situation (still need to confirm this) but `valsync::Keeper::insertValidatorSet()` will insert a validator with an invalid power (negative) or invalid public key, then return an error without remov... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Oracle’s _sanityCheck for prices will not work with slashing
### Description
The `_sanityCheck` is verifying that the new price didn’t change significantly:
**code/contracts/Portal/utils/OracleUtilsLib.sol:L405-L417**
```
uint256 maxPrice = curPrice +
((curPrice \*
self.PERIOD\_PRICE\_INCREASE\_LIMIT \*... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: AMM pool can be drained using a flashloan and calling `stabilize`
### Description
_Submitted by stonesandtrees_
All of the `rewardToken` in a given AMM pool can be removed from the AMM pool and distributed as LP rewards.
#### Proof of Concept
In the `stabilize` method in the `StabilizerNode` the initial ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: GoUnhandledErrorResult
### Description
**Severity**: Low
**Status**: Acknowledged
In some instances, errors are not explicitly checked after function calls, potentially leading to unexpected behavior.
**Files**:
app/tps_counter_test.go: 26, 73
crypto/hd/algorithm_test.go: 75, 77
indexer/kv_indexer.go: 52, ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | access-control | true | false | ## Medium: The same referral code can be set for 2 different addresses.
### Description
**Severity**: Medium
**Status**: Resolved
**Description**
The `setUniqReferralCode()` function allows the `ADMIN_ROLE` to set a specific referral code to an address. There are not checks to ensure that the set code is not alrea... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Duplicates In Investors Array
### Description
## Insurance Program Allocation
The `InsuranceProgram::_allocate` function allows for duplicates in the investors array.
## Solidity Code
## Remediation
Add a `allocatedUnits[_account] == 0` check to distinguish between new and old investors.
### Recommendati... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | overflow | true | false | ## Low: Sqrt function does not work in every case
### Description
The `sqrt` function used in the project fails due to overflow in some cases, making it suboptimal to use.
### Impact
Suboptimal input type support can cause unexpected reverts when trying to do the `sqrt` of some inputs. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: We recommend adding an additional parameter when registering an event
### Description
At the line https://github.com/pie-dao/ExperiPie/blob/facf3c246d9c43f5b1e0bad7dc2b0a9a2a2393c5/contracts/facets/Call/CallFacet.sol#L101 calling the `_call()` function performs any action with any contracts.
However, the `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 | low | other | true | false | ## Low: First value check of argument of type enum in setFee function is missing
### Description
Leaving the enum type argument `Fees` in the setFee function empty and returning the value `0` gives the same result as returning the value `0`, this is a property of the enum type and therefore error-prone.
### Recommend... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Null checks
### Description
Some parameters have no null checks:
- https://github.com/EnsoFinance/shortcuts-contracts/blob/4902e55608f975f73772310955444110b1cfc4fc/contracts/EnsoBeacon.sol#L201
- https://github.com/EnsoFinance/shortcuts-contracts/blob/4902e55608f975f73772310955444110b1cfc4fc/contracts/EnsoBeac... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Refactor mapping to save over 44k gas for new users that stake, 10k gas for recurring users that stake, and 10k gas for users that withdraw
### Description
The `lastRewardTime` nested mapping is only modified in the `claimReward()` function and all asset types for the user are given the same value: `block.time... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | signature | true | false | ## Low: Prefer encodeCall to encodeWithSelector
### Description
The contract performs a low-level static-call to an EIP1271 contract. It is using `abi.encodeWithSelector` to encode the parameters.
### Recommendation
Consider using `abi.encodeCall` as it type-checks that `digest` and `signature` are indeed the correct... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Early ETH Refund Breaks Mixed-Token Payment
### Description
In `LimitOrderManager.algebraMintCallback()` the debts to the pool are paid in order: first `token0`, then `token1`.
When `token0` is not `wNativeToken` but `token1` is, and the user supplies ETH with the call:
1. `_pay(token0, …)` executes the E... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | other | true | false | ## Medium: Manager can retroactively apply new rate to past time, misallocating emissions - Invariant Broken
### Description
The staking system is supposed to [guarantee](https://github.com/sherlock-audit/2025-09-super-dca/blob/main/README.md?plain=1#L53C1-L55C97):
> - Exact increment formula:
> - On any call that t... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | cross-chain | false | false | ## Low: The length of an array is not cached
### Description
In the `pontis-bridge-v1.sol` contract, the `setRunesAndBtcActive()` function loops through all of the provided addresses in the `runes` array. However, the length of the `runes` array is not cached before all request are looped trough. This increases the ga... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Balance check in `executeAdvancedGrant`
### Description
In `executeAdvancedGrant()`: there should be a check that the `BORG_SAFE's` token balance is not less than `_total`, as it's done in other execution methods.
https://github.com/MetaLex-Tech/borg-core/blob/9074503d37cfa1d777ef16f6c88b84c98b4f54eb/src/impla... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect formula for the scaled amplification coefficient in NatSpec comments
### Description
In the context above, the scaled amplification coefficient \( a \) is described by the formula \( A_n(n - 1) \) where \( A \) is the actual amplification coefficient in the stable swap invariant equation for \( n ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | token | false | false | ## Low: Inconsistent Native Transfer Checks in Solv Vault Guardian
### Description
**Update**
Marked as "Acknowledged" by the client. The client provided the following explanation:
> No modifications are necessary. When msg.value is greater than 0 and data.length is also greater than 0, the Native Transfer Authorizat... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [04] Use `_safeMint` instead of `_mint`
### Description
According to openzepplin's ERC721, the use of `_mint` is discouraged, use _safeMint whenever possible.
https://docs.openzeppelin.com/contracts/3.x/api/token/erc721#ERC721-_mint-address-uint256-
### Recommended Mitigation Steps
Use `_safeMint` whenever 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 | other | false | false | ## Low: PubdataSource Does Not Account for Validium Mode
### Description
The `Executor` facet can handle two sources of public data inputs when committing batch information from L2: calldata and EIP\-4844 blobs. This data is expected to be present when the chain operates in `Rollup` mode. However in `Validium` mode, n... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: [FIXED] Typo in several contracts
### Description
In mentioned locations “retrive” in the names of functions should be replaced with “retrieve”.
### Recommendation
We recommend fixing the typo. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `SetRewardsFeeBps` fails to update reward calculations
### Description
The `Staker::setRewardsFeeBps` function updates the fee percentage applied to rewards earned by the `Staker` contract. However, it does not call `_updateRewardIntegral` before modifying the fee. `_updateRewardIntegral` is responsible for... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | liquidation | true | false | ## Medium: `collateralizationRatio` can be set higher than 100% which would result in no positions getting liquidated.
### Description
**Severity**: Medium
**Status**: Resolved
**Description**
The `updateCollateralizationRatio()` within the `VaultFacet.sol` function is used by the owner to change the collateraliza... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Command execution could fail
### Description
The `CommandType` enum was modified with the removal of the `PropagateCashflow` element, which was previously assigned to the value `4`. The change will cause the value of `TransferBetweenMarginAccounts` to be changed from `5` to `4`.
That could cause issues for 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 | medium | front-running | true | false | ## Medium: AddLiquidity and decreaseLiquidity missing slippage protection
### Description
When user mint NFT add liquidity, user can specify two parameter, params.amount0Min and params.amount1Min
// mint the position
(tokenId, liquidity, amount0Minted, amount1Minted) = Base.UNI_POSITION_MANAGER.mint(
INonfungib... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of bounds for fees
### Description
The `op::update` operation allows the contract owner to update the withdrawal, deposit, receipt, and pool fees. However, there is no upper bound on the deposit, withdrawal, or receipt fees amount; therefore, these fees could be set to any value. Additionally, the pool... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: EOPBCTemplate - Keep the template as closely aligned to the audited Company DAO-Template provided by Aragon ✓ Fixed
### Description
The EOPBCTemplate is a simplified variant of the [AragonBlack/FundraisingMultisigTemplate](https://github.com/AragonBlack/fundraising/blob/a51b246507af7b17ec65a9961bff6d9b8e75b7c6... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | other | false | false | ## High: The lender could possibly lose unclaimed rewards in case a bucket goes bankrupt
### Description
When the lender calls `PositionManager.memorializePositions` method the following happens:
1. Records bucket indexes along with its deposit times and lpBalances
2. Transfers LP ownership from the lender to Posit... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Size of created accounts derived from in-memory representation
### Description
When state accounts are initialized, the size of the account is set to `std::mem::size_of::() + 8`, where the eight extra bytes are used for the discriminator. The structs for the state types all have a trailing field with padding, ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Shadow naming
### Description
**Description**
CryptoBearWathcClub.sol, walletOfOwner()
Parameter “_owner” shadows storage variable.
**Recommendation**:
Consider renaming. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unused method is not working as intended
### Description
The method `getLeavesAmount` in `LiquidityTree` will return just the `node` amount and won't consider the amounts in its leaves. Method is not used anywhere, consider removing 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 | medium | liquidation | true | true | ## Medium: MultiAccount `depositAndAllocateForAccount` function doesn't scale the allocated amount correctly, failing to allocate enough funds
### Description
Source: https://github.com/sherlock-audit/2023-08-symmetrical-judging/issues/15
## Found by
panprog, tvdung94, xiaoming90
This is an issue very similar to [... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | storage | false | false | ## Low: Public Function Can Be External
### Description
This issue has been identified in the `getReserves` function of the `ProxyPyth` contract. Currently, it is marked as `public` but is only used externally, not called from within the contract itself. Changing it to `external` allows for slightly more efficient com... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insu�cient validation of application initialization arguments
### Description
Several of the methods involved in creating and setting up Folks Finance applications fail to validate incoming arguments. As a result, important state variables of an application can be set to invalid values, rendering the deployed ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | true | ## Low: `TrustService::removeRole` doesn't delete already owned entities so address which lost role can still manage existing entities
### Description
`TrustService::removeRole` doesn't delete entities so address which lost role can still manage existing entities.
### Proof of Concept
Add PoC to `test/trust-service.t... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | initialization | true | false | ## Low: REDUNDANT ARRAY DEFINITION IN THE CONSTRUCTOR
### Description
The presence of a redundant array definition in the constructor could potentially lead to confusion and misunderstanding, and could also lead to unnecessary code complexity and maintenance costs.
Code Location
-------------
[NativeHandler.sol#L45]... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: liquidateDefaultedLoanWithIncentive sends the collateral to the wrong account
### Description
[liquidateDefaultedLoanWithIncentive](https://github.com/sherlock-audit/2024-04-teller-finance/blob/main/teller-protocol-v2-audit-2024/packages/contracts/contracts/LenderCommitmentForwarder/extensions/LenderCommitmen... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Questionable Unchecked Access of Bounded Vector Elements
### Description
In the `constrain_header_field` function, the following unchecked access in a bounded vector is potentially out of bounds:
**lib/src/headers/mod.nr:L47**
```
assert(header.get_unchecked(end_index + 1) == LF,
```
At this point, we have... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Fee on transfer tokens not supported
### Description
`acceptedTokens` can receive any token as collateral. In fact, not all of them can be used. E.g. fee-on-transfer and rebasable tokens can stuck, as the contract will always receive less balance than provided for transferFrom() with the following problem to 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: CREATE/CREATE2 is not disabled during a delegated EOA call allowing delegated EOA transactions
### Description
(Issue found in commit hash `fc820c9ee9ab310c4fdd5e1888f72164c0b871c8`).
The EIP-7702 spec notes the following:
A related issue is that an EOA's nonce may be incremented more than once per transact... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | storage | true | false | ## High: Lack of contract existence check on low-level calls
### Description
The module contracts use the low-level call, which does not have contract existence checks. If the target contract being called is set to an incorrect address or the address of a contract that was destroyed, the low-level call will still retu... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Dynamic After Swap Fees May Not Work as Intended
### Description
The [`DynamicAfterFee` contract](https://github.com/OpenZeppelin/uniswap-hooks/blob/f051c147dbf296b2b854de92970905a880cd1d51/src/fee/DynamicAfterFee.sol#L28) introduces an after-swap fee, which is [calculated](https://github.com/OpenZeppelin/u... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect comments
### Description
Confusing comments
### Impact
Informational: This affects code readability, interpretability, maintenance, auditability and can even introduce errors as dev working on project may think there needs to be some creation functions in the if, else blocks | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Lack of tests
### Description
There are very few tests for most functionalities.
For example, `Mailbox.sol` (particularly `MailboxFacet`) is a key contract for the L1 bridge, and has 360+ lines of code and a large dependency tree of aggregated thousands of lines of non-library solidity code (specific to 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 | medium | cross-chain | true | false | ## Medium: Bridging from Starknet to Starknet causes mismatch between minted ckrBTC and BTC transferred to MuSig2
### Description
Under normal conditions, a user locks `ckrBTC` on Starknet and receives tokens on another chain, enabling them to use Bitcoin-backed assets in DeFi protocols. But in this attack, the attack... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.