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 | token | true | false | ## Low: Lack of input validation in delegateBySig ✓ Fixed
### Description
ERC20MultiVotes.sol makes use of `ecrecover()` in `delegateBySig` to return the address of the message signer. `ecrecover()` typically returns address(0x0) to indicate an error; however, there’s no zero address check in the function logic. This ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Reduce complexity in modifiers related to governance and strategist ✓ Fixed
### Description
The modifier `onlyGovernance`:
**code/BTC-Plus/contracts/Plus.sol:L101-L104**
```
modifier onlyGovernance() {
\_checkGovernance();
\_;
}
```
Calls the internal function `_checkGovernance`:
**code/BTC-Plus/con... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | storage | false | false | ## High: DELEGATECALL to staking precompile allows theft of all staked MON
### Description
Note: This issue was known internally by the protocol team and fixed in a later commit after the issue had been submitted. However, it is still kept in the report for completeness (issue found in commit hash `4cbb1742cd31ee30a0d... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Hardcoded gas limit for hook in `onSlash` may cause reverts
### Description
**Description:** The `onSlash` function in the `BaseDelegator` contract conditionally invokes a hook via a low-level `call` if a hook address is set:
This call uses a **hardcoded gas limit (`HOOK_GAS_LIMIT`)**, and the function enfor... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Path Traversal
### Description
**Severity**: Medium
**Status**: Acknowledged
**File**: client/cli/flags.go:557
**CWE**: 22
**Details**:
The `ReadProposalFlag` function reads the file contents out of the filesystem, given by the variable propFN, into a `propFileContents` variable. However, this functio... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Malicious actor can inflate the token price
### Description
When trading, the amount of tokens to receive when buying/selling follows the `XY=K` formula and is related to the ratio between the contract's `ETH` reserve and the `token` reserve.
However, `getReserves()` returns the `ETH` **_BALANCE_** of the co... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | true | false | ## Low: The withdraw function can withdraw less than lot
### Description
The `ConduitMover` can be used to move funds between their `AllocatorBuffer` and the conduits in an automated manner. The operations of moving funds are done within some boundaries set by the facilitator; these boundaries are defined within the 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: Missing input validation in privileged functions
### Description
**Description:** Admin functions lack proper parameter validation, which could lead to unintended state changes if incorrect values are provided. While admin users are expected to act correctly, human error remains possible.
**Securitize:** Fix... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Insufficient Input Validation
### Description
The `PuttyV2.fillOrder` function does not validate that the `msg.sender` (order taker) is the same as the order maker, which might potentially lead to unwanted behaviour within the system. Order taker should not be the same as order maker under any circumstances.
... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Use of Rebasing Tokens is Problematic
### Description
**Update**
Marked as "Fixed" by the client. Addressed in: `1383d933b38a856c0d813c7f11c7a7011e8901aa`. The client provided the following explanation:
> A warning added for the end user. https://hinkal-team.gitbook.io/hinkal-protocol/hinkal-protocol/risks
*... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: File allows a version of solidity that is susceptible to `.selector`-related optimizer bug
### Description
In solidity versions prior to 0.8.21, there is a legacy code generation [bug](https://soliditylang.org/blog/2023/07/19/missing-side-effects-on-selector-access-bug/) where if `foo().selector` is called, `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 | gas | storage | false | false | ## Gas: [04] Multiple address mappings can be combined into a single mapping of an address to a struct, where appropriate (5 instances)
### Description
Deployment. Gas Saved: **24 227**
Minimum Method Call. Gas Saved: **254**
Average Method Call. Gas Saved: **533**
Maximum Method Call. Gas Saved: **-6 726**
Overal... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `getDistributionShareOf()` does not need to check that `totalVotingPower` == 0 in `rageQuit()`
### Description
https://github.com/code-423n4/2023-05-party/blob/main/contracts/party/PartyGovernanceNFT.sol#L151-L154
`getDistributionShareOf()` is only used in [`PartyGovernanceNFT.rageQuit()`](https://github.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 | overflow | true | false | ## Low: POTENTIAL OVERFLOW/UNDERFLOW ON THE SEVERAL LOCATIONS
### Description
Integer overflow and underflow might happen in integer operations if the Solidity version is lower than 0.8.0.
Code Location
-------------
[ValidatorSet.sol#L84](https://github.com/coredao-org/core-genesis-contract/blob/audit-halborn/contr... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Strong trust assumptions between validators and node operators
### Description
It is assumed that validators and node operators will always act in the best interest of the group, rather than in their selfish best interest.
It is important to make clear to users that there are strong trust assumptions between ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Revoking Vesting Will Trigger a Taxable Event ✓ Fixed
### Description
From the previous conversations with the Hedgey team, we identified that users should be in control of when taxable events happen. For that reason, one could redeem a plan in the past. Unfortunately, the recipient of the vesting plan can not... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | token | false | false | ## Low: Incompatibility with Non-Standard Tokens
### Description
**Update**
The client acknowledged the issue with the following explanation:
> "Not a problem."
**Description:** In general, the protocol has minor limits on what the token can be supported to interact:
* The protocol does not support token charging ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | cyfrin_structured | low | token | true | false | ## Low: Unsafe use of `transfer()/transferFrom()` with `IERC20` | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | true | false | ## Low: Missing storage `__gap` in `Voter` which is upgradeable contract
### Description
_Resolved_
The `Voter` contract inherits from multiple OpenZeppelin upgradeable contracts but lacks a storage gap (`uint256[50] private __gap;`) to reserve slots for future upgrades, potentially causing storage layout conflicts.
... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Increased deployment cost due to extended error messages
### Description
**Description**
A significant concern has been identified during the audit, specifically related to the extensive use of detailed error messages within the smart contracts. While these detailed error messages offer valuable insights, 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 | other | false | false | ## Medium: Applying Comparison to Raw Signed Integers Causes Unexpected Results
### Description
The [`_secureExecution` function](https://github.com/forta-network/forta-firewall-contracts/blob/09feff1d712011470d49d54f2462e3204c11afaf/src/Firewall.sol#L179-L197) in the `Firewall` contract has a vulnerability that arise... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: not able to create claim
### Description
If admin revoked any recipient’s claim, admin can not create claim for the same recipient because `startTimestamp` is not updated to initial value on revoke claim.
There will be a need to create a claim again for any reason like: 1) mistakenly revoked claim, 2) wrong... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Any address can be passed as a VotingModule, which could lead to abuse
### Description
In `OptimismGovernorV5.sol`, the `proposeWithModule()` function has the following signature:
This allows the caller to input a `VotingModule` address, and that module will be used to:
- set up the proposal (`module.pro... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | gas | oracle | true | false | ## Gas: Using immutable on variables that are only set in the constructor and never after (Save 14.7K Gas)
### Description
Use immutable if you want to assign a permanent value at construction. Use constants if you already know the permanent value. Both get directly embedded in bytecode, saving SLOAD.
**Note: These 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 | medium | other | true | false | ## Medium: Require function can't throw exceptions in UnmarshalTokenVesting
### Description
**Description**
Function _addDistribution is internal. All distributions are declared when deploying the
contract including tokens allotment and beneficiary address, so require can’t throw exceptions
for _tokensAllotment > 0 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 | high | other | false | false | ## High: Non-Standard RLP Encoding of Integer Zero
### Description
In the `L1MessageQueue`, the [`computeTransactionHash` function](https://github.com/scroll-tech/scroll/blob/3bc8a3f5c6ac816ddffadca41024331dcf4d3064/contracts/src/L1/rollup/L1MessageQueue.sol#L109) implements the [EIP-2718](https://eips.ethereum.org/EI... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: BROKEN ACCESS CONTROL ON KYC VERIFICATION
### Description
It has been observed that following endpoints did not check if `Known Your Customer` (KYC) status was approved yet:
* /api/v1/contacts
* /api/v1/beneficiary
* /api/v1/invoices
* /api/v1/otp
KYC is a critical regulatory requirement for financial insti... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | true | false | ## Medium: Honest party's move could become invalid when re-org takes place
### Description
### Impact
When block re-org takes place, honest party's move could become invalid. A similar issue has been [raised](https://github.com/sherlock-audit/2024-02-optimism-2024-judging/issues/201) earlier, and this report shows 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 | other | true | false | ## Low: Incomplete Query Contract Functionality
### Description
## MultiTroveGetter Functionality Overview
In `MultiTroveGetter`, the `get_multiple_sorted_troves` function is currently non-functional because its implementation is commented out and incomplete. This function is intended to retrieve multiple troves from... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unnecessary uint non-negativity checks.
### Description
**Description**
The checks below don't make sense for the $>=0$ comparison, as how the variables being tested are of type uint - which is unsigned and has a minimum value of 0.
- require(bool, string)(_earlyClaimAvailablePer >= 0 && _earlyClaimAvailable... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 state variables
### Description
Consider removing any unusued state variable to improve the readability of the codebase.
*There are 2 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 | true | false | ## Medium: Taking down the websocket server via malicious "methods" object override
### Description
Hey team, | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | reentrancy | false | false | ## Low: Missing `nonReentrant` modifier on `GMTokenManager` mint/redeem
### Description
**Description:** The [`GMTokenManager::mintWithAttestation`](https://github.com/ondoprotocol/rwa-internal/blob/a74d03f4a71bd9cac09e8223377b47f7d64ca8d4/contracts/globalMarkets/tokenManager/GMTokenManager.sol#L170-L175) and [`GMToke... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | signature | false | false | ## Medium: Signed swap digest lacks a domain separator
### Description
Both `UniswapV4KEMHook` and `PancakeSwapInfinityKEMHook` rebuild a quote digest by hashing:
```
keccak256(
abi.encode(
sender,
key,
params.zeroForOne,
maxAmountIn,
maxExchangeRate,
exchangeRateDenom,
nonce,
expiryTime
)
);
```
... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [15] A borrower can remove their escrow address via `removeSanctionOverride()`
### Description
### Proof of Concept
Take a look at https://github.com/code-423n4/2024-08-wildcat/blob/fe746cc0fbedc4447a981a50e6ba4c95f98b9fe1/src/WildcatSanctionsSentinel.sol#L104-L107
This function is used to remove the sancti... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: LevelDB prone to panic from poor construction
### Description
LevelDB’s internal iterator object is prone to panics if it is improperly constructed. For developers creating their chains off of Avalanche, this may produce undefined behavior or affect availability.
For example, with the following test, the red-... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `AuctionBurnReserveSkew.getPegDeltaFrequency()` Wrong implementation can result in an improper amount of excess Liquidity Extension balance to be used at the end of an auction
### Description
_Submitted by WatchPug_
When `count I actually think this should be higher severity. This bug could manifest in liq... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: Audit Report for SDLPool.sol - Scalability Concern
### Description
This report highlights a potential scalability issue in the `SDLPool.sol` smart contract, specifically within the `getLockIdsByOwner` function. The current storage and retrieval method for lock IDs will become increasingly expensive over time.
... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | high | oracle | false | false | ## High: `referrer` and `service` can receive less rewards than expected in some cases
### Description
There is an issue at line https://github.com/p2p-org/eth-staking-fee-distributor-contracts/blob/30a7ff78e8285f2eae4ae552efb390aa4453a083/contracts/feeDistributor/OracleFeeDistributor.sol#L107.
If a user provided a me... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | initialization | true | false | ## Low: `IBeforeInitializeHook` should be added to the `AngstromL2` inheritance chain
### Description
`AngstromL2.sol` imports the `IBeforeInitializeHook` interface; however, it is not currently used. Given that `AngstromL2` is expected to implement this hook, it should be added to the inheritance chain:
```diff
cont... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Usage of magic constants
### Description
The total number of phases in the TokenDistribution is repeated as a [magic constant](https://en.wikipedia.org/wiki/Magic_number_%28programming%29) throughout the contract code, in [L142](https://github.com/unikoingold/UnikoinGold-UKG-Contract/blob/8b38f30039c2d13383c41... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Stale Oracle Price Data Not Checked Before Token Operations May Drain Assets From Protocol
### Description
**Update**
Marked as "Fixed" by the client. Addressed in: `5f55a01c23fde5764bbef05ca11593c430df854c`.
**Further Update** Additional fixes applied in `b3dc7e4233ce5818d9f01bc73ba72ed047b04659` and `e9a... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 price is used without checking validity
### Description
**Severity:** Medium
**Context:** [`Helper.sol#L75-L78`](https://github.com/getmetafinance/meta/blob/00bbac1613fa69e4c180ff53515451df4df9f69e/contracts/musd/Helper.sol#L75-L78)
**Description:**
The Meta protocol relies on a Chainlink price ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 Validation for valid\_till\_block\_height on FastBridge Service
### Description
**Description:**
The FastBridge Service, which is responsible for managing transfers between the NEAR and Ethereum networks, does not validate the valid\_till\_block\_height parameter. This parameter is used to set 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 | initialization | false | false | ## Low: Using .call for init is not flexible
### Description
When [deploying another `ACOToken`](https://github.com/AuctusProject/aco/blob/36bcab024c9781d799381f8f973e99fd5b0f4d2d/smart-contracts/contracts/core/ACOFactory.sol#L235) using `ACOFactory.sol`, after [a minimal proxy is deployed](https://github.com/AuctusPr... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unchecked Return Values
### Description
**Update**
Marked as "Fixed" by the client. Addressed in: `0eba6e898e746410c818b8f702c2ae0eb17d0ce4`. The client provided the following explanation:
> OpenZeppelin SafeERC20 library for all transfers used.
**File(s) affected:**`PublicSaleINTX.sol`, `StakedINTX.sol`, `V... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | cyfrin_structured | low | other | false | false | ## Low: Blacklisted users can claim withdrawn assets after the cooldown period
### Description
`StakingVault::_update` uses modifiers `notBlacklisted(from) notBlacklisted(to)` to prevent blacklisted users from performing most actions.
But `StakingVault::claimWithdraw` does not use the `notBlacklisted` modifier. Hence... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Suboptimal ordering of operations and conditional logic in loop
### Description
The conditional logic and related operations are suboptimally ordered, leading to excessive stack operations and jumps. This effect is multiplied due to the fact the logic is contained in a loop.
### Recommendation
```solidity
if ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | signature | true | false | ## Medium: `mockRequestRandom()` Can Bypass `Single-Processing` Invariant and Generate Multiple Results for the Same Logical Request (Event-Level Replay)
### Description
The `mockRequestRandom()` bypasses the “single-processing” invariant enforced on the real VRF path. It never checks or sets `processedRequests`, and ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | other | false | false | ## Medium: Blocklisted address can be used to lock the option token minter's fund
### Description
Blocklisted address can be used to lock the option token minter's fund
### Impact
Blocklisted receiver address can be used to lock the option token minter's fund
### Recommendation
Valid that receiver is not blacklisted... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: OmoVault/OmoRouter: no way to remove whitelist restriction
### Description
Right now, the `onlyWhitelisted` modifier only allows approved addresses to call vault functions. The documentation says that the whitelist system will be removed in the future, but there is no functionality to do this in the code. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | oracle | false | false | ## Low: Ambiguity in Debug Functions debug\_ClearSynthState and debug\_ClearChefState
### Description
In the `OracleStateSpotter` contract, two functions named `debug_ClearSynthState` and `debug_ClearChefState` are included with the purpose of clearing state information for synth and chef states, respectively. These 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 | false | false | ## High: Improper Conversion Of Units In Swap
### Description
## MathHelper Library Vulnerability
In the MathHelper Library, `swap` returns to base and quote amounts in which the quote was converted into an integer twice. For example, `toInt` was applied on `quoteSwappedX18` twice in the function, dividing the actual... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: [08] `PermissionManager.applyMultiTargetPermissions` FUNCTION ALREADY COVERS USE CASES OF `PermissionManager.applySingleTargetPermissions` FUNCTION
### Description
Calling the following `PermissionManager.applySingleTargetPermissions` function can grant or revoke the permission for `item.who` on a single `_whe... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | dos | false | false | ## Low: Hard-coded slippage in `pUSDeDepositor::deposit_viaSwap` can lead to denial of service
### Description
**Description:** [Hard-coded slippage](https://dacian.me/defi-slippage-attacks#heading-hard-coded-slippage-may-freeze-user-funds) in `pUSDeDepositor::deposit_viaSwap` can lead to denial of service and in dram... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Anyone can withdraw user's Velo Deposit NFT after approval is given to depositor
### Description
`Depositor#withdrawFromGauge` is a public function that can be called by anyone which transfers token to `msg.sender`. `withdrawFromGauge` burns the NFT to be withdrawn, which means that `Depositor` must either be... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect allocation calculation for ids corresponding to coarser set of routes
### Description
IDs returned by `ids` function of `MetaMorphoAdapter` and `MorphoBlueAdapter` adapters have the following shared property that:
```
ids_[0] = keccak256(abi.encode("adapter", address(this)));
```
And therefore in 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 | other | true | false | ## Low: The function deployAndCall may silently fail during account creation
### Description
## Severity: Low
## Context:
1. **AccountFactory.sol#L23**
2. **DeployAndCall.sol#L17**
The function `deployAndCall` relies on `AccountFactory.deployAccount` to create a new account and return its address. This function curr... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Public functions not called within the contract can be made external
### Description
The `Sign.sol` contract currently defines the `getTraceId()` and `isWalletTypeSupported()` functions with `public` visibility, even though they are not called from within the smart contract, resulting in higher gas costs than ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: withdrawMultiple() not indicating failed withdrawals can be problematic for calling con- tracts
### Description
The `withdrawMultiple()` function does not return the status of each individual `withdraw()` to the caller; it only emits an event. Therefore, the calling contract does not know if there are any fail... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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: Incorrect function documentation
### Description
The `SegregatedVault::addAggregator` function contains incorrect documentation that mentions "Operators" instead of "Aggregators" in both the function description and parameter documentation. The comment states "Operators can deposit and redeem. Emits Aggregator... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | dos | false | false | ## Medium: Griefing Attacks on the Relayers
### Description
**Update**
Marked as "Acknowledged" by the client. The client provided the following explanation:
> This is desired behavior - user should be free to do after/pre hooks.
**File(s) affected:**`Hinkal.sol`
**Description:** Relayer fees are calculated by 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 | medium | access-control | true | false | ## Medium: The state variable `BondToken.globalPool` is updated incorrectly via `Pool.startAuction()`
### Description
When an auction starts, the `globalPool` state variable of `BondToken` is updated incorrectly. This leads to the wrong calculation of coupon tokens that bondholders can claim.
### Impact
The calculati... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Bypassing Output Token Account Check
### Description
## Current Implementation of `swap_introspection_checks`
The current implementation of `swap_introspection_checks` relies on the assumption that the `output_group_token_account` should be explicitly listed within the accounts list of either the `PreSwap` o... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | cross-chain | false | false | ## Medium: Incorrect accounting on transfer-on-fee/deflationary tokens in `Gravity`
### Description
_Submitted by shw_
#### Impact
The `sendToCosmos` function of `Gravity` transfers `_amount` of `_tokenContract` from the sender using the function `transferFrom`. If the transferred token is a transfer-on-fee/deflation... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Pair creation can be denied
### Description
_Submitted by cmichel, also found by harleythedog, UncleGrandpa925, and WatchPug_
The `LaunchEvent.createPair` requires that no previous pool was created for the `WAVAX <> _token` pair.
A griefer can create a pool for the `WAVAX <> _token` pair by calling [`Joe... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `SecuritizeAmmNavProvider` virtual reserve rounding erosion can lead to denial of service
### Description
**Description:** The virtual AMM's constant-product math erodes `k` through integer division truncation on every trade:
Each trade can lose up to `(denominator - 1)` from k. Over many trades, `baseReserv... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Missing storage gap in `AbstractERC721Multiplier` can lead to upgrade storage slot collision
### Description
**Description:** [`AbstractERC721Multiplier`](https://github.com/dexe-network/DeXe-Protocol/tree/f2fe12eeac0c4c63ac39670912640dc91d94bda5/contracts/gov/ERC721/multipliers/AbstractERC721Multiplier.sol) i... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | storage | false | false | ## Low: No way to get ETH out of proxy
### Description
The proxy pattern used implements a `receive() payable` method (can be seen [here](https://github.com/Vectorized/solady/blob/2cfa231273fea6872c7cb70acfa134d2199aa7ea/src/utils/LibClone.sol#L337-L349)), but there is no way to get the received ETH out of the proxy, ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Incorrect rounding of rate in favor of users when they buy DS Tokens
### Description
**Description:** Consider this line in `Helper::normalizeRate` which always rounds down:
`Helper::normalizeRate` is called by `RedStoneNavProvider::rate`, which is called by both `SecuritizeOnRamp.sol` and `SecuritizeOffRamp... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | access-control | true | true | ## Medium: Combination of Ownable and AccessControl can cause loss of admin functionality
### Description
`BasisTradeTailor` and `BasisTradeVault` mix `Ownable(2Step)Upgradeable` with `AccessControlUpgradeable`. Several admin wrappers are `onlyOwner` but internally call `grantRole` / `revokeRole`, which themselves req... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Claiming rewards from a future not yet existing epoch prevents claiming rewards for those epochs later on
### Description
If a user claims rewards for a future epoch, all epochs are marked as claimed up until that future epoch. This prevents the user from claiming rewards for those epochs later, leading 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 | dos | false | false | ## Low: Missing Input Validations
### Description
**Update**
Marked as "Fixed" by the client. Addressed in: `246f74ed50c8aae7e6e38129da5ddc74c295c5c1`.
**File(s) affected:**`contracts-v3/LibFeeRouter.sol, contracts-v3/LibAdmin.sol, contracts-v3/LibMarket.sol, contracts-v3/LibEntity.sol, contracts-v3/LibTokenizedVault... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Require statements without reasons
### Description
**Severity**: Informational
**Status**: Resolved
**Description**
In Contract DevvE.sol, the method multiTransfer(...) has requirement statements without any reason string.
**Recommendation**:
It is advised to add reason to the `require` statements. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | liquidation | true | false | ## Low: Insolvent tick loans can impact future solvent ticks
### Description
If a loan from an insolvent node is repaid once the node becomes solvent again, then accounting goes wrong. The scenario described below is highly unlikely but illustrates the issue that occurs when a loan is repaid at the incorrect time:
1.... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | initialization | true | false | ## Low: Pyth Deployment DOS
### Description
## Vulnerability Analysis
## Issue Overview
Similar to the issue we found in Wormhole, during the initialization of the `pyth` module, it attempts to register an `AptosCoin` account in order to be able to receive fees:
However, `coin::register` is a one-time operation. I... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | false | false | ## Low: Unused Interface Declaration
### Description
The interface type `RPCRequest` is declared but not referenced in the codebase.
### Recommendation
```
async ({ request } : RPCRequest ) => {
``` | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Vault rewards distribution fails without `ODefaultStakerRewards`
### Description
In the `_distributeRewardsPerVault` function of the `ODefaultOperatorRewards` contract, the logic assumes that all vaults listed in `operatorVaults` have corresponding staker reward contracts set in the `vaultToStakerRewardsContra... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `require()` should be used instead of `assert()`
### Description
[FlywheelGaugeRewards.sol#L196](https://github.com/fei-protocol/flywheel-v2/tree/77bfadf388db25cf5917d39cd9c0ad920f404aad/src/rewards/FlywheelGaugeRewards.sol#L196)
[FlywheelGaugeRewards.sol#L235](https://github.com/fei-protocol/flywheel-v2/tre... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 | true | ## Medium: Proposal threshold can be bypassed through the proposeBySigs() function
### Description
The function `proposeBySigs()` allows users to delegate their voting power to a proposer through signatures so the proposer can create a proposal. The only condition is that the sum of the signers voting power should be ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Dust when depositing AToken in the vault
### Description
Regular users may encounter difficulties when attempting to deposit their entire AToken balance.
The deposit functions in `ERC4626StataTokenUpgradeable` transfer an exact amount of ATokens from the user, as specified in the `assets` argument:
```
functi... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\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 | storage | true | true |
Report type: Blockchain/DLT
Target: https://github.com/shardeum/shardus-core/tree/dev
Impacts:
* Network not being able to confirm new transactions (total network shutdown)
* RPC API crash affecting projects with greater than or equal to 25% of the market capitalization on top of the respective layer
## Descrip... | Immunefi | 5 | Shardeum: Core |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | overflow | true | false | ## Low: No need for Safe Math costly computation
### Description
**Severity**: Informational
**Status**: Acknowledged
**Description**
Vester.sol/VesterNLP.sol & VestingSchedule.sol - Methods: _mintPair, _burnPair, _mint, _burn, some arithmetic operations are checked unnecessarily as the conditions for it to pass wi... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | oracle | false | false | ## Medium: Multiple strategies sharing the same asset
### Description
**Severity**
**Impact:** High
**Likelihood:** Low
**Description**
AdapterVault design assumes that each strategy has a unique asset (e.g. PT token). Otherwise, key accounting functions would return overinflated values.
E.g. _totalAssetsNoCache... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Unreachable code in Wallet.maybeWrapToken
### Description
The [second conditional expression](https://github.com/futureswap/fs_core/blob/96255fc4a550a5f34681c117b5969b848d07b3a3/contracts/wallet/Wallet.sol#L111) in the `Wallet.maybeWrapToken` function will always be `false` unless the `_publicTokenAddress` 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 | medium | access-control | true | false | ## Medium: Lack of permission check allows unauthorized updates to `lastPoolUpdateRun`
### Description
**Description:** To apply the weight changes calculated by the rules, any user can call [`UpdateWeightRunner::performUpdate`](https://github.com/QuantAMMProtocol/QuantAMM-V1/blob/7213401491f6a8fd1fcc1cf4763b15b5da355... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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 residual issue in ambientSwap function
### Description
**Severity**: Medium
**Status**: Resolved
**Location**: TeaVaultAmbient.sol
**Description**:
The ambientSwap function in TeaVaultAmbient.sol approves a token amount of _maxPaidAmount to the ambientSwapDex but does not clear the residual al... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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-4 It’s possible to dilute rewards per second in Gauge and Internal bribes
### Description
**Description:**
The function `notifyRewardAmount()` is called to distribute new rewards to a gauge or an
internal bribe. In particular, it increases the duration over which the rewards have to be
distributed ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: < Instead Of <=
### Description
**Severity** - Low
**Status** - Resolved
**Description**
According to vaultka docs when depositing (USDC deposits), if the deposit size is less than 5% ( < 5%) then the most underweighted pool is minted . But inside GlmRouter.sol’s requestDeposit() function (L309) the compari... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: `getCollateral` and `getAsset` functions of the AssetTotsDaiLeverageExecutor contract decode data incorrectly
### Description
See vulnerability detail
### Impact
`getCollateral` and `getAsset` of AssetTotsDaiLeverageExecutor will not work as intended due to incorrectly decoding data.
### Recommendation
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 | medium | token | false | false | ## Medium: ERC20 bridging functions do not revert on non-zero msg.value
### Description
_Submitted by hyh, also found by danb, kirk-baird, and pmerkleplant_
Any native funds mistakenly sent along with plain ERC20 bridging calls will be lost. AnyswapFacet, CBridgeFacet, HopFacet and NXTPFacet have this issue.
For 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... | skyward_49k | low | other | false | false | ## Low: No parameter redundancy checks
### Description
Certain setters in the `AlgebraCommunityVault` and `AlgebraPool` contracts are missing checks to ensure that the incoming parameter value isn't identical to the existing one. Specific instances include:
https://github.com/cryptoalgebra/Algebra/blob/6c22b64977e0b02... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: An alternative entry point with a separated but vulnerable implementation allows to bypass the consensus system and modify account data
### Description
2 routes listen to "sync trie hash" requests: the `Binary` route and the `Internal` route.
```
┌───────────────────────┐
│Gossip "sync trie hash"│
└┬────... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | low | other | true | false | ## Low: Storing Value During Mix
### Description
## Issue Overview
During `mix` in `capy_labs.move`, `last_epoch_mixed` is invoked twice for every `SuiFren`. Consider storing the value of `last_epoch_mixed(sf1)` and `last_epoch_mixed(sf2)`.
## Affected Code
## Remediation
Store the value of `last_epoch_mixed` and... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | skyward_49k | medium | other | false | false | ## Medium: REDACTED
### Description
## Issue Resolution
The issue was identified by **Spearbit**, resolved by **Pendle**, and verified as resolved by **Spearbit**. | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Owner is able to withdraw staking token.
### Description
**Description**
MultiFee Distribution.sol: recoverERC20().
The owner can directly access users' funds and withdraw their tokens anytime since the owner can't recover only reward tokens. As a result, in the case of the private key exploit (of an owner ... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: The staking contracts contain several artifacts of a quickly-changing codebase ✓ Fixed
### Description
#### Resolution
These issues were addressed in a variety of fixes, most notably [0xProject/0x-monorepo#2262](https://github.com/0xProject/0x-monorepo/pull/2262).
#### Examples
1. `address payable` is us... | 0 | ||
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each finding, output a structured block:\nFINDING | contract: <name> | function: <name> | bug_class: <CWE/category> | confidence: <0-100>\n\nThen provide:\n- desc... | solodit_api | high | Business Logic | false | false | ## Handle
cmichel
## Vulnerability details
The `ERC20Rewards._updateRewardsPerToken` function exits without updating `rewardsPerToken_.lastUpdated` if `totalSupply` is zero, i.e., if there are no tokens initially.
This leads to an error if there is an active rewards period but not tokens have been minted yet.
**E... | Code4rena | 5 | Yield |
[
{
"role": "system",
"content": "You are an expert smart contract security auditor. Analyze the provided Solidity code for vulnerabilities.\n\nFor each 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: Potential revenue loss due to fee calculation method
### Description
_Resolved_
The current fee calculation in the `Marketplace` contract uses a straightforward truncation method when determining the `fee` amount from a listing price.
This can lead to rounding down and result in a loss of revenue for 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 | medium | initialization | true | false | ## Medium: Corruptible Upgradability Pattern
### Description
Storage of Boosted3TokenAuraVault and MetaStable2TokenAuraVault vaults might be corrupted during an upgrade.
### Impact
Storage of Boosted3TokenAuraVault and MetaStable2TokenAuraVault vaults might be corrupted during upgrading, thus causing the vaults to be... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.