Close Open Privacy Scan

bolt Snapshot: commit 1859561
science engine v3
schedule 2026-07-10T11:11:11.892358+00:00

verified_user Possible application data leak

Potential data exfiltration identified in application code.

App Privacy Score

27 /100
High privacy risk — possible application leak

High risk · 1563 finding(s)

Dependency score: 52 (Medium risk)

bar_chart Score Breakdown

pii_flow −60
egress −10
env_fs −3

list Scan Summary

0 high 8 medium 1555 low
First-party packages: 1
Dependency packages: 63
Ecosystem: go

swap_horiz Potential data exfiltration in application code

External domains: api.github.comdl.google.comencoding.spec.whatwg.org

medium first-party (go) PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
repo/core/http/endpoints/mcp/tools.go:203 repo/core/http/endpoints/mcp/tools.go:213
medium first-party (go) PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
repo/core/http/endpoints/mcp/tools.go:288 repo/core/http/endpoints/mcp/tools.go:298
medium first-party (go) PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
repo/pkg/model/process.go:169 repo/pkg/model/process.go:195
medium first-party (go) PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
repo/pkg/model/process.go:169 repo/pkg/model/process.go:219
medium first-party (go) PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
repo/pkg/model/process.go:169 repo/pkg/model/process.go:232
medium first-party (go) PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
repo/pkg/model/process.go:169 repo/pkg/model/process.go:263
hub Dependency data flows (2)
medium google.golang.org/protobuf dependency PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:520 pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:523
medium github.com/modelcontextprotocol/go-sdk tooling PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
pkgs/go/[email protected]/examples/server/distributed/main.go:89 pkgs/go/[email protected]/examples/server/distributed/main.go:95

</> First-Party Code

first-party (go)

go first-party
medium pii_flow production #a8843030f0c2d1e9 PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
repo/core/http/endpoints/mcp/tools.go:213 · flow /tmp/closeopen-ftvk3ek8/repo/core/http/endpoints/mcp/tools.go:203 → /tmp/closeopen-ftvk3ek8/repo/core/http/endpoints/mcp/tools.go:213
		xlog.Debug("[MCP stdio server] Connected to MCP server", "command", command)

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

medium pii_flow production #6dd8b2eb6be0584b PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
repo/core/http/endpoints/mcp/tools.go:298 · flow /tmp/closeopen-ftvk3ek8/repo/core/http/endpoints/mcp/tools.go:288 → /tmp/closeopen-ftvk3ek8/repo/core/http/endpoints/mcp/tools.go:298
			xlog.Debug("[MCP stdio server] Connected", "name", serverName, "command", command)

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

medium pii_flow production #c4153e76304b24d4 PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
repo/pkg/model/process.go:195 · flow /tmp/closeopen-ftvk3ek8/repo/pkg/model/process.go:169 → /tmp/closeopen-ftvk3ek8/repo/pkg/model/process.go:195
	xlog.Debug("GRPC Service state dir", "dir", grpcControlProcess.StateDir())

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

medium pii_flow production #20a632a6db2454e5 PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
repo/pkg/model/process.go:219 · flow /tmp/closeopen-ftvk3ek8/repo/pkg/model/process.go:169 → /tmp/closeopen-ftvk3ek8/repo/pkg/model/process.go:219
			xlog.Debug("GRPC stderr", "id", strings.Join([]string{id, serverAddress}, "-"), "line", line.Text)

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

medium pii_flow production #55a187e3966b6388 PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
repo/pkg/model/process.go:232 · flow /tmp/closeopen-ftvk3ek8/repo/pkg/model/process.go:169 → /tmp/closeopen-ftvk3ek8/repo/pkg/model/process.go:232
			xlog.Debug("GRPC stdout", "id", strings.Join([]string{id, serverAddress}, "-"), "line", line.Text)

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

medium pii_flow production #629ac55710dd570a PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
repo/pkg/model/process.go:263 · flow /tmp/closeopen-ftvk3ek8/repo/pkg/model/process.go:169 → /tmp/closeopen-ftvk3ek8/repo/pkg/model/process.go:263
			xlog.Info("Backend process stopped", fields...)

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

