Repository Analysis

hyperledger/fabric

Hyperledger Fabric is an enterprise-grade permissioned distributed ledger framework for developing solutions and applications. Its modular and versatile design satisfies a broad range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy.

1.6 Likely human-written View on GitHub
1.6
Adjusted Score
1.6
Raw Score
100%
Time Factor
2026-05-28
Last Push
16,649
Stars
Go
Language
488,069
Lines of Code
1981
Files
498
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 105LOW 393

Pattern Findings

498 matches across 4 categories. Click a row to expand file-level details.

Decorative Section Separators90 hits · 377 pts
SeverityFileLineSnippet
MEDIUMcmd/cryptogen/main.go88# ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go90# ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go92 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go94 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go99 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go101 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go105# ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go107# ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go109 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go111 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go116 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go118 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go121 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go182 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go191 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go193 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go196 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go201 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go203 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go132 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go134 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go156 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go169 # ---------------------------------------------------------------------------
MEDIUMcmd/cryptogen/main.go171 # ---------------------------------------------------------------------------
MEDIUMvagrant/golang.sh10# ----------------------------------------------------------------
MEDIUMvagrant/golang.sh12# ----------------------------------------------------------------
MEDIUMvagrant/golang.sh17# ----------------------------------------------------------------
MEDIUMvagrant/golang.sh19# ----------------------------------------------------------------
MEDIUMvagrant/softhsm.sh9# ----------------------------------------------------------------
MEDIUMvagrant/softhsm.sh11# ----------------------------------------------------------------
MEDIUMvagrant/softhsm.sh14# ----------------------------------------------------------------
MEDIUMvagrant/softhsm.sh16# ----------------------------------------------------------------
MEDIUMvagrant/softhsm.sh20# ----------------------------------------------------------------
MEDIUMvagrant/softhsm.sh22# ----------------------------------------------------------------
MEDIUMvagrant/user.sh7# ----------------------------------------------------------------
MEDIUMvagrant/user.sh9# ----------------------------------------------------------------
MEDIUMvagrant/limits.sh7# ----------------------------------------------------------------
MEDIUMvagrant/limits.sh9# ----------------------------------------------------------------
MEDIUMvagrant/essentials.sh9# ----------------------------------------------------------------
MEDIUMvagrant/essentials.sh11# ----------------------------------------------------------------
MEDIUMvagrant/essentials.sh14# ----------------------------------------------------------------
MEDIUMvagrant/essentials.sh16# ----------------------------------------------------------------
MEDIUMvagrant/docker.sh9# ----------------------------------------------------------------
MEDIUMvagrant/docker.sh11# ----------------------------------------------------------------
MEDIUMvagrant/docker.sh15# ----------------------------------------------------------------
MEDIUMvagrant/docker.sh17# ----------------------------------------------------------------
MEDIUMdiscovery/test/testdata/crypto-config.yaml6# ---------------------------------------------------------------------------
MEDIUMdiscovery/test/testdata/crypto-config.yaml8# ---------------------------------------------------------------------------
MEDIUMdiscovery/test/testdata/crypto-config.yaml10 # ---------------------------------------------------------------------------
MEDIUMdiscovery/test/testdata/crypto-config.yaml12 # ---------------------------------------------------------------------------
MEDIUMdiscovery/test/testdata/crypto-config.yaml15 # ---------------------------------------------------------------------------
MEDIUMdiscovery/test/testdata/crypto-config.yaml17 # ---------------------------------------------------------------------------
MEDIUMdiscovery/test/testdata/crypto-config.yaml21# ---------------------------------------------------------------------------
MEDIUMdiscovery/test/testdata/crypto-config.yaml23# ---------------------------------------------------------------------------
MEDIUMdiscovery/test/testdata/crypto-config.yaml25 # ---------------------------------------------------------------------------
MEDIUMdiscovery/test/testdata/crypto-config.yaml27 # ---------------------------------------------------------------------------
MEDIUMdiscovery/test/testdata/crypto-config.yaml31 # ---------------------------------------------------------------------------
MEDIUMdiscovery/test/testdata/crypto-config.yaml33 # ---------------------------------------------------------------------------
MEDIUMdiscovery/test/testdata/crypto-config.yaml46 # ---------------------------------------------------------------------------
MEDIUMdiscovery/test/testdata/crypto-config.yaml52 # ---------------------------------------------------------------------------
30 more matches not shown…
Over-Commented Block393 hits · 372 pts
SeverityFileLineSnippet
LOW.readthedocs.yaml21 configuration: docs/source/conf.py
LOWcmd/cryptogen/main.go101 # ---------------------------------------------------------------------------
LOWcmd/cryptogen/main.go121 # ---------------------------------------------------------------------------
LOWcmd/cryptogen/main.go141 # the CN. By default, this is the template:
LOWcmd/cryptogen/main.go161 # - "bar.{{.Domain}}"
LOWcmd/cryptogen/main.go181 # name collisions
LOWsampleconfig/configtx.yaml1# Copyright IBM Corp. All Rights Reserved.
LOWsampleconfig/configtx.yaml21# in the configuration profiles.
LOWsampleconfig/configtx.yaml81# concept as of v1.1.0 and should not be utilized in mixed networks with
LOWsampleconfig/configtx.yaml101 # determined to be desired for all orderers and peers running at the v3.0.0
LOWsampleconfig/configtx.yaml121 # Set the value of the capability to true to require it.
LOWsampleconfig/configtx.yaml141 # (e.g., "GetBlockByNumber" on the "qscc" system chaincode) or other resources
LOWsampleconfig/configtx.yaml241 # Capabilities describes the application level capabilities, see the
LOWsampleconfig/configtx.yaml261 # Addresses used to be the list of orderer addresses that clients and peers
LOWsampleconfig/configtx.yaml281 MaxMessageCount: 500
LOWsampleconfig/configtx.yaml421################################################################################
LOWsampleconfig/configtx.yaml441 Rule: "ANY Writers"
LOWsampleconfig/core.yaml1# Copyright IBM Corp. All Rights Reserved.
LOWsampleconfig/core.yaml21 # By default, it will listen on all network interfaces
LOWsampleconfig/core.yaml41 address: 0.0.0.0:7051
LOWsampleconfig/core.yaml61
LOWsampleconfig/core.yaml81 # peer nodes before closing the connection
LOWsampleconfig/core.yaml101 bootstrap: 127.0.0.1:7051
LOWsampleconfig/core.yaml141 # Determines frequency of pull phases(unit: second)
LOWsampleconfig/core.yaml161 recvBuffSize: 20
LOWsampleconfig/core.yaml201 # transientstoreMaxBlockRetention defines the maximum difference between the current ledger's height upon commit,
LOWsampleconfig/core.yaml221 # of the next reconciliation iteration.
LOWsampleconfig/core.yaml241
LOWsampleconfig/core.yaml261 # batchSize the number of blocks to request via state transfer from another peer
LOWsampleconfig/core.yaml281 cert:
LOWsampleconfig/core.yaml301 clientKey:
LOWsampleconfig/core.yaml361 # to match the name of one of the MSPs in each of the channel
LOWsampleconfig/core.yaml401 # to:
LOWsampleconfig/core.yaml421
LOWsampleconfig/core.yaml461 validators:
LOWsampleconfig/core.yaml481 authCacheEnabled: true
LOWsampleconfig/core.yaml501 # gatewayService limits concurrent requests to gateway service that handles the submission and evaluation of trans
LOWsampleconfig/core.yaml541 # Container may be efficiently created using ipam & dns-server for cluster
LOWsampleconfig/core.yaml561
LOWsampleconfig/core.yaml621 # to come through.
LOWsampleconfig/core.yaml661
LOWsampleconfig/core.yaml681 blockchain:
LOWsampleconfig/core.yaml701 # to prevent unintended users from discovering the password.
LOWsampleconfig/core.yaml721 createGlobalChangesDB: false
LOWsampleconfig/core.yaml741 collElgProcDbBatchesInterval: 1000
LOWsampleconfig/core.yaml761 # The path must be an absolute path.
LOWsampleconfig/orderer.yaml1# Copyright IBM Corp. All Rights Reserved.
LOWsampleconfig/orderer.yaml21 # TLS: TLS settings for the GRPC server.
LOWsampleconfig/orderer.yaml41 ClientRootCAs:
LOWsampleconfig/orderer.yaml61 MaxDelay: 2m
LOWsampleconfig/orderer.yaml81 # InactivityTimeout defines the time frame after which
LOWsampleconfig/orderer.yaml101
LOWsampleconfig/orderer.yaml121 # in etcdraft: ignored, (always "simple", regardless of value in config).
LOWsampleconfig/orderer.yaml141 # https://golang.org/pkg/net/http/pprof
LOWsampleconfig/orderer.yaml181 # Authentication contains configuration parameters related to authenticating
LOWsampleconfig/orderer.yaml201# Debug Configuration
LOWsampleconfig/orderer.yaml241
LOWsampleconfig/orderer.yaml261 # the statsd server address
LOWsampleconfig/orderer.yaml301 # Paths to PEM encoded ca certificates to trust for client authentication
LOWsampleconfig/orderer.yaml321#
333 more matches not shown…
AI Slop Vocabulary12 hits · 36 pts
SeverityFileLineSnippet
MEDIUMsampleconfig/configtx.yaml531 # member. It is designed to be used in conjunction with SampleSingleMSPSolo
MEDIUMsampleconfig/core.yaml521 # If you utilize external chaincode builders and don't need the default Docker chaincode builder,
MEDIUMsampleconfig/msp/config.yaml12 # For each identity classification that you would like to utilize, specify
MEDIUMcore/endorser/endorser.go609// ~~TODO utilize a common shorttxid utility across packages.~~
MEDIUMcore/ledger/kvledger/txmgmt/privacyenabledstate/db.go270// penalty if they do not use features that leverage metadata (such as key-level endorsement),
MEDIUMcore/ledger/pvtdatastorage/retroactive_hashed_index.go90 // Here we leverage this opportunity (when we create HashedIndexKeys retroactively) to convert
MEDIUMcore/deliverservice/testdata/core.yaml514 # If you utilize external chaincode builders and don't need the default Docker chaincode builder,
MEDIUMcore/peer/config.go12// variables. This seems to be the most robust way to represent these
MEDIUMinternal/peer/node/start.go1098// computeChaincodeEndpoint will utilize chaincode address, chaincode listen
MEDIUM…ommon/cluster/testdata/blockverification/configtx.yaml547 # member. It is designed to be used in conjunction with SampleSingleMSPSolo
MEDIUM…er/common/cluster/testdata/blockverification/core.yaml521 # If you utilize external chaincode builders and don't need the default Docker chaincode builder,
MEDIUM…mon/cluster/testdata/blockverification/msp/config.yaml9 # For each identity classification that you would like to utilize, specify
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippet
MEDIUMsampleconfig/core.yaml718 # Create the _global_changes system database
MEDIUMcore/deliverservice/testdata/core.yaml702 # Create the _global_changes system database
MEDIUM…er/common/cluster/testdata/blockverification/core.yaml709 # Create the _global_changes system database