Close Open Privacy Scan

bolt Snapshot: commit d19c987
science engine v1.5
schedule 2026-07-15T12:14:07.382977+00:00

verified_user Possible application data leak

Potential data exfiltration identified in application code.

smart_toy MCP server detected: github.com/anthropics/anthropic-sdk-go, github.com/modelcontextprotocol/go-sdk, github.com/sashabaranov/go-openai — detected in dependencies, not a safety judgment.

App Privacy Score

27 /100
High privacy risk — possible application leak

High risk · 1561 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 1553 low
First-party packages: 1
Dependency packages: 63
Ecosystem: go

swap_horiz Potential data exfiltration in application code

External domains: 169.254.170.2access.line.meaccount.health.nokia.comaccount.withings.comaccounts.google.comaccounts.spotify.comacme-staging-v02.api.letsencrypt.orgacme-v02.api.letsencrypt.orgagenthub.localai.ioaiplatform.eu.rep.googleapis.comaiplatform.googleapis.comaiplatform.us.rep.googleapis.comalpinejs.devamazonaws.comapi.amazon.comapi.anthropic.comapi.badgr.ioapi.dropboxapi.comapi.ebay.comapi.fitbit.comapi.github.comapi.hipchat.comapi.instagram.comapi.line.meapi.login.yahoo.comapi.mediamath.comapi.odnoklassniki.ruapi.openai.comapi.paypal.comapi.pinterest.comapi.sandbox.paypal.comapi.telegram.orgapi.twitter.comapi.x.comapp.asana.comapp.rakuten.co.jpappleid.apple.comaudio-samples.github.ioauth.ebay.combadgr.combattle.netbitbucket.orgcdn.jsdelivr.netcdn.openai.comcdnjs.cloudflare.comcloud.google.comcognitiveservices.azure.comconformance-test.localdeveloper.android.comdeveloper.fyne.iodiscord.comdiscord.ggdl.google.comdocs.docker.comdocs.fyne.iodumps.wikimedia.orgecho.labstack.comen.wiktionary.orgencoding.spec.whatwg.orgevilmartians.comfonts.googleapis.comfoursquare.comfyne.iogithub.comgitlab.comgolang.orggorm.iograph.facebook.comgraph.qq.comgrpc.iohg.mozilla.orghooks.slack.comhost.docker.internalhub.docker.comhuggingface.coiamcredentialsid.heroku.comid.twitch.tvindex.docker.iojson-schema.orgjson.orgkauth.kakao.comlearn.microsoft.comlocalai-hostlocalai.iologin.coinbase.comlogin.live.comlogin.mailchimp.comlogin.microsoftonline.comlogin.uber.commetadata.google.internalminiomodelscope.cnmudler.pmmusicbrainz.orgnid.naver.comns.adobe.como2.mail.ruoauth.pipedrive.comoauth.vk.comoauth.web.cern.choauth.yandex.comoauth2.googleapis.comoauth2.mtls.googleapis.comonsi.github.ioopencontainers.orgopentelemetry.ioplatform.claude.compopper.js.orgprotobuf.devqianwen-res.oss-cn-beijing.aliyuncs.comraw.githubusercontent.comregistry.ollama.ais3s3-fipss3-fips.dualstacks3-fips.dualstack.us-east-1s3-fips.us-east-1s3-object-lambdas3-object-lambda-fipss3.amazonaws.coms3.dualstacks3.dualstack.us-east-1s3express-controls3express-control-fipss3express-control-fips.dualstacks3express-control.dualstackschemas.android.comschemas.microsoft.comslack.comstackoverflow.comstssts.universe_domainsvgjs.devt1sandbox.mediamath.comtailwindcss.comtuf-repo-cdn.sigstage.devtuf-repo-cdn.sigstore.devtwitter.comunicode.orgunixvirtual.fulcio.sigstore.devvirtual.tsa.sigstore.devwikipedia.orgwwwwww.amazon.comwww.cis.upenn.eduwww.dropbox.comwww.facebook.comwww.fitbit.comwww.googleapis.comwww.hipchat.comwww.iana.orgwww.linkedin.comwww.nltk.orgwww.odnoklassniki.ruwww.openstreetmap.orgwww.patreon.comwww.paypal.comwww.pinterest.comwww.sandbox.paypal.comwww.splitwise.comwww.strava.comwww.unicode.orgwww.w3.orgwww.w3ctech.comwww.xfa.orgwww2.census.govx.comzoom.us

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 #a15914f0fdd0dc69 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-u4smcrlq/repo/core/http/endpoints/mcp/tools.go:203 → /tmp/closeopen-u4smcrlq/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 #86e2cd2c5d8c3ac4 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-u4smcrlq/repo/core/http/endpoints/mcp/tools.go:288 → /tmp/closeopen-u4smcrlq/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 #96d2e52d9eabd5ee 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-u4smcrlq/repo/pkg/model/process.go:169 → /tmp/closeopen-u4smcrlq/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 #98ee326b0151b7be 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-u4smcrlq/repo/pkg/model/process.go:169 → /tmp/closeopen-u4smcrlq/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 #ee70ddf9fbb02c36 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-u4smcrlq/repo/pkg/model/process.go:169 → /tmp/closeopen-u4smcrlq/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 #aee4ba70fefce13f 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-u4smcrlq/repo/pkg/model/process.go:169 → /tmp/closeopen-u4smcrlq/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 228 low-confidence finding(s)
low env_fs test-only #ca044692eeba31d2 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 test-only #32e254faebbd2dad 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 test-only #eacf3b5eca2ed3a4 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 test-only #2428110967870bb1 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 test-only #7c56308fda34312e 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 test-only #2a4f557bbe42669d 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 test-only #5d86d1b87321e86a 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 test-only #422c176dfcd5fa8e 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 test-only #2cde0a2870a26559 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 test-only #fd68e53058cd55da 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 test-only #9446d071801b9fc0 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 test-only #f369b3e6b81bbae7 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 #c318e6ce2d2da2a8 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 #b0fddfed5421c849 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 #78407d2749b9ef28 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 #bf7b2bffff1f121a 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 #9c78525903aa9c6a 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 #b855238db6586f1c 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 #88850cf576a08db6 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 #a3b3bde6d0a45aa5 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 #e424b7d9df01d5cb Filesystem access.
repo/backend/go/crispasr/gocrispasr.go:618
	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 #753cd02153262204 Filesystem access.
repo/backend/go/crispasr/gocrispasr.go:628
	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 #fac0fc87d481cbf6 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 #7e800f27810064d7 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 #5da6148a6a347a92 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 #473dd88d7e900c88 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 #1cdc89836ec3335c 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 #11ea7ebaa5b261fd 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 #3bc5ed5633503d95 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 #53d343f670af8c10 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 #7771458669d1a294 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 #9f7991390cbf9f81 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 #60b3e30ab98a3038 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 #b66f2eb18a61debe 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 #dcc9e5eae3811147 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 #6674034bc1d056fa 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 #1b3e703e9857ef4e 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 #163e421f7cb8fb96 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 #11ff9dc4e7700d4b 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 #baeff7ab9caf2af4 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 #b0074cad1ba820ce 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 #c8f28ad4d1743cbb 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 #333181515550543a 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 #33cc54cb66a43014 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 #61deedd58048a473 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 #5a4b4993902b20c5 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 #e0ae95afc9466b89 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 #91b05d5003d1d452 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 #a6696778f730ca0b 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 #19ed449f25b1f4a5 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 #7677b39ede0e39bc 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 #9c35001da07bd340 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 #09f618140a165a9e 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 #3472b357a0f53e3c 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 #05a92b249c5b022a 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 #fb475387d2b62d06 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 #c6e05ad200216ac2 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 #d9c3856ff10be2a6 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 #8ed45d866de60185 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 #8956122abec21c9f 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 #c793220c06b18fcf 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 #d221264514937de0 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 #a10265d7ff6c68a1 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 #27157c8626f173fd 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 #5b5b1346c309a02c 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 #ada71422b5a37550 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 #bee21828592ad4cf 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 #7ba91afe23b87aad 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 #2d4486d9d8569d06 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 #275574b30cae7ccb 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 #3434c5a604dbc2ba 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 #9fb7a80625349e4e 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 #e0ec10b45b90b42e 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 #ad5f4473e6ccdd42 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 #6ab8eec87094c9b5 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 #3650e099b16a3fde 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 #c2c0565b05c7c03d 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 #e9b800b181f2373a 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 #148b62500191f253 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 #86d2485026ff1cf4 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 #cefbac55c383bc5e 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 #84c1431d463775da 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 #453e01e2c34193b0 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 #a6d2beac2c5c6b7a 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 #bbc66d88f4910821 Filesystem access.
