Datasets:
id stringlengths 75 75 | schema_version int32 2 2 | source stringclasses 2
values | detector stringclasses 87
values | category stringclasses 9
values | severity stringclasses 5
values | confidence stringclasses 2
values | contract stringlengths 1 68 ⌀ | function stringlengths 1 83 ⌀ | symbol stringlengths 1 97 ⌀ | title stringclasses 74
values | message stringlengths 52 62.2k | snippet stringlengths 29 1.18k ⌀ | pragma stringclasses 121
values | solc_version_min stringclasses 59
values | has_unchecked_near_lines bool 2
classes | legacy_ids listlengths 0 18 | label dict | raw_json stringlengths 123 421 | provenances listlengths 1 11 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
finding-v1-000482d5ad75914db3b33962a262043e4f8cd13b96d1f32eaaf1721662be881c | 2 | slither | reentrancy-benign | Reentrancy | Low | Medium | TestProposals | testProposeSameBallotNameMultipleTimesAndForOpenBallot | testProposeSameBallotNameMultipleTimesAndForOpenBallot | reentrancy-benign | Reentrancy in TestProposals.testProposeSameBallotNameMultipleTimesAndForOpenBallot() (src/dao/tests/Proposals.t.sol#126-167):
External calls:
- vm.startPrank(DEPLOYER) (src/dao/tests/Proposals.t.sol#128)
- staking.stakeSALT(1000000000000000000000000) (src/dao/tests/Proposals.t.sol#129)
- proposals.proposeParameterB... | // A unit test that tries to propose the same parameter ballot multiple times. This should test the requirement check in the _possiblyCreateProposal function.
function testProposeSameBallotNameMultipleTimesAndForOpenBallot() public {
// Using address alice for initial proposal
vm.startPrank(DEPLOYER);... | =0.8.22 | 0.8.22 | false | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"reentrancy-benign","confidence":"Medium","element_count":27,"element_name":"testProposeSameBallotNameMultipleTimesAndForOpenBallot","element_type":"function","impact":"Low"} | [
{
"project_id": "2024-01-salty_dc1494fae1",
"project_name": "code_423n4_2024_01_salty",
"project_path": "/Users/tuananhnguyen/Documents/Uni/thesis/hcmus-capstone--project/packages/scraper/sources/token_contract/code4rena/reports_2024_03_revert_lend/linked_repos/code_423n4_2024_01_salty",
"topic": "t... |
finding-v1-0004fc6469a7d957822b41ca619e6b74b99c3bc7fad6fd925da65831369296ba | 2 | slither | assembly | Other | Info | High | ERC6909 | approve | approve | assembly | ERC6909.approve(address,uint256,uint256) (src/tokens/ERC6909.sol#291-312) uses assembly
- INLINE ASM (src/tokens/ERC6909.sol#298-310) | null | null | null | null | [
"slither-06df0cea0538"
] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"address":null,"check":"assembly","confidence":"High","element_count":2,"element_name":"approve","element_type":"function","impact":"Informational","report_file":null,"sourceMap":null,"swc-id":null,"title":null} | [
{
"project_id": "sources_token_contract_code4rena_reports_2024_07_karak_linked_repos_vectorized_solady_98d8f3468d",
"project_name": "sources/token_contract/code4rena/reports_2024_07_karak/linked_repos/vectorized_solady",
"project_path": "/Users/tuananhnguyen/Documents/Uni/thesis/hcmus-capstone--project/... |
finding-v1-00055b217348f0bbf13438572252fb6c5d08cfd4a007651eebfedf75d6f27da9 | 2 | slither | unindexed-event-address | Other | Info | High | null | null | null | unindexed-event-address | Event AnyCallV7Upgradeable.SetExecutor(address) (contracts/anycall/v7/AnycallV7Upgradeable.sol#92) has address parameters but no indexed parameters | null | null | null | null | [
"slither-53a89640db5c-dup28"
] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"unindexed-event-address","confidence":"High","element_count":0,"element_name":null,"element_type":null,"impact":"Informational"} | [
{
"project_id": "multichain-smart-contracts_0d2ade25be",
"project_name": "anyswap_multichain_smart_contracts",
"project_path": "/Users/tuananhnguyen/Documents/Uni/thesis/hcmus-capstone--project/packages/scraper/sources/token_contract/code4rena/reports_2023_05_maia/linked_repos/anyswap_multichain_smart_c... |
finding-v1-0005767e73e7ca7d45aea4ee8ac5af3891d131a2fc1cf8336b1b94c1bbd1ad4e | 2 | slither | reentrancy-balance | Reentrancy | High | Medium | ERC20VestableVotesUpgradeableV1Tests | testVestingScheduleFuzzing | testVestingScheduleFuzzing | reentrancy-balance | Reentrancy in ERC20VestableVotesUpgradeableV1Tests.testVestingScheduleFuzzing(uint24,uint32,uint8,uint8,uint256,uint256,uint256) (contracts/test/components/ERC20VestableVotesUpgradeable.1.t.sol#1289-1399):
External call allowing reentrancy:
- vm.warp(releaseAt) (contracts/test/components/ERC20VestableVotesUpgradeable... | vm.stopPrank();
}
function testVestingScheduleFuzzing(
uint24 periodDuration,
uint32 lockDuration,
uint8 cliffPeriodCount,
uint8 vestingPeriodCount,
uint256 amount,
uint256 releaseAt,
uint256 revokeAt
) public {
vm.warp(0);
if ... | 0.8.34 | 0.8.34 | false | [
"slither-bb43736ddbff-dup51"
] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"address":null,"check":"reentrancy-balance","confidence":"Medium","element_count":4,"element_name":"testVestingScheduleFuzzing","element_type":"function","impact":"High","report_file":null,"sourceMap":null,"swc-id":null,"title":null} | [
{
"project_id": "liquid_collective_liquid_collective_protocol_6766e52720",
"project_name": "liquid_collective_liquid_collective_protocol",
"project_path": "/home/yuran1811/@repo/hcmus-capstone--project/packages/scraper/sources/liquid_staking/github_projects/liquid_collective_liquid_collective_protocol",... |
finding-v1-00075443131ad8e97f944c5f5cb5b16558c8d44b388261a7331ca47a0096ae3b | 2 | slither | reentrancy-benign | Reentrancy | Low | Medium | OperatorsRegistryV1AllocationCorrectnessTests | testSequentialAllocationsReturnCorrectKeyOffsets | testSequentialAllocationsReturnCorrectKeyOffsets | reentrancy-benign | Reentrancy in OperatorsRegistryV1AllocationCorrectnessTests.testSequentialAllocationsReturnCorrectKeyOffsets() (contracts/test/OperatorsRegistry.1.t.sol#5338-5375):
External calls:
- _setupOperators(2,10) (contracts/test/OperatorsRegistry.1.t.sol#5339)
- vm.store(implem,VERSION_SLOT,0) (contracts/test/utils/LibImpl... | /// @notice Two sequential allocations to the same operator. The second allocation must
/// return keys starting from where the first left off (funded offset).
function testSequentialAllocationsReturnCorrectKeyOffsets() external {
_setupOperators(2, 10);
// First allocation: 3 from ... | 0.8.34 | 0.8.34 | false | [
"slither-84b928b6109a-dup12"
] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"address":null,"check":"reentrancy-benign","confidence":"Medium","element_count":67,"element_name":"testSequentialAllocationsReturnCorrectKeyOffsets","element_type":"function","impact":"Low","report_file":null,"sourceMap":null,"swc-id":null,"title":null} | [
{
"project_id": "liquid_collective_liquid_collective_protocol_6766e52720",
"project_name": "liquid_collective_liquid_collective_protocol",
"project_path": "/home/yuran1811/@repo/hcmus-capstone--project/packages/scraper/sources/liquid_staking/github_projects/liquid_collective_liquid_collective_protocol",... |
finding-v1-0008288db04bec47290075756ae603242579b5f7e20c928ef8c5f91b161f5c6c | 2 | slither | missing-inheritance | Other | Info | High | null | null | MultichainV7ERC20WithUnderlying | missing-inheritance | MultichainV7ERC20WithUnderlying (contracts/anytoken/MultichainV7ERC20.sol#153-197) should inherit from IUnderlying (contracts/router/interfaces/IUnderlying.sol#5-11) | null | null | null | null | [
"slither-22a6d15095c2"
] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"address":null,"check":"missing-inheritance","confidence":"High","element_count":2,"element_name":"MultichainV7ERC20WithUnderlying","element_type":"contract","impact":"Informational","report_file":null,"sourceMap":null,"swc-id":null,"title":null} | [
{
"project_id": "sources_token_contract_code4rena_reports_2023_05_maia_linked_repos_anyswap_multichain_smart_contracts_2f28d30a50",
"project_name": "sources/token_contract/code4rena/reports_2023_05_maia/linked_repos/anyswap_multichain_smart_contracts",
"project_path": "/Users/tuananhnguyen/Documents/Uni... |
finding-v1-0009f25063407f5fc20ef2e5d25ac49b7e5d7e0a695b42009168f35f5b5d243b | 2 | slither | solc-version | Code Quality & Shadowing | Info | High | null | null | >=0.6.2<0.8.0 | solc-version | Version constraint >=0.6.2<0.8.0 is too complex.
It is used by:
- >=0.6.2<0.8.0 (node_modules/@openzeppelin/contracts-v0.7/utils/Address.sol#3) | // SPDX-License-Identifier: MIT
pragma solidity >=0.6.2 <0.8.0;
/**
* @dev Collection of functions related to the address type | >=0.6.2 <0.8.0 | 0.6.2 | false | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"solc-version","confidence":"High","element_count":1,"element_name":">=0.6.2<0.8.0","element_type":"pragma","impact":"Informational"} | [
{
"project_id": "protocol_7f447f5703",
"project_name": "reserve_protocol_protocol",
"project_path": "/Users/tuananhnguyen/Documents/Uni/thesis/hcmus-capstone--project/packages/scraper/sources/token_contract/code4rena/reports_2023_07_reserve/linked_repos/reserve_protocol_protocol",
"topic": "token-co... |
finding-v1-000b7d74adc9f30cf4228a1563f9ccfa240cea85bdf26a9b659f681315dc008c | 2 | slither | calls-loop | Other | Low | Medium | FundingAave | _debtBalance | _debtBalance | calls-loop | FundingAave._debtBalance(IERC20) (src/FundingAave.sol#231-241) has external calls inside a loop: (None,None,None,None,None,None,None,None,None,None,variableDebtToken,None,None,None,None) = pool.getReserveData(address(debtToken)) (src/FundingAave.sol#235-237)
Calls stack containing the loop:
FundingAave.nav(IOracleCa... | uint256 value = debtBalance_.mulDivUp(price, ORACLE_PRICE_SCALE);
totalDebtValue += value;
}
}
}
// Return NAV = collateral - debt (floor at 0)
if (totalCollateralValue <= totalDebtValue) return 0;
unchecked {
... | 0.8.28 | 0.8.28 | true | [
"slither-d32333d1a8b8-dup3"
] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"address":null,"check":"calls-loop","confidence":"Medium","element_count":2,"element_name":"_debtBalance","element_type":"function","impact":"Low","report_file":null,"sourceMap":null,"swc-id":null,"title":null} | [
{
"project_id": "steakhouse_financial_box_abe563d08a",
"project_name": "steakhouse_financial_box",
"project_path": "D:\\Workspace\\project\\hcmus\\capstone-project\\hcmus-capstone--project\\packages\\scraper\\sources\\oracle\\cantina\\portfolio_72386eb5_5b22_4f7f_b2c0_f05569_4c631186\\linked_repos\\stea... |
finding-v1-000ff4a0b20542e49ce4b0fb177cd6a74b3128e33743c9533408b4b3f5023c5d | 2 | slither | dead-code | Other | Info | Medium | ERC2981 | _setDefaultRoyalty | _setDefaultRoyalty | dead-code | ERC2981._setDefaultRoyalty(address,uint96) (contracts/test/ERC2981.sol#80-91) is never used and should be removed | * - `receiver` cannot be the zero address.
* - `feeNumerator` cannot be greater than the fee denominator.
*/
function _setDefaultRoyalty(
address receiver,
uint96 feeNumerator
) internal virtual {
require(
feeNumerator <= _feeDenominator(),
"ERC2981... | ^0.8.0 | 0.8.0 | false | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"dead-code","confidence":"Medium","element_count":1,"element_name":"_setDefaultRoyalty","element_type":"function","impact":"Informational"} | [
{
"project_id": "seaport_59f7575dfc",
"project_name": "projectopensea_seaport",
"project_path": "/Users/tuananhnguyen/Documents/Uni/thesis/hcmus-capstone--project/packages/scraper/sources/token_contract/code4rena/reports_2023_01_astaria/linked_repos/projectopensea_seaport",
"topic": "token-contract"... |
finding-v1-00106c32f68d0eb0d718d2cd3d3248ac174dc3ae114c7ed3f50e96128b93245e | 2 | slither | reentrancy-events | Reentrancy | Low | Medium | RedeemManagerV1Tests | testClaimRedeemRequestEmitsClaimedEvent | testClaimRedeemRequestEmitsClaimedEvent | reentrancy-events | Reentrancy in RedeemManagerV1Tests.testClaimRedeemRequestEmitsClaimedEvent(uint256) (contracts/test/RedeemManager.1.t.sol#1902-1954):
External calls:
- initiator = _generateAllowlistedUser(_salt) (contracts/test/RedeemManager.1.t.sol#1904)
- user = uf._new(_salt) (contracts/test/RedeemManager.1.t.sol#169)
- vm.pr... | }
// ClaimedRedeemRequest event should be emitted when a redeem request is claimed
function testClaimRedeemRequestEmitsClaimedEvent(uint256 _salt) external {
uint128 amount = uint128(bound(_salt, 1, type(uint64).max));
address initiator = _generateAllowlistedUser(_salt);
river.sudo... | 0.8.34 | 0.8.34 | false | [
"slither-c0b921588530",
"slither-c0b921588530-dup13"
] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"address":null,"check":"reentrancy-events","confidence":"Medium","element_count":21,"element_name":"testClaimRedeemRequestEmitsClaimedEvent","element_type":"function","impact":"Low","report_file":null,"sourceMap":null,"swc-id":null,"title":null} | [
{
"project_id": "liquid_collective_liquid_collective_protocol_6766e52720",
"project_name": "liquid_collective_liquid_collective_protocol",
"project_path": "/home/yuran1811/@repo/hcmus-capstone--project/packages/scraper/sources/liquid_staking/github_projects/liquid_collective_liquid_collective_protocol",... |
finding-v1-00112e19c9c36c837772aad5bfcc36cf62a6c478cb63c74052490ef58df6c0e6 | 2 | slither | naming-convention | Code Quality & Shadowing | Info | High | storeBalanceData | null | _timestampAtMint | naming-convention | Parameter PositionBalanceLibrary.storeBalanceData(uint128,uint32,int24,uint32,uint40,bool)._timestampAtMint (contracts/types/PositionBalance.sol#49-50) is not in mixedCase | /// @return The new PositionBalance with the given positionSize, utilization, and tick/block data
function storeBalanceData(
uint128 _positionSize,
uint32 _utilizations,
int24 _tickAtMint,
uint32 _timestampAtMint,
uint40 _blockNumberAtMint,
bool _swapAtMint | ^0.8.24 | 0.8.24 | true | [
"slither-0edf2b84f376"
] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"address":null,"check":"naming-convention","confidence":"High","element_count":1,"element_name":"_timestampAtMint","element_type":"variable","impact":"Informational","report_file":null,"sourceMap":null,"swc-id":null,"title":null} | [
{
"project_id": "panoptic_labs_panoptic_next_core_private_1df0a32f70",
"project_name": "panoptic_labs_panoptic_next_core_private",
"project_path": "D:\\Workspace\\project\\hcmus\\capstone-project\\hcmus-capstone--project\\packages\\scraper\\sources\\mev_keeper\\code4rena\\audits_2026_02_panoptic_next_co... |
finding-v1-0014582f8a87ed22d27d715834beb8ff39f4de152f9d0791690b99dbed3974a4 | 2 | slither | reentrancy-no-eth | Reentrancy | Medium | Medium | PerpMarketV1 | _executeOrderV3 | _executeOrderV3 | reentrancy-no-eth | Reentrancy in PerpMarketV1._executeOrderV3(PerpOrderV3,bytes,IFillerMarket.SettlementParamsV3,uint64) (src/markets/perp/PerpMarketV1.sol#159-218):
External calls:
- tradeResult = _predyPool.trade(IPredyPool.TradeParams(perpOrder.pairId,userPosition.vaultId,tradeAmount,0,abi.encode(CallbackData(CallbackSource.TRADE3,p... | return _executeOrderV3(perpOrder, order.sig, settlementParams, 0);
}
function _executeOrderV3(
PerpOrderV3 memory perpOrder,
bytes memory sig,
SettlementParamsV3 memory settlementParams,
uint64 orderId
) internal returns (IPredyPool.TradeResult memory tradeResult) {
... | ^0.8.17 | 0.8.17 | false | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"reentrancy-no-eth","confidence":"Medium","element_count":3,"element_name":"_executeOrderV3","element_type":"function","impact":"Medium"} | [
{
"project_id": "2024-05-predy_47bd6f8ea3",
"project_name": "code_423n4_2024_05_predy",
"project_path": "/Users/tuananhnguyen/Documents/Uni/thesis/hcmus-capstone--project/packages/scraper/sources/token_contract/code4rena/reports_2024_05_predy/linked_repos/code_423n4_2024_05_predy",
"topic": "token-c... |
finding-v1-0014f06a7e2d4494c48a7a853973f88f5abf2c7c158d5950a014ba5a8f4a540a | 2 | slither | reentrancy-events | Reentrancy | Low | Medium | RedeemManagerV1Tests | testClaimRedeemRequestOnTwoEvents | testClaimRedeemRequestOnTwoEvents | reentrancy-events | Reentrancy in RedeemManagerV1Tests.testClaimRedeemRequestOnTwoEvents(uint256) (contracts/test/RedeemManager.1.t.sol#1104-1203):
External calls:
- user = _generateAllowlistedUser(_salt) (contracts/test/RedeemManager.1.t.sol#1107)
- user = uf._new(_salt) (contracts/test/RedeemManager.1.t.sol#169)
- vm.prank(allowli... | assertEq(user.balance, amount);
}
function testClaimRedeemRequestOnTwoEvents(uint256 _salt) external {
uint128 amount = uint128(bound(_salt, 2, type(uint128).max));
address user = _generateAllowlistedUser(_salt);
river.sudoDeal(user, uint256(amount));
vm.prank(user);
... | 0.8.34 | 0.8.34 | true | [
"slither-d0c623003b07-dup13"
] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"address":null,"check":"reentrancy-events","confidence":"Medium","element_count":62,"element_name":"testClaimRedeemRequestOnTwoEvents","element_type":"function","impact":"Low","report_file":null,"sourceMap":null,"swc-id":null,"title":null} | [
{
"project_id": "liquid_collective_liquid_collective_protocol_6766e52720",
"project_name": "liquid_collective_liquid_collective_protocol",
"project_path": "/home/yuran1811/@repo/hcmus-capstone--project/packages/scraper/sources/liquid_staking/github_projects/liquid_collective_liquid_collective_protocol",... |
finding-v1-001519c67a62e4ab204e84de35cdb5995df2bc34cac90098b3f618497bdca2df | 2 | slither | calls-loop | Other | Low | Medium | MaxIssuableFacet | maxIssuable | maxIssuable | calls-loop | MaxIssuableFacet.maxIssuable(IRToken,address) (contracts/facade/facets/MaxIssuableFacet.sol#24-32) has external calls inside a loop: balances[i] = IERC20(erc20s[i]).balanceOf(account) (contracts/facade/facets/MaxIssuableFacet.sol#29) | null | null | null | null | [
"slither-f215b3cbfcb1"
] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"address":null,"check":"calls-loop","confidence":"Medium","element_count":2,"element_name":"maxIssuable","element_type":"function","impact":"Low","report_file":null,"sourceMap":null,"swc-id":null,"title":null} | [
{
"project_id": "sources_token_contract_code4rena_reports_2023_07_reserve_linked_repos_reserve_protocol_protocol_86c7ea3d60",
"project_name": "sources/token_contract/code4rena/reports_2023_07_reserve/linked_repos/reserve_protocol_protocol",
"project_path": "/Users/tuananhnguyen/Documents/Uni/thesis/hcmu... |
finding-v1-0015dbad310b9f2ac55d5b632c59adabc2426634c3d0c6abf93ecdc31b58c368 | 2 | slither | timestamp | Time / Environment | Low | Medium | AllocatorWithManager | slotCanBeResetByAccount | slotCanBeResetByAccount | timestamp | AllocatorWithManager.slotCanBeResetByAccount(address,uint256,address) (contracts/allocators/AllocatorWithManager.sol#71-83) uses timestamp for comparisons
Dangerous comparisons:
- slot.setter == account || slot.expirationTimestamp <= block.timestamp || ! hasSlotSetterRoleOrIsManager(airnodeToSlotIndexToSlot[airnode][... | );
}
function slotCanBeResetByAccount(
address airnode,
uint256 slotIndex,
address account
) public view override(IAllocator, Allocator) returns (bool) {
Slot storage slot = airnodeToSlotIndexToSlot[airnode][slotIndex];
return
slot.setter == a... | 0.8.17 | 0.8.17 | false | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"timestamp","confidence":"Medium","element_count":2,"element_name":"slotCanBeResetByAccount","element_type":"function","impact":"Low"} | [
{
"project_id": "airnode-protocol-v1_c305188087",
"project_name": "api3dao_airnode_protocol_v1",
"project_path": "/Users/tuananhnguyen/Documents/Uni/thesis/hcmus-capstone--project/packages/scraper/sources/token_contract/code4rena/reports_2023_12_initcapital/linked_repos/api3dao_airnode_protocol_v1",
... |
End of preview. Expand in Data Studio
- Downloads last month
- 76