160 matches across 8 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 10 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 12 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 83 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 85 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 128 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 131 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 206 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 209 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 292 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 294 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 324 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 327 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 342 | # ============================================================================= |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 466 | # ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 497 | # ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 521 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 573 | # ============================================================================= |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 599 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 601 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 616 | # ============================================================================= |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 646 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 649 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 740 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 742 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 773 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 775 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 807 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 809 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 890 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 892 | ## ============================================================================ |
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 908 | # ============================================================================= |
| MEDIUM | test/sharness/t0109-gateway-web-_redirects.sh | 10 | ## ============================================================================ |
| MEDIUM | test/sharness/t0109-gateway-web-_redirects.sh | 12 | ## ============================================================================ |
| MEDIUM | test/sharness/t0115-gateway-dir-listing.sh | 10 | ## ============================================================================ |
| MEDIUM | test/sharness/t0115-gateway-dir-listing.sh | 12 | ## ============================================================================ |
| MEDIUM | test/sharness/t0115-gateway-dir-listing.sh | 30 | ## ============================================================================ |
| MEDIUM | test/sharness/t0115-gateway-dir-listing.sh | 32 | ## ============================================================================ |
| MEDIUM | test/sharness/t0115-gateway-dir-listing.sh | 68 | ## ============================================================================ |
| MEDIUM | test/sharness/t0115-gateway-dir-listing.sh | 70 | ## ============================================================================ |
| MEDIUM | test/sharness/t0115-gateway-dir-listing.sh | 109 | ## ============================================================================ |
| MEDIUM | test/sharness/t0115-gateway-dir-listing.sh | 111 | ## ============================================================================ |
| MEDIUM | test/sharness/t0115-gateway-dir-listing.sh | 160 | ## ============================================================================ |
| MEDIUM | test/sharness/t0115-gateway-dir-listing.sh | 162 | ## ============================================================================ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | core/node/groups.go | 116 | enableTCPTransport := cfg.Swarm.Transports.Network.TCP.WithDefault(true) |
| CRITICAL | core/node/groups.go | 117 | enableWebsocketTransport := cfg.Swarm.Transports.Network.Websocket.WithDefault(true) |
| CRITICAL | core/node/groups.go | 118 | enableRelayTransport := cfg.Swarm.Transports.Network.Relay.WithDefault(true) // nolint |
| CRITICAL | core/node/bitswap.go | 134 | maxProviders = int(in.Cfg.Internal.Bitswap.ProviderSearchMaxResults.WithDefault(DefaultMaxProviders)) |
| CRITICAL | plugin/plugins/telemetry/telemetry.go | 417 | p.event.ProvideDHTSweepEnabled = p.config.Provide.DHT.SweepEnabled.WithDefault(config.DefaultProvideDHTSweepEnabled) |
| CRITICAL | plugin/plugins/telemetry/telemetry.go | 418 | p.event.ProvideDHTIntervalCustom = !p.config.Provide.DHT.Interval.IsDefault() |
| CRITICAL | plugin/plugins/telemetry/telemetry.go | 419 | p.event.ProvideDHTMaxWorkersCustom = !p.config.Provide.DHT.MaxWorkers.IsDefault() |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tracing/doc.go | 1 | // Package tracing contains the tracing logic for go-ipfs, including configuring the tracer and |
| LOW | tracing/doc.go | 21 | // - OTEL_EXPORTER_OTLP_PROTOCOL |
| LOW | tracing/doc.go | 41 | // a full Jaeger stack and configure Kubo to publish traces to it: |
| LOW | tracing/doc.go | 61 | // |
| LOW | core/core.go | 141 | } |
| LOW | core/builder.go | 21 | type FXNodeInfo struct { |
| LOW | core/builder.go | 141 | // TODO: How soon will bootstrap move to libp2p? |
| LOW | core/corehttp/gateway.go | 281 | }) |
| LOW | core/corehttp/corehttp.go | 81 | // Serve accepts incoming HTTP connections on the listener and passes them |
| LOW | core/coreiface/unixfs.go | 81 | Get(context.Context, path.Path) (files.Node, error) |
| LOW | core/coreiface/unixfs.go | 101 | Ls(context.Context, path.Path, chan<- DirEntry, ...options.UnixfsLsOption) error |
| LOW | core/coreiface/name.go | 21 | // IPNS is a PKI namespace, where names are the hashes of public keys, and the |
| LOW | core/commands/config.go | 161 | return err |
| LOW | core/commands/provide.go | 201 | // seen deduplicates across all roots and recursive walks, so a CID |
| LOW | core/commands/provide.go | 781 | func humanFull(val float64, decimals int) string { |
| LOW | core/commands/refs.go | 221 | var count int |
| LOW | core/commands/dag/import.go | 121 | |
| LOW | core/commands/dag/export.go | 141 | } |
| LOW | core/commands/cmdenv/cidbase.go | 61 | } |
| LOW | core/commands/cmdenv/env.go | 101 | // - If Provide.DHT.SweepEnabled=true or OptimisticProvide=true, we make an |
| LOW | core/commands/cmdenv/env.go | 121 | // - wait: whether to block until provide completes (sync mode) |
| LOW | core/commands/cmdenv/env.go | 201 | // Context handling: |
| LOW | core/node/provider.go | 101 | const consecutiveAlertsThreshold = 3 |
| LOW | core/node/provider.go | 121 | // can happen if the provider is closed or if the node is currently Offline |
| LOW | core/node/provider.go | 141 | // The keys are not deleted from the keystore, so they will continue to be |
| LOW | core/node/provider.go | 661 | // In no-schedule mode the on-disk keystore is never used. If a |
| LOW | core/node/provider.go | 721 | } |
| LOW | core/node/provider.go | 1321 | |
| LOW | core/node/p2pforge_resolver.go | 21 | // falls back to network DNS. This ensures future <peerID>.libp2p.direct records |
| LOW | core/node/libp2p/routingopt.go | 321 | ) |
| LOW | core/node/libp2p/addrs.go | 61 | // `host.Network().InterfaceListenAddresses()`). Without resolution, the |
| LOW | test/ipfs-test-lib.sh | 81 | } |
| LOW | test/sharness/t0051-object.sh | 41 | # only manipulates ProtoNode links without updating UnixFS metadata. |
| LOW | test/sharness/t0095-refs.sh | 1 | #!/usr/bin/env bash |
| LOW | test/sharness/t0095-refs.sh | 21 | # L2- D 1.txt B 2.txt |
| LOW | test/sharness/t0095-refs.sh | 41 | # added QmU6xujRsYzcrkocuR3fhfnkZBB8eyUFFq4WKRGw2aS15h A |
| LOW | test/sharness/t0116-gateway-cache.sh | 1 | #!/usr/bin/env bash |
| LOW | test/sharness/t0114-gateway-subdomains/README.md | 101 | # RSA_IPNS_IDv0=QmVujd5Vb7moysJj8itnGufN7MEtPRCNHkKpNuA4onsRa3 |
| LOW | test/cli/add_test.go | 601 | // createDirectoryForHAMTLinksEstimation creates a directory with the specified number |
| LOW | test/cli/provider_test.go | 1421 | // dagwalker: bloom creation log |
| LOW | test/cli/provider_test.go | 1501 | require.Contains(t, daemonLog, "bloom tracker created") |
| LOW | test/cli/provider_test.go | 1681 | assert.NotContains(t, statRes.Stderr.String(), "stats not available", |
| LOW | test/cli/provider_test.go | 1801 | func dirExists(path string) bool { |
| LOW | test/cli/provider_test.go | 1821 | // closes the keystore. The line-scan below fails on the exact |
| LOW | test/cli/cid_profiles_test.go | 61 | // SmallFileCID is the deterministic CID for "hello world" string. |
| LOW | test/cli/cid_profiles_test.go | 681 | cidLen int |
| LOW | test/cli/dag_layout_test.go | 21 | // |
| LOW | test/cli/pubsub_test.go | 41 | } |
| LOW | test/cli/update_test.go | 161 | t.Parallel() |
| LOW | test/cli/update_test.go | 321 | "binary at %s should contain the extracted archive content", tmpBinPath) |
| LOW | test/cli/update_test.go | 481 | // "ipfs update check" and "ipfs update versions" without touching the |
| LOW | test/cli/block_size_test.go | 21 | twoMiBPlus = twoMiB + 1 // 2097153 |
| LOW | test/cli/block_size_test.go | 201 | t.Run("ipfs add non-raw-leaves", func(t *testing.T) { |
| LOW | test/cli/provide_stats_test.go | 41 | // Tests will naturally fail if upstream removes/renames fields we depend on. |
| LOW | test/cli/fuse/realworld_test.go | 1 | //go:build (linux || darwin || freebsd) && !nofuse |
| LOW | test/cli/harness/log.go | 21 | func (e events) Len() int { return len(e) } |
| LOW | test/cli/autoconf/extensibility_test.go | 21 | // 1. New systems can be added via AutoConf's SystemRegistry |
| LOW | test/cli/autoconf/expand_comprehensive_test.go | 1 | // Package autoconf provides comprehensive tests for --expand-auto functionality. |
| LOW | test/cli/autoconf/expand_comprehensive_test.go | 61 | }) |
| LOW | test/cli/autoconf/expand_comprehensive_test.go | 261 | |
| 36 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/cli/autoconf/autoconf_test.go | 423 | // Step 1: Create bootstrap node (target for connections) |
| LOW | test/cli/autoconf/autoconf_test.go | 443 | // Step 2: Create autoconf server that returns bootstrap node's address |
| LOW | test/cli/autoconf/autoconf_test.go | 466 | // Step 3: Create autoconf-enabled node that should connect to bootstrap node |
| LOW | test/cli/autoconf/autoconf_test.go | 479 | // Step 4: Give time for autoconf resolution and connection attempts |
| LOW | test/cli/autoconf/autoconf_test.go | 482 | // Step 5: Verify both nodes are responsive |
| LOW | test/cli/autoconf/autoconf_test.go | 489 | // Step 6: Verify that autoconf node connected to bootstrap node |
| LOW | test/cli/autoconf/autoconf_test.go | 511 | // Step 7: Verify bootstrap configuration still shows "auto" (not resolved values) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | cmd/ipfs/kubo/daemon.go | 465 | // Private setups can't leverage peers returned by default IPNIs (Routing.Type=auto) |
| MEDIUM | .github/workflows/gotest.yml | 190 | # under the harness temp dir (ipfs/ipns/mfs subdirectories). |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/sharness/t0114-gateway-subdomains.sh | 28 | # Create a raw URL version with IP to ensure hostname from Host header is used |
| MEDIUM | test/sharness/t0250-files-api.sh | 70 | # Create the files in reverse (unsorted) order (`seq 100 -1 1`) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | bin/push-docker-tags.sh | 15 | # Usage: |
| LOW | bin/get-docker-tags.sh | 5 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/commands/log.go | 87 | ipfs log level all info # Set ALL to 'info' (including default) |