repo/core/cli/run.go:297
			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 #93906a1745d5f697 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 #e412e1c04561f143 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 #e86fcc2b0fa3af73 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 #309b1c7cb9c7ee49 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 #d8a0201bdb7ae384 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 #a1515e74ded0e264 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 #f53f2301a3f6bdff 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 #d372647b09a71664 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 #94638c8d121d1380 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 #5cfa9f013cce2f4f 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 #b9ff270b715fa9b4 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 #7973f8e10e06bd04 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 #21dec3c038e73cf0 Filesystem access.
repo/core/config/model_artifact_binding.go:14
	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 production #7d0bdcf75e9dceb0 Filesystem access.
repo/core/config/model_config_loader.go:123
	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 #7dc4ef1019e16eda 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 #3f34a264ba4042c0 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 #1a8c32297794c43b 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 #8c8bec3c1b8ff469 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 #148e3f1956c1901e 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 #7350511ba282c34a 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 #1df7dccb580bca6c 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 #4d75c6f601b62ff9 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 #1ab1de79224d2842 Filesystem access.
repo/core/gallery/importers/importers.go:287
			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 #e8cb34f1499fc0ca 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 #f044251910d71fe9 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 #dbfe0947d5013ef4 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 #67c6f787e96e3c57 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 #361136602cd7bf79 Filesystem access.
repo/core/gallery/models.go:343
		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 #15ebb9acf6af4f31 Filesystem access.
repo/core/gallery/models.go:373
	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 #efcb4abf3c12d405 Filesystem access.
repo/core/gallery/models.go:411
	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 #adaca894bdd21154 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 #502e0d18df620b55 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 #ab8a96f0ca673fe7 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 #553c70b36814d744 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 #5d83ba9077b380c2 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 #8706d9d90b043297 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 #ee9949a4a84f5df5 Filesystem access.
repo/core/http/endpoints/localai/video.go:300
			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 #dad4eeb68015a862 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 #bb8504a082c870d8 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 #32c4b3c2e4942b0e 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 #d1958f6afa635167 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 #2d3746bfa43c66cf 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 #cab32ef0a5328a94 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 #08c7ccaaf34e9aa5 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 #546042cef9aa596a 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 #91222009ed67b0c5 Filesystem access.
repo/core/http/routes/ui_api.go:997
		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 #90c3d6e3ea9727e2 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 #b1214417893b20ff 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 #682dee42d69e94cc 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 #0535155778fd91c1 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 #5b3012aedac37244 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 #cda4dd621b1a36a9 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 #31d86c6f08066e19 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 #9c34b0d8a2d3a38c 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 #eb648479bdfd141c 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 #f0bae2898d218d1f 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 #52fa9453ebd9b402 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 #d9c2bd8540a51cb0 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 #0d2f0e89bf561915 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 #d2ee79cb3a872759 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 #a70933dc888ba52c 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 #2d3f2d061b4c371d 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 #d2f55487ff544b99 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 #00069651da4572cb 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 #1f8a1ae0ac42ad96 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 #1412ba8626582585 Filesystem access.
repo/core/services/galleryop/models.go:196
	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 #6967fa339cc2448b 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 #100af77768065b9c 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 #c1bdcc9910fdf672 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 #ec3efa7f4a3cbc3b 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 #9bf711ff38b16052 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 #c9a31af481fe0dd1 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 #cc993aeacb05d79b 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 #1d79fb95310afa46 Filesystem access.
repo/core/services/nodes/file_staging_client.go:460
	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 #014e0d4222f70daa Filesystem access.
repo/core/services/nodes/file_staging_client.go:465
	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 #9e8a57339e92ccd5 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 #4c0d6a582b769fb8 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 #69df1305baf42405 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 #84527e72c0c5a6ce 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 #f0cbdfb1992655e5 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 #395c6f799d1c6826 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 #8bcf755e82171d76 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 #5237893380227194 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 #67ee336c0d131f8f 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 #f32ef087f828d5b5 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 #d4dbd5bc5eb06273 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 #7d4960bca7f50b3a 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 #857349c117a2dadc 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 #baf8fbad31b994d7 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 #e2aa4a6cad066f50 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 #7f851467a521cf07 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 #7d48a706c3123977 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 #180ba9cac69b1866 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 #d2fcf4f1bc7561ca 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 #d4472ad3798046af 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 #ac0b9034ee9030df 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 #3cf3d715f3e3cfbe 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 #0e8fd3eca91d6005 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 #c66e47915204dcf1 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 #9ebdfe0b2e755723 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 #31e9907814932d77 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 #099fe1799de13c00 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 #5938e25b0e89e1bc 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 #37d0d550d94aa9f6 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 #276f67023bd0180c 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 #511a5f67b7ee47f1 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 #48f4c9458c4c9ae2 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 #46058cd95fd965dc Environment-variable access.
repo/pkg/downloader/uri.go:138
	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 #6402172fee98210e Environment-variable access.
repo/pkg/downloader/uri.go:140
		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 #b54addb042270468 Environment-variable access.
repo/pkg/downloader/uri.go:151
	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 #2e1b2741310137e8 Filesystem access.
repo/pkg/downloader/uri.go:182
		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 #c055e34bf59f3a2c Filesystem access.
repo/pkg/downloader/uri.go:639
		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 #94ad3b3e1b573f61 Filesystem access.