expand_more 230 low-confidence finding(s)
low env_fs production #7809bb9df7d44e09 Filesystem access.
repo/.github/ci/modelslist.go:269
	f, err := ioutil.ReadFile(os.Args[1])

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d76a45dfdf0990ac Filesystem access.
repo/.github/gallery-agent/gallery.go:177
		content, err := os.ReadFile(indexPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6feac5081ba58268 Filesystem access.
repo/.github/gallery-agent/gallery.go:204
		err = os.WriteFile(indexPath, []byte(newContent), 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #94a962b90a59c58a Environment-variable access.
repo/.github/gallery-agent/helpers.go:16
var galleryIndexPath = os.Getenv("GALLERY_INDEX_PATH")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fa3515490f17cf1a Filesystem access.
repo/.github/gallery-agent/helpers.go:35
	content, err := os.ReadFile(indexPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bba85d58edbcf759 Environment-variable access.
repo/.github/gallery-agent/helpers.go:55
	for _, line := range strings.FieldsFunc(os.Getenv("EXTRA_SKIP_URLS"), func(r rune) bool {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0bd52894dda6fd7a Environment-variable access.
repo/.github/gallery-agent/main.go:57
	if sm := os.Getenv("SYNTHETIC_MODE"); sm == "true" || sm == "1" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9283a1ab11b6b455 Environment-variable access.
repo/.github/gallery-agent/main.go:66
	searchTerm := os.Getenv("SEARCH_TERM")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3acf890a993a549 Environment-variable access.
repo/.github/gallery-agent/main.go:71
	limitStr := os.Getenv("LIMIT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bac220fe55705ebc Environment-variable access.
repo/.github/gallery-agent/main.go:81
	quantization := os.Getenv("QUANTIZATION")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ba0366677c68d9b0 Environment-variable access.
repo/.github/gallery-agent/main.go:86
	maxModelsStr := os.Getenv("MAX_MODELS")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #daed181425bb5971 Filesystem access.
repo/.github/gallery-agent/main.go:279
	if err := os.WriteFile("gallery-agent-summary.json", data, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #390c039e5d01218a Environment-variable access.
repo/backend/go/acestep-cpp/main.go:24
	libName := os.Getenv("ACESTEP_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6974bf930c21de57 Environment-variable access.
repo/backend/go/ced/main.go:29
	libName := os.Getenv("CED_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a88097cc52fd3644 Environment-variable access.
repo/backend/go/cloud-proxy/main.go:30
	format := os.Getenv("LOCALAI_LOG_FORMAT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #709d91e5e8c4f130 Environment-variable access.
repo/backend/go/cloud-proxy/main.go:34
	xlog.SetLogger(xlog.NewLogger(xlog.LogLevel(os.Getenv("LOCALAI_LOG_LEVEL")), format))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f08f029bebd95376 Environment-variable access.
repo/backend/go/cloud-proxy/proxy.go:124
		v := os.Getenv(envName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c59743df811eec24 Filesystem access.
repo/backend/go/cloud-proxy/proxy.go:131
		b, err := os.ReadFile(filePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #20f054f9b5e2c5fc Filesystem access.
repo/backend/go/crispasr/gocrispasr.go:266
	fh, err := os.Open(convertedPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c762d1579e9750b3 Filesystem access.
repo/backend/go/crispasr/gocrispasr.go:410
	fh, err := os.Open(convertedPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1813d6a86e5fc051 Filesystem access.
repo/backend/go/crispasr/gocrispasr.go:576
	encoded, err := os.ReadFile(dst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #92d54a400b4d32dc Filesystem access.
repo/backend/go/crispasr/gocrispasr.go:586
	f, err := os.Create(dst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc9ed96118462ec7 Environment-variable access.
repo/backend/go/crispasr/main.go:23
	libName := os.Getenv("CRISPASR_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e373bad3a75e2a9a Filesystem access.
repo/backend/go/depth-anything-cpp/godepthanythingcpp.go:531
	f, err := os.Create(dst) // #nosec G304

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f8d48bfdd210c3f8 Environment-variable access.
repo/backend/go/depth-anything-cpp/main.go:29
	libName := os.Getenv("DEPTHANYTHING_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cffc99dfefb3c3fc Environment-variable access.
repo/backend/go/face-detect/main.go:29
	libName := os.Getenv("FACEDETECT_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b03377d67895f77f Environment-variable access.
repo/backend/go/local-store/main.go:18
	xlog.SetLogger(xlog.NewLogger(xlog.LogLevel(os.Getenv("LOCALAI_LOG_LEVEL")), os.Getenv("LOCALAI_LOG_FORMAT")))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #793233d16a4c30fd Filesystem access.
repo/backend/go/localvqe/golocalvqe.go:503
	f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6e9f5edb6e8f4b34 Filesystem access.
repo/backend/go/localvqe/golocalvqe.go:531
	f, err := os.Create(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bde2172d68e0ee45 Environment-variable access.
repo/backend/go/localvqe/main.go:23
	libName := os.Getenv("LOCALVQE_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8337d8ac9ebaa390 Environment-variable access.
repo/backend/go/locate-anything-cpp/main.go:29
	libName := os.Getenv("LOCATEANYTHING_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #69285471e55ee876 Environment-variable access.
repo/backend/go/moss-transcribe-cpp/main.go:31
	libName := os.Getenv("MOSS_TRANSCRIBE_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #715bcf2ed908a423 Filesystem access.
repo/backend/go/omnivoice-cpp/audio.go:59
	f, err := os.Create(dst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c651786c02662075 Filesystem access.
repo/backend/go/omnivoice-cpp/audio.go:94
	f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #463fd2a4610f40cf Environment-variable access.
repo/backend/go/omnivoice-cpp/main.go:23
	libName := os.Getenv("OMNIVOICE_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c7d39b9f31de38ae Environment-variable access.
repo/backend/go/opus/codec.go:94
	if env := os.Getenv("OPUS_LIBRARY"); env != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cb1c0c8e74d4b547 Environment-variable access.
repo/backend/go/opus/codec.go:121
	if env := os.Getenv("OPUS_SHIM_LIBRARY"); env != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1aba7005b569eee7 Filesystem access.
repo/backend/go/parakeet-cpp/goparakeetcpp.go:802
	fh, err := os.Open(converted)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1cea4ffd49d4103d Environment-variable access.
repo/backend/go/parakeet-cpp/main.go:31
	libName := os.Getenv("PARAKEET_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7f4165ef2b3ab033 Environment-variable access.
repo/backend/go/piper/piper.go:26
	sd.piper, err = New(os.Getenv("ESPEAK_NG_DATA"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aed0b0648bd44bce Filesystem access.
repo/backend/go/qwen3-tts-cpp/audio.go:59
	f, err := os.Create(dst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eac8d233a4eb041c Filesystem access.
repo/backend/go/qwen3-tts-cpp/audio.go:94
	f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #987662cca3fac821 Environment-variable access.
repo/backend/go/qwen3-tts-cpp/main.go:23
	libName := os.Getenv("QWEN3TTS_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #36a57c23dd40a1dd Environment-variable access.
repo/backend/go/rfdetr-cpp/main.go:29
	libName := os.Getenv("RFDETR_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d0447e22c2fe0942 Environment-variable access.
repo/backend/go/sam3-cpp/main.go:23
	libName := os.Getenv("SAM3_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ac666e2213bbfb32 Environment-variable access.
repo/backend/go/sherpa-onnx/backend.go:240
	shimLib := os.Getenv("SHERPA_SHIM_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b30ca7ebd70a0afc Environment-variable access.
repo/backend/go/sherpa-onnx/backend.go:248
	capiLib := os.Getenv("SHERPA_ONNX_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a84b321fed278543 Environment-variable access.
repo/backend/go/stablediffusion-ggml/main.go:23
	libName := os.Getenv("SD_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #98c98f782a257098 Filesystem access.
repo/backend/go/supertonic/helper.go:488
	file, err := os.Create(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fb0bbb51920da180 Filesystem access.
repo/backend/go/supertonic/helper.go:536
	firstData, err := os.ReadFile(voiceStylePaths[0])

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c85e449fee8d3ce Filesystem access.
repo/backend/go/supertonic/helper.go:562
		data, err := os.ReadFile(voiceStylePaths[i])

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c05dd6238cb20f40 Environment-variable access.
repo/backend/go/supertonic/helper.go:930
	libPath := os.Getenv("ONNXRUNTIME_LIB_PATH")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #30100ab39491b208 Filesystem access.
repo/backend/go/supertonic/helper.go:1015
	data, err := os.ReadFile(cfgPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #847fc6c84593fb95 Filesystem access.
repo/backend/go/supertonic/helper.go:1030
	data, err := os.ReadFile(filePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3a88ae698f1ef72e Filesystem access.
repo/backend/go/vibevoice-cpp/govibevoicecpp.go:79
	f, err := os.Open(src)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0255e0555dace294 Environment-variable access.
repo/backend/go/vibevoice-cpp/main.go:23
	libName := os.Getenv("VIBEVOICECPP_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0c09d2f2a126f236 Environment-variable access.
repo/backend/go/voice-detect/main.go:29
	libName := os.Getenv("VOICEDETECT_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #19f8351112d1ef4a Environment-variable access.
repo/backend/go/voxtral/main.go:24
	libName := os.Getenv("VOXTRAL_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cef6aab9d460f26f Filesystem access.
repo/backend/go/whisper/gowhisper.go:193
	fh, err := os.Open(convertedPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #da0748500fcd64ea Filesystem access.
repo/backend/go/whisper/gowhisper.go:303
	fh, err := os.Open(convertedPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3d80b4c9e53e5b75 Environment-variable access.
repo/backend/go/whisper/main.go:24
	libName := os.Getenv("WHISPER_LIBRARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #71a437f936fdfaa0 Filesystem access.
repo/cmd/launcher/internal/launcher.go:90
	logFile, err := os.Create(l.logPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5bf0df623686a35d Environment-variable access.
repo/cmd/launcher/internal/launcher.go:216
		env := os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #21084fa8f98d6df0 Filesystem access.
repo/cmd/launcher/internal/launcher.go:885
	configData, err := os.ReadFile(configPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #079e0306c6787dac Filesystem access.
repo/cmd/launcher/internal/launcher.go:929
	if err := os.WriteFile(configPath, configData, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e3593a02f473e73f Environment-variable access.
repo/cmd/launcher/internal/release_manager.go:144
	if token := os.Getenv("GITHUB_TOKEN"); token != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3e4663c6ef44aa4a Filesystem access.
repo/cmd/launcher/internal/release_manager.go:336
			out, err = os.OpenFile(partPath, os.O_WRONLY|os.O_APPEND, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7566980742885f9 Filesystem access.
repo/cmd/launcher/internal/release_manager.go:338
			out, err = os.Create(partPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7daef048b5806442 Filesystem access.
repo/cmd/launcher/internal/release_manager.go:389
	checksumData, err := os.ReadFile(checksumPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #afdb11ceebb478fa Filesystem access.
repo/cmd/launcher/internal/release_manager.go:396
	if err := os.WriteFile(persistentPath, checksumData, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #abf80ab1879a6f1f Filesystem access.
repo/cmd/launcher/internal/release_manager.go:402
	if err := os.WriteFile(latestPath, checksumData, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #60aeb3e72bd846bd Filesystem access.
repo/cmd/launcher/internal/release_manager.go:441
	if err := os.WriteFile(metadataPath, metadataData, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b4430119cf6fe9a2 Filesystem access.
repo/cmd/launcher/internal/release_manager.go:471
	file, err := os.Open(filePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #606348ee748b0edb Filesystem access.
repo/cmd/launcher/internal/release_manager.go:485
	checksumFile, err := os.Open(checksumPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #141682418afc3410 Filesystem access.
repo/cmd/launcher/internal/release_manager.go:547
	metadataData, err := os.ReadFile(metadataPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #92ed9605785ae91d Filesystem access.
repo/core/application/config_file_watcher.go:67
	fileContent, err := os.ReadFile(rootedFilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3ef9f21ad1f4a85e Filesystem access.
repo/core/application/startup.go:537
	fileContent, err := os.ReadFile(settingsFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #66f5e01cc1664bda Filesystem access.
repo/core/application/startup.go:908
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9811d50ba5e7b5b0 Filesystem access.
repo/core/application/startup.go:922
	if err := os.WriteFile(path, []byte(secret), 0o600); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e49ce1840e1d45ea Filesystem access.
repo/core/backend/audio_transform.go:161
	src, err := os.Open(srcPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1971d06ce869e7ff Filesystem access.
repo/core/backend/audio_transform.go:167
	out, err := os.Create(dst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #262070195122bae7 Filesystem access.
repo/core/cli/agent.go:112
		data, err := os.ReadFile(r.Config)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #34b0cb42bcd2a1a6 Filesystem access.
repo/core/cli/agent.go:128
	data, err := os.ReadFile(poolFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7e0b0e7c58f8b1a2 Filesystem access.
repo/core/cli/agent.go:203
	data, err := os.ReadFile(poolFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a6712b289983d219 Filesystem access.
repo/core/cli/run.go:286
			os.WriteFile(hostfile, data, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2a88ce614f2ae45a Environment-variable access.
repo/core/cli/worker/worker_ds4.go:99
	env := os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bc1c75b7da7da833 Environment-variable access.
repo/core/cli/worker/worker_ds4.go:102
		env = append(env, "LD_LIBRARY_PATH="+filepath.Join(backendPath, "lib")+":"+os.Getenv("LD_LIBRARY_PATH"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4977b00bbd12f393 Environment-variable access.
repo/core/cli/worker/worker_llamacpp.go:91
		os.Environ())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3c842e30ea881c38 Environment-variable access.
repo/core/cli/worker/worker_mlx_distributed.go:60
		os.Environ(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #63373c48552d00a1 Environment-variable access.
repo/core/cli/worker/worker_p2p.go:94
				cmd.Env = os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6f6695aba1f10e33 Environment-variable access.
repo/core/cli/worker/worker_p2p_mlx.go:58
			hostfile := os.Getenv("MLX_DISTRIBUTED_HOSTFILE")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b6f17d057b45bbdc Environment-variable access.
repo/core/cli/worker/worker_p2p_mlx.go:73
			cmd.Env = os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #80e4dda4a631204b Environment-variable access.
repo/core/cli/worker/worker_vllm.go:123
	cmd.Env = append(os.Environ(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8408742262a9f5c5 Filesystem access.
repo/core/config/gen_inference_defaults/main.go:151
	if err := os.WriteFile(outputFile, data, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8b3c2aa75fcfefe6 Environment-variable access.
repo/core/config/generic_defaults.go:62
		if os.Getenv("XPU") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #09f0ee17ffd2254a Environment-variable access.
repo/core/config/hardware_defaults.go:23
	return os.Getenv("LOCALAI_DISABLE_HARDWARE_DEFAULTS") == "true"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6841113f97aaf545 Environment-variable access.
repo/core/config/hooks_llamacpp.go:18
	if os.Getenv("LOCALAI_DISABLE_GUESSING") == "true" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f70a8cce7b16bb38 Filesystem access.
repo/core/config/model_config_loader.go:84
	f, err := os.ReadFile(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3c1832c1fe890720 Environment-variable access.
repo/core/config/model_config_loader.go:366
	if os.Getenv("COLOR") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #db3604cf248b9de5 Environment-variable access.
repo/core/config/model_config_loader.go:367
		renderMode = os.Getenv("COLOR")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ef46b0802ac200cd Environment-variable access.
repo/core/config/model_config_loader.go:372
		if err == nil && os.Getenv("NO_COLOR") == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #31cbd6640f2e66f2 Filesystem access.
repo/core/config/runtime_settings_persist.go:24
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2a0693ccb399fb61 Filesystem access.
repo/core/config/runtime_settings_persist.go:78
	return os.WriteFile(path, data, 0o600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #81d360519f367d7c Filesystem access.
repo/core/dependencies_manager/manager.go:32
	f, err := os.ReadFile(assetFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74cfd672eb8388cc Filesystem access.
repo/core/explorer/database.go:108
	f, err := os.ReadFile(db.path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #357ce5bbe0215d1d Filesystem access.
repo/core/explorer/database.go:119
	f, err := os.Create(db.path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d494aa5a1d48ac8f Filesystem access.
repo/core/gallery/backends.go:93
	data, err := os.ReadFile(metadataPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #821d039256bc6da6 Filesystem access.
repo/core/gallery/backends.go:115
	if err := os.WriteFile(metadataPath, data, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a04861f4338eafa0 Filesystem access.
repo/core/gallery/gallery.go:77
	yamlFile, err := os.ReadFile(filePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cc3045d353d9cc8c Filesystem access.
repo/core/gallery/importers/importers.go:284
			modelYAML, err = os.ReadFile(localURI)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3bdb3d83ff1cba8b Filesystem access.
repo/core/gallery/importers/local.go:201
	if data, err := os.ReadFile(filepath.Join(dirPath, "adapter_config.json")); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8677bc9252d146b1 Filesystem access.
repo/core/gallery/importers/local.go:211
	if data, err := os.ReadFile(filepath.Join(dirPath, "export_metadata.json")); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c2d2ba7e2142366a Filesystem access.
repo/core/gallery/importers/local.go:228
	if data, err := os.ReadFile(filepath.Join(dirPath, "adapter_config.json")); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ba272cd533370517 Filesystem access.
repo/core/gallery/importers/local.go:239
		if data, err := os.ReadFile(filepath.Join(dirPath, "export_metadata.json")); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c069bdbe9d9d7a81 Filesystem access.
repo/core/gallery/models.go:218
		err = os.WriteFile(filePath, []byte(template.Content), 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dd53904db1b29283 Filesystem access.
repo/core/gallery/models.go:314
		err = os.WriteFile(configFilePath, updatedConfigYAML, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #953ace7bedb0383e Filesystem access.
repo/core/gallery/models.go:331
	return &modelConfig, os.WriteFile(modelFile, data, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #79aa81ac67306638 Filesystem access.
repo/core/gallery/models.go:369
	dat, err := os.ReadFile(configFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low egress production #08b4531f9cbb2988 Hardcoded external endpoint. Review what data is sent to this destination.
repo/core/http/auth/oauth.go:425
	req, _ := http.NewRequestWithContext(ctx, "GET", "https://api.github.com/user", nil)

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress production #faa405bfd88c010f Hardcoded external endpoint. Review what data is sent to this destination.
repo/core/http/auth/oauth.go:456
	req, _ := http.NewRequestWithContext(ctx, "GET", "https://api.github.com/user/emails", nil)

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low env_fs production #f3d2f38bd81cc81a Filesystem access.
repo/core/http/endpoints/localai/audio_transform.go:316
	out, err := os.Create(raw)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5cbef23d2ceb0f43 Filesystem access.
repo/core/http/endpoints/localai/branding.go:238
		if err := os.WriteFile(dest, data, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bd9371d009639031 Filesystem access.
repo/core/http/endpoints/localai/finetune.go:257
			f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d51f10a3f5d75f42 Filesystem access.
repo/core/http/endpoints/localai/import_model.go:224
		if err := os.WriteFile(configPath, yamlData, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0c00bec70d82c282 Filesystem access.
repo/core/http/endpoints/localai/video.go:110
				fileData, err = os.ReadFile(out)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c5f71f66fb657cc6 Filesystem access.
repo/core/http/endpoints/localai/video.go:234
			data, err := os.ReadFile(output)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #772736668e89f9d7 Environment-variable access.
repo/core/http/endpoints/mcp/tools.go:203
		command.Env = os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c34ddae907b54cc0 Environment-variable access.
repo/core/http/endpoints/mcp/tools.go:288
			command.Env = os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a0baa59406be10fe Filesystem access.
repo/core/http/endpoints/openai/diarization.go:96
		dstFile, err := os.Create(dst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d4bf931bbc584574 Filesystem access.
repo/core/http/endpoints/openai/image.go:215
					data, err := os.ReadFile(output)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #420029701bad85ea Filesystem access.
repo/core/http/endpoints/openai/image.go:273
		fileData, err = os.ReadFile(out)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c4b58bbb008899ee Filesystem access.
repo/core/http/endpoints/openai/realtime_speech.go:90
	audioBytes, err := os.ReadFile(filepath.Clean(audioFilePath))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eb0a13d06bd6c104 Filesystem access.
repo/core/http/endpoints/openai/sound_classification.go:68
		dstFile, err := os.Create(dst) // #nosec G304 -- dst is a server-created temp dir joined with path.Base of the upload name (no traversal)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dc6b20c021240e99 Filesystem access.
repo/core/http/endpoints/openai/transcription.go:126
		dstFile, err := os.Create(dst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fe070f45f46854d5 Filesystem access.
repo/core/http/routes/ui_api.go:956
		configData, err := os.ReadFile(modelConfigFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6a77dd4bfc3b013c Environment-variable access.
repo/core/p2p/p2p.go:381
	noDHT := os.Getenv("LOCALAI_P2P_DISABLE_DHT") == "true"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b664bdb8ce71c8ec Environment-variable access.
repo/core/p2p/p2p.go:382
	noLimits := os.Getenv("LOCALAI_P2P_ENABLE_LIMITS") != "true"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5d56da1175818f87 Environment-variable access.
repo/core/p2p/p2p.go:387
	laddrs := os.Getenv("LOCALAI_P2P_LISTEN_MADDRS")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c48e467ac14adbd6 Environment-variable access.
repo/core/p2p/p2p.go:392
	bootmaddr := os.Getenv("LOCALAI_P2P_BOOTSTRAP_PEERS_MADDRS")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #40404188e2ebd4df Environment-variable access.
repo/core/p2p/p2p.go:397
	dhtAnnounceMaddrs := stringsToMultiAddr(strings.Split(os.Getenv("LOCALAI_P2P_DHT_ANNOUNCE_MADDRS"), ","))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f4cc6c055d8a6963 Environment-variable access.
repo/core/p2p/p2p.go:399
	libp2ploglevel := os.Getenv("LOCALAI_P2P_LIB_LOGLEVEL")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6073969a7cb496a4 Environment-variable access.
repo/core/p2p/p2p_common.go:8
var logLevel = strings.ToLower(os.Getenv("LOCALAI_P2P_LOGLEVEL"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4b7cf4cf0bb565ca Filesystem access.
repo/core/services/agentpool/agent_pool.go:596
	src, err := os.Open(srcClean)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d94367de13e5cd3a Filesystem access.
repo/core/services/agentpool/agent_pool.go:603
	dst, err := os.Create(dstPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #276a2ee2e2776835 Filesystem access.
repo/core/services/agentpool/job_persister_file.go:92
	data, err := os.ReadFile(p.tasksFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7f7b1eda9608ebdb Filesystem access.
repo/core/services/agentpool/job_persister_file.go:125
	data, err := os.ReadFile(p.jobsFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #451ddf37fffe396c Filesystem access.
repo/core/services/cloudproxy/mitm/ca.go:41
	certPEM, err1 := os.ReadFile(certPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4c7fb4d355cb399e Filesystem access.
repo/core/services/cloudproxy/mitm/ca.go:42
	keyPEM, err2 := os.ReadFile(keyPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3de98d53d3760d3b Filesystem access.
repo/core/services/cloudproxy/mitm/ca.go:58
	if err := os.WriteFile(certPath, certPEMOut, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dc43d90006a1c3e6 Filesystem access.
repo/core/services/cloudproxy/mitm/ca.go:61
	if err := os.WriteFile(keyPath, keyPEMOut, 0o600); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a8a0331f79a1112b Filesystem access.
repo/core/services/finetune/service.go:118
	if err := os.WriteFile(statePath, data, 0640); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5e67bd14c758f49a Filesystem access.
repo/core/services/finetune/service.go:140
		data, err := os.ReadFile(statePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c7f86d4c43b4734c Filesystem access.
repo/core/services/finetune/service.go:662
		if err := os.WriteFile(configPath, yamlData, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5697cf5c5be7c528 Filesystem access.
repo/core/services/finetune/service.go:767
	if err := os.WriteFile(filePath, data, 0640); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #06c240e00d6b1109 Filesystem access.
repo/core/services/galleryop/models.go:184
	dat, err := os.ReadFile(s)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b885425f786644a5 Filesystem access.
repo/core/services/modeladmin/config.go:76
	data, err := os.ReadFile(configPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c5258a20e2795f39 Filesystem access.
repo/core/services/modeladmin/config.go:107
	diskYAML, err := os.ReadFile(configPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1608b3856d935e53 Filesystem access.
repo/core/services/modeladmin/state.go:61
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5c922164bfb95748 Environment-variable access.
repo/core/services/nodes/file_stager_http.go:42
	if v := os.Getenv("LOCALAI_FILE_TRANSFER_TIMEOUT"); v != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4d28dbf2de33a3ae Environment-variable access.
repo/core/services/nodes/file_stager_http.go:49
	if v := os.Getenv("LOCALAI_FILE_TRANSFER_RETRIES"); v != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #667df343679b721b Filesystem access.
repo/core/services/nodes/file_stager_http.go:266
	f, err := os.Open(localPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4b8c5e6305c729a7 Filesystem access.
repo/core/services/nodes/file_stager_http.go:579
	f, err := os.Create(localDst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #01ee43d3b08ac8b5 Filesystem access.
repo/core/services/nodes/file_staging_client.go:433
	in, err := os.Open(src)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1d812ee2b626d332 Filesystem access.
repo/core/services/nodes/file_staging_client.go:438
	out, err := os.Create(dst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0afda9f1edd41852 Filesystem access.
repo/core/services/nodes/file_transfer_server.go:203
	if target, err := os.ReadFile(filePath + targetSidecarSuffix); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e8e5ae3489d2b7b2 Filesystem access.
repo/core/services/nodes/file_transfer_server.go:325
	f, err := os.Create(dstPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #59a80b58235c24bc Filesystem access.
repo/core/services/nodes/file_transfer_server.go:351
	if err := os.WriteFile(dstPath+hashSidecarSuffix, []byte(hashHex), 0640); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #22d64ca3006beafd Filesystem access.
repo/core/services/nodes/file_transfer_server.go:392
			if t, err := os.ReadFile(targetSidecar); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bbcbdbac2be608a4 Filesystem access.
repo/core/services/nodes/file_transfer_server.go:396
			} else if h, err := os.ReadFile(dstPath + hashSidecarSuffix); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0f18d0a000286446 Filesystem access.
repo/core/services/nodes/file_transfer_server.go:416
		prev, _ := os.ReadFile(targetSidecar)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d961af89a093b9cb Filesystem access.
repo/core/services/nodes/file_transfer_server.go:438
	f, err := os.OpenFile(dstPath, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0640)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5f73b629be2edb12 Filesystem access.
repo/core/services/nodes/file_transfer_server.go:448
		if err := os.WriteFile(targetSidecar, []byte(expectedFinalHash), 0640); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e813b53f703f82f8 Filesystem access.
repo/core/services/nodes/file_transfer_server.go:497
	if err := os.WriteFile(dstPath+hashSidecarSuffix, []byte(finalHash), 0640); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e502fd0bfa0ef3d7 Filesystem access.
repo/core/services/nodes/file_transfer_server.go:523
		if data, err := os.ReadFile(sidecar); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #86e8a4502edb2f1c Filesystem access.
repo/core/services/nodes/file_transfer_server.go:536
	if err := os.WriteFile(sidecar, []byte(hashHex), 0640); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8912544678c35d80 Filesystem access.
repo/core/services/nodes/file_transfer_server.go:558
	f, err := os.Open(srcPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0bfafaf883488cf2 Filesystem access.
repo/core/services/nodes/scheduling_seed.go:148
		data, err := os.ReadFile(configPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3992ba761e15154a Filesystem access.
repo/core/services/quantization/service.go:118
	if err := os.WriteFile(statePath, data, 0640); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2094496922f01b8f Filesystem access.
repo/core/services/quantization/service.go:140
		data, err := os.ReadFile(statePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bf4b1bc2b20a0f9e Filesystem access.
repo/core/services/quantization/service.go:535
		srcData, err := os.ReadFile(srcFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dc03647efe66fe2c Filesystem access.
repo/core/services/quantization/service.go:540
		if err := os.WriteFile(dstFile, srcData, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a5ab5cba1801749e Filesystem access.
repo/core/services/quantization/service.go:562
		if err := os.WriteFile(configPath, yamlData, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a71896c6dda94363 Filesystem access.
repo/core/services/routing/billing/local_user.go:55
		if b, err := os.ReadFile(path); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ec5d856c0ec8eac8 Filesystem access.
repo/core/services/routing/billing/local_user.go:67
		if err := os.WriteFile(path, []byte(id), 0o600); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2f4685b4e2781a65 Filesystem access.
repo/core/services/skills/filesystem.go:96
	if err := os.WriteFile(filepath.Join(skillDir, "SKILL.md"), []byte(fm+content), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #714678a228ac93d5 Filesystem access.
repo/core/services/skills/filesystem.go:125
	if err := os.WriteFile(filepath.Join(skillDir, "SKILL.md"), []byte(fm+content), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2712c6297471cd89 Filesystem access.
repo/core/services/skills/filesystem.go:244
	return os.WriteFile(absPath, data, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #39bc2ee21c2283c2 Filesystem access.
repo/core/services/skills/filesystem.go:266
	return os.WriteFile(absPath, []byte(content), 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #16fc8b10c2490e6a Filesystem access.
repo/core/services/storage/filemanager.go:54
	f, err := os.Open(localPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ca92955562156b23 Filesystem access.
repo/core/services/storage/filemanager.go:136
		f, err := os.Create(tmpPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4ab2a1335905375f Filesystem access.
repo/core/services/storage/filesystem.go:54
	f, err := os.Create(p)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b701460785f91c52 Filesystem access.
repo/core/services/storage/filesystem.go:69
	f, err := os.Open(fs.path(key))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #01dcc0d217cb36ff Filesystem access.
repo/core/services/worker/process_helpers.go:11
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e73919f073f94005 Filesystem access.
repo/core/templates/cache.go:64
		d, err := os.ReadFile(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3715c57ce2ecb908 Filesystem access.
repo/core/trace/audio_snippet.go:35
	raw, err := os.ReadFile(wavPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2a2a829f350880c6 Filesystem access.
repo/pkg/audio/identify.go:99
	f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4db627d5a7e866d5 Environment-variable access.
repo/pkg/downloader/uri.go:114
	HF_MIRROR := os.Getenv("HF_MIRROR")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6eff4632b59aa6ed Environment-variable access.
repo/pkg/downloader/uri.go:116
		HF_MIRROR = os.Getenv("HF")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8c25a27422076b8f Environment-variable access.
repo/pkg/downloader/uri.go:127
	HF_ENDPOINT := os.Getenv("HF_ENDPOINT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #07710562fc7f1dde Filesystem access.
repo/pkg/downloader/uri.go:158
		body, err := os.ReadFile(resolvedFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bb19f79690726164 Filesystem access.
repo/pkg/downloader/uri.go:595
		file, err := os.Open(uri.ResolveURL())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b18adae8745d7287 Filesystem access.
repo/pkg/downloader/uri.go:647
	outFile, err := os.OpenFile(tmpFilePath, os.O_APPEND|os.O_RDWR|os.O_CREATE, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84fde8b6dc81e6b8 Filesystem access.
repo/pkg/downloader/uri.go:744
	file, err := os.Open(filePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5acd8e587a856585 Environment-variable access.
repo/pkg/grpc/parentwatch.go:44
	switch strings.ToLower(strings.TrimSpace(os.Getenv(EnvBackendParentWatch))) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d1682dd70726a306 Environment-variable access.
repo/pkg/grpc/parentwatch.go:55
	if v := os.Getenv(EnvBackendParentWatchInterval); v != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fa7199865388db66 Environment-variable access.
repo/pkg/grpc/server.go:924
	if token := os.Getenv(AuthTokenEnvVar); token != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #35d6480b8ba3d2f7 Filesystem access.
repo/pkg/mcp/localaitools/inproc/client.go:368
	if err := os.WriteFile(filepath.Join(modelsPath, name+".yaml"), yamlData, 0600); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5bb739aa57bb993a Environment-variable access.
repo/pkg/model/initializers.go:103
		if os.Getenv(env) == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4dd1660cc6aab37b Environment-variable access.
repo/pkg/model/process.go:20
var forceBackendShutdown bool = os.Getenv("LOCALAI_FORCE_BACKEND_SHUTDOWN") == "true"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #345c0ca1d9664893 Environment-variable access.
repo/pkg/model/process.go:169
	env := os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3b3aaeb18c1e2f2d Filesystem access.
repo/pkg/oci/blob.go:20
	fs, err := os.Create(dst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b9d71a4996cba071 Filesystem access.
repo/pkg/oci/image.go:367
		file, err := os.Create(layerFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eab914e856b662c7 Filesystem access.
repo/pkg/oci/image.go:406
	tarFile, err := os.Create(tarFilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #55f807cf28f79891 Filesystem access.
repo/pkg/oci/image.go:425
	tarFile, err := os.Open(tarFilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ef2cca3e449aef30 Filesystem access.
repo/pkg/oci/tarball.go:57
	dstFile, err := os.Create(dstimageTar)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0cf9a1412c6267c1 Filesystem access.
repo/pkg/oci/tarball.go:64
		f, err := os.Open(srctar)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1aa89ec6d00c786d Environment-variable access.
repo/pkg/system/capabilities.go:99
	capability := os.Getenv(capabilityEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #83cdf720379def50 Environment-variable access.
repo/pkg/system/capabilities.go:107
	capabilityRunFileEnv := os.Getenv(capabilityRunFileEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5b78992befaa407e Filesystem access.
repo/pkg/system/capabilities.go:116
		capability, err := os.ReadFile(capabilityRunFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #27db232261228337 Filesystem access.
repo/pkg/utils/ffmpeg.go:44
	in, err := os.Open(src)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #249e4e31f09693fe Filesystem access.
repo/pkg/utils/ffmpeg.go:49
	out, err := os.Create(dst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #30ae20e0ddd28e7a Filesystem access.
repo/pkg/utils/ffmpeg.go:63
	f, err := os.Open(src)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fa4e578749cf450e Filesystem access.
repo/pkg/xsysinfo/drmfdinfo.go:71
			data, err := os.ReadFile(filepath.Join(pidDir, "fdinfo", entry.Name()))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #47fcf0c8898096cf Filesystem access.
repo/pkg/xsysinfo/gpu.go:840
	if data, err := os.ReadFile("/sys/devices/soc0/family"); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #00155f761e05381b Filesystem access.
repo/pkg/xsysinfo/gpu.go:845
	if data, err := os.ReadFile("/sys/devices/soc0/soc_id"); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9c306b2a585917fa Filesystem access.
repo/pkg/xsysinfo/gpu.go:859
	if data, err := os.ReadFile("/proc/device-tree/model"); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cebeaa9ee3b3217c Filesystem access.
repo/pkg/xsysinfo/gpu.go:864
	if data, err := os.ReadFile("/sys/devices/soc0/machine"); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bea4385203ebf57d Filesystem access.
repo/pkg/xsysinfo/gpu.go:869
	if data, err := os.ReadFile("/sys/devices/soc0/soc_id"); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2cdd8d7446dba56a Filesystem access.
repo/pkg/xsysinfo/gpu.go:878
	if data, err := os.ReadFile("/sys/devices/soc0/family"); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aa94c537326bd9ff Filesystem access.
repo/pkg/xsysinfo/memory.go:29
	b, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

</> Dependencies

github.com/modelcontextprotocol/go-sdk

go dependency
medium pii_flow tooling Excluded from app score unknown #b48c8ec06dfbf9ee PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
pkgs/go/[email protected]/examples/server/distributed/main.go:95 · flow /tmp/closeopen-ftvk3ek8/pkgs/go/[email protected]/examples/server/distributed/main.go:89 → /tmp/closeopen-ftvk3ek8/pkgs/go/[email protected]/examples/server/distributed/main.go:95
				log.Printf("child %d failed: %v", i, err)

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

expand_more 7 low-confidence finding(s)
low env_fs dependency Excluded from app score #8a8c1f5303fb8ff6 Environment-variable access.
pkgs/go/[email protected]/conformance/everything-client/main.go:300
	scenarioName := os.Getenv("MCP_CONFORMANCE_SCENARIO")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7cdcb6f2f1f0c623 Environment-variable access.
pkgs/go/[email protected]/conformance/everything-client/main.go:319
	ctxStr := os.Getenv("MCP_CONFORMANCE_CONTEXT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #eb850f9a40e4702e Environment-variable access.
pkgs/go/[email protected]/examples/server/distributed/main.go:54
	if v := os.Getenv(childPortVar); v != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #09b555a40f10c23a Environment-variable access.
pkgs/go/[email protected]/examples/server/distributed/main.go:89
		cmd.Env = append(os.Environ(), fmt.Sprintf("%s=%s", childPortVar, port))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #5d6028eb0320699c Filesystem access.
pkgs/go/[email protected]/examples/server/memory/kb.go:75
	data, err := os.ReadFile(fs.path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #d5dc35ef3f39735c Filesystem access.
pkgs/go/[email protected]/examples/server/memory/kb.go:87
	if err := os.WriteFile(fs.path, data, 0o600); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d7792e35edd30bed Environment-variable access.
pkgs/go/[email protected]/internal/mcpgodebug/mcpgodebug.go:26
	compatibilityParams, err = parseCompatibility(os.Getenv(compatibilityEnvKey))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

google.golang.org/protobuf

go dependency
medium pii_flow dependency Excluded from app score #6b97312128fbd217 PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:523 · flow /tmp/closeopen-ftvk3ek8/pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:520 → /tmp/closeopen-ftvk3ek8/pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:523
		fmt.Printf("executing: %v\n%s\n", strings.Join(cmd.Args, " "), out)

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

expand_more 22 low-confidence finding(s)
low env_fs dependency Excluded from app score #eabc56f6d9ec09ed Filesystem access.
pkgs/go/[email protected]/internal/cmd/generate-corpus/main.go:117
		if err := os.WriteFile(fmt.Sprintf("internal/fuzz/wirefuzz/corpus/%x", sha1.Sum(wire)), wire, 0777); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0f197fff6deb1ac2 Filesystem access.
pkgs/go/[email protected]/internal/cmd/generate-corpus/main.go:125
		if err := os.WriteFile(fmt.Sprintf("internal/fuzz/textfuzz/corpus/%x", sha1.Sum(text)), text, 0777); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #644e6d09ba68e14f Filesystem access.
pkgs/go/[email protected]/internal/cmd/generate-corpus/main.go:133
		if err := os.WriteFile(fmt.Sprintf("internal/fuzz/jsonfuzz/corpus/%x", sha1.Sum(json)), json, 0777); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1c586d364a8af398 Environment-variable access.
pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:46
	if plugin := os.Getenv("RUN_AS_PROTOC_PLUGIN"); plugin != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f0b13a95a7dd086c Environment-variable access.
pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:85
	flag.StringVar(&protoRoot, "protoroot", os.Getenv("PROTOBUF_ROOT"), "The root of the protobuf source tree.")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #78cb34d864816219 Filesystem access.
pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:119
	out, err := os.Create(outFn)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4457ae87bfdcb59e Filesystem access.
pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:124
	b, err := os.ReadFile(inFn)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fd7ea585ca086408 Filesystem access.
pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:427
			check(os.WriteFile(filepath.Join(tmpDir, filepath.FromSlash(d.path+"/gen_test.go")), b, 0664))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #05a0c65bbc36042e Environment-variable access.
pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:520
	cmd.Env = append(os.Environ(), "RUN_AS_PROTOC_PLUGIN=1")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5b96c63c1443fff4 Filesystem access.
pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:721
	src, err := os.ReadFile(srcPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f3ea02def9869574 Filesystem access.
pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:724
	dst, _ := os.ReadFile(dstPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #743ab7692c972388 Filesystem access.
pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:728
	check(os.WriteFile(dstPath, src, 0664))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #05c55c8d9f13ba36 Filesystem access.
pkgs/go/[email protected]/internal/cmd/generate-types/main.go:263
		prev, _ := os.ReadFile(absFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ebc5054c164366a3 Filesystem access.
pkgs/go/[email protected]/internal/cmd/generate-types/main.go:266
			check(os.WriteFile(absFile, b, 0664))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #18db52163c3f2799 Filesystem access.
pkgs/go/[email protected]/internal/cmd/generate-types/main.go:269
		check(os.WriteFile(absFile+".tmp", b, 0664))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a59c010d19260c48 Filesystem access.
pkgs/go/[email protected]/internal/cmd/pbdump/pbdump.go:121
		b, err := os.ReadFile(f)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f44a90573882777c Filesystem access.
pkgs/go/[email protected]/internal/detrand/rand.go:46
	f, err := os.Open(s)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e519ac5c9c16c896 Filesystem access.
pkgs/go/[email protected]/internal/fuzztest/fuzztest.go:20
	dir, err := os.Open(*corpus)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #958872adf658dd44 Filesystem access.
pkgs/go/[email protected]/internal/fuzztest/fuzztest.go:36
			b, err := os.ReadFile(filepath.Join(*corpus, name))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #170869dd97aa8322 Environment-variable access.
pkgs/go/[email protected]/internal/impl/lazy.go:24
	if os.Getenv("GOPROTODEBUG") == "nolazy" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c4580c365e693db8 Environment-variable access.
pkgs/go/[email protected]/reflect/protoregistry/registry.go:51
	if v := os.Getenv(env); v != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c4ac6f8ccad7682a Environment-variable access.
pkgs/go/[email protected]/reflect/protoregistry/registry.go:63
		panic("invalid " + env + " value: " + os.Getenv(env))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

fyne.io/fyne/v2

go dependency
expand_more 94 low-confidence finding(s)
low env_fs dependency Excluded from app score #3b30deae443ad43a Filesystem access.
pkgs/go/[email protected]/app/app_windows.go:82
	err := os.WriteFile(tmpFilePath, []byte(script), 0o600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a5f083641e7b21ce Filesystem access.
pkgs/go/[email protected]/app/icon_cache_file.go:37
	file, err := os.Create(filePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2d538c79718f999d Filesystem access.
pkgs/go/[email protected]/app/meta_development.go:20
	ref, err := os.Open(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cbb46aee893d82ee Filesystem access.
pkgs/go/[email protected]/app/preferences_nonweb.go:24
	file, err := os.Create(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c8a71262ad619612 Filesystem access.
pkgs/go/[email protected]/app/preferences_nonweb.go:29
		file, err = os.Open(path) // #nosec

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a04d5eb2f279348a Filesystem access.
pkgs/go/[email protected]/app/preferences_nonweb.go:38
	file, err := os.Open(path) // #nosec

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6db6f8b458369bb6 Environment-variable access.
pkgs/go/[email protected]/app/settings.go:127
	if env := os.Getenv("FYNE_THEME"); env != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #01d4fd3b968897c1 Filesystem access.
pkgs/go/[email protected]/app/settings_file.go:24
	file, err := os.Open(path) // #nosec

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #36f16585113874a8 Filesystem access.
pkgs/go/[email protected]/canvas/image.go:311
		fd, err := os.Open(i.File)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #431ce763300ffe27 Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/build.go:199
	env := os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9c5fe06636aaa2c4 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/build.go:288
	pprofInitFile, err := os.Create(pprofInitFilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f30e88ab92521d9a Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/build.go:313
		goBin := os.Getenv("GO")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b31f3137c6bc3727 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/build.go:336
	metadataInitFile, err := os.Create(metadataInitFilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bb1d0a3e770cb524 Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/build.go:387
	osEnv, ok := os.LookupEnv("GOOS")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #11a44e43cc7642df Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/build.go:409
	goFlags := os.Getenv("GOFLAGS")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6c7e19cb08095ae6 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/bundle.go:113
		f, err := os.OpenFile(b.out, fileModes, 0o666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9fbaed078548ad64 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/bundle.go:118
				f, err = os.Create(b.out)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6985a5825745e9ca Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/bundle.go:227
	f, err := os.OpenFile(filePath, fileModes, 0o666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #06ddb5a5f6690bd8 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/bundle.go:235
		f, err = os.Create(filePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #421768fa7a87e779 Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/install.go:165
			i.installDir = filepath.Join(os.Getenv("ProgramFiles"), dirName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8439483032de7467 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/package-darwin.go:41
	infoFile, err := os.Create(info)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #736b2ca3c6d9486b Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/package-darwin.go:68
	img, err := os.Open(p.icon)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fe6be23da35b0773 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/package-darwin.go:77
	dest, err := os.Create(icnsPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ff75fee11488faae Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/package-mobile.go:29
	err = os.WriteFile(filepath.Join(assetDir, "Contents.json"), []byte(`{
  "info" : {
    "author" : "xcode",
    "version" : 1
  }
}`), 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e72403428a5b1dfd Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/package-mobile.go:40
	contentFile, _ := os.Create(filepath.Join(iconDir, "Contents.json"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #89b92c3ab305d390 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/package-unix.go:63
	deskFile, _ := os.Create(desktop)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #63b1ef41772eb1f4 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/package-unix.go:95
		makefile, _ := os.Create(filepath.Join(outDir, "Makefile"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1aabc9451639b097 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/package-util.go:41
	return os.WriteFile(target, data, 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1855b3168f4f34b9 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/package-windows.go:28
	img, err := os.Open(p.icon)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #13a24a8cfd7a1fa0 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/package-windows.go:39
	file, err := os.Create(icoPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f36447923730731f Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/package-windows.go:59
		manifestFile, _ := os.Create(manifest)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f15885c84f08aa88 Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/package-windows.go:86
	arch, ok := os.LookupEnv("GOARCH")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3bfd045e995c9ced Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/package.go:396
	if data, err := os.ReadFile(filepath.Join(sourceDir, "go.mod")); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #449bc49c2c1234bd Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/package.go:433
	img, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fc9a728d11ddb671 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/release.go:359
	manifest, err := os.Create(manifestPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #46d888d06d24315f Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/release.go:504
	entitlements, err := os.Create(entitlementPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #973d8cb1785f8867 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/commands/translate.go:142
	f, err := os.Open(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #463205f045718be8 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/bind.go:27
		f, err := os.Open(filepath.Clean(src))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #94322d0872f2910c Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/bind.go:54
	f, err := os.Create(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #aaa4a33ea72b2729 Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/bind.go:70
	config.Env = append(os.Environ(), "GOARCH="+targetArch, "GOOS="+targetOS, "CGO_ENABLED=1")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8eac29dcd8d85346 Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/bind.go:74
		config.Env = append(os.Environ(), androidEnv[targetArch]...)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f68437920b77d8c0 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/binres/genarsc.go:38
	if err := os.WriteFile("arsc.go", []byte(fmt.Sprintf(tmpl, strconv.Quote(string(arsc)))), 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8c1ba1a38883c187 Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/binres/sdk.go:58
	sdkdir := os.Getenv("ANDROID_HOME")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f80f5d8aacae3478 Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/build.go:240
	if androidHome := os.Getenv("ANDROID_HOME"); androidHome != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9b6144007e8ae561 Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/build.go:249
	if env := os.Getenv("HOMEPATH"); env != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a71657333b9be4c4 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/build_androidapp.go:52
	manifestData, err := os.ReadFile(filepath.Clean(manifestPath))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #25366ef6909575ce Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/build_androidapp.go:125
		f, err := os.Create(buildO[:len(buildO)-3] + "apk")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b7445fd8f1c55358 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/build_androidapp.go:329
		f, err := os.Open(filepath.Clean(src))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #29da3a3a161825a1 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/build_iosapp.go:80
			if err := os.WriteFile(file.name, file.contents, 0o600); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #958eae7db61178e7 Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/env.go:236
	ndkRoot := os.Getenv("ANDROID_NDK_HOME")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8a0aa1fafd945bc3 Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/env.go:244
	androidHome := os.Getenv("ANDROID_HOME")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ce54bd05ec56c985 Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/env.go:294
	cur := os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #287c8e0d682bce1a Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/gendex/gendex.go:54
	androidHome := os.Getenv("ANDROID_HOME")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #23a0896eb10adcc0 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/gendex/gendex.go:99
	src, err := os.ReadFile(tmpdir + "/classes.dex")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #99a7804828e1aa39 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/gendex/gendex.go:124
	w, err := os.Create(*outfile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d0a54c521be89745 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/gendex/gendex.go:138
	dir, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a0721b48f0d31983 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/init.go:58
	fd, err := os.Open(filepath.Clean(path))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #33a244599f45d9a6 Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/mobile/init.go:75
	if val := os.Getenv(name); val != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #54ee072d424302a7 Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/util/file.go:72
	source, err := os.Open(filepath.Clean(src))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #31b86c2eeb253d2a Filesystem access.
pkgs/go/[email protected]/cmd/fyne/internal/util/file.go:78
	target, err := os.OpenFile(tgt, os.O_RDWR|os.O_CREATE|os.O_TRUNC, perm)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d055224f5ffbb331 Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/util/mobile.go:13
	env := os.Getenv("ANDROID_HOME")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #380bddc3ae3e3007 Environment-variable access.
pkgs/go/[email protected]/cmd/fyne/internal/util/mobile.go:56
	if env, ok := os.LookupEnv("ANDROID_HOME"); !ok || env == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b4081df7842a985a Filesystem access.
pkgs/go/[email protected]/cmd/fyne_settings/settings/appearance.go:136
	file, err := os.Open(path) // #nosec

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a0798904b6142c60 Filesystem access.
pkgs/go/[email protected]/cmd/fyne_settings/settings/appearance.go:172
	return os.WriteFile(path, data, 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0da3f3a2da0ca137 Environment-variable access.
pkgs/go/[email protected]/internal/app/config_mobile_and.go:12
	filesDir := os.Getenv("FILESDIR")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e03655bd885fb141 Environment-variable access.
pkgs/go/[email protected]/internal/cache/base.go:22
	if t, err := time.ParseDuration(os.Getenv("FYNE_CACHE")); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c51639d6805a01e9 Environment-variable access.
pkgs/go/[email protected]/internal/driver/glfw/scale.go:44
	env := os.Getenv(scaleEnvKey)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ef847a8fb204a8b1 Environment-variable access.
pkgs/go/[email protected]/internal/driver/glfw/window_desktop.go:322
	env := os.Getenv(disableDPIDetectionEnvKey)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #69e8213ff3171481 Filesystem access.
pkgs/go/[email protected]/internal/driver/mobile/gl/dll_windows.go:72
		if err := os.WriteFile(filepath.Join(path, "libglesv2.dll"), bytesGLESv2, 0o755); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #db4514ec02dfe6aa Filesystem access.
pkgs/go/[email protected]/internal/driver/mobile/gl/dll_windows.go:75
		if err := os.WriteFile(filepath.Join(path, "libegl.dll"), bytesEGL, 0o755); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4fc4e93bd015c718 Filesystem access.
pkgs/go/[email protected]/internal/driver/mobile/gl/dll_windows.go:78
		if err := os.WriteFile(filepath.Join(path, "d3dcompiler_47.dll"), bytesD3DCompiler, 0o755); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #98760f2d3785a1bf Environment-variable access.
pkgs/go/[email protected]/internal/driver/mobile/gl/dll_windows.go:95
	gopath := os.Getenv("GOPATH")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bb4fb9c74c5a2cb7 Environment-variable access.
pkgs/go/[email protected]/internal/driver/mobile/gl/dll_windows.go:113
	return filepath.Join(os.Getenv("LOCALAPPDATA"), "GoGL", runtime.GOARCH)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f89ca84359a9065f Environment-variable access.
pkgs/go/[email protected]/internal/driver/mobile/gl/dll_windows.go:144
		filepath.Join(os.Getenv("LOCALAPPDATA"), "Google", "Chrome", "Application"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #10513c7022204ab7 Environment-variable access.
pkgs/go/[email protected]/internal/driver/mobile/gl/dll_windows.go:146
		filepath.Join(os.Getenv("ProgramFiles(x86)"), "Google", "Chrome", "Application"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3c1b19c0449f907b Environment-variable access.
pkgs/go/[email protected]/internal/driver/mobile/gl/dll_windows.go:148
		filepath.Join(os.Getenv("LOCALAPPDATA"), "Chromium", "Application"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #68f266da7235dbbe Environment-variable access.
pkgs/go/[email protected]/internal/driver/mobile/gl/dll_windows.go:150
		filepath.Join(os.Getenv("LOCALAPPDATA"), "Google", "Chrome SxS", "Application"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3f7975ff76b11a36 Environment-variable access.
pkgs/go/[email protected]/internal/driver/mobile/gl/dll_windows.go:223
	if ok, err := load(filepath.Join(os.Getenv("GOPATH"), "pkg")); ok || err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e6634d5552f217b0 Filesystem access.
pkgs/go/[email protected]/internal/metadata/load.go:27
	r, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5ae5f7c061817405 Filesystem access.
pkgs/go/[email protected]/internal/metadata/save.go:29
	w, err := os.Create(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #10ef5dcadbe155b9 Environment-variable access.
pkgs/go/[email protected]/internal/painter/font_prod.go:16
		parent := os.Getenv("FILESDIR")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4fd3343f5d8e140e Filesystem access.
pkgs/go/[email protected]/internal/repository/file.go:86
	f, err := os.OpenFile(u.Path(), os.O_RDONLY, 0o666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bb328edd23c8bc9f Filesystem access.
pkgs/go/[email protected]/internal/repository/file.go:121
	f, err := os.OpenFile(u.Path(), os.O_WRONLY, 0o666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #83a89b76732bbd60 Filesystem access.
pkgs/go/[email protected]/internal/repository/file.go:227
	f, err := os.Open(p)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #272aa18dc46b0ddc Filesystem access.
pkgs/go/[email protected]/internal/repository/file.go:270
	srcFile, err := os.Open(src)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #769015f5811e955b Filesystem access.
pkgs/go/[email protected]/internal/repository/file.go:276
	dstFile, err := os.Create(dst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d8adb3a7e2465b12 Filesystem access.
pkgs/go/[email protected]/internal/repository/file.go:330
			f, err = os.Create(path) // If it exists this will truncate which is what we wanted

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #571aa7a06c1f2de7 Filesystem access.
pkgs/go/[email protected]/internal/repository/file.go:332
			f, err = os.OpenFile(path, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0o666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #09aed9e23374d1de Filesystem access.
pkgs/go/[email protected]/internal/repository/file.go:335
		f, err = os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1c6e34beaf320df9 Filesystem access.
pkgs/go/[email protected]/resource.go:60
	bytes, err := os.ReadFile(filepath.Clean(path))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #15f6183c63f26484 Environment-variable access.
pkgs/go/[email protected]/theme/theme.go:81
	font := os.Getenv("FYNE_FONT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0055518a750d3c87 Environment-variable access.
pkgs/go/[email protected]/theme/theme.go:94
	font = os.Getenv("FYNE_FONT_MONOSPACE")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5df05df96cdff773 Environment-variable access.
pkgs/go/[email protected]/theme/theme.go:98
	font = os.Getenv("FYNE_FONT_SYMBOL")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3bb0e5e576b6da24 Filesystem access.
pkgs/go/[email protected]/theme/theme_desktop.go:16
	f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/alecthomas/kong

go dependency
expand_more 9 low-confidence finding(s)
low env_fs dependency Excluded from app score #ffa591ceb2886425 Environment-variable access.
pkgs/go/[email protected]/context.go:1183
		if _, ok := os.LookupEnv(env); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cafd4d9b2cce83e1 Environment-variable access.
pkgs/go/[email protected]/guesswidth_unix.go:16
	colsStr := os.Getenv("COLUMNS")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #607f56882d68c1ab Filesystem access.
pkgs/go/[email protected]/kong.go:496
	r, err := os.Open(path) //nolint: gas

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f4f7c6e7adadcb41 Filesystem access.
pkgs/go/[email protected]/mapper.go:638
			file, err = os.Open(path) //nolint: gosec

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #97cce828bb96b220 Filesystem access.
pkgs/go/[email protected]/mapper.go:739
			data, err = os.ReadFile(path) //nolint:gosec

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4a559153d9715a23 Filesystem access.
pkgs/go/[email protected]/mapper.go:911
	data, err := os.ReadFile(filename) //nolint: gosec

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3669aeea8020e0c9 Filesystem access.
pkgs/go/[email protected]/mapper.go:935
	data, err := os.ReadFile(filename) //nolint: gosec

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #26e77c802108f9e4 Environment-variable access.
pkgs/go/[email protected]/model.go:385
			envar, ok := os.LookupEnv(env)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #708e893ccddd8092 Filesystem access.
pkgs/go/[email protected]/options.go:463
			f, err := os.Open(ExpandPath(path))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/anthropics/anthropic-sdk-go

go dependency
expand_more 39 low-confidence finding(s)
low env_fs dependency Excluded from app score #3a9f6cf026c25fbd Environment-variable access.
pkgs/go/[email protected]/bedrock/bedrock.go:199
		if token := os.Getenv("AWS_BEARER_TOKEN_BEDROCK"); token != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #292d10413a54192d Environment-variable access.
pkgs/go/[email protected]/client.go:57
	if o, ok := os.LookupEnv("ANTHROPIC_BASE_URL"); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #785ea26a07ed2321 Environment-variable access.
pkgs/go/[email protected]/client.go:63
	if v, ok := os.LookupEnv("ANTHROPIC_API_KEY"); ok && v != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #048ac9b0402528e8 Environment-variable access.
pkgs/go/[email protected]/client.go:72
	if v, ok := os.LookupEnv("ANTHROPIC_AUTH_TOKEN"); ok && v != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #76c528852e4aa13b Environment-variable access.
pkgs/go/[email protected]/client.go:84
	if profile, ok := os.LookupEnv("ANTHROPIC_PROFILE"); ok && profile != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4ae296d20346bc45 Environment-variable access.
pkgs/go/[email protected]/client.go:113
	if o, ok := os.LookupEnv("ANTHROPIC_WEBHOOK_SIGNING_KEY"); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cfb58a3ec5b52c16 Environment-variable access.
pkgs/go/[email protected]/client.go:116
	if o, ok := os.LookupEnv("ANTHROPIC_CUSTOM_HEADERS"); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b606e279e3355174 Environment-variable access.
pkgs/go/[email protected]/config/config.go:416
	if dir, ok := os.LookupEnv("ANTHROPIC_CONFIG_DIR"); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d9c1f9763a48f2f9 Environment-variable access.
pkgs/go/[email protected]/config/config.go:420
		if appdata := os.Getenv("APPDATA"); appdata != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1483b4247814d591 Environment-variable access.
pkgs/go/[email protected]/config/config.go:425
	if xdg := os.Getenv("XDG_CONFIG_HOME"); xdg != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #63ee6f6b82fc3bc8 Environment-variable access.
pkgs/go/[email protected]/config/config.go:438
	if profile, ok := os.LookupEnv("ANTHROPIC_PROFILE"); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5ffe0ada96cd1ced Filesystem access.
pkgs/go/[email protected]/config/config.go:441
	data, err := os.ReadFile(filepath.Join(configDir, "active_config"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5430cabeb66a9d2a Filesystem access.
pkgs/go/[email protected]/config/config.go:458
	data, err := os.ReadFile(configPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #11d86a470a380608 Environment-variable access.
pkgs/go/[email protected]/config/config.go:563
	v, ok := os.LookupEnv(key)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6926d0bb5dcd730a Filesystem access.
pkgs/go/[email protected]/config/writers.go:248
	if d, err := os.Open(dir); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9a34458ad49de3fd Filesystem access.
pkgs/go/[email protected]/config/writers.go:371
	data, err := os.ReadFile(ActiveConfigPath(dir))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b3de5b481e9f2f3f Filesystem access.
pkgs/go/[email protected]/internal/auth/credentials_file.go:34
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ac56bff5f4b291cc Environment-variable access.
pkgs/go/[email protected]/internal/auth/default.go:12
	if path, ok := os.LookupEnv(EnvIdentityTokenFile); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4bd7444923f509b2 Environment-variable access.
pkgs/go/[email protected]/internal/auth/default.go:15
	if token, ok := os.LookupEnv(EnvIdentityToken); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #680174975df2b1b0 Environment-variable access.
pkgs/go/[email protected]/internal/auth/default.go:26
	federationRuleID, hasFedRule := os.LookupEnv(EnvFederationRuleID)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f4a2c1cbc65fd145 Environment-variable access.
pkgs/go/[email protected]/internal/auth/default.go:27
	_, hasOrgID := os.LookupEnv(EnvOrganizationID)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ce8d89b08513a0b8 Environment-variable access.
pkgs/go/[email protected]/internal/auth/default.go:28
	hasTokenFile := os.Getenv(EnvIdentityTokenFile) != ""

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1ca6a9011a405640 Environment-variable access.
pkgs/go/[email protected]/internal/auth/default.go:29
	hasTokenLiteral := os.Getenv(EnvIdentityToken) != ""

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #645b88854644ab33 Environment-variable access.
pkgs/go/[email protected]/internal/auth/default.go:50
	orgID := os.Getenv(EnvOrganizationID)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ceae678e108dbaf3 Environment-variable access.
pkgs/go/[email protected]/internal/auth/default.go:57
	if sa, ok := os.LookupEnv(EnvServiceAccountID); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4af31e65f209e332 Environment-variable access.
pkgs/go/[email protected]/internal/auth/default.go:60
	if ws, ok := os.LookupEnv(EnvWorkspaceID); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #546862208f1f9ea0 Filesystem access.
pkgs/go/[email protected]/internal/auth/identity.go:20
	data, err := os.ReadFile(p.Path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c20a30cf5b9265ab Environment-variable access.
pkgs/go/[email protected]/internal/awsauth/awsauth.go:85
		rc.Region = os.Getenv("AWS_REGION")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fbc1dad16f7011f1 Environment-variable access.
pkgs/go/[email protected]/internal/awsauth/awsauth.go:88
		rc.Region = os.Getenv("AWS_DEFAULT_REGION")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5487f9b34f32a468 Environment-variable access.
pkgs/go/[email protected]/internal/awsauth/awsauth.go:94
		rc.BaseURL = os.Getenv(params.EnvBaseURL)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #038da50512db7d9e Environment-variable access.
pkgs/go/[email protected]/internal/awsauth/awsauth.go:105
		rc.WorkspaceID = os.Getenv(params.EnvWorkspaceID)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f41b04cb4af903f2 Environment-variable access.
pkgs/go/[email protected]/internal/awsauth/awsauth.go:108
		rc.WorkspaceID = os.Getenv(params.EnvWorkspaceIDFallback)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ba45b7a419cca1ce Environment-variable access.
pkgs/go/[email protected]/internal/awsauth/awsauth.go:155
			if v := os.Getenv(name); v != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e77e52355e8eae73 Environment-variable access.
pkgs/go/[email protected]/internal/testutil/golden.go:15
	if os.Getenv("UPDATE_GOLDEN") == "1" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e46dc6b3bcf20f75 Filesystem access.
pkgs/go/[email protected]/internal/testutil/golden.go:19
		if err := os.WriteFile(goldenPath, got, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #02589b5e5fda1b7f Filesystem access.
pkgs/go/[email protected]/internal/testutil/golden.go:25
	want, err := os.ReadFile(goldenPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #41bf953bc312622a Environment-variable access.
pkgs/go/[email protected]/internal/testutil/testutil.go:13
		if str, ok := os.LookupEnv(SKIP_MOCK_TESTS); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ed8fbe9d68a37303 Environment-variable access.
pkgs/go/[email protected]/internal/testutil/vcr.go:19
	if os.Getenv("ANTHROPIC_LIVE") == "1" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #61efa7b362518e11 Environment-variable access.
pkgs/go/[email protected]/option/requestoption.go:591
	if v, ok := os.LookupEnv(envVar); ok && v != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/aws/aws-sdk-go-v2

go dependency
expand_more 9 low-confidence finding(s)
low env_fs dependency Excluded from app score #339b2c95bf5d94e6 Filesystem access.
pkgs/go/[email protected]/aws/generate.go:29
	f, err := os.Create(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6ba62bd27fadc35d Filesystem access.
pkgs/go/[email protected]/aws/logging_generate.go:85
	file, err := os.Create("logging.go")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #eac08b0e25b25882 Environment-variable access.
pkgs/go/[email protected]/aws/middleware/recursion_detection.go:40
	_, hasLambdaEnv := os.LookupEnv(envAwsLambdaFunctionName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bb905b7e7a1ca720 Environment-variable access.
pkgs/go/[email protected]/aws/middleware/recursion_detection.go:41
	xAmznTraceID, hasTraceID := os.LookupEnv(envAmznTraceID)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0cd7232569654c6a Environment-variable access.
pkgs/go/[email protected]/aws/middleware/user_agent.go:208
	if ev := os.Getenv(execEnvVar); len(ev) > 0 {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e5d2428536770806 Environment-variable access.
pkgs/go/[email protected]/internal/awstesting/util.go:106
	originalEnv := os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #dd025f5381e7916a Environment-variable access.
pkgs/go/[email protected]/internal/awstesting/util.go:150
		if val, ok := os.LookupEnv(env); ok && len(val) > 0 {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #495970b63322c10e Filesystem access.
pkgs/go/[email protected]/internal/endpoints/awsrulesfn/internal/partition/codegen.go:102
	modelFile, err := os.Open(modelFilename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9d7a82d6b34cf06d Filesystem access.
pkgs/go/[email protected]/internal/endpoints/awsrulesfn/internal/partition/codegen.go:113
	file, err := os.Create(outputFilename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/aws/aws-sdk-go-v2/config

go dependency
expand_more 38 low-confidence finding(s)
low env_fs dependency Excluded from app score #245646169c410250 Filesystem access.
pkgs/go/[email protected]/codegen/main.go:94
	file, err := os.OpenFile(config.OutputPath, os.O_CREATE|os.O_TRUNC|os.O_WRONLY, 0744)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #96c8697323c33e9b Environment-variable access.
pkgs/go/[email protected]/config.go:228
	if os.Getenv(awsProfileEnv) != "" || options.SharedConfigProfile != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #04d23479d6454c3f Environment-variable access.
pkgs/go/[email protected]/defaultsmode.go:43
		EnvironmentIdentifier:     aws.ExecutionEnvironmentID(os.Getenv(execEnvVar)),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #dda010f50d7c79e5 Environment-variable access.
pkgs/go/[email protected]/env_config.go:331
		creds.AccountID = os.Getenv(awsAccountIDEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a042ca68a5999df9 Environment-variable access.
pkgs/go/[email protected]/env_config.go:332
		creds.SessionToken = os.Getenv(awsSessionTokenEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7baf6087fada9e90 Environment-variable access.
pkgs/go/[email protected]/env_config.go:336
	cfg.ContainerCredentialsEndpoint = os.Getenv(awsContainerCredentialsFullURIEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #99889c3b8638730a Environment-variable access.
pkgs/go/[email protected]/env_config.go:337
	cfg.ContainerCredentialsRelativePath = os.Getenv(awsContainerCredentialsRelativeURIEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3a695fc6004d8e69 Environment-variable access.
pkgs/go/[email protected]/env_config.go:338
	cfg.ContainerAuthorizationToken = os.Getenv(awsContainerAuthorizationTokenEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8611b6ab5e672ae7 Environment-variable access.
pkgs/go/[email protected]/env_config.go:343
	cfg.SharedCredentialsFile = os.Getenv(awsSharedCredentialsFileEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a55801e30f638475 Environment-variable access.
pkgs/go/[email protected]/env_config.go:344
	cfg.SharedConfigFile = os.Getenv(awsConfigFileEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #78ab63a367cbebb6 Environment-variable access.
pkgs/go/[email protected]/env_config.go:346
	cfg.CustomCABundle = os.Getenv(awsCABundleEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4294e0a9066a59cc Environment-variable access.
pkgs/go/[email protected]/env_config.go:348
	cfg.WebIdentityTokenFilePath = os.Getenv(awsWebIdentityTokenFileEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #368b7d32a476ebd2 Environment-variable access.
pkgs/go/[email protected]/env_config.go:350
	cfg.RoleARN = os.Getenv(awsRoleARNEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #68400b756047249b Environment-variable access.
pkgs/go/[email protected]/env_config.go:351
	cfg.RoleSessionName = os.Getenv(awsRoleSessionNameEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d0b8b99a3045f3c8 Environment-variable access.
pkgs/go/[email protected]/env_config.go:353
	cfg.AppID = os.Getenv(awsSdkUaAppIDEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #934b6daebc8a00c4 Environment-variable access.
pkgs/go/[email protected]/env_config.go:374
	cfg.EC2IMDSEndpoint = os.Getenv(awsEc2MetadataServiceEndpointEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b52ce70483e538bc Environment-variable access.
pkgs/go/[email protected]/env_config.go:423
	cfg.AuthSchemePreference = toAuthSchemePreferenceList(os.Getenv(awsAuthSchemePreferenceEnv))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8bba98b4bf91c8f1 Environment-variable access.
pkgs/go/[email protected]/env_config.go:485
		value := os.Getenv(k)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #33b44fde2efac3e4 Environment-variable access.
pkgs/go/[email protected]/env_config.go:503
		if value := os.Getenv(k); len(value) > 0 {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2127e62a449669dd Environment-variable access.
pkgs/go/[email protected]/env_config.go:515
		if value := os.Getenv(k); len(value) > 0 {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #144a6b4274a819c3 Environment-variable access.
pkgs/go/[email protected]/env_config.go:528
		value := os.Getenv(k)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4321796fc88b510a Environment-variable access.
pkgs/go/[email protected]/env_config.go:541
		value := os.Getenv(k)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0657519dd2f80f8e Environment-variable access.
pkgs/go/[email protected]/env_config.go:563
		value := os.Getenv(k)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ca4665b4a9a87599 Environment-variable access.
pkgs/go/[email protected]/env_config.go:582
		value := os.Getenv(k)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5d59b4fd7997c74a Filesystem access.
pkgs/go/[email protected]/env_config.go:656
	b, err := os.ReadFile(c.CustomCABundle)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3f33b8d1012f7833 Environment-variable access.
pkgs/go/[email protected]/env_config.go:680
	if endpt := os.Getenv(fmt.Sprintf("%s_%s", awsEndpointURLEnv, normalizeEnv(sdkID))); endpt != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c325f8eab67f8780 Environment-variable access.
pkgs/go/[email protected]/env_config.go:733
		if v := os.Getenv(k); len(v) > 0 {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #01a40f4b4c0c6fae Environment-variable access.
pkgs/go/[email protected]/env_config.go:742
		if v := os.Getenv(k); len(v) > 0 {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f99fb88db0ac17e8 Environment-variable access.
pkgs/go/[email protected]/env_config.go:757
		value := os.Getenv(k)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #31af80d9174fc2a3 Environment-variable access.
pkgs/go/[email protected]/env_config.go:784
		value := os.Getenv(k)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d54bb5a6abf7a1ff Environment-variable access.
pkgs/go/[email protected]/env_config.go:808
		value := os.Getenv(k)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4e494cbbf6211481 Environment-variable access.
pkgs/go/[email protected]/env_config.go:831
		value := os.Getenv(k)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #13ab07be90ed8bce Environment-variable access.
pkgs/go/[email protected]/env_config.go:852
		value := os.Getenv(k)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0c123e425d26f19f Filesystem access.
pkgs/go/[email protected]/internal/ini/ini.go:25
	f, oerr := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #282c5dfb28067120 Environment-variable access.
pkgs/go/[email protected]/resolve_credentials.go:344
			if authFilePath := os.Getenv(httpProviderAuthFileEnvVar); authFilePath != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #58239801d23727e0 Filesystem access.
pkgs/go/[email protected]/resolve_credentials.go:348
					if contents, err = os.ReadFile(authFilePath); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fb22f972f787cbf4 Environment-variable access.
pkgs/go/[email protected]/resolve_credentials.go:634
	cacheDir := os.Getenv("AWS_LOGIN_CACHE_DIRECTORY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6bac2dba767b00dd Filesystem access.
pkgs/go/[email protected]/shared_config.go:504
	b, err := os.ReadFile(c.CustomCABundle)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/aws/aws-sdk-go-v2/credentials

go dependency
expand_more 6 low-confidence finding(s)
low env_fs dependency Excluded from app score #dbc19068a13d2798 Filesystem access.
pkgs/go/[email protected]/logincreds/file.go:9
	return os.Open(name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fbc96823d2a69217 Filesystem access.
pkgs/go/[email protected]/logincreds/file.go:13
	return os.Create(name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6f0548eb8bf22459 Environment-variable access.
pkgs/go/[email protected]/processcreds/provider.go:107
	cmd.Env = os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4a5eedbcd973f7e0 Filesystem access.
pkgs/go/[email protected]/ssocreds/sso_cached_token.go:147
	fileBytes, err := os.ReadFile(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ba6319c5864583bd Filesystem access.
pkgs/go/[email protected]/ssocreds/sso_cached_token.go:180
	f, err = os.OpenFile(filename, os.O_CREATE|os.O_TRUNC|os.O_RDWR, fileMode)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #59835ee20847a20f Filesystem access.
pkgs/go/[email protected]/stscreds/web_identity_provider.go:83
	b, err := os.ReadFile(string(j))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/aws/aws-sdk-go-v2/service/s3

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #4b34788c681e3a08 Environment-variable access.
pkgs/go/[email protected]/endpoints.go:219
	_, g := os.LookupEnv("AWS_ENDPOINT_URL")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ac3597bcd0fe0b2c Environment-variable access.
pkgs/go/[email protected]/endpoints.go:220
	_, s := os.LookupEnv("AWS_ENDPOINT_URL_S3")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/cespare/xxhash/v2

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #9c557e78f72422e5 Filesystem access.
pkgs/go/[email protected]/xxhsum/xxhsum.go:24
		f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/charmbracelet/glamour

go dependency
expand_more 4 low-confidence finding(s)
low env_fs dependency Excluded from app score #aa283d85e050008b Filesystem access.
pkgs/go/[email protected]/glamour.go:151
			jsonBytes, err := os.ReadFile(stylePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d33564f83781b835 Filesystem access.
pkgs/go/[email protected]/glamour.go:182
		jsonBytes, err := os.ReadFile(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ffbb5b03b84afb25 Environment-variable access.
pkgs/go/[email protected]/glamour.go:298
	glamourStyle := os.Getenv("GLAMOUR_STYLE")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #86efa0ee6b8ce4ab Filesystem access.
pkgs/go/[email protected]/internal/generate-style-json/main.go:14
	f, err := os.Create(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/containerd/containerd

go dependency
expand_more 160 low-confidence finding(s)
low env_fs dependency Excluded from app score #f20852c94941ffda Environment-variable access.
pkgs/go/[email protected]/archive/compression/compression.go:311
	value := os.Getenv(disablePigzEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c69a0f35da262aef Filesystem access.
pkgs/go/[email protected]/archive/tar_unix.go:74
	return os.Open(p)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #952b4b93b0b7b9ad Filesystem access.
pkgs/go/[email protected]/archive/tar_unix.go:78
	f, err := os.OpenFile(name, flag, perm)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #53b62faca23da945 Environment-variable access.
pkgs/go/[email protected]/cmd/containerd-shim/main_unix.go:97
	if os.Getenv("GOMAXPROCS") == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #862e20d3fc7aae00 Filesystem access.
pkgs/go/[email protected]/cmd/containerd-stress/density.go:148
	f, err := os.Open(fmt.Sprintf("/proc/%d/smaps", pid))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e1586cc898b931ff Filesystem access.
pkgs/go/[email protected]/cmd/containerd-stress/density.go:178
	bytes, err := os.ReadFile(filepath.Join("/proc", strconv.Itoa(pid), "stat"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #441cbd62610ba27d Filesystem access.
pkgs/go/[email protected]/cmd/containerd/command/main.go:386
		f, err := os.Create(name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9d0777e513aaf5f9 Environment-variable access.
pkgs/go/[email protected]/cmd/containerd/command/oci-hook.go:49
			env  = os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1a182f183daf7bf6 Filesystem access.
pkgs/go/[email protected]/cmd/containerd/command/oci-hook.go:70
	f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6d35eb1c038954ab Filesystem access.
pkgs/go/[email protected]/cmd/containerd/command/service_windows.go:245
			f, err = os.OpenFile(logFileFlag, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cc30c588c9ffde4b Filesystem access.
pkgs/go/[email protected]/cmd/containerd/command/service_windows.go:256
			f, err = os.OpenFile(os.DevNull, os.O_WRONLY, 0)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6372a685c22aeceb Filesystem access.
pkgs/go/[email protected]/cmd/containerd/command/service_windows.go:333
	panicFile, err = os.OpenFile(path, os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ac8a67ffecccdf8f Filesystem access.
pkgs/go/[email protected]/cmd/containerd/command/service_windows.go:348
		panicFile, err = os.Create(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0ae03f90f1631f08 Environment-variable access.
pkgs/go/[email protected]/cmd/ctr/commands/client.go:69
	if s := os.Getenv("CONTAINERD_SUPPRESS_DEPRECATION_WARNINGS"); s != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #982e42b146e8ca67 Environment-variable access.
pkgs/go/[email protected]/cmd/ctr/commands/content/content.go:580
	tmp, err := os.CreateTemp(os.Getenv("XDG_RUNTIME_DIR"), "edit-")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #66b82f7ac828db4a Environment-variable access.
pkgs/go/[email protected]/cmd/ctr/commands/content/content.go:601
	cmd.Env = os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7200baa0389f0cff Filesystem access.
pkgs/go/[email protected]/cmd/ctr/commands/content/content.go:607
	edited, err := os.OpenFile(tmp.Name(), os.O_RDONLY, 0600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #43630fb25d01a2b0 Filesystem access.
pkgs/go/[email protected]/cmd/ctr/commands/images/export.go:90
			w, err = os.Create(out)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9cf691db1c0a6fe9 Filesystem access.
pkgs/go/[email protected]/cmd/ctr/commands/images/import.go:174
				r, err = os.Open(in)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d82f814c7330ccbd Filesystem access.
pkgs/go/[email protected]/cmd/ctr/commands/images/import.go:250
			r, err = os.Open(in)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b54c7760b5618eaa Filesystem access.
pkgs/go/[email protected]/cmd/ctr/commands/resolver.go:128
		tlsRootData, err := os.ReadFile(tlsRootPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ea19f34c4223712c Filesystem access.
pkgs/go/[email protected]/cmd/ctr/commands/sandboxes/sandboxes.go:66
		spec, err := os.ReadFile(context.Args().First())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e29f0ff17c739148 Filesystem access.
pkgs/go/[email protected]/cmd/ctr/commands/shim/shim.go:176
		spec, err := os.ReadFile(context.String("spec"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #147629d356c030e1 Filesystem access.
pkgs/go/[email protected]/cmd/gen-manpages/main.go:63
	if err := os.WriteFile(filepath.Join(dir, fmt.Sprintf("%s.%s", name, section)), []byte(data), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6e8fa2a994fd19a6 Filesystem access.
pkgs/go/[email protected]/content/local/readerat.go:46
	fp, err := os.Open(p)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d82f28ea82aca9b6 Filesystem access.
pkgs/go/[email protected]/content/local/store.go:296
	fp, err := os.Open(filepath.Join(s.root, "ingest"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0a701cb17d3aa827 Filesystem access.
pkgs/go/[email protected]/content/local/store.go:349
	fp, err := os.Open(filepath.Join(s.root, "ingest"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #686174249eebaee3 Filesystem access.
pkgs/go/[email protected]/content/local/store.go:518
	fp, err := os.Open(data)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #eef6f66f78970c92 Filesystem access.
pkgs/go/[email protected]/content/local/store.go:583
		if err := os.WriteFile(refp, []byte(ref), 0666); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9c0f68fd861afcce Filesystem access.
pkgs/go/[email protected]/content/local/store.go:596
			if err := os.WriteFile(filepath.Join(path, "total"), []byte(fmt.Sprint(total)), 0666); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bb987cd0690bc9ee Filesystem access.
pkgs/go/[email protected]/content/local/store.go:602
	fp, err := os.OpenFile(data, os.O_WRONLY|os.O_CREATE, 0666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ed158a7202835793 Filesystem access.
pkgs/go/[email protected]/content/local/store.go:675
	p, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1021c4bc05451e8e Filesystem access.
pkgs/go/[email protected]/content/local/store.go:681
	b, err := os.ReadFile(p)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #de1e0fc3563f3dc1 Filesystem access.
pkgs/go/[email protected]/content/local/store.go:707
	f, err := os.OpenFile(tmp, os.O_RDWR|os.O_CREATE|os.O_TRUNC|os.O_SYNC, mode)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1fc512d078a0c596 Environment-variable access.
pkgs/go/[email protected]/contrib/apparmor/apparmor.go:71
	f, err := os.CreateTemp(os.Getenv("XDG_RUNTIME_DIR"), p.Name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2d79390714557738 Filesystem access.
pkgs/go/[email protected]/contrib/apparmor/apparmor_fuzzer.go:25
	f, err := os.Create("fuzz_file")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cd73e20e21f8f941 Filesystem access.
pkgs/go/[email protected]/contrib/apparmor/template.go:133
	currentProfile, err := os.ReadFile("/proc/self/attr/current")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #44271a719186342d Filesystem access.
pkgs/go/[email protected]/contrib/apparmor/template.go:182
	f, err := os.Open("/sys/kernel/security/apparmor/profiles")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #294e69f567c9fb70 Filesystem access.
pkgs/go/[email protected]/contrib/fuzz/content_fuzzer.go:160
	w, err := os.Create("fuzz-output-file")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b9ecb1d740b4a812 Environment-variable access.
pkgs/go/[email protected]/contrib/nvidia/nvidia.go:100
			Env: os.Environ(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7de77166f1754f7a Filesystem access.
pkgs/go/[email protected]/contrib/seccomp/seccomp.go:41
		f, err := os.ReadFile(profile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #da441e3863ec9e94 Environment-variable access.
pkgs/go/[email protected]/defaults/defaults_windows.go:27
	DefaultRootDir = filepath.Join(os.Getenv("ProgramData"), "containerd", "root")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #41da5c640e986ba6 Environment-variable access.
pkgs/go/[email protected]/defaults/defaults_windows.go:30
	DefaultStateDir = filepath.Join(os.Getenv("ProgramData"), "containerd", "state")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #97c0ef69d17d8948 Environment-variable access.
pkgs/go/[email protected]/defaults/defaults_windows.go:33
	DefaultConfigDir = filepath.Join(os.Getenv("programfiles"), "containerd")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a6bdb9ad671ae0bc Filesystem access.
pkgs/go/[email protected]/diff/apply/apply_linux.go:149
	fd, err := os.Open(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #74dea4bfaa87303b Filesystem access.
pkgs/go/[email protected]/diff/lcow/lcow.go:147
	outFile, err := os.Create(layerPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #940ed6d7149c94ec Environment-variable access.
pkgs/go/[email protected]/diff/stream_unix.go:39
	cmd.Env = os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c7e846550d3fb35b Environment-variable access.
pkgs/go/[email protected]/diff/stream_windows.go:42
	cmd.Env = os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #83bc14c2925f22d1 Filesystem access.
pkgs/go/[email protected]/integration/failpoint/cmd/cni-bridge-fp/main_linux.go:160
	f, err := os.OpenFile(c.confPath, os.O_RDWR, 0666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fb4b2cbebd391551 Filesystem access.
pkgs/go/[email protected]/integration/failpoint/cmd/runc-fp/delayexec.go:109
	f, err := os.OpenFile(specFile, os.O_RDONLY, 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #984bc087f8d6ac52 Filesystem access.
pkgs/go/[email protected]/integration/failpoint/cmd/runc-fp/issue9103.go:47
	data, err := os.ReadFile(initPidPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #25739b9df44a4f41 Filesystem access.
pkgs/go/[email protected]/integration/failpoint/cmd/runc-fp/main.go:63
	f, err := os.OpenFile(logFile, os.O_CREATE|os.O_WRONLY|os.O_APPEND|os.O_SYNC, 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #44993083ea9f0590 Filesystem access.
pkgs/go/[email protected]/integration/images/image_list.go:65
		fileContent, err := os.ReadFile(imageListFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #22ce087219fce577 Filesystem access.
pkgs/go/[email protected]/mount/losetup_linux.go:50
	ctrl, err := os.OpenFile(loopControlPath, os.O_RDWR, 0)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #af99a60f327bd17c Filesystem access.
pkgs/go/[email protected]/mount/losetup_linux.go:72
	back, err := os.OpenFile(backingFile, flags, 0)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #df17db16a9d83f91 Filesystem access.
pkgs/go/[email protected]/mount/losetup_linux.go:78
	loop, err := os.OpenFile(loopDev, flags, 0)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #680ba2591a8d0148 Filesystem access.
pkgs/go/[email protected]/mount/losetup_linux.go:194
	file, err := os.Open(loopdev)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c066bdcf7a5dc567 Filesystem access.
pkgs/go/[email protected]/mount/mount_windows.go:108
	if err := os.WriteFile(filepath.Clean(target)+":"+sourceStreamName, []byte(m.Source), 0666); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #267ce57d8e24a6e2 Filesystem access.
pkgs/go/[email protected]/mount/mount_windows.go:140
		layerPathb, err := os.ReadFile(mount + ":" + sourceStreamName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3744d3b3e8460455 Environment-variable access.
pkgs/go/[email protected]/mount/temp.go:122
	if xdg := os.Getenv("XDG_RUNTIME_DIR"); xdg != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7a59c2ea9c20e0be Environment-variable access.
pkgs/go/[email protected]/namespaces/context.go:48
	namespace := os.Getenv(NamespaceEnvVar)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b80161401cbc02de Filesystem access.
pkgs/go/[email protected]/oci/spec.go:52
	f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #99ee611b8be58791 Filesystem access.
pkgs/go/[email protected]/oci/spec_opts.go:170
		p, err := os.ReadFile(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4e5bcee208ee2529 Filesystem access.
pkgs/go/[email protected]/oci/spec_opts.go:1431
		f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #306218d34aafdb44 Environment-variable access.
pkgs/go/[email protected]/pkg/apparmor/apparmor_linux.go:37
		if _, err := os.Stat("/sys/kernel/security/apparmor"); err == nil && os.Getenv("container") == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e9617eb5215c75fb Filesystem access.
pkgs/go/[email protected]/pkg/apparmor/apparmor_linux.go:39
				buf, err := os.ReadFile("/sys/module/apparmor/parameters/enabled")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #968791a4b1f40bd3 Filesystem access.
pkgs/go/[email protected]/pkg/cap/cap_linux.go:119
	f, err := os.Open("/proc/self/status")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d74eb12bf07713f5 Environment-variable access.
pkgs/go/[email protected]/pkg/cri/config/config_windows.go:31
			NetworkPluginBinDir:        filepath.Join(os.Getenv("ProgramFiles"), "containerd", "cni", "bin"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fc89af0812e244c3 Environment-variable access.
pkgs/go/[email protected]/pkg/cri/config/config_windows.go:32
			NetworkPluginConfDir:       filepath.Join(os.Getenv("ProgramFiles"), "containerd", "cni", "conf"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0d88e7d2dd8a5ef4 Environment-variable access.
pkgs/go/[email protected]/pkg/cri/cri.go:109
	if os.Getenv("ENABLE_CRI_SANDBOXES") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4921de2bc1f2e1eb Filesystem access.
pkgs/go/[email protected]/pkg/cri/opts/spec_linux.go:121
		controllers, err := os.ReadFile("/sys/fs/cgroup/cgroup.controllers")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #aaf02f0cabe424d0 Filesystem access.
pkgs/go/[email protected]/pkg/cri/opts/spec_linux_opts.go:409
	b, err := os.ReadFile("/proc/self/oom_score_adj")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f284328002602693 Filesystem access.
pkgs/go/[email protected]/pkg/cri/sbserver/container_create_linux.go:244
	profiles, err := os.Open("/sys/kernel/security/apparmor/profiles")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fe5f8c299abcaf0f Filesystem access.
pkgs/go/[email protected]/pkg/cri/sbserver/helpers_linux.go:59
	return os.OpenFile(path, os.O_CREATE|os.O_APPEND|os.O_WRONLY, 0640)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1f8eec59b0c19f6a Filesystem access.
pkgs/go/[email protected]/pkg/cri/sbserver/helpers_other.go:30
	return os.OpenFile(path, os.O_CREATE|os.O_APPEND|os.O_WRONLY, 0640)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a315ccfcab86f1de Filesystem access.
pkgs/go/[email protected]/pkg/cri/sbserver/image_pull.go:393
		caCert, err := os.ReadFile(registryTLSConfig.CAFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #29dd9e9ac0d0f7c3 Filesystem access.
pkgs/go/[email protected]/pkg/cri/sbserver/service.go:365
	file, err := os.Open(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #41801e3128988515 Filesystem access.
pkgs/go/[email protected]/pkg/cri/server/container_create_linux.go:553
	profiles, err := os.Open("/sys/kernel/security/apparmor/profiles")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d755f16047834919 Filesystem access.
pkgs/go/[email protected]/pkg/cri/server/helpers_linux.go:161
	return os.OpenFile(path, os.O_CREATE|os.O_APPEND|os.O_WRONLY, 0640)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0f9c0dfcc2dd3658 Filesystem access.
pkgs/go/[email protected]/pkg/cri/server/helpers_other.go:30
	return os.OpenFile(path, os.O_CREATE|os.O_APPEND|os.O_WRONLY, 0640)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ad83d8e1ddbbba22 Filesystem access.
pkgs/go/[email protected]/pkg/cri/server/image_pull.go:395
		caCert, err := os.ReadFile(registryTLSConfig.CAFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #185222741a25035f Filesystem access.
pkgs/go/[email protected]/pkg/cri/server/service.go:393
	file, err := os.Open(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7002a2eb076d056e Filesystem access.
pkgs/go/[email protected]/pkg/cri/store/container/status.go:186
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cff174ffbf48df60 Environment-variable access.
pkgs/go/[email protected]/pkg/epoch/epoch.go:36
	v, ok := os.LookupEnv(SourceDateEpochEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2470b017509f2105 Filesystem access.
pkgs/go/[email protected]/pkg/fifosync/fifo_unix.go:100
	file, err := os.OpenFile(f.name, os.O_RDONLY, 0)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4754b82172d1e45d Filesystem access.
pkgs/go/[email protected]/pkg/netns/netns_linux.go:73
	mountPointFd, err := os.OpenFile(nsPath, os.O_RDWR|os.O_CREATE|os.O_EXCL, 0666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f63f545201835339 Filesystem access.
pkgs/go/[email protected]/pkg/os/os.go:69
	in, err := os.Open(src)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bdd660d51c5ed5c3 Filesystem access.
pkgs/go/[email protected]/pkg/os/os.go:75
	out, err := os.OpenFile(dest, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7035f44b4902f177 Filesystem access.
pkgs/go/[email protected]/pkg/os/os.go:87
	return os.WriteFile(filename, data, perm)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #930ad13f49ecdb65 Filesystem access.
pkgs/go/[email protected]/pkg/process/io.go:116
		f, err = os.OpenFile(filePath, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c9af8daa373b72e6 Filesystem access.
pkgs/go/[email protected]/pkg/process/io.go:201
			if fw, err = os.OpenFile(i.name, syscall.O_WRONLY|syscall.O_APPEND, 0); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #10c2bd3aeee7efb8 Filesystem access.
pkgs/go/[email protected]/pkg/process/utils.go:77
	f, err := os.OpenFile(r.Log, os.O_RDONLY, 0400)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b946a52d1bf322af Filesystem access.
pkgs/go/[email protected]/pkg/process/utils.go:113
	ff, err := os.Open(from)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #409dc060273d7d0e Filesystem access.
pkgs/go/[email protected]/pkg/process/utils.go:118
	tt, err := os.Create(to)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7510e1ab74295e85 Filesystem access.
pkgs/go/[email protected]/pkg/testutil/helpers.go:70
			p, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #329f9cfbc5dfa110 Filesystem access.
pkgs/go/[email protected]/remotes/docker/config/hosts.go:199
						data, err := os.ReadFile(f)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9453482e3e38c6ba Filesystem access.
pkgs/go/[email protected]/remotes/docker/config/hosts.go:211
						certPEMBlock, err := os.ReadFile(pair[0])

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0dc5448732accd76 Filesystem access.
pkgs/go/[email protected]/remotes/docker/config/hosts.go:217
							keyPEMBlock, err = os.ReadFile(pair[1])

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3397b0c7e973e3e6 Filesystem access.
pkgs/go/[email protected]/remotes/docker/config/hosts.go:301
	b, err := os.ReadFile(filepath.Join(hostsDir, "hosts.toml"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7a9710fa55a5ec75 Environment-variable access.
pkgs/go/[email protected]/rootfs/init.go:77
	td, err := os.MkdirTemp(os.Getenv("XDG_RUNTIME_DIR"), "create-init-")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #07d0cd40b43fb834 Filesystem access.
pkgs/go/[email protected]/rootfs/init_linux.go:78
		f, err := os.OpenFile(fname, os.O_CREATE, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2bce5e6e26f625ba Filesystem access.
pkgs/go/[email protected]/runtime/v1/linux/bundle.go:75
	err = os.WriteFile(filepath.Join(path, configFilename), spec, 0666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e2b1c2c97f5b1d32 Filesystem access.
pkgs/go/[email protected]/runtime/v1/linux/bundle.go:202
	data, err := os.ReadFile(addressPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c68192e3bef5194b Environment-variable access.
pkgs/go/[email protected]/runtime/v1/shim/client/client.go:215
	cmd.Env = append(os.Environ(), "GOMAXPROCS=2")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3861fdeaf3737ce9 Filesystem access.
pkgs/go/[email protected]/runtime/v1/shim/client/client.go:228
	f, err := os.OpenFile(tempPath, os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC, 0666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1802eaf5cbb6aac3 Filesystem access.
pkgs/go/[email protected]/runtime/v1/shim/service.go:551
	bundleConfigContents, err := os.ReadFile(filepath.Join(bundlePath, "config.json"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6cce923d16e15ecc Filesystem access.
pkgs/go/[email protected]/runtime/v2/binary.go:128
	if err := os.WriteFile(filepath.Join(b.bundle.Path, "shim-binary-path"), []byte(b.runtime), 0600); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9af899b9536723e7 Filesystem access.
pkgs/go/[email protected]/runtime/v2/bundle.go:110
		err = os.WriteFile(specPath, spec, 0666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #91ee8d174274746c Environment-variable access.
pkgs/go/[email protected]/runtime/v2/logging/logging_unix.go:36
		ID:        os.Getenv("CONTAINER_ID"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #20d50127ddecbc31 Environment-variable access.
pkgs/go/[email protected]/runtime/v2/logging/logging_unix.go:37
		Namespace: os.Getenv("CONTAINER_NAMESPACE"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5e9392e509572c75 Environment-variable access.
pkgs/go/[email protected]/runtime/v2/logging/logging_windows.go:52
	if soutPipe, ok = os.LookupEnv("CONTAINER_STDOUT"); !ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #99a528983587aaf9 Environment-variable access.
pkgs/go/[email protected]/runtime/v2/logging/logging_windows.go:59
	if serrPipe, ok = os.LookupEnv("CONTAINER_STDERR"); !ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3c3b1c01aff8f34c Environment-variable access.
pkgs/go/[email protected]/runtime/v2/logging/logging_windows.go:66
	waitPipe = os.Getenv("CONTAINER_WAIT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3bccfcb8857ebfd7 Environment-variable access.
pkgs/go/[email protected]/runtime/v2/logging/logging_windows.go:72
		ID:        os.Getenv("CONTAINER_ID"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5ba80d23e0c50f50 Environment-variable access.
pkgs/go/[email protected]/runtime/v2/logging/logging_windows.go:73
		Namespace: os.Getenv("CONTAINER_NAMESPACE"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #04ac020dd2e9ca0b Filesystem access.
pkgs/go/[email protected]/runtime/v2/manager.go:206
		if err := os.WriteFile(filepath.Join(bundle.Path, "sandbox"), []byte(opts.SandboxID), 0600); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3c375b886a0d4b97 Filesystem access.
pkgs/go/[email protected]/runtime/v2/runc/container.go:167
	data, err := os.ReadFile(filePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c21f3650063e1ac1 Filesystem access.
pkgs/go/[email protected]/runtime/v2/runc/container.go:184
	return os.WriteFile(filepath.Join(path, optionsFilename), data, 0600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d3d79935ce7ef4a6 Filesystem access.
pkgs/go/[email protected]/runtime/v2/runc/container.go:189
	data, err := os.ReadFile(filepath.Join(path, "runtime"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4271e1e1cefbce77 Filesystem access.
pkgs/go/[email protected]/runtime/v2/runc/container.go:198
	return os.WriteFile(filepath.Join(path, "runtime"), []byte(runtime), 0600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2b4b8042dc3e4e99 Environment-variable access.
pkgs/go/[email protected]/runtime/v2/runc/manager/manager_linux.go:97
	cmd.Env = append(os.Environ(), "GOMAXPROCS=4")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #432cdcd8d356fdfe Filesystem access.
pkgs/go/[email protected]/runtime/v2/runc/manager/manager_linux.go:105
	f, err := os.Open(oci.ConfigFilename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #48e34c2115bef282 Environment-variable access.
pkgs/go/[email protected]/runtime/v2/runc/manager/manager_linux.go:184
	if os.Getenv("SCHED_CORE") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b5581a81ffa3ac65 Environment-variable access.
pkgs/go/[email protected]/runtime/v2/runc/v1/service.go:125
	cmd.Env = append(os.Environ(), "GOMAXPROCS=2")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ddb00f67f917ea57 Environment-variable access.
pkgs/go/[email protected]/runtime/v2/runc/v1/service.go:172
	if os.Getenv("SCHED_CORE") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #862fe4264033926a Filesystem access.
pkgs/go/[email protected]/runtime/v2/shim.go:64
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6d80cceecb9be885 Environment-variable access.
pkgs/go/[email protected]/runtime/v2/shim/shim.go:179
	if os.Getenv("GOMAXPROCS") == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6a535380b997005a Environment-variable access.
pkgs/go/[email protected]/runtime/v2/shim/shim.go:292
	ttrpcAddress := os.Getenv(ttrpcAddressEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #45e5dbd9274fcf25 Environment-variable access.
pkgs/go/[email protected]/runtime/v2/shim/util.go:71
		os.Environ(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0b114db912c865dd Filesystem access.
pkgs/go/[email protected]/runtime/v2/shim/util.go:168
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bf1ef1af23a72c2b Filesystem access.
pkgs/go/[email protected]/runtime/v2/shim_load.go:103
		if data, err := os.ReadFile(filepath.Join(bundle.Path, "shim-binary-path")); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e178529382d13df8 Filesystem access.
pkgs/go/[email protected]/services/introspection/local.go:158
	data, err := os.ReadFile(l.uuidPath())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #401986002411873d Filesystem access.
pkgs/go/[email protected]/services/introspection/local.go:185
	if err := os.WriteFile(path, []byte(uu), 0666); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0bb66009935957c7 Environment-variable access.
pkgs/go/[email protected]/services/opt/service.go:47
			if err := os.Setenv("PATH", fmt.Sprintf("%s%c%s", bin, os.PathListSeparator, os.Getenv("PATH"))); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ce6750a9c46203f1 Environment-variable access.
pkgs/go/[email protected]/services/opt/service.go:55
			if err := os.Setenv("LD_LIBRARY_PATH", fmt.Sprintf("%s%c%s", lib, os.PathListSeparator, os.Getenv("LD_LIBRARY_PATH"))); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #722087a8cdcb80e1 Filesystem access.
pkgs/go/[email protected]/services/server/server.go:180
			caCert, err := os.ReadFile(config.GRPC.TCPTLSCA)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #afeefd3949c2f41a Environment-variable access.
pkgs/go/[email protected]/services/tasks/local.go:187
		checkpointPath, err = os.MkdirTemp(os.Getenv("XDG_RUNTIME_DIR"), "ctrd-checkpoint")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7969d37cff544d07 Environment-variable access.
pkgs/go/[email protected]/services/tasks/local.go:582
		image, err = os.MkdirTemp(os.Getenv("XDG_RUNTIME_DIR"), "ctrd-checkpoint")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e1ad953a99402971 Filesystem access.
pkgs/go/[email protected]/snapshots/blockfile/blockfile.go:463
	src, err := os.Open(source)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7f839e36f6c67a14 Filesystem access.
pkgs/go/[email protected]/snapshots/blockfile/blockfile.go:468
	tgt, err := os.Create(target)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f0f00ef7774a0430 Filesystem access.
pkgs/go/[email protected]/snapshots/devmapper/dmsetup/dmsetup.go:341
	f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3fb40ceff0a5e59a Filesystem access.
pkgs/go/[email protected]/snapshots/lcow/lcow.go:374
				dest, err := os.OpenFile(destPath, os.O_RDWR|os.O_CREATE, 0700)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3e391cbb988cad59 Filesystem access.
pkgs/go/[email protected]/snapshots/lcow/lcow.go:441
	scratchSource, err := os.OpenFile(scratchFinalPath, os.O_RDONLY, 0700)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ff3857086e5ce026 Filesystem access.
pkgs/go/[email protected]/snapshots/lcow/lcow.go:476
		scratchSource, err = os.OpenFile(scratchFinalPath, os.O_RDONLY, 0700)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #df6070ad37d638e8 Filesystem access.
pkgs/go/[email protected]/snapshots/overlay/overlay.go:384
	fd, err := os.Open(snapshotDir)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4989d46868488f05 Filesystem access.
pkgs/go/[email protected]/snapshots/windows/windows.go:534
	scratchSource, err := os.OpenFile(source, os.O_RDWR, 0700)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #19f1900d5012f442 Filesystem access.
pkgs/go/[email protected]/snapshots/windows/windows.go:540
	f, err := os.OpenFile(dest, os.O_RDWR|os.O_CREATE, 0700)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #77c7711713e5da55 Filesystem access.
pkgs/go/[email protected]/sys/oom_linux.go:53
	f, err := os.OpenFile(path, os.O_WRONLY, 0)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #946e5bc083c8e9b2 Filesystem access.
pkgs/go/[email protected]/sys/oom_linux.go:71
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #103fe52569b15fd6 Environment-variable access.
pkgs/go/[email protected]/tracing/plugin/otlp.go:80
			if v := os.Getenv(otelTracesExporterEnv); v != "" && v != "otlp" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a77e7cc8cb2b00ba Environment-variable access.
pkgs/go/[email protected]/tracing/plugin/otlp.go:150
	if cfg.Endpoint != "" && os.Getenv(otlpEndpointEnv) == "" && os.Getenv(otlpTracesEndpointEnv) == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6020e1c88e4d6c90 Environment-variable access.
pkgs/go/[email protected]/tracing/plugin/otlp.go:154
	if cfg.Protocol != "" && os.Getenv(otlpProtocolEnv) == "" && os.Getenv(otlpTracesProtocolEnv) == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d7d52dea36cddf41 Environment-variable access.
pkgs/go/[email protected]/tracing/plugin/otlp.go:158
	if cfg.Insecure && os.Getenv(otlpInsecureEnv) == "" && os.Getenv(otlpTracesInsecureEnv) == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3852597b65144510 Environment-variable access.
pkgs/go/[email protected]/tracing/plugin/otlp.go:166
	if cfg.ServiceName != "" && os.Getenv(otelServiceNameEnv) == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6b49f420dd16e680 Environment-variable access.
pkgs/go/[email protected]/tracing/plugin/otlp.go:170
	if cfg.TraceSamplingRatio > 0 && os.Getenv(otelTracesSamplerArgEnv) == "" && os.Getenv(otelTracesSamplerEnv) == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e72cd7efd9a17c5f Environment-variable access.
pkgs/go/[email protected]/tracing/plugin/otlp.go:177
	v := os.Getenv(sdkDisabledEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c614dfee4bc22147 Environment-variable access.
pkgs/go/[email protected]/tracing/plugin/otlp.go:188
	if os.Getenv(otlpEndpointEnv) == "" && os.Getenv(otlpTracesEndpointEnv) == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e94f8ecbaa65fe68 Environment-variable access.
pkgs/go/[email protected]/tracing/plugin/otlp.go:207
	v := os.Getenv(otlpTracesProtocolEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e996e7f25bd07964 Environment-variable access.
pkgs/go/[email protected]/tracing/plugin/otlp.go:209
		v = os.Getenv(otlpProtocolEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0ae581dde18b09d3 Environment-variable access.
pkgs/go/[email protected]/tracing/plugin/otlp.go:231
	if os.Getenv(otelServiceNameEnv) == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/coreos/go-oidc/v3

go dependency
expand_more 4 low-confidence finding(s)
low env_fs dependency Excluded from app score #6dfb698db83f3d50 Environment-variable access.
pkgs/go/[email protected]/example/idtoken/app.go:22
	clientID     = os.Getenv("GOOGLE_OAUTH2_CLIENT_ID")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #05eb0afced667d70 Environment-variable access.
pkgs/go/[email protected]/example/idtoken/app.go:23
	clientSecret = os.Getenv("GOOGLE_OAUTH2_CLIENT_SECRET")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #14ad1b6b1a5728a0 Environment-variable access.
pkgs/go/[email protected]/example/userinfo/app.go:22
	clientID     = os.Getenv("GOOGLE_OAUTH2_CLIENT_ID")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2c70009b8e09f1e0 Environment-variable access.
pkgs/go/[email protected]/example/userinfo/app.go:23
	clientSecret = os.Getenv("GOOGLE_OAUTH2_CLIENT_SECRET")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/dhowden/tag

go dependency
expand_more 5 low-confidence finding(s)
low env_fs dependency Excluded from app score #46829f0a5c0befef Filesystem access.
pkgs/go/[email protected]/cmd/check/main.go:101
	f, err := os.Open(*itlXML)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cc0aa884cdc682dc Filesystem access.
pkgs/go/[email protected]/cmd/check/main.go:160
			tf, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2e565eb1822e3950 Filesystem access.
pkgs/go/[email protected]/cmd/sum/main.go:24
	f, err := os.Open(os.Args[1])

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3d22d8d6031ee550 Filesystem access.
pkgs/go/[email protected]/cmd/tag/main.go:39
	f, err := os.Open(flag.Arg(0))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #927a3379b57295c3 Filesystem access.
pkgs/go/[email protected]/internal/id3v1_test/id3v1_testdata.go:322
	err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/docker/docker

go dependency
expand_more 314 low-confidence finding(s)
low env_fs dependency Excluded from app score #9ddc2edf6a5681f2 Environment-variable access.
pkgs/go/[email protected]+incompatible/builder/builder-next/executor_linux.go:59
	if runcOverride := os.Getenv("DOCKER_BUILDKIT_RUNC_COMMAND"); runcOverride != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0692a388107dbff6 Environment-variable access.
pkgs/go/[email protected]+incompatible/builder/builder-next/executor_linux.go:68
		NoPivot:             os.Getenv("DOCKER_RAMDISK") != "",

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3737373a2e1f18e9 Filesystem access.
pkgs/go/[email protected]+incompatible/builder/dockerfile/copy.go:400
	tmpFile, err := os.OpenFile(tmpFileName, os.O_RDWR|os.O_CREATE|os.O_EXCL, 0o600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #22e36729a7ab1993 Filesystem access.
pkgs/go/[email protected]+incompatible/builder/dockerfile/copy.go:482
		f, err := os.Open(srcPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #33bbaf6bbeb67c5b Filesystem access.
pkgs/go/[email protected]+incompatible/builder/remotecontext/detect.go:164
	return os.Open(fullPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ba128cf64bb6df7d Environment-variable access.
pkgs/go/[email protected]+incompatible/builder/remotecontext/git/gitutils.go:206
	cmd.Env = append(os.Environ(), "GIT_PROTOCOL_FROM_USER=0")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #639a229a115c1092 Filesystem access.
pkgs/go/[email protected]+incompatible/builder/remotecontext/lazycontext.go:72
		f, err := os.Open(p)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #99c5b441f737c26d Environment-variable access.
pkgs/go/[email protected]+incompatible/client/options.go:85
		if host := os.Getenv(EnvOverrideHost); host != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #332ea3874f11891d Environment-variable access.
pkgs/go/[email protected]+incompatible/client/options.go:172
		dockerCertPath := os.Getenv(EnvOverrideCertPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #044845e81f95d39c Environment-variable access.
pkgs/go/[email protected]+incompatible/client/options.go:180
			InsecureSkipVerify: os.Getenv(EnvTLSVerify) == "",

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a650a608fce93faa Environment-variable access.
pkgs/go/[email protected]+incompatible/client/options.go:213
		return WithVersion(os.Getenv(EnvOverrideAPIVersion))(c)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ecc89103eaf772fd Filesystem access.
pkgs/go/[email protected]+incompatible/client/request.go:177
			if f, elevatedErr := os.Open(`\\.\PHYSICALDRIVE0`); elevatedErr != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1541a8c404a90f00 Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/daemon.go:231
	if _, ok := os.LookupEnv(otelServiceNameEnv); !ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d6dcc1d03afff71d Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/daemon.go:384
	if os.Getenv(protoEnv) == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c76315d1217a4972 Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/daemon.go:385
		if os.Getenv(tracesEnv) == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b0ffb7a8f2821c62 Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/daemon.go:388
		if os.Getenv(metricsEnv) == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #89fec458616c168a Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/daemon.go:571
	if ver := os.Getenv("DOCKER_MIN_API_VERSION"); ver != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9bf891193b321534 Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/daemon.go:1022
	if oldVal := os.Getenv(name); oldVal != "" && oldVal != val {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0daaa21836109a3d Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/debug/debug.go:25
	return os.Getenv("DEBUG") != ""

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #280ee65eee249239 Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/options.go:64
	configDir       = os.Getenv("DOCKER_CONFIG")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e6f278d222b0f5bb Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/options.go:66
	dockerCertPath  = os.Getenv("DOCKER_CERT_PATH")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e684a060064e8a8e Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/options.go:67
	dockerTLSVerify = os.Getenv("DOCKER_TLS_VERIFY") != ""

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5a59e5f4c943c846 Filesystem access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/service_windows.go:335
	panicFile, err = os.OpenFile(path, os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0o200)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #60a3140fa44cf39d Filesystem access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/service_windows.go:350
		panicFile, err = os.Create(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6d986f8337e32ba9 Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/trap/testfiles/main.go:26
		s := os.Getenv("SIGNAL_TYPE")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #396368168a656970 Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/trap/testfiles/main.go:27
		multiple := os.Getenv("IF_MULTIPLE")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #95b22b4cb2376ede Filesystem access.
pkgs/go/[email protected]+incompatible/container/container.go:162
	jsonSource, err := os.Open(pth)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7f02eb5904cf44da Filesystem access.
pkgs/go/[email protected]+incompatible/container/container.go:249
	f, err := os.Open(pth)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #618da686c086dfe5 Filesystem access.
pkgs/go/[email protected]+incompatible/container/container_unix.go:58
	return os.WriteFile(container.HostnamePath, []byte(container.Config.Hostname+"\n"), 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #68d6125bc5d530b1 Filesystem access.
pkgs/go/[email protected]+incompatible/contrib/apparmor/main.go:32
	f, err := os.OpenFile(apparmorProfilePath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cd54c4c0b5ea722e Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/cluster/executor/container/controller.go:144
	if os.Getenv("DOCKER_SERVICE_PREFER_OFFLINE_IMAGE") != "1" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cc514f618f87c11d Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/cluster/services.go:246
			if os.Getenv("DOCKER_SERVICE_PREFER_OFFLINE_IMAGE") != "1" && queryRegistry {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6eb96734ce7cf692 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/cluster/services.go:362
			if os.Getenv("DOCKER_SERVICE_PREFER_OFFLINE_IMAGE") != "1" && queryRegistry {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5b81486d6fc6b42e Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/cluster/utils.go:24
	dt, err := os.ReadFile(filepath.Join(root, stateFile))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #34091be53285c326 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/config/config.go:463
	b, err := os.ReadFile(configFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #46470a69b94a40af Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/config/config_windows.go:80
	cfg.Root = filepath.Join(os.Getenv("programdata"), "docker")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4f3cbb0bc3f0686f Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/config/config_windows.go:81
	cfg.ExecRoot = filepath.Join(os.Getenv("programdata"), "docker", "exec-root")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #46a4414436b01783 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/container_operations_unix.go:328
		if err := os.WriteFile(fPath, secret.Spec.Data, s.File.Mode); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4448638bb14291d0 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/container_operations_unix.go:379
		if err := os.WriteFile(fPath, config.Spec.Data, configRef.File.Mode); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3133699b71551c08 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/container_operations_unix.go:546
	if envPath := os.Getenv("DOCKER_TEST_RESOLV_CONF_PATH"); envPath != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #560e3abf65931794 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/container_operations_windows.go:81
		if err := os.WriteFile(fPath, config.Spec.Data, configRef.File.Mode); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #59d873942b41afd7 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/container_operations_windows.go:152
		if err := os.WriteFile(fPath, secret.Spec.Data, s.File.Mode); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4385fcf79e74afcb Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/create.go:149
		containerLabelsFilter = strings.Split(os.Getenv("DOCKER_CONTAINER_LABELS_FILTER"), ",")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f58d269a8aa5d53e Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/daemon.go:840
	if os.Getenv("TEST_INTEGRATION_USE_SNAPSHOTTER") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6c5c2dfc91d7781d Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/daemon.go:1044
	driverName := os.Getenv("DOCKER_DRIVER")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #402a14bae47adc80 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/daemon.go:1058
		if os.Getenv("TEST_INTEGRATION_USE_SNAPSHOTTER") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2b422040e57a22ae Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/daemon.go:1413
	if tmpDir = os.Getenv("DOCKER_TMPDIR"); tmpDir == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #878c7dd7196ef386 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/daemon_linux.go:34
	f, err := os.Open("/proc/self/mountinfo")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8ac35d29946066ae Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/daemon_unix.go:784
	mt, err := os.ReadFile("/proc/sys/kernel/threads-max")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c543c350e82c6865 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/daemon_unix.go:799
	f, err := os.Open("/proc/kallsyms")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #40341641b5a65748 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/daemon_unix.go:1513
	if err := os.WriteFile(cleanupFile, nil, 0o600); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f166c29d930a501d Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/daemon_unix.go:1616
	return os.WriteFile(filepath.Join(path, file), []byte(strconv.FormatInt(configValue, 10)), 0o700)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #22a0c789671afea2 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/daemon_unix.go:1627
		b, err := os.ReadFile(profile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5a4a904cfa81d4e3 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/daemon_unix.go:1639
		if euid := os.Getenv("ROOTLESSKIT_PARENT_EUID"); euid != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c7ed41342346e73b Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/devices_nvidia_linux.go:114
		Env: os.Environ(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #45a1462595453ad1 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/btrfs/btrfs.go:525
		if err := os.WriteFile(path.Join(quotas, id), []byte(fmt.Sprint(driver.options.size)), 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #90a2b4386995268a Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/btrfs/btrfs.go:630
	if quota, err := os.ReadFile(d.quotasDirID(id)); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #555ff4fb34c3641a Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/copy/copy.go:32
	srcFile, err := os.Open(srcPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f9667a1e5ef5c638 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/copy/copy.go:39
	dstFile, err := os.OpenFile(dstPath, os.O_WRONLY|os.O_CREATE|os.O_EXCL, fileinfo.Mode())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4e678beacc475c99 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/driver.go:143
	if os.Getenv("DOCKERD_DEPRECATED_GRAPHDRIVER_PLUGINS") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d991bfeb3b934d45 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/driver.go:266
	f, err := os.Open(name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c00913006e199379 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:204
	if err := os.WriteFile(path.Join(dir, "link"), []byte(lid), 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #85b83524549f68a1 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:217
	if err := os.WriteFile(path.Join(d.dir(parent), "committed"), []byte{}, 0o600); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3f5a334f3c09c48e Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:226
		if err := os.WriteFile(path.Join(dir, lowerFile), []byte(lower), 0o666); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9af92f0a5a83f25e Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:243
	parentLink, err := os.ReadFile(path.Join(parentDir, "link"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1f575432c63b40e8 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:249
	parentLower, err := os.ReadFile(path.Join(parentDir, lowerFile))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #db2888ed9d03be40 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:266
	lowers, err := os.ReadFile(path.Join(d.dir(id), lowerFile))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #920f80151845f493 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:289
	lid, err := os.ReadFile(path.Join(dir, "link"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a29786c16a8d00bb Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:314
	lowers, err := os.ReadFile(path.Join(dir, lowerFile))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b24b64debbfbd3fd Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:393
	_, err := os.ReadFile(path.Join(dir, lowerFile))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #186fb80dea437173 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/graphbench_unix.go:251
		c, err := os.ReadFile(filepath.Join(root, "testfile.txt"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b923714fd8c33b5e Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/graphtest_unix.go:303
	return os.WriteFile(path, data, 0o700)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8950246ca0a5ab80 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil.go:39
	if err := os.WriteFile(filepath.Join(root, "file-a"), randomContent(64, seed), 0o755); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #316042efc8526fcc Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil.go:45
	if err := os.WriteFile(filepath.Join(root, "dir-b", "file-b"), randomContent(128, seed+1), 0o755); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #222175d732058993 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil.go:49
	return os.WriteFile(filepath.Join(root, "file-c"), randomContent(128*128, seed+2), 0o755)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5cf1680291a5ea08 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil.go:59
	fileContent, err := os.ReadFile(filepath.Join(root, filename))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f480fb7fe1a2b54f Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil.go:78
	return os.WriteFile(filepath.Join(root, filename), content, 0o755)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5b01c8372765542d Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil.go:136
			if err := os.WriteFile(file, randomContent(64, seed+int64(i+j)), 0o755); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cf2c77beeb83ad43 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil.go:171
				if err := os.WriteFile(filepath.Join(root, change.Path), randomContent(64, seed+int64(i+j)), 0o755); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #49d93af3a8c8d999 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil.go:178
				if err := os.WriteFile(filepath.Join(root, change.Path), randomContent(64, seed+int64(i+j)), 0o755); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #12a67ec6dedeb3b1 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil.go:207
			fileContent, err := os.ReadFile(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e060b7049a851262 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil.go:257
	if err := os.WriteFile(filepath.Join(root, "top-id"), []byte(layer), 0o755); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #22cd182cfbf0a1a5 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil.go:264
	if err := os.WriteFile(filepath.Join(layerDir, "layer-id"), []byte(layer), 0o755); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4313f27eb4833502 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil.go:267
	return os.WriteFile(filepath.Join(layerDir, "parent-id"), []byte(parent), 0o755)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #08f3145a8b9a4a2e Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil.go:293
	layerIDBytes, err := os.ReadFile(filepath.Join(root, "top-id"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7e4423e73454bd9e Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil.go:305
		thisLayerIDBytes, err := os.ReadFile(filepath.Join(layerDir, "layer-id"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1fb645816ab0207c Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil.go:312
		layerIDBytes, err = os.ReadFile(filepath.Join(layerDir, "parent-id"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bf41aea03d37a79a Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/testutil_unix.go:52
	err = os.WriteFile(file, []byte("Some data"), 0o222|os.ModeSetuid)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9036e88005ef7608 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/overlay2/check.go:93
	if err := os.WriteFile(filepath.Join(td, mergedDirName, "d", "f"), []byte{}, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #72bd4ab6cbe79b1f Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/overlay2/check.go:173
	if err := os.WriteFile(filepath.Join(l1, "f"), []byte{}, 0o700); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #001fc31c99ec5f44 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/overlay2/overlay.go:447
	parentLink, err := os.ReadFile(path.Join(parentDir, "link"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ca7fec2a7819e601 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/overlay2/overlay.go:453
	parentLower, err := os.ReadFile(path.Join(parentDir, lowerFile))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2fd5cd9b7e39d640 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/overlay2/overlay.go:470
	lowers, err := os.ReadFile(path.Join(d.dir(id), lowerFile))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1c9da11391508c23 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/overlay2/overlay.go:493
	lid, err := os.ReadFile(path.Join(dir, "link"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #49b0f0821e3bc234 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/overlay2/overlay.go:518
	lowers, err := os.ReadFile(path.Join(dir, lowerFile))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #de30eddf9822d3f5 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/overlay2/overlay.go:619
	_, err := os.ReadFile(path.Join(dir, lowerFile))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d4bbcc78e7c37b34 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/overlayutils/overlayutils.go:44
	if os.Getenv("_DOCKERD_ROOTLESS_SELINUX") == "1" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b54475e054b2b479 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/windows/windows.go:67
	if os.Getenv("DOCKER_WINDOWSFILTER_NOREEXEC") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b0fd9ebeabf5a7d3 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/windows/windows.go:688
		bcdBackup, err := os.Create(filepath.Join(root, backupPath))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e3e018ecfea4ad31 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/windows/windows.go:825
	content, err := os.ReadFile(filepath.Join(d.dir(id), "layerID"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d42737f99c6ad500 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/windows/windows.go:836
	return os.WriteFile(filepath.Join(d.dir(id), "layerId"), []byte(altID), 0o600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e2879594150091ea Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/windows/windows.go:842
	content, err := os.ReadFile(jPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7b0893f8cd81cb94 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/windows/windows.go:866
	err = os.WriteFile(jPath, content, 0o600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #01ae1b4bb9c3b30a Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/windows/windows.go:880
		return os.Open(filepath.Join(fg.path, backupPath))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #926b9894733f56d3 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/zfs/zfs.go:59
	file, err := os.OpenFile("/dev/zfs", os.O_RDWR, 0o600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #93a073440036cdb7 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/hosts.go:158
		dt, err := os.ReadFile(p)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #834c5d0f13c20224 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/id.go:24
	idb, err := os.ReadFile(idPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3cd65a6cd7a1d875 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/info.go:370
		if val := os.Getenv(n); val != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a10727a700ec0d1f Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/info_unix.go:162
	if os.Getenv("DOCKER_INSECURE_NO_IPTABLES_RAW") == "1" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0dcd2d137cf5077c Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/info_unix.go:313
	stateDir := os.Getenv("ROOTLESSKIT_STATE_DIR")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cf9b825eb4b0e8fc Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/initlayer/setup_unix.go:53
					f, err := os.OpenFile(filepath.Join(initLayer, pth), os.O_CREATE, 0o755)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #07a3c851d993cee9 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/internal/filedescriptors/filiedescriptors_linux.go:35
	f, err := os.Open(name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4f6f62b1e4f0ea1e Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/keys.go:34
	keys, err := os.OpenFile(rootKeyFile, os.O_WRONLY, 0)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #570edd1968aa2ad8 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/keys.go:43
	bytes, err := os.OpenFile(rootBytesFile, os.O_WRONLY, 0)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #149bed68daa53466 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/keys.go:53
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9217f3cfa7321f94 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/logger/awslogs/cloudwatchlogs.go:337
	if os.Getenv(regionEnvKey) != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9bb3addcaa5fe288 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/logger/awslogs/cloudwatchlogs.go:338
		region = aws.String(os.Getenv(regionEnvKey))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8a3d1efbc3d95df8 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/logger/loggerutils/file_unix.go:8
	return os.OpenFile(name, flag, perm)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #996e1a332e1a8868 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/logger/loggerutils/file_unix.go:12
	return os.Open(name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fc3b0babb45b8dc7 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/logger/splunk/splunk.go:186
		caCert, err := os.ReadFile(caPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4e7e76c5b866e62f Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/logger/splunk/splunk.go:633
	valueStr := os.Getenv(envName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7aa2e16064e306c5 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/logger/splunk/splunk.go:646
	valueStr := os.Getenv(envName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #58c90151a98a3aaa Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/oci_linux.go:69
			rootlesskitParentEUID := os.Getenv("ROOTLESSKIT_PARENT_EUID")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c5528ebbb125bd15 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/oci_linux.go:78
			controllersFile, err := os.ReadFile(controllersPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b2bf15cbe23a8105 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/oci_windows.go:315
		layerPathb, err := os.ReadFile(mountPoint + ":" + sourceStreamName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #458fee4dc797e2e7 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/oci_windows.go:522
	bcontents, err := os.ReadFile(full)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #26b46a069f793244 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/runtime_unix.go:64
			NoPivotRoot:   os.Getenv("DOCKER_RAMDISK") != "",

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #959386d4d39afc9b Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/stats_unix.go:318
	f, err := os.Open("/proc/stat")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #420f6a3a00723f70 Filesystem access.
pkgs/go/[email protected]+incompatible/distribution/metadata/metadata.go:50
	return os.ReadFile(store.path(namespace, key))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #775981aceb5f3e8a Filesystem access.
pkgs/go/[email protected]+incompatible/image/fs.go:98
	content, err := os.ReadFile(s.contentFile(dgst))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #11adfe01a51ab2ad Filesystem access.
pkgs/go/[email protected]+incompatible/image/fs.go:162
	bytes, err := os.ReadFile(filepath.Join(s.metadataDir(dgst), key))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4a4b4c07fad5eca6 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/load.go:61
	manifestFile, err := os.Open(manifestPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e2330a41530ba96f Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/load.go:93
		config, err := os.ReadFile(configPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8561c284fd7eaa53 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/load.go:280
	repositoriesFile, err := os.Open(repositoriesPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #39c9788c38ba5811 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/load.go:320
	imageJSON, err := os.ReadFile(configPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cf485c66f7e22bb2 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/save.go:270
		if err := os.WriteFile(mFile, data, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2d4a32292d7a009b Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/save.go:330
		rf, err := os.OpenFile(reposFile, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2f14b2959d97b7a8 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/save.go:348
	f, err := os.OpenFile(manifestPath, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1873203eb0294954 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/save.go:366
	if err := os.WriteFile(layoutPath, []byte(ociLayoutContent), 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5f0b5d0f39869581 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/save.go:385
	if err := os.WriteFile(idxFile, data, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #25d719f0b40d7609 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/save.go:491
	if err := os.WriteFile(configFile, img.RawJSON(), 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e476e3333bf7f137 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/save.go:629
	if err := os.WriteFile(configPath, imageConfig, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #185caa475f002ac2 Environment-variable access.
pkgs/go/[email protected]+incompatible/integration-cli/cli/cli.go:166
			cmd.Env = os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4a07b1a65f6059a4 Environment-variable access.
pkgs/go/[email protected]+incompatible/integration-cli/environment/environment.go:12
var DefaultClientBinary = os.Getenv("TEST_CLIENT_BINARY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7a10b636b8b900d5 Filesystem access.
pkgs/go/[email protected]+incompatible/integration/plugin/logging/cmd/close_on_start/main.go:30
		f, err := os.OpenFile(startReq.File, os.O_RDONLY, 0o600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6792b712dd547c81 Filesystem access.
pkgs/go/[email protected]+incompatible/integration/plugin/logging/cmd/discard/driver.go:40
		f, err := os.OpenFile(req.File, syscall.O_RDONLY, 0o600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f6b196e160ef692e Filesystem access.
pkgs/go/[email protected]+incompatible/internal/gocompat/modulegenerator.go:51
	return os.WriteFile("main_test.go", buf.Bytes(), 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e1b8fb49b1c0bc6c Filesystem access.
pkgs/go/[email protected]+incompatible/internal/gocompat/modulegenerator.go:55
	content, err := os.ReadFile("../../go.mod")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8386b0f287f13c4f Filesystem access.
pkgs/go/[email protected]+incompatible/internal/gocompat/modulegenerator.go:61
		if err := os.WriteFile("../../go.mod", content, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6c31ce2452d3b35c Filesystem access.
pkgs/go/[email protected]+incompatible/internal/gocompat/modulegenerator.go:78
	content, err = os.ReadFile("../../vendor.mod")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5e342420ec450c14 Filesystem access.
pkgs/go/[email protected]+incompatible/internal/gocompat/modulegenerator.go:112
	return os.WriteFile("go.mod", buf.Bytes(), 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a6617f18705c643a Environment-variable access.
pkgs/go/[email protected]+incompatible/internal/otelutil/environ_carrier.go:68
		TraceParent: os.Getenv(traceParentEnvVar),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4d8b359f8bb17ceb Environment-variable access.
pkgs/go/[email protected]+incompatible/internal/otelutil/environ_carrier.go:69
		TraceState:  os.Getenv(traceStateEnvVar),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6b1bee387526e0ba Filesystem access.
pkgs/go/[email protected]+incompatible/internal/platform/platform_linux.go:20
	data, err := os.ReadFile("/sys/devices/system/cpu/possible")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ef85f0b41089bebf Filesystem access.
pkgs/go/[email protected]+incompatible/internal/rootless/specconv/specconv_linux.go:42
	b, err := os.ReadFile("/proc/self/oom_score_adj")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #04c1f917814ec09a Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/dangling.go:20
	if err := os.WriteFile(filepath.Join(dir, "index.json"), []byte(`{"schemaVersion":2,"manifests":[{"mediaType":"application/vnd.docker.distribution.manifest.v2+json","digest":"sha256:16d365089e5c10e1673ee82ab5bba38ade9b763296ad918bd24b42a1156c5456","size":264,"annotations":{"org.opencontainers.image.created":"2023-05-19T08:00:44Z"},"platform":{"architecture":"amd64","os":"linux"}}]}`), 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7d1e80d4a55251b9 Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/dangling.go:24
	if err := os.WriteFile(filepath.Join(dir, "manifest.json"), []byte(`[{"Config":"blobs/sha256/0df1207206e5288f4a989a2f13d1f5b3c4e70467702c1d5d21dfc9f002b7bd43","RepoTags":null,"Layers":null}]`), 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f62c3179efe9be44 Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/dangling.go:37
	if err := os.WriteFile(filepath.Join(blobsDir, strings.TrimPrefix(danglingImageManifestDigest, "sha256:")), []byte(`{"schemaVersion":2,"mediaType":"application/vnd.docker.distribution.manifest.v2+json","config":{"mediaType":"application/vnd.docker.container.image.v1+json","digest":"sha256:0df1207206e5288f4a989a2f13d1f5b3c4e70467702c1d5d21dfc9f002b7bd43","size":390},"layers":[]}`), 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4c3efa6521ac3b5b Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/dangling.go:40
	if err := os.WriteFile(filepath.Join(blobsDir, strings.TrimPrefix(danglingImageConfigDigest, "sha256:")), []byte(`{"architecture":"amd64","config":{"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"WorkingDir":"/","Labels":{"org.mobyproject.test.specialimage":"1"},"OnBuild":null},"created":null,"history":[{"created_by":"LABEL org.mobyproject.test.specialimage=1","comment":"buildkit.dockerfile.v0","empty_layer":true}],"os":"linux","rootfs":{"type":"layers","diff_ids":null}}`), 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b937b62dffa1242d Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/emptyfs.go:16
	if err := os.WriteFile(filepath.Join(dir, "manifest.json"), []byte(`[{"Config":"11f64303f0f7ffdc71f001788132bca5346831939a956e3e975c93267d89a16d.json","RepoTags":["emptyfs:latest"],"Layers":["511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158/layer.tar"]}]`), 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8257b3dcf7621554 Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/emptyfs.go:29
	if err := os.WriteFile(filepath.Join(dir, "VERSION"), []byte(`1.0`), 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ab3d4d7a4605332f Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/emptyfs.go:32
	if err := os.WriteFile(filepath.Join(dir, "repositories"), []byte(`{"emptyfs":{"latest":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158"}}`), 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #76b242f6273ba1e6 Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/emptyfs.go:35
	if err := os.WriteFile(filepath.Join(dir, "11f64303f0f7ffdc71f001788132bca5346831939a956e3e975c93267d89a16d.json"), []byte(`{"architecture":"x86_64","comment":"Imported from -","container_config":{"Hostname":"","Domainname":"","User":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":null,"Cmd":null,"Image":"","Volumes":null,"WorkingDir":"","Entrypoint":null,"OnBuild":null,"Labels":null},"created":"2013-06-13T14:03:50.821769-07:00","docker_version":"0.4.0","history":[{"created":"2013-06-13T14:03:50.821769-07:00","comment":"Imported from -"}],"rootfs":{"type":"layers","diff_ids":["sha256:84ff92691f909a05b224e1c56abb4864f01b4f8e3c854e4bb4c7baf1d3f6d652"]}}`), 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c88574a1ac8252ff Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/emptyfs.go:39
	if err := os.WriteFile(filepath.Join(blobsDir, "json"), []byte(`{"id":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","comment":"Imported from -","created":"2013-06-13T14:03:50.821769-07:00","container_config":{"Hostname":"","Domainname":"","User":"","Memory":0,"MemorySwap":0,"CpuShares":0,"AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"PortSpecs":null,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":null,"Cmd":null,"Image":"","Volumes":null,"WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"OnBuild":null},"docker_version":"0.4.0","architecture":"x86_64","Size":0}`+"\n"), 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #df756c3f2589473e Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/emptyfs.go:43
	layerFile, err := os.OpenFile(filepath.Join(blobsDir, "layer.tar"), os.O_CREATE|os.O_WRONLY, 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #410ebb2dca24e32f Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/multilayer.go:122
	err := os.WriteFile(filepath.Join(dir, "oci-layout"), []byte(`{"imageLayoutVersion": "1.0.0"}`), 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ef5f1689e4c43dea Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/multilayer.go:136
	if err := os.WriteFile(filepath.Join(tmp, name), content, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6700208d935499d0 Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/multilayer.go:168
	return os.WriteFile(path, b, 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b3958eefd9bbdb47 Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/multilayer.go:181
	file, err := os.Create(tmpPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c9d77f55ad356125 Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/random.go:83
	content, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #450b7513586b1fba Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/twoplatform.go:107
	err = os.WriteFile(filepath.Join(dir, "oci-layout"), []byte(`{"imageLayoutVersion": "1.0.0"}`), 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7857e6b1f1a56ddc Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:141
	content, err := os.ReadFile(fms.getLayerFilename(layer, "size"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f3aef91115f44f28 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:155
	content, err := os.ReadFile(fms.getLayerFilename(layer, "parent"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e64eb2f7ee7a5b8f Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:172
	content, err := os.ReadFile(fms.getLayerFilename(layer, "diff"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #272097d0ef4dab5f Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:186
	contentBytes, err := os.ReadFile(fms.getLayerFilename(layer, "cache-id"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #366c21709dfe3303 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:200
	content, err := os.ReadFile(fms.getLayerFilename(layer, "descriptor.json"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c5996959f643bfb8 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:218
	fz, err := os.Open(fms.getLayerFilename(layer, "tar-split.json.gz"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5cb2b54d8648717c Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:238
	return os.WriteFile(fms.getMountFilename(mount, "mount-id"), []byte(mountID), 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9a3257ae8b1c4b2f Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:245
	return os.WriteFile(fms.getMountFilename(mount, "init-id"), []byte(init), 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c31238db539934b7 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:252
	return os.WriteFile(fms.getMountFilename(mount, "parent"), []byte(digest.Digest(parent).String()), 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #887c621f5f582296 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:256
	contentBytes, err := os.ReadFile(fms.getMountFilename(mount, "mount-id"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b96b015e1660b443 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:270
	contentBytes, err := os.ReadFile(fms.getMountFilename(mount, "init-id"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d250e9e64a6d6035 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:287
	content, err := os.ReadFile(fms.getMountFilename(mount, "parent"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d9963bb7183ecb97 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:328
			contentBytes, err := os.ReadFile(chainFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d7a52295192013ca Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:409
		contentBytes, err := os.ReadFile(chainFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #532d9208eb9e7be7 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/migration.go:23
	f, err := os.Create(newTarDataPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #76b3f42c3ae23987 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/migration.go:109
	tdf, cleanupErr := os.Open(tarDataFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #268bca2833b16448 Environment-variable access.
pkgs/go/[email protected]+incompatible/libcontainerd/remote/client.go:386
	if os.Getenv("LIBCONTAINERD_NOCLEAN") != "1" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6e5270f23a51e306 Filesystem access.
pkgs/go/[email protected]+incompatible/libcontainerd/supervisor/remote_daemon.go:134
	f, err := os.OpenFile(r.configFile, os.O_CREATE|os.O_TRUNC|os.O_WRONLY, 0o600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #04880832c19d7800 Environment-variable access.
pkgs/go/[email protected]+incompatible/libcontainerd/supervisor/remote_daemon.go:171
	for _, e := range os.Environ() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fa9749b57da399b8 Environment-variable access.
pkgs/go/[email protected]+incompatible/libnetwork/cmd/diagnostic/main.go:57
	if _, ok := os.LookupEnv("DIND_CLIENT"); !ok && *joinPtr {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3dc34f39377ff99d Environment-variable access.
pkgs/go/[email protected]+incompatible/libnetwork/cmd/networkdb-test/dbserver/ndbServer.go:37
	if localNodeName, ok = os.LookupEnv("TASK_ID"); !ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1b4a26c6de9ec826 Environment-variable access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/bridge_linux.go:928
	if v := os.Getenv("DOCKER_TEST_BRIDGE_INIT_ERROR"); v == config.BridgeName {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7c39a60c00522164 Environment-variable access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/internal/iptabler/port.go:144
	if b.Proto == types.SCTP && os.Getenv("DOCKER_IPTABLES_SCTP_CHECKSUM") == "1" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2dfceeb0dfeb4d57 Environment-variable access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/internal/iptabler/port.go:259
	if os.Getenv("DOCKER_INSECURE_NO_IPTABLES_RAW") == "1" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6b47b85d34a889a9 Environment-variable access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/internal/rlkclient/rootlesskit_client_linux.go:31
	stateDir := os.Getenv("ROOTLESSKIT_STATE_DIR")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f50e35b77c1e8272 Environment-variable access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_bridgenetfiltering.go:60
			if os.Getenv("DOCKER_IGNORE_BR_NETFILTER_ERROR") == "1" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3e452f90da155d35 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_bridgenetfiltering.go:85
		return os.WriteFile(nfParam, []byte{'1', '\n'}, 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1fbbb0803cb8d19d Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_bridgenetfiltering.go:92
	line, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #85f7e583e69f8606 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_device_linux.go:60
	if err := os.WriteFile(sysPath, []byte{'0', '\n'}, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8d509538694aba4b Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_ip_forwarding.go:86
	data, err := os.ReadFile(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #051bfa298d765083 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_ip_forwarding.go:96
	if err := os.WriteFile(file, []byte{val, '\n'}, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ee5402c982e5a15f Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_ipv4_linux.go:80
	ipv4LoRoutingData, err := os.ReadFile(sysPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #759cf56cd7bc42ea Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_ipv4_linux.go:86
		if err := os.WriteFile(sysPath, []byte{'1', '\n'}, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1f21410b9fc1f3bf Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_ipv6_linux.go:14
	ipv6BridgeData, err := os.ReadFile(procFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #faadf994870f6a2e Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_ipv6_linux.go:23
			if err := os.WriteFile(procFile, []byte{'1', '\n'}, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b38930cc089ca133 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_ipv6_linux.go:33
		if err := os.WriteFile(procFile, []byte{'0', '\n'}, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cfb8c4a4afb8e7c9 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/overlay/ov_network.go:510
		if err := os.WriteFile(path, data, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #eb4cf21dbcf9e3ec Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/etchosts/etchosts.go:104
	return os.WriteFile(path, buf.Bytes(), 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #86c8d809795f2c30 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/etchosts/etchosts.go:122
	f, err := os.OpenFile(path, os.O_APPEND|os.O_WRONLY, 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cf03f51cda5693b8 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/etchosts/etchosts.go:140
	f, err := os.OpenFile(path, os.O_RDWR, 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c0d34e3606b80d46 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/etchosts/etchosts.go:193
	old, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #629b801ed6ae11ad Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/etchosts/etchosts.go:197
	return os.WriteFile(path, re.ReplaceAll(old, []byte(IP+"$2"+"$3")), 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #53702e3c6b773673 Environment-variable access.
pkgs/go/[email protected]+incompatible/libnetwork/firewall_linux.go:19
	if os.Getenv("DOCKER_FIREWALL_BACKEND") == "nftables" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6067d476190ae602 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/internal/resolvconf/resolvconf.go:97
	f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b78728a16185863a Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/internal/resolvconf/resolvconf.go:370
	if err := os.WriteFile(path, content, perm); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7a70a31b4e73b2e4 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/internal/resolvconf/resolvconf.go:395
	currRCHash, err := os.ReadFile(rcHashPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #02e202dbf386627a Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/internal/resolvconf/resolvconf.go:409
	currRC, err := os.Open(rcPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #da5270dd9e72d1d8 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/netutils/utils_linux.go:65
	if rc, err := os.ReadFile(resolvconf.Path()); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1fb42d38ea621f39 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/interface_linux.go:554
	portStateFile, err = os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d02daf7f15983f2b Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/interface_linux.go:603
	stpState, err := os.ReadFile(stpStateFilename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2605e99307ac8fc7 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/interface_linux.go:994
			} else if curVal, err := os.ReadFile(sysPath); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a8bee731900d9197 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/interface_linux.go:999
			} else if err := os.WriteFile(sysPath, []byte(v), 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bb28d5f7a9819314 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/kernel/knobs_linux.go:16
	return os.WriteFile(path.Join("/proc/sys", keyPath), []byte(value), 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fbe11908245f919f Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/kernel/knobs_linux.go:22
	value, err := os.ReadFile(path.Join("/proc/sys", keyPath))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c80867837b9e599c Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/namespace_linux.go:215
	f, err := os.Create(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8e6f35b768147444 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/namespace_linux.go:311
		if err := os.WriteFile(path, []byte{'1', '\n'}, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e96250205856f700 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/namespace_linux.go:316
		if err := os.WriteFile(path, []byte{'2', '\n'}, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fae6e32684852a58 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/namespace_linux.go:589
		if curVal, err := os.ReadFile(path); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e226ef991ff709fd Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/namespace_linux.go:605
		if err = os.WriteFile(path, []byte{value, '\n'}, 0o644); err != nil || os.Getenv("DOCKER_TEST_RO_DISABLE_IPV6") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8fcd3ec66698d0fd Environment-variable access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/namespace_linux.go:605
		if err = os.WriteFile(path, []byte{value, '\n'}, 0o644); err != nil || os.Getenv("DOCKER_TEST_RO_DISABLE_IPV6") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b69666374667a0c9 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/portallocator/portallocator_linux.go:11
	file, err := os.Open(portRangeKernelParam)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #96119bd8b035a461 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/resolvconf/resolvconf.go:38
	resolv, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ed66cfdda329f96d Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/resolvconf/resolvconf.go:152
	if err := os.WriteFile(path, content, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c39dafb562427752 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/sandbox_dns_unix.go:361
	sBytes, err := os.ReadFile(src)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #38d9e36271e33f92 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/sandbox_dns_unix.go:365
	return os.WriteFile(dst, sBytes, filePerm)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #162e769ef7bb3f63 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/service_linux.go:390
		if err := os.WriteFile(path, []byte{'1', '\n'}, 0o644); err != nil { //nolint:gosec // gosec complains about perms here, which must be 0644 in this case

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f01b2882c899978b Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/service_linux.go:560
				err := os.WriteFile("/proc/sys/net/ipv4/vs/conntrack", []byte{'1', '\n'}, 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #09df9e3cf2b83892 Environment-variable access.
pkgs/go/[email protected]+incompatible/opts/env.go:26
	if envVal, ok := os.LookupEnv(k); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d96d676e27139163 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/fileutils/fileutils.go:19
	sf, err := os.Open(cleanSrc)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #724b2567072e9ce0 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/fileutils/fileutils.go:27
	df, err := os.Create(cleanDst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2b395088ffa6103d Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/fileutils/fileutils.go:67
			f, err := os.OpenFile(path, os.O_CREATE, 0o755)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c3d3590ab200bd40 Environment-variable access.
pkgs/go/[email protected]+incompatible/pkg/homedir/homedir_linux.go:16
	if xdgRuntimeDir := os.Getenv("XDG_RUNTIME_DIR"); xdgRuntimeDir != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8be61e5d4a49565b Environment-variable access.
pkgs/go/[email protected]+incompatible/pkg/homedir/homedir_linux.go:71
	if xdgDataHome := os.Getenv("XDG_DATA_HOME"); xdgDataHome != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ea30eb38e3bff205 Environment-variable access.
pkgs/go/[email protected]+incompatible/pkg/homedir/homedir_linux.go:87
	if xdgConfigHome := os.Getenv("XDG_CONFIG_HOME"); xdgConfigHome != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b2c25a412f5272f0 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/meminfo/meminfo_linux.go:14
	file, err := os.Open("/proc/meminfo")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1853d204d3b9db52 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/parsers/operatingsystem/operatingsystem_linux.go:43
	osReleaseFile, err := os.Open(etcOsRelease)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d932242f4e62896d Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/parsers/operatingsystem/operatingsystem_linux.go:48
		osReleaseFile, err = os.Open(altOsRelease)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d4783037c359ab0a Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/parsers/operatingsystem/operatingsystem_linux.go:70
	b, err := os.ReadFile(proc1Cgroup)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cd51a6457069fcc0 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/pidfile/pidfile.go:21
	pidByte, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #49aaaeef4961e2c8 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/pidfile/pidfile.go:51
	return os.WriteFile(path, []byte(strconv.Itoa(pid)), 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #91046372a488233c Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/plugins/discovery.go:143
	content, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e7fd6dbe1c4b9a98 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/plugins/discovery.go:162
	f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3ccd8c7cb411e39f Environment-variable access.
pkgs/go/[email protected]+incompatible/pkg/plugins/discovery_windows.go:10
	return []string{filepath.Join(os.Getenv("programdata"), "docker", "plugins")}

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3f5f44848e93f67a Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/plugins/pluginrpc-gen/main.go:82
	errorOut("error writing file", os.WriteFile(*outputFile, src, 0o644))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #14eb358fa59ea85b Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/process/process_unix.go:71
	data, err := os.ReadFile(fmt.Sprintf("/proc/%d/stat", pid))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9fde0dbdffbf5b45 Environment-variable access.
pkgs/go/[email protected]+incompatible/pkg/rootless/rootless.go:7
	return os.Getenv("ROOTLESSKIT_STATE_DIR") != ""

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #924f5fc2f7d0b609 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/stack/stackdump.go:29
		f, err = os.OpenFile(path, os.O_CREATE|os.O_WRONLY, 0o666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f03dd96f0406761b Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/sysinfo/cgroup2_linux.go:122
	cpus, err := os.ReadFile(path.Join("/sys/fs/cgroup", info.cg2GroupPath, "cpuset.cpus.effective"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #224a5834647feaec Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/sysinfo/cgroup2_linux.go:135
	mems, err := os.ReadFile(path.Join("/sys/fs/cgroup", info.cg2GroupPath, "cpuset.mems.effective"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bb75a24522eb3325 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/sysinfo/sysinfo_linux.go:239
	cpus, err := os.ReadFile(path.Join(mountPoint, "cpuset.cpus"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f976320cde10fbad Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/sysinfo/sysinfo_linux.go:251
	mems, err := os.ReadFile(path.Join(mountPoint, "cpuset.mems"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #93eb55512fa63dc2 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/sysinfo/sysinfo_linux.go:303
		if _, err := os.ReadFile("/sys/kernel/security/apparmor/profiles"); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7bcf05642315358e Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/sysinfo/sysinfo_linux.go:324
	val, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8df91ddc2096a5a0 Filesystem access.
pkgs/go/[email protected]+incompatible/plugin/manager.go:268
	dt, err := os.ReadFile(p)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0c9a4b364421fa0c Filesystem access.
pkgs/go/[email protected]+incompatible/reference/store.go:322
	f, err := os.Open(store.jsonPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #22bd8194f3969f31 Environment-variable access.
pkgs/go/[email protected]+incompatible/registry/config.go:77
		if os.Getenv("ROOTLESSKIT_STATE_DIR") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #18e89ae439fd209f Environment-variable access.
pkgs/go/[email protected]+incompatible/registry/config_windows.go:12
var defaultCertsDir = os.Getenv("programdata") + `\docker\certs.d`

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #81fda7287b7ca61e Filesystem access.
pkgs/go/[email protected]+incompatible/registry/registry.go:90
			data, err := os.ReadFile(fileName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1219f9ee2d6e988b Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:114
	storageDriver := os.Getenv("DOCKER_GRAPHDRIVER")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c6b1971b725fd73c Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:132
	if env := os.Getenv("DOCKER_USERLANDPROXY"); env != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #277b9cca68c32658 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:158
		if err := os.WriteFile(path, []byte(d.resolvConfContent), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c5b22344b05d8e16 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:216
	dest := os.Getenv("DOCKER_INTEGRATION_DAEMON_DEST")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cdfb516f27687f09 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:218
		dest = os.Getenv("DEST")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6677994f94ae41c6 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:224
	if os.Getenv("DOCKER_ROOTLESS") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b4dff4d679848272 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:225
		if os.Getenv("DOCKER_REMAP_ROOT") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3c7691b5027a582c Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:228
		if env := os.Getenv("DOCKER_USERLANDPROXY"); env != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a5e7f0ec3134ec77 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:237
	if val, ok := os.LookupEnv("DOCKER_FIREWALL_BACKEND"); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9db53bf74f56cedc Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:296
	return os.ReadFile(d.logFile.Name())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #537cf77d56a5d2c9 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:420
	logF, err := os.Open(d.logFile.Name())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f9b4564230d49111 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:447
	logFile, err := os.OpenFile(filepath.Join(d.Folder, "docker.log"), os.O_RDWR|os.O_CREATE|os.O_APPEND, 0o600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #61b7bb3bb8f34cdd Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:514
	if root := os.Getenv("DOCKER_REMAP_ROOT"); root != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c372a3ab40e4a88f Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:539
	cmd.Env = append(os.Environ(), "DOCKER_SERVICE_PREFER_OFFLINE_IMAGE=1")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #70b157bd57400335 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:801
	if root := os.Getenv("DOCKER_REMAP_ROOT"); root != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #250217c7e337e05e Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:1019
	configBytes, err := os.ReadFile(configPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #51e643990ed8ab20 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:1028
	assert.NilError(t, os.WriteFile(configPath, configBytes, 0o600))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6d805a959586f888 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/environment/environment.go:81
		if overrideBaseImage := os.Getenv("WINDOWS_BASE_IMAGE"); overrideBaseImage != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #46a8bbe9ce3bc10c Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/environment/environment.go:83
			if overrideBaseImageTag := os.Getenv("WINDOWS_BASE_IMAGE_TAG"); overrideBaseImageTag != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a47a375e030159fa Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/environment/environment.go:121
	return os.Getenv("DOCKER_REMOTE_DAEMON") == ""

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e48ede7e86729599 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/environment/environment.go:156
	root := os.Getenv("DOCKER_REMAP_ROOT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1ab0a4a1d4a33961 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/environment/environment.go:162
	return os.Getenv("DOCKER_WINDOWS_CONTAINERD_RUNTIME") == "1"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #20621fa309906954 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/environment/environment.go:167
	return os.Getenv("DOCKER_ROOTLESS") != ""

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4b4c1cb53ffc9156 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/environment/environment.go:181
	if f, err := os.Open("/sys/module/user_namespace/parameters/enable"); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #210eb7dbd9c69c5f Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/environment/environment.go:195
	return os.Getenv("TEST_INTEGRATION_USE_SNAPSHOTTER") != ""

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #69befcd3ea1ff56e Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/environment/environment.go:228
	return os.Getenv("GITHUB_ACTIONS") != ""

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e987cff342e4e214 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/fakecontext/context.go:98
	return os.WriteFile(fp, content, 0o644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ce8f4c7b65d7fd66 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/fakestorage/fixtures.go:55
		cmd.Env = append(os.Environ(), []string{

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #53afb1d15e025e97 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/fixtures/load/frozen.go:128
	dockerfile := os.Getenv("DOCKERFILE")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8e84f503239751ef Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/fixtures/load/frozen.go:183
	f, err := os.Open(dockerfilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7a14501a61b030b6 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/fixtures/plugin/plugin.go:167
	if err := os.WriteFile(filepath.Join(inPath, "config.json"), configJSON, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fe2ca57236cb5cee Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/fixtures/plugin/plugin.go:196
			f, err := os.Create(filepath.Join(inPath, "rootfs", m.Destination))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1d83070645e66939 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/fixtures/plugin/plugin.go:223
	installPath := filepath.Join(os.Getenv("GOPATH"), "bin", name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #583a4a61f2aaf875 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/fixtures/plugin/plugin.go:226
	cmd.Env = append(os.Environ(), "CGO_ENABLED=0", "GO111MODULE=off")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #07d03d9f36ad32bc Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/helpers.go:44
	if os.Getenv("OTEL_EXPORTER_OTLP_ENDPOINT") == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2833ffbf13a18532 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/registry/registry.go:78
		err := os.WriteFile(htpasswdPath, []byte(userpasswd), os.FileMode(0o644))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d0d3d1fe29747652 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/registry/registry.go:96
	config, err := os.Create(confPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3b373415ec5eb8bb Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/registry/registry.go:178
	manifestBlob, err := os.ReadFile(r.getBlobFilename(blobDigest))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d513cd36ac0bbf52 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/registry/registry.go:186
	err := os.WriteFile(r.getBlobFilename(blobDigest), data, os.FileMode(0o644))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b40402cb4286c639 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/request/request.go:125
	if os.Getenv("DOCKER_TLS_VERIFY") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #eeb2bf67d18af30e Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/request/request.go:155
	if hostURL.Scheme == "tcp" && os.Getenv("DOCKER_TLS_VERIFY") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #73b80cd536efbbf3 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/request/request.go:169
	dockerCertPath := os.Getenv("DOCKER_CERT_PATH")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b3610f19f2c65bf6 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/request/request.go:191
	if daemonHostVar := os.Getenv("DOCKER_HOST"); daemonHostVar != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e61fd6ce67e044ae Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/request/request.go:211
		if os.Getenv("DOCKER_TLS_VERIFY") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #de4f145f34eed125 Filesystem access.
pkgs/go/[email protected]+incompatible/volume/local/local.go:370
	b, err := os.ReadFile(filepath.Join(v.rootPath, "opts.json"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/ebitengine/purego

go dependency
expand_more 9 low-confidence finding(s)
low env_fs dependency Excluded from app score #9cd12037e1a75c2b Filesystem access.
pkgs/go/[email protected]/internal/fakecgo/gen.go:216
	return os.WriteFile(path, buf.Bytes(), 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8f25ce070b810c07 Filesystem access.
pkgs/go/[email protected]/wincallback.go:42
	if err := os.WriteFile("zcallback_386.s", buf.Bytes(), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a9c5f3075ca48731 Filesystem access.
pkgs/go/[email protected]/wincallback.go:69
	if err := os.WriteFile("zcallback_amd64.s", buf.Bytes(), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #478ac1bf7d805e4c Filesystem access.
pkgs/go/[email protected]/wincallback.go:97
	if err := os.WriteFile("zcallback_arm.s", buf.Bytes(), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #faaa05eb62de93e9 Filesystem access.
pkgs/go/[email protected]/wincallback.go:125
	if err := os.WriteFile("zcallback_arm64.s", buf.Bytes(), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fe83c4a04ebb3bd2 Filesystem access.
pkgs/go/[email protected]/wincallback.go:153
	if err := os.WriteFile("zcallback_loong64.s", buf.Bytes(), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #447b7d97d7e95903 Filesystem access.
pkgs/go/[email protected]/wincallback.go:181
	if err := os.WriteFile("zcallback_ppc64le.s", buf.Bytes(), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1ea1ec05434e6802 Filesystem access.
pkgs/go/[email protected]/wincallback.go:218
	if err := os.WriteFile("zcallback_riscv64.s", buf.Bytes(), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f61edd4e61377119 Filesystem access.
pkgs/go/[email protected]/wincallback.go:247
	if err := os.WriteFile("zcallback_s390x.s", buf.Bytes(), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/fsnotify/fsnotify

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #11ab63083dce00c0 Environment-variable access.
pkgs/go/[email protected]/fsnotify.go:448
	return os.Getenv("FSNOTIFY_DEBUG") == "1"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/go-audio/wav

go dependency
expand_more 6 low-confidence finding(s)
low env_fs dependency Excluded from app score #ac2fc58b1d6af0e2 Filesystem access.
pkgs/go/[email protected]/cmd/gen-sine/main.go:19
	f, err := os.Create(*output)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2325775d6554a9c0 Filesystem access.
pkgs/go/[email protected]/cmd/metadata/main.go:17
	f, err := os.Open(os.Args[1])

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #02988c0abaa45d21 Filesystem access.
pkgs/go/[email protected]/cmd/wavtagger/main.go:60
	in, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7275cd17c9f88c0e Filesystem access.
pkgs/go/[email protected]/cmd/wavtagger/main.go:75
	out, err := os.Create(outPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6e154449ac0256cd Filesystem access.
pkgs/go/[email protected]/cmd/wavtoaiff/main.go:41
	f, err := os.Open(*flagPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c389b8a87ed2da59 Filesystem access.
pkgs/go/[email protected]/cmd/wavtoaiff/main.go:55
	of, err := os.Create(outPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/gofrs/flock

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #565d77d47b6ab49f Filesystem access.
pkgs/go/[email protected]/flock.go:184
	fh, err := os.OpenFile(f.path, flag, f.perm)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/google/go-containerregistry

go dependency
expand_more 36 low-confidence finding(s)
low env_fs dependency Excluded from app score #80436a15ad52c91e Environment-variable access.
pkgs/go/[email protected]/cmd/crane/cmd/auth.go:255
	cf, err := config.Load(os.Getenv("DOCKER_CONFIG"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a45292d30cc29ac3 Environment-variable access.
pkgs/go/[email protected]/cmd/crane/cmd/auth.go:295
			cf, err := config.Load(os.Getenv("DOCKER_CONFIG"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3c6f7ebfde6d6203 Filesystem access.
pkgs/go/[email protected]/cmd/crane/cmd/export.go:99
	return os.Create(s)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c34e8f48cd96abab Filesystem access.
pkgs/go/[email protected]/cmd/crane/cmd/push.go:74
				if err := os.WriteFile(imageRefs, []byte(digest.String()), 0600); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3099447c24763081 Environment-variable access.
pkgs/go/[email protected]/cmd/crane/cmd/root.go:89
			cf, err := config.Load(os.Getenv("DOCKER_CONFIG"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4971d2f15965b136 Environment-variable access.
pkgs/go/[email protected]/cmd/crane/cmd/root.go:220
	if os.Getenv("TERM") == "dumb" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f7c5d4260f7f4e6e Environment-variable access.
pkgs/go/[email protected]/cmd/crane/cmd/root.go:225
	if _, nocolor := os.LookupEnv("NO_COLOR"); nocolor {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #be66c0cea126605a Environment-variable access.
pkgs/go/[email protected]/cmd/crane/cmd/root.go:231
	if runtime.GOOS == "windows" && os.Getenv("WT_SESSION") == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c22cd604dd20840d Environment-variable access.
pkgs/go/[email protected]/cmd/crane/cmd/serve.go:54
			port := os.Getenv("PORT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1d4dbbbbcd082050 Environment-variable access.
pkgs/go/[email protected]/internal/editor/editor.go:45
	if env := os.Getenv("EDITOR"); env != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5ded8b3566ba4d52 Filesystem access.
pkgs/go/[email protected]/internal/editor/editor.go:63
	return os.ReadFile(f.Name())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #866eae658f720c19 Environment-variable access.
pkgs/go/[email protected]/pkg/authn/github/keychain.go:41
		username := os.Getenv("GITHUB_ACTOR")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7597de41704e5b6c Environment-variable access.
pkgs/go/[email protected]/pkg/authn/github/keychain.go:45
		if tok := os.Getenv("GITHUB_TOKEN"); tok != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #08b07810d26c9d7f Environment-variable access.
pkgs/go/[email protected]/pkg/authn/keychain.go:102
	if !foundDockerConfig && os.Getenv("DOCKER_CONFIG") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #50d411a8243f99c6 Environment-variable access.
pkgs/go/[email protected]/pkg/authn/keychain.go:103
		foundDockerConfig = fileExists(filepath.Join(os.Getenv("DOCKER_CONFIG"), "config.json"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #01c9c489edbbdf2a Environment-variable access.
pkgs/go/[email protected]/pkg/authn/keychain.go:115
		cf, err = config.Load(os.Getenv("DOCKER_CONFIG"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #816ab2af7361b162 Environment-variable access.
pkgs/go/[email protected]/pkg/authn/keychain.go:119
	} else if path := filepath.Clean(os.Getenv("REGISTRY_AUTH_FILE")); fileExists(path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8d3d3e045a89ae80 Filesystem access.
pkgs/go/[email protected]/pkg/authn/keychain.go:120
		f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c4a415706c063a7b Environment-variable access.
pkgs/go/[email protected]/pkg/authn/keychain.go:129
	} else if path := filepath.Clean(filepath.Join(os.Getenv("XDG_RUNTIME_DIR"), "containers/auth.json")); fileExists(path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f40006bf9c77f022 Filesystem access.
pkgs/go/[email protected]/pkg/authn/keychain.go:130
		f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e79874cc6e7fd9b4 Filesystem access.
pkgs/go/[email protected]/pkg/crane/append.go:95
	f, err = os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #22551dce522398b4 Filesystem access.
pkgs/go/[email protected]/pkg/crane/append.go:125
		return os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #77edd6d183f496df Filesystem access.
pkgs/go/[email protected]/pkg/crane/pull.go:110
	w, err := os.Create(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c876cda40b9fc924 Filesystem access.
pkgs/go/[email protected]/pkg/registry/blobs_disk.go:39
	f, err := os.Open(m.blobHashPath(h))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ee2321fe0a0db590 Filesystem access.
pkgs/go/[email protected]/pkg/registry/blobs_disk.go:57
	return os.Open(m.blobHashPath(h))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #79458e0ecbd80cee Filesystem access.
pkgs/go/[email protected]/pkg/v1/cache/fs.go:65
	return os.Create(cachepath(l.path, h))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7e2c7e26b33f4509 Filesystem access.
pkgs/go/[email protected]/pkg/v1/daemon/image.go:114
	return os.Open(i.tmpPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ae55145cf64150b8 Filesystem access.
pkgs/go/[email protected]/pkg/v1/layout/blob.go:26
	return os.Open(l.blobPath(h))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #709be28798230f3d Filesystem access.
pkgs/go/[email protected]/pkg/v1/layout/blob.go:32
	return os.ReadFile(l.blobPath(h))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #98da8f0c56da7622 Filesystem access.
pkgs/go/[email protected]/pkg/v1/layout/index.go:48
	rawIndex, err := os.ReadFile(l.path("index.json"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a10b097859ed0c1d Filesystem access.
pkgs/go/[email protected]/pkg/v1/layout/write.go:194
	return os.WriteFile(l.path(name), data, perm)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #06081e4a403680bc Filesystem access.
pkgs/go/[email protected]/pkg/v1/layout/write.go:221
	open := func() (*os.File, error) { return os.Create(file) }

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9138fe724dea0966 Filesystem access.
pkgs/go/[email protected]/pkg/v1/tarball/image.go:64
		return os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #37f169b2ebdd8d47 Filesystem access.
pkgs/go/[email protected]/pkg/v1/tarball/layer.go:173
		return os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0767ddd940516ae4 Filesystem access.
pkgs/go/[email protected]/pkg/v1/tarball/write.go:36
	w, err := os.Create(p)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bb520c004f1f2f76 Filesystem access.
pkgs/go/[email protected]/pkg/v1/tarball/write.go:58
	w, err := os.Create(p)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/gorilla/websocket

go dependency
expand_more 1 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #4c281c28e46eda01 Filesystem access.
pkgs/go/github.com_gorilla_websocket@v1.5.4-0.20250319132907-e064f32e3674/examples/filewatch/main.go:51
	p, err := os.ReadFile(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/gpustack/gguf-parser-go

go dependency
expand_more 10 low-confidence finding(s)
low env_fs dependency Excluded from app score #cd0e63cd3afd87bf Filesystem access.
pkgs/go/[email protected]/cache.go:50
		bs, err := os.ReadFile(p)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6d56eacee67d9385 Filesystem access.
pkgs/go/[email protected]/gen.regression.go:488
	if err := os.WriteFile(output, code, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #036295b01cde5d83 Filesystem access.
pkgs/go/[email protected]/ollama_registry_authenticate.go:205
	priKeyBs, err := os.ReadFile(priKeyPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #28f67acfb6d5bcef Environment-variable access.
pkgs/go/[email protected]/util/osx/env.go:9
	_, ok := os.LookupEnv(key)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #59855c2ad56b6f73 Environment-variable access.
pkgs/go/[email protected]/util/osx/env.go:17
	e, ok := os.LookupEnv(key)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #904e32efa224e056 Filesystem access.
pkgs/go/[email protected]/util/osx/file.go:28
	return os.Open(p)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8a51a407f0c15daa Filesystem access.
pkgs/go/[email protected]/util/osx/file.go:107
	return os.WriteFile(p, data, perm)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f6ced762cbb53d6d Filesystem access.
pkgs/go/[email protected]/util/osx/file.go:120
	return os.OpenFile(p, os.O_RDWR|os.O_CREATE|os.O_TRUNC, perm)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #71c3bab4657d80a9 Filesystem access.
pkgs/go/[email protected]/util/osx/file.go:133
	return os.OpenFile(p, flag, perm)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #94496093db0f86b9 Filesystem access.
pkgs/go/[email protected]/util/osx/file_mmap.go:39
	f, err := os.Open(p)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/hpcloud/tail

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #10ec3495934e30a2 Filesystem access.
pkgs/go/[email protected]/tail_posix.go:10
	return os.Open(name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/ipfs/go-log

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #4fe634de33039bcc Environment-variable access.
pkgs/go/[email protected]/oldlog.go:32
	if tracingfp := os.Getenv(envTracingFile); len(tracingfp) > 0 {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1e63de31b85efe0d Filesystem access.
pkgs/go/[email protected]/oldlog.go:33
		f, err := os.Create(tracingfp)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/jaypipes/ghw

go dependency
expand_more 54 low-confidence finding(s)
low env_fs dependency Excluded from app score #192122445e5ee9a9 Environment-variable access.
pkgs/go/[email protected]/internal/config/context.go:62
	if val, exists := os.LookupEnv(envKeyChroot); exists {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c62dd6bf0e11cac4 Environment-variable access.
pkgs/go/[email protected]/internal/config/context.go:93
	if _, exists := os.LookupEnv(envKeyDisableTools); exists {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5157d0891c638ead Environment-variable access.
pkgs/go/[email protected]/internal/config/context.go:113
	if _, exists := os.LookupEnv(envKeyDisableTopology); exists {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8155c4a4ed0e240c Environment-variable access.
pkgs/go/[email protected]/internal/config/log.go:84
	if _, exists := os.LookupEnv(envKeyLogLogfmt); exists {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #51bd23c531226936 Environment-variable access.
pkgs/go/[email protected]/internal/config/log.go:111
	if ll, exists := os.LookupEnv(envKeyLogLevel); exists {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1cb5b035c03dba7a Environment-variable access.
pkgs/go/[email protected]/internal/config/log.go:152
	if _, exists := os.LookupEnv(envKeyDisableWarnings); exists {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #811253fa90a83761 Filesystem access.
pkgs/go/[email protected]/pkg/block/block_linux.go:41
	contents, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ac70244bacaaa1a5 Filesystem access.
pkgs/go/[email protected]/pkg/block/block_linux.go:56
	contents, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #dc4349878c0146df Filesystem access.
pkgs/go/[email protected]/pkg/block/block_linux.go:73
		if nodeContents, err := os.ReadFile(filepath.Join(paths.SysBlock, partial, "numa_node")); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fde086e7879b86cf Filesystem access.
pkgs/go/[email protected]/pkg/block/block_linux.go:86
	contents, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e33c0be0ef2439ff Filesystem access.
pkgs/go/[email protected]/pkg/block/block_linux.go:96
	devNo, err := os.ReadFile(filepath.Join(paths.SysBlock, disk, "dev"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #953b1f004456f4f5 Filesystem access.
pkgs/go/[email protected]/pkg/block/block_linux.go:106
	devNo, err := os.ReadFile(filepath.Join(paths.SysBlock, disk, partition, "dev"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fee255995b330e91 Filesystem access.
pkgs/go/[email protected]/pkg/block/block_linux.go:116
	udevBytes, err := os.ReadFile(filepath.Join(paths.RunUdevData, udevID))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #707eb9ea3c54e4eb Filesystem access.
pkgs/go/[email protected]/pkg/block/block_linux.go:314
	contents, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #949c1da50783ba94 Filesystem access.
pkgs/go/[email protected]/pkg/block/block_linux.go:446
	contents, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #687d1132890aed10 Filesystem access.
pkgs/go/[email protected]/pkg/block/block_linux.go:469
	r, err := os.Open(paths.ProcMounts)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4ac59cb87335524b Filesystem access.
pkgs/go/[email protected]/pkg/cpu/cpu_linux.go:354
	r, err := os.Open(paths.ProcCpuinfo)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5c0e3aec113178fa Filesystem access.
pkgs/go/[email protected]/pkg/linuxdmi/dmi_linux.go:24
	b, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4042c3cc3767c4a3 Filesystem access.
pkgs/go/[email protected]/pkg/memory/memory_cache_linux.go:141
	levelContents, err := os.ReadFile(levelPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d82ae683216ec642 Filesystem access.
pkgs/go/[email protected]/pkg/memory/memory_cache_linux.go:167
	idContents, err := os.ReadFile(idPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5406d3ec59d9eef0 Filesystem access.
pkgs/go/[email protected]/pkg/memory/memory_cache_linux.go:191
	sizeContents, err := os.ReadFile(sizePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #74111ca015517d57 Filesystem access.
pkgs/go/[email protected]/pkg/memory/memory_cache_linux.go:216
	cacheTypeContents, err := os.ReadFile(typePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b7ae6cbebe6cff67 Filesystem access.
pkgs/go/[email protected]/pkg/memory/memory_cache_linux.go:242
	sharedCpuMap, err := os.ReadFile(scpuPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #30bf5494ff13cfdf Filesystem access.
pkgs/go/[email protected]/pkg/memory/memory_linux.go:140
	d, err := os.ReadFile(blockSize)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c0b2f159cc4eedde Filesystem access.
pkgs/go/[email protected]/pkg/memory/memory_linux.go:194
		s, err := os.ReadFile(filepath.Join(dir, fname, "state"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #15b9f0e8773c93dc Filesystem access.
pkgs/go/[email protected]/pkg/memory/memory_linux.go:240
			r, err = os.Open(fullPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #eee7cb764040369b Filesystem access.
pkgs/go/[email protected]/pkg/memory/memory_linux.go:405
	r, err := os.Open(meminfoPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #eff676b58ef9a3b7 Filesystem access.
pkgs/go/[email protected]/pkg/memory/memory_linux.go:434
	data, err := os.ReadFile(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cc3e02dddcbeb899 Filesystem access.
pkgs/go/[email protected]/pkg/net/net_linux.go:93
	contents, err := os.ReadFile(aatPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #31938082017858bd Filesystem access.
pkgs/go/[email protected]/pkg/net/net_linux.go:101
	contents, err = os.ReadFile(addrPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5d9c159d94eb0037 Filesystem access.
pkgs/go/[email protected]/pkg/net/net_linux.go:260
	contents, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9401b9b711c36a37 Environment-variable access.
pkgs/go/[email protected]/pkg/option/option.go:51
	if _, exists := os.LookupEnv(envKeyDisableWarnings); exists {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3e8125bb5b4f8795 Environment-variable access.
pkgs/go/[email protected]/pkg/option/option.go:64
	if val, exists := os.LookupEnv(envKeyChroot); exists {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5eca3ed6866fd522 Environment-variable access.
pkgs/go/[email protected]/pkg/option/option.go:76
	if _, exists := os.LookupEnv(envKeyDisableTools); exists {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #12a870c270e71d00 Environment-variable access.
pkgs/go/[email protected]/pkg/pci/pci_linux.go:30
	if path := os.Getenv("PCIDB_PATH"); path != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #56d73bfa9f1741fa Filesystem access.
pkgs/go/[email protected]/pkg/pci/pci_linux.go:62
	revision, err := os.ReadFile(revisionPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a1f22c5417b7f41c Filesystem access.
pkgs/go/[email protected]/pkg/pci/pci_linux.go:142
	data, err := os.ReadFile(fp)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d8d73129f395e4c6 Filesystem access.
pkgs/go/[email protected]/pkg/snapshot/clonetree.go:216
	buf, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e6aa309175f972d0 Filesystem access.
pkgs/go/[email protected]/pkg/snapshot/clonetree.go:221
	f, err := os.Create(targetPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8be6bd2a99c3d03a Filesystem access.
pkgs/go/[email protected]/pkg/snapshot/clonetree_block_linux.go:131
			buf, err := os.ReadFile(fp)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #beef29159aaee95d Filesystem access.
pkgs/go/[email protected]/pkg/snapshot/clonetree_block_linux.go:142
			f, err := os.Create(targetPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #be3f03c58c403da3 Filesystem access.
pkgs/go/[email protected]/pkg/snapshot/clonetree_block_linux.go:168
	buf, err := os.ReadFile(fp)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8c3e355f4f5507a9 Filesystem access.
pkgs/go/[email protected]/pkg/snapshot/clonetree_block_linux.go:174
	f, err := os.Create(targetPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #08753b00895d5837 Filesystem access.
pkgs/go/[email protected]/pkg/snapshot/clonetree_block_linux.go:217
			buf, err := os.ReadFile(fp)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #faf762ab3f219432 Filesystem access.
pkgs/go/[email protected]/pkg/snapshot/clonetree_block_linux.go:223
			f, err := os.Create(targetPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #46acf4d0fca32fe5 Filesystem access.
pkgs/go/[email protected]/pkg/snapshot/pack.go:42
	f, err := os.OpenFile(snapshotName, os.O_WRONLY|os.O_CREATE|os.O_EXCL, 0600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f445aa91f5683ad6 Filesystem access.
pkgs/go/[email protected]/pkg/snapshot/pack.go:54
		f, err = os.OpenFile(snapshotName, os.O_WRONLY, 0600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #44fe12b636edbbcd Filesystem access.
pkgs/go/[email protected]/pkg/snapshot/pack.go:115
			f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #abd2c41e3e88feaf Filesystem access.
pkgs/go/[email protected]/pkg/snapshot/unpack.go:36
	snap, err := os.Open(snapshotName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #123ad12da0239e73 Filesystem access.
pkgs/go/[email protected]/pkg/snapshot/unpack.go:82
			dst, err := os.OpenFile(target, os.O_CREATE|os.O_RDWR, mode)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7bbd47f1a8711565 Filesystem access.
pkgs/go/[email protected]/pkg/topology/topology_linux.go:92
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ce82427508cc19d3 Filesystem access.
pkgs/go/[email protected]/pkg/usb/usb_linux.go:32
	ueventFp, err := os.Open(filepath.Join(dir, "uevent"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6f17f015dcbc1fb3 Filesystem access.
pkgs/go/[email protected]/pkg/usb/usb_linux.go:71
	bs, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #06365f108e0173cd Filesystem access.
pkgs/go/[email protected]/pkg/util/util.go:40
	buf, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/joho/godotenv

go dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #30c6ed4839e4e266 Filesystem access.
pkgs/go/[email protected]/godotenv.go:150
	file, err := os.Create(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #88f44bbdf8c7c066 Environment-variable access.
pkgs/go/[email protected]/godotenv.go:191
	rawEnv := os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #12d46c3a7b6b6c83 Filesystem access.
pkgs/go/[email protected]/godotenv.go:207
	file, err := os.Open(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/klauspost/cpuid/v2

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #1774ab1be3179dc7 Filesystem access.
pkgs/go/[email protected]/os_linux_arm64.go:135
		buf, err := ioutil.ReadFile("/proc/self/auxv")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/labstack/echo/v4

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #36f9963e89e99c1c Filesystem access.
pkgs/go/[email protected]/echo.go:733
		return os.ReadFile(v)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e9383a1afee060ad Filesystem access.
pkgs/go/[email protected]/echo_fs.go:119
		return os.Open(name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/libp2p/go-libp2p

go dependency
expand_more 10 low-confidence finding(s)
low env_fs dependency Excluded from app score #9772172aba3fe504 Environment-variable access.
pkgs/go/[email protected]/core/crypto/rsa_common.go:23
	if _, ok := os.LookupEnv(WeakRsaKeyEnv); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #83b560787a81ae71 Environment-variable access.
pkgs/go/[email protected]/core/pnet/env.go:18
	ForcePrivateNetwork = os.Getenv(EnvKey) == "1"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bef1418d5ccb70df Environment-variable access.
pkgs/go/[email protected]/gologshim/gologshim.go:177
	fallback, systemToLevel, err := parseIPFSGoLogEnv(os.Getenv("GOLOG_LOG_LEVEL"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #815afea1a82d4f83 Environment-variable access.
pkgs/go/[email protected]/gologshim/gologshim.go:188
	logFmt := os.Getenv("GOLOG_LOG_FORMAT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #579e423986b3e5c3 Environment-variable access.
pkgs/go/[email protected]/gologshim/gologshim.go:190
		logFmt = os.Getenv("GOLOG_LOG_FMT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e6d8dc38af314f1e Environment-variable access.
pkgs/go/[email protected]/gologshim/gologshim.go:196
	logFmt = os.Getenv("GOLOG_LOG_ADD_SOURCE")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1b8caac889aa860b Environment-variable access.
pkgs/go/[email protected]/gologshim/gologshim.go:201
	labels := os.Getenv("GOLOG_LOG_LABELS")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6622d146bcdddcab Filesystem access.
pkgs/go/[email protected]/p2p/host/resource-manager/trace.go:320
		out, err := os.OpenFile(t.path, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #26da3cca82ea64c4 Environment-variable access.
pkgs/go/[email protected]/p2p/net/swarm/limiter.go:46
	if env := os.Getenv("LIBP2P_SWARM_FD_LIMIT"); env != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #51c7a5af00fd818a Environment-variable access.
pkgs/go/[email protected]/p2p/transport/tcpreuse/reuseport.go:18
	v := strings.ToLower(os.Getenv(envReuseport))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/mholt/archiver/v3

go dependency
expand_more 16 low-confidence finding(s)
low env_fs dependency Excluded from app score #6095c75ed1c6f60a Filesystem access.
pkgs/go/[email protected]/archiver.go:298
	out, err := os.Create(fpath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #92e97fc153213d31 Environment-variable access.
pkgs/go/[email protected]/cmd/arc/main.go:240
		v.Password = os.Getenv("ARCHIVE_PASSWORD")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #643042ba113ec2e0 Filesystem access.
pkgs/go/[email protected]/filecompressor.go:30
	in, err := os.Open(source)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #716c6a75da23d7cc Filesystem access.
pkgs/go/[email protected]/filecompressor.go:36
	out, err := os.Create(destination)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #14ed46c6a347101a Filesystem access.
pkgs/go/[email protected]/filecompressor.go:54
	in, err := os.Open(source)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #aad92392e9b6e21c Filesystem access.
pkgs/go/[email protected]/filecompressor.go:60
	out, err := os.Create(destination)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1e5ff519b02f199f Filesystem access.
pkgs/go/[email protected]/rar.go:128
	file, err := os.Open(sourceArchive)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ac56d03d93003d9c Filesystem access.
pkgs/go/[email protected]/rar.go:295
	file, err := os.Open(archive)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0aeb34778e97b17a Filesystem access.
pkgs/go/[email protected]/tar.go:102
	out, err := os.Create(destination)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fb57a6378e54a50b Filesystem access.
pkgs/go/[email protected]/tar.go:150
	file, err := os.Open(source)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5cd4eff0cab63986 Filesystem access.
pkgs/go/[email protected]/tar.go:184
	file, err := os.Open(sourceArchive)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1c46fa9400b60be6 Filesystem access.
pkgs/go/[email protected]/tar.go:320
			file, err = os.Open(fpath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #332834acde5961a9 Filesystem access.
pkgs/go/[email protected]/tar.go:477
	file, err := os.Open(archive)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b815cbf3621b4aa5 Filesystem access.
pkgs/go/[email protected]/zip.go:159
	out, err := os.Create(destination)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #54ae02273b79c717 Filesystem access.
pkgs/go/[email protected]/zip.go:196
	file, err := os.Open(source)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4637aef5cde04c28 Filesystem access.
pkgs/go/[email protected]/zip.go:343
			file, err = os.Open(fpath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/mudler/LocalAGI

go dependency
expand_more 52 low-confidence finding(s)
low env_fs dependency Excluded from app score #410fa72ab15d2149 Filesystem access.
pkgs/go/[email protected]/cmd/agent_run.go:184
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #42b6a209e0d33b7d Environment-variable access.
pkgs/go/[email protected]/cmd/agent_run.go:211
	stateDir := os.Getenv("LOCALAGI_STATE_DIR")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6934733e6996d34e Filesystem access.
pkgs/go/[email protected]/cmd/agent_run.go:221
	data, err := os.ReadFile(poolFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7f51e548dd43abed Environment-variable access.
pkgs/go/[email protected]/cmd/env.go:56
		LocalRAGURL:              os.Getenv("LOCALAGI_LOCALRAG_URL"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #69182f9271884eb0 Environment-variable access.
pkgs/go/[email protected]/cmd/env.go:57
		CustomActionsDir:         os.Getenv("LOCALAGI_CUSTOM_ACTIONS_DIR"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3acac9bdc3cb0b79 Environment-variable access.
pkgs/go/[email protected]/cmd/env.go:58
		SSHBoxURL:                os.Getenv("LOCALAGI_SSHBOX_URL"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1018a2c6b242b157 Environment-variable access.
pkgs/go/[email protected]/cmd/env.go:59
		EnableConversationsLogging: os.Getenv("LOCALAGI_ENABLE_CONVERSATIONS_LOGGING") == "true",

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1fd63fb2fd29d480 Environment-variable access.
pkgs/go/[email protected]/cmd/env.go:60
		ConversationDuration:     os.Getenv("LOCALAGI_CONVERSATION_DURATION"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2849995640d16e0f Environment-variable access.
pkgs/go/[email protected]/cmd/env.go:61
		CollectionDBPath:         os.Getenv("COLLECTION_DB_PATH"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #99b2e6972a1b07e6 Environment-variable access.
pkgs/go/[email protected]/cmd/env.go:62
		FileAssets:               os.Getenv("FILE_ASSETS"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0a25a3110308fa57 Environment-variable access.
pkgs/go/[email protected]/cmd/env.go:63
		VectorEngine:             os.Getenv("VECTOR_ENGINE"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bf71f332eb728672 Environment-variable access.
pkgs/go/[email protected]/cmd/env.go:64
		EmbeddingModel:           os.Getenv("EMBEDDING_MODEL"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5d107089fbeb612c Environment-variable access.
pkgs/go/[email protected]/cmd/env.go:65
		DatabaseURL:              os.Getenv("DATABASE_URL"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ddbd9d73541f5728 Environment-variable access.
pkgs/go/[email protected]/cmd/env.go:69
	if apiKeysEnv := os.Getenv("LOCALAGI_API_KEYS"); apiKeysEnv != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bc1ca085695da205 Environment-variable access.
pkgs/go/[email protected]/cmd/env.go:74
	if maxChunkingSizeEnv := os.Getenv("MAX_CHUNKING_SIZE"); maxChunkingSizeEnv != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c757d863d3af5b3a Environment-variable access.
pkgs/go/[email protected]/cmd/env.go:80
	if chunkOverlapEnv := os.Getenv("CHUNK_OVERLAP"); chunkOverlapEnv != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2cad918a1ff31820 Environment-variable access.
pkgs/go/[email protected]/cmd/env.go:102
	if v := os.Getenv(envKey); v != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #85c9263019f19619 Environment-variable access.
pkgs/go/[email protected]/core/action/custom.go:64
			Env:          os.Environ(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #28da564e4cef5a54 Filesystem access.
pkgs/go/[email protected]/core/agent/actions.go:69
	f, err := os.Create(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e986b62ea34e2216 Environment-variable access.
pkgs/go/[email protected]/core/agent/mcp.go:194
		command.Env = os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #59af7e70986929be Filesystem access.
pkgs/go/[email protected]/core/agent/state.go:71
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3597bba9705e31b7 Filesystem access.
pkgs/go/[email protected]/core/agent/state.go:88
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #369faa88910b7e1e Filesystem access.
pkgs/go/[email protected]/core/agent/state.go:96
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c574dbae7d2c9095 Filesystem access.
pkgs/go/[email protected]/core/agent/state.go:109
	os.WriteFile(path, data, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7a7474d6de291e2d Filesystem access.
pkgs/go/[email protected]/core/agent/state.go:119
	return os.WriteFile(path, data, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fc29fe8a659da22f Filesystem access.
pkgs/go/[email protected]/core/scheduler/json_store.go:183
	file, err := os.ReadFile(s.filePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #997b2c846bf01582 Filesystem access.
pkgs/go/[email protected]/core/scheduler/json_store.go:218
	return os.WriteFile(s.filePath, data, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6bcf3aee8d92eb82 Filesystem access.
pkgs/go/[email protected]/core/state/compaction.go:190
		if err := os.WriteFile(tmpPath, []byte(content), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d8b35735f6454258 Filesystem access.
pkgs/go/[email protected]/core/state/pool.go:99
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #021e65d12e9077ed Filesystem access.
pkgs/go/[email protected]/core/state/pool.go:164
				_ = os.WriteFile(poolfile, repairData, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d532e866e17a74b3 Filesystem access.
pkgs/go/[email protected]/core/state/pool.go:905
	if err := os.WriteFile(tmpPath, data, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5c584da4079a8e59 Filesystem access.
pkgs/go/[email protected]/core/state/pool.go:914
	if err := os.WriteFile(bakPath, data, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6487145fa70b7922 Filesystem access.
pkgs/go/[email protected]/pkg/deepface/client.go:24
	file, err := os.Open(imgPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6508890a87877ee6 Filesystem access.
pkgs/go/[email protected]/pkg/localrag/client.go:90
	err = os.WriteFile(f, []byte(s), 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d65620a1927ad21d Filesystem access.
pkgs/go/[email protected]/pkg/localrag/client.go:479
	file, err := os.Open(filePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fc1ee5b886220889 Filesystem access.
pkgs/go/[email protected]/services/actions.go:342
		content, err := os.ReadFile(filepath.Join(customActionsDir, file.Name()))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1a5d0f07611dbe10 Filesystem access.
pkgs/go/[email protected]/services/actions/gensong.go:207
	if err := os.WriteFile(savedPath, audioBytes, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f45ba26076cc00d3 Filesystem access.
pkgs/go/[email protected]/services/connectors/slack.go:242
			data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a508b0c319f519bc Filesystem access.
pkgs/go/[email protected]/services/connectors/slack.go:272
			data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e3dd56ea186f6f36 Filesystem access.
pkgs/go/[email protected]/services/connectors/telegram.go:562
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #19579fd083870761 Filesystem access.
pkgs/go/[email protected]/services/connectors/telegram.go:617
				data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d3a3f832c5c972c4 Filesystem access.
pkgs/go/[email protected]/services/connectors/telegram.go:972
						data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5247be7f69a2ff54 Filesystem access.
pkgs/go/[email protected]/services/prompts.go:46
		content, err := os.ReadFile(filepath.Join(customDirectory, file.Name()))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f1fd912288a45e24 Environment-variable access.
pkgs/go/[email protected]/services/prompts/custom.go:100
			Env:          os.Environ(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #661582ec0a7c0cf6 Filesystem access.
pkgs/go/[email protected]/webui/app.go:237
		data, err := os.ReadFile(destination)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #51a533e79d7dc0d4 Filesystem access.
pkgs/go/[email protected]/webui/collections/inprocess.go:128
	out, err := os.Create(tmpPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #575a449c95ededa5 Filesystem access.
pkgs/go/[email protected]/webui/collections/rag_provider.go:46
	if err := os.WriteFile(f, []byte(s), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f522e83c15005701 Filesystem access.
pkgs/go/[email protected]/webui/collections_backend_http.go:40
	out, err := os.Create(tmpPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c4194470e2e0bdbd Filesystem access.
pkgs/go/[email protected]/webui/skills_handlers.go:224
	if err := os.WriteFile(skillMdPath, []byte(frontmatter+req.Content), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #393df5fd82b4bc50 Filesystem access.
pkgs/go/[email protected]/webui/skills_handlers.go:291
	if err := os.WriteFile(skillMdPath, []byte(frontmatter+req.Content), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #14af159ffca0da2d Filesystem access.
pkgs/go/[email protected]/webui/skills_handlers.go:531
	if err := os.WriteFile(fullPath, data, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #03ede13fc3146d19 Filesystem access.
pkgs/go/[email protected]/webui/skills_handlers.go:568
	if err := os.WriteFile(fullPath, []byte(body.Content), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/mudler/cogito

go dependency
expand_more 8 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #d40f9f3db39acf44 Environment-variable access.
pkgs/go/[email protected]/examples/chat/main.go:19
	model := os.Getenv("MODEL")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #3314cf2ed01c6991 Environment-variable access.
pkgs/go/[email protected]/examples/chat/main.go:20
	apiKey := os.Getenv("API_KEY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #a679fd9595abae4e Environment-variable access.
pkgs/go/[email protected]/examples/chat/main.go:21
	baseURL := os.Getenv("BASE_URL")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #4897da7729c85936 Environment-variable access.
pkgs/go/[email protected]/examples/sub-agents/main.go:16
	model := os.Getenv("MODEL")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #1d034b0fc082b9a2 Environment-variable access.
pkgs/go/[email protected]/examples/sub-agents/main.go:17
	apiKey := os.Getenv("API_KEY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #0e2dced2ce1e76c5 Environment-variable access.
pkgs/go/[email protected]/examples/sub-agents/main.go:18
	baseURL := os.Getenv("BASE_URL")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ef3c63a4063679bc Filesystem access.
pkgs/go/[email protected]/plan.go:646
	err = os.WriteFile(path, data, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #af4e17d5042109de Filesystem access.
pkgs/go/[email protected]/plan.go:736
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/mudler/edgevpn

go dependency
expand_more 17 low-confidence finding(s)
low env_fs dependency Excluded from app score #c5ccde53d8a8b133 Environment-variable access.
pkgs/go/[email protected]/api/api.go:92
	v := strings.TrimSpace(os.Getenv("APILISTENUNIXMODE"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e422421d0e7e6568 Environment-variable access.
pkgs/go/[email protected]/api/api.go:136
	pidEnv := os.Getenv("LISTEN_PID")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b0779fb5a5f6cc83 Environment-variable access.
pkgs/go/[email protected]/api/api.go:137
	fdsEnv := os.Getenv("LISTEN_FDS")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f295bb01e945c353 Filesystem access.
pkgs/go/[email protected]/api/client/service/node.go:222
	out, err := os.Create(dst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b77ff9cdc2e3324e Filesystem access.
pkgs/go/[email protected]/api/client/service/node.go:259
		f, err := ioutil.ReadFile(k.tokenFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #282f3162986fad6f Filesystem access.
pkgs/go/[email protected]/api/client/service/node.go:276
		ioutil.WriteFile(k.tokenFile, []byte(token), os.ModePerm)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5d726244c72d099e Filesystem access.
pkgs/go/[email protected]/api/generate/main.go:18
	b, err := ioutil.ReadFile(templateFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6ad271342596fcff Filesystem access.
pkgs/go/[email protected]/api/generate/main.go:22
	b2, err := ioutil.ReadFile(src)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c27964562c3199fa Filesystem access.
pkgs/go/[email protected]/api/generate/main.go:32
	err = ioutil.WriteFile(output, []byte(templated), os.ModePerm)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #932aae61e3f976ea Filesystem access.
pkgs/go/[email protected]/cmd/util.go:572
		dat, err := os.ReadFile(keyFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #92daceae9d419ab4 Filesystem access.
pkgs/go/[email protected]/cmd/util.go:590
			err = os.WriteFile(keyFile, r, 0600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ae82a9b2cd750792 Filesystem access.
pkgs/go/[email protected]/pkg/config/config.go:405
			limitFile, err := os.Open(c.Limit.FileLimit)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #817b5d894d7ac4a5 Filesystem access.
pkgs/go/[email protected]/pkg/node/options.go:351
		data, err := ioutil.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #af0ccae7cfc2f11b Filesystem access.
pkgs/go/[email protected]/pkg/services/files.go:85
						f, err := os.Open(filepath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7984b3a25ca1685e Filesystem access.
pkgs/go/[email protected]/pkg/services/files.go:165
				f, err := os.OpenFile(path, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0755)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #58c20d9499531832 Filesystem access.
pkgs/go/[email protected]/pkg/vpn/dhcp.go:43
		b, _ := ioutil.ReadFile(leaseFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5ccac0c6f022451e Filesystem access.
pkgs/go/[email protected]/pkg/vpn/dhcp.go:140
		if err := ioutil.WriteFile(leaseFile, []byte(wantedIP), 0600); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/mudler/go-processmanager

go dependency
expand_more 7 low-confidence finding(s)
low env_fs dependency Excluded from app score #dba13995d925e9a8 Environment-variable access.
pkgs/go/[email protected]/config.go:25
		Environment:      os.Environ(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #201158098e7c81b3 Filesystem access.
pkgs/go/[email protected]/process.go:63
	b, err := os.ReadFile(
		p.path("pid"),
	)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f53dca4b03725f4b Filesystem access.
pkgs/go/[email protected]/process.go:75
	return os.WriteFile(
		p.path("pid"),
		[]byte(p.PID),
		os.ModePerm,
	)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e1a32b1c52416cf1 Filesystem access.
pkgs/go/[email protected]/process.go:240
	b, err := os.ReadFile(
		p.path("exitcode"),
	)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3374b1e634dbf759 Filesystem access.
pkgs/go/[email protected]/process.go:274
		os.WriteFile(
			p.path("exitcode"),
			[]byte(fmt.Sprint(s.ExitCode())),
			os.ModePerm,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #05981efa4dc113a1 Filesystem access.
pkgs/go/[email protected]/process.go:280
		os.WriteFile(
			p.path("error"),
			[]byte(err.Error()),
			os.ModePerm,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #dfb2733ad181e568 Filesystem access.
pkgs/go/[email protected]/writer.go:13
	file, err := os.OpenFile(path, os.O_CREATE|os.O_RDWR|os.O_APPEND, 0660)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/mudler/memory

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #7e21bfdc5b1f0bba Filesystem access.
pkgs/go/[email protected]/memory_linux.go:42
	f, err := os.Open("/proc/meminfo")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/mudler/skillserver

go dependency
expand_more 16 low-confidence finding(s)
low env_fs dependency Excluded from app score #ece781840e1ff882 Environment-variable access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/cmd/skillserver/main.go:23
	if value := os.Getenv(key); value != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1ac0a4dd14b2e0cc Environment-variable access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/cmd/skillserver/main.go:31
	return os.Getenv(key)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0ba293275d8a0404 Environment-variable access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/cmd/skillserver/main.go:36
	if value := os.Getenv(key); value != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cd766d152fe7f23e Filesystem access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/pkg/domain/archive.go:93
		file, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4ed852b6e86890f1 Filesystem access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/pkg/domain/archive.go:247
			outFile, err := os.OpenFile(targetPath, os.O_CREATE|os.O_TRUNC|os.O_WRONLY, os.FileMode(header.Mode))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2b2e5889be4b6411 Filesystem access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/pkg/domain/archive.go:263
	content, err := os.ReadFile(skillMdPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9792b47fcd16597f Filesystem access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/pkg/domain/manager.go:189
	content, err := os.ReadFile(skillMdPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c5009678a42f29e1 Filesystem access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/pkg/domain/manager.go:388
			content, err := os.ReadFile(fullPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #89cc45920866368c Filesystem access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/pkg/domain/manager.go:440
		content, err := os.ReadFile(fullResourcePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9856f553c7bf9856 Filesystem access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/pkg/domain/manager.go:475
	content, err := os.ReadFile(fullPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fd342778dc147262 Filesystem access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/pkg/domain/manager.go:527
	file, err := os.Open(fullPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bac7b2d444d78b34 Filesystem access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/pkg/git/config.go:38
	data, err := os.ReadFile(cm.configPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #616cce0d10d3f5b2 Filesystem access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/pkg/git/config.go:68
	if err := os.WriteFile(cm.configPath, data, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9787da262f00f249 Filesystem access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/pkg/web/handlers.go:637
	if err := os.WriteFile(fullPath, fileContent, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7aa3b4f6d00bab38 Filesystem access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/pkg/web/handlers.go:720
	if err := os.WriteFile(fullPath, body, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fca1048b2f5c5c95 Filesystem access.
pkgs/go/github.com_mudler_skillserver@v0.0.7-0.20260520220837-a7317cbf9145/pkg/web/handlers.go:1467
	return os.WriteFile(filename, []byte(content), 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/mudler/xlog

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #b34cb79d341f027f Environment-variable access.
pkgs/go/[email protected]/log.go:19
	logger = NewLogger(LogLevel(os.Getenv(EnvLogLevel)), os.Getenv(EnvLogFormat))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/nats-io/nats.go

go dependency
expand_more 12 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #1f9b36eb7d4c89a9 Filesystem access.
pkgs/go/[email protected]/examples/nats-bench/main.go:147
		os.WriteFile(*csvFile, []byte(csv), 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #34552892a1db97ed Environment-variable access.
pkgs/go/[email protected]/examples/nats-echo/main.go:201
	url := os.Getenv("ECHO_SVC_GEO_URL")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #906927753569f531 Filesystem access.
pkgs/go/[email protected]/jetstream/object.go:1130
	f, err := os.Open(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9ff618484045efb5 Filesystem access.
pkgs/go/[email protected]/jetstream/object.go:1141
	f, err := os.OpenFile(file, os.O_WRONLY|os.O_CREATE, 0600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5ff591fc2111ae89 Filesystem access.
pkgs/go/[email protected]/nats.go:1066
				rootPEM, err := os.ReadFile(f)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #51261508541f41d2 Filesystem access.
pkgs/go/[email protected]/nats.go:6624
	contents, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1dad0136abd86e0b Environment-variable access.
pkgs/go/[email protected]/nats.go:6634
		homeDrive, homePath := os.Getenv("HOMEDRIVE"), os.Getenv("HOMEPATH")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #80901a532e421e96 Environment-variable access.
pkgs/go/[email protected]/nats.go:6635
		userProfile := os.Getenv("USERPROFILE")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #61060998a4b09779 Environment-variable access.
pkgs/go/[email protected]/nats.go:6650
	home := os.Getenv("HOME")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c4256be9d63049bb Filesystem access.
pkgs/go/[email protected]/nats.go:6673
	contents, err := os.ReadFile(seedFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #18509ef0ac7bb790 Filesystem access.
pkgs/go/[email protected]/object.go:885
	f, err := os.Open(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e9c2d180436242ef Filesystem access.
pkgs/go/[email protected]/object.go:896
	f, err := os.OpenFile(file, os.O_WRONLY|os.O_CREATE, 0600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/nats-io/nkeys

go dependency
expand_more 5 low-confidence finding(s)
low env_fs dependency Excluded from app score #5e5af0dceb6f0511 Filesystem access.
pkgs/go/[email protected]/nk/main.go:152
	content, err := os.ReadFile(fname)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #60d349eea0e149a5 Filesystem access.
pkgs/go/[email protected]/nk/main.go:185
	content, err := os.ReadFile(fname)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e8cb905f46c5d4ff Filesystem access.
pkgs/go/[email protected]/nk/main.go:190
	sigEnc, err := os.ReadFile(sigFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #983ff6b270b60742 Filesystem access.
pkgs/go/[email protected]/nk/main.go:230
		r, err := os.Open(entropy)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3d8d387e79802b34 Filesystem access.
pkgs/go/[email protected]/nk/main.go:309
	contents, err := os.ReadFile(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/onsi/ginkgo/v2

go dependency
expand_more 52 low-confidence finding(s)
low env_fs dependency Excluded from app score #cef86a490f26937a Environment-variable access.
pkgs/go/[email protected]/core_dsl.go:327
	if passed && hasFocusedTests && strings.TrimSpace(os.Getenv("GINKGO_EDITOR_INTEGRATION")) == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bf8c87aae7d5af69 Environment-variable access.
pkgs/go/[email protected]/core_dsl.go:376
	if !strings.EqualFold(os.Getenv("GINKGO_PRESERVE_CACHE"), "true") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6d1cda0b07365135 Environment-variable access.
pkgs/go/[email protected]/formatter/formatter.go:71
		envVarColor := os.Getenv(envVar)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f51f815cdee4de5f Environment-variable access.
pkgs/go/[email protected]/formatter/formatter.go:85
	if _, noColor := os.LookupEnv("GINKGO_NO_COLOR"); noColor {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3a4fd4a705e3d0f3 Environment-variable access.
pkgs/go/[email protected]/ginkgo/automaxprocs/automaxprocs.go:59
	if _, exists := os.LookupEnv(_maxProcsKey); exists {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9058038741f5d81b Filesystem access.
pkgs/go/[email protected]/ginkgo/automaxprocs/cgroup.go:56
	paramFile, err := os.Open(cg.ParamPath(param))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c604931c6a888041 Filesystem access.
pkgs/go/[email protected]/ginkgo/automaxprocs/cgroups2.go:129
	cpuMaxParams, err := os.Open(path.Join(cg.mountPoint, cg.groupPath, cg.cpuMaxFile))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #aadad854a439ee80 Filesystem access.
pkgs/go/[email protected]/ginkgo/automaxprocs/mountpoint.go:152
	mountInfoFile, err := os.Open(procPathMountInfo)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ba112d2f63579e35 Filesystem access.
pkgs/go/[email protected]/ginkgo/automaxprocs/subsys.go:79
	cgroupFile, err := os.Open(procPathCGroup)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e3bf4add9d37c68b Environment-variable access.
pkgs/go/[email protected]/ginkgo/command/program.go:259
			dataHomeDir := os.Getenv("XDG_DATA_HOME")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1de36ad3a73bb96d Filesystem access.
pkgs/go/[email protected]/ginkgo/command/program.go:267
			err := os.WriteFile(scriptPath, []byte(script), 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #52367ce2acfdbc24 Filesystem access.
pkgs/go/[email protected]/ginkgo/generators/bootstrap_command.go:94
	f, err := os.Create(targetFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #96bd5cccc97a275a Filesystem access.
pkgs/go/[email protected]/ginkgo/generators/bootstrap_command.go:100
		tpl, err := os.ReadFile(conf.CustomTemplate)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #64afb02d56b01687 Filesystem access.
pkgs/go/[email protected]/ginkgo/generators/bootstrap_command.go:105
			tplCustomData, err := os.ReadFile(conf.CustomTemplateData)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d28ce37b3603eea8 Filesystem access.
pkgs/go/[email protected]/ginkgo/generators/generate_command.go:126
	f, err := os.Create(targetFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #902840bc8b806d79 Filesystem access.
pkgs/go/[email protected]/ginkgo/generators/generate_command.go:132
		tpl, err := os.ReadFile(conf.CustomTemplate)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a253fe515d87b6a6 Filesystem access.
pkgs/go/[email protected]/ginkgo/generators/generate_command.go:137
			tplCustomData, err := os.ReadFile(conf.CustomTemplateData)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #68687cc6a08520f2 Filesystem access.
pkgs/go/[email protected]/ginkgo/generators/generate_command.go:173
	modFile, err := os.Open(filepath.Join(modRoot, "go.mod"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cec14e914f3d549a Filesystem access.
pkgs/go/[email protected]/ginkgo/internal/profiles_and_reports.go:163
	dst, err := os.OpenFile(destination, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f85ffd31e7e5c246 Filesystem access.
pkgs/go/[email protected]/ginkgo/internal/profiles_and_reports.go:198
		proFile, err := os.Open(profilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #33a304218e062a34 Filesystem access.
pkgs/go/[email protected]/ginkgo/internal/profiles_and_reports.go:216
	outFile, err := os.Create(destination)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #37ed2d179ec540f5 Filesystem access.
pkgs/go/[email protected]/ginkgo/internal/test_suite.go:276
			contents, _ := os.ReadFile(dir + "/" + file.Name())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #06a74a05ebc1ae72 Filesystem access.
pkgs/go/[email protected]/ginkgo/internal/utils.go:19
	srcFile, err := os.Open(src)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #240ccac0315442c0 Filesystem access.
pkgs/go/[email protected]/ginkgo/internal/utils.go:33
	destFile, err := os.OpenFile(dest, os.O_WRONLY|os.O_CREATE, srcStat.Mode())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #878e6dd2ca38dfc0 Filesystem access.
pkgs/go/[email protected]/ginkgo/outline/outline_command.go:70
		src, err = os.Open(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3e5c2ba4e38b93f4 Environment-variable access.
pkgs/go/[email protected]/ginkgo/run/run_command.go:184
		if suites.AnyHaveProgrammaticFocus() && strings.TrimSpace(os.Getenv("GINKGO_EDITOR_INTEGRATION")) == "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4c3df5b54adc9235 Filesystem access.
pkgs/go/[email protected]/ginkgo/unfocus/unfocus_command.go:81
	data, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #74d4647479830749 Filesystem access.
pkgs/go/[email protected]/ginkgo/unfocus/unfocus_command.go:129
	to, err := os.Create(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b13cc8f2c7840344 Filesystem access.
pkgs/go/[email protected]/integration/_fixtures/interceptor_fixture/main.go:10
	f, _ := os.Create("file-output")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7763ac111d4663b0 Environment-variable access.
pkgs/go/[email protected]/internal/parallel_support/client_server.go:59
	if os.Getenv("GINKGO_PARALLEL_PROTOCOL") == "HTTP" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9e512f516af91df7 Environment-variable access.
pkgs/go/[email protected]/internal/parallel_support/client_server.go:67
	if os.Getenv("GINKGO_PARALLEL_PROTOCOL") == "HTTP" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #00619d97571e7097 Filesystem access.
pkgs/go/[email protected]/internal/progress_report.go:264
			data, err = os.ReadFile(filepath.Join(root, filename))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7ef36f8e19db09b2 Filesystem access.
pkgs/go/[email protected]/internal/test_helpers/docs.go:119
	b, err := os.ReadFile(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #38659f3d29f48799 Filesystem access.
pkgs/go/[email protected]/internal/test_helpers/docs.go:138
	b, err := os.ReadFile(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #da0bb6b9e61ea4ed Environment-variable access.
pkgs/go/[email protected]/internal/testingtproxy/testing_t_proxy.go:76
	originalValue, exists := os.LookupEnv(key)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #603d998cd8fc02ae Filesystem access.
pkgs/go/[email protected]/reporters/gojson_report.go:20
	f, err := os.Create(destination)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8ed6719f4f7f26a3 Filesystem access.
pkgs/go/[email protected]/reporters/gojson_report.go:41
	f, err := os.Create(destination)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9a7f905630e249ef Filesystem access.
pkgs/go/[email protected]/reporters/gojson_report.go:48
		data, err := os.ReadFile(source)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5eda081eff88ec0a Filesystem access.
pkgs/go/[email protected]/reporters/json_report.go:17
	f, err := os.Create(destination)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b6a4cb1c7e24d9c1 Filesystem access.
pkgs/go/[email protected]/reporters/json_report.go:40
		data, err := os.ReadFile(source)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5b83e218876dea6d Filesystem access.
pkgs/go/[email protected]/reporters/json_report.go:57
	f, err := os.Create(destination)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1d3dd63c6e9cfc2e Filesystem access.
pkgs/go/[email protected]/reporters/junit_report.go:324
	f, err := os.Create(dst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3945c0aa6fcb9b9a Filesystem access.
pkgs/go/[email protected]/reporters/junit_report.go:341
		f, err := os.Open(source)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c9fd1c1b0a3269a3 Filesystem access.
pkgs/go/[email protected]/reporters/junit_report.go:365
	f, err := os.Create(dst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0d848a38f49a5912 Filesystem access.
pkgs/go/[email protected]/reporters/teamcity_report.go:34
	f, err := os.Create(dst)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1626cbf6eff04d4e Filesystem access.
pkgs/go/[email protected]/reporters/teamcity_report.go:112
		data, err := os.ReadFile(source)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #427a072149f6732c Filesystem access.
pkgs/go/[email protected]/reporters/teamcity_report.go:120
	return messages, os.WriteFile(dst, merged, 0666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a2be6eea5d691759 Filesystem access.
pkgs/go/[email protected]/types/code_location.go:31
	contents, err := os.ReadFile(codeLocation.FileName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #65743349423088e4 Environment-variable access.
pkgs/go/[email protected]/types/code_location.go:146
	if os.Getenv("GINKGO_PRUNE_STACK") == "FALSE" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fcb8cf27ab10e3d6 Environment-variable access.
pkgs/go/[email protected]/types/deprecation_support.go:106
	ackVersion := os.Getenv("ACK_GINKGO_DEPRECATIONS")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #650567c95d02b06e Environment-variable access.
pkgs/go/[email protected]/types/types.go:18
	if os.Getenv("GINKGO_TIME_FORMAT") != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2b16ad3d0505696f Environment-variable access.
pkgs/go/[email protected]/types/types.go:19
		GINKGO_TIME_FORMAT = os.Getenv("GINKGO_TIME_FORMAT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/onsi/gomega

go dependency
expand_more 13 low-confidence finding(s)
low env_fs dependency Excluded from app score #a3798482ecc5f370 Environment-variable access.
pkgs/go/[email protected]/gexec/build.go:60
	build.Env = replaceGoPath(os.Environ(), gopath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #01cf4e608f6dac4a Environment-variable access.
pkgs/go/[email protected]/gexec/build.go:157
	goGet.Env = replaceGoPath(os.Environ(), gopath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9567e55c05b92d44 Environment-variable access.
pkgs/go/[email protected]/gexec/build.go:178
	build.Env = replaceGoPath(os.Environ(), gopath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #58304e71de3abb7f Environment-variable access.
pkgs/go/[email protected]/gleak/ginkgo_parallel_client.go:12
	if os.Getenv("GINKGO_PARALLEL_PROTOCOL") == "HTTP" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5c9abf8763f4fc61 Filesystem access.
pkgs/go/[email protected]/gmeasure/cache.go:57
	f, err := os.Open(filepath.Join(cache.Path, filename))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ad0512f5f29c4770 Filesystem access.
pkgs/go/[email protected]/gmeasure/cache.go:156
	f, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d1206b89ead10d08 Filesystem access.
pkgs/go/[email protected]/gmeasure/cache.go:180
	f, err := os.Create(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1be836e508c30524 Environment-variable access.
pkgs/go/[email protected]/internal/duration_bundle.go:29
	_, EnforceDefaultTimeoutsWhenUsingContexts := os.LookupEnv(EnforceDefaultTimeoutsWhenUsingContextsEnvVarName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #76b6b4d2d115678c Environment-variable access.
pkgs/go/[email protected]/internal/duration_bundle.go:41
	value := os.Getenv(key)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8102ea7b4233f524 Filesystem access.
pkgs/go/[email protected]/internal/gutil/post_ioutil.go:39
	return os.ReadFile(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #204e6d957f500772 Filesystem access.
pkgs/go/[email protected]/internal/gutil/post_ioutil.go:47
	return os.WriteFile(filename, data, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bbeb453366cd1af6 Filesystem access.
pkgs/go/[email protected]/internal/gutil/using_ioutil.go:38
	return ioutil.ReadFile(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fb2677d271ef430a Filesystem access.
pkgs/go/[email protected]/internal/gutil/using_ioutil.go:46
	return ioutil.WriteFile(filename, data, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/openai/openai-go/v3

go dependency
expand_more 6 low-confidence finding(s)
low env_fs dependency Excluded from app score #8402a6febfc83c35 Environment-variable access.
pkgs/go/[email protected]/client.go:65
	if o, ok := os.LookupEnv("OPENAI_BASE_URL"); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6d01d123634240fb Environment-variable access.
pkgs/go/[email protected]/client.go:68
	if o, ok := os.LookupEnv("OPENAI_API_KEY"); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #273152ed43a58bbe Environment-variable access.
pkgs/go/[email protected]/client.go:71
	if o, ok := os.LookupEnv("OPENAI_ORG_ID"); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7ab3e60db474dca3 Environment-variable access.
pkgs/go/[email protected]/client.go:74
	if o, ok := os.LookupEnv("OPENAI_PROJECT_ID"); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a031e10ab02cddea Environment-variable access.
pkgs/go/[email protected]/client.go:77
	if o, ok := os.LookupEnv("OPENAI_WEBHOOK_SECRET"); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d6339c86a087a445 Environment-variable access.
pkgs/go/[email protected]/internal/testutil/testutil.go:13
		if str, ok := os.LookupEnv(SKIP_MOCK_TESTS); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/otiai10/copy

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #be2b01e11ab971a9 Filesystem access.
pkgs/go/[email protected]/copy.go:94
		readcloser, err = os.Open(src)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #414bfa03a619e543 Filesystem access.
pkgs/go/[email protected]/copy.go:108
	f, err := os.Create(dest)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/otiai10/openaigo

go dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #5f883a82e1e67139 Filesystem access.
pkgs/go/[email protected]/testapp/main.go:54
				f, err := os.Open("./testdata/baby-sea-otter.png")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #633ef2b63cc95e42 Filesystem access.
pkgs/go/[email protected]/testapp/main.go:71
				f, err := os.Open("./testdata/baby-sea-otter.png")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5a824418a13cd243 Environment-variable access.
pkgs/go/[email protected]/testapp/main.go:211
	OPENAI_API_KEY = os.Getenv("OPENAI_API_KEY")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/pion/rtp

go dependency
expand_more 1 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #9ab66ce19e4e7b98 Filesystem access.
pkgs/go/[email protected]/examples/send-h264/main.go:52
	data, err := os.ReadFile("output.h264")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/pion/webrtc/v4

go dependency
expand_more 18 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #5a81676d77d4995d Filesystem access.
pkgs/go/[email protected]/examples/bandwidth-estimation-from-disk/main.go:182
	file, err := os.Open(qualityLevels[currentQuality].fileName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #9797fc72e19d046a Filesystem access.
pkgs/go/[email protected]/examples/bandwidth-estimation-from-disk/main.go:260
		file, err := os.Open(filename) // nolint

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #0d304719741632a0 Filesystem access.
pkgs/go/[email protected]/examples/examples.go:122
	file, err := os.Open("./examples.json")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #afc6e58d91c8d6a8 Filesystem access.
pkgs/go/[email protected]/examples/insertable-streams/main.go:73
		file, ivfErr := os.Open("output.ivf")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #7d288fb375bd7cdd Filesystem access.
pkgs/go/[email protected]/examples/ortc-media/main.go:79
		file, fileErr := os.Open(videoFileName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #e08fd614f448d29f Filesystem access.
pkgs/go/[email protected]/examples/play-from-disk-fec/main.go:87
	file, openErr := os.Open(videoFileName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #60aa2b74b4a80c5f Filesystem access.
pkgs/go/[email protected]/examples/play-from-disk-fec/main.go:137
		file, ivfErr := os.Open(videoFileName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #20388a5e9eff2e18 Filesystem access.
pkgs/go/[email protected]/examples/play-from-disk-fec/main.go:237
	answerData, readErr := os.ReadFile(answerFileName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #aac1d7c2fe10246f Filesystem access.
pkgs/go/[email protected]/examples/play-from-disk-playlist-control/main.go:315
	file, err := os.Open(cleaned) //nolint:gosec // path is validated and confined to local directory

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #d998f4f0418de801 Filesystem access.
pkgs/go/[email protected]/examples/play-from-disk-renegotiation/main.go:75
	file, err := os.Open("output.ivf")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #eaa70dd71c02aab7 Filesystem access.
pkgs/go/[email protected]/examples/play-from-disk/main.go:65
		file, openErr := os.Open(videoFileName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #e98a3d9b54647f4b Filesystem access.
pkgs/go/[email protected]/examples/play-from-disk/main.go:115
			file, ivfErr := os.Open(videoFileName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #a4dcb4a28e14e60d Filesystem access.
pkgs/go/[email protected]/examples/play-from-disk/main.go:184
			file, oggErr := os.Open(audioFileName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #26829aafb761f664 Filesystem access.
pkgs/go/[email protected]/examples/quick-switch/main.go:122
	file, err := os.Open(videoFiles[fileIndex])

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2fe8acb01f0aca0b Filesystem access.
pkgs/go/[email protected]/pkg/media/h264writer/h264writer.go:32
	f, err := os.Create(filename) //nolint:gosec

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ce3a6695b7f008e9 Filesystem access.
pkgs/go/[email protected]/pkg/media/h265writer/h265writer.go:33
	f, err := os.Create(filename) //nolint:gosec

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d5d1efedc8acfabe Filesystem access.
pkgs/go/[email protected]/pkg/media/ivfwriter/ivfwriter.go:68
	file, err := os.Create(fileName) //nolint:gosec

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b980e55214b8710a Filesystem access.
pkgs/go/[email protected]/pkg/media/oggwriter/oggwriter.go:49
	file, err := os.Create(fileName) //nolint:gosec

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/prometheus/client_golang

go dependency
expand_more 4 low-confidence finding(s)
low env_fs dependency Excluded from app score #c7dc9f041e0393aa Filesystem access.
pkgs/go/[email protected]/prometheus/collectors/gen_go_collector_set.go:136
	if err := os.WriteFile(fname, result, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a6eb61349b09033a Filesystem access.
pkgs/go/[email protected]/prometheus/gen_go_collector_metrics_set.go:102
	if err := os.WriteFile(fname, result, 0o644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #56bad76758dd117f Filesystem access.
pkgs/go/[email protected]/prometheus/process_collector.go:169
		content, err := os.ReadFile(pidFilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4ef30aa9402b6323 Filesystem access.
pkgs/go/[email protected]/prometheus/process_collector_darwin.go:57
	if dir, err := os.Open("/dev/fd"); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/rivo/uniseg

go dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #f5baa09f1c84b526 Filesystem access.
pkgs/go/[email protected]/gen_breaktest.go:61
	if err := ioutil.WriteFile(os.Args[2], formatted, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5b5fd2f20ca19456 Filesystem access.
pkgs/go/[email protected]/gen_properties.go:92
	if err := ioutil.WriteFile(os.Args[2], formatted, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low egress dependency Excluded from app score #1555df4a56822cfc Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/gen_properties.go:149
		res, err := http.Get(emojiURL)

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

github.com/sashabaranov/go-openai

go dependency
expand_more 7 low-confidence finding(s)
low env_fs dependency Excluded from app score #8722e01d6d3bb9a0 Filesystem access.
pkgs/go/[email protected]/audio.go:222
	f, err := os.Open(request.FilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #bb9efbb66dae1c1a Environment-variable access.
pkgs/go/[email protected]/examples/chatbot/main.go:13
	client := openai.NewClient(os.Getenv("OPENAI_API_KEY"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #a1442f8cc91c16d6 Environment-variable access.
pkgs/go/[email protected]/examples/completion-with-tool/main.go:14
	client := openai.NewClient(os.Getenv("OPENAI_API_KEY"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #264c80d557f21810 Environment-variable access.
pkgs/go/[email protected]/examples/completion/main.go:12
	client := openai.NewClient(os.Getenv("OPENAI_API_KEY"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #893bcf68aeaf5514 Environment-variable access.
pkgs/go/[email protected]/examples/images/main.go:12
	client := openai.NewClient(os.Getenv("OPENAI_API_KEY"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #5e55a9f1e4c6344d Environment-variable access.
pkgs/go/[email protected]/examples/voice-to-text/main.go:22
	client := openai.NewClient(os.Getenv("OPENAI_API_KEY"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #989b56a5a0ba8d0f Filesystem access.
pkgs/go/[email protected]/files.go:101
	fileData, err := os.Open(request.FilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/schollz/progressbar/v3

go dependency
expand_more 4 low-confidence finding(s)
low egress tooling Excluded from app score unknown #5f8920e74623c9a3 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/examples/download-unknown/main.go:12
	req, _ := http.NewRequest("GET", "https://dl.google.com/go/go1.14.2.src.tar.gz", nil)

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low env_fs tooling Excluded from app score unknown #77d1644412e0ef0a Filesystem access.
pkgs/go/[email protected]/examples/download-unknown/main.go:16
	f, _ := os.OpenFile("go1.14.2.src.tar.gz", os.O_CREATE|os.O_WRONLY, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low egress tooling Excluded from app score unknown #09cd0238c58fd12e Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/examples/download/main.go:13
	req, _ := http.NewRequest("GET", "https://dl.google.com/go/go1.14.2.src.tar.gz", nil)

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low env_fs tooling Excluded from app score unknown #3137bc52c7b0ccb1 Filesystem access.
pkgs/go/[email protected]/examples/download/main.go:17
	f, _ := os.OpenFile("go1.14.2.src.tar.gz", os.O_CREATE|os.O_WRONLY, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/shirou/gopsutil/v3

go dependency
expand_more 62 low-confidence finding(s)
low env_fs dependency Excluded from app score #bc47aeeba7f09e83 Filesystem access.
pkgs/go/[email protected]/_tools/v3migration/v3migration.go:83
	fp, err := os.Create(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f7cacbf8bb6b3df1 Environment-variable access.
pkgs/go/[email protected]/cpu/cpu_plan9.go:21
	root := os.Getenv("HOST_ROOT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #310e47ae96d06830 Filesystem access.
pkgs/go/[email protected]/disk/disk_linux.go:489
	if f, err := os.Open(udevDataPath); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1759386c8c251465 Filesystem access.
pkgs/go/[email protected]/disk/disk_linux.go:521
	model, _ := os.ReadFile(filepath.Join(devicePath, "model"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a2e8bce70d5d7cbd Filesystem access.
pkgs/go/[email protected]/disk/disk_linux.go:522
	serial, _ := os.ReadFile(filepath.Join(devicePath, "serial"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d07d0a5fc731e5d9 Filesystem access.
pkgs/go/[email protected]/disk/disk_linux.go:534
		dmname, err := os.ReadFile(dmname_filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #782cfbfe8c5f008d Filesystem access.
pkgs/go/[email protected]/disk/disk_solaris.go:49
	f, err := os.Open(_MNTTAB)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0a1bf3510ef079ea Filesystem access.
pkgs/go/[email protected]/host/host_darwin.go:56
	file, err := os.Open(utmpfile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8ed98dce39c9c3f0 Filesystem access.
pkgs/go/[email protected]/host/host_freebsd.go:51
	file, err := os.Open(utmpfile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4d527f9878099bc5 Filesystem access.
pkgs/go/[email protected]/host/host_freebsd.go:108
	file, err := os.Open(utmpfile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #465b1bc6a03989f7 Filesystem access.
pkgs/go/[email protected]/host/host_linux.go:88
	file, err := os.Open(utmpfile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8a5b2068a580f5e5 Filesystem access.
pkgs/go/[email protected]/host/host_linux.go:427
			name, err := os.ReadFile(filepath.Join(file, "type"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #77d5104e0da140df Filesystem access.
pkgs/go/[email protected]/host/host_linux.go:433
			current, err := os.ReadFile(filepath.Join(file, "temp"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #61d2b5ac6fcb1e0a Filesystem access.
pkgs/go/[email protected]/host/host_linux.go:477
		if raw, _ = os.ReadFile(basepath + "_label"); len(raw) != 0 {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7d71311b5f813486 Filesystem access.
pkgs/go/[email protected]/host/host_linux.go:483
		if raw, err = os.ReadFile(filepath.Join(directory, "name")); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ec1beaf98883d0a0 Filesystem access.
pkgs/go/[email protected]/host/host_linux.go:495
		if raw, err = os.ReadFile(file); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #57c2a993f47cc275 Filesystem access.
pkgs/go/[email protected]/host/host_linux.go:529
	if raw, err = os.ReadFile(filename); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bbeb489e383c3ee4 Filesystem access.
pkgs/go/[email protected]/host/host_openbsd.go:62
	file, err := os.Open(utmpfile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #332c0766315f1843 Filesystem access.
pkgs/go/[email protected]/host/host_solaris.go:140
	b, err := os.ReadFile("/etc/release")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #06ea9e31e72dbf47 Filesystem access.
pkgs/go/[email protected]/internal/common/common.go:89
		return os.ReadFile(fpath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4dde410fa4a7a44a Filesystem access.
pkgs/go/[email protected]/internal/common/common.go:102
	content, err := os.ReadFile(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e85a722a7d5c4b7f Filesystem access.
pkgs/go/[email protected]/internal/common/common.go:118
	f, err := os.Open(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #82676d8485ffcfbf Filesystem access.
pkgs/go/[email protected]/internal/common/common.go:146
	f, err := os.Open(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e3f4232d68bb0728 Filesystem access.
pkgs/go/[email protected]/internal/common/common.go:231
	f, err := os.Open(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #23868073ddb1c59e Environment-variable access.
pkgs/go/[email protected]/internal/common/common.go:357
		value = os.Getenv(key)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #993087271c37ed33 Environment-variable access.
pkgs/go/[email protected]/internal/common/common.go:368
	value := os.Getenv(key)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f37385e50633d345 Environment-variable access.
pkgs/go/[email protected]/internal/common/common_darwin.go:18
	cmd.Env = getSysctrlEnv(os.Environ())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9cb1d3dd04a0ef1d Environment-variable access.
pkgs/go/[email protected]/internal/common/common_freebsd.go:33
	cmd.Env = getSysctrlEnv(os.Environ())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #57edcc36e2abcf42 Environment-variable access.
pkgs/go/[email protected]/internal/common/common_linux.go:25
	cmd.Env = getSysctrlEnv(os.Environ())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5744af380b817396 Filesystem access.
pkgs/go/[email protected]/internal/common/common_linux.go:42
	f, err := os.Open(HostProcWithContext(ctx))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ce56c39a8ad88809 Environment-variable access.
pkgs/go/[email protected]/internal/common/common_netbsd.go:17
	cmd.Env = getSysctrlEnv(os.Environ())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a37617e53268e078 Environment-variable access.
pkgs/go/[email protected]/internal/common/common_openbsd.go:17
	cmd.Env = getSysctrlEnv(os.Environ())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5a2ca310a318e2b5 Filesystem access.
pkgs/go/[email protected]/load/load_linux.go:79
	out, err := os.ReadFile(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #36d96c479dce35bc Filesystem access.
pkgs/go/[email protected]/load/load_linux.go:121
	line, err := os.ReadFile(loadavgFilename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3282cad95b142111 Filesystem access.
pkgs/go/[email protected]/mem/mem_linux.go:468
	f, err := os.Open(swapsFilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #420fe9594c3b1ca0 Environment-variable access.
pkgs/go/[email protected]/mem/mem_plan9.go:19
	root := os.Getenv("HOST_ROOT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fce415198b8f111d Environment-variable access.
pkgs/go/[email protected]/mem/mem_plan9.go:41
	root := os.Getenv("HOST_ROOT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9d97bb400c826636 Filesystem access.
pkgs/go/[email protected]/net/net_linux.go:550
	f, err := os.Open(dir)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1764fc5f8192cb59 Filesystem access.
pkgs/go/[email protected]/net/net_linux.go:601
	d, err := os.Open(common.HostProcWithContext(ctx))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0d8eda096ca80dab Filesystem access.
pkgs/go/[email protected]/net/net_linux.go:645
	contents, err := os.ReadFile(statPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #85755fb40d973825 Filesystem access.
pkgs/go/[email protected]/net/net_linux.go:786
	contents, err := os.ReadFile(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #894ba6adeffc3b53 Filesystem access.
pkgs/go/[email protected]/net/net_linux.go:847
	contents, err := os.ReadFile(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8c21917f8a129191 Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:138
	contents, err := os.ReadFile(statPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1d5fc8de92442b72 Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:393
	contents, err := os.ReadFile(smapsPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5ed19e4af8439f9a Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:486
	environContent, err := os.ReadFile(environPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7eb07baba01ba522 Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:513
	d, err := os.Open(limitsFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f54ab6220c66eba4 Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:606
	d, err := os.Open(statPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0447b4a7ee518d21 Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:670
	cmdline, err := os.ReadFile(cmdPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1cf1cb6125f2cf22 Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:684
	cmdline, err := os.ReadFile(cmdPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #155fe225bbe0ef07 Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:707
	ioline, err := os.ReadFile(ioPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a66fb959d528330d Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:743
	contents, err := os.ReadFile(memPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f5fdde78541de68d Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:804
	contents, err := os.ReadFile(statPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #58497e5f212d9560 Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:821
	contents, err := os.ReadFile(statPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #70efd4014750b1ee Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:1028
	contents, err := os.ReadFile(statPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #936936c37330e52a Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:1154
	d, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8833d29d9171ab59 Filesystem access.
pkgs/go/[email protected]/process/process_posix.go:29
	d, err := os.Open("/dev")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #432c13f9e5ae5372 Filesystem access.
pkgs/go/[email protected]/process/process_posix.go:46
	ptsd, err := os.Open("/dev/pts")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5e8e7d89a7849f97 Filesystem access.
pkgs/go/[email protected]/process/process_solaris.go:202
	d, err := os.Open(statPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #41dfb86179a903ab Filesystem access.
pkgs/go/[email protected]/process/process_solaris.go:234
	exe, err := os.ReadFile(execNamePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d635a5bd28838524 Filesystem access.
pkgs/go/[email protected]/process/process_solaris.go:244
	cmdline, err := os.ReadFile(cmdPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #219d60f00ea96ffb Filesystem access.
pkgs/go/[email protected]/process/process_solaris.go:261
	cmdline, err := os.ReadFile(cmdPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8d9619d37a547813 Filesystem access.
pkgs/go/[email protected]/process/process_solaris.go:283
	d, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/sigstore/sigstore-go

go dependency
expand_more 10 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #8840758384ff8356 Filesystem access.
pkgs/go/[email protected]/examples/sigstore-go-signing/main.go:70
	data, err := os.ReadFile(flag.Arg(0))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #8b403cdfc39a5c1b Filesystem access.
pkgs/go/[email protected]/examples/sigstore-go-verification/main.go:141
			rb, err := os.ReadFile(*tufTrustedRoot)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #da1c2b828f0f23dc Filesystem access.
pkgs/go/[email protected]/examples/sigstore-go-verification/main.go:158
		trustedRootJSON, err = os.ReadFile(*trustedrootJSONpath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #ccc5b1ea98d49f9a Filesystem access.
pkgs/go/[email protected]/examples/sigstore-go-verification/main.go:174
		pemBytes, err := os.ReadFile(*trustedPublicKey)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #4e7a5a5135d9dbac Filesystem access.
pkgs/go/[email protected]/examples/sigstore-go-verification/main.go:205
		file, err := os.Open(*artifact)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5c0946a00debbd4c Filesystem access.
pkgs/go/[email protected]/pkg/bundle/bundle.go:211
	contents, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bcd62c9707d51ab6 Filesystem access.
pkgs/go/[email protected]/pkg/root/signing_config.go:408
	scJSON, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8a95707f2721ca11 Filesystem access.
pkgs/go/[email protected]/pkg/root/trusted_root.go:357
	trustedrootJSON, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #23cf29bf79020248 Filesystem access.
pkgs/go/[email protected]/pkg/tuf/config.go:31
	b, err := os.ReadFile(p)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6ad412ca08085834 Filesystem access.
pkgs/go/[email protected]/pkg/tuf/config.go:48
	err = os.WriteFile(p, b, 0600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/swaggo/swag

go dependency
expand_more 5 low-confidence finding(s)
low env_fs dependency Excluded from app score #66315755d093b50a Filesystem access.
pkgs/go/[email protected]/format/format.go:96
	original, err := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #570dd8f2e87cc807 Filesystem access.
pkgs/go/[email protected]/gen/gen.go:275
	docs, err := os.Create(docFileName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2f28a55f7ee1f7f6 Filesystem access.
pkgs/go/[email protected]/gen/gen.go:354
	f, err := os.Create(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f528aa9cd9777e37 Filesystem access.
pkgs/go/[email protected]/operation.go:1245
			commentInfo, err := os.ReadFile(fullPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2c4753af8cc56521 Filesystem access.
pkgs/go/[email protected]/parser.go:943
			commentInfo, err := os.ReadFile(fullPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/testcontainers/testcontainers-go

go dependency
expand_more 20 low-confidence finding(s)
low env_fs dependency Excluded from app score #690d9a5c5f47ab8a Filesystem access.
pkgs/go/[email protected]/container.go:273
	if f, openErr := os.Open(fileLocation); openErr == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c57dc0e81507bb30 Filesystem access.
pkgs/go/[email protected]/docker.go:696
	f, err := os.Open(hostFilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #39d4b3d95205ab2d Environment-variable access.
pkgs/go/[email protected]/docker.go:1556
	host, exists := os.LookupEnv("TESTCONTAINERS_HOST_OVERRIDE")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #498357dda74cc356 Filesystem access.
pkgs/go/[email protected]/docker.go:1836
	outputFile, err := os.Create(output)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b1dc99fa28b3e1f8 Environment-variable access.
pkgs/go/[email protected]/docker_auth.go:275
	if env := os.Getenv("DOCKER_AUTH_CONFIG"); env != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #290e41c6db140f96 Filesystem access.
pkgs/go/[email protected]/file.go:17
	file, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8d587d8a5a82a758 Filesystem access.
pkgs/go/[email protected]/file.go:87
			data, err := os.Open(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #033090c8a7070282 Environment-variable access.
pkgs/go/[email protected]/internal/config/config.go:114
		ryukDisabledEnv := os.Getenv("TESTCONTAINERS_RYUK_DISABLED")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f2bb2c167601638e Environment-variable access.
pkgs/go/[email protected]/internal/config/config.go:119
		hubImageNamePrefix := os.Getenv("TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c33a8ceadc7f5c11 Environment-variable access.
pkgs/go/[email protected]/internal/config/config.go:124
		ryukPrivilegedEnv := os.Getenv("TESTCONTAINERS_RYUK_CONTAINER_PRIVILEGED")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #24286770994aa03c Environment-variable access.
pkgs/go/[email protected]/internal/config/config.go:176
	value := os.Getenv(envVar)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #192e1a100d0c67bf Environment-variable access.
pkgs/go/[email protected]/internal/config/config.go:184
	return os.Getenv(prefix + envVar)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ca9e58db6c17ee3c Environment-variable access.
pkgs/go/[email protected]/internal/core/docker_host.go:247
	if dockerHostPath := os.Getenv("DOCKER_HOST"); dockerHostPath != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d14569c9dd46f311 Environment-variable access.
pkgs/go/[email protected]/internal/core/docker_host.go:282
	if dockerHostPath, exists := os.LookupEnv("TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE"); exists {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #62165ca4164c131f Environment-variable access.
pkgs/go/[email protected]/internal/core/docker_rootless.go:29
	return os.Getenv("GOOS") == "windows" || runtime.GOOS == "windows"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ef8ea5745878e5b6 Environment-variable access.
pkgs/go/[email protected]/internal/core/docker_rootless.go:101
	xdgRuntimeDir, exists := os.LookupEnv("XDG_RUNTIME_DIR")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #626ec1558960dcca Filesystem access.
pkgs/go/[email protected]/internal/core/images.go:31
	file, err := os.Open(dockerfile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5ccb98a343574e03 Environment-variable access.
pkgs/go/[email protected]/provider.go:108
	if pt == ProviderDefault && strings.Contains(os.Getenv("DOCKER_HOST"), "podman.sock") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f0a6538bd851a892 Environment-variable access.
pkgs/go/[email protected]/reaper.go:98
	if port := os.Getenv("RYUK_PORT"); port != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #83edb4202ea1f79b Environment-variable access.
pkgs/go/[email protected]/testing.go:53
	if strings.Contains(os.Getenv("DOCKER_HOST"), "colima") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/timbutler/zxcvbn

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #ce6d1878d269ac88 Environment-variable access.
pkgs/go/[email protected]/frequency/lists_no_embeded_dict.go:13
	file := os.Getenv("ZXCVBN_DEFAULT_DICTIONARIES_JSON")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #411df9ac16b92188 Filesystem access.
pkgs/go/[email protected]/frequency/lists_no_embeded_dict.go:17
	fd, err := os.Open(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

github.com/yalue/onnxruntime_go

go dependency
expand_more 10 low-confidence finding(s)
low env_fs dependency Excluded from app score #d2db41f9371836e3 Filesystem access.
pkgs/go/[email protected]/legacy_types.go:89
	fileContent, e := os.ReadFile(onnxFilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a0addb9135412546 Filesystem access.
pkgs/go/[email protected]/legacy_types.go:106
	fileContent, e := os.ReadFile(onnxFilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d858bd1854f73bb1 Filesystem access.
pkgs/go/[email protected]/onnxruntime_go.go:1498
	fileContent, e := os.ReadFile(onnxFilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #947df00471cd1751 Filesystem access.
pkgs/go/[email protected]/onnxruntime_go.go:1599
	fileContent, e := os.ReadFile(onnxFilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e882001cb3fb65d7 Filesystem access.
pkgs/go/[email protected]/onnxruntime_go.go:2031
	fileContent, e := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #875a611211ac17ca Filesystem access.
pkgs/go/[email protected]/onnxruntime_go.go:2099
	fileContent, e := os.ReadFile(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #dec244f7a3504f81 Filesystem access.
pkgs/go/[email protected]/onnxruntime_training_go.go:286
	checkpointData, e := os.ReadFile(checkpointStatePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #60c274aecf9df142 Filesystem access.
pkgs/go/[email protected]/onnxruntime_training_go.go:291
	trainingData, e := os.ReadFile(trainingModelPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5bbbd22f72bbbb27 Filesystem access.
pkgs/go/[email protected]/onnxruntime_training_go.go:298
		evalData, e = os.ReadFile(evalModelPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #db542209096af25d Filesystem access.
pkgs/go/[email protected]/onnxruntime_training_go.go:572
	checkPointContent, e := os.ReadFile(checkpointStatePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

go.opentelemetry.io/otel/exporters/prometheus

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #7c4cf11517f7415f Environment-variable access.
pkgs/go/[email protected]/internal/x/x.go:46
		vRaw := os.Getenv(key)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

go.opentelemetry.io/otel/sdk/metric

go dependency
expand_more 4 low-confidence finding(s)
low env_fs dependency Excluded from app score #6d926e13426b069f Environment-variable access.
pkgs/go/[email protected]/config.go:195
	switch strings.ToLower(strings.TrimSpace(os.Getenv(filterEnvKey))) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0910879b05325e6f Environment-variable access.
pkgs/go/[email protected]/config.go:208
	v := strings.TrimSpace(os.Getenv(cardinalityLimitKey))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ca23915afe050f60 Environment-variable access.
pkgs/go/[email protected]/env.go:25
	v := os.Getenv(key)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d8517a682e24ea28 Environment-variable access.
pkgs/go/[email protected]/internal/x/x.go:43
	vRaw := os.Getenv(f.key)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

golang.org/x/crypto

go dependency
expand_more 6 low-confidence finding(s)
low env_fs dependency Excluded from app score #67e887a5377f841c Filesystem access.
pkgs/go/[email protected]/acme/autocert/cache.go:50
		data, err = os.ReadFile(name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1501c823f2d86b05 Environment-variable access.
pkgs/go/[email protected]/internal/testenv/exec.go:41
			if s := os.Getenv("GO_TEST_TIMEOUT_SCALE"); s != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ad8d7a1ce0214674 Filesystem access.
pkgs/go/[email protected]/ssh/knownhosts/knownhosts.go:406
		f, err := os.Open(fn)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2ab72832b6bbfada Filesystem access.
pkgs/go/[email protected]/x509roots/gen_fallback_bundle.go:48
		f, err := os.Open(*certDataPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7079dfa6bb135ab6 Filesystem access.
pkgs/go/[email protected]/x509roots/gen_fallback_bundle.go:136
	if err := os.WriteFile(*output, formatted, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #22525f1db4656fda Filesystem access.
pkgs/go/[email protected]/x509roots/gen_fallback_bundle.go:140
	if err := os.WriteFile(*derOutput, rawCertsData.Bytes(), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

golang.org/x/oauth2

go dependency
expand_more 12 low-confidence finding(s)
low env_fs dependency Excluded from app score #713ab7d4180ccbc8 Environment-variable access.
pkgs/go/[email protected]/google/default.go:237
	if filename := os.Getenv(envVar); filename != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6a389741086d4934 Filesystem access.
pkgs/go/[email protected]/google/default.go:247
	if b, err := os.ReadFile(filename); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #36d26acf019af6f4 Environment-variable access.
pkgs/go/[email protected]/google/default.go:429
		return filepath.Join(os.Getenv("APPDATA"), "gcloud", f)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7f4703462621d22f Filesystem access.
pkgs/go/[email protected]/google/default.go:435
	b, err := os.ReadFile(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9cc0e78655e8d88b Environment-variable access.
pkgs/go/[email protected]/google/externalaccount/executablecredsource.go:98
	return os.Environ()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #926d9935d9a1299c Environment-variable access.
pkgs/go/[email protected]/google/externalaccount/executablecredsource.go:102
	return os.Getenv(key)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #11514f466a074427 Filesystem access.
pkgs/go/[email protected]/google/externalaccount/executablecredsource.go:253
	file, err := os.Open(cs.OutputFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d63b5a58bf72f453 Filesystem access.
pkgs/go/[email protected]/google/externalaccount/filecredsource.go:26
	tokenFile, err := os.Open(cs.File)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b15faf74b0f067f9 Filesystem access.
pkgs/go/[email protected]/google/sdk.go:60
	f, err := os.Open(credentialsPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8c91da37bd5b38bb Filesystem access.
pkgs/go/[email protected]/google/sdk.go:75
		f, err := os.Open(propertiesPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #50eed82b2d4740fb Environment-variable access.
pkgs/go/[email protected]/google/sdk.go:182
		return filepath.Join(os.Getenv("APPDATA"), "gcloud"), nil

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #01159197b6d90b35 Environment-variable access.
pkgs/go/[email protected]/google/sdk.go:193
	if v := os.Getenv("HOME"); v != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

golang.org/x/text

go dependency
expand_more 31 low-confidence finding(s)
low env_fs dependency Excluded from app score #ff5882e49f6260af Filesystem access.
pkgs/go/[email protected]/cmd/gotext/main.go:328
			if err := os.WriteFile("doc.go", b, 0666); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #31d76471f49e7211 Filesystem access.
pkgs/go/[email protected]/collate/tools/colcmp/colcmp.go:122
		f, err := os.Create(*cpuprofile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c3853d5b408022cc Filesystem access.
pkgs/go/[email protected]/encoding/internal/enctest/enctest.go:160
	dst, err := os.ReadFile(dstFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e3a4edef3ddaf83a Filesystem access.
pkgs/go/[email protected]/encoding/internal/enctest/enctest.go:162
		if dst, err = os.ReadFile("../" + dstFile); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5d0400133ebf4d7c Filesystem access.
pkgs/go/[email protected]/encoding/internal/enctest/enctest.go:166
	src, err := os.ReadFile(srcFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #af024e43e9db6098 Filesystem access.
pkgs/go/[email protected]/encoding/internal/enctest/enctest.go:168
		if src, err = os.ReadFile("../" + srcFile); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low egress dependency Excluded from app score #1356d361c8524142 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/encoding/korean/maketables.go:26
	res, err := http.Get("http://encoding.spec.whatwg.org/index-euc-kr.txt")

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #198c8a387df7b543 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/encoding/simplifiedchinese/maketables.go:31
	res, err := http.Get("http://encoding.spec.whatwg.org/index-gb18030.txt")

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #4229db5be8e9aa2c Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/encoding/simplifiedchinese/maketables.go:57
	res, err := http.Get("http://encoding.spec.whatwg.org/index-gbk.txt")

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #832c39acc4e8b5e3 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/encoding/traditionalchinese/maketables.go:26
	res, err := http.Get("http://encoding.spec.whatwg.org/index-big5.txt")

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low env_fs dependency Excluded from app score #0f3cd15e5958cb6a Environment-variable access.
pkgs/go/[email protected]/gen.go:81
		goroot := os.Getenv("GOROOT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2c70b7b3a782f28c Filesystem access.
pkgs/go/[email protected]/gen.go:150
	w, err := os.OpenFile(file, os.O_APPEND|os.O_WRONLY, 0600)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e59442bbf21e7a98 Filesystem access.
pkgs/go/[email protected]/gen.go:257
		b, err := os.ReadFile(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8bcc3b14efc91b27 Filesystem access.
pkgs/go/[email protected]/gen.go:276
		return os.WriteFile(file, b, 0666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9b0c77920653312b Environment-variable access.
pkgs/go/[email protected]/internal/export/unicode/gen.go:45
	if v := os.Getenv("UNICODE_VERSION"); v != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c8c5b88b510c8982 Filesystem access.
pkgs/go/[email protected]/internal/gen/code.go:53
	f, err := os.Create(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b2795e5c6702e3c1 Filesystem access.
pkgs/go/[email protected]/internal/gen/code.go:73
	f, err := os.Create(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c5d4b784123cde5e Environment-variable access.
pkgs/go/[email protected]/internal/gen/gen.go:57
	if v := os.Getenv(name); v != "" {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #85d3773740425386 Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:174
		os.WriteFile(readme, []byte(readmeTxt), permissions)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1f4e204ed85cb43d Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:207
	if f, err := os.Open(file); err == nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #25b7cd4ef1a25406 Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:217
	if err := os.WriteFile(file, b, permissions); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b2cf89658a229221 Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:257
	w, err := os.Create(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0a9646b049b1538b Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:284
		b, err := os.ReadFile(oldFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #99dfd9c15385d5b9 Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:289
		err = os.WriteFile(oldFile, b, 0644)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #41226841581cc9a5 Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:305
	w, err := os.Create(filename)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f69885e7a909c5f7 Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:338
	src, err := os.ReadFile(inFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #50ab23eb93a26bd3 Filesystem access.
pkgs/go/[email protected]/internal/testtext/codesize.go:34
	if err := os.WriteFile(filename, []byte(s), 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #05838e3930da237a Filesystem access.
pkgs/go/[email protected]/message/pipeline/pipeline.go:231
		b, err := ioutil.ReadFile(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d512f0aa60ca62c4 Filesystem access.
pkgs/go/[email protected]/message/pipeline/pipeline.go:362
		if err := ioutil.WriteFile(file, data, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4254e0df5674818f Filesystem access.
pkgs/go/[email protected]/message/pipeline/rewrite.go:53
				if w, err = os.Create(conf.Fset.File(f.Pos()).Name()); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #91d5209eedbe9a3c Filesystem access.
pkgs/go/[email protected]/unicode/cldr/decode.go:132
	return os.Open(pl[i])

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

google.golang.org/grpc

go dependency
expand_more 49 low-confidence finding(s)
low env_fs dependency Excluded from app score #abff801e111a583d Filesystem access.
pkgs/go/[email protected]/authz/grpc_authz_server_interceptors.go:143
	policyContents, err := os.ReadFile(i.policyFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #0f3890c92dbf5727 Filesystem access.
pkgs/go/[email protected]/benchmark/benchmain/main.go:961
		f, err := os.Create(opts.cpuProfile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #a7641d27d6e4faaa Filesystem access.
pkgs/go/[email protected]/benchmark/benchmain/main.go:979
		f, err := os.Create(opts.memProfile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #1d93f0a6a5f3a906 Filesystem access.
pkgs/go/[email protected]/benchmark/benchmain/main.go:992
		f, err := os.Create(opts.benchmarkResultFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #3370b33ffd9091fc Filesystem access.
pkgs/go/[email protected]/benchmark/benchresult/main.go:44
	f, err := os.Open(fileName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #4fe875c14b4d3e59 Filesystem access.
pkgs/go/[email protected]/benchmark/benchresult/main.go:117
	f, err := os.Open(fileName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #7c6a42463a9064d1 Filesystem access.
pkgs/go/[email protected]/benchmark/client/main.go:104
	cf, err := os.Create("/tmp/" + *testName + ".cpu")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #8d501b840988978b Filesystem access.
pkgs/go/[email protected]/benchmark/client/main.go:117
	mf, err := os.Create("/tmp/" + *testName + ".mem")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #ae3fe4d33500f064 Filesystem access.
pkgs/go/[email protected]/benchmark/server/main.go:66
	cf, err := os.Create("/tmp/" + *testName + ".cpu")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #cacc674e7bb9c455 Filesystem access.
pkgs/go/[email protected]/benchmark/server/main.go:85
	mf, err := os.Create("/tmp/" + *testName + ".mem")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #42a296371bcf5d04 Filesystem access.
pkgs/go/[email protected]/benchmark/stats/curve.go:83
	data, err := os.ReadFile(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #a561407f5adb2641 Filesystem access.
pkgs/go/[email protected]/benchmark/stats/curve.go:104
	f, err := os.Open(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b06066d6e1fbae91 Filesystem access.
pkgs/go/[email protected]/credentials/jwt/file_reader.go:50
	tokenBytes, err := os.ReadFile(r.tokenFilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #27e4c247e8efd4a1 Filesystem access.
pkgs/go/[email protected]/credentials/oauth/oauth.go:76
	jsonKey, err := os.ReadFile(keyFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9435294a7cd1bb67 Filesystem access.
pkgs/go/[email protected]/credentials/oauth/oauth.go:195
	jsonKey, err := os.ReadFile(keyFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #67c30395fafb71f4 Filesystem access.
pkgs/go/[email protected]/credentials/tls.go:284
	b, err := os.ReadFile(certFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a08d2c6ec052c4f2 Filesystem access.
pkgs/go/[email protected]/credentials/tls/certprovider/pemfile/watcher.go:164
	certFileContents, err := os.ReadFile(w.opts.CertFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #41d44e6f121acb30 Filesystem access.
pkgs/go/[email protected]/credentials/tls/certprovider/pemfile/watcher.go:169
	keyFileContents, err := os.ReadFile(w.opts.KeyFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #dbc426a12ea61bad Filesystem access.
pkgs/go/[email protected]/credentials/tls/certprovider/pemfile/watcher.go:211
	spiffeBundleMapContents, err := os.ReadFile(w.opts.SPIFFEBundleMapFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cf160c0be56db74d Filesystem access.
pkgs/go/[email protected]/credentials/tls/certprovider/pemfile/watcher.go:230
	rootFileContents, err := os.ReadFile(w.opts.RootFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #81a572a740aa9bb2 Filesystem access.
pkgs/go/[email protected]/experimental/credentials/tls.go:199
	b, err := os.ReadFile(certFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #80a3114d298b85ec Environment-variable access.
pkgs/go/[email protected]/grpclog/loggerv2.go:65
	logLevel := os.Getenv("GRPC_GO_LOG_SEVERITY_LEVEL")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #377a3f0036245df9 Environment-variable access.
pkgs/go/[email protected]/grpclog/loggerv2.go:76
	vLevel := os.Getenv("GRPC_GO_LOG_VERBOSITY_LEVEL")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #99c431c0ff963e73 Environment-variable access.
pkgs/go/[email protected]/grpclog/loggerv2.go:81
	jsonFormat := strings.EqualFold(os.Getenv("GRPC_GO_LOG_FORMATTER"), "json")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #07a9e474c0177a56 Environment-variable access.
pkgs/go/[email protected]/internal/binarylog/binarylog.go:77
	configStr := os.Getenv(envStr)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0df35ec528460283 Environment-variable access.
pkgs/go/[email protected]/internal/envconfig/envconfig.go:134
		return !strings.EqualFold(os.Getenv(envVar), "false")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b0c53e160d2f7ce0 Environment-variable access.
pkgs/go/[email protected]/internal/envconfig/envconfig.go:137
	return strings.EqualFold(os.Getenv(envVar), "true")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cfa89d38d804fa22 Environment-variable access.
pkgs/go/[email protected]/internal/envconfig/envconfig.go:141
	v, err := strconv.ParseUint(os.Getenv(envVar), 10, 64)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #01aa720f05eada3f Environment-variable access.
pkgs/go/[email protected]/internal/envconfig/observability.go:34
	ObservabilityConfig = os.Getenv(envObservabilityConfig)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6758df696de2a9f3 Environment-variable access.
pkgs/go/[email protected]/internal/envconfig/observability.go:41
	ObservabilityConfigFile = os.Getenv(envObservabilityConfigFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1bfd2245f0fdbf71 Environment-variable access.
pkgs/go/[email protected]/internal/envconfig/xds.go:46
	XDSBootstrapFileName = os.Getenv(XDSBootstrapFileNameEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #36868400b4c3fc73 Environment-variable access.
pkgs/go/[email protected]/internal/envconfig/xds.go:52
	XDSBootstrapFileContent = os.Getenv(XDSBootstrapFileContentEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #69c2a934124c72cb Environment-variable access.
pkgs/go/[email protected]/internal/envconfig/xds.go:55
	C2PResolverTestOnlyTrafficDirectorURI = os.Getenv("GRPC_TEST_ONLY_GOOGLE_C2P_RESOLVER_TRAFFIC_DIRECTOR_URI")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #35c36dffcc794a41 Filesystem access.
pkgs/go/[email protected]/internal/googlecloud/manufacturer_linux.go:26
	return os.ReadFile(linuxProductNameFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #37cd89eb08de60af Environment-variable access.
pkgs/go/[email protected]/internal/grpctest/tlogger.go:78
	if vLevelEnv, found := os.LookupEnv("GRPC_GO_LOG_VERBOSITY_LEVEL"); found {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d731a7bcd034b6e7 Filesystem access.
pkgs/go/[email protected]/internal/testutils/tls_creds.go:39
	b, err := os.ReadFile(testdata.Path("x509/server_ca_cert.pem"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #277a7ea50c596c95 Filesystem access.
pkgs/go/[email protected]/internal/testutils/tls_creds.go:63
	b, err := os.ReadFile(testdata.Path("x509/client_ca_cert.pem"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7e1e8443c7a24110 Filesystem access.
pkgs/go/[email protected]/internal/testutils/tls_creds.go:89
	b, err := os.ReadFile(testdata.Path("spiffe_end2end/ca.pem"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #011e14254e5a7efa Filesystem access.
pkgs/go/[email protected]/internal/testutils/tls_creds.go:115
	b, err := os.ReadFile(testdata.Path("spiffe_end2end/ca.pem"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #78c4494c58da3f5c Filesystem access.
pkgs/go/[email protected]/internal/testutils/tls_creds.go:143
	b, err := os.ReadFile(testdata.Path("spiffe_end2end/ca.pem"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d0978d219728bf1c Filesystem access.
pkgs/go/[email protected]/internal/testutils/xds/e2e/bootstrap.go:158
	data, err := os.ReadFile(src)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f01d54dec186b4b0 Filesystem access.
pkgs/go/[email protected]/internal/testutils/xds/e2e/bootstrap.go:162
	if err := os.WriteFile(dst, data, os.ModePerm); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #11269b987d014284 Filesystem access.
pkgs/go/[email protected]/internal/testutils/xds_bootstrap.go:42
	if err := os.WriteFile(f.Name(), bootstrapContents, 0644); err != nil {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5e93bc80a914f122 Filesystem access.
pkgs/go/[email protected]/interop/client/client.go:222
			b, err := os.ReadFile(*caFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f6e9f4cb280ff59f Filesystem access.
pkgs/go/[email protected]/interop/test_utils.go:285
	jsonKey, err := os.ReadFile(keyFile)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f7ce609fbacedb35 Filesystem access.
pkgs/go/[email protected]/profiling/cmd/catapult.go:378
	streamStatsCatapultJSONFile, err := os.Create(streamStatsCatapultJSONFileName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c2a7bee969c4918c Filesystem access.
pkgs/go/[email protected]/profiling/cmd/local.go:29
	snapshotFile, err := os.Open(snapshotFileName)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c409d26945e9c46c Filesystem access.
pkgs/go/[email protected]/profiling/cmd/remote.go:54
	file, err := os.Create(f)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c04fcba79cd6f7c4 Environment-variable access.
pkgs/go/[email protected]/stats/opentelemetry/csm/pluginoption.go:168
	if val, ok := os.LookupEnv(name); ok {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

oras.land/oras-go/v2

go dependency
expand_more 14 low-confidence finding(s)
low env_fs dependency Excluded from app score #ffe2ed56cd3de5a7 Filesystem access.
pkgs/go/[email protected]/content/file/file.go:207
		fp, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ce5e70c16e500dc2 Filesystem access.
pkgs/go/[email protected]/content/file/file.go:477
	fp, err := os.Create(target)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #eb391368e54be157 Filesystem access.
pkgs/go/[email protected]/content/file/file.go:578
	fp, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #65fab76f6e12e113 Filesystem access.
pkgs/go/[email protected]/content/file/utils.go:94
			fp, err := os.Open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #40756d43cb3d9141 Filesystem access.
pkgs/go/[email protected]/content/file/utils.go:117
	fp, err := os.Open(gzPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ac98fbf20b8b6497 Filesystem access.
pkgs/go/[email protected]/content/file/utils.go:279
	file, err := os.OpenFile(path, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5de981a3cb812d4f Filesystem access.
pkgs/go/[email protected]/content/oci/oci.go:360
	layoutFile, err := os.Open(layoutFilePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #81f9484445dc6a42 Filesystem access.
pkgs/go/[email protected]/content/oci/oci.go:373
		return os.WriteFile(layoutFilePath, layoutJSON, 0666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #38277496c8344ce0 Filesystem access.
pkgs/go/[email protected]/content/oci/oci.go:388
	indexFile, err := os.Open(s.indexPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #df0aad146bdded4c Filesystem access.
pkgs/go/[email protected]/content/oci/oci.go:466
	return os.WriteFile(s.indexPath, indexJSON, 0666)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2fa63889fb704a4a Filesystem access.
pkgs/go/[email protected]/internal/fs/tarfs/tarfs.go:75
	tarFile, err := os.Open(tfs.path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8ac02af4353f85bf Filesystem access.
pkgs/go/[email protected]/internal/fs/tarfs/tarfs.go:128
	tarFile, err := os.Open(tfs.path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7d46232ddd1148ed Filesystem access.
pkgs/go/[email protected]/registry/remote/credentials/internal/config/config.go:117
	configFile, err := os.Open(configPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c37121c7714b76c6 Environment-variable access.
pkgs/go/[email protected]/registry/remote/credentials/store.go:204
	configDir := os.Getenv(dockerConfigDirEnv)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

Skipped dependencies

Production

  • github.com/ollama/ollama prod — module zip exceeds byte cap
  • github.com/klauspost/compress prod — module zip exceeds byte cap