Datasets:
id string | schema_version int32 | source string | detector string | category string | severity string | confidence string | contract string | function string | symbol string | title string | message string | snippet string | pragma string | solc_version_min string | has_unchecked_near_lines bool | legacy_ids list | label dict | raw_json string | provenances list |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
finding-v1-0000bec6d7b0c2e305b92e037ef57261a65d953b74f7f7e57b9da987288b0b3c | 2 | slither | unchecked-transfer | Unchecked Call / Return Value | High | Medium | UTB | performSwap | performSwap | unchecked-transfer | UTB.performSwap(SwapInstructions,bool) (src/UTB.sol#63-100) ignores return value by IERC20(swapParams.tokenIn).transferFrom(msg.sender,address(this),swapParams.amountIn) (src/UTB.sol#83-87) | null | null | null | null | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"unchecked-transfer","confidence":"Medium","element_count":2,"element_name":"performSwap","element_type":"function","impact":"High"} | [
{
"project_id": "2024-01-decent_27ef812883",
"project_name": null,
"project_path": "D:\\Workspace\\project\\hcmus\\capstone-project\\hcmus-capstone--project\\packages\\scraper\\sources\\bridge_cross_chain\\code4rena\\reports_2024_01_decent\\linked_repos\\code_423n4_2024_01_decent",
"topic": "bridge-... |
finding-v1-0001cb6eb34c2b7ab6acbbe32d67500dc82caac95d9ed05af3f72ea65da8bd0b | 2 | slither | unused-state | Other | Info | High | TestTokenomics | null | epochLen | unused-state | TestTokenomics.epochLen (contracts/test/TestTokenomics.sol#38) is never used in TestTokenomics (contracts/test/TestTokenomics.sol#16-213) | uint256[] internal unitIds;
uint256 internal initialMint = 10_000_000_000e18;
uint256 internal largeApproval = 1_000_000_000_000e18;
uint256 internal epochLen = 1 weeks;
uint256 internal amountOLAS = 5_000_000 ether;
uint256 internal amountDAI = 5_000_000 ether;
uint256 internal minAmountOLA... | ^0.8.23 | 0.8.23 | false | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"unused-state","confidence":"High","element_count":2,"element_name":"epochLen","element_type":"variable","impact":"Informational"} | [
{
"project_id": "autonolas-tokenomics_87fc184c24",
"project_name": "valory_xyz_autonolas_tokenomics",
"project_path": "/home/yuran1811/@repo/hcmus-capstone--project/packages/scraper/sources/dao_governance/immunefi/bug_bounty_autonolas/linked_repos/valory_xyz_autonolas_tokenomics",
"topic": null,
... |
finding-v1-0002f0e07610280479492c3e0111c75a92bfc5d25cafe01cc3967ed05167c60e | 2 | slither | incorrect-return | Other | High | Medium | BaseImmutableAdminUpgradeabilityProxy | upgradeTo | upgradeTo | incorrect-return | BaseImmutableAdminUpgradeabilityProxy.upgradeTo(address) (contracts/protocol/libraries/aave-upgradeability/BaseImmutableAdminUpgradeabilityProxy.sol#56-58) calls BaseImmutableAdminUpgradeabilityProxy.ifAdmin() (contracts/protocol/libraries/aave-upgradeability/BaseImmutableAdminUpgradeabilityProxy.sol#27-33) which halt ... | null | null | null | null | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"incorrect-return","confidence":"Medium","element_count":3,"element_name":"upgradeTo","element_type":"function","impact":"High"} | [
{
"project_id": "aave-v3-core_20a772f981",
"project_name": null,
"project_path": "D:\\Workspace\\project\\hcmus\\capstone-project\\hcmus-capstone--project\\packages\\scraper\\sources\\mev_keeper\\code4rena\\reports_2024_06_size\\linked_repos\\aave_aave_v3_core",
"topic": "mev-keeper",
"repo_url"... |
finding-v1-000371c5a2bac2c991624480edbd28d08838783e560cfce06e4a738891fdbc6e | 2 | slither | naming-convention | Code Quality & Shadowing | Info | High | updatePauser | null | _address | naming-convention | Parameter Liquifier.updatePauser(address,bool)._address (src/Liquifier.sol#224) is not in mixedCase | admins[_address] = _isAdmin;
}
function updatePauser(address _address, bool _isPauser) external onlyAdmin {
pausers[_address] = _isPauser;
} | ^0.8.23 | 0.8.23 | false | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"naming-convention","confidence":"High","element_count":1,"element_name":"_address","element_type":"variable","impact":"Informational"} | [
{
"project_id": "smart-contracts_bf364fce6b",
"project_name": "etherfi_protocol_smart_contracts",
"project_path": "/home/yuran1811/@repo/hcmus-capstone--project/packages/scraper/sources/nft_marketplace/code4rena/reports_2024_07_benddao/linked_repos/etherfi_protocol_smart_contracts",
"topic": null,
... |
finding-v1-0004419afb80a634aa0f1564b5ba97f26d5bb8dc645d22d8906049f7af9d1da7 | 2 | slither | unchecked-transfer | Unchecked Call / Return Value | High | Medium | ConvexPoolMock | getReward | getReward | unchecked-transfer | ConvexPoolMock.getReward(address,bool) (src/mocks/ConvexPoolMock.sol#29-32) ignores return value by cvx.transfer(_account,1e18) (src/mocks/ConvexPoolMock.sol#31-32) | null | null | null | null | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"unchecked-transfer","confidence":"Medium","element_count":2,"element_name":"getReward","element_type":"function","impact":"High"} | [
{
"project_id": "manager-2_0e1468135c",
"project_name": null,
"project_path": "D:\\Workspace\\project\\hcmus\\capstone-project\\hcmus-capstone--project\\packages\\scraper\\sources\\oracle\\cantina\\portfolio_97e80133_5adf_4e25_9ba7_272234_fbe4af1f\\linked_repos\\numofx_manager_2",
"topic": "oracle",... |
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-0004a19421d8eea00e154f0aed9046d7e79ceef239aae425abaa1d949f2e4310 | 2 | slither | unused-return | Unchecked Call / Return Value | Medium | Medium | ReentrancyAttacker | unbondBadOperator | unbondBadOperator | unused-return | ReentrancyAttacker.unbondBadOperator(address,uint256) (contracts/test/ReentrancyAttacker.sol#187-190) ignores return value by IServiceRegistry(serviceRegistry).unbond(operator,serviceId) (contracts/test/ReentrancyAttacker.sol#189) | }
/// @dev Lets the attacker call back its contract to get back to the unbond() function.
function unbondBadOperator(address operator, uint256 serviceId) external returns (bool, uint256) {
attackOnUnbond = true;
return IServiceRegistry(serviceRegistry).unbond(operator, serviceId);
}
... | ^0.8.15 | 0.8.15 | false | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"unused-return","confidence":"Medium","element_count":2,"element_name":"unbondBadOperator","element_type":"function","impact":"Medium"} | [
{
"project_id": "autonolas-registries_2f4a4fd21a",
"project_name": "valory_xyz_autonolas_registries",
"project_path": "/home/yuran1811/@repo/hcmus-capstone--project/packages/scraper/sources/dao_governance/immunefi/bug_bounty_autonolas/linked_repos/valory_xyz_autonolas_registries",
"topic": null,
... |
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 | [] | {
"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 | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"reentrancy-balance","confidence":"Medium","element_count":4,"element_name":"testVestingScheduleFuzzing","element_type":"function","impact":"High"} | [
{
"project_id": "liquid-collective-protocol_ce1ef92a53",
"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",
"topic": "liq... |
finding-v1-00059d6bd2bd35c5e74a131bad31f1b00a19a098d02603c5f2fae5b0ca2d49bb | 2 | slither | incorrect-equality | Other | Medium | High | DnGmxJuniorVaultManager | _rebalanceBorrow | _rebalanceBorrow | incorrect-equality | DnGmxJuniorVaultManager._rebalanceBorrow(DnGmxJuniorVaultManager.State,uint256,uint256,uint256,uint256) (contracts/libraries/DnGmxJuniorVaultManager.sol#404-509) uses a dangerous strict equality:
- btcAssetAmount == 0 && ethAssetAmount == 0 (contracts/libraries/DnGmxJuniorVaultManager.sol#443) | ///@param currentBtcBorrow current btc amount borrowed from AAVE
///@param optimalEthBorrow optimal eth amount to hedge sGLP btc underlying completely
///@param currentEthBorrow current eth amount borrowed from AAVE
function _rebalanceBorrow(
State storage state,
uint256 optimalBtcBorrow... | ^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":"incorrect-equality","confidence":"High","element_count":2,"element_name":"_rebalanceBorrow","element_type":"function","impact":"Medium"} | [
{
"project_id": "delta-neutral-gmx-vaults_7c6306e801",
"project_name": "ragetrade_delta_neutral_gmx_vaults",
"project_path": "/home/nguyenan0808/projects/hcmus-capstone--project/packages/scraper/sources/yield_vault/code4rena/reports_2023_07_pooltogether/linked_repos/ragetrade_delta_neutral_gmx_vaults",
... |
finding-v1-00063ab52dec0f0ac5f1afa524613ba867030661ebcbe70fa063ac4ee2b789ab | 2 | slither | shadowing-local | Code Quality & Shadowing | Low | High | constructor | null | name | shadowing-local | DaiLikePermitMock.constructor(string,string,address,uint256).name (contracts/tests/mocks/DaiLikePermitMock.sol#13) shadows:
- ERC20.name() (node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol#53-55) (function)
- IERC20Metadata.name() (node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.s... | null | null | null | null | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"shadowing-local","confidence":"High","element_count":3,"element_name":"name","element_type":"variable","impact":"Low"} | [
{
"project_id": "solidity-utils_73a7768d9c",
"project_name": null,
"project_path": "D:\\Workspace\\project\\hcmus\\capstone-project\\hcmus-capstone--project\\packages\\scraper\\sources\\infrastructure\\openzeppelin\\news_aggregation_protocol_diff_audit\\linked_repos\\1inch_solidity_utils",
"topic": ... |
finding-v1-00073af23d51835ba2503d6dadf30b5802819d10e56fe3d0d2f63d493cc89d8b | 2 | slither | unused-state | Other | Info | High | PositionOperateFacet | null | shortPoolManager | unused-state | PositionOperateFacet.shortPoolManager (contracts/periphery/facets/PositionOperateFacet.sol#53-56) is never used in PositionOperateFacet (contracts/periphery/facets/PositionOperateFacet.sol#15-228) | null | null | null | null | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"unused-state","confidence":"High","element_count":2,"element_name":"shortPoolManager","element_type":"variable","impact":"Informational"} | [
{
"project_id": "fx-protocol-contracts_4185665e88",
"project_name": null,
"project_path": "D:\\Workspace\\project\\hcmus\\capstone-project\\hcmus-capstone--project\\packages\\scraper\\sources\\oracle\\openzeppelin\\news_fx_v2_audit_e9e0afd6\\linked_repos\\aladdindao_fx_protocol_contracts",
"topic": ... |
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 | [] | {
"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":67,"element_name":"testSequentialAllocationsReturnCorrectKeyOffsets","element_type":"function","impact":"Low"} | [
{
"project_id": "liquid-collective-protocol_ce1ef92a53",
"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",
"topic": "liq... |
finding-v1-0009d8735c57172d57eb62018b25dcd10c5198806516e06e5e311a12bf632732 | 2 | slither | missing-zero-check | Initialization & Validation | Low | Medium | relay | null | target | missing-zero-check | Governor.relay(address,uint256,bytes).target (node_modules/@openzeppelin/contracts/governance/Governor.sol#544) lacks a zero-check on :
- (success,returndata) = target.call{value: value}(data) (node_modules/@openzeppelin/contracts/governance/Governor.sol#548) | * Note that if the executor is simply the governor itself, use of `relay` is redundant.
*/
function relay(
address target,
uint256 value,
bytes calldata data
) external payable virtual onlyGovernance { | ^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":"missing-zero-check","confidence":"Medium","element_count":2,"element_name":"target","element_type":"variable","impact":"Low"} | [
{
"project_id": "autonolas-governance_0b25cda69d",
"project_name": "valory_xyz_autonolas_governance",
"project_path": "/home/yuran1811/@repo/hcmus-capstone--project/packages/scraper/sources/dao_governance/immunefi/bug_bounty_autonolas/linked_repos/valory_xyz_autonolas_governance",
"topic": null,
... |
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-000acf40069c883bf4a6a6d00b774b84dcd9d3bf3b9862d236bef0fba9e33157 | 2 | slither | reentrancy-benign | Reentrancy | Low | Medium | ClipperTest | setUp | setUp | reentrancy-benign | Reentrancy in ClipperTest.setUp() (src/test/clip.t.sol#348-427):
External calls:
- hevm.warp(startTime) (src/test/clip.t.sol#350)
- vat.rely(address(spot)) (src/test/clip.t.sol#357)
- vow = new Vow(address(vat),address(0),address(0)) (src/test/clip.t.sol#359)
- vat.rely(address(goldJoin)) (src/test/clip.t.sol#362)... | null | null | null | null | [] | {
"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":65,"element_name":"setUp","element_type":"function","impact":"Low"} | [
{
"project_id": "dss_f14d150ffc",
"project_name": "sources/defi/github_projects/sky_ecosystem_dss",
"project_path": "/home/machquoctan/Projects/hcmus-capstone--project/packages/runner/reports/sources_defi_github_projects_sky_ecosystem_dss_800a7d6472",
"topic": null,
"repo_url": "github.com/sky-e... |
finding-v1-000ad7cacd041cd3e095192b0726c0311eb31f42578def41479aa4d78e849e5b | 2 | slither | naming-convention | Code Quality & Shadowing | Info | High | getDefiAvaliableReserves | null | _tokenAddress | naming-convention | Parameter DeBridgeGate.getDefiAvaliableReserves(address)._tokenAddress (contracts/imports/transfers/DeBridgeGate.sol#1029) is not in mixedCase | /* VIEW */
/// @inheritdoc IDeBridgeGate
function getDefiAvaliableReserves(address _tokenAddress)
external
view
override | 0.8.7 | 0.8.7 | false | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"naming-convention","confidence":"High","element_count":1,"element_name":"_tokenAddress","element_type":"variable","impact":"Informational"} | [
{
"project_id": "denft_25ce987b46",
"project_name": "debridge_finance_denft",
"project_path": "D:\\Workspace\\project\\hcmus\\capstone-project\\hcmus-capstone--project\\packages\\scraper\\sources\\bridge_cross_chain\\github_projects\\debridge_finance_denft",
"topic": "bridge-cross-chain",
"repo_... |
finding-v1-000c1b77e587043e641600bbeb1710e4b204bce71f6c85ae1ed6208a9807929f | 2 | slither | solc-version | Code Quality & Shadowing | Info | High | null | null | >=0.6.9<0.9.0 | solc-version | Version constraint >=0.6.9<0.9.0 is too complex.
It is used by:
- >=0.6.9<0.9.0 (src/IUniversalBridge.sol#2)
- >=0.6.9<0.9.0 (src/bridges/ArbitraryMessageBridge.sol#2)
- >=0.6.9<0.9.0 (src/bridges/ArbitrumBridge.sol#2)
- >=0.6.9<0.9.0 (src/bridges/OptimismBridge.sol#2)
- >=0.6.9<0.9.0 (src/bridges/PolygonBridge.so... | // SPDX-License-Identifier: MIT
pragma solidity >=0.6.9 <0.9.0;
import "./bridges/ArbitrumBridge.sol";
import "./bridges/OptimismBridge.sol"; | >=0.6.9 <0.9.0 | 0.6.9 | 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":5,"element_name":">=0.6.9<0.9.0","element_type":"pragma","impact":"Informational"} | [
{
"project_id": "universal-bridge_c8950ddb96",
"project_name": "zeframlou_universal_bridge",
"project_path": "D:\\Workspace\\project\\hcmus\\capstone-project\\hcmus-capstone--project\\packages\\scraper\\sources\\layer_rollup_appchain\\github_projects\\zeframlou_universal_bridge",
"topic": "layer-rol... |
finding-v1-000c9ffed76b6f767dea4bed00330da7aecb8116328a92b7b051a38950932e08 | 2 | slither | missing-zero-check | Initialization & Validation | Low | Medium | constructor | null | _arbitrumFoundationWallet | missing-zero-check | AIP1Point1Target.constructor(address,address)._arbitrumFoundationWallet (src/gov-action-contracts/AIPs/AIP1Point1Target.sol#17) lacks a zero-check on :
- arbitrumFoundationWallet = _arbitrumFoundationWallet (src/gov-action-contracts/AIPs/AIP1Point1Target.sol#19) | event AIP1Point1Passed(address arbitrumFoundationWallet);
constructor(address _treasuryTimelock, address _arbitrumFoundationWallet) {
treasuryTimelock = _treasuryTimelock;
arbitrumFoundationWallet = _arbitrumFoundationWallet;
} | 0.8.16 | 0.8.16 | false | [] | {
"gold_label": null,
"fp_root_cause_codes": [],
"label_source": null,
"label_note": null,
"labeled_by": null,
"labeled_at": null
} | {"check":"missing-zero-check","confidence":"Medium","element_count":2,"element_name":"_arbitrumFoundationWallet","element_type":"variable","impact":"Low"} | [
{
"project_id": "governance_7d84c97f18",
"project_name": "arbitrumfoundation_governance",
"project_path": "/home/yuran1811/@repo/hcmus-capstone--project/packages/scraper/sources/dao_governance/code4rena/reports_2023_08_arbitrum/linked_repos/arbitrumfoundation_governance",
"topic": null,
"repo_ur... |
finding-v1-000cdd20717ecf6962ffc5c79cf7bd782d9d6d1613e114a842e9c06cd6846f13 | 2 | slither | timestamp | Time / Environment | Low | Medium | VaultV2 | exit | exit | timestamp | VaultV2.exit(uint256,uint256,address,address) (lib/vault-v2/src/VaultV2.sol#772-795) uses timestamp for comparisons
Dangerous comparisons:
- assets > idleAssets && liquidityAdapter != address(0) (lib/vault-v2/src/VaultV2.sol#780-781) | null | null | null | null | [] | {
"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":"exit","element_type":"function","impact":"Low"} | [
{
"project_id": "box_5df17a07e1",
"project_name": null,
"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\\steakhouse_financial_box",
"topic": "oracle... |
End of preview. Expand in Data Studio
- Downloads last month
- 132