← Back to scan
File as GitHub Issue repo: golang/go

Push this scan report to golang/go

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Weak Crypto

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… src/cmd/go/internal/mvs/graph.go:60
HIGH MINED108 [MINED108] `self.invoke_per_goid` used but never assigned in __init__: Method `invoke` of… src/runtime/runtime-gdb.py:635
HIGH MINED108 [MINED108] `self.val` used but never assigned in __init__: Method `invoke` of class `GoLe… src/runtime/runtime-gdb.py:483
HIGH MINED108 [MINED108] `self.len` used but never assigned in __init__: Method `__getitem__` of class … src/runtime/runtime-gdb.py:96
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/crypto/internal/boring/notboring.go:43
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/crypto/internal/boring/hmac.go:41
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/crypto/crypto.go:27
HIGH MINED014 [MINED014] Disabled Tls Verify: verify=False in requests, rejectUnauthorized:false in nod… src/cmd/pprof/pprof.go:87
HIGH MINED014 [MINED014] Disabled Tls Verify: verify=False in requests, rejectUnauthorized:false in nod… src/cmd/go/internal/web/http.go:45
HIGH SEC088 [SEC088] Go: TLS InsecureSkipVerify=true: tls.Config{InsecureSkipVerify:true} disables ce… src/cmd/pprof/pprof.go:87
HIGH SEC088 [SEC088] Go: TLS InsecureSkipVerify=true: tls.Config{InsecureSkipVerify:true} disables ce… src/cmd/go/internal/web/http.go:45
HIGH SEC093 [SEC093] Go: exec.Command with non-literal: exec.Command(<var>) — variable command name a… src/cmd/go/internal/cache/prog.go:87
HIGH SEC093 [SEC093] Go: exec.Command with non-literal: exec.Command(<var>) — variable command name a… src/cmd/go/internal/bug/bug.go:164
HIGH SEC093 [SEC093] Go: exec.Command with non-literal: exec.Command(<var>) — variable command name a… src/cmd/cover/func.go:203
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… src/cmd/distpack/pack.go:329
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… src/cmd/compile/internal/syntax/syntax.…:68
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… src/cmd/compile/internal/syntax/dumper.…:28
HIGH SEC090 [SEC090] Go: math/rand used near crypto context: math/rand is not cryptographically secur… src/cmd/internal/par/work.go:10
HIGH SEC090 [SEC090] Go: math/rand used near crypto context: math/rand is not cryptographically secur… src/cmd/go/internal/lockedfile/lockedfi…:11
HIGH SEC090 [SEC090] Go: math/rand used near crypto context: math/rand is not cryptographically secur… src/cmd/compile/internal/gc/compile.go:10
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. src/cmd/cgo/internal/cgotest/overlaydir…:69
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. src/cmd/asm/internal/arch/riscv64.go:102
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. misc/ios/detect.go:46
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/cmd/go/internal/web/intercept/inter…:58
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/cmd/go/internal/web/http.go:107
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… misc/chrome/gophertool/popup.js:1
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/cmd/go/internal/toolchain/switch.go:111
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/cmd/go/internal/toolchain/exec.go:61
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… misc/chrome/gophertool/gopher.js:29
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/cmd/go/internal/auth/auth.go:175
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … misc/chrome/gophertool/popup.js:2
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … misc/chrome/gophertool/background.js:6
HIGH MINED134 [MINED134] Binary file `src/go/internal/gccgoimporter/testdata/libimportsar.a` committed … src/go/internal/gccgoimporter/testdata/…:1
HIGH MINED134 [MINED134] Binary file `src/cmd/objdump/testdata/go116.o` committed in source repo: `src/… src/cmd/objdump/testdata/go116.o:1
HIGH MINED118 [MINED118] Dockerfile FROM `coqorg/coq:8.13.2` not pinned by digest: `FROM coqorg/coq:8.1… src/crypto/internal/fips140/nistec/fiat…:4
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… src/go/ast/print.go:39
HIGH SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. src/cmd/link/internal/ld/execarchive.go:33
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… src/runtime/runtime-gdb.py:673
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… src/runtime/runtime-gdb.py:445
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… src/runtime/runtime-gdb.py:36
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… src/net/http/triv.go:139
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… src/net/http/doc.go:71
MED SEC089 [SEC089] Go: bind to all interfaces (0.0.0.0): Server binds to all network interfaces — e… src/net/http/doc.go:71
MED SEC123 [SEC123] Production stack trace / debug output exposed: Debug mode left on in production … src/crypto/internal/fips140/fips140.go:24
MED SEC123 [SEC123] Production stack trace / debug output exposed: Debug mode left on in production … src/cmd/go/internal/run/run.go:151
MED SEC123 [SEC123] Production stack trace / debug output exposed: Debug mode left on in production … src/cmd/go/internal/doc/pkgsite.go:75
MED SEC112 [SEC112] Go html/template bypass — text/template used for HTML output, or template.HTML o… src/cmd/trace/goroutines.go:232
MED SEC112 [SEC112] Go html/template bypass — text/template used for HTML output, or template.HTML o… src/cmd/internal/pgo/serialize.go:52
MED SEC112 [SEC112] Go html/template bypass — text/template used for HTML output, or template.HTML o… src/cmd/cover/html.go:57
MED SEC094 [SEC094] Go: world-writable file permissions: File or directory created with world-writab… src/cmd/cgo/util.go:31
MED SEC094 [SEC094] Go: world-writable file permissions: File or directory created with world-writab… src/cmd/cgo/internal/cgotest/overlaydir…:17
MED SEC094 [SEC094] Go: world-writable file permissions: File or directory created with world-writab… misc/ios/go_ios_exec.go:82
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/cmd/go/internal/toolchain/exec.go:61
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/cmd/go/internal/imports/build.go:88
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … misc/chrome/gophertool/gopher.js:29
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED DKR001 Docker final stage has no non-root USER src/crypto/internal/fips140/nistec/fiat…:5
MED DKR001 Docker final stage has no non-root USER src/crypto/internal/boring/Dockerfile:8
MED CORE_NO_CI No CI/CD configuration found
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. src/cmd/compile/internal/noder/linker.go:126
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. src/cmd/compile/internal/gc/obj.go:192
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. src/archive/zip/register.go:35
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… src/cmd/go/internal/fips140/mkzip.go:102
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… misc/ios/go_ios_exec.go:81
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… misc/chrome/gophertool/popup.js:33
LOW AIC003 Duplicated implementation block across source files src/cmd/compile/internal/ssa/_gen/ARM64…:75
LOW AIC003 Duplicated implementation block across source files src/cmd/compile/internal/pgoir/irgraph.…:254
LOW AIC003 Duplicated implementation block across source files src/cmd/compile/internal/noder/html.go:71
LOW AIC003 Duplicated implementation block across source files src/cmd/compile/internal/mips64/ssa.go:2
LOW AIC003 Duplicated implementation block across source files src/cmd/compile/internal/loopvar/testda…:19
LOW AIC003 Duplicated implementation block across source files src/cmd/compile/internal/loopvar/testda…:11
LOW AIC003 Duplicated implementation block across source files src/cmd/compile/internal/loopvar/testda…:1
LOW AIC003 Duplicated implementation block across source files src/cmd/compile/internal/loopvar/testda…:15
LOW AIC003 Duplicated implementation block across source files src/cmd/compile/internal/loopvar/testda…:11
LOW AIC003 Duplicated implementation block across source files src/cmd/compile/internal/loopvar/testda…:11
LOW AIC003 Duplicated implementation block across source files src/cmd/compile/internal/loopvar/testda…:1
LOW AIC003 Duplicated implementation block across source files src/cmd/compile/internal/loopvar/testda…:1
LOW AIC003 Duplicated implementation block across source files src/cmd/compile/internal/loopvar/testda…:1
LOW AIC003 Duplicated implementation block across source files src/cmd/compile/internal/liveness/merge…:664
LOW AIC003 Duplicated implementation block across source files src/cmd/compile/internal/ir/reassign_co…:20
LOW AIC003 Duplicated implementation block across source files src/cmd/cgo/internal/testsanitizers/tes…:7
LOW AIC003 Duplicated implementation block across source files src/cmd/cgo/internal/testsanitizers/tes…:1
LOW AIC003 Duplicated implementation block across source files src/cmd/cgo/internal/testsanitizers/tes…:1
LOW AIC003 Duplicated implementation block across source files src/cmd/cgo/internal/testplugin/testdat…:12
LOW AIC003 Duplicated implementation block across source files src/cmd/cgo/internal/testplugin/testdat…:2
LOW AIC003 Duplicated implementation block across source files src/cmd/cgo/internal/testplugin/testdat…:1
LOW AIC003 Duplicated implementation block across source files src/cmd/cgo/internal/testplugin/testdat…:6
LOW AIC003 Duplicated implementation block across source files src/cmd/cgo/internal/testcshared/testda…:49
LOW AIC003 Duplicated implementation block across source files src/cmd/cgo/internal/testcshared/testda…:21
LOW AIC003 Duplicated implementation block across source files src/cmd/cgo/internal/testcshared/testda…:105
LOW AIC003 Duplicated implementation block across source files src/cmd/cgo/internal/testcshared/testda…:22
LOW AIC003 Duplicated implementation block across source files src/cmd/cgo/internal/testcshared/testda…:1
LOW AIC003 Duplicated implementation block across source files src/cmd/cgo/internal/testcshared/testda…:2
LOW AIC003 Duplicated implementation block across source files src/cmd/cgo/internal/testcshared/testda…:17
LOW AIC003 Duplicated implementation block across source files src/cmd/asm/internal/arch/arm64.go:14
LOW DKR010 Dockerfile leaves apt package indexes in the image layer src/crypto/internal/boring/Dockerfile:19
INFO MINED057 [MINED057] Todo Bomb: Code path with a TODO/FIXME/HACK comment that gates correctness — l… src/internal/poll/fd_poll_js.go:45
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. src/go/ast/print.go:39
INFO MINED069 [MINED069] Debug True Prod: Django/Flask DEBUG=True or app.debug=True in non-test files. src/crypto/internal/fips140/fips140.go:24
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… src/cmd/go/internal/vcweb/hg.go:87
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… src/cmd/go/internal/fips140/fips140.go:231
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… src/cmd/go/internal/cache/prog.go:85
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. src/bytes/reader.go:145
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. src/archive/zip/register.go:121
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. src/archive/tar/format.go:221
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/cmd/pprof/pprof.go:130
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/cmd/go/internal/doc/pkgsite.go:91
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… misc/ios/go_ios_exec.go:305
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … misc/chrome/gophertool/popup.js:18
Reset to top 5 109 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `golang/go`

**Score: 77/100 (B+)**  ·  117 findings  ·  scanned 2026-06-05 04:52 UTC  ·  3,875,872 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 36 |
| MEDIUM | 22 |
| LOW | 37 |

📊 [Full filterable report](https://repobility.com/scan/9a893486-8823-4472-92e2-5fded52d41d6/)  ·  ![scorecard](https://repobility.com/scan/9a893486-8823-4472-92e2-5fded52d41d6/report.png?v=1780635133-s2)

### Top findings

1. **CRITICAL** `SEC084` — JS: require() with non-literal
   `src/cmd/go/internal/mvs/graph.go:60`
2. **HIGH** `MINED108` — `self.invoke_per_goid` used but never assigned in __init__
   `src/runtime/runtime-gdb.py:635` · ✓ Repobility
3. **HIGH** `MINED108` — `self.val` used but never assigned in __init__
   `src/runtime/runtime-gdb.py:483` · ✓ Repobility
4. **HIGH** `MINED108` — `self.len` used but never assigned in __init__
   `src/runtime/runtime-gdb.py:96` · ✓ Repobility
5. **HIGH** `MINED004` — Weak Crypto
   `src/crypto/internal/boring/notboring.go:43` · CWE-327 · ✓ Repobility

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/9a893486-8823-4472-92e2-5fded52d41d6/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 20 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'golang/go' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.