Go implementation of Ethereum proof of stake
This report summarizes scanner evidence for OffchainLabs/prysm, a Go project with 3,791 GitHub stars. SynthScan examined 757,598 lines of code across 4148 source files, recording 1018 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 1.9 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 908 finding(s).
Are imports declared and package/API names verified? 19 finding(s).
Are wrappers, guards, and repeated structures necessary? 551 finding(s).
Which changes need focused human review? 1018 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1018 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …s/specs-checker/data/specs/phase0/weak-subjectivity.md | 0 | // returns the weak subjectivity period for the current ``state``. // this computation takes into account the effect of: | STRING |
| HIGH | specrefs/functions.yml | 0 | // returns the weak subjectivity period for the current ``state``. // this computation takes into account the effect of: | STRING |
| HIGH | beacon-chain/core/helpers/weak_subjectivity.go | 0 | // returns the weak subjectivity period for the current ``state``. // this computation takes into account the effect of: | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // check if ``validator`` is eligible to be placed into the activation queue. // | STRING |
| HIGH | specrefs/functions.yml | 0 | // check if ``validator`` is eligible to be placed into the activation queue. // | STRING |
| HIGH | beacon-chain/core/helpers/validators.go | 0 | // check if ``validator`` is eligible to be placed into the activation queue. // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // check if ``data_1`` and ``data_2`` are slashable according to casper ffg rules. // | STRING |
| HIGH | specrefs/functions.yml | 0 | // check if ``data_1`` and ``data_2`` are slashable according to casper ffg rules. // | STRING |
| HIGH | beacon-chain/core/blocks/attester_slashing.go | 0 | // check if ``data_1`` and ``data_2`` are slashable according to casper ffg rules. // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // check if ``indexed_attestation`` is not empty, has sorted and unique indices and has a valid aggregate signature. // | STRING |
| HIGH | specrefs/functions.yml | 0 | // check if ``indexed_attestation`` is not empty, has sorted and unique indices and has a valid aggregate signature. // | STRING |
| HIGH | beacon-chain/core/blocks/attestation.go | 0 | // check if ``indexed_attestation`` is not empty, has sorted and unique indices and has a valid aggregate signature. // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // return the shuffled index corresponding to ``seed`` (and ``index_count``). // | STRING |
| HIGH | specrefs/functions.yml | 0 | // return the shuffled index corresponding to ``seed`` (and ``index_count``). // | STRING |
| HIGH | beacon-chain/core/helpers/shuffle.go | 0 | // return the shuffled index corresponding to ``seed`` (and ``index_count``). // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // return from ``indices`` a random index sampled by effective balance. // | STRING |
| HIGH | specrefs/functions.yml | 0 | // return from ``indices`` a random index sampled by effective balance. // | STRING |
| HIGH | beacon-chain/core/helpers/validators.go | 0 | // return from ``indices`` a random index sampled by effective balance. // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // return the committee corresponding to ``indices``, ``seed``, ``index``, and committee ``count``. // | STRING |
| HIGH | specrefs/functions.yml | 0 | // return the committee corresponding to ``indices``, ``seed``, ``index``, and committee ``count``. // | STRING |
| HIGH | beacon-chain/core/helpers/beacon_committee.go | 0 | // return the committee corresponding to ``indices``, ``seed``, ``index``, and committee ``count``. // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // return the epoch during which validator activations and exits initiated in ``epoch`` take effect. // | STRING |
| HIGH | specrefs/functions.yml | 0 | // return the epoch during which validator activations and exits initiated in ``epoch`` take effect. // | STRING |
| HIGH | beacon-chain/core/helpers/validators.go | 0 | // return the epoch during which validator activations and exits initiated in ``epoch`` take effect. // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // return the 32-byte fork data root for the ``current_version`` and ``genesis_validators_root``. // this is used primar | STRING |
| HIGH | specrefs/functions.yml | 0 | // return the 32-byte fork data root for the ``current_version`` and ``genesis_validators_root``. // this is used primar | STRING |
| HIGH | beacon-chain/core/signing/signing_root.go | 0 | // return the 32-byte fork data root for the ``current_version`` and ``genesis_validators_root``. // this is used primar | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // return the domain for the ``domain_type`` and ``fork_version``. // | STRING |
| HIGH | specrefs/functions.yml | 0 | // return the domain for the ``domain_type`` and ``fork_version``. // | STRING |
| HIGH | beacon-chain/core/signing/signing_root.go | 0 | // return the domain for the ``domain_type`` and ``fork_version``. // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // return the signing root for the corresponding signing data. // | STRING |
| HIGH | specrefs/functions.yml | 0 | // return the signing root for the corresponding signing data. // | STRING |
| HIGH | beacon-chain/core/signing/signing_root.go | 0 | // return the signing root for the corresponding signing data. // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | ` // return the previous epoch (unless the current epoch is ``genesis_epoch``). // | STRING |
| HIGH | specrefs/functions.yml | 0 | ` // return the previous epoch (unless the current epoch is ``genesis_epoch``). // | STRING |
| HIGH | beacon-chain/core/time/slot_epoch.go | 0 | ` // return the previous epoch (unless the current epoch is ``genesis_epoch``). // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // return the block root at the start of a recent ``epoch``. // | STRING |
| HIGH | specrefs/functions.yml | 0 | // return the block root at the start of a recent ``epoch``. // | STRING |
| HIGH | beacon-chain/core/helpers/block.go | 0 | // return the block root at the start of a recent ``epoch``. // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // return the sequence of active validator indices at ``epoch``. // | STRING |
| HIGH | specrefs/functions.yml | 0 | // return the sequence of active validator indices at ``epoch``. // | STRING |
| HIGH | beacon-chain/core/helpers/validators.go | 0 | // return the sequence of active validator indices at ``epoch``. // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // return the churn limit for the current epoch. // | STRING |
| HIGH | specrefs/functions.yml | 0 | // return the churn limit for the current epoch. // | STRING |
| HIGH | beacon-chain/core/helpers/validators.go | 0 | // return the churn limit for the current epoch. // | STRING |
| HIGH | beacon-chain/core/helpers/validator_churn.go | 0 | // return the churn limit for the current epoch. // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // return the number of committees in each slot for the given ``epoch``. // | STRING |
| HIGH | specrefs/functions.yml | 0 | // return the number of committees in each slot for the given ``epoch``. // | STRING |
| HIGH | beacon-chain/core/helpers/beacon_committee.go | 0 | // return the number of committees in each slot for the given ``epoch``. // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // return the beacon committee at ``slot`` for ``index``. // | STRING |
| HIGH | specrefs/functions.yml | 0 | // return the beacon committee at ``slot`` for ``index``. // | STRING |
| HIGH | beacon-chain/core/helpers/beacon_committee.go | 0 | // return the beacon committee at ``slot`` for ``index``. // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // return the beacon proposer index at the current slot. // | STRING |
| HIGH | specrefs/functions.yml | 0 | // return the beacon proposer index at the current slot. // | STRING |
| HIGH | beacon-chain/core/helpers/validators.go | 0 | // return the beacon proposer index at the current slot. // | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | return the combined effective balance of the ``indices``. ``effective_balance_increment`` gwei minimum to avoid division | STRING |
| HIGH | beacon-chain/core/helpers/rewards_penalties.go | 0 | return the combined effective balance of the ``indices``. ``effective_balance_increment`` gwei minimum to avoid division | STRING |
| HIGH | specrefs/functions.yml | 0 | return the combined effective balance of the ``indices``. ``effective_balance_increment`` gwei minimum to avoid division | STRING |
| HIGH | tools/specs-checker/data/specs/phase0/beacon-chain.md | 0 | // return the combined effective balance of the active validators. // note: ``get_total_balance`` returns ``effective_ba | STRING |
| HIGH | specrefs/functions.yml | 0 | // return the combined effective balance of the active validators. // note: ``get_total_balance`` returns ``effective_ba | STRING |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | prysm.sh | 1 | #!/bin/bash | COMMENT |
| LOW | cmd/defaults.go | 1 | // Copyright 2016 The go-ethereum Authors | COMMENT |
| LOW | crypto/keystore/key.go | 1 | // Copyright 2014 The go-ethereum Authors | COMMENT |
| LOW | crypto/keystore/utils.go | 1 | // Copyright 2014 The go-ethereum Authors | COMMENT |
| LOW | crypto/keystore/keystore.go | 1 | // Copyright 2014 The go-ethereum Authors | COMMENT |
| LOW | crypto/bls/blst/doc.go | 1 | // Package blst implements a go-wrapper around a library implementing the | COMMENT |
| LOW | crypto/bls/blst/signature.go | 101 | return wrappedSigs, nil | COMMENT |
| LOW | crypto/bls/blst/signature.go | 121 | // | COMMENT |
| LOW | tools/interop/split-keys/main.go | 1 | // Package main provides a tool named split-keys which allows for generating any number of Ethereum validator keys | COMMENT |
| LOW | tools/ssztrace/main.go | 1 | // Command ssztrace emits a merkleization trace (flat g -> root map, or nested | COMMENT |
| LOW | tools/cross-toolchain/configs/cc/cc_wrapper.sh | 1 | #!/bin/bash | COMMENT |
| LOW | validator/accounts/doc.go | 1 | // Package accounts defines a new model for accounts management in Prysm, using best | COMMENT |
| LOW | validator/db/kv/import.go | 121 | } | COMMENT |
| LOW | validator/db/kv/import.go | 161 | } | COMMENT |
| LOW | validator/db/kv/schema.go | 41 | // ProposerSettings stores the encoded proposer settings file | COMMENT |
| LOW | validator/slashing-protection-history/doc.go | 1 | // Package history defines methods to parse, import, and export slashing protection data | COMMENT |
| LOW | validator/client/validator.go | 361 | } | COMMENT |
| LOW | validator/package/validator.yaml | 1 | # Configuration file for Prysm validator | COMMENT |
| LOW | validator/package/validator.yaml | 21 | # graffiti-file: Path to Yaml file containing advanced graffiti settings. See https://docs.prylabs.network/docs/prysm-us | COMMENT |
| LOW | validator/keymanager/remote-web3signer/keymanager.go | 41 | KeyFilePath string | COMMENT |
| LOW | config/params/testdata/e2e_config.yaml | 1 | # e2e config | COMMENT |
| LOW | network/auth.go | 21 | // To use this transport, initialize a new &http.Client{} from the standard library | COMMENT |
| LOW | async/event/subscription.go | 1 | // Copyright 2016 The go-ethereum Authors | COMMENT |
| LOW | async/event/feed.go | 1 | // Copyright 2016 The go-ethereum Authors | COMMENT |
| LOW | async/event/subscription_test.go | 1 | // Copyright 2016 The go-ethereum Authors | COMMENT |
| LOW | async/event/example_scope_test.go | 1 | // Copyright 2016 The go-ethereum Authors | COMMENT |
| LOW | async/event/example_scope_test.go | 121 | COMMENT | |
| LOW | async/event/example_subscription_test.go | 1 | // Copyright 2016 The go-ethereum Authors | COMMENT |
| LOW | io/file/fileutil_test.go | 1 | // Copyright 2015 The go-ethereum Authors | COMMENT |
| LOW | runtime/interop/generate_genesis_state.go | 201 | // The specification is as follows: | COMMENT |
| LOW | runtime/debug/debug.go | 1 | // Package debug defines useful profiling utils that came originally with go-ethereum. | COMMENT |
| LOW | hack/update-lighthouse.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/update-go-spectest.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/upload-github-release-asset.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/build_and_upload_docker.sh | 21 | //cmd/validator:push_oci_image \ | COMMENT |
| LOW | hack/check-bazel-drift.sh | 81 | # is the known-benign protoc version header change between this Bazel output | COMMENT |
| LOW | encoding/ssz/equality/deep_equal.go | 21 | var protoMessageType = reflect.TypeFor[proto.Message]() | COMMENT |
| LOW | encoding/ssz/equality/deep_equal.go | 281 | // | COMMENT |
| LOW | encoding/ssz/equality/deep_equal.go | 301 | // if they are equal using Go's == operator. | COMMENT |
| LOW | encoding/ssz/query/proof_collector.go | 21 | fastssz "github.com/prysmaticlabs/fastssz" | COMMENT |
| LOW | encoding/ssz/query/proof_collector.go | 161 | // of visited nodes. | COMMENT |
| LOW | encoding/ssz/query/proof_collector.go | 241 | // | COMMENT |
| LOW | encoding/ssz/query/proof_collector.go | 301 | // Proof collection: merkleize() is called for composite elements; merkleizeVectorAndCollect collects required siblings | COMMENT |
| LOW | encoding/ssz/query/proof_collector.go | 361 | if err := g.Wait(); err != nil { | COMMENT |
| LOW | encoding/ssz/query/proof_collector.go | 461 | COMMENT | |
| LOW | encoding/ssz/query/proof_collector.go | 521 | // merkleizeBitlist computes the Merkle root of an SSZ bitlist by merkleizing its data chunks and mixing in the bit leng | COMMENT |
| LOW | encoding/ssz/query/proof_collector.go | 601 | pc.collectSibling(gindex, elements[idx]) | COMMENT |
| LOW | beacon-chain/core/blocks/header.go | 21 | // | COMMENT |
| LOW | beacon-chain/core/blocks/header.go | 61 | // Verify proposer signature. | COMMENT |
| LOW | beacon-chain/core/blocks/header.go | 81 | // # Verify that the block is newer than latest block header | COMMENT |
| LOW | beacon-chain/core/blocks/withdrawals.go | 61 | // validator = state.validators[address_change.validator_index] | COMMENT |
| LOW | beacon-chain/core/blocks/withdrawals.go | 121 | } | COMMENT |
| LOW | beacon-chain/core/blocks/withdrawals.go | 141 | // # Update the next withdrawal index if this block contained withdrawals | COMMENT |
| LOW | beacon-chain/core/blocks/attester_slashing.go | 21 | // on each processed beacon block to slash attesters based on | COMMENT |
| LOW | beacon-chain/core/blocks/attester_slashing.go | 181 | // def is_slashable_attestation_data(data_1: AttestationData, data_2: AttestationData) -> bool: | COMMENT |
| LOW | beacon-chain/core/blocks/proposer_slashing.go | 21 | var ErrCouldNotVerifyBlockHeader = errors.New("could not verify beacon block header") | COMMENT |
| LOW | beacon-chain/core/blocks/attestation.go | 241 | COMMENT | |
| LOW | beacon-chain/core/blocks/payload.go | 181 | // | COMMENT |
| LOW | beacon-chain/core/blocks/exit.go | 21 | COMMENT | |
| LOW | beacon-chain/core/blocks/exit.go | 81 | } | COMMENT |
| 287 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/specs-checker/data/specs/phase0/weak-subjectivity.md | 2 | def compute_weak_subjectivity_period(state: BeaconState) -> uint64: | CODE |
| LOW | …s/specs-checker/data/specs/phase0/weak-subjectivity.md | 35 | def is_within_weak_subjectivity_period(store: Store, ws_state: BeaconState, ws_checkpoint: Checkpoint) -> bool: | CODE |
| LOW⚡ | tools/specs-checker/data/specs/phase0/beacon-chain.md | 522 | def get_matching_source_attestations(state: BeaconState, epoch: Epoch) -> Sequence[PendingAttestation]: | CODE |
| LOW⚡ | tools/specs-checker/data/specs/phase0/beacon-chain.md | 527 | def get_matching_target_attestations(state: BeaconState, epoch: Epoch) -> Sequence[PendingAttestation]: | CODE |
| LOW⚡ | tools/specs-checker/data/specs/phase0/beacon-chain.md | 534 | def get_matching_head_attestations(state: BeaconState, epoch: Epoch) -> Sequence[PendingAttestation]: | CODE |
| LOW⚡ | tools/specs-checker/data/specs/phase0/beacon-chain.md | 541 | def get_unslashed_attesting_indices(state: BeaconState, | CODE |
| LOW⚡ | tools/specs-checker/data/specs/phase0/beacon-chain.md | 819 | def process_randao_mixes_reset(state: BeaconState) -> None: | CODE |
| LOW⚡ | tools/specs-checker/data/specs/phase0/beacon-chain.md | 826 | def process_historical_roots_update(state: BeaconState) -> None: | CODE |
| LOW⚡ | tools/specs-checker/data/specs/phase0/beacon-chain.md | 834 | def process_participation_record_updates(state: BeaconState) -> None: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 35 | def is_eligible_for_activation_queue(validator: Validator) -> bool: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 45 | def is_eligible_for_activation(state: BeaconState, validator: Validator) -> bool: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 64 | def is_slashable_attestation_data(data_1: AttestationData, data_2: AttestationData) -> bool: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 76 | def is_valid_indexed_attestation(state: BeaconState, indexed_attestation: IndexedAttestation) -> bool: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 164 | def compute_start_slot_at_epoch(epoch: Epoch) -> Slot: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 171 | def compute_activation_exit_epoch(epoch: Epoch) -> Epoch: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 257 | def get_active_validator_indices(state: BeaconState, epoch: Epoch) -> Sequence[ValidatorIndex]: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 264 | def get_validator_churn_limit(state: BeaconState) -> uint64: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 280 | def get_committee_count_per_slot(state: BeaconState, epoch: Epoch) -> uint64: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 304 | def get_beacon_proposer_index(state: BeaconState) -> ValidatorIndex: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 557 | def process_justification_and_finalization(state: BeaconState) -> None: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 570 | def weigh_justification_and_finalization(state: BeaconState, | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 626 | def get_eligible_validator_indices(state: BeaconState) -> Sequence[ValidatorIndex]: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 634 | def get_attestation_component_deltas(state: BeaconState, | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 684 | def get_inclusion_delay_deltas(state: BeaconState) -> Tuple[Sequence[Gwei], Sequence[Gwei]]: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 704 | def get_inactivity_penalty_deltas(state: BeaconState) -> Tuple[Sequence[Gwei], Sequence[Gwei]]: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 748 | def process_rewards_and_penalties(state: BeaconState) -> None: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 799 | def process_effective_balance_updates(state: BeaconState) -> None: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 902 | def process_proposer_slashing(state: BeaconState, proposer_slashing: ProposerSlashing) -> None: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 924 | def process_attester_slashing(state: BeaconState, attester_slashing: AttesterSlashing) -> None: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/beacon-chain.md | 968 | def get_validator_from_deposit(state: BeaconState, deposit: Deposit) -> Validator: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/fork-choice.md | 28 | def compute_slots_since_epoch_start(slot: Slot) -> int: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/fork-choice.md | 43 | def get_latest_attesting_balance(store: Store, root: Root) -> Gwei: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/fork-choice.md | 116 | def should_update_justified_checkpoint(store: Store, new_justified_checkpoint: Checkpoint) -> bool: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/fork-choice.md | 162 | def store_target_checkpoint_state(store: Store, target: Checkpoint) -> None: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/validator.md | 2 | def check_if_validator_active(state: BeaconState, validator_index: ValidatorIndex) -> bool: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/validator.md | 98 | def get_attestation_signature(state: BeaconState, attestation_data: AttestationData, privkey: int) -> BLSSignature: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/validator.md | 104 | def compute_subnet_for_attestation(committees_per_slot: uint64, slot: Slot, committee_index: CommitteeIndex) -> uint64: | CODE |
| LOW | tools/specs-checker/data/specs/phase0/validator.md | 143 | def get_aggregate_and_proof_signature(state: BeaconState, | CODE |
| LOW | tools/specs-checker/data/ssz/merkle-proofs.md | 123 | def concat_generalized_indices(*indices: GeneralizedIndex) -> GeneralizedIndex: | CODE |
| LOW⚡ | tools/specs-checker/data/ssz/merkle-proofs.md | 134 | def get_generalized_index_length(index: GeneralizedIndex) -> int: | CODE |
| LOW⚡ | tools/specs-checker/data/ssz/merkle-proofs.md | 141 | def get_generalized_index_bit(index: GeneralizedIndex, position: int) -> bool: | CODE |
| LOW⚡ | tools/specs-checker/data/ssz/merkle-proofs.md | 148 | def generalized_index_sibling(index: GeneralizedIndex) -> GeneralizedIndex: | CODE |
| LOW | tools/specs-checker/data/ssz/merkle-proofs.md | 211 | def calculate_multi_merkle_root(leaves: Sequence[Bytes32], | CODE |
| LOW | beacon-chain/core/blocks/withdrawals.go | 59 | // def process_bls_to_execution_change(state: BeaconState, signed_address_change: SignedBLSToExecutionChange) -> None: | COMMENT |
| LOW | beacon-chain/core/blocks/attester_slashing.go | 26 | // def process_attester_slashing(state: BeaconState, attester_slashing: AttesterSlashing) -> None: | COMMENT |
| LOW | beacon-chain/core/blocks/attester_slashing.go | 181 | // def is_slashable_attestation_data(data_1: AttestationData, data_2: AttestationData) -> bool: | COMMENT |
| LOW | beacon-chain/core/blocks/proposer_slashing.go | 29 | // def process_proposer_slashing(state: BeaconState, proposer_slashing: ProposerSlashing) -> None: | COMMENT |
| LOW | beacon-chain/core/blocks/attestation.go | 246 | // def is_valid_indexed_attestation(state: BeaconState, indexed_attestation: IndexedAttestation) -> bool: | COMMENT |
| LOW | beacon-chain/core/blocks/payload.go | 30 | // def is_merge_transition_complete(state: BeaconState) -> bool: | COMMENT |
| LOW | beacon-chain/core/blocks/payload.go | 183 | // def process_execution_payload(state: BeaconState, payload: ExecutionPayload, execution_engine: ExecutionEngine) -> No | COMMENT |
| LOW | beacon-chain/core/electra/validator.go | 17 | // def switch_to_compounding_validator(state: BeaconState, index: ValidatorIndex) -> None: | COMMENT |
| LOW | beacon-chain/core/electra/validator.go | 42 | // def queue_excess_active_balance(state: BeaconState, index: ValidatorIndex) -> None: | COMMENT |
| LOW | beacon-chain/core/electra/validator.go | 87 | // def queue_entire_balance_and_reset_validator(state: BeaconState, index: ValidatorIndex) -> None: | COMMENT |
| LOW | beacon-chain/core/electra/deposits.go | 162 | // def is_valid_deposit_signature(pubkey: BLSPubkey, withdrawal_credentials: Bytes32, amount: uint64, signature: BLSSign | COMMENT |
| LOW | beacon-chain/core/electra/deposits.go | 470 | // def add_validator_to_registry(state: BeaconState, pubkey: BLSPubkey, withdrawal_credentials: Bytes32, amount: uint64) | COMMENT |
| LOW | beacon-chain/core/electra/deposits.go | 508 | // def get_validator_from_deposit(pubkey: BLSPubkey, withdrawal_credentials: Bytes32, amount: uint64) -> Validator: | COMMENT |
| LOW | beacon-chain/core/electra/effective_balance_updates.go | 15 | // def process_effective_balance_updates(state: BeaconState) -> None: | COMMENT |
| LOW | beacon-chain/core/electra/churn.go | 18 | // def compute_consolidation_epoch_and_update_churn(state: BeaconState, consolidation_balance: Gwei) -> Epoch: | COMMENT |
| LOW | beacon-chain/core/electra/consolidations.go | 22 | // def process_pending_consolidations(state: BeaconState) -> None: | COMMENT |
| LOW | beacon-chain/core/electra/consolidations.go | 97 | // def is_valid_switch_to_compounding_request( | COMMENT |
| 400 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …tor/client/beacon-api/submit_signed_aggregate_proof.go | 34 | attestationDataRoot, err := in.SignedAggregateAndProof.Message.Aggregate.Data.HashTreeRoot() | CODE |
| CRITICAL | …tor/client/beacon-api/submit_signed_aggregate_proof.go | 61 | attestationDataRoot, err := in.SignedAggregateAndProof.Message.Aggregate.Data.HashTreeRoot() | CODE |
| CRITICAL | testing/util/lightclient.go | 225 | signatureBlock.Block.Body.SyncAggregate.SyncCommitteeBits.SetBitAt(i, true) | CODE |
| CRITICAL | testing/util/lightclient.go | 366 | signatureBlock.Block.Body.SyncAggregate.SyncCommitteeBits.SetBitAt(i, true) | CODE |
| CRITICAL | testing/util/lightclient.go | 397 | signatureBlock.Block.Body.SyncAggregate.SyncCommitteeBits.SetBitAt(i, true) | CODE |
| CRITICAL | testing/util/lightclient.go | 543 | signatureBlock.Block.Body.SyncAggregate.SyncCommitteeBits.SetBitAt(i, true) | CODE |
| CRITICAL | testing/util/lightclient.go | 574 | signatureBlock.Block.Body.SyncAggregate.SyncCommitteeBits.SetBitAt(i, true) | CODE |
| CRITICAL | testing/util/lightclient.go | 721 | signatureBlock.Message.Body.SyncAggregate.SyncCommitteeBits.SetBitAt(i, true) | CODE |
| CRITICAL | testing/util/lightclient.go | 752 | signatureBlock.Block.Body.SyncAggregate.SyncCommitteeBits.SetBitAt(i, true) | CODE |
| CRITICAL | testing/util/lightclient.go | 899 | signatureBlock.Message.Body.SyncAggregate.SyncCommitteeBits.SetBitAt(i, true) | CODE |
| CRITICAL | testing/util/lightclient.go | 930 | signatureBlock.Block.Body.SyncAggregate.SyncCommitteeBits.SetBitAt(i, true) | CODE |
| CRITICAL | testing/util/lightclient.go | 1077 | signatureBlock.Message.Body.SyncAggregate.SyncCommitteeBits.SetBitAt(i, true) | CODE |
| CRITICAL | testing/util/lightclient.go | 1108 | signatureBlock.Block.Body.SyncAggregate.SyncCommitteeBits.SetBitAt(i, true) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/analyzers/properpermissions/analyzer.go | 4 | // to utilize shared/file as the canonical solution. | COMMENT |
| MEDIUM | tools/keystores/main.go | 253 | // then utilize the public key directly from the private key. | COMMENT |
| MEDIUM | validator/keymanager/local/import.go | 152 | // then utilize the public key directly from the private key. | COMMENT |
| MEDIUM | hack/update-lighthouse.sh | 12 | # For each target-triple the e2e harness supports, the matching release asset is | COMMENT |
| MEDIUM | encoding/ssz/helpers.go | 52 | // BitwiseMerkleize - given ordered BYTES_PER_CHUNK-byte chunks, if necessary utilize | COMMENT |
| MEDIUM | beacon-chain/core/signing/signing_root.go | 202 | // utilize custom block hashing function | COMMENT |
| MEDIUM | beacon-chain/core/helpers/shuffle.go | 22 | // We utilize 'swap or not' shuffling in this implementation; we are allocating the memory with the seed that stays | COMMENT |
| MEDIUM | beacon-chain/core/helpers/shuffle.go | 124 | // We utilize 'swap or not' shuffling in this implementation; we are allocating the memory with the seed that stays | COMMENT |
| MEDIUM | beacon-chain/p2p/topics.go | 99 | // and it uses strings in order to leverage golangs string interning for memory efficiency. | COMMENT |
| MEDIUM | beacon-chain/slasher/params.go | 11 | // To properly access the element at epoch `e` for a validator index `i`, we leverage helper | COMMENT |
| MEDIUM | beacon-chain/sync/initial-sync/blocks_fetcher_utils.go | 70 | // data anyway, so code that relies on this function must be robust enough to re-request, if no progress | COMMENT |
| MEDIUM | beacon-chain/rpc/eth/events/events_test.go | 1286 | // level (rather than an exact message) keeps the guard robust if the message is reworded. | COMMENT |
| MEDIUM | testing/endtoend/evaluators/builder.go | 91 | // since they both utilize the same EL. | COMMENT |
| MEDIUM | testing/endtoend/evaluators/builder.go | 139 | // since they both utilize the same EL. | COMMENT |
| MEDIUM | testing/endtoend/kurtosis/playbooks/metrics.yaml | 11 | # Overridden at schedule time by the Go harness (see RegisterPlaybooks). | COMMENT |
| MEDIUM | …/kurtosis/playbooks/validators-sync-participation.yaml | 11 | # Overridden at schedule time by the Go harness (see RegisterPlaybooks). | COMMENT |
| MEDIUM | …ndtoend/kurtosis/playbooks/network-health-monitor.yaml | 18 | # Overridden at schedule time by the Go harness (see RegisterPlaybooks). | COMMENT |
| MEDIUM | …ing/endtoend/kurtosis/playbooks/validators-active.yaml | 12 | # Overridden at schedule time by the Go harness (see RegisterPlaybooks). | COMMENT |
| MEDIUM | .github/workflows/go.yml | 85 | # fuzz leverage go tag based stubs at compile time. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | validator/rpc/handlers_auth_test.go | 18 | // Step 1: Create a temporary directory | COMMENT |
| LOW⚡ | validator/rpc/handlers_auth_test.go | 21 | // Step 2: Optionally create a temporary 'auth-token' file | COMMENT |
| LOW⚡ | validator/rpc/handlers_auth_test.go | 39 | // Step 4: Create an HTTP request and response recorder | COMMENT |
| LOW⚡ | validator/rpc/handlers_auth_test.go | 43 | // Step 5: Call the Initialize function | COMMENT |
| LOW⚡ | validator/rpc/handlers_auth_test.go | 48 | // Step 6: Assert expectations | COMMENT |
| LOW | validator/client/wait_for_activation.go | 30 | // Step 1: Fetch validating public keys. | COMMENT |
| LOW⚡ | validator/client/wait_for_activation.go | 41 | // Step 2: If no keys, wait for accounts change or context cancellation. | COMMENT |
| LOW⚡ | validator/client/wait_for_activation.go | 51 | // Step 3: update validator statuses in cache, waiting out a broken connection. | COMMENT |
| LOW⚡ | validator/client/wait_for_activation.go | 64 | // Step 4: Check and log validator statuses. | COMMENT |
| LOW⚡ | validator/client/wait_for_activation.go | 69 | // Step 5: If no active validators, wait for accounts change, context cancellation, or next epoch. | COMMENT |
| LOW | encoding/ssz/query/proof_collector.go | 273 | // Step 1: Compute HTR for each subtree (field) | COMMENT |
| LOW | encoding/ssz/query/proof_collector.go | 290 | // Step 2: Merkleize the field hashes into the container root, | COMMENT |
| LOW | beacon-chain/cache/attestation.go | 238 | // NOTE: This function cannot be declared as a method on the AttestationCache because it is a generic function. | COMMENT |
| LOW | beacon-chain/state/fieldtrie/doc.md | 186 | // Step 1: Create a new field trie (owned mode). | COMMENT |
| LOW | beacon-chain/state/fieldtrie/doc.md | 212 | // Step 2: Compute the root of the trie (read-only). | COMMENT |
| LOW | beacon-chain/state/fieldtrie/doc.md | 226 | // Step 3: Copy the trie (lightweight, reference-shared copy). | COMMENT |
| LOW | beacon-chain/state/fieldtrie/doc.md | 236 | // Step 4: Recompute trieB with changed elements. | COMMENT |
| LOW | beacon-chain/state/fieldtrie/doc.md | 267 | // Step 5: GC trieB — one of the two original shared handles. | COMMENT |
| LOW | beacon-chain/state/fieldtrie/doc.md | 279 | // Step 6: GC trieC — the overlay is released. | COMMENT |
| LOW | beacon-chain/state/fieldtrie/doc.md | 297 | // Step 7: Recompute trieA in place (not shared anymore). | COMMENT |
| LOW | beacon-chain/state/fieldtrie/doc.md | 313 | // Step 8: GC trieA — final cleanup. | COMMENT |
| LOW | beacon-chain/state/fieldtrie/field_trie_test.go | 788 | // Step 1: Fork into an overlay with 3 leaf overrides (at the threshold, not above). | COMMENT |
| LOW | beacon-chain/state/fieldtrie/field_trie_test.go | 801 | // Step 2: Add 1 more override via recomputeOverlay. The check (len(levels[0]) > 3) | COMMENT |
| LOW | beacon-chain/state/fieldtrie/field_trie_test.go | 813 | // Step 3: Now len(levels[0]) = 4 > 3, which triggers promoteOverlay. | COMMENT |
| LOW | …acon-chain/forkchoice/doubly-linked-tree/gloas_test.go | 2125 | // Step 1: Validator attests for block B at slot 100 (same slot as block) with payloadStatus=false. | COMMENT |
| LOW⚡ | …acon-chain/forkchoice/doubly-linked-tree/gloas_test.go | 2137 | // Step 2: Validator re-attests for the same block B but at slot 140 (new epoch, different slot). | COMMENT |
| LOW⚡ | …acon-chain/forkchoice/doubly-linked-tree/gloas_test.go | 2143 | // Step 3: updateBalances should detect the slot change and reprocess. | COMMENT |
| LOW⚡ | …acon-chain/forkchoice/doubly-linked-tree/gloas_test.go | 2151 | // Step 4: Validator switches vote to block C at slot 101. | COMMENT |
| LOW | beacon-chain/sync/initial-sync/round_robin.go | 38 | // Step 1 - Sync to finalized epoch. | COMMENT |
| LOW | beacon-chain/sync/initial-sync/round_robin.go | 41 | // Step 2 - Sync to head from finalized epoch. | COMMENT |
| LOW | beacon-chain/sync/initial-sync/round_robin.go | 52 | // Step 1 - Sync to end of finalized epoch. | COMMENT |
| LOW | beacon-chain/sync/initial-sync/round_robin.go | 62 | // Step 2 - sync to head from majority of peers (from no less than MinimumSyncPeers*2 peers) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | config/params/testdata/e2e_config.yaml | 9 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | config/params/testdata/e2e_config.yaml | 19 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | config/params/testdata/e2e_config.yaml | 31 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | config/params/testdata/e2e_config.yaml | 60 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | config/params/testdata/e2e_config.yaml | 78 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/params/testdata/e2e_config.yaml | 92 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/params/testdata/e2e_config.yaml | 98 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/params/testdata/e2e_config.yaml | 106 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/params/testdata/e2e_config.yaml | 116 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/params/testdata/e2e_config.yaml | 124 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/params/testdata/e2e_config.yaml | 129 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/params/testdata/e2e_config.yaml | 136 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | hack/upgrade-version.sh | 25 | # ==================== | COMMENT |
| MEDIUM | hack/build_and_upload_docker.sh | 3 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | hack/build_and_upload_docker.sh | 8 | # ----------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | validator/rpc/handlers_auth_test.go | 18 | // Step 1: Create a temporary directory | COMMENT |
| LOW⚡ | validator/rpc/handlers_auth_test.go | 21 | // Step 2: Optionally create a temporary 'auth-token' file | COMMENT |
| LOW⚡ | validator/rpc/handlers_auth_test.go | 39 | // Step 4: Create an HTTP request and response recorder | COMMENT |
| LOW⚡ | validator/rpc/handlers_auth_test.go | 43 | // Step 5: Call the Initialize function | COMMENT |
| LOW⚡ | validator/rpc/handlers_auth_test.go | 48 | // Step 6: Assert expectations | COMMENT |
| LOW | validator/client/wait_for_activation.go | 30 | // Step 1: Fetch validating public keys. | COMMENT |
| LOW⚡ | validator/client/wait_for_activation.go | 41 | // Step 2: If no keys, wait for accounts change or context cancellation. | COMMENT |
| LOW⚡ | validator/client/wait_for_activation.go | 51 | // Step 3: update validator statuses in cache, waiting out a broken connection. | COMMENT |
| LOW⚡ | validator/client/wait_for_activation.go | 64 | // Step 4: Check and log validator statuses. | COMMENT |
| LOW⚡ | validator/client/wait_for_activation.go | 69 | // Step 5: If no active validators, wait for accounts change, context cancellation, or next epoch. | COMMENT |
| LOW | encoding/ssz/query/proof_collector.go | 273 | // Step 1: Compute HTR for each subtree (field) | COMMENT |
| LOW | encoding/ssz/query/proof_collector.go | 290 | // Step 2: Merkleize the field hashes into the container root, | COMMENT |
| LOW | beacon-chain/state/fieldtrie/field_trie_test.go | 788 | // Step 1: Fork into an overlay with 3 leaf overrides (at the threshold, not above). | COMMENT |
| LOW | beacon-chain/state/fieldtrie/field_trie_test.go | 801 | // Step 2: Add 1 more override via recomputeOverlay. The check (len(levels[0]) > 3) | COMMENT |
| LOW | beacon-chain/state/fieldtrie/field_trie_test.go | 813 | // Step 3: Now len(levels[0]) = 4 > 3, which triggers promoteOverlay. | COMMENT |
| LOW | …acon-chain/forkchoice/doubly-linked-tree/gloas_test.go | 2125 | // Step 1: Validator attests for block B at slot 100 (same slot as block) with payloadStatus=false. | COMMENT |
| LOW⚡ | …acon-chain/forkchoice/doubly-linked-tree/gloas_test.go | 2137 | // Step 2: Validator re-attests for the same block B but at slot 140 (new epoch, different slot). | COMMENT |
| LOW⚡ | …acon-chain/forkchoice/doubly-linked-tree/gloas_test.go | 2143 | // Step 3: updateBalances should detect the slot change and reprocess. | COMMENT |
| LOW⚡ | …acon-chain/forkchoice/doubly-linked-tree/gloas_test.go | 2151 | // Step 4: Validator switches vote to block C at slot 101. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | beacon-chain/core/electra/deposits.go | 214 | // # Check if deposit has been finalized, otherwise, stop processing. | COMMENT |
| LOW | beacon-chain/core/electra/deposits.go | 218 | // # Check if number of processed deposits has not reached the limit, otherwise, stop processing. | COMMENT |
| LOW | beacon-chain/core/electra/deposits.go | 238 | // # Check if deposit fits in the churn, otherwise, do no more deposit processing in this epoch. | COMMENT |
| LOW⚡ | beacon-chain/blockchain/pow_block.go | 34 | // # Check if `pow_block` is available | COMMENT |
| LOW⚡ | beacon-chain/blockchain/pow_block.go | 37 | // # Check if `pow_parent` is available | COMMENT |
| LOW⚡ | beacon-chain/blockchain/pow_block.go | 39 | // # Check if `pow_block` is a valid terminal PoW block | COMMENT |
| LOW⚡ | specrefs/functions.yml | 8899 | # Check if blob data is available | COMMENT |
| LOW⚡ | specrefs/functions.yml | 8909 | # Check if this payload satisfies the inclusion list constraints | COMMENT |
| LOW⚡ | specrefs/functions.yml | 16691 | # Check if `pow_block` is available | COMMENT |
| LOW⚡ | specrefs/functions.yml | 16694 | # Check if `pow_parent` is available | COMMENT |
| LOW⚡ | specrefs/functions.yml | 16696 | # Check if `pow_block` is a valid terminal PoW block | COMMENT |
| LOW | specrefs/functions.yml | 7069 | # Check if the confirmed_root has current_epoch_observed_justified_checkpoint in its chain | COMMENT |
| LOW | specrefs/functions.yml | 8705 | # Check if blob data is available | COMMENT |
| LOW | specrefs/functions.yml | 8767 | # Check if blob data is available | COMMENT |
| LOW | specrefs/functions.yml | 8872 | # Check if blob data is available | COMMENT |
| LOW | specrefs/functions.yml | 11281 | # Check if deposit has been finalized, otherwise, stop processing. | COMMENT |
| LOW | specrefs/functions.yml | 11285 | # Check if number of processed deposits has not reached the limit, otherwise, stop processing. | COMMENT |
| LOW | specrefs/functions.yml | 11305 | # Check if deposit fits in the churn, otherwise, do no more deposit processing in this epoch. | COMMENT |
| LOW | specrefs/functions.yml | 11342 | # Check if deposit has been finalized, otherwise, stop processing. | COMMENT |
| LOW | specrefs/functions.yml | 11346 | # Check if number of processed deposits has not reached the limit, otherwise, stop processing. | COMMENT |
| LOW | specrefs/functions.yml | 11366 | # Check if deposit fits in the churn, otherwise, do no more deposit processing in this epoch. | COMMENT |
| LOW | specrefs/functions.yml | 11403 | # Check if deposit has been finalized, otherwise, stop processing. | COMMENT |
| LOW | specrefs/functions.yml | 11407 | # Check if number of processed deposits has not reached the limit, otherwise, stop processing. | COMMENT |
| LOW | specrefs/functions.yml | 11427 | # Check if deposit fits in the churn, otherwise, do no more deposit processing in this epoch. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | validator/package/preinst.sh | 7 | # Create the service account, if needed | COMMENT |
| MEDIUM | beacon-chain/package/preinst.sh | 7 | # Create the service account, if needed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | testing/assertions/assertions_test.go | 922 | Email: "foo@bar.com", | CODE |
| LOW | testing/assertions/assertions_test.go | 943 | Email: "foo@bar.com", | CODE |
| LOW | api/redact_test.go | 17 | endpoint: "https://eth:fake-token-not-real@bn-lodestar.example.io", | CODE |
| LOW | api/redact_test.go | 37 | endpoint: "eth:fake-token-not-real@127.0.0.1:4000", | CODE |
| LOW | api/redact_test.go | 71 | endpoints: "https://eth:fake-token-not-real@bn-lodestar.example.io", | CODE |
| LOW | api/rest/rest_handler_test.go | 22 | const secret = "fake-token-not-real" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/exploredb/main.go | 139 | // don't forget to close it when ejecting out of this function. | COMMENT |
| LOW | tools/exploredb/main.go | 399 | // don't forget to close it when ejecting out of this function. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/update-lighthouse.sh | 8 | # Usage: | COMMENT |
| LOW | beacon-chain/rpc/prysm/beacon/validator_count.go | 31 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | beacon-chain/confirmation/confirmation_test.go | 15 | // mockForkchoiceReader is a minimal mock of ForkchoiceReader for scaffold tests. | COMMENT |