Close Open Privacy Scan

bolt Snapshot: commit b224c96
science engine v1.5
schedule 2026-07-14T16:12:20.534391+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 · 1562 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 1554 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 #e54ac7e5bac866c0 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-d_4dxrke/repo/core/http/endpoints/mcp/tools.go:203 → /tmp/closeopen-d_4dxrke/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 #c1f8f2abe14f2cbe 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-d_4dxrke/repo/core/http/endpoints/mcp/tools.go:288 → /tmp/closeopen-d_4dxrke/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 #d1a3bb1f4777e68e 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-d_4dxrke/repo/pkg/model/process.go:169 → /tmp/closeopen-d_4dxrke/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 #73256cc8fc078fdb 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-d_4dxrke/repo/pkg/model/process.go:169 → /tmp/closeopen-d_4dxrke/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 #e63876e871216ffe 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-d_4dxrke/repo/pkg/model/process.go:169 → /tmp/closeopen-d_4dxrke/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 #f183da69830f0ca8 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-d_4dxrke/repo/pkg/model/process.go:169 → /tmp/closeopen-d_4dxrke/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 229 low-confidence finding(s)
low env_fs test-only #c8e20af364764bbf 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 #5ce4b869326aaf9f 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 #3365866d6e43b6d4 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 #627b6c0d3d71e312 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 #dbf2be2069d71f67 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 #9dff5327fa4a387c 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 #7906a91424154bc3 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 #df2e3056581096c4 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 #1f03243c0710c896 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 #82e92d9b709071ca 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 #d8ec1310cfa16114 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 #37de6ebafdfc7896 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 #089f8c069036a6c1 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 #faeaac3e96b16ddc 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 #794d3bc6dbfa60fe 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 #94b79b8c681c25df 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 #e51a7b379e589491 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 #70c51564c58eadcb 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 #0e097ecc237121bd 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 #2dc9c0d127092ade 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 #6120e3e32caccc21 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 #84b88cb769e8fd79 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 #84aaaa022ef0fbaa 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 #94b22522a347e1e8 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 #fdaf83c8649d4d03 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 #eeb954e4c0623d42 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 #f5bc7ed1a25aa789 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 #3a0a9c2622cd7470 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 #da555c945cd98802 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 #780c28539aff6234 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 #e6b4a551659f6f1a 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 #64d90aed2c5f3148 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 #1ad05f60f796e026 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 #de978070cd596f1f 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 #358c519f5395157e 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 #304b09eb7a23276f 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 #3cc067805f40886d 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 #f7cda3f4c0ec761c 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 #cc56a828dfa42083 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 #bb66ede5b56a74ab 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 #d5e126d4efa97b09 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 #c27e123d1b8917b4 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 #84551704e09fac8e 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 #28f160493a8ca430 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 #a0f6838da40b147b 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 #97d89320a52f97a5 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 #bfdab1aa408d4f75 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 #3c893d410d374f57 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 #10439aae6ddd6e23 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 #ffde2ee61cdef69e 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 #f19218ebb0dc7e17 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 #3cae20d633fec6b0 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 #6d0e87c3c990101e 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 #0625e7936be0dcba 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 #8583f6f6a2b2b1ed 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 #535a5fa5b1bad833 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 #605c553d601dbcb8 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 #f0e288e3b702a847 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 #17f8f5c9ddd90f8e 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 #366805a2c205b92e 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 #cb6b04ae094890af 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 #abb8632ba2f65b4b 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 #c6fd46810f63117f 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 #063bdee6718113e7 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 #054f678720f66594 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 #15ce750f510fb74c 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 #9ef134e25a3c98fa 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 #5854ba28a4e8133f 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 #bbe4bb577fe57e77 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 #16562cdc113e2bd8 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 #3cb2db54db6d0c76 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 #b996181e941fb633 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 #24eb220e2ca19ba4 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 #01b2de8a2929195e 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 #beea4651fe47e915 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 #6fcc8a749fcc77ca 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 #3a7b5b8146d86232 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 #1dfc16a6789a411c 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 #f5ce6edc32c554e7 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 #53bf7cb576192c45 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 #fcecfb207092f8f5 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 #721f0e9b743a9ca3 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 #6878fe822959c266 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 #d3772d99e340f0ba 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 #3ef23b4dbb4c1199 Filesystem access.
repo/core/cli/run.go:286
			os.WriteFile(hostfile, data, 0644)

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

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

low env_fs production #3858eb322c1a4723 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 #0a6216764a4a6a3e 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 #23d97d9e8696e9b6 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 #0e8cfd6f4ba5b8f8 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 #3d160fc3c7e42246 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 #6606bd4248c544a2 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 #aaa11a62af4f0e69 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 #8995a7da8935015d 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 #094cceb45700cf8e 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 #126b079572a7ad68 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 #2db1041504cb56bb 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 #d681bb23cceb6348 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 #156fce1652650dfb Filesystem access.
repo/core/config/model_config_loader.go:84
	f, err := os.ReadFile(file)

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

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

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

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

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

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

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

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

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

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

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

low env_fs production #c4b602e823750d42 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 #8a6e22abfe936326 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 #d36741d7a24efeaa 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 #38f42c723a3cb9d3 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 #116c967b0485389a 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 #d2dfed0206f70791 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 #1f07a2991f8409df 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 #c3a4e9d4d4eb7dde 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 #0b07221b62712c5d 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 #650a788498da59bc 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 #728b37fd03fb2f4e 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 #3ddf4261c185ebb2 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 #cb4e381ace87b068 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 #efbcf66e858fedbb Filesystem access.
repo/core/gallery/models.go:218
		err = os.WriteFile(filePath, []byte(template.Content), 0644)

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

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

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

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

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

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

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

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

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

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

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

low egress production #21637820a7b20fff 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 #3c8c33975cb808af 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 #17d0b8f84407c02c 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 #9bad6f64b120c321 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 #38c31f8d916eb68f 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 #26517f393fad3e07 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 #1469c101a4ecbd76 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 #eedfcaee117d5c89 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 #6fc7cd2a67e15f7a 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 #c4e1b397b7d835fe 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 #7db0dd466b0b8722 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 #1a829c0db0ec048f 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 #9130a0bf3feb55e4 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 #36e5df83bce06786 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 #42cb74ee737b812c 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 #c871d4c00c98ba53 Filesystem access.
repo/core/http/routes/ui_api.go:981
		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 #5fb1594c3b043cb7 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 #c23309613b4662dd 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 #6e7463de6c01b403 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 #9166ffa18800be2f 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 #7c438c160f565c5b 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 #2bc16f1df80612b5 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 #13de45d2492285bd 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 #3e7e2c7b2061cb55 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 #c68a6d520fb6ce18 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 #4052e25df391ec56 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 #d994402feb9638c9 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 #a56c0e714829e067 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 #994415d292511a63 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 #f9c5ac52efc5ecaf 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 #990f57c47a96d6a2 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 #ea0500f4f72012de 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 #993e886c1683aef1 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 #d3d6117c5d3b4a7b 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 #12a9a158126b1297 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 #e9f4a680d163547c Filesystem access.
repo/core/services/galleryop/models.go:184
	dat, err := os.ReadFile(s)

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

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