repo/pkg/downloader/uri.go:700
	outFile, err := os.OpenFile(tmpFilePath, os.O_APPEND|os.O_RDWR|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 production #9c82e485c314940f Filesystem access.
repo/pkg/downloader/uri.go:802
	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 #43b0526c380c8672 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 #3942d2cfca2e8262 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 #899f3e8c13777d0e 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 #0b4adf14d7e7f801 Filesystem access.
repo/pkg/mcp/localaitools/inproc/client.go:373
	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 #872eb549cf84222e 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 #f7306b5478050658 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 #e2dae28fb146a820 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 #4325cd1750a94770 Filesystem access.
repo/pkg/modelartifacts/manifest.go:27
	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 production #68acb067511f7afe Filesystem access.
repo/pkg/modelartifacts/materializer.go:319
	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 production #5c3db1731175d423 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 #cdf3be068628ce18 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 #8e9e9f8991567a98 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 #9835ac92935f351f 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 #723ceee77328a15e 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 #b2e9900a67ca0aa0 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 #91c8df05cb261aef 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 #c08dd6d5e4a3929f 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 #b4b7ade55a360e0e 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 #716ac5068ba81221 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 #be5cf27f7b487461 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 #4e97335947d6b50f 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 #3de022dc89fa3c03 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 #4aec495cee12056b Filesystem access.
repo/pkg/xsysinfo/gpu.go:879
	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 #faf770d273b79bf3 Filesystem access.
repo/pkg/xsysinfo/gpu.go:884
	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 #3ed00781e7ffddc2 Filesystem access.
repo/pkg/xsysinfo/gpu.go:898
	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 #f60cedc1f9bc7a29 Filesystem access.
repo/pkg/xsysinfo/gpu.go:903
	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 #26a80a3f0d31de0c Filesystem access.
repo/pkg/xsysinfo/gpu.go:908
	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 #f9ff2b5b81ca9fff Filesystem access.
repo/pkg/xsysinfo/gpu.go:917
	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 #8774baa9488c4959 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 #fc95191c151c0dd1 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-u4smcrlq/pkgs/go/[email protected]/examples/server/distributed/main.go:89 → /tmp/closeopen-u4smcrlq/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 #8f93f082e0148f0e 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 #10b927aa98b0a595 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 #697daa9210f51d2f 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 #2d4741b9fa7f8aa2 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 #5cda7d868f661809 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 #57db088a78695893 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 #c6fb0b02274eacbe 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 #90438487e23212a9 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-u4smcrlq/pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:520 → /tmp/closeopen-u4smcrlq/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 #5a7db7385dcdfa91 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 #41b2a2863d2b0f0a 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 #81600b3f3c000deb 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 #e8c886d11431fc49 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 #9611195b185bfa99 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 #a90a7a923e4ba101 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 #61fdf4a68521257e 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 #cdadd332b94b9176 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 #722eb3d98f866f19 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 #9dba702838d0cc81 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 #ca83028a7fd578b8 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 #f0be76ad00f8fb7b 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 #6777fd310c7de3e7 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 #cb5944ad668d96d3 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 #09d87e7be02faed1 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 #76bf365e00d06bb3 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 #d0be37b24c77c2fa 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 #8b7260456317b007 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 #be39140722738b32 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 #2a8599400aef0c8b 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 #5279d06551fd7a30 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 #f20234764f633437 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 #6f2a54dda3783b5e 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 #bc0fe2d16d5a43c8 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 #fee16d274e1d953a 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 #c6c825dcf3b4a2fe 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 #eb363b47d639a4ff 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 #616429499723f571 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 #94e588e3059158d0 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 #c6818b0342b0ad01 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 #87ff5accf2e5fbfc 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 #a25f326dd366fe1b 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 #1f73968f1086e951 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 #18ae416d1f1e3458 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 #66488792cf77574d 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 #7eb106b12029d70e 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 #157fbfc52b059282 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 #641bc6f768e7ce8e 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 #ff409926d3aade25 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 #43500386b170de79 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 #d41f2a49f0607c7a 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 #779eb2c8713728ba 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 #8429b1c18f75d2ea 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 #ae2c36563b4f7bee 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 #8b43d9d06bda8067 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 #587e908a1151403c 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 #6b4f277c2b1b7b97 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 #66c7984a0bccd414 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 #37c69f09a2d4a4cb 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 #36bf756c2b1811fd 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 #63e0f9148a0aab8a 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 #a67372bafe235a22 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 #c9154c0a28ca2db4 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 #5f64742b559bd10e 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 #c63e7c110bd02191 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 #94de4d8cf454c807 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 #f4d0c992204c81f3 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 #29325177fffb8f77 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 #6e0c981db18d8242 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 #a95516deab1afc7e 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 #5a77f12488fbf4f4 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 #e0aaa53f3de044f0 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 #bbcd33e1c7126be1 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 #2a586e68b1e014bb 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 #5e0ead8d0c038a72 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 #4641ec3401256f26 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 #f117b3fd81a668a1 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 #605c41e48c2457a5 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 #405a6eed53665c50 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 #90e5b28904a6be60 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 #861203a66a96a334 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 #0eb0f41c13e6635c 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 #a5650a4e92ed31fb 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 #8e56390f280af6dd 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 #be02678e4aed76bc 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 #439524437e1b1032 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 #0a934fe38f8ef651 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 #9737ba45de7e4a6d 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 #753b40fb1549515a 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 #17b42514680e0efa 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 #e326db8ced44c8ae 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 #883b10196e6b6fcf 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 #71348dcf6adc6f00 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 #9e29a04f06e2cdd2 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 #db47c2dfcb16bc4d 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 #7ff334e208305035 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 #4323d6aa5061251f 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 #27ef4d85451d193c 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 #cb1a03a77e6f44f4 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 #63059fa1a68e76ab 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 #3f5712216e8222ef 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 #499eb954835041ca 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 #50689d64ee42ffcb 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 #36e306777a6b5f56 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 #9d18b99df4c554f0 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 #a3473f407c38f17e 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 #efed9ea84988be1b 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 #35cb56fc03ad49b9 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 #95c2e9255c3b70fe 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 #657378066eb16601 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 #4e7ebf385e01b3d6 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 #53b844b16b2ea92d 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 #a2b64e1152021b84 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 #2cf311edcd303951 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 #013c333c2bfa1cc2 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 #1a9676e1ce51a831 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 #c0d52af3c4f09040 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 #dee0ac3d0cb7c4c8 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 #86a600a0299bdc1c 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 #d6f96e7b55a08754 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 #d8640c5eb5e80309 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 #65cded451969c868 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 #5a9ac5f733a4698a 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 #972e5d35f1b053e5 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 #5e98a81e771fcafc 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 #3f4b477155ed1db3 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 #7df22e2eb99d7643 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 #eedb8e650596970e 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 #77e739a33845b92b 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 #6e50e0fef7a77a4c 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 #cb962214c1816df6 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 #ed38b045006cf5db 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 #f9eaf056049eb523 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 #b1ade0ed1c388462 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 #88843df27cb9a5bf 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 #ba5e3e1ac43bc75c 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 #71d26b76415be9a4 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 #3677a290844bc7cc 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 #2055d816a3ffec3b 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 #67ee26b182fc3567 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 #3a2f3b6565ec2f27 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 #5c620b62a8588723 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 #fca5accdcf21d525 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 #bf97210e1688feca 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 #ba55f9e1762f5b60 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 #5ecf0742b76dd9ea 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 #8ce935eb40013ec8 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 #6a6faf03ea17312c 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 #22e6ef51a86ee676 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 #48f85749a4fde317 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 #4f54297bd7a47ff7 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 #78c0134e424c24ec 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 #648b93181c64abea 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 #dff0a1d42cca68d2 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 #7a4e710e8e9c38a8 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 #791e6ab30859c316 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 #891fb0abe5bdc4bb 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 #9ef59c7e77c1b100 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 #1f8395e551fcf107 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 #a0034647a7177107 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 #310d026621fad316 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 #2f8f106b8572680c 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 #5afd6bcb87101030 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 #bcddf0b2fb5e8afd 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 #fb112acf22b4ba04 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 #b2dc9e793ca15b52 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 #e2fd66ff62f4b099 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 #c59a82bc67fde4c3 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 #5582ae9db9e836f0 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 #eeb2bdf0fdb21a17 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 #5e275995beedc8b2 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 #9a86a25b6d5da7a4 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 #aa7d351df5325d5c 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 #d4e3df58e01097df 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 #5fc689733a561c6b 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 #61119c6cb87e93aa 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 #e9c7df399c49100a 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 #11b3c03ad543105a 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 #1090886eaa207d08 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 #05094513aabe843c 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 #791043cad7cf050f 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 #5fa726ba589fab98 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 #203d2e0cec263a53 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 #a9e7b6db944783eb 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 #7fa891817fecda40 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 #5de554d9a100c414 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 #7bafff8aa99e4ca4 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 #f03463449830d83d 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 #af880e51f6757799 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 #fdd7bd9a4d050fc0 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 #1df86f2e3af870bd 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 #a19970f51047718f 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 #dec0f74572d27d58 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 #e7fbe1b302c5780c 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 #15bb1091d4bed7f1 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 #68a5c32c09cc8161 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 #ac49178983ca7f98 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 #d873cf82b62a9bdb 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 #097d90076946e729 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 #0c9b3d726eb0fb47 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 #c555c5eb9a94daca 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 #7c1bcf7db4cab621 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 #194605990012de11 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 #fff315c1e74dc774 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 #771bb41a42e29d37 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 #13e077c844509afd 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 #69b2704f624c52c4 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 #9c296344a9f5d07f 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 #c9c90a21781c2b13 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 #a0be5db74b558c08 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 #e1442cc77ecf8dc0 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 #18a498f2076496a5 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 #4fd20155c23703d3 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 #df5f5078e7fc3e22 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 #6c5634e3bb3c156c 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 #c51bbe4861338f10 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 #7686e4adaa816735 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 #7e44396c47a3b4c5 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 #e4900c188701c8c5 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 #115e2dfcfd0c9019 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 #015358358182829d 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 #37bd1960873dc8d6 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 #f2d0ad0a57652f19 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 #ffd3222279194a39 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 #82d0f4c34d624e31 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 #76dd1772f17fe820 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 #1addcac60ed09835 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 #9055f3d9bf39f0a2 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 #f417f509da40f73a 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 #df33ef39246efd4e 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 #bd15cfce1d63af8c 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 #8d033d5d16532306 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 #21f9f16b0b9f1d97 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 #6489fc5a30a5712c 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 #eca9e8c09cbe4c12 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 #4b1bbd1646d3e118 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 #07c06c8405eb1cbb 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 #e91d18de30371a4f 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 #05c37da1cd28caa3 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 #6d3bd1f589851cd6 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 #cfc4d3f025f0347e 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 #7b592d9b2ee05de5 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 #a5f549d519a3ae23 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 #3e5de56e08c58477 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 #fc630e2094487d40 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 #a90020108026f210 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 #94564bc8ddb142f6 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 #cc65763a68bd5ca0 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 #d69f513765cc31c9 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 #d0f17a386c14f310 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 #1df0d845ae2aa1de 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 #c650e1b469a00588 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 #c5b6fb91ed713ca5 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 #a5e442a2d6465b4a 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 #0a0b78a8425006ba 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 #4161e66244412ccf 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 #b5cdfdb55b8c69ed 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 #657485393c379394 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 #3db0f61fb91922f6 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 #468b7f6c8158c9da 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 #cacc952303ce1d52 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 #f4a8ec1e6ae8e623 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 #6ecb4c4563eb800c 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 #8a37f9a93176934a 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 #18438a973bc7abff 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 #dbd752d7cd36e6c3 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 #c8f36cdf658f6c5b 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 #e5a4699bcb3822ab 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 #78962de908610e86 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 #3d29afdb01e4e736 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 #6be56f5688ed0115 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 #e0040a9cedfd8307 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 #001e1670d253466b 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 #32b898331a0627a8 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 #d84a958b062f12e7 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 #e98ae047f0eb2eee 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 #ce86e0a513d1d434 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 #959eae846128a238 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 #7f4abac202965cd7 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 #0c7a4f5b981ee5c8 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 #fa9a4ac3b1ad947d 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 #cccd72c5c9d1aef3 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 #4d068485aa852c8f 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 #ace4130fe7c34d63 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 #b2700c82e8a3b715 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 #c343366384ecb2d2 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 #8695d77115e0c20a 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 #c8f9172584cd2765 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 #3f751c885095bb87 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 #5d66278531ef7232 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 #e0b87a929ac48850 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 #ceb4682ea98e5e48 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 #725ec73b23ac9f75 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 #8de6938933d24c6d 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 #44495a473cc530ef 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 #ce0d9b3398bcd457 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 #2a845c25facf4a15 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 #0a431aafc23ec73d 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 #385579b02219ae12 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 #3e17ef96b7add264 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 #a7d54e0d20379f44 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 #1e883a8fd82e3ea9 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 #ddf654fc8eedf421 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 #30b340df526f39fd 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 #964905b3a15d3256 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 #2dad27371b1d616e 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 #b9e52641f5c5cc21 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 #352f6e735235b89b 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 #12999d7787bcb250 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 #7e4557c96dc7071f 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 #e58473078a1c7a4f 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 #7a4c26d2279a961a 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 #47542e9e72087a96 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 #3b84c637bb8328c2 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 #792e23bdd0efbe00 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 #4f6bfc469a94254f 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 #c97f2fa8c5e14f94 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 #a008a7e3f444d7c7 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 #9163e95aaa79bcc6 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 #cf9b7e7e41f4d73c 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 #47e6ad66d461289d 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 #47fdf1de055cb9b5 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 #1ce3118fac752658 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 #3682aca86adb8ece 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 #b05cbbf04fd5a6ef 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 #adaf655931bdb0b6 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 #4d66c2cc9da55935 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 #6a73c4570ba1c49b 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 #31e148ccb976cf85 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 #c064501a7e6a404f 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 #e56b7b4ad94da3ea 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 #f81a18c05590a06c 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 #1ff62ceaf80a316e 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 #1e23b1b82d429d2a 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 #0596c0233be89d5e 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 #bf1f7b0429180501 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 #53718baad163f3a9 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 #0a943070f4bafe79 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 #ac219c10c5c6e13f 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 #427f2b19f4e0b8a9 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 #2f03a2b901c21a6f 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 #6b43d3195af092bc 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 #742eb77ffe0f23fd 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 #87b187ed675b6e1a 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 #b14319b4a5bd7791 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 #5b293210a1adbd40 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 #063325b84046b714 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 #00fa12dd2fa038df 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 #f4eb547f6f8913e7 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 #2fee448abcdd6837 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 #15f0e80a42d6a5cc 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 #52c1205b0a351773 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 #6f8d0f3ce49b1c57 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 #b039c096efe46fd7 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 #5dcef67936deeb25 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 #6696f8f552e93bc7 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 #0a02ffcb44f4339d 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 #f223d913aae164f2 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 #6f5ea34e4e46a765 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 #b834e58c6b20c8a7 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 #a9b2520b8514046d 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 #f91156d244421135 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 #ede8578b29d22320 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 #d9bb99a9397fbb58 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 #9b6e7ae81fa47ad2 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 #5e7b74220c93452f 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 #91dacc1887a21df2 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 #97e56b2e43ff60e5 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 #863f1aa0cfeb3e6b 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 #b7854763244ec6a2 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 #da52123263c15064 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 #94e70c1ec589ff27 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 #66f64b6e66675891 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 #28c430d400c745c3 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 #9fa2369b3da90cf0 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 #bd2558fcde85aa60 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 #b83295a2a044cd5e 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 #6ab14adc169fe009 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 #1001257e4047f3b5 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 #6563ed11daf39349 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 #f7abb41035fbbc15 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 #067dbcf3cd2991ce 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 #f5bd45620c86ca77 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 #0666d966f3197482 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 #919776c99a3428e1 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 #061f88b5ab1c7981 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 #cf23968f84b9cc3b 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 #678a05b227caf295 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 #5df389c1be370e50 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 #4e59f5e51c182175 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 #1b7eb540b7066bfa 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 #b1a72f4455fec2e1 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 #8c89b601671fe018 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 #679d65bfbd8b2bfd 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 tooling Excluded from app score unknown #eb771e3cd0f1041c 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 tooling Excluded from app score unknown #fa5d887898bf58bf 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 tooling Excluded from app score unknown #94c03bba38f60463 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 tooling Excluded from app score unknown #a606bf77a0c50842 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 #c8e7bb2ee79c057d 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 #99cefd2471966bdd 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 #5bb40fd36e4028cf 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 #79306b49e62559a8 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 #38ecac09bd178948 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 #483d2473753903db 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 #18d8c56c6f7f8c64 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 #5ee9979ac565bee8 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 #38408c9c0cb1e9b2 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 #dbdb72f7778d0d54 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 #60b31bef25e48b42 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 #89b6c7450f36568f 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 #b92b308011ae761a 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 #79710fdc4f7af8a1 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 #ccb0a0258fb82a70 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 #44616882c1641e6d 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 #5f4e3e41350e53f6 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 #4b883c851c1c1ffb 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 #e8a7aacd754b6bbb 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 #2678347cebb482c1 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 #0ea19486ee16bc8e 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 #fb7c09b1957ea0f2 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 #2ee400e6c576dff7 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 #7082ada42705820b 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 #b818b2e9da139ef7 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 #d4b8f715267d96e1 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 #cc8503497d340861 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 #f68449ab789b1e0e 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 #b5ffc5574c1da978 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 #fae54a5f61ee9f96 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 #1d347fc86b819759 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 #1f86245b4da6153b 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 #c1e18b8add71e629 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 #d5703648e17c7d60 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 #848aa8c81fd836e8 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 #f1ef7b3ba2d454b1 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 #d9a140738fb0e1aa 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 #3d8a1217dcec9d8b 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 #4b05040097133cdf 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 #42619a4a18302456 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 #9b519c454ad0941b 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 #4c67457284e18aca 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 #e35893b27ced615b 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 #d7a01326edd9d7af 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 #e9d9ece8c092f545 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 #ca581b7fed022515 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 #db2c2f8dde0019f4 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 #2728427d0bcfe4cd 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 #56d60c58f2974205 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 #0d7c793361bf27fe 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 #a0450c6e0fcfc82d 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 #97a1a88d051415da 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 #943bcf9e2d469fac 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 #233c9e8a6d40e912 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 #a9e2a7b5813a34c1 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 #77fc0f7e90f36e3f 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 #8c9a6f340a95167d 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 #cd3dc0b0fd7ca0b7 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 #847ef53aeb1f4419 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 #a686cc985ee60896 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 #4c9deb3e93c30502 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 #3df5694488a30ee3 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 #430b49a8a431a189 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 #818f59ee110450b0 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 #dca260e6333647cd 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 #1980225e0924ade6 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 #fe9307db1f9b09b4 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 #2dfbaf2e9783828d 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 #5553d8f98dea321e 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 #87cf0211b9b2e70d 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 #73b3990c44ad58ca 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 #3da787dc43200376 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 #499497a76f2ec5cd 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 #f95af9742d2ab625 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 #e0ccfc1424af9ef6 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 #ed0820a23b9bd3ae 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 #7f6140b2a562104d 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 #9b392426582e4b9e 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 #512911a7cc33db5b 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 #908974fe05b49a22 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 #ffb42fba671fe442 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 #2d67dc6191316b81 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 #4a204e4b2b67a334 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 #91d4b95a93d19de9 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 #14d6b5187b5315cc 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 #929e240c3fd4d9e1 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 #0db424dfcc61ef2c 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 #64e979d0f8feae39 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 #4466208a95153b9b 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 #4f606cba40f807ba 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 #2490cd84f30e7e22 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 #ce49f0a5c737b13c 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 #e0465d42b5f889f0 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 #4d418e091077c445 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 #453de4fec507e14d 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 #86114a057a85eb07 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 #625ee93c920b5ed5 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 #838e8eea81645cb0 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 #ee48fd5802f7db78 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 #e952596d0e6d9ba6 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 #fa37305bc22e3b75 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 #3befc1affaa2c710 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 #bb043ef30d189764 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 #5d7067d6247465ad 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 #c1430e06e39f53a1 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 #5b4dcc721aabd107 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 #2a7fa41ce2739b70 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 #d084f8153d2c7c7f 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 #358f4d1de156477d 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 #6a3fe735e56689e1 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 #1c70056540cd964f 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 #a8f6af564b155fff 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 #f184cf99b5431b94 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 #7417b7dc72c6fe27 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 #d91a6f2d077c0394 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 #1903234cd191c68c 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 #b80f9dce4eb2e3df 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 #f39c2cf8a7704a7e 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 #8747e76e4ac48b3a 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 #13aa230518aab7d6 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 #79dec180ab5f82af 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 #53a31e4dbc3267f9 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 #b70deca6d506bae5 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 #b0f755459eae4085 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 #85d1d8f884054ca3 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 #c05c67d681e3064e 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 #227102cd4f4ac299 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 #f366ccafcc786bc2 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 #ca855bc651f93506 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 #4b22333aa772b8c7 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 #bd0a6d368575076d 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 #458e7359dc2452f8 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 #b6949e97cab2a08a 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 #c3ce4fe4d1134c90 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 #9d62f810ae035136 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 #f0921bafa4f535c6 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 #8d50c6555f183f44 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 #6b1fa9c2e7e9d286 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 #08496bdd03c74326 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 #09b2d7e99db4bbac 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 #9c9bcb046ca6e3db 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 #db6e070863a018f4 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 #43bbb08806acbde9 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 #4575b5fa0b75bc10 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 #f4fc825d72194c6a 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 #fed1ddb278776b0a 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 #e92088e4d14d9e42 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 #2b34ed8e91864de7 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 #0f4da841248f0565 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 #ab725283d4bcac8f 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 #7fd36864d65522f3 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 #fae8526c7c5f1327 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 #411ddc683e1e51d5 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 #e1ca3d62fbcfa772 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 #bf0b4cd619575db8 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 #785a590c4bedf0db 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 #ba8344a2e8ca67b7 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 #871b6deda7c171ca 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 #2aa4b891851b75d3 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 #33f1e3ea3c01ef8a 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 #ad8f8e75a17638c6 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 #5fb5c75c836f162d 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 #e88f074c1c64d918 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 #10b6b7970aa2e89c 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 #0e94a8e5c9be2762 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 #3c0b092d2e26558f 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 #220c0d27ac1c4fdc 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 #7fe4d9be37324458 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 #03b02498d5c8a302 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 #5fca513efb39ef4a 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 #679fbc99973316d0 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 #68e4b2b7b56f446a 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 #036234ee04c685ba 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 #21b726c8f50a4f72 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 #7dd43035cf68e91d 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 #7c1cb2fafc5d6bab 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 #1db47ffca973bccc 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 #d5cb77161e6ff23f 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 #81bb1c0f72b6db65 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 #7060b4a7168cf171 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 #4004f96447339eab 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 #e24ebffe9e72ede7 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 #11a606df65e57e33 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 #bbca4e24f8126e5e 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 #fe94a9b0f4d798ad 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 #72e4850d737ae38b 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 #eb83bf6b3b2f08e2 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 #9249b2fccef8da44 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 #fbff17aa57a1c5d7 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 #90c234e1a90b3122 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 #690c3dfdebdf2900 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 #4bd85312f1cc501c 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 #0dc5a6348ca3c727 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 #442c513223e9caa6 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 #84fba06f833a56c9 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 #bb2d05a685f54d11 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 #fb6a902f258ac966 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 #6388f75df0a6875f 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 #e4cd98874a3dbbce 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 #783fdbfa1cc2a9e4 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 #bc568b95bb4b915f 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 #ba0935a8dd7f07c3 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 #de61e27f1d8b162d 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 #be5efcbaf3aad63f 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 #eb9358255eb573ff 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 #13fa18fc487b68ad 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 #6a4116193f721ae6 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 #a77f0c9d67f98503 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 #a2ae4a35cc02cf74 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 #42d25d20ea9e3390 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 #4f564552e5a28be4 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 #ff88420d315e6353 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 #292c6ad5c823920c 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 #e418f177599e475d 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 #ecb7885b12edd8e4 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 #bbdb08adf1658938 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 #196839d4a141dd8c 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 #47b0ac6c2b3521cb 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 #77ff568af0a051c0 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 #92f1dee9f0012a0e 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 #fd4b8bf3408367ab 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 #eb553f38929644ff 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 #2eb7bf51d661791c 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 #c2bc2e739dad9119 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 #b3c0d33461930052 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 #834b0057fc11e64e 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 #a28e42c6dbfe8a07 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 #fb4a8869559c3a6c 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 #b273bd41d8854b8a 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 #83d12451f8cffa65 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 #99800cd2b9d13a7a 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 #6075002415dc338b 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 #1465683df690c51e 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 #0778a9e257254b56 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 #ddd130be12b60898 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 #ebcbf595b9650724 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 #fa32829394c5cd24 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 #16b802946631053a 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 #4aa498cfce80e33d 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 #615bf452d542e52f 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 #6a7a761357b37932 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 #616ac76c80767b42 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 #6b921dac481f160e 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 #963b6df848e1546e 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 #0813a6fe2539d6eb 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 #7c832f0e9a54de4f 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 #03a6e933c10e6ef1 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 #9c04af22e634c8e2 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 #ae221f63474348d4 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 #bf968147a68debc1 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 #ff25c6ef6ab5e550 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 #f5f15003e7a79dfd 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 #f549265f42d2a4cd 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 #5013ca6c38eeb8a4 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 #38d6334394593ebf 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 #a3502f11fb76badf 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 #02bb4cde62f112e5 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 #c93bbd7cb059deb7 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 #02a33c6d62ac6546 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 #532ec0bc5aa4f45f 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 #6241f99f3117305c 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 #8d4d40196c97ee12 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 #0040269470987c4f 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 #d990a8b9ef229fc2 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 #8c92fe2250a2d087 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 #e6edc86a72f2ae80 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 #b2738472ab01e0ca 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 #96b28e91a6fa2902 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 #6797f9977563f52d 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 #388c0e5c809ce5c6 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 #f2e47a6cc6c116a5 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 #28056916fa4e54f5 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 #e4ef07d28f91f98f 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 #f082b2a42630ded9 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 #6e63eccda8f4040c 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 #5a2a2ef7d4e9a76a 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 #68f742cfb6662028 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 #032f65645e78b537 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 #e0eff03f8ae6bb6a 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 #d3b661735b43fb37 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 #b038c2c04983052a 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 #9c435c2628006a4a 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 #cfa0e8b06f53d737 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 #2a5df31296a49ea3 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 #a32b76cea8dff547 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 #9c8bf9ebbac6202b 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 #bc8723f9573422e3 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 #342b947bcbdec701 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 #8429d380c532989d 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 #c0e52b36b4434b57 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 #93d80efe63f16bf0 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 #a7e14656bfae1807 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 #a29f9577f18686fa 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 #5856f409da40344d 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 #c23d533ca4bcbccc 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 #8602b183f8722b37 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 #6ea5853b03c4c253 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 #f4dbb0e01a02285b 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 #7bccf067317d7223 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 #3aba3c833f75e9da 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 #2e5ed8d64dc1fd40 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 #7fd6ca705ae3ff62 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 #9e7b62e7e590ffb3 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 #e80458ef90867904 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 #42b09d24936f10e9 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 #0f6dd486e3c1ef6a 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 #b1eaf689aed55246 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 #c19d576317e38f0b 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 #e5f5adb9aaf77c3b 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 #93be29ccf3265f62 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 #64052a341f344f8e 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 #6ecb0517b5467fc1 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 #1bc2b3a89583b2c2 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 #a7f6023c07065e93 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 #0d3c82e472c97893 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 #d5cd32e967b3bf12 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 #70810c01ba6152cb 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 #bcfc2db647d4f0c2 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 #846812c4929ac986 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 #73d9aff9004f7559 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 #6646f66b24e1157c 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 #74b1bc453df7c7ea 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 #5dc45d3089231f17 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 #5a3d5afd6b3ecadc 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 #096fff0e9181ae80 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 #855984ad1ee2a49a 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 #1752ff752148c3f6 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 #3fc21d9c1365948d 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 #96cb216aa5fa4982 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 #12a4c2e170dce563 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 #1549ed34fac8177b 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 #d441863f4d0b461f 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 #7663f745c6f6cd15 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 #ca7c0ed6537ada6c 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 #b6996d48a774177a 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 #7142095ad01d6384 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 #991a86d26eb28944 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 #e5e7a10ea64ac878 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 #f5ef5484f880add2 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 #6075942cc6caaa44 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 #3c12501a03b915d8 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 #b03146eac910c76b 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 #7728c2eefb77ad7e 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 #17e8245b793e4834 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 #b049b794d636248a 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 #a5d4e45d2ce0461a 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 #d0502a1f20f2c67a 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 #62a2e627320bc3b0 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 #cf32a7f1c323f279 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 #70b6b08bd69fe1db 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 #48735b34fd504d00 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 #54365f62b56b4f8f 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 #715288df03967c54 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 #984ca68c33955161 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 #c0ffaac1ec786e74 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 #552abca5fc2e5453 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 #a62a861c0ac054c6 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 #e9aa547f9bae8e37 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 #e0848db9c007b6a5 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 #16b1dcf053696c3e 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 #19b4b4d3fe4634c0 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 #16604b6d83007bb3 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 #78eacd515c0c73f8 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 #1ee773e21677527d 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 #ba244a5f265bcac2 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 #dc0ed32c47f0fe29 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 #ee869f4ece293b2d 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 #1fb68f922966ef87 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 #82c480f8a6a76f78 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 #6ed563a95dea1406 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 #41bfe19c41e204d4 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 #f9588a55e22f273d 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 #e2e5d4bede7650d1 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 #4f02189c004e7be5 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 #02e7121ad7fd00ca 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 #e297b3207fc2723f 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 #5837e89df1bbd8d6 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 #c76b8c32ed169336 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 #ee37097d27eff931 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 #ebad9247b7b41414 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 #0f34d99652e58f91 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 #814cbda6e55b65cb 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 #0edc3ba632ffe9c2 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 #59262305340011c2 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 #cc121c218c20effa 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 #d7c2b1e7ce9f099c 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 #cf6a910ef5cb8af0 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 #f162d6ce383dfdd2 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 #6ace156ed18636d8 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 #03aa21b9ac02b9b1 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 #d18296b96c8f2456 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 #05a5b5dbbd7dd8fe 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 #54aec3de0d491543 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 #2a4bc78e8b178b30 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 #71922a1fa7015da2 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 #222a942e7aeea268 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 #80fad5b856882c72 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 #6ef268bd399ccce9 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 #9c17792c6b1b4876 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 #29e3f6377c33caf6 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 #735e90a59aba6a01 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 #7d5945db7976a973 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 #aa7031c28a834db6 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 #eec1429acb891286 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 #830556a25736c710 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 #749a320b36ddcbe4 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 #2a0a11a776c5ce4c 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 #a671f232a8f1fb21 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 #ee95a8405406afab 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 #eac7028aa7735415 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 #9755ba80f6e1fb8c 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 #0aa8b9dcdc5c3a9a 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 #0acdffef55450d04 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 #973af628d54ad687 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 #95c6ffda10858859 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 #609043a60794c226 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 #e0bfb73a1a30d2a9 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 #269cab6485093a40 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 #02dd93ccbf22fca9 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 #cf2243a510128eed 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 #9c545aadb4cc0074 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 #9fc9c5d54f75e09f 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 #5eab7c12b3fde1d7 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 #4c0a30d04f4dfd18 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 #0d7cf3e601a7c3d1 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 #92be5e29eb224511 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 #49cc51af6e11f255 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 #61841ca8ffb8b929 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 #91511631e24a9dc0 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 #93a8c00b44efe901 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 #29e11d22c943d012 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 #3c2feff323b57d76 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 #577e39d47f6ceabe 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 #507619aed06930b5 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 #703c5e966a4a07b5 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 #95cabafcf4d41bdd 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 #cf02ff14a75e432e 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 #c48ec4f0f001c137 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 #1d4cf1ab463b5c03 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 #c57d4c2aa7d7bc7d 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 #46ae905594c3f81a 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 #47debb95947f5597 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 #b6e870150563c2c4 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 #5e0480724762aa4d 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 #cc6911332752a49b 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 #7b9b60bf6122f519 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 #383a46ece8d3974a 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 #d592d6ea9182e873 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 #cb5af7f132fefcac 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 #52c44850dcc4be12 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 #62b9c31567849931 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 #60f61d3bf51295e9 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 #abcc0ab8068efc98 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 #91f01ba2dd4d2194 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 #51014d8638e2df24 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 #d01f12d640a2bf90 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 #df50d1fecc49d730 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 #f4ad59a09f0078bc 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 #05f42bc53dc7a689 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 #93441cf99d1b080f 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 #332395e936609e1f 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 #2572d908ca26f90b 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 #990a52f9031f08d9 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 #1eacd873096dd2fe 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 #ec437e8e680708ce 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 #1f40a4171752606c 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 #e673c55c1de7a9bb 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 #e57aea36884eed9f 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 #806953542551b58f 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 #0843a83ed3e19b31 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 #fb615ec99663b2b1 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 #df031ccfe5997f6e 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 #e28d33481dc1f04b 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 #490ec9598c994a4b 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 #25fedc55e2e8c92e 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 #ab078463eccd037f 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 #84d40a8454b23914 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 #950cc0bec6c51b1f 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 #29a30ee9d41305f7 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 #963272a09c58290b 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 #2afffcaad17861b4 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 #4db944b18e1e0985 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 #df0ea9d1a7b9f0a0 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 #a25cc8404d64638a 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 #cdf0840090ab832c 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 #399b06870e202401 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 #32ab6fc320b14625 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 #a962233ac50f2849 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 #ad0db625ca994c32 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 #58d08726ebae37ff 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 #e1c3867cbf59032a 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 #ea0eb16fa0e0b69a 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 #97268d3e0106cc8f 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 #a1e768bcc365b496 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 #c7084192d0ced5e1 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 #cff65b4e9683d45d 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 #955f700a78df10a8 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 #9cc71cf29455a060 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 #310eeeea1dad87bd 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 #5b6e1aeda5ac29d3 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 #2c81ebfa606d04f6 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 #210ded0db5d5c94a 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 #aa1acd4ae7422a1b 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 #7319e32cbc512fe0 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 #a1e525c85af9d75e 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 #592c5e8d652857af 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 #053fff3219b681e8 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 #b6a4aba1031cacee 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 #cb583b5bb963a2a1 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 #f6edb81400c86f55 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 #fa07ab79db621598 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 #3b6c7c29b828cb86 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 #0ac64a7328d6104d 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 #a62db9cc6797e68c 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 #25ba24fda16127c8 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 #6899ac14c0a2284e 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 #fb907373829bd748 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 #641f15a0c7709a41 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 #4d46f2609c956cd8 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 #04e0bbc21ff8dfff 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 #a381674f0a3849b6 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 #c1a5b9759492d7e0 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 #83280529d0a72b22 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 #ab73430039c63be2 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 #d7a48508064c80a2 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 #5895a6ef651b3625 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 #a143bb509c0cb3cd 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 #444437dc08b862a2 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 #fdf3ef19df4e5447 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 #16f58ddf793caff5 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 #28b3a6e4a58d47f5 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 #1678c2cacfde6ab3 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 #59baf4bf97f42ae9 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 #0c8761f26658b6b0 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 #454d8505bea9829a 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 #b36b032995045575 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 #5f469f50e6c497d9 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 #29eaa20e7e2b509c 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 #0ce9752b73cbc361 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 #0c0878122994c1ca 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 #aa6c96fbae086f6c 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 #0db749727fc49fb7 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 #1034c311432b2319 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 #320980dd0cf25920 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 #6794d0a99373b3d1 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 #79d617259f63ff5d 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 #1a1cf8a223f59fcd 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 #0cd41e63097dd2f9 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 #50b24dabfc88764c 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 #d6943e7b370e0bd4 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 #dc64c8dc9b5b3ab2 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 #8df1e69c66eae12a 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 #8cbb7461d5847c7e 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 #86f7c20853c86146 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 #22ae1d82af912a92 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 #894e883b9e33ebbc 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 #03eba9ef445cedda 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 #76e8496a89122b0e 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 #379730b2fe211556 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 #a944c6807231b6f9 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 #72edab648d74cd77 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 #22ce962288e21891 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 #a1500dcd363e932d 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 #ae3eb4400306f471 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 #66ee499851753b7e 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 #c7484d766550a9b5 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 #95403c3865df1c62 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 #609e2892617e72d9 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 #6b4184df3623c85b 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 #09c29d8b4278a337 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 #76b60c47bcbfd2d0 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 #95da6038d0978b8c 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 #7363246c44d1dd50 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 #9331a424c48ea199 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 #f1ab95abbabb8dcc 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 #042ed96021234f92 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 #9d309e2d190a4471 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 #eb36261b503f4435 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 #138a3d91bea3c38b 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 #4561f36423490292 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 #d05ab18a40977077 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 #cb8f50a37f9b59d4 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 #abc571b5494396d5 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 #eded406127f4b1d8 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 #9670bffd2d1c7025 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 #33699eb5a2ded400 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 #2743b916aa423135 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 #160e554cd97d90cd 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 #008871a916771f46 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 #662f808d2e08a56b 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 #ab2ce021d8901999 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 #a666b7f4824562cf 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 #2226e7f42de626c0 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 #5b8f0931c001b0e7 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 #605710646574e50d 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 #e1b5ffff08f5442d 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 #dbe20b3d883ea3b2 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 #7c80548c87325a6f 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 #ce32193b7d106f24 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 #45e481d960e52e7c 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 #76d43bd8a50a8146 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 #d4666c65115cd4ed 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 #bce3c3229c1e713e 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 #103027ddd6742a78 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 #6c5122e5adb55df9 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 #f593efbfcb1cd063 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 #42d6446e6e299f18 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 #62f0b2b91de6ff42 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 #55ac67dfac4a9510 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 #be58cacb7ac0aac2 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 #851d9265cbb9cdc1 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 #50783425c3a19b72 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 #a03f8c06f1f8cdce 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 #57c802c89573192b 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 #d153c5bbbe84467f 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 #d6c6d6834c2a24e0 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 #373938db3abfb615 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 #eb6500e1b792ff5f 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 #963883f73cb6ffcc 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 #a69981b07f93e259 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 #6e4d372211a787e6 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 #4ad243d3df326cfe 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 #668a37eca3a6b49b 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 #d0adcd7f7cf7f4f7 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 #861bd3747e821e90 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 #cf4aced29fba22ee 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 #7fe2bdc7477a47b2 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 #626c3e2bb88f66c6 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 #a7d923d7a52dfae8 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 #5fe7800381753da0 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 #3349cb3f21dd8636 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 #54e2d2815a509366 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 #9924117d75a744cc 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 #e0e85d69f8700172 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 #143edb888592b2ad 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 #198387fdabca8b03 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 #7acb91d6b28b7f68 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 #39fab12177b3f6c6 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 #d2db251e815346c4 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 #632b94f817f0221f 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 #d1144a7839873fb1 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 #1a9a1768fcbdbbed 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 #c7ba748c8abc37e8 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 #54f2699c6c45e1c4 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 #3c0868b3985fc8ad 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 #02ba87d0bdf5659c 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 #f7faf26e8fe7984e 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 #9835f4c4033e2422 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 #580359a91e3f0872 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 #54ec92253146250c 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 #1a2be367d5b36353 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 #2c096b0897ab20e1 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 #292d1bfdd57e6803 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 #e11b9a06b986d0d9 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 #d00346ee3bd46117 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 #12a6fe02cf529222 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 #df895de95bda569f 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 #9a0fd8c542663077 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 #b2cce37b8205be65 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 #61ddce6678b13bd1 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 #e9ea9f30c0fc7480 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 #c675d1eff0e4d122 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 #45f86133e56ea312 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 #cdded755586a8779 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 #394ed48e9f4f045c 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 #1fd918e16fcbae16 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 #578b37de3ee472fd 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 #dfe544c309ffdbbb 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 #a8ed8a53cbffce63 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 #67af86f7dc4e8053 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 #97968541075cda80 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 #311ef848813fd817 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 #a100fa3225d08f2c 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 #f3052c360295b025 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 #dcefbc53d7efc720 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 #cc98534372c63de1 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 #5b58a4e75c267964 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 #c8aee7b6837ed363 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 #eec2785db8ae5436 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 #cedd5fbe8d9446cf 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 #ad6cdf148f0c827c 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 #52a9ba2d6712083b 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 #56e8503597bd3dad 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 #9c4c9f087c89de36 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 #444b25b69f9c23fe 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 #2fbf16950819be34 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 #676b4775922575b2 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 #0725cc39ef4a3771 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 #9518504d1297e33c 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 #f4f6e45d38d75fbe 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 #c46389565a35a1a9 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 #9e5aec3ad8458ce2 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 #23af25c5162c638f 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 #c463aeb0234a168e 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 #a485eaa342ec58fd 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 #eb8512292d07e1f1 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 #eff194bd41a7f3e4 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 #ef6bb16be120ac80 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 #bf86db2f09b2205f 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 #cbd514d7f997f127 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 #fd33112cf5f75eb3 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 #898c6321dc859a9e 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 #5445a372223ff8f1 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 #b0f658ccd901c7a5 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 #a6d67a21a1609bb2 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 #1170badf53249dc9 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 #bcdd270e0e700eda 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 #6826730759eacebc 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 #48e1cb7f4eed2640 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 #a374b6d756dce41a 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 #447672577dcccadb 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 #1b66909bdfc84d60 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 #75a912d5e4c4115c 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 #b51f7062a946d4bd 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 #0bf7ac9e41f463fb 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 #63d7bfc74e4ca9c9 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 #20aa4b212fbbeb68 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 #9b3e359cb51d6cfb 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 #62195c4de29d7359 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 #644cf4e0754acd52 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 #32ec4e7b080c600b 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 #ddb42a9a11f84cdb 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 #228aa3a28d86ffca 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 #0dfd0e296ab35bb2 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 #6794ecd9a162f891 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 #66125d86259d1433 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 #28b0a886a7abc732 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 #576f7362cd300b9b 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 #418da0bec4f08096 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 #847e9b3ca34ae08d 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 #4d28a983cc73933a 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 #a4ba8ce6a5888dfa 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 #d8614be334e75096 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 #2b0245dabbce4354 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 #c944b2ddc5e916c3 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 #9cf7cd9dc60b02ce 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 #67e7be2ec7cab147 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 #b7a18e16f683e58a 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 #862c7f16530f27c8 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 #1159ee4136f2192b 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 #db40a340852f55d7 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 #9f927cdfba9d8e64 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 #f89f663f760497d2 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 #7cad7ed3dab4e549 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 #656719170122f170 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 #e31e21327eb8b64b 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 #3c49b3a284ac6cbf 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 #3fe0c93dd51e3ae7 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 #66264e085c13284d 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 #b71a90bcff5e4517 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 #a31820c623b2ff58 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 #43b7e8efd908b649 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 #53151cf0cafb662e 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 #beb86d3264902e64 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 #270130b72c207513 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 #e04d89d3527880fc 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 #0da91495d9e16964 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 #56b19d999b185457 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 #203af079b7e79e3b 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 #047515542fafea2b 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 #85ea065f9de791d5 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 #5378c981a57bc645 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 #1fd53e9d5f5dbabb 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 #a74825c36f8a9f88 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 #21f8acdaebd0a14c 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 #0fe4dad6a5e0a5d5 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 #78a2b585d2afc4d5 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 #8ffafc46b77ef64e 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 #8c0d72eda17b1072 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 #340eec8d3dcc928f 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 #76ff902a87e2a79a 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 #6910fe0a9932e90a 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 #526b9d61b48b21c9 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 #ee6f5d96744246c0 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 #b77d716b9fe48793 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 #5b542822c3abc32a 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 #4819940f593c5c57 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 #19f279521f149b7f 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 #13c7a6e25c0e82d2 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 #00944229e38b2417 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 #f86540ef9a60f486 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 #145d3e63358706d2 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 #13d78e5852740c49 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 #0db44afd104b01fd 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 #a42a19efba713611 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 #1f13941b7751e7ad 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 #f1e4998289c9ae8b 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 #d78d99e3beaf2afe 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 #0d00a9c23ea37f29 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 #67cd1b1efc509c88 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 #caf3606122fe6c3e 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 #1dea83b924a9e82a 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 #43a5113c6f0909b7 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 #f01fc074a2b66517 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 #ae32b2dad427896d 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 #c605242f0ce9ba6e 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 #a6866331481260cc 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 #b77b44e961df952d 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 #e662601d257aac32 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 #85ed9378ea7c197d 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 #47e792812a2d9053 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 #6523267241fd8253 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 #c8b9487bfdc648be 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 #60cccb540da30587 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 #b481ec308f22b724 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 #c6263c0f0a629ca8 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 #98cd2204bd40d2ff 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 #2d8584418bcf0d27 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 #de43aa55d0e9c557 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 #90f2ef2b8596d8ea 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 #5a99b268a5ed1064 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 #67ebb8589d32f2ec 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 #49ade156ea32d377 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 #f51671435abd1b6f 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 #bf02fb9da178bae7 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 #65e3f8ac95d2f43b 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 #aada5ce952c90b7b 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 #60eefefec08e19e3 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 #b9f586998886c4bd 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 #114227a962460913 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 #c104f3088867797b 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 #46cd977895e32e31 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 #e1ad81865d724a0a 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 #ee163fe05a0f615a 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 #ec4c0b16a255c098 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 #0d7a98e83dfe570c 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 #9071397d0f79ef24 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 #fbe4ec8ca61b15e6 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 #919c8ffcbdaf4c1f 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 #c13fe9e944661ece 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 #82f854d3335ecb66 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 #b9e59e30b0b21641 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 #12aa9dee0a4df511 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 #e25991d8ad042348 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 #d775dd1e329437fa 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 #6e16dd624f2541b8 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 #846b90d55c7cb173 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 #c9bd5daab1f443fb 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 #5b15c6c7a28e719a 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 #02171926c5466e72 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 #2f641be968c1fd21 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 #958a50f9346d713f 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 #96b0ae12549560f2 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 #a6ed55d1c616bbfe 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 #06c20dad22f066cc 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 #1cdd4fe8296cb1e8 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 #797a08575d5e482e 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 #8b1210f0d6bb7bd7 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 #7f2bcc099b5a4109 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 #1c2f266c45d560f0 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 #1834e4e2caf3e3f5 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 #2d2c73b825fb4d0b 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 #5d97b848b35b5db0 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 #03424c4f37f73597 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 #e81c5290319f49a8 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 #dc5fc36f223066ff 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 #bd75df1ce88f5423 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 #d1df012f8e20f5d8 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 #63adeeb816d90fe6 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 #55df5d96591ec917 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 #9b208ec6aba21f6e 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 #cb60bd33be6ee728 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 #fb3489d7981277bc 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 #5426d48ac6896492 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 #37347739a6e79826 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 #275ad20247e37d49 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 #248a839500b2f8a3 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 #c4fcde1f92b4b314 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 #34a22b9cd5366a58 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 #655875c544f2dd06 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 #ecf89debaebdcc8a 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 #eb8854aa65716128 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 #b6d99ee72249f2f3 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 #1f74d067111a78de 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 #7834d21cc3283534 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 #ffe53bc235553ad4 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 #aabc0b6f56de1ffb 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 #6ce2c4af5d4c7977 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 #6b44b0a2a3511fe6 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 #4763328799e43113 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 #f7c0f9429925cc8b 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 #d90505b529595eed 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 #cd0f03fb014b57e9 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 #bd9d97a444b8cecd 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 #0da2f1491e55cb55 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 #23ca6ddf6e25cc3e 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 #231c53449cccecb5 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 #58a48913a7718024 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 #6d216eb4c37500f3 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 #a0cc3a5048232006 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 #a13baa00cd36dade 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 #2b72ef5ca844000b 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 #598097e0b9de8c82 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 #11e54b4f8dc6d4d1 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 #5b555d4580ac32e4 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 #d7770c71839ed9fd 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 #d0b7aa3d15c75c19 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 #188a4b89eab63051 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 #d93e037c527eb4c6 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 #c35d90dbbf25d1a4 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 #b39fe969339b21e8 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 #09017e9dd75d1ed5 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 #d83bacbcc2fa09a8 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 #c2fc67c55d910b09 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 #2bc93e3468fe67bc 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 #52aa69827d43dab6 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 #872b4b37669ecead 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 #cb08485cbbccf031 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 #a8a11297351297ca 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 #3eae5aaa5d7f8b5a 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 #a8232af4bf4999b4 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 #617ce3ba21667373 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 #2fbd205fcf608ebe 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 #0f0a8e376b5fdc3c 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 #ba74c7ff8d07b920 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 #4d1bb4589e2506be 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 #7443f2e6d322f81d 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 #ab0e161526de2bea 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 #2eec982ce7a1508a 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 #f6d9bbc299f9e037 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 #b54f3a495dc6ee44 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 #34e9bd19e01fd29b 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 #44520d4c53f0eac7 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 #d458309fc43b5794 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 #00ba7ca9a85fe343 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 #f099cfef50d918a7 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 #c97cc82cb7033c0b 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 #23f11951adc2dd14 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 #c5f0680c84247b13 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 #985a9d47327b095a 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