Repository Analysis

ethereum/EIPs

The Ethereum Improvement Proposal repository

2.7 Likely human-written View on GitHub
2.7
Adjusted Score
2.7
Raw Score
100%
Time Factor
2026-05-27
Last Push
13,866
Stars
Go
Language
140,895
Lines of Code
1097
Files
289
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 13MEDIUM 2LOW 274

Pattern Findings

289 matches across 9 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers172 hits · 154 pts
SeverityFileLineSnippet
LOWEIPS/eip-7748.md138def conversion_move_to_next_account(state: State):
LOWEIPS/eip-2565.md25def calculate_multiplication_complexity(base_length, modulus_length):
LOWEIPS/eip-2565.md30def calculate_iteration_count(exponent_length, exponent):
LOWEIPS/eip-7251.md89def add_consolidation_request(Bytes48: source_pubkey, Bytes48: target_pubkey):
LOWEIPS/eip-7251.md167def process_consolidation_requests():
LOWEIPS/eip-7251.md182def dequeue_consolidation_requests():
LOWEIPS/eip-7251.md215def update_excess_consolidation_requests():
LOWEIPS/eip-7251.md229def reset_consolidation_requests_count():
LOWEIPS/eip-7002.md191def dequeue_withdrawal_requests():
LOWEIPS/eip-7002.md222def update_excess_withdrawal_requests():
LOWEIPS/eip-7002.md235def reset_withdrawal_requests_count():
LOWEIPS/eip-4762.md25def get_storage_slot_tree_keys(storage_key: int) -> [int, int]:
LOWEIPS/eip-6404.md95def validate_execution_signature(
LOWEIPS/eip-6404.md376def calculate_transaction_intrinsic_gas(tx: Transaction) -> uint:
LOWEIPS/eip-6800.md53def extension_and_suffix_tree(stem: bytes31, values: Dict[byte, bytes32]) -> int:
LOWEIPS/eip-6800.md157def get_tree_key_for_basic_data(address: Address32):
LOWEIPS/eip-6800.md161def get_tree_key_for_code_hash(address: Address32):
LOWEIPS/eip-6800.md183def get_tree_key_for_code_chunk(address: Address32, chunk_id: int):
LOWEIPS/eip-6800.md226def get_tree_key_for_storage_slot(address: Address32, storage_key: int):
LOWEIPS/eip-4844.md176def get_base_fee_per_blob_gas(header: Header) -> int:
LOWEIPS/eip-4844.md203def point_evaluation_precompile(input: Bytes) -> Bytes:
LOWEIPS/eip-2935.md198def process_block_hash_history(block: Block, state: State):
LOWEIPS/eip-107.md447 function needToAndCanUnlockAccount(address,url,callback){
LOWEIPS/eip-7658.md84def process_sync_committee_updates(state: BeaconState) -> None:
LOWEIPS/eip-7886.md292def deduct_max_tx_fee_from_sender_balance(block_env, tx):
LOWEIPS/eip-8011.md88def compute_block_max_gas_metered(block: Block) -> int:
LOWEIPS/eip-7657.md65def sync_committee_slashing_evidence_has_sync_committee(evidence: SyncCommitteeSlashingEvidence) -> bool:
LOWEIPS/eip-7657.md68def sync_committee_slashing_evidence_has_finality(evidence: SyncCommitteeSlashingEvidence) -> bool:
LOWEIPS/eip-7657.md71def is_valid_sync_committee_slashing_evidence(evidence: SyncCommitteeSlashingEvidence,
LOWEIPS/eip-7657.md171def process_sync_committee_slashing(state: BeaconState, sync_committee_slashing: SyncCommitteeSlashing) -> None:
LOWEIPS/eip-8182.md290function isAcceptedNoteCommitmentRoot(
LOWEIPS/eip-8237.md94def compute_partial_header_hash(
LOWEIPS/eip-7892.md120def get_base_fee_per_blob_gas(header: Header, blob_schedule: BlobSchedule) -> int:
LOWEIPS/eip-7915.md65def calc_base_fee_per_blob_gas_ema(parent: Header) -> int:
LOWEIPS/eip-7804.md148def process_withdrawal_credential_update_request(state: BeaconState, withdrawal_credentials_update_requests: WithdrawalC
LOWEIPS/eip-7804.md176def update_withdrawal_credentials(state: BeaconState, index: ValidatorIndex, new_credential_type: Bytes1, new_withdrawal
LOWEIPS/eip-7883.md27def calculate_multiplication_complexity(base_length, modulus_length):
LOWEIPS/eip-7883.md34def calculate_iteration_count(exponent_length, exponent):
LOWEIPS/eip-7883.md86def calculate_multiplication_complexity(base_length, modulus_length):
LOWEIPS/eip-7883.md95def calculate_multiplication_complexity(base_length, modulus_length):
LOWEIPS/eip-8061.md52def get_activation_churn_limit(state: BeaconState) -> Gwei:
LOWEIPS/eip-8061.md73def get_consolidation_churn_limit(state: BeaconState) -> Gwei:
LOWEIPS/eip-8061.md84def compute_weak_subjectivity_period(state: BeaconState) -> uint64:
LOWEIPS/eip-8061.md169def compute_exit_epoch_and_update_churn(state: BeaconState, exit_balance: Gwei) -> Epoch:
LOWEIPS/eip-8045.md30def get_beacon_proposer_indices(
LOWEIPS/eip-8071.md34def get_pending_balance_to_consolidate(state: BeaconState, target_index: ValidatorIndex) -> Gwei:
LOWEIPS/eip-8071.md48def process_consolidation_request(
LOWEIPS/eip-8253.md82def apply_irregular_state_transition(state, account_list):
LOWEIPS/eip-7706.md95def vector_subtract_clamp_at_zero(v1: [int, int, int], v2: [int, int, int]) -> [uint, uint, uint]:
LOWEIPS/eip-7934.md46def exceed_max_rlp_block_size(block: Block) -> bool:
LOWEIPS/eip-8101.md283def on_chunk_access_list_received(store: Store, cal_message: ChunkAccessListMessage) -> None:
LOWEIPS/eip-7864.md244def get_tree_key_for_basic_data(address: Address32):
LOWEIPS/eip-7864.md247def get_tree_key_for_code_hash(address: Address32):
LOWEIPS/eip-7864.md269def get_tree_key_for_code_chunk(address: Address32, chunk_id: int):
LOWEIPS/eip-7864.md313def get_tree_key_for_storage_slot(address: Address32, storage_key: int):
LOWEIPS/eip-7736.md45def extension_and_suffix_tree(stem: bytes31, values: Dict[byte, bytes32], last_epoch: int) -> int:
LOWEIPS/eip-7545.md36def proof_verification_precompile(input):
LOWEIPS/eip-8072.md327def handle_transaction_inclusion_subscription(params):
LOWEIPS/eip-7981.md72def calculate_access_list_data_cost(access_list):
LOWEIPS/eip-7917.md46def get_beacon_proposer_index(state: BeaconState) -> ValidatorIndex:
112 more matches not shown…
Verbosity Indicators24 hits · 54 pts
SeverityFileLineSnippet
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go583 // Step 1: Run NTT_FW
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go591 // Step 2: Prepend header to NTT_FW result for NTT_INV input
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go595 // Step 3: Run NTT_INV on the result
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go603 // Step 4: Verify roundtrip (compare saved coefficient data)
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go617 // Step 1: Run NTT_FW
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go625 // Step 2: Prepend header to NTT_FW result for NTT_INV input
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go628 // Step 3: Run NTT_INV on the result
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go636 // Step 4: Verify roundtrip (compare saved coefficient data)
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go650 // Step 1: Run NTT_FW
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go658 // Step 2: Prepend header to NTT_FW result for NTT_INV input
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go661 // Step 3: Run NTT_INV on the result
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go669 // Step 4: Verify roundtrip (compare saved coefficient data)
LOWassets/eip-7885/op-geth/cgo/contracts_test.go837 // Step 1: Run NTT_FW
LOWassets/eip-7885/op-geth/cgo/contracts_test.go845 // Step 2: Prepend header to NTT_FW result for NTT_INV input
LOWassets/eip-7885/op-geth/cgo/contracts_test.go849 // Step 3: Run NTT_INV on the result
LOWassets/eip-7885/op-geth/cgo/contracts_test.go857 // Step 4: Verify roundtrip (compare saved coefficient data)
LOWassets/eip-7885/op-geth/cgo/contracts_test.go871 // Step 1: Run NTT_FW
LOWassets/eip-7885/op-geth/cgo/contracts_test.go879 // Step 2: Prepend header to NTT_FW result for NTT_INV input
LOWassets/eip-7885/op-geth/cgo/contracts_test.go882 // Step 3: Run NTT_INV on the result
LOWassets/eip-7885/op-geth/cgo/contracts_test.go890 // Step 4: Verify roundtrip (compare saved coefficient data)
LOWassets/eip-7885/op-geth/cgo/contracts_test.go904 // Step 1: Run NTT_FW
LOWassets/eip-7885/op-geth/cgo/contracts_test.go912 // Step 2: Prepend header to NTT_FW result for NTT_INV input
LOWassets/eip-7885/op-geth/cgo/contracts_test.go915 // Step 3: Run NTT_INV on the result
LOWassets/eip-7885/op-geth/cgo/contracts_test.go923 // Step 4: Verify roundtrip (compare saved coefficient data)
Redundant / Tautological Comments35 hits · 53 pts
SeverityFileLineSnippet
LOWassets/eip-8071/test_process_consolidation_request.py39 # Set source to eth1 credentials
LOWassets/eip-8071/test_process_consolidation_request.py49 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py86 # Set source to eth1 credentials
LOWassets/eip-8071/test_process_consolidation_request.py96 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py138 # Set source to eth1 credentials
LOWassets/eip-8071/test_process_consolidation_request.py148 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py181 # Set source to eth1 credentials
LOWassets/eip-8071/test_process_consolidation_request.py191 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py225 # Set source to eth1 credentials
LOWassets/eip-8071/test_process_consolidation_request.py235 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py272 # Set source to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py282 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py317 # Set source to eth1 credentials
LOWassets/eip-8071/test_process_consolidation_request.py327 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py467 # Set source to eth1 credentials
LOWassets/eip-8071/test_process_consolidation_request.py477 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py514 # Set source to eth1 credentials
LOWassets/eip-8071/test_process_consolidation_request.py524 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py366 # Set source to eth1 credentials
LOWassets/eip-8071/test_process_consolidation_request.py381 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py419 # Set source to eth1 credentials
LOWassets/eip-8071/test_process_consolidation_request.py435 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py552 # Set source to eth1 credentials
LOWassets/eip-8071/test_process_consolidation_request.py571 # Set source to eth1 credentials
LOWassets/eip-8071/test_process_consolidation_request.py596 # Set source to eth1 credentials
LOWassets/eip-8071/test_process_consolidation_request.py959 # Set target to eth1 credentials
LOWassets/eip-8071/test_process_consolidation_request.py1320 # Set source to compounding credentials with max_eb
LOWassets/eip-8071/test_process_consolidation_request.py1333 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py1392 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py1427 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py1491 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py1566 # Set target to compounding credentials
LOWassets/eip-8071/test_process_consolidation_request.py1620 # Set target to compounding credentials with the balance excess
LOWassets/eip-8071/test_process_consolidation_request.py1665 # Set target to compounding credentials with the balance excess
LOWassets/eip-8071/test_process_consolidation_request.py1697 # Set target to compounding credentials
Cross-File Repetition9 hits · 45 pts
SeverityFileLineSnippet
HIGHEIPS/eip-8045.md0return the proposer indices for the given ``epoch``.
HIGHEIPS/eip-7917.md0return the proposer indices for the given ``epoch``.
HIGHEIPS/eip-7917.md0return the proposer indices for the given ``epoch``.
HIGHassets/eip-7885/pythonref/polyntt/ntt_iterative.py0implements number theoretic transform for fast polynomial multiplication.
HIGHassets/eip-7885/pythonref/polyntt/ntt.py0implements number theoretic transform for fast polynomial multiplication.
HIGHassets/eip-7885/pythonref/polyntt/ntt_recursive.py0implements number theoretic transform for fast polynomial multiplication.
HIGHassets/eip-7885/pythonref/polyntt/tests/test_poly.py0test if ntt and intt are indeed inverses of each other.
HIGH…eip-7885/pythonref/polyntt/tests/test_ntt_iterative.py0test if ntt and intt are indeed inverses of each other.
HIGH…eip-7885/pythonref/polyntt/tests/test_ntt_recursive.py0test if ntt and intt are indeed inverses of each other.
Over-Commented Block34 hits · 34 pts
SeverityFileLineSnippet
LOW_config.yml1# Welcome to Jekyll!
LOWEIPS/eip-6690.md241#### Conversion of Canonical to Montgomery Representation
LOWEIPS/eip-7748.md101
LOWEIPS/eip-1767.md61 # Address is the address owning the account.
LOWEIPS/eip-1767.md101 # From is the account that sent this transaction - this will always be
LOWEIPS/eip-1767.md121 # running out of gas). If the transaction has not yet been mined, this
LOWEIPS/eip-1767.md141# to a single block.
LOWEIPS/eip-1767.md181 # ExtraData is an arbitrary data field supplied by the miner.
LOWEIPS/eip-1767.md201 ommerCount: Int
LOWEIPS/eip-1767.md261 # to the latest block if not supplied.
LOWEIPS/eip-6122.md121 {20000000, 1668000001, ID{Hash: checksumToBytes(0xc1fdf181), Next: 0}, nil},
LOWEIPS/eip-6122.md161 // Local is mainnet Withdrawals. remote announces Byzantium but is not aware of further forks.
LOWEIPS/eip-2124.md221
LOWassets/eip-7885/op-geth/nocgo/crypto/ntt/dilithium.go21// Arguments:
LOWassets/eip-7885/op-geth/nocgo/crypto/ntt/dilithium.go41 t = a - t*Q
LOWassets/eip-7885/op-geth/nocgo/crypto/ntt/dilithium.go61//
LOWassets/eip-7885/op-geth/nocgo/crypto/ntt/dilithium.go101//
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts.go1// Copyright 2014 The go-ethereum Authors
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts.go1641 }
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts.go1661// [0:4] ring_degree (uint32, big-endian)
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts.go1781// - Falcon-512: ringDegree=512, modulus=12289
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts.go1901// This precompile performs element-wise modular multiplication of two vectors
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts.go1921// [12+n*elem_size:*] second vector coefficients
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts.go2021//
LOWassets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go1// Copyright 2017 The go-ethereum Authors
LOWassets/eip-7885/op-geth/cgo/contracts.go1// Copyright 2014 The go-ethereum Authors
LOWassets/eip-7885/op-geth/cgo/contracts.go1541
LOWassets/eip-7885/op-geth/cgo/contracts.go1561// - Falcon: uint16 values (2 bytes each, big-endian)
LOWassets/eip-7885/op-geth/cgo/contracts.go1681}
LOWassets/eip-7885/op-geth/cgo/contracts.go1821// Implementation uses direct modular multiplication (a*b % q) with compile-time constant
LOWassets/eip-7885/op-geth/cgo/contracts.go1941//
LOWassets/eip-7885/op-geth/cgo/contracts_test.go1// Copyright 2017 The go-ethereum Authors
LOWassets/eip-7885/pythonref/polyntt/poly.py141
LOWassets/eip-7543/decimal_float_test.go1// Copyright 2017 The go-ethereum Authors
Cross-Language Confusion4 hits · 28 pts
SeverityFileLineSnippet
HIGHassets/eip-6475/optional.py63 if self.length() == 0:
HIGHassets/eip-6475/optional.py73 if self.length() == 0:
HIGHassets/eip-6475/optional.py80 if self.length() == 0:
HIGHassets/eip-6475/optional.py97 if self.length() == 1:
Unused Imports7 hits · 7 pts
SeverityFileLineSnippet
LOWassets/eip-4881/deposit_snapshot.py2
LOWassets/eip-6404/tx_hashes.py1
LOWassets/eip-6404/tx_hashes.py2
LOWassets/eip-6404/convert.py2
LOWassets/eip-6404/convert.py3
LOWassets/eip-6404/convert_tests.py2
LOWassets/eip-7885/pythonref/polyntt/ntt_iterative.py7
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippet
MEDIUM…885/pythonref/polyntt/scripts/generate_test_vectors.py37 # This function is used for generating polynomials for the tests.
MEDIUM…nref/polyntt/scripts/generate_test_vectors_solidity.py17 # This function is used for generating polynomials for the tests.
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippet
LOWassets/eip-4881/test_deposit_snapshot.py22
LOWassets/eip-7885/pythonref/polyntt/tests/test_vectors.py12