low env_fs production #79d86916ff598ffa 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 #6c0dcf1184b9ced4 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 #b5b8d748aa6e3c2a 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 #08a04000ddb8f075 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 #d4bba3ba953c7bac 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 #486e6077bd979a54 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 #1f5e28748819c24d 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 #8c74cfadd7a765a4 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 #e572d3a84e8a8059 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 #18d6835e6d5380a4 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 #19aba0c86b156493 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 #edd1cd17c492dd5d 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 #87cb4a716daa6066 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 #3edad59d7ecc946c 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 #e52d8a93f4cd4a31 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 #46ad9aeaf1abfc77 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 #471203b55118dd31 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 #faf8eeae5b702d13 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 #bda8a2bc8ab2b2d1 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 #930d9876dfa0a45d 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 #c30e26b00c0b589a 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 #f94ebc73b034d10a 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 #d4d77062423d7ba5 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 #f3585b607b8c6dde 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 #0e37678cbc2bd9fd 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 #dac219a1b135bd1a 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 #9bcbf8c393bf00de 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 #5fab7691e14a45a4 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 #c0629120fc075e53 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 #8528428fe982c844 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 #446702327027f6e1 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 #ba071c95dd43049c 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 #7eb543fcb5fc1e3e 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 #811a31c4b4d156fa 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 #8639da5da74bad45 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 #cd020947a9ec313d 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 #5788e378dfa4710f 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 #14166fe2d56f5427 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 #942aaa04802ab7b2 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 #d4b2acbb5f3d6a60 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 #612b4c294927d663 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 #c3f49caf15fa13b8 Environment-variable access.
repo/pkg/downloader/uri.go:114
	HF_MIRROR := os.Getenv("HF_MIRROR")

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

low env_fs production #0f2088fffc55ab53 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 #c761dcb651027feb 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 #81260957b8ad0bb3 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 #96b9f6969c75b304 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 #7ec6832ee75d5750 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 #daa86bd9f9efd11f 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 #d651e434e02b0e5c 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 #f03a743aaf7df9c8 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 #c1b664fb64fc6777 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 #3146a956092bfba1 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 #fa4aace0da9cde88 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 #56e26c60985f24f0 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 #16a65a8474c0bf07 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 #015baac9a7fc7140 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 #2939293cd430ff27 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 #ed960a20fd330909 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 #66aefbecd0b56321 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 #d264e1a2e3f9d040 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 #212583defd091c1b 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 #f5578f5fd7c12113 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 #6be90ebc5fda0389 Filesystem access.
repo/pkg/xsysinfo/gpu.go:840
	if data, err := os.ReadFile("/sys/devices/soc0/family"); err == nil {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

low env_fs production #cb7d60e2806d7430 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 #a6ed311cdda43f8a 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-d_4dxrke/pkgs/go/[email protected]/examples/server/distributed/main.go:89 → /tmp/closeopen-d_4dxrke/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 #7d2ad3bb3e386117 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 #3e8eca6359be855d 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 #d6bf37aa35e5807f 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 #d0e912e1ac34adb2 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 #3d653fe0218d83bd 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 #6350b0367f44253e 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 #d0ce7ac29cd7848d 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 #6c61fc418fdad9c9 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-d_4dxrke/pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:520 → /tmp/closeopen-d_4dxrke/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 #00041bc248402441 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 #82a6f61ece95b5e5 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 #5efaaf4cc1f54186 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 #e37edb04dc159f8c 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 #5c07f609ea23e3fb 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 #98016c851fde210e 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 #ee9224db201a7251 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 #1ba055d808dc9306 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 #34311c1b4fd8eaac 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 #106499a1be256110 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 #e096d769c15f6a6d 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 #0a0c5fa0558eb0a1 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 #519ddb342372038f 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 #862ea342d8aac51b 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 #d4771cd8dc78e7b7 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 #27b074e55d126392 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 #89d5089283d533f8 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 #f1e90a5cf94d60cc 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 #dc334dcb53dfe510 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 #8674090e8093a853 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 #a783b9f39a07d31a 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 #9aaa973164f45fec 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 #a669cbf8ed8bcf4a 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 #00c50a191d7a41dc 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 #4f759342ba638c5b 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 #0767aae5e029291e 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 #61557346728bf19a 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 #9f117994da938f14 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 #b59957bc164dae8f 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 #704e2522336452f8 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 #68d94f518eb43a18 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 #e73dd5d7f760fd18 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 #16df7a99d13c4a92 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 #0cabaf49799015e4 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 #5315563b656761af 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 #5e76610a6c6d5f5f 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 #28b916dcd25bd664 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 #cf81376e9d74348d 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 #c7eb1b5db834d08e 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 #d781d733d9bd6758 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 #0b38f190efa8a813 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 #ee801f3235f021d7 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 #49d9ede37ed3f25a 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 #743ab9502c4fb9dc 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 #bae6ba3f5a97b94a 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 #403d729f84d71f87 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 #265d51d528bd3afb 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 #460ba9e1f8ecb1d9 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 #62005a15cdbe9763 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 #05a37ab7d9db58fe 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 #ff9943a3fb00863c 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 #c5484eb6aced215f 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 #51b44e50f0d4c348 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 #083776c7bc89a853 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 #82be62a9420bbb81 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 #b18473d26af0e28d 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 #c9d29b81b7cb3e0d 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 #25b16569449d2591 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 #5a1c17d99fdfda70 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 #998f4ed93dec72f5 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 #e9b5b09d6cbafe90 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 #fdb59de84c74981d 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 #f9630e03b78390af 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 #2232f6d98c68bc11 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 #dbd5e67c6a572adc 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 #157742cfe9ac545f 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 #5f767c875a9f37e1 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 #8be1cfd3d789899a 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 #75299b94a8c93e0a 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 #dad80ca9c28223ec 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 #d2342c21c8da50b3 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 #fda377a9819e77ca 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 #7f82b86259dda444 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 #8aa7f83da391e049 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 #b9c4a840496b91ea 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 #270e24a6e508d076 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 #ec070a811752952f 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 #a1eaea63d00da215 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 #5e6270b8f26c4ec8 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 #7255265b897da9c8 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 #be70b29e14c06e74 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 #840fa9ba8fba8bb1 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 #66a8ac5091cb0d51 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 #675306228f96a94a 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 #f5aa79b148b01157 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 #c53cc642a961b1f1 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 #1b29bbc80e35f721 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 #e9a1049ab3c017cc 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 #281fb6602fdf319f 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 #58450c50fbef535a 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 #1fa17ac18f3239d9 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 #27c1b230e41fc965 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 #b0a2abec4095283d 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 #bea01fd154ec5605 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 #8af9f9ab8bf9ad2a 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 #537d0089bd60514a 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 #41f466487513309e 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 #3def72d2726bbe27 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 #66d99d320438e4ca 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 #94ebdb061ed63258 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 #d63915e0d81bf60a 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 #d200aa71715e44b1 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 #1ca178eac0d6a859 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 #25df528f8e4f7c3f 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 #2b2c7351336d5d46 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 #4367d53b5bf32481 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 #6925cc17851b9f78 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 #566d118c1619fc72 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 #a75df76c2d377564 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 #43dc73b4a2f3f76d 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 #342b0f88727a4546 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 #7df31c2a42f406ff 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 #2b503b97c2e8d21c 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 #b275e4ce5ada9b72 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 #307417ef080568d7 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 #74eea80c5f15521a 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 #fc17e5f690e53162 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 #50c1600e1c75fb38 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 #e4e3f615530674bf 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 #c0cd0710be137d6a 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 #2511dbda06623add 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 #be4f0fc8fc98cb25 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 #4d5aa9a560fded21 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 #aa60554c8aa4db84 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 #1e90bb1e855f5e14 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 #1f2e87050b2fb21c 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 #22381ef1a217a7f2 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 #08b1a16b42295259 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 #bc10245c5c597746 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 #9452e41622ddd15c 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 #4a732dcd9c62679f 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 #1eeb74da28f92bb9 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 #86f9c341f6c8332d 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 #10a60489e8d6fdd7 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 #73ba6c92e67b3f9f 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 #ad1570a7dbdd8eb8 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 #73c6d6950f1e2aaf 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 #09bda093bbec28c8 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 #1485fa841cf50924 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 #4f8d8f41852a021e 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 #7cfb6838449a32c3 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 #6785d8b1aea9d85b 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 #9e2b89d0767f3a1f 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 #1b2001b18d033fb7 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 #d2398db29942651b 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 #8c4b5e9d9d505bff 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 #b2c97758ec013df5 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 #5f9ab7eea407194b 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 #23e94a3367a3b1a3 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 #c79495195042a669 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 #e14a1988f7ba1287 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 #680c6665628d8365 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 #989d5c501c850341 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 #397e7ed134b4da10 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 #106a918f92be07e4 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 #46152d378439cd61 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 #ab958fbfc56702c4 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 #cc0dbc9ca5a4abd3 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 #e7aad034ab122461 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 #a96fad7f6498d84e 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 #dabb5377331f0265 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 #b1725a7c1edc8dd5 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 #9ef463fad1cf5719 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 #b9ea1e3736b7a4a0 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 #761d59b3cb5b0914 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 #9b545c006b26ca16 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 #486d60df55799b0a 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 #27312e0bc6fa32a4 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 #8ca7eb03ce98fac5 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 #df2f578f897360d7 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 #94e83c323458d8f2 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 #a6e4c97894252539 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 #6e3c8bce80b82398 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 #a414b8965f40bf2b 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 #3882d72b7b48638b 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 #0240614164cb20f3 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 #55256b58939a4c83 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 #415f7b691d10111f 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 #006cb02287027481 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 #b3c8224ddf63a918 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 #0af55e0069c3439d 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 #74d7db4f2ed2e919 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 #36fa5e6218932579 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 #9a6c296c8caf183c 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 #052478b682aa9d04 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 #e4757917fb6b9c6c 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 #accc08d149cbb9eb 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 #1e458181050430de 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 #c22d33cd165f9028 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 #21c1b30ee4c5201c 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 #a043bee28f65f0df 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 #689a9bd403e20a55 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 #434d3bf7eef73355 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 #a99889ea7a81e84a 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 #acf03b091f2404f9 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 #d0683d298a2bea27 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 #afd59d377cb80ade 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 #3114948feccf8622 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 #8888b62230669930 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 #ce04ded846c170eb 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 #516c8ec345e93f13 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 #ad89744ad482d02b 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 #3fa0db712bfeb84c 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 #4b30d6729627ec6f 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 #9adaa8c01804975a 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 #942b4341c45b68d5 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 #0e0ac8dcb68b89f4 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 #04842bc84660c33a 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 #a4bff444afe76187 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 #ecee4079aa8294a4 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 #167a40ea6f581964 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 #6f65175795eca3ca 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 #1d715e46f78afebb 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 #0363fe14f91b474a 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 #94b403fdb4b2db2b 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 #cb84de1aa406a793 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 #7808d342476df743 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 #04b746441fc68a5d 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 #ec144b7311cfec0b 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 #4f3a784f4195872a 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 #2edcd2563a5916f2 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 #2bbf5d591124c22e 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 #d0a29d242c7100ab 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 #e8b14ea41a90cae6 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 #9420642ac489aab6 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 #b7d81ae988e23c63 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 #4af9166ca8a76f62 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 #4dcaa5963979b2eb 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 #86a97b09d83a0a42 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 #15324996dfc5ca56 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 #7dea89c00b395014 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 #1decc1b6c12a11c5 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 #b431e813f7bb6b1d 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 #089330d91e605db0 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 #6fbc985aa153db53 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 #60331fca0b04c716 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 #ebd00d318c320af1 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 #45fcda4599022ee7 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 #28d0aa9859c61683 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 #e2433c014f7a35dd 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 #3abc463845625178 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 #f6e6b4d5f0fc7cb1 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 #6abf5128489e65ee 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 #c4b414e5183b77ee 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 #bd74f8e5feb4a940 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 #46710b2f1f7410ea 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 #76fe9e7cbfc67f83 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 #aed121b26df37bfa 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 #00c29538a3848b0f 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 #4abf5e790ee1a431 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 #9e91feb9748ab165 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 #1a223ff1ece8814f 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 #7d8d9b9b8ea3937c 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 #b5cda54873994aa9 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 #768734560e0d74dc 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 #9fc765e83247597a 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 #2f43323beef73f42 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 #aa844dad649fd7ee 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 #64f851001f6f6b8e 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 #11255ee50efd57ec 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 #8174b42b9c037ad7 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 #a19efd7a2423c2e6 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 #171cf6d959a42318 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 #0deccf199928a81c 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 #f3e00b38e1063939 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 #88d52196b82c8f05 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 #f6b25e534f273d8f 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 #d1fe20cb13f6ab0b 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 #b269f0924c28e719 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 #efc79ee398bcbbcd 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 #de8a34667540326e 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 #de300bced815dbbc 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 #33168fef7f0b2703 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 #b0d815fc31fea89c 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 #d522e1646adc16b2 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 #46f40a2454723fad 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 #cd727135eabe181a 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 #61c8d78b3750d6f4 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 #b5fd53886f255e2c 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 #1ba7ea1b3cf57390 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 #97c5f2529dcb5f46 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 #74859b9356e875be 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 #5eb319a2f2e61596 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 #478136d14d6f8058 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 #61cbb9c7f85fe16e 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 #38637b4837432624 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 #1bf5b0d081e82ac6 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 #09ce86976e3399d7 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 #cd4f4ec082d73585 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 #cf10fe6cd60ab8a1 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 #4c88f432398899af 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 #7c9a5fdc3fd970b3 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 #328a1116dd8c8076 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 #fc72d4bc9a23a0b1 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 #c747b83ecf6c8d2a 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 #f40e94d7a1eef505 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 #a2bdfca34cc54229 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 #aeea4059c66a484d 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 #56c10f7dbe9c0599 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 #cb2815bfba67d034 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 #08ad37f8352969d9 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 #0c5b4da1df64e5ab 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 #3064cc81e1176845 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 #9d39dedb51051e21 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 #be7ea7793149d88c 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 #27d95c33b020c076 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 #c17518acffbce75a 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 #e3e16c469053de62 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 #bbe8fe9ed221d8d2 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 #a18d088452a1c831 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 #fa9eb7fef5d57ade 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 #c69f047b2f28359f 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 #6aedbb9b59058e2d 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 #02b7a69ca399ecbd 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 #71d5bdf334656848 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 #e7ec6327d8a4dc96 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 #24f52c294e2e3fbe 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 #00dd762045b65e50 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 #b8c06ed3cd610410 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 #8d12e4aec9250d82 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 #c0b61e61dcef246b 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 #2eb4fc32cb1dfdfc 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 #a3fd8abfb705cfa6 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 #0a493f27ec8958c6 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 #39055e5b2c21b9b4 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 #3c7fd894f52fce47 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 #058bb2849d7e9b8f 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 #198876f0b8ac552d 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 #13ae98fbfd061bf4 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 #b10fc73ef46d4c63 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 #0bed67efd3c5aaeb 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 #69e8923f8d2ad692 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 #d75d496f09b78d83 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 #0e5afb81e47f1164 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 #db3715972686cc04 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 #a865f8ace103d7f6 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 #b4185f1ae8cb0d95 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 #30b9f2410153ad55 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 #6ebf340679661a02 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 #8ce50362cd47aa66 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 #3be0e746e3b50815 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 #9628dc1475170799 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 #f7bf7af4da20a9be 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 #8a0b4f9b94183c1c 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 #d7f781965d56431a 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 #43870787c7961f81 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 #195810c85421a2bf 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 #c88668e002b8c507 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 #193fbd41f8d12501 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 #f61465d8b623abda 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 #1e6ebad4c7014803 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 #e1e8cb7325a8b1b2 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 #a0f203b3a6da54fe 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 #7f25118a5a9109a2 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 #0bd6b9b114726114 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 #fac2a88cbb4f60cf 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 #4f277ed86bf7d328 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 #e26ed3b86a49661a 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 #81db27510f75050d 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 #efe8a482c4bdbf8a 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 #f1f9f3c4b1066668 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 #f4059f8df4c9d053 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 #aa481b5dabe90499 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 #9ea586109e0f5693 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 #c54859d295a8879d 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 #5c25e415adb92269 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 #5b653cf9973b5366 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 #387005ab97cc3a41 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 #b34e49c54fb06cfc 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 #b536d6f78128f595 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 #fccd70ade9ea9945 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 #82f0bd5906b0c797 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 #08d6362a3d21f667 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 #d955edd47325259e 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 #23fc1babd5b0ec8b 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 #00106fabea40db5b 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 #03130a873b96a7ed 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 #a463b860ad2b93f9 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 #51faa92664450d29 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 #e79db5d084979f9f 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 #ef5993bc9cd9480b 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 #b37539a59cb5c3d5 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 #ff8fb6927424ac02 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 #eec4899ff08da37b 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 #866cb18ae40151b1 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 #e83c4362eaa571d2 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 #1d920da01fd426c9 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 #f64db782efdfa6df 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 #12e3fad305ff2979 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 #8bbcdfa86738f7fa 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 #7d23be7c79135f8b 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 #f1242496c0cf430d 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 #e178648b099837eb 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 #12171c27cc6c6b78 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 #475b2bf056b691dc 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 #1c7b1dbc4c6fd6f4 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 #32588f7bbb4946d9 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 #d97625ff51a8bacc 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 #1dacc26af99bc035 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 #dd6c6a501b29e900 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 #01935c8ab0fc2fe9 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 #d82b8d7c9b68f767 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 #fbd43ab867eb04c2 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 #f0be8450dca9ae36 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 #b1da1602cff8c464 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 #09e4a821c661c1e3 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 #b4a3abed438199c7 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 #d03bfc2b306d1d3f 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 #4fc940aef7fba310 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 #b0c2b8a2a5b2a0ee 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 #867b65fd39194b7e 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 #abcfb200ee8d042b 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 #f7d2b3c9ec608498 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 #62bb2c560c55b3cb 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 #e0ccbe14705e77e2 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 #99ddbf8bc1e41b0c 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 #6f03c8ad74bd7a31 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 #74616076d3afc294 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 #6c0f348c19a6b401 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 #0e4a6c2c7c47a439 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 #bd60430022161906 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 #0929900393d12605 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 #25c153e26c6793e8 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 #8d21f1c624159bea 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 #6b4c855932eec84c 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 #8f24e51f3b81fac0 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 #b9dd3630873a9b2e 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 #21f58610638e73d5 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 #e36085cf1d0a878d 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 #be8c77a4a6ecf2d3 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 #27707682eaf22f74 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 #acd1acfc33437fd1 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 #eba37f4812d5d62e 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 #831fc0429447eca8 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 #c2bae3a801118d86 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 #c8428a5c6114f0ad 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 #9c962b3da3bae532 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 #c9fada55a9e4dc8b 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 #90eeb7c4e0f901c5 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 #953e3f123262be22 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 #543a0afc4273cc01 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 #42b70eec69648da9 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 #bfb5f53528a2f0ee 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 #a6e65f6543f8ea2f 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 #a6ee05bd2cf3f33b 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 #ed409631e578fdbe 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 #8b936f3b40803d9f 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 #8b2bb3cf112a609a 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 #1f114e83d1337046 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 #5d07816c1b0d1495 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 #b730ed1ed9fb91cf 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 #249d5f9c59deb25e 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 #f7ce8140fa541746 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 #b7a027a071c27e1b 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 #4ff4c2fea9d8cdb1 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 #064c4b8f7df72622 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 #c2987da2eef990b4 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 #4e77feca9ff7e337 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 #375edc2c7f67a08d 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 #58608d3e1541c2dd 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 #ceed1ccb3d88478f 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 #1189d2ec7c7bff07 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 #086063e66539d77f 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 #1aa22431d6323cb3 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 #6e84ac5fd545bfa7 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 #e323758382a5fc6d 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 #ab96dbfc67042705 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 #afd178e32758dfcb 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 #ae65439d1719bede 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 #2927ed5fd6d54b4a 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 #fd96ea12c9bbde2e 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 #c5b358d273e27252 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 #984e4042cf39e4d8 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 #d644aaf5058946ca 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 #b549e5667c96fafd 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 #d2af43fb79bed781 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 #6548d9c9d27ff06f 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 #decca55b6e8812dd 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 #438f50ea98fe4f9c 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 #e1b849401f25bcf9 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 #10902cfa0d9626cb 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 #22c9a1f07fb3123b 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 #297008667ccd6a21 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 #481abb6581534cf9 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 #1dbb88f90fccb2ee 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 #dcc8a8d91852dd1e 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 #fb4fd2721bd5eaf7 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 #907ae55b9ddd9abc 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 #2a17e829a5002bd2 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 #3b884c0248007652 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 #205e5074a5037c26 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 #7d5491961bd7690c 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 #8bea8657390f7082 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 #6b560122bf1941f7 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 #3734c378eab3015e 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 #88cdb72cbbf1cb75 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 #475eeb1a4cfc7978 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 #e8c148aa03b7c8cf 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 #acd08791c440fa7d 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 #15ea0b33be91e6e3 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 #849e3a981a744b6d 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 #45ed1b294acd7b35 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 #299f9f4ca6ed9ded 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 #25dd63413cfb9eb3 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 #160f9832f903e8de 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 #9ebb28a7c0a2f7e3 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 #e70244b838606e30 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 #27f5e87909cebe5b 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 #050a6b25f4967a95 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 #a6f654a10ec941c6 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 #61f0043b53cd09f8 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 #df70337f4afc7f6b 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 #ce36909fdc1490ca 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 #a8c02f82848cb68e 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 #efc06b15d6691770 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 #969ea0f15a392044 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 #e5980be5194277e9 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 #14042897b69f315e 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 #0ed50f211a640003 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 #850460caf7ed8976 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 #28663b2db896b847 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 #4b4f82a7cf736d19 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 #c17f89a45f4492f7 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 #e3ef89a3860256bd 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 #0146e6436d7ce45f 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 #aac1a85e7a1a9e6b 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 #da86c74591714cea 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 #3c93a237290bd887 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 #091ec78d8856a29b 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 #bebfd3be5e6745b6 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 #d8471dbad7261b7b 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 #3144330a9e123f78 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 #90fde09f90220c6a 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 #6657f25338940836 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 #e09865a3b7525d7a 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 #3d6979468616db5b 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 #a25a74dbc25cd85a 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 #025aa516b7e4a4ec 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 #e0de37fec2118555 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 #c3afa72e07c67f20 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 #b8d4242900417bdb 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 #4361ff163a77afd4 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 #5166e09275541a2b 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 #fce94926fc0301f3 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 #b76ab5a0d07cf419 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 #221998e9766877f8 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 #3b80cdf89f3bdd33 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 #266fafd7e4ecfaa9 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 #74f0b66a98faede7 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 #3d54b86ce5c79db1 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 #8e9b9190e0d682aa 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 #2d20af93446a1b5e 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 #84e4c3ac2802583f 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 #2e7bf0beb26a419d 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 #06c236ed01d9d2c1 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 #9b4a47462290dd6a 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 #3da2b6b537c59b90 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 #74a2358969efb212 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 #cda17914c8a12e5a 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 #cdbe503496c5bb17 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 #03b1d47bbd6d793b 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 #c7fabb1a4ffb7dea 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 #d77f93a4b973a81f 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 #467cf1536e303b82 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 #068dc09311c67c65 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 #878057d32af9d994 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 #fd3d191fdde129db 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 #f60c6b54d029769b 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 #e789f879f7962406 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 #4a6eb6be8576737e 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 #5a87c41d819512cd 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 #30a89c0c52558342 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 #03ba10b5e4b149e1 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 #5536934ba81f740f 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 #2c4ee1a18368329d 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 #77616dbb7b55ef5d 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 #07d87ee8b2f1e0d9 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 #cd029ae6c745e166 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 #b09049475932eb11 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 #90ccd850701a7fb5 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 #28b61e92150e4ea2 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 #19b95fb3a12ef1b6 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 #6833bdb57d8fc88f 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 #775ab7df4b835aea 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 #b262502edc9f4c05 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 #0ab27c2872b412a8 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 #c2c29e2c9c07e441 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 #74b83d9ea9b0baad 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 #1017c98b6e5c3e25 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 #ed751a495807bd02 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 #ec9308bff3750c3b 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 #10be13a94afb8366 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 #f8a5723a81de4d02 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 #60bdb9355fbca87d 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 #805b5a110e574291 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 #d308102bcb6de8b0 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 #0699c765b4a1d8c2 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 #3bb36639ac0e4438 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 #cba0807c24c44663 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 #044b6ee4bbc4cbc1 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 #528d7507f2b5dec0 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 #b2e4e700a416f810 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 #27eb14f161161088 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 #f0b8bacd018b0dfe 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 #9c7ac514eac27535 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 #480489237b262e94 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 #210c6dc5b93da102 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 #0ab10b98cb684cf4 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 #6ba4ef9dd052a10f 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 #11d2e3fa3487ebfd 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 #bf05dc2d2d9dffaa 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 #6b55cf9c639523f2 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 #81bb3bbbf462af0f 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 #e58ccbfda94addc9 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 #4b1a4e4075b32b6b 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 #d91dbb815c281999 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 #e23ee5d571ec2800 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 #82193c31395a3262 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 #20f48cffcdc4d807 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 #a484f8375d474a0e 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 #80817b643df92aca 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 #30046f133fe278c6 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 #ce9714b312f447f5 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 #84abb197a8f77e2f 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 #e29dc72ec65e43fc 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 #7a6c97b3db4b0fc5 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 #a5734a7173864f79 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 #7b88bc339bef2c8d 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 #8eeccd5c8abb4b7e 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 #811be84710eab616 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 #9d724eca8c3c1ed3 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 #102a3305dccb290b 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 #6d7c17b2361b6ff9 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 #cf36f00dc41a0f73 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 #2a6a6e8056439428 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 #0f5770c0fb9985ef 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 #af7ccba05282d3be 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 #ab7d3d004a862014 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 #c2d154670e25f253 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 #8db2df697adc3fa3 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 #971d6f652f68585a 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 #b12892a2c0257c86 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 #c4dd243394898987 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 #f8db2b524c6854ea 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 #df5e6e32f5a12187 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 #d701a208053b18b4 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 #407af0d5199237a0 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 #ec213b7d17883edd 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 #b37ca956eeb4449d 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 #483fe7a5d6522634 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 #9fa7c3b773cc38cb 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 #54e05a7e69158058 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 #221617d1f1e11c6a 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 #8bc0d0cfbd3932e8 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 #81cd7f1d9906a6b7 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 #6c6cbe1bd76cc690 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 #45f250db8c45a814 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 #05c49e460990b166 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 #68a9afa6a024e538 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 #941baca8fcc18dbe 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 #85e3a56edf1c8c0f 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 #f7ea241c843e7479 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 #ddea1191f469462c 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 #f4d1b7730515e504 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 #c741142f76c5ede7 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 #1fd30ff674719cb7 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 #18a16420f141ce86 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 #1bf43d3649ac343b 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 #98cfd2f328fcc4b3 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 #ce4f9182d66b70a9 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 #00cefb1c6cc46143 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 #0a178be85f9a3b85 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 #17c2461a64b4dc23 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 #c6898dcbf8a678b5 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 #3da848be11275514 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 #5d284e2d11b4d63d 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 #f1f098d867c17112 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 #93d7eb860dca5393 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 #65fce4c90865674c 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 #bc040d8aaba64215 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 #4d99e053e2df63a2 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 #236ae5d6b8222d40 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 #913eab5d9148e2a5 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 #96de7d100d34d064 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 #d5f36487db5549c3 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 #e74cad79c1d11554 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 #2e67ed2ac14bfea6 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 #6f0263b9e71aeebc 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 #b9f6c68f4ba463cc 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 #3172a729e4123be1 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 #b2094a8a48049583 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 #b51565ee7d0aab8b 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 #63a7267af085f39e 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 #a6b8c98d1de2c119 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 #fa45d589f5ca78ee 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 #dbabf334443286f0 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 #14d680ddb7245b4a 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 #3f2c087f15081934 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 #a3b8e9a70395150c 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 #063c69b620906d1a 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 #96e765cfce3cea54 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 #85e6ed39cde1c917 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 #a1e2a2a0455e694f 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 #0b9d0a0f32ac7930 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 #78edce46de3df9d2 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 #61016721f311061c 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 #0365376ab63f8a21 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 #79b438d11d202540 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 #0d50fd5852249f85 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 #f91339fe6516b18f 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 #7e0f8a6708cde83e 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 #63f60bc56ad860cd 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 #f2172c7386ecc4c0 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 #e85f3797233e2143 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 #534ff3ef7a042b65 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 #733530fd85ef8ee0 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 #fd9afac165341f03 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 #625828e658ee8cf6 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 #9dc670054a4d1f47 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 #176d3325b390b128 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 #6fbe431963db7694 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 #8e18d51cb189d21b 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 #9faad66112309c12 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 #59e4d204664cbd49 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 #2f577955da9276cb 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 #28ed429320286bce 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 #1c7a67eac4eaf828 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 #2c2e2a77e03341a7 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 #5b6b63e2530dc61b 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 #c1c05a5a31bf3f18 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 #a5f10003be85cd8b 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 #e784f1cc5a2f7b68 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 #c4d5bd0905a5a5c5 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 #e9d5240a2a8d43ef 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 #d4475adc60a7703a 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 #bd611a9f6c1fcb3c 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 #de20d1536cb991c6 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 #8a1f449df8193c13 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 #cf0a5cd5e4a176e4 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 #3585a5418f312347 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 #9f686e6d64284a64 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 #497a60819c69a4fe 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 #6bf79e7252805c49 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 #b4b6711caaed9f4c 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 #1aec2d10539a824f 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 #1d059d33f9c1baf0 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 #bda1df278a096d5f 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 #ac6e45a1160d9218 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 #e05c411872fa89c1 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 #7c1b289b14e78688 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 #d6f3a8bc0efa2954 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 #b22cf992d972c334 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 #390bb588d3e9f478 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 #31d3ec9657ecfed0 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 #b94afb15881d539b 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 #17c0bb55660c13e2 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 #f6824cf2321376da 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 #34ad5192692e6893 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 #c3c3f3bac2e085a9 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 #d0b8aba9486d1072 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 #025a49c5331f2298 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 #85606964b35edd0e 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 #038af92e90c5dd05 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 #96d539dd3c9d4a4a 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 #a4f75663975edb8d 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 #3bbb97c41c8b55bb 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 #82e82e284c9a896c 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 #c8d275bc7739a2c1 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 #5ee2e492e6a7f255 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 #84c16c3a56a33df5 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 #5f42a40e63daafc0 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 #e72622061fc7db26 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 #17a77f6758ad6295 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 #78b0871e2da990ee 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 #1f3bc7d81e0b7e0f 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 #73823588b966aeb5 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 #084b605b9502efbd 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 #e1ed3819bf881327 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 #a05d4bc53a89aa0a 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 #c80b4b6cbf0d4e70 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 #5898d73fe09de73e 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 #6ddf7eb830b7eb0f 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 #5b31e07cc77d6ff3 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 #a0d4c6bd23d025a8 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 #34dc3b176ab431a6 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 #4407b1ddef9f121f 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 #7ce335deea2f6b73 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 #ada3410722d8e764 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 #f00c810532346531 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 #55627fa813f9b3bd 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 #6db343fa45d8a2dc 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 #dffc37035ada5cd1 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 #15893fc1407bb988 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 #1b24bc0ef9adc021 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 #e3fdb5f4b2a656bc 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 #0cdb5341ab2063e3 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 #3e9ea63c5b9b0733 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 #f402294693d1ff76 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 #ab3d0699274db1e0 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 #c4cf5e34cc42f21c 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 #94c783c981d526f0 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 #5b42097f797bac04 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 #a44b3ddd95eb4652 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 #c37a62f17fc767ad 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 #2e255abbccaac095 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 #91ba5a1f6f904c7d 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 #8c7df643b37cf54b 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 #7dd5b0db9999e3ca 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 #471de95023a3c31c 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 #43b35be630807dda 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 #b614cde4d8f1dd25 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 #47d54d7c43004a42 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 #f606ae458903d67a 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 #a124c0a55e0dc67f 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 #d7a49394f3bf3d44 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 #871f53a0181ccf20 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 #bdd8858ddcef552d 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 #ca330edc5916eff9 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 #992b5c6dd0d9bd53 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 #778ab568a06def44 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 #10e3e03057a48144 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 #36104cd3d8e90246 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 #ffafa50e08be1214 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 #ac5accd07913c6ee 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 #399d7c48c77bfa9c 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 #10c7fb58c317aba0 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 #ca500ce688b8873e 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 #c95b249b1d459529 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 #6504cb2410a5925b 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 #bca6184175446415 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 #ef1f38ac92c0fe4e 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 #b2fb3c5482d0ff3c 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 #f1c0866fe364926c 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 #54b61a072bb80ba7 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 #2bc45ffd028e9a62 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 #93a8986f8fd7722e 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 #f7e39efb60cb384d 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 #7eb7d16551d6b818 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 #88071e811c14463b 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 #51cc4c81a13e6b41 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 #8f6a7254c4020ec8 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 #ec7beba27842656a 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 #ed3ee2a6df9a6d58 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 #dbe3be6ad43e4459 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 #07e6bcfe727fac84 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 #9a4df8047a6455c9 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 #131adb44f1f8c38d 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 #4ea1c3c22e49a607 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 #fe5c7aaa9cb942ef 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 #018d2c29488dee42 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 #5389b67602198b28 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 #63f4b7a29affd78c 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 #d14e536a40ffaca4 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 #d2130d4e9606ca10 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 #2a613f5b1b3f5d87 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 #9050d02f31e411fe 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 #f732445d8e4a2a19 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 #869fd49894a1b9f6 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 #8a4e45329b114533 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 #f2c706bac1e292e7 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 #05c847d7280cfc13 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 #b61d13c8ccdb8cf9 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 #e1be39cdf3a36f0b 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 #2ed22709693ed5a9 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 #77ea261bbb5f0f15 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 #cf476037bb8c4abd 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 #c2aa1696efa3c68c 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 #fce3435209176f8d 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 #ac036a32545ed9bb 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 #3c203564881fccca 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 #f5c9e1f06c6c4e2c 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 #0a18006a2d2b8770 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 #b3fc561ddee1eb72 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 #2fada740b7a440cc 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 #bc15e91fc75f4e22 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 #446ae5ce981a75dd 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 #ce560f8c5995720b 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 #2bb4eb8e507dcd05 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 #680e9c3028898f7b 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 #edd53612352c8eee 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 #76120b3764382d74 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 #153c0a0eb14db9a0 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 #d928d31b768487fa 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 #9b9372e4cc15dd08 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 #6ee35b8e9a33121d 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 #42baf4df23aeb25e 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 #d66a63d3931da3a1 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 #fd964dda77da7f84 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 #79d32467a2804ee2 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 #f28535f694640b43 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 #e24f5db6b8363e52 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 #0175843699a324de 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 #81de5e507beba770 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 #cb22b5f26e5c51c3 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 #deac617182371ee0 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 #6429dff404c8bfa5 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 #95126c376ffb05ff 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 #fa515e8d593302eb 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 #97a93095fc9626b5 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 #691606a586073d1e 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 #fc9ca427b882acbd 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 #c8ca442d2c44b907 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 #a2cc7b14775ccfed 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 #ed53be13c38c5a8d 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 #d7ae3192cec54451 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 #20d2153c6368b4fe 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 #3548083b72ae6a92 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 #cfe82f83293869f2 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 #fa18aecd1f8caf8a 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 #d1bc2b7c530399b6 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 #28727d7c811b1f3d 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 #73f62c911074769e 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 #4a42e0e7e3443acf 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 #5f55432e951a2f05 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 #2c708157d2755002 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 #370937bcae2e2963 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 #953a088e0bcc4d52 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 #f6983c0cb36f488b 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 #a1f067c7a53d84b2 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 #3ca7448417cc70ac 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 #6b53f72da5450759 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 #3e48a6cb86088d6c 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 #829e9aed89526e4e 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 #3c382b95bd350d09 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 #83ab2bbd7e6f4651 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 #eac645395ee49cab 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 #bfdc9cfd4a472f4a 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 #f069c5eba6b8d634 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 #542330e18a9ec3ee 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 #4c393dd6977f16ef 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 #265324041d0f4cb8 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 #8498456094e1f5fe 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 #a961aefecdc7699a 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 #f08892e7ca3fe019 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 #9138c3fdc13a1696 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 #0029a1a2af4a858e 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 #b7f4a4323aa14219 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 #1f2c60e5d678a289 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 #619d7e53504886b2 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 #07deafba7feac2ee 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 #27f55f5130527782 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 #701136e511eef62a 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 #dc5dbb954e21ce65 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 #a4ad028881c41332 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 #ccdf13761bf83163 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 #c9f161b3ee23571d 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 #a636edd444bd6a89 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 #a6fc1d24bdedfb9d 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 #b7e061fe3304290f 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 #2c7fdd65ffa31eea 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 #c54804eea5d320ba 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 #18e1b19eb2c64e6a 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 #2a06a80e82faca59 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 #5cb5aeab45c9e526 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 #f3c009a20d3febdf 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 #4f46407b8130374a 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 #93b33dc6d01de923 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 #02d18d373d7f8eb9 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 #edc44d413479727a 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 #6b588b17d9b40f75 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 #a04ec7f403aa4480 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 #df60391024af17b8 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 #fbf8a403de946156 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 #5d443d5736853d1a 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 #8a984ee8a763e62f 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 #9eb371359515bd35 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 #2c837f76950448ec 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 #ebfda4aa09916bd1 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 #ce4ee257b4ba7472 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 #69516cb63a83e013 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 #f96263e63626964c 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 #47b3cee49c6e2957 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 #069d1e6f1544ef9f 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 #1aab284bcd1c6f37 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 #53f203165df10a46 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 #4cdb2fffffe35082 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 #f814def2acf512d4 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 #b26e2a6d7236f425 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 #f46d5e6f4174a418 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 #81cdacb64d8f775a 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 #b01d5346f878019d 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 #76519bc30ab52375 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 #08a7606e603ade89 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 #3d07c565a1bb1d3d 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 #e311eae4c4903cb0 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 #d633f69769da9379 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 #47754a5ba9bf6aaa 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 #589f5196c6e67704 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 #04bd96cd6fd619ef 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 #550c9a2ce6b2a389 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 #7bbfeac7b909a18c 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 #e057eeb7be464913 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 #f12e0b3f3ae2d137 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 #c13d1968361e9681 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 #b65d4e984ad3a4aa 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 #fc4b20c68462d145 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 #c1b6f7267835eb70 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 #d1448482f31fc288 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 #283e3af4f2e911ce 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 #add232298c003fb5 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 #979c522f3ecb168a 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 #824a9d2f603212f0 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 #dff1f7f7d3417382 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 #d15c73f823de0d39 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 #36b8f68c2a2c121c 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 #558a2191474c62bf 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 #3fd7f7d5486ae9c3 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 #05f143bf224cec40 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 #d202d149691db5ad 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 #7c9ee8d345024fff 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 #f212c23a1ac355c5 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 #11c4c13be6547f3c 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 #43f86166f74aad75 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 #1627c0caf2bfb37e 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 #dc71184c347b3ec0 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 #381d409b85052342 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 #1adfdc1f4745d8cd 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 #05d7c16a08170dec 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 #575b5d4561597245 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 #fda4a9d9320489bd 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 #927d2bb6d2e18a93 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 #f83f5f4216250ab1 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 #8a1556b3ce1cdce7 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 #eb66505b8f0368fa 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 #989b816cc5f2df8e 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 #57e899c5a1dfc77d 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 #a86c931105337668 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 #d27468746e96f783 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 #bc5c5b7d7a840a2c 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 #28257dbee46572de 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 #36ff9c99bbb67020 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 #5f2b8a8c04441d97 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 #aa1c963de7c026d8 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 #aaf2b0652a7e20be 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 #e18521cc47332036 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 #7fa3ae68ed28f51c 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 #a667b7ac32742271 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 #96e1df7178b81918 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 #a0166e99717d2838 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 #429e455e165d7520 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 #07c8255c9d97ce07 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 #3f9cbdb58d9ec82d 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 #2deef9608751c465 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 #8d478be49b916138 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 #e244d61ab278a789 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 #3d5fada8ea07277c 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 #36a0eedf14cd9ce2 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 #0558e9499b3c3137 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 #cef006be9182169e 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 #12e7bbbe2d242073 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 #86d844b08ddbb17b 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 #494ba443dd2a2714 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 #b96a31040421c990 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 #ea32ee3406cb2bdb 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 #0ee1c395d2c2d9dc 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 #9f7eb78ad0228847 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 #2be86faa6219e1c7 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 #3b531828ff0e43c1 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 #e24aa2781f6c1031 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 #ad639e99a55d98e6 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 #9acad53dbdecd74d 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 #bac40f3efad7ac9c 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 #e85405a887bb5058 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 #515ce5334cd9e0f4 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 #a417bcae6f221265 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 #e680be10a160e1d4 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 #e982e3fb5d89701a 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 #45597b7441cbc061 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 #ca39c73ee7b3efbc 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 #57de2681ec4e0da7 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 #45b429a7aa235c4c 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 #0a3d51ee98759d84 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 #d18c5c69ab9d8128 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 #d8066b8c48f087e0 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 #f7bb9e573f878c20 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 #b0d06097e82b0ca8 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 #eccd2382907adc59 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 #97c58ad781515d28 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 #acd0509f1c5ee58e 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 #ff9edf4abe18b008 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 #0a70dc4705206398 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 #e563154179c7c31b 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 #d684c8f43ed5f365 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 #6838bff32e277da4 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 #8809b865f07961cd 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 #c70c70c9fcd016a6 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 #84e9f625da8035ef 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 #50f995d7c5f86773 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 #6016feaef3b6599b 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 #86e4cc5439443703 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 #d61fbcb7c7047087 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 #d56e49fb2428bdf6 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 #051c003de2859215 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 #149e5e4bea614872 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 #6cca9040b0fc46c1 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 #ffd5a613b2c40cbd 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 #45a487b0e450a727 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 #c27a0868abbfa795 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 #c6012f6cf664b5b8 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 #b20f050c868a28b4 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 #306ff1f072bcfd7b 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 #5a59050fb42b7837 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 #d0eb349f21707b93 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 #bdab24bbfd575032 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 #1c4567ea77f70dc2 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 #b9a2f9b5bf0cf0d0 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 #933a15552c1e99b1 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 #ee78c8a47cdb039f 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 #b2bd4b96adf24788 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 #d9ec6712051d668f 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 #4169123fb07747db 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 #db0b211d0ec0ec4a 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 #702d6a281049fb50 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 #56d0a5753c0b39a5 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 #746dad7b236c1872 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 #49866787bec9173d 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 #bd651f0e03e5c7b3 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 #5433fde84bdb868a 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 #4904d5cbd2f9230b 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 #9762c8b4733792b9 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 #cead90264da34dfa 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 #c60f208a7c878abd 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 #72806e40f38d7a9b 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 #3d61bf60a2c4c64f 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 #c9e888cf5f639de4 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 #20cd1199e4c28b50 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 #3fb5f79ade390f0f 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 #bcaca7e10c39c28a 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 #9c4970157e263221 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 #a3f0d95082205d80 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 #9fb0f003c20bb678 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 #aee8e656946cd633 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 #013b536dfb0d3e38 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 #90083a8dceedc0e2 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 #f1d119feaf0621ef 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 #0a279c094d044f9d 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 #5e385ef3baf72619 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 #e09d3b6d325d2dd2 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 #0b08bbeb79448e6a 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 #62cb172b15f792a1 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 #d4633dd4ac105fe8 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 #42b8bbc022675fc0 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 #d4bcc87c655e164d 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 #5b79ded55010920d 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 #3f507a28218602e9 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 #2f04edc892797980 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 #02f1b79db104f91d 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 #878b312bce569d15 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 #0b62afb195c44fe9 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 #9b2efd552a4c4870 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 #633ff4f6cfdc68b6 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 #a66328af90fcbf68 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 #471655735fc5abd3 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 #685dffd6c4946f1e 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 #d503766a11a9f8ee 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 #f1e22afc811c5e9d 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 #c6a8f7a59822c0fe 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 #c11a575676423362 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 #d50a4b3e35223981 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 #e6b1dfa3dd16707e 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 #b1c35ce861e59756 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 #1a4865ff5923ec81 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 #1a2861f4be5891ae 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 #354fca6f7674f45b 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 #1ab22e78951f31af 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 #39a6308330b371e0 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 #2ff09f7ae8c73ebf 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 #59ee91600b5bf8b2 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 #ad4877670e6fa71a 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 #027205876c319ea4 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 #114de5dd8cc1a98f 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 #739655ff8517915b 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 #1f48405665d28492 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 #8d3f6f8cff0236df 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 #e21b632511d4ac58 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 #0a9ea3bf296d1737 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 #becade68774aa6b9 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 #c5cca6ead4e21946 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 #c69b15db4a7c403b 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 #cbd152a3178d10f8 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 #69337d981b90ced7 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 #586c3521ca865285 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 #ed09f8b24376697d 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 #cab9d709b9d40878 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 #2144fcf222782e11 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 #7f74340023b21852 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 #127a6843c982ecbc 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 #b820a572634fb815 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 #017ac1fe3622eb8b 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 #05a1a1a79f2f65f4 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 #151b7a6e165be573 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 #e03969358175722b 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 #465dce327b6265a3 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 #08db1336e74473bd 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 #47108950eecf2c52 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 #666dd7e5aaa7ee57 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 #590e2b8f5c1be5d9 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 #343eefaf597e4c5a 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 #67625003d741032c 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 #1468e94135be5208 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 #e1cb3af242b16366 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 #8a87a7989353c385 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 #a5f8327d1046d2e0 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 #bbf26e0ca34f4634 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 #d7f496d08e424047 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 #943148fa146b82cd 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 #151fc1332c7aada9 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 #1153be58e459919e 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 #246ac55ab984da9c 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 #8740aabec26ae7cb 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 #4e5a5d13768e0e39 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 #92ae09fa84a301b3 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 #72337fad1966fc6e 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 #b58506e2558ab948 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 #834afe9e997bdf81 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 #b6e6e7c4259e53a7 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 #17ced20b401747ad 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 #6e5d0c726ba5692b 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 #d1730e15db00941c 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 #a7fc4dbe3a44ffec 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 #b366bed026ce440d 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 #685295a0a132ac58 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 #43cdfae1e0646b83 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 #0be50321a538566d 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 #b3a35c9473d295aa 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 #0372e4339f9c5abc 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 #5ad7f79bfce07727 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 #2b884ca4b577da5f 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 #a59aaaa057e77041 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 #804490d35c30ef30 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 #c929f7412bf73a80 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 #a1d781b29e1b1774 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 #f75a9fccb82dbb2d 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 #883cd0bedc0aec12 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 #e0fecdcbba52de40 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 #31908319de634bda 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 #6431c653e49834f1 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 #b24a7ec19cc92ef5 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 #6b2d7b220db8293e 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 #d9015a571bf26b0b 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 #2f47b3621231c3a9 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 #d3999693dd5da228 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 #3cc388aeb006210b 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 #209d03400b9e8740 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 #21b2670f2a028a48 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 #a4cf16120638873d 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 #5278cb3bfbc243f6 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 #831ecb1eb6c0089e 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 #670e32e1146294fd 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 #89f6eccf5a560300 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 #6f74175257cb9d25 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 #67e4b30e78989195 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 #4f31b6300cbfacd0 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 #f941044f25a14532 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 #74980db502b35cfe 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 #17ee530aef14083a 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 #7747e033c5c71f90 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 #1069ecb4288d79d1 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 #7f5d935f147e6c7a 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 #ae54ba99ecd7f602 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 #031dd261db2280e4 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 #5288397d16f0c9c3 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 #660890c87e83a46a 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 #f23e61592f8a50ce 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 #ab55b4390de7dea3 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 #82310c67591e694a 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 #060f206e650feeef 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 #db26bfe440e9152a 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 #2b6318e8e8896855 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 #e11d02dfb17f0720 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 #3c67e7118c814278 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 #b9eeaedb3a967a98 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 #b4228f179ca8a36f 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 #eea2b315d4d52c97 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 #e774cb37b0b13030 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 #92187591101dc8c7 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 #d3759290bcaa4d5a 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 #e6a7b68d101b0e40 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 #b6535c5f28cb3350 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 #c16367ce27f6c16e 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 #607a72b89eb2ab85 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 #de06e5e4f835ceec 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 #e305476b796f719f 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 #0ebcfb9d2a984432 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 #5aa3d43190a5c0c3 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 #aad7f6f9f4e1885c 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 #c2bfb34f3ad9433d 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 #cf006c8d9b036ce5 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 #1a01d4c7b4dc95b2 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 #d6b228e9884ed52a 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 #0b783d2bf93e71ad 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 #6571ad0d5fde7c40 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 #945288b62008b624 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 #76d584bd3014d524 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 #a86edcc3b4b1171d 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 #5e769564b77454de 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 #eb49d1bef52d458b 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 #b1455b856aa1c69f 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 #94dea2c573e9528f 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 #90bf4c5121fdf69e 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 #006c6f24905e03ce 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 #c59f544b598b853b 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 #41240a43b748cdeb 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 #b62117af96c182ee 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 #f6b9dd26a6f6a603 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 #e512ef10c209253c 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 #aeafca8d02d7bcd0 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 #91e1b45c8e58220d 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 #3b4f2e57bc360d7d 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 #54b54353b3baa768 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 #2cd035cfd86ef765 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 #b46bf190110c3ca8 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 #e227e31d8dfeba62 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 #5297d4726a86bef1 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 #cb545751d161d453 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 #e16ecab79560258a 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 #7f8a41035e6bf4d4 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 #d34973cbb3c60baa 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