Close Open Privacy Scan

bolt Snapshot: commit 981f706
science engine v1.22
schedule 2026-07-22T11:15:46.350516+00:00

verified_user Possible application data leak

Potential data exfiltration identified in application code.

smart_toy MCP server detected: github.com/mark3labs/mcp-go — detected in dependencies, not a safety judgment.

App Privacy Score

22 /100
High privacy risk — possible application leak

High risk · 952 finding(s)

Dependency score: 12 (High risk)

bar_chart Score Breakdown

pii_flow −60
egress −15
env_fs −3

list Scan Summary

0 high 15 medium 937 low
First-party packages: 8
Dependency packages: 44
Ecosystem: go

swap_horiz Potential data exfiltration in application code

External domains: access.line.meaccount.health.nokia.comaccount.withings.comaccounts.google.comaccounts.spotify.comacme-staging-v02.api.letsencrypt.orgacme-v02.api.letsencrypt.orgalpinejs.devanyquery.devapi.airtable.comapi.amazon.comapi.atlascloud.aiapi.badgr.ioapi.bitbucket.orgapi.clickup.comapi.dropboxapi.comapi.ebay.comapi.fitbit.comapi.github.comapi.hipchat.comapi.hubapi.comapi.instagram.comapi.line.meapi.login.yahoo.comapi.mediamath.comapi.notion.comapi.odnoklassniki.ruapi.paypal.comapi.pinterest.comapi.raindrop.ioapi.sandbox.paypal.comapi.spotify.comapi.todoist.comapi.trello.comapi.typeform.comapi.vercel.comapi.x.comapp.asana.comapp.clickup.comapp.raindrop.ioapp.rakuten.co.jpappleid.apple.comauth.ebay.combackend.userland.combadgr.combattle.netbitbucket.orgcdn.discordapp.comcdn.julienc.mechannel.netscape.comcloud.google.comcoda.iocodeload.github.comcompat.spec.whatwg.orgcreativecommons.orgcyber.law.harvard.edudiscord.comdocs.anyquery.devdocs.astro.builddocs.docker.comdocs.github.comdocs.hypermode.comdocs.netlify.comdrafts.csswg.orgformulae.brew.shfoursquare.comfreshmeat.netgetpocket.comgithub.comgitlab.comgo.devgolang.orggpt-actions.anyquery.xyzgraph.facebook.comgraph.qq.comhacker-news.firebaseio.comhacks.benhammersley.comhg.mozilla.orghn.algolia.comhub.docker.comid.heroku.comid.twitch.tvindex.docker.ioip-api.comissues.apache.orgjson-schema.orgkauth.kakao.comlogin.coinbase.comlogin.live.comlogin.mailchimp.comlogin.microsoftonline.comlogin.uber.commadskills.commcp-go.devmedia.tangent.orgmy.netscape.commy.theinfo.orgnews.ycombinator.comnid.naver.como2.mail.ruoauth.pipedrive.comoauth.vk.comoauth.web.cern.choauth.yandex.comoauth2.googleapis.comoauth2.mtls.googleapis.comopen.spotify.compagefind.apppicsum.photospkg.go.devpodlove.orgpostneo.comprismstandard.orgprql-lang.orgpublicsuffix.orgpurl.orgpypi.orgraw.githubusercontent.comreadwise.ioregistry.anyquery.devrssnamespace.orgschemas.pocketsoap.comschemas.xmlsoap.orgsearch.yahoo.comslack.comstackoverflow.comstarlight.astro.buildstatus.discord.comsts.universe_domainsvgwg.orgt1sandbox.mediamath.comtailwindcss.comtrello.comtunnel.anyquery.xyzuploads.github.comvercel.comvitess.iow3c.github.ioweb.resource.orgwebns.netwellformedweb.orgwww.amazon.comwww.dropbox.comwww.facebook.comwww.fitbit.comwww.georss.orgwww.googleapis.comwww.gstatic.comwww.hipchat.comwww.iana.orgwww.ibm.comwww.itunes.comwww.linkedin.comwww.mozilla.orgwww.notion.sowww.odnoklassniki.ruwww.opengis.netwww.openstreetmap.orgwww.patreon.comwww.paypal.comwww.pinterest.comwww.principalproductize.bizwww.sandbox.paypal.comwww.splitwise.comwww.strava.comwww.w3.orgx.comxmlns.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/controller/llm.go:347 repo/controller/llm.go:442
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/controller/llm.go:680 repo/controller/llm.go:948
medium first-party (go): plugins/store-manager 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/plugins/store-manager/main.go:107 repo/plugins/store-manager/main.go:119
medium first-party (go): plugins/store-manager 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/plugins/store-manager/main.go:107 repo/plugins/store-manager/main.go:276
medium first-party (go): plugins/store-manager 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/plugins/store-manager/main.go:107 repo/plugins/store-manager/main.go:284
medium first-party (go): plugins/store-manager 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/plugins/store-manager/main.go:107 repo/plugins/store-manager/main.go:310
medium first-party (go): plugins/store-manager 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/plugins/store-manager/main.go:107 repo/plugins/store-manager/main.go:321
medium first-party (go): plugins/store-manager 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/plugins/store-manager/main.go:107 repo/plugins/store-manager/main.go:381
hub Dependency data flows (6)
medium vitess.io/vitess 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]/go/vt/vttest/mysqlctl.go:98 pkgs/go/[email protected]/go/vt/vttest/mysqlctl.go:101
medium github.com/mark3labs/mcp-go 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/oauth_client/main.go:31 pkgs/go/[email protected]/examples/oauth_client/main.go:89
medium github.com/mark3labs/mcp-go 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/oauth_client/main.go:31 pkgs/go/[email protected]/examples/oauth_client/main.go:102
medium github.com/hashicorp/go-plugin 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]/client.go:657 pkgs/go/[email protected]/client.go:780
medium github.com/hashicorp/go-plugin 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]/client.go:657 pkgs/go/[email protected]/client.go:827
medium github.com/hashicorp/go-plugin 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]/client.go:657 pkgs/go/[email protected]/client.go:880

</> First-Party Code

first-party (go): plugins/store-manager

go first-party
medium pii_flow production #ce67e8af6a9d7d80 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/plugins/store-manager/main.go:119 · flow /tmp/closeopen-0rb5h2fx/repo/plugins/store-manager/main.go:107 → /tmp/closeopen-0rb5h2fx/repo/plugins/store-manager/main.go:119
	fmt.Printf("Using user: %s & password: %s\n", user, password)

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 #46054697feb63e6a 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/plugins/store-manager/main.go:276 · flow /tmp/closeopen-0rb5h2fx/repo/plugins/store-manager/main.go:107 → /tmp/closeopen-0rb5h2fx/repo/plugins/store-manager/main.go:276
		fmt.Println("Uploaded file with id: ", id)

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 #fcfa53f37d17cbed 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/plugins/store-manager/main.go:284 · flow /tmp/closeopen-0rb5h2fx/repo/plugins/store-manager/main.go:107 → /tmp/closeopen-0rb5h2fx/repo/plugins/store-manager/main.go:284
	fmt.Printf("Uploaded version %s (%s)\n", plugin.Version, versionId)

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 #dfe61c233a1b3db5 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/plugins/store-manager/main.go:310 · flow /tmp/closeopen-0rb5h2fx/repo/plugins/store-manager/main.go:107 → /tmp/closeopen-0rb5h2fx/repo/plugins/store-manager/main.go:310
		fmt.Println(string(contentReq))

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 #4a854b2c3956ca17 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/plugins/store-manager/main.go:321 · flow /tmp/closeopen-0rb5h2fx/repo/plugins/store-manager/main.go:107 → /tmp/closeopen-0rb5h2fx/repo/plugins/store-manager/main.go:321
		fmt.Println(string(contentReq), length)

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 #7d1ce8fcfb144cae 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/plugins/store-manager/main.go:381 · flow /tmp/closeopen-0rb5h2fx/repo/plugins/store-manager/main.go:107 → /tmp/closeopen-0rb5h2fx/repo/plugins/store-manager/main.go:381
		fmt.Println(string(contentReq))

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 4 low-confidence finding(s)
low env_fs production #89f910fcf01aa97d Environment-variable access.
repo/plugins/store-manager/main.go:107
	password = os.Getenv("ANYQUERY_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 production #58aaa29619b1816c Filesystem access.
repo/plugins/store-manager/main.go:156
	rawContent, err := os.ReadFile(configurationFile)

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

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

low env_fs production #d3d38dcee85ee467 Filesystem access.
repo/plugins/store-manager/main.go:340
	readmeContent, err := os.ReadFile("README.md")

Reads environment variables or the filesystem — 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 #463da44622ad08dc Hardcoded external endpoint. Review what data is sent to this destination.
repo/plugins/store-manager/main.go:539
	req, err := http.NewRequest("POST", postUrl, &body)

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.

first-party (go)

go first-party
medium pii_flow production #5cc16d2676f834e6 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/controller/llm.go:442 · flow /tmp/closeopen-0rb5h2fx/repo/controller/llm.go:347 → /tmp/closeopen-0rb5h2fx/repo/controller/llm.go:442
			fmt.Printf("Authorization token: %s\n", bearerToken)

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 #fa160a9bc7a4480b 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/controller/llm.go:948 · flow /tmp/closeopen-0rb5h2fx/repo/controller/llm.go:680 → /tmp/closeopen-0rb5h2fx/repo/controller/llm.go:948
				fmt.Printf("Authorization token: %s\n", bearerToken)

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 36 low-confidence finding(s)
low env_fs production #0a80ced9cd07e816 Filesystem access.
repo/controller/config/registry/plugin.go:265
		out, err := os.OpenFile(dstPath, os.O_CREATE|os.O_RDWR|os.O_TRUNC, file.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 production #fd2437bd8420dde4 Filesystem access.
repo/controller/controller.go:56
		outputLog, _ = os.OpenFile(logFile, 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 production #992fbd312ab4c0ca Filesystem access.
repo/controller/dev.go:372
	mainFile, err := os.Create("main.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 production #83223f52e631965b Filesystem access.
repo/controller/dev.go:389
	tableFile, err := os.Create(moduleName + ".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 production #9779559bdbe93817 Filesystem access.
repo/controller/dev.go:406
	makefile, err := os.Create("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 production #174effe8244f09c6 Filesystem access.
repo/controller/dev.go:424
	err = os.WriteFile(".gitignore", []byte(gitignoreDev), 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 #dfe3f3bf9a12b683 Filesystem access.
repo/controller/dev.go:430
	manifestFile, err := os.Create("devManifest.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 production #8ac8af4926f3b202 Filesystem access.
repo/controller/dev.go:447
	goreleaserFile, err := os.Create(".goreleaser.yaml")

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

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

low env_fs production #9161eff3b76e66e8 Filesystem access.
repo/controller/dev.go:464
	manifestFile, err = os.Create("manifest.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 production #dcc52abc28c911b0 Filesystem access.
repo/controller/dev.go:514
	tableFile, err := os.Create(tableName + ".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 production #dbb7020951327e51 Environment-variable access.
repo/controller/llm.go:347
	envBearerToken := os.Getenv("ANYQUERY_AI_SERVER_BEARER_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 #8f863e6e9292f752 Environment-variable access.
repo/controller/llm.go:680
	if envBearerToken := os.Getenv("ANYQUERY_AI_SERVER_BEARER_TOKEN"); envBearerToken != "" {

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

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

low env_fs production #bfa47ed1ebb36301 Environment-variable access.
repo/controller/llm.go:945
			if os.Getenv("ANYQUERY_AI_SERVER_BEARER_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 #84b967bc707069c0 Environment-variable access.
repo/controller/plugins.go:114
	if os.Getenv("ANYQUERY_SKIP_REGISTRY_CHECK") != "" {

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

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

low env_fs production #908c2360569c3850 Filesystem access.
repo/controller/query.go:64
		outputLog, _ = os.OpenFile(logFile, 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 production #df2209775f29dba7 Filesystem access.
repo/controller/query.go:183
		file, err := os.OpenFile(outputFile, 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 production #09ba141769d8b526 Filesystem access.
repo/controller/query.go:223
		file, err := os.Open(script)

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

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

low env_fs production #1dfb0840953be731 Filesystem access.
repo/controller/run.go:152
	content, err := os.ReadFile(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 production #8eda12a87e0b2b5d Filesystem access.
repo/controller/run.go:530
		file, err := os.OpenFile(outputFile, 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 production #b8689a4c5dce85ec Filesystem access.
repo/controller/server.go:85
		file, err := os.OpenFile(logFile, 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 production #e230fd727b9fa99c Filesystem access.
repo/controller/shell.go:169
			file, err := os.ReadFile(pathToRead)

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

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

low env_fs production #0430a1f433abe63b Filesystem access.
repo/controller/shell.go:228
					file, err := os.OpenFile(confPath, 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 production #d7a842d682ccdc97 Environment-variable access.
repo/controller/update_check.go:154
	skip := os.Getenv("ANYQUERY_SKIP_UPDATE_CHECK") != ""

Reads environment variables or the filesystem — 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 #d03a6d07addd72b1 Hardcoded external endpoint. Review what data is sent to this destination.
repo/controller/update_check.go:188
	req, err := http.NewRequest(http.MethodGet,
		"https://api.github.com/repos/"+updateCheckRepo+"/releases/latest", 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 #9b0ab929d5170af6 Filesystem access.
repo/controller/update_check.go:226
	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 #d8f3062bc754d232 Filesystem access.
repo/controller/update_check.go:245
	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 production #7f1090b6e3329439 Filesystem access.
repo/module/helper.go:117
	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 #b13c5830d26f7666 Filesystem access.
repo/module/read_html.go:107
		file, err = os.OpenFile(filePath, 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 production #701a67b610d3459d Filesystem access.
repo/module/read_log.go:64
		file, err := os.ReadFile(filePattern)

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

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

low env_fs production #e2f3386b12a5e045 Filesystem access.
repo/namespace/developer.go:67
	rawManifest, err := os.ReadFile(pluginManifestPath)

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

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

low env_fs production #206193cff7a848f8 Filesystem access.
repo/namespace/developer.go:107
		logFile, err := os.OpenFile(m.LogFile, os.O_CREATE|os.O_WRONLY|os.O_APPEND, 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 production #482ae5ca629d2a32 Filesystem access.
repo/namespace/strings_functions.go:30
		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 production #af9f6175a6124b19 Filesystem access.
repo/other/sqlparser/goyacc/goyacc.go:3294
	fi, 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 production #7246f159655b6720 Filesystem access.
repo/other/sqlparser/goyacc/goyacc.go:3303
	fo, err := 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 egress production #32065c7ab5024579 Hardcoded external endpoint. Review what data is sent to this destination.
repo/other/tunnel/client/create.go:46
	req, err := http.NewRequest(http.MethodPost, requestTunnelEndpoint, 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 #43f4382326bffa96 Hardcoded external endpoint. Review what data is sent to this destination.
repo/other/websocket_tunnel/client/create.go:55
	req, err := http.NewRequest(http.MethodPost, requestTunnelEndpoint, 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.

first-party (go): other/tunnel/server

go first-party
expand_more 4 low-confidence finding(s)
low env_fs production #e5e28911613c3fa7 Environment-variable access.
repo/other/tunnel/server/main.go:28
	if h := os.Getenv("HOST"); 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 production #c1f89a66af666121 Environment-variable access.
repo/other/tunnel/server/main.go:31
	if p := os.Getenv("PORT"); 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 #74145a56a272ee6c Environment-variable access.
repo/other/tunnel/server/main.go:40
	if dbURI := os.Getenv("DATABASE_URI"); dbURI != "" {

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

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

low env_fs production #d0eede71e758d997 Environment-variable access.
repo/other/tunnel/server/main.go:44
	if pd := os.Getenv("PROXY_DOMAIN"); pd != "" {

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

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

first-party (go): plugins/calendar

go first-party
expand_more 1 low-confidence finding(s)
low env_fs production #0c65b4c25ecb5135 Filesystem access.
repo/plugins/calendar/icalendar.go:162
		file, err := os.OpenFile(filePath, os.O_RDONLY, 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.

first-party (go): plugins/chrome

go first-party
expand_more 1 low-confidence finding(s)
low env_fs production #88c4236d177e80ee Environment-variable access.
repo/plugins/chrome/history.go:22
		appData := os.Getenv("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.

first-party (go): plugins/edge

go first-party
expand_more 1 low-confidence finding(s)
low env_fs production #e0262903aca5f069 Environment-variable access.
repo/plugins/edge/history.go:22
		appData := os.Getenv("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.

first-party (go): plugins/homebrew

go first-party
expand_more 4 low-confidence finding(s)
low env_fs production #9091767e94cbc8d1 Filesystem access.
repo/plugins/homebrew/api.go:40
		file, err := os.Open(cachePath)

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

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

low env_fs production #b98e69645e7ed763 Filesystem access.
repo/plugins/homebrew/api.go:153
	file, err := os.Create(cachePath)

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

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

low env_fs production #1c026ba798b710a3 Filesystem access.
repo/plugins/homebrew/api.go:191
		file, err := os.Open(cachePath)

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

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

low env_fs production #2080c72124bf1c50 Filesystem access.
repo/plugins/homebrew/api.go:307
	file, err := os.Create(cachePath)

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

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

first-party (go): plugins/rss

go first-party
expand_more 1 low-confidence finding(s)
low env_fs production #825189f211e0cd4e Filesystem access.
repo/plugins/rss/rss.go:136
		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.

</> Dependencies

github.com/hashicorp/go-plugin

go dependency
medium pii_flow dependency Excluded from app score #bac731b9c485bb21 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]/client.go:780 · flow /tmp/closeopen-0rb5h2fx/pkgs/go/[email protected]/client.go:657 → /tmp/closeopen-0rb5h2fx/pkgs/go/[email protected]/client.go:780
			c.logger.Info("plugin process exited", "plugin", runner.Name(), "id", runner.ID())

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 dependency Excluded from app score #cfc72fa97982b77e 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]/client.go:827 · flow /tmp/closeopen-0rb5h2fx/pkgs/go/[email protected]/client.go:657 → /tmp/closeopen-0rb5h2fx/pkgs/go/[email protected]/client.go:827
	c.logger.Debug("waiting for RPC address", "plugin", runner.Name())

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 dependency Excluded from app score #5a83e358d8a06ebe 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]/client.go:880 · flow /tmp/closeopen-0rb5h2fx/pkgs/go/[email protected]/client.go:657 → /tmp/closeopen-0rb5h2fx/pkgs/go/[email protected]/client.go:880
		c.logger.Debug("using plugin", "version", version)

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 24 low-confidence finding(s)
low env_fs dependency Excluded from app score #d63a5b919bda0166 Filesystem access.
pkgs/go/[email protected]/client.go:344
	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 #c35042e12fb9c6bf Environment-variable access.
pkgs/go/[email protected]/client.go:657
		cmd.Env = append(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 tooling Excluded from app score unknown #2f38414d65181227 Environment-variable access.
pkgs/go/[email protected]/examples/bidirectional/main.go:32
		Cmd:             exec.Command("sh", "-c", os.Getenv("COUNTER_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 tooling Excluded from app score unknown #d260a11cf9390c6f Filesystem access.
pkgs/go/[email protected]/examples/bidirectional/plugin-go-grpc/main.go:36
	return ioutil.WriteFile("kv_"+key, buf, 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 #171337ff48f4b4c6 Filesystem access.
pkgs/go/[email protected]/examples/bidirectional/plugin-go-grpc/main.go:40
	dataRaw, err := ioutil.ReadFile("kv_" + 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 #781fc7ab7091af8f Environment-variable access.
pkgs/go/[email protected]/examples/grpc/main.go:22
		Cmd:             exec.Command("sh", "-c", os.Getenv("KV_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 tooling Excluded from app score unknown #34414cb3d0bf7463 Filesystem access.
pkgs/go/[email protected]/examples/grpc/plugin-go-grpc/main.go:20
	return ioutil.WriteFile("kv_"+key, value, 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 #3d23a7ac6913f3a5 Filesystem access.
pkgs/go/[email protected]/examples/grpc/plugin-go-grpc/main.go:24
	return ioutil.ReadFile("kv_" + 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 #3cd1823f6a8e6dff Filesystem access.
pkgs/go/[email protected]/examples/grpc/plugin-go-netrpc/main.go:20
	return ioutil.WriteFile("kv_"+key, value, 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 #67a5a7a4763ea9be Filesystem access.
pkgs/go/[email protected]/examples/grpc/plugin-go-netrpc/main.go:24
	return ioutil.ReadFile("kv_" + 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 #d2ec428de729fdc0 Environment-variable access.
pkgs/go/[email protected]/examples/negotiated/main.go:25
	switch os.Getenv("KV_PROTO") {

Reads environment variables or the filesystem — an inventory-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 #1d85b5031c2a9c39 Filesystem access.
pkgs/go/[email protected]/examples/negotiated/plugin-go/main.go:20
	return ioutil.WriteFile("kv_"+key, value, 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 #bf669497780a78be Filesystem access.
pkgs/go/[email protected]/examples/negotiated/plugin-go/main.go:24
	d, err := ioutil.ReadFile("kv_" + 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 #221c7edcafc51f1b Filesystem access.
pkgs/go/[email protected]/examples/negotiated/plugin-go/main.go:37
	return ioutil.WriteFile("kv_"+key, value, 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 #2ba0feaebe19b5e1 Filesystem access.
pkgs/go/[email protected]/examples/negotiated/plugin-go/main.go:41
	d, err := ioutil.ReadFile("kv_" + 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 #a385a880e28ea281 Environment-variable access.
pkgs/go/[email protected]/server.go:140
		Group:     os.Getenv(EnvUnixSocketGroup),

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

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

low env_fs dependency Excluded from app score #038084934949e07b Environment-variable access.
pkgs/go/[email protected]/server.go:141
		socketDir: os.Getenv(EnvUnixSocketDir),

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

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

low env_fs dependency Excluded from app score #81b6f8a2eda8fa34 Environment-variable access.
pkgs/go/[email protected]/server.go:154
	if vs := os.Getenv("PLUGIN_PROTOCOL_VERSIONS"); vs != "" {

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

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

low env_fs dependency Excluded from app score #87032bebf0601047 Environment-variable access.
pkgs/go/[email protected]/server.go:259
		if os.Getenv(opts.MagicCookieKey) != opts.MagicCookieValue {

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

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

low env_fs dependency Excluded from app score #6aba279139a21fcc Environment-variable access.
pkgs/go/[email protected]/server.go:306
	clientCert := os.Getenv("PLUGIN_CLIENT_CERT")

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

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

low env_fs dependency Excluded from app score #832c8fe2051c2356 Environment-variable access.
pkgs/go/[email protected]/server.go:392
		if multiplex, _ := strconv.ParseBool(os.Getenv(envMultiplexGRPC)); multiplex {

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

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

low env_fs dependency Excluded from app score #0d5b7d18a331056b Environment-variable access.
pkgs/go/[email protected]/server.go:442
		if os.Getenv(envMultiplexGRPC) != "" {

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

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

low env_fs dependency Excluded from app score #e9d20ef9f73b9ab4 Environment-variable access.
pkgs/go/[email protected]/server.go:537
	envMinPort := os.Getenv("PLUGIN_MIN_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 #7250dd941f55b971 Environment-variable access.
pkgs/go/[email protected]/server.go:538
	envMaxPort := os.Getenv("PLUGIN_MAX_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.

github.com/mark3labs/mcp-go

go dependency
medium pii_flow tooling Excluded from app score unknown #dfbed4533a0fb2a2 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/oauth_client/main.go:89 · flow /tmp/closeopen-0rb5h2fx/pkgs/go/[email protected]/examples/oauth_client/main.go:31 → /tmp/closeopen-0rb5h2fx/pkgs/go/[email protected]/examples/oauth_client/main.go:89
	fmt.Printf("Client initialized successfully! Server: %s %s\n",
		result.ServerInfo.Name,
		result.ServerInfo.Version)

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 tooling Excluded from app score unknown #a7881acfccdaa5b1 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/oauth_client/main.go:102 · flow /tmp/closeopen-0rb5h2fx/pkgs/go/[email protected]/examples/oauth_client/main.go:31 → /tmp/closeopen-0rb5h2fx/pkgs/go/[email protected]/examples/oauth_client/main.go:102
		fmt.Printf("- %s\n", resource.URI)

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 #32e5bc245cfce7f5 Environment-variable access.
pkgs/go/[email protected]/client/transport/stdio.go:160
		cmd.Env = append(os.Environ(), c.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 tooling Excluded from app score unknown #c0809d2d9f5bacba Environment-variable access.
pkgs/go/[email protected]/examples/custom_context/main.go:32
	return withAuthKey(ctx, 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 egress tooling Excluded from app score unknown #0a20ccdcac32b1f8 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/examples/custom_context/main.go:54
	req, err := http.NewRequestWithContext(ctx, "GET", "https://httpbin.org/anything", 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 #55f7fde9cc985cf2 Environment-variable access.
pkgs/go/[email protected]/examples/oauth_client/main.go:30
		ClientID:     os.Getenv("MCP_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 #2f9b352ee732920e Environment-variable access.
pkgs/go/[email protected]/examples/oauth_client/main.go:31
		ClientSecret: os.Getenv("MCP_CLIENT_SECRET"),

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

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

low env_fs dependency Excluded from app score #010b4cb1362fc6ba Filesystem access.
pkgs/go/[email protected]/server/internal/gen/main.go:52
	processedContent, err := os.ReadFile(tempFilePath)

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

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

low env_fs dependency Excluded from app score #cf4f86c5d2666cff Filesystem access.
pkgs/go/[email protected]/server/internal/gen/main.go:62
		destFile, err := os.Create(filepath.Join(destPath, 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.

vitess.io/vitess

go dependency
medium telemetry dependency Excluded from app score #5d902770742eff25 Telemetry/analytics SDK call. This library transmits usage or event data to a third-party service.
pkgs/go/[email protected]/go/stats/statsd/statsd.go:92
	statsdC, err := statsd.New(statsdAddress, opts...)

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

medium pii_flow dependency Excluded from app score #5daef0ae071a4060 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]/go/vt/vttest/mysqlctl.go:101 · flow /tmp/closeopen-0rb5h2fx/pkgs/go/[email protected]/go/vt/vttest/mysqlctl.go:98 → /tmp/closeopen-0rb5h2fx/pkgs/go/[email protected]/go/vt/vttest/mysqlctl.go:101
	log.Info(fmt.Sprintf("Starting MySQL using: %+v", cmd.Env))

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 166 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #42e2e4c73748b3e1 Environment-variable access.
pkgs/go/[email protected]/examples/demo/demo.go:81
			SchemaDir:     path.Join(os.Getenv("VTROOT"), "examples/demo/schema"),

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

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

low env_fs dependency Excluded from app score #a31c9dbd584e8448 Filesystem access.
pkgs/go/[email protected]/go/cmd/rulesctl/common/common.go:35
	err = os.WriteFile(path, enc, 0o400)

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

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

low env_fs dependency Excluded from app score #1a56602cc12b963d Filesystem access.
pkgs/go/[email protected]/go/cmd/vtcombo/cli/vschema_watcher.go:57
			jsonData, err := os.ReadFile(ksFile)

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

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

low env_fs dependency Excluded from app score #55495cfaa699ba9c Filesystem access.
pkgs/go/[email protected]/go/cmd/vtcombo/cli/vschema_watcher.go:114
		err = os.WriteFile(path.Join(vschemaPersistenceDir, ksName+".json"), jsonBytes, 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 #6df3517cb13cca40 Environment-variable access.
pkgs/go/[email protected]/go/cmd/vtctl/vtctl.go:122
	startMsg := fmt.Sprintf("USER=%v SUDO_USER=%v %v", os.Getenv("USER"), os.Getenv("SUDO_USER"), strings.Join(os.Args, " "))

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

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

low env_fs dependency Excluded from app score #63468f8dd6ee02b2 Filesystem access.
pkgs/go/[email protected]/go/cmd/vtctldclient/command/keyspace_routing_rules.go:75
		data, err := os.ReadFile(opts.RulesFilePath)

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

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

low env_fs dependency Excluded from app score #951626243ad9ba49 Filesystem access.
pkgs/go/[email protected]/go/cmd/vtctldclient/command/routing_rules.go:74
		data, err := os.ReadFile(applyRoutingRulesOptions.RulesFilePath)

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

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

low env_fs dependency Excluded from app score #d11ff16c60c049df Filesystem access.
pkgs/go/[email protected]/go/cmd/vtctldclient/command/schema.go:156
		data, err := os.ReadFile(applySchemaOptions.SQLFile)

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

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

low env_fs dependency Excluded from app score #39f2c440a04f604e Filesystem access.
pkgs/go/[email protected]/go/cmd/vtctldclient/command/shard_routing_rules.go:79
		data, err := os.ReadFile(applyShardRoutingRulesOptions.RulesFilePath)

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

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

low env_fs dependency Excluded from app score #87a0b55441242594 Filesystem access.
pkgs/go/[email protected]/go/cmd/vtctldclient/command/topology.go:159
	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 #8caeb353debb27eb Filesystem access.
pkgs/go/[email protected]/go/cmd/vtctldclient/command/vreplication/lookupvindex/lookupvindex.go:113
			paramsFile, err := os.ReadFile(createOptions.ParamsFile)

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

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

low env_fs dependency Excluded from app score #1d7ee8f94c04c1e2 Filesystem access.
pkgs/go/[email protected]/go/cmd/vtctldclient/command/vschemas.go:86
			sqlBytes, err := os.ReadFile(applyVSchemaOptions.SQLFile)

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

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

low env_fs dependency Excluded from app score #47b141d3f785b954 Filesystem access.
pkgs/go/[email protected]/go/cmd/vtctldclient/command/vschemas.go:97
			schema, err = os.ReadFile(applyVSchemaOptions.VSchemaFile)

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

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

low env_fs dependency Excluded from app score #ffad866e7bb6e9f8 Filesystem access.
pkgs/go/[email protected]/go/cmd/vtexplain/cli/vtexplain.go:131
	data, err := os.ReadFile(flagFile)

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

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

low env_fs dependency Excluded from app score #38f76e38c3a9f134 Filesystem access.
pkgs/go/[email protected]/go/cmd/vttablet/cli/cli.go:200
		bytes, err := os.ReadFile(tabletConfig)

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

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

low env_fs dependency Excluded from app score #e49756ea9d08d219 Filesystem access.
pkgs/go/[email protected]/go/cmd/zk/command/edit.go:60
	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 dependency Excluded from app score #37107a379495397d Environment-variable access.
pkgs/go/[email protected]/go/cmd/zk/command/edit.go:69
	editor := exec.Command(os.Getenv("EDITOR"), 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 #5655c3b46a3b70d5 Filesystem access.
pkgs/go/[email protected]/go/cmd/zk/command/edit.go:79
	fileData, err := os.ReadFile(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 #2d142ca6c35c9cb9 Filesystem access.
pkgs/go/[email protected]/go/cmd/zk/command/zip.go:52
	zipFile, 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 dependency Excluded from app score #b49fd943988172ac Filesystem access.
pkgs/go/[email protected]/go/cmd/zk/internal/zkfs/zkfs.go:101
	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 #ea0cff58004e3bdb Filesystem access.
pkgs/go/[email protected]/go/cmd/zk/internal/zkfs/zkfs.go:119
	return os.WriteFile(path, []byte(data), 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 #cd6bd485c9811be0 Filesystem access.
pkgs/go/[email protected]/go/mysql/auth_server_static.go:264
		data, err := os.ReadFile(a.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 #eb722a9979f6ed5c Filesystem access.
pkgs/go/[email protected]/go/mysql/collations/testutil/golden.go:46
	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 #3ebb218c2bc33b8a Filesystem access.
pkgs/go/[email protected]/go/mysql/collations/testutil/golden.go:66
	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 tooling Excluded from app score unknown #d1f9d3d6fcba48eb Filesystem access.
pkgs/go/[email protected]/go/mysql/collations/tools/makecolldata/codegen/codegen.go:111
	if err := os.WriteFile(out, file.Bytes(), 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 tooling Excluded from app score unknown #2bdb5b8742446368 Filesystem access.
pkgs/go/[email protected]/go/mysql/collations/tools/makecolldata/codegen/tablegen.go:105
	if err := os.WriteFile(out, pg.raw.Bytes(), 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 tooling Excluded from app score unknown #84817f98c53a98fd Filesystem access.
pkgs/go/[email protected]/go/mysql/collations/tools/makecolldata/main.go:77
		rf, 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 tooling Excluded from app score unknown #2d0d83d57b3fc707 Filesystem access.
pkgs/go/[email protected]/go/mysql/collations/tools/makecolldata/mysqlversions.go:66
		f, err := os.Open(versionCsv)

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

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

low env_fs dependency Excluded from app score #71fdbcb14ed5d59a Filesystem access.
pkgs/go/[email protected]/go/mysql/ldapauthserver/auth_server_ldap.go:72
		data, err = os.ReadFile(ldapAuthConfigFile)

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

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

low env_fs dependency Excluded from app score #01767023e4cd9f7d Filesystem access.
pkgs/go/[email protected]/go/mysql/vault/auth_server_vault.go:270
	fileBytes, 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 #4519454b03047b45 Filesystem access.
pkgs/go/[email protected]/go/os2/file.go:34
	return os.OpenFile(name, os.O_RDWR|os.O_CREATE|os.O_TRUNC, PermFile)

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

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

low env_fs dependency Excluded from app score #55f99c3934d355c9 Filesystem access.
pkgs/go/[email protected]/go/os2/file.go:39
	return os.WriteFile(name, data, PermFile)

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

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

low env_fs dependency Excluded from app score #670c72ad3659cd99 Filesystem access.
pkgs/go/[email protected]/go/osutil/loadavg_linux.go:28
	content, err := os.ReadFile("/proc/loadavg")

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

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

low env_fs dependency Excluded from app score #f704e27ad33026e9 Filesystem access.
pkgs/go/[email protected]/go/stats/opentsdb/file_writer.go:29
	f, err := os.OpenFile(path, os.O_APPEND|os.O_CREATE|os.O_SYNC|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 #1487650088bc6d7e Filesystem access.
pkgs/go/[email protected]/go/streamlog/streamlog.go:239
	f, err := os.OpenFile(path, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 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 #4b083a34c4ce5946 Filesystem access.
pkgs/go/[email protected]/go/streamlog/streamlog.go:251
				f, _ = os.OpenFile(path, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 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 #2388a0d857b5f389 Filesystem access.
pkgs/go/[email protected]/go/tb/error.go:99
			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 #4f09f3b022c63af8 Environment-variable access.
pkgs/go/[email protected]/go/testfiles/ports.go:57
	env := os.Getenv("VTPORTSTART")

Reads environment variables or the filesystem — an inventory-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 #94f6cfb91fa39613 Filesystem access.
pkgs/go/[email protected]/go/tools/astfmtgen/main.go:109
	f, err := os.Create(path.Join(dirname, "ast_format_fast.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 tooling Excluded from app score unknown #cb86127e97512fdf Filesystem access.
pkgs/go/[email protected]/go/tools/asthelpergen/asthelpergen.go:226
		existing, 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 tooling Excluded from app score unknown #cd8dfbd1b5488c51 Filesystem access.
pkgs/go/[email protected]/go/tools/ci-config/main.go:36
	content, err := os.ReadFile("./test/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 tooling Excluded from app score unknown #e0930a89da8b0be3 Filesystem access.
pkgs/go/[email protected]/go/tools/codegen/goimports.go:45
	return os.ReadFile(tempFile.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 tooling Excluded from app score unknown #b97bd1814cb9d57f Filesystem access.
pkgs/go/[email protected]/go/tools/go-upgrade/go-upgrade.go:247
	contentRaw, err := os.ReadFile("build.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 tooling Excluded from app score unknown #0b7b9183e428389a Filesystem access.
pkgs/go/[email protected]/go/tools/go-upgrade/go-upgrade.go:262
	contentRaw, err := os.ReadFile("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 egress tooling Excluded from app score unknown #c357f4fc34164ed8 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/go/tools/go-upgrade/go-upgrade.go:302
	resp, err := http.Get(goDevAPI)

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 #48704f5f4fa73389 Filesystem access.
pkgs/go/[email protected]/go/tools/go-upgrade/go-upgrade.go:416
	contentRaw, err := os.ReadFile(fileToChange)

Reads environment variables or the filesystem — an inventory-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 #291a8ec19be912f0 Filesystem access.
pkgs/go/[email protected]/go/tools/go-upgrade/go-upgrade.go:426
	return os.WriteFile(fileToChange, []byte(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 tooling Excluded from app score unknown #27e7ce6a82ef8890 Filesystem access.
pkgs/go/[email protected]/go/tools/go-upgrade/go-upgrade.go:544
	file, err := os.OpenFile("./docker/bootstrap/CHANGELOG.md", 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 tooling Excluded from app score unknown #7b620f1d1840d556 Filesystem access.
pkgs/go/[email protected]/go/tools/go-upgrade/go-upgrade.go:606
	f, err := os.OpenFile(fileToChange, 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 tooling Excluded from app score unknown #436ae81a41482089 Environment-variable access.
pkgs/go/[email protected]/go/tools/graphviz/graph.go:154
		if userBrowser := os.Getenv("BROWSER"); userBrowser != "" {

Reads environment variables or the filesystem — an inventory-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 #2fb738624be048b3 Environment-variable access.
pkgs/go/[email protected]/go/tools/graphviz/graph.go:168
			if os.Getenv("DISPLAY") != "" {

Reads environment variables or the filesystem — an inventory-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 #a93d5ff9873ffa58 Filesystem access.
pkgs/go/[email protected]/go/tools/release-notes/release_notes.go:142
		rnFile, err = os.OpenFile(path.Join(rn.SubDirPath, "release_notes.md"), os.O_RDWR|os.O_CREATE|os.O_TRUNC, 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 tooling Excluded from app score unknown #19b18424ad938e6d Filesystem access.
pkgs/go/[email protected]/go/tools/release-notes/release_notes.go:156
		changelogFile, err = os.OpenFile(path.Join(rn.SubDirPath, "changelog.md"), os.O_RDWR|os.O_CREATE|os.O_TRUNC, 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 tooling Excluded from app score unknown #69c2ddb7dca75ef3 Filesystem access.
pkgs/go/[email protected]/go/tools/release-notes/release_notes.go:294
	contentSummary, err := os.ReadFile(summaryFile)

Reads environment variables or the filesystem — an inventory-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 #aa93c3b4f75a0087 Filesystem access.
pkgs/go/[email protected]/go/tools/releases/releases.go:95
	rootRM, err := os.OpenFile(path.Join(d.Path, "README.md"), os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0o640)

Reads environment variables or the filesystem — an inventory-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 #68cceded73856a88 Filesystem access.
pkgs/go/[email protected]/go/tools/sizegen/sizegen.go:630
		existing, 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 #e7a7b7b0cada1e71 Filesystem access.
pkgs/go/[email protected]/go/vt/dbconfigs/credentials.go:177
		data, err := os.ReadFile(dbCredentialsFile)

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

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

low env_fs dependency Excluded from app score #e657ecf698318ae6 Filesystem access.
pkgs/go/[email protected]/go/vt/dbconfigs/credentials.go:307
	fileBytes, 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 #c8f922158be96946 Environment-variable access.
pkgs/go/[email protected]/go/vt/env/env.go:42
	if root = os.Getenv("VTROOT"); 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 #c3d0bfc372bf5869 Environment-variable access.
pkgs/go/[email protected]/go/vt/env/env.go:61
	if dataRoot := os.Getenv("VTDATAROOT"); dataRoot != "" {

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

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

low env_fs dependency Excluded from app score #522fb628aca2746b Environment-variable access.
pkgs/go/[email protected]/go/vt/env/env.go:73
	if root := os.Getenv("VT_MYSQL_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 #d5eb472706010246 Environment-variable access.
pkgs/go/[email protected]/go/vt/env/env.go:99
	if root := os.Getenv("VT_MYSQL_BASEDIR"); 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 #9642a3c712e0dfd6 Filesystem access.
pkgs/go/[email protected]/go/vt/grpcclient/client_auth_static.go:123
	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 #766fbcdcf6a7c664 Environment-variable access.
pkgs/go/[email protected]/go/vt/hook/hook.go:126
		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 #2b1b541162df4a88 Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/azblobbackupstorage/azblob.go:139
		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 #50cbfdd95b63e3ed Environment-variable access.
pkgs/go/[email protected]/go/vt/mysqlctl/azblobbackupstorage/azblob.go:145
		actKey = os.Getenv("VT_AZBLOB_ACCOUNT_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 #34c9de14e0e5bfb8 Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/builtinbackupengine_linux.go:28
	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 #ba48e8aa713109a7 Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/builtinbackupengine_stub.go:23
	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 #43eea52167e0e8bf Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/cephbackupstorage/ceph.go:277
		configFile, err := os.Open(configFilePath)

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

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

low env_fs dependency Excluded from app score #0d6549f3c09df5e6 Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/filebackupstorage/file.go:137
	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 #0000164ad0853f61 Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/mycnf.go:164
	f, err := os.Open(mycnf.Path)

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

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

low env_fs dependency Excluded from app score #179c1a7cc708cfa2 Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/mycnf.go:173
				f, err = os.Open(mycnf.Path)

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

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

low env_fs dependency Excluded from app score #f2a7b4c6c57fabd1 Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:490
	pid, err := os.ReadFile(lockPath)

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

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

low env_fs dependency Excluded from app score #a8b05508446ea701 Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:519
		cmdline, err := os.ReadFile(fmt.Sprintf("/proc/%d/cmdline", 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 #acfdedfbeb2571c2 Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:848
	sqlFile, err := os.Open(initDBSQLFile)

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

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

low env_fs dependency Excluded from app score #fd339b7f38d44e4b Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:875
	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 #e77abb6ad7105c34 Environment-variable access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:947
		env[v] = os.Getenv(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 #723e467da9ec00c7 Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:968
		data, err := os.ReadFile(mycnfTemplateFile)

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

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

low env_fs dependency Excluded from app score #d96d00abb1130466 Environment-variable access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:1030
	if extraCnf := os.Getenv("EXTRA_MY_CNF"); extraCnf != "" {

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

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

low env_fs dependency Excluded from app score #f22020e083339c03 Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:1033
			data, dataErr := 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 #c055660531e5085e Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:1073
	existing, err := os.ReadFile(cnf.Path)

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

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

low env_fs dependency Excluded from app score #dbb22fe82210164b Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:1077
	updated, err := 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 #f71423bc868cfe6e Environment-variable access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:1330
	baseEnv := 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 #5a321c33d7ac979f Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:1560
			errFileContent, _ := os.ReadFile(mysqlbinlogErrFile.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 #1cd65898192e3a58 Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:1569
			errFileContent, _ := os.ReadFile(mysqlErrFile.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 #437f676eb06168c1 Environment-variable access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:1769
		os.Getenv("PATH"),

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

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

low env_fs dependency Excluded from app score #e93aacbf11e6e591 Environment-variable access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:1770
		os.Getenv("VT_MYSQL_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 #bd9943b273768b83 Environment-variable access.
pkgs/go/[email protected]/go/vt/mysqlctl/mysqld.go:1771
		os.Getenv("VTROOT"),

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

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

low env_fs dependency Excluded from app score #a128c69de8ff806a Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/s3backupstorage/s3.go:358
		base64CodedKey, err := os.ReadFile(sseCustomerKeyFile)

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

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

low env_fs dependency Excluded from app score #7f35fb436b3bc361 Filesystem access.
pkgs/go/[email protected]/go/vt/mysqlctl/xtrabackupengine.go:770
	f, err := os.Open(path.Join(directory, xtrabackupInfoFile))

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

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

low env_fs dependency Excluded from app score #8287bec0c549ee84 Filesystem access.
pkgs/go/[email protected]/go/vt/schemamanager/local_controller.go:122
	data, err := os.ReadFile(controller.sqlPath)

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

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

low env_fs dependency Excluded from app score #dc3400ea53ac5740 Filesystem access.
pkgs/go/[email protected]/go/vt/schemamanager/local_controller.go:196
	logFile, err := os.Create(path.Join(controller.logDir, controller.sqlFilename))

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

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

low env_fs dependency Excluded from app score #10c527d49411d6e5 Filesystem access.
pkgs/go/[email protected]/go/vt/servenv/grpc_server_auth_static.go:107
	data, err := os.ReadFile(credsFile)

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

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

low env_fs dependency Excluded from app score #ba5c74897c23040b Filesystem access.
pkgs/go/[email protected]/go/vt/servenv/pid_file.go:37
		file, err := os.OpenFile(pidFile, os.O_RDWR|os.O_CREATE|os.O_EXCL, 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 #d97b407cb0a7cddb Filesystem access.
pkgs/go/[email protected]/go/vt/servenv/pprof.go:191
	f, err := os.Create(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 #5619102d14c298e0 Environment-variable access.
pkgs/go/[email protected]/go/vt/servenv/servenv.go:552
	TestingEndtoend = os.Getenv("VTTEST") == "endtoend"

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

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

low env_fs dependency Excluded from app score #0241416e87c235c9 Filesystem access.
pkgs/go/[email protected]/go/vt/tableacl/tableacl.go:108
	data, 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 #d89bf8cd56114920 Filesystem access.
pkgs/go/[email protected]/go/vt/tlstest/tlstest.go:49
	certData, err := 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 dependency Excluded from app score #297935456de67e8a Filesystem access.
pkgs/go/[email protected]/go/vt/tlstest/tlstest.go:67
	return os.WriteFile(certPath, out.Bytes(), 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 #8c5142dbdb65c507 Filesystem access.
pkgs/go/[email protected]/go/vt/tlstest/tlstest.go:75
	keyData, err := 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 dependency Excluded from app score #cbcc1064a113acf0 Filesystem access.
pkgs/go/[email protected]/go/vt/tlstest/tlstest.go:107
	return os.WriteFile(keyPath, out.Bytes(), 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 #5e75de0121fad10c Filesystem access.
pkgs/go/[email protected]/go/vt/tlstest/tlstest.go:331
	err = os.WriteFile(crlPath, out.Bytes(), 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 #05a59e4de4de5432 Filesystem access.
pkgs/go/[email protected]/go/vt/tlstest/tlstest.go:360
	data, err := os.ReadFile(crlPath)

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

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

low env_fs dependency Excluded from app score #f797b46ebfce535c Filesystem access.
pkgs/go/[email protected]/go/vt/tlstest/tlstest.go:412
	err = os.WriteFile(crlPath, out.Bytes(), 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 #91da6e6fed65c55c Filesystem access.
pkgs/go/[email protected]/go/vt/tlstest/tlstest.go:483
	serverCRLBytes, err := os.ReadFile(serverCRLPath)

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

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

low env_fs dependency Excluded from app score #4b813b7ed6efe628 Filesystem access.
pkgs/go/[email protected]/go/vt/tlstest/tlstest.go:489
	clientCRLBytes, err := os.ReadFile(clientCRLPath)

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

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

low env_fs dependency Excluded from app score #07fc138a35c61290 Filesystem access.
pkgs/go/[email protected]/go/vt/tlstest/tlstest.go:495
	err = os.WriteFile(combinedCRLPath, append(serverCRLBytes, clientCRLBytes...), 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 #b611da703b082755 Filesystem access.
pkgs/go/[email protected]/go/vt/topo/consultopo/server.go:88
	data, err := os.ReadFile(consulAuthClientStaticFile)

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

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

low env_fs dependency Excluded from app score #a0faed1ea27016e8 Filesystem access.
pkgs/go/[email protected]/go/vt/topo/zk2topo/zk_conn.go:319
	authInfoBytes, err := os.ReadFile(authFile)

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

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

low env_fs dependency Excluded from app score #1614dd42c24601ae Filesystem access.
pkgs/go/[email protected]/go/vt/topo/zk2topo/zk_conn.go:382
		clientCACert, 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 #9838646b56e75250 Filesystem access.
pkgs/go/[email protected]/go/vt/vtadmin/cluster/discovery/discovery_static_file.go:66
	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 dependency Excluded from app score #a3b1016b5ae8d370 Filesystem access.
pkgs/go/[email protected]/go/vt/vtadmin/credentials/credentials.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 dependency Excluded from app score #5d51bf901a6a22db Environment-variable access.
pkgs/go/[email protected]/go/vt/vtadmin/http/debug/env.go:60
	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 #93251120f3323c8f Filesystem access.
pkgs/go/[email protected]/go/vt/vtadmin/testutil/authztestgen/main.go:132
		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 #0669c338d7bef248 Filesystem access.
pkgs/go/[email protected]/go/vt/vtadmin/testutil/authztestgen/main.go:150
	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 #ca44e7e3ad2174c4 Filesystem access.
pkgs/go/[email protected]/go/vt/vtctl/topo.go:114
	return os.WriteFile(to, 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 #9a4d19d2ea91c85f Filesystem access.
pkgs/go/[email protected]/go/vt/vtctl/topo.go:122
	data, err := os.ReadFile(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 #1bf2091064f99dda Filesystem access.
pkgs/go/[email protected]/go/vt/vtctl/vtctl.go:822
	data, err := os.ReadFile(flagFile)

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

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

low env_fs dependency Excluded from app score #bd23b9a1cb9fd9e3 Filesystem access.
pkgs/go/[email protected]/go/vt/vtctl/vtctl.go:3366
			sqlBytes, err := os.ReadFile(*sqlFile)

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

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

low env_fs dependency Excluded from app score #7245813547d00ce4 Filesystem access.
pkgs/go/[email protected]/go/vt/vtctl/vtctl.go:3391
			schema, err = os.ReadFile(*vschemaFile)

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

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

low env_fs dependency Excluded from app score #aa4b742f0762d435 Filesystem access.
pkgs/go/[email protected]/go/vt/vtctl/vtctl.go:3482
		rulesBytes, err = os.ReadFile(*routingRulesFile)

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

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

low env_fs dependency Excluded from app score #13f18a4854d08e99 Filesystem access.
pkgs/go/[email protected]/go/vt/vtctl/vtctldclient/codegen/main.go:62
		f, 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 #bd35fe7986f477cb Filesystem access.
pkgs/go/[email protected]/go/vt/vtgate/vindexes/numeric_static_map.go:188
	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 #9842f279d57dc381 Filesystem access.
pkgs/go/[email protected]/go/vt/vtgate/vindexes/region_json.go:73
	data, err := os.ReadFile(rmPath)

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

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

low env_fs dependency Excluded from app score #8f1061b4e1c0b416 Filesystem access.
pkgs/go/[email protected]/go/vt/vtgate/vindexes/vschema.go:1724
	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 #dbf7e54f425096cc Filesystem access.
pkgs/go/[email protected]/go/vt/vtgate/vindexes/vschema.go:1742
	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 #d9dbe0dbf056bed6 Filesystem access.
pkgs/go/[email protected]/go/vt/vtorc/inst/audit_dao.go:46
			f, err := os.OpenFile(config.GetAuditFileLocation(), os.O_RDWR|os.O_CREATE|os.O_APPEND, 0o640)

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

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

low env_fs dependency Excluded from app score #d1fa884724c9bf10 Filesystem access.
pkgs/go/[email protected]/go/vt/vttablet/customrule/filecustomrule/filecustomrule.go:77
	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 #2fb3faa024041412 Filesystem access.
pkgs/go/[email protected]/go/vt/vttablet/onlineddl/executor.go:4792
	content, err := os.ReadFile(logFile)

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

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

low env_fs dependency Excluded from app score #c63d70df6b1fb0d8 Filesystem access.
pkgs/go/[email protected]/go/vt/vttablet/tabletserver/debug_2pc.go:40
	res, _ := os.ReadFile(path.Join(os.Getenv("VTDATAROOT"), 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 #a817290f6cb81126 Environment-variable access.
pkgs/go/[email protected]/go/vt/vttablet/tabletserver/debug_2pc.go:40
	res, _ := os.ReadFile(path.Join(os.Getenv("VTDATAROOT"), 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 #7e399f33beabd8d8 Filesystem access.
pkgs/go/[email protected]/go/vt/vttablet/tabletserver/disk_health_monitor.go:65
	file, err := os.Create(path.Join(stalledDiskWriteDir, ".stalled_disk_check"))

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

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

low env_fs dependency Excluded from app score #19fafe597dfb5d98 Environment-variable access.
pkgs/go/[email protected]/go/vt/vttablet/tabletserver/vstreamer/testenv/testenv.go:134
		ExtraMyCnf: strings.Split(os.Getenv("EXTRA_MY_CNF"), ":"),

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

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

low env_fs dependency Excluded from app score #a5054e33dd2bfe25 Environment-variable access.
pkgs/go/[email protected]/go/vt/vttest/environment.go:129
		mycnf[i] = path.Join(os.Getenv("VTROOT"), cnf)

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

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

low env_fs dependency Excluded from app score #c2c65ecb3d5ab357 Environment-variable access.
pkgs/go/[email protected]/go/vt/vttest/environment.go:142
	return path.Join(os.Getenv("VTROOT"), "bin", 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 #d6054f340e059c8f Environment-variable access.
pkgs/go/[email protected]/go/vt/vttest/environment.go:277
	directory, err := tmpdir(os.Getenv("VTDATAROOT"))

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

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

low env_fs dependency Excluded from app score #e4c1fc41a066bb90 Environment-variable access.
pkgs/go/[email protected]/go/vt/vttest/environment.go:307
		InitDBFile:   path.Join(os.Getenv("VTROOT"), "config/init_db.sql"),

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

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

low env_fs dependency Excluded from app score #d0a47ce26db606ae Filesystem access.
pkgs/go/[email protected]/go/vt/vttest/environment.go:327
	initDb, _ := os.ReadFile(initFile)

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

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

low env_fs dependency Excluded from app score #bf123986e25fc12b Filesystem access.
pkgs/go/[email protected]/go/vt/vttest/environment.go:332
	err = os.WriteFile(newInitFile, []byte(sql), 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 #7fb9468ab309e5fe Filesystem access.
pkgs/go/[email protected]/go/vt/vttest/local_cluster.go:194
		err = os.WriteFile(fileName, []byte(schema), 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 #0713a6b95b2924f7 Filesystem access.
pkgs/go/[email protected]/go/vt/vttest/local_cluster.go:207
		if err := os.WriteFile(vschemaFilePath, vschemaJSON, 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 #936268bc9279ea0f Filesystem access.
pkgs/go/[email protected]/go/vt/vttest/local_cluster.go:698
	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 #905aae850e00a5aa Environment-variable access.
pkgs/go/[email protected]/go/vt/vttest/mysqlctl.go:75
	cmd.Env = append(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 #8953575e316523b8 Environment-variable access.
pkgs/go/[email protected]/go/vt/vttest/mysqlctl.go:98
	cmd.Env = append(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 #fd5f1542bf0f753d Environment-variable access.
pkgs/go/[email protected]/go/vt/vttest/mysqlctl.go:118
	cmd.Env = append(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 #e37dcc88b642ea17 Environment-variable access.
pkgs/go/[email protected]/go/vt/vttest/vtprocess.go:167
	vtp.proc.Env = append(vtp.proc.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 #8e9fc8d670ad8558 Filesystem access.
pkgs/go/[email protected]/go/vt/vttls/crl.go:69
	body, err := os.ReadFile(crl)

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

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

low env_fs dependency Excluded from app score #604ed0c99d32f5b3 Filesystem access.
pkgs/go/[email protected]/go/vt/vttls/vttls.go:246
	b, err := os.ReadFile(ca)

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

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

low env_fs dependency Excluded from app score #9a773f2cf40dace0 Filesystem access.
pkgs/go/[email protected]/go/vt/vttls/vttls.go:334
	caB, err := os.ReadFile(ca)

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

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

low env_fs dependency Excluded from app score #819c25930281a1f5 Filesystem access.
pkgs/go/[email protected]/go/vt/vttls/vttls.go:340
	certB, err := os.ReadFile(cert)

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

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

low env_fs dependency Excluded from app score #71a075b7dc5e1a9c Filesystem access.
pkgs/go/[email protected]/go/vt/vttls/vttls.go:346
	keyB, err := os.ReadFile(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 #2d3595bc9c2a73c6 Filesystem access.
pkgs/go/[email protected]/go/vt/zkctl/zkconf.go:96
	return os.WriteFile(cnf.MyidFile(), []byte(strconv.FormatUint(uint64(cnf.ServerId), 10)), 0o664)

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

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

low env_fs dependency Excluded from app score #af0f3c21875b45d2 Filesystem access.
pkgs/go/[email protected]/go/vt/zkctl/zkconf.go:109
		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 #3ef388003e81ed61 Environment-variable access.
pkgs/go/[email protected]/go/vt/zkctl/zkctl.go:90
	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 #fb712c9b2266bb82 Filesystem access.
pkgs/go/[email protected]/go/vt/zkctl/zkctl.go:134
	pidData, err := os.ReadFile(zkd.config.PidFile())

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

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

low env_fs dependency Excluded from app score #99baf864e8d04f5c Filesystem access.
pkgs/go/[email protected]/go/vt/zkctl/zkctl.go:182
		err = os.WriteFile(zkd.config.ConfigFile(), []byte(configData), 0o664)

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

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

low env_fs dependency Excluded from app score #79a14ec148e5eee7 Environment-variable access.
pkgs/go/[email protected]/test.go:108
	vtDataRoot = os.Getenv("VTDATAROOT")

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

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

low env_fs dependency Excluded from app score #b7aa25b0bf2c9367 Environment-variable access.
pkgs/go/[email protected]/test.go:216
	cmd.Env = updateEnv(os.Environ(), map[string]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 #16008453be08f74a Environment-variable access.
pkgs/go/[email protected]/test.go:225
		"TOPO":                                  os.Getenv("TOPO"),

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

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

low env_fs dependency Excluded from app score #2754a709c404cd96 Filesystem access.
pkgs/go/[email protected]/test.go:272
	configData, 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 #72984ef7c55d6264 Filesystem access.
pkgs/go/[email protected]/test.go:341
	logFile, err := os.OpenFile(path.Join(outDir, "test.log"), os.O_RDWR|os.O_CREATE, 0o0644)

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

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

low env_fs dependency Excluded from app score #cd8166b8ad133b9d Environment-variable access.
pkgs/go/[email protected]/test.go:441
			command.Env = append(os.Environ(), "NOVTADMINBUILD=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 #3deb1f2950ae3601 Filesystem access.
pkgs/go/[email protected]/test.go:523
					if fileErr := os.WriteFile(outFilePath, output, os.FileMode(0o644)); fileErr != nil {

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

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

low env_fs dependency Excluded from app score #040b05fdf2c4b1a5 Filesystem access.
pkgs/go/[email protected]/test.go:692
	data, err := os.ReadFile(statsFileName)

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

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

low env_fs dependency Excluded from app score #509bae2d1306cbbe Filesystem access.
pkgs/go/[email protected]/test.go:714
	if err := os.WriteFile(statsFileName, 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 tooling Excluded from app score unknown #284ea5e1556f42fd Filesystem access.
pkgs/go/[email protected]/tools/rowlog/rowlog.go:232
	f, err := os.OpenFile(filename+".log",
		os.O_APPEND|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.

github.com/BurntSushi/toml

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #8f48380f561e1a6f Filesystem access.
pkgs/go/[email protected]/decode.go:41
	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 #b6959232219494ba Environment-variable access.
pkgs/go/[email protected]/parse.go:35
	_, tomlNext := os.LookupEnv("BURNTSUSHI_TOML_110")

Reads environment variables or the 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/ClickHouse/clickhouse-go/v2

go dependency
expand_more 11 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #09975c9b7aaac1f3 Filesystem access.
pkgs/go/[email protected]/examples/clickhouse_api/ssl.go:40
	caCert, err := os.ReadFile(path.Join(cwd, "../../tests/resources/CAroot.crt"))

Reads environment variables or the filesystem — an inventory-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 #9dc202fa3c81071e Filesystem access.
pkgs/go/[email protected]/examples/std/ssl.go:41
	caCert, err := os.ReadFile(path.Join(cwd, "../../tests/resources/CAroot.crt"))

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

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

low env_fs dependency Excluded from app score #3e15bf2d6aed2575 Environment-variable access.
pkgs/go/[email protected]/internal/cmd/release/main.go:88
	gitHubOutputFile, exists := os.LookupEnv("GITHUB_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 #01ad8d93e4698b05 Filesystem access.
pkgs/go/[email protected]/internal/cmd/release/main.go:93
	f, err := os.OpenFile(gitHubOutputFile, 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 #e1301fe79ad7f82c Filesystem access.
pkgs/go/[email protected]/internal/cmd/release/main.go:176
	f, err := os.OpenFile(changelogPath, 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 #fdb421a35e498984 Environment-variable access.
pkgs/go/[email protected]/internal/cmd/release/main.go:212
	req.Header.Set("Authorization", "token "+os.Getenv("GITHUB_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 egress dependency Excluded from app score #6d57745d3dde0b50 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/internal/cmd/release/main.go:235
	req, err := http.NewRequest(http.MethodGet, "https://api.github.com/repos/clickhouse/clickhouse-go/releases?per_page=100", 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 dependency Excluded from app score #05b2e86ff32fbf76 Environment-variable access.
pkgs/go/[email protected]/internal/cmd/release/main.go:240
	req.Header.Set("Authorization", "token "+os.Getenv("GITHUB_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 #40a17bdd7a4c85b0 Filesystem access.
pkgs/go/[email protected]/internal/cmd/release/main.go:268
	file, err := os.OpenFile(getRootPath()+"/client_info.go", os.O_RDWR, 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 #11fe853a2d8a2a9a Filesystem access.
pkgs/go/[email protected]/lib/column/codegen/main.go:137
	if err := os.WriteFile(path.Join(cwd, fmt.Sprintf("lib/column/%s.go", name)), 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 #fbf791ebad3bbf0b Environment-variable access.
pkgs/go/[email protected]/lib/proto/query.go:30
	osUser      = os.Getenv("USER")

Reads environment variables or the 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/adrg/xdg

go dependency
expand_more 6 low-confidence finding(s)
low env_fs dependency Excluded from app score #d4475b204488876e Environment-variable access.
pkgs/go/[email protected]/internal/pathutil/pathutil.go:94
	dir := ExpandHome(os.Getenv(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 #ac0c3c9dc5e09cc4 Environment-variable access.
pkgs/go/[email protected]/internal/pathutil/pathutil.go:108
	dirs := Unique(filepath.SplitList(os.Getenv(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 #536698f8e88e1b9c Environment-variable access.
pkgs/go/[email protected]/internal/pathutil/pathutil_plan9.go:13
	if home := os.Getenv("home"); 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 #d8f825153ced9400 Environment-variable access.
pkgs/go/[email protected]/internal/pathutil/pathutil_unix.go:15
	if home := os.Getenv("HOME"); 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 #9d672200e2f63019 Environment-variable access.
pkgs/go/[email protected]/internal/pathutil/pathutil_windows.go:58
		p := 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 #c6d37a0093c81fd7 Filesystem access.
pkgs/go/[email protected]/internal/userdirs/config_unix.go:17
	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.

github.com/apache/cassandra-gocql-driver/v2

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #94c395437a395b4a Filesystem access.
pkgs/go/[email protected]/connectionpool.go:78
		pem, err := ioutil.ReadFile(sslOpts.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 #194d3123923c2e77 Environment-variable access.
pkgs/go/[email protected]/control.go:132
var hostLookupPreferV4 = os.Getenv("GOCQL_HOST_LOOKUP_PREFER_V4") == "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.

github.com/bitfield/script

go dependency
expand_more 4 low-confidence finding(s)
low env_fs dependency Excluded from app score #37129de31278a23c Filesystem access.
pkgs/go/[email protected]/script.go:68
	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 #6d2c1396770e0d57 Filesystem access.
pkgs/go/[email protected]/script.go:262
		input, err := os.Open(line)

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

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

low env_fs dependency Excluded from app score #1630bdaa76fd2c5f Filesystem access.
pkgs/go/[email protected]/script.go:785
		f, err := os.Open(line)

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

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

low env_fs dependency Excluded from app score #1ec358d1bacb3c65 Filesystem access.
pkgs/go/[email protected]/script.go:911
	out, err := os.OpenFile(path, mode, 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.

github.com/briandowns/spinner

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #c74744a397d6f2f3 Environment-variable access.
pkgs/go/[email protected]/spinner.go:105
var isWindowsTerminalOnWindows = len(os.Getenv("WT_SESSION")) > 0 && isWindows

Reads environment variables or the 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/brianvoe/gofakeit/v7

go dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #5ff9632b519f541f Filesystem access.
pkgs/go/[email protected]/cmd/exampleupdate/main.go:61
	fileContentBytes, 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 #bda745386b5bbd13 Filesystem access.
pkgs/go/[email protected]/cmd/exampleupdate/main.go:97
		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 #0c2e15b1d592b840 Filesystem access.
pkgs/go/[email protected]/cmd/exampleupdate/main.go:145
	if err := os.WriteFile(filename, []byte(newContent), 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/bwmarrin/discordgo

go dependency
expand_more 3 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #b92ab5f2e7a2d23d Filesystem access.
pkgs/go/[email protected]/examples/airhorn/main.go:144
	file, err := os.Open("airhorn.dca")

Reads environment variables or the filesystem — an inventory-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 #0c32da5fb3810f74 Filesystem access.
pkgs/go/[email protected]/examples/avatar/main.go:73
		img, err := ioutil.ReadFile(AvatarFile)

Reads environment variables or the filesystem — an inventory-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 #7b1af7c05c54b834 Filesystem access.
pkgs/go/[email protected]/tools/cmd/eventhandlers/main.go:93
	err = ioutil.WriteFile(filepath.Join(dir, strings.ToLower("eventhandlers.go")), src, 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/charmbracelet/huh

go dependency
expand_more 5 low-confidence finding(s)
low env_fs dependency Excluded from app score #3306c34677f7dc85 Filesystem access.
pkgs/go/[email protected]/field_filepicker.go:326
		if _, err := os.Open(s); err != nil {

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

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

low env_fs dependency Excluded from app score #3ec71b9a1b153ba0 Environment-variable access.
pkgs/go/[email protected]/field_text.go:197
	editor := strings.Fields(os.Getenv("EDITOR"))

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

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

low env_fs dependency Excluded from app score #d8a632ed1a7c0946 Filesystem access.
pkgs/go/[email protected]/field_text.go:325
			_ = os.WriteFile(tmpFile.Name(), []byte(t.textarea.Value()), 0o644)       //nolint:mnd,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 #8eeda0af6b5382c4 Filesystem access.
pkgs/go/[email protected]/field_text.go:327
				content, _ := os.ReadFile(tmpFile.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 #35d8a09fdddceaf6 Environment-variable access.
pkgs/go/[email protected]/form.go:124
	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.

github.com/dgraph-io/badger/v4

go dependency
expand_more 19 low-confidence finding(s)
low env_fs dependency Excluded from app score #375fcfde973e8d85 Filesystem access.
pkgs/go/[email protected]/badger/cmd/backup.go:61
	f, err := os.Create(bo.backupFile)

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

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

low env_fs dependency Excluded from app score #b8177e50c0de06a8 Filesystem access.
pkgs/go/[email protected]/badger/cmd/info.go:331
	fp, err := os.Open(filepath.Join(dir, badger.ManifestFilename))

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

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

low env_fs dependency Excluded from app score #92a92af4e4a59e61 Filesystem access.
pkgs/go/[email protected]/badger/cmd/pick_table_bench.go:85
		f, err := os.Create(pickOpts.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 #91b23f537426f73e Filesystem access.
pkgs/go/[email protected]/badger/cmd/restore.go:68
	f, err := os.Open(restoreFile)

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

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

low env_fs dependency Excluded from app score #dfc76edcaae5ef6d Filesystem access.
pkgs/go/[email protected]/badger/cmd/rotate.go:67
	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 #6585e9a7a1e8a485 Filesystem access.
pkgs/go/[email protected]/badger/cmd/stream.go:91
			f, err := os.Open(so.outDir)

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

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

low env_fs dependency Excluded from app score #634744234b9aaee8 Filesystem access.
pkgs/go/[email protected]/badger/cmd/stream.go:116
		f, err := os.OpenFile(so.outFile, os.O_RDWR|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 #de13207447e7586d Filesystem access.
pkgs/go/[email protected]/dir_other.go:41
	f, err := os.Open(dirPath)

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

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

low env_fs dependency Excluded from app score #02bfe1b57e2e9035 Filesystem access.
pkgs/go/[email protected]/dir_other.go:52
		err = os.WriteFile(absPidFilePath, []byte(fmt.Sprintf("%d\n", os.Getpid())), 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 #b76d9ea81c479cac Filesystem access.
pkgs/go/[email protected]/dir_other.go:81
func openDir(path string) (*os.File, error) { 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 #4a806917b8378c0b Filesystem access.
pkgs/go/[email protected]/dir_plan9.go:61
	f, err := os.OpenFile(absPidFilePath, os.O_WRONLY|os.O_TRUNC|os.O_CREATE, 0666|os.ModeExclusive)

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

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

low env_fs dependency Excluded from app score #a6d22d954b2d35e6 Filesystem access.
pkgs/go/[email protected]/dir_plan9.go:93
func openDir(path string) (*os.File, error) { 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 #55df6fadb3c0a226 Filesystem access.
pkgs/go/[email protected]/dir_unix.go:43
	f, err := os.Open(dirPath)

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

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

low env_fs dependency Excluded from app score #081c18a6a1f28dbd Filesystem access.
pkgs/go/[email protected]/dir_unix.go:63
		err = os.WriteFile(absPidFilePath, []byte(fmt.Sprintf("%d\n", os.Getpid())), 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 #8b7c57ebef7b9911 Filesystem access.
pkgs/go/[email protected]/dir_unix.go:91
func openDir(path string) (*os.File, error) { 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 #f0aa53944c687a4f Filesystem access.
pkgs/go/[email protected]/y/y.go:66
	return os.OpenFile(filename, openFlags, 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 #a2a694cdf78c190c Filesystem access.
pkgs/go/[email protected]/y/y.go:75
	return os.OpenFile(filename, flags, 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 #3d6010b96c383ea0 Filesystem access.
pkgs/go/[email protected]/y/y.go:84
	return os.OpenFile(filename, flags, 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 #dcf9976f1ecd6037 Filesystem access.
pkgs/go/[email protected]/y/y.go:93
	return os.OpenFile(filename, flags, 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/docker/docker

go dependency
expand_more 321 low-confidence finding(s)
low env_fs dependency Excluded from app score #260fd512e425c320 Environment-variable access.
pkgs/go/[email protected]+incompatible/api/server/router/distribution/distribution_routes.go:158
		if os.Getenv("DOCKER_ENABLE_DEPRECATED_PULL_SCHEMA_1_IMAGE") == "" {

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

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

low env_fs dependency Excluded from app score #b5df40824b0fa64a Environment-variable access.
pkgs/go/[email protected]+incompatible/builder/builder-next/executor_linux.go:63
	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 #8898d7ec7c21ed9d Environment-variable access.
pkgs/go/[email protected]+incompatible/builder/builder-next/executor_linux.go:72
		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 #92828cc4e638415a Filesystem access.
pkgs/go/[email protected]+incompatible/builder/dockerfile/copy.go:396
	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 #a6a0977f26bc78a0 Filesystem access.
pkgs/go/[email protected]+incompatible/builder/dockerfile/copy.go:462
		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 #26731682bff13f15 Filesystem access.
pkgs/go/[email protected]+incompatible/builder/remotecontext/detect.go:167
	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 #9fa514a867a8d764 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 #deb665542e29ccc3 Filesystem access.
pkgs/go/[email protected]+incompatible/builder/remotecontext/lazycontext.go:74
		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 #050d79f28e57dbad Environment-variable access.
pkgs/go/[email protected]+incompatible/client/options.go:83
		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 #84d08f138cabe857 Environment-variable access.
pkgs/go/[email protected]+incompatible/client/options.go:170
		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 #a6d6ce56c61c87aa Environment-variable access.
pkgs/go/[email protected]+incompatible/client/options.go:178
			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 #920543925a9f21ed Environment-variable access.
pkgs/go/[email protected]+incompatible/client/options.go:211
		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 #c4f6bd18390c8c41 Filesystem access.
pkgs/go/[email protected]+incompatible/client/request.go:187
			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 #51dfe562185be335 Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/daemon.go:237
	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 #3ed855df40f56929 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 #fab918f6cfb4df45 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 #0731918f1eddca3a 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 #48446f3e288e5238 Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/daemon.go:546
	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 #7c75887c2ab9187d Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/daemon.go:730
	if cfg.CorsHeaders != "" && os.Getenv("DOCKERD_DEPRECATED_CORS_HEADER") != "" {

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

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

low env_fs dependency Excluded from app score #dbf354fddb3b6c70 Environment-variable access.
pkgs/go/[email protected]+incompatible/cmd/dockerd/daemon.go:1000
	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 #bde5cd95097a382b 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 #8d8604e7f0ba48e9 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 #1bd1e8b3dd889d8a 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 #6bd38d82330d55ba 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 #ad58fa350c2d2e2d 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 #ebe01246b9fc6c38 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 #1e11930c30c2605f 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 #b22f6b6b2b8aa90f 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 #04170d3fc12dfe46 Filesystem access.
pkgs/go/[email protected]+incompatible/container/container.go:148
	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 #3780d17d9ac7de76 Filesystem access.
pkgs/go/[email protected]+incompatible/container/container.go:229
	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 #602aaeb5599af9ce Filesystem access.
pkgs/go/[email protected]+incompatible/container/container_unix.go:62
	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 #67ba7796392742e4 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 #d78817956637d37b 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 #9a94387bee71a9ee Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/cluster/services.go:247
			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 #bba61defbde0524b Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/cluster/services.go:363
			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 #629fa2e2fe23424c 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 #0737da375a876143 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/config/config.go:427
	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 #68b33e1c9ea1be71 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/config/config_windows.go:72
	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 #1f13efe8c5e2390f Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/config/config_windows.go:73
	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 #9432990ef4bd6235 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/container_operations_unix.go:243
		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 #d0de68bae56a1685 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/container_operations_unix.go:294
		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 #abf118369ffd8716 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/container_operations_unix.go:467
	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 #430b5a683a762d33 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/container_operations_windows.go:70
		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 #20914b006048b836 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/container_operations_windows.go:141
		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 #c29edd39c9994e3f Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/containerd/image_pull.go:155
			if os.Getenv("DOCKER_ENABLE_DEPRECATED_PULL_SCHEMA_1_IMAGE") == "" {

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

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

low env_fs dependency Excluded from app score #39d258b69fd9a703 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/daemon.go:903
	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 #74463d3c20a4f47f Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/daemon.go:1113
	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 #b006eea274ca50b0 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/daemon.go:1127
		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 #aa64c0a31e2341fa Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/daemon.go:1453
	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 #9ec797379365f614 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/daemon_linux.go:35
	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 #697bdc1f15a7e442 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/daemon_unix.go:778
	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 #c6fb40c12da5b1ef Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/daemon_unix.go:793
	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 #430e997b28469dca Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/daemon_unix.go:1336
	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 #c8ccaf34fc47b715 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/daemon_unix.go:1421
	f, err := os.OpenFile("/proc/sys/fs/may_detach_mounts", 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 #b8e9dac1f5a23d0e Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/daemon_unix.go:1468
	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 #797d06581e2c546e Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/daemon_unix.go:1479
		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 #f51c81291d680019 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/daemon_unix.go:1491
		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 #409e5657cc1b4c30 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/btrfs/btrfs.go:536
		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 #eb7609e7482e34b9 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/btrfs/btrfs.go:641
	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 #a7bd55d41336126a 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 #baecc5805fa677ac 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 #b880ad59e710f5c6 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/driver.go:287
	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 #a0d8e8e9d207e73e Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:200
	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 #651267b3f710c64b Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:213
	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 #be9213c0a6de9d52 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:222
		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 #555aaa2f8f74f7cf Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:239
	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 #a92c3c9aea8d0508 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:245
	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 #1360ffc590c2e539 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:262
	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 #bdae1693b9f80dc8 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:285
	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 #b79576ae7fa81e1e Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:310
	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 #7df1319d4c246fc5 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:388
	_, 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 #a413f214837af8b0 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 #ea99939659c0330f Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/graphtest/graphtest_unix.go:297
	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 #2b1a6b1e039f1f6b 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 #3044cebe4f421819 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 #a28cb07e7bdb1d6f 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 #f2dd289834040d8e 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 #4c8f4c4c1dd03af6 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 #ed1bdd008077db7e 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 #24ec4f34a1e5fdc7 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 #418f601602c2f021 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 #4dc7ad75ce76dba0 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 #ec9bb3812f8aef77 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 #a564f58d8e28537c 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 #1ee0d5b3f5fcc687 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 #83b271ffebf75eef 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 #9e305ede3a5df18c 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 #bb2ef33270aca1db 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 #749dd8493df77bec 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 #6c4ac822bff1bbd1 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 #2ce0dd2d688d2aa0 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 #7ae453b8dd7e7975 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 #413b34909deed5d6 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 #585b2569a2108dd2 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 #992f73dfb71b2ec5 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 #64cb203c0206daba 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 #42941c40b2a30edf 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 #ea8a551a2854f203 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 #dabe084f3c06f857 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/plugin.go:16
	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 #87d9302a903df4fd 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 #a499cb752a08913e Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/windows/windows.go:690
		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 #40e90dc78593da48 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/windows/windows.go:836
	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 #6efe4a5ba676f445 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/windows/windows.go:847
	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 #99c160d76cac3536 Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/windows/windows.go:853
	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 #e0672f481d3067ef Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/windows/windows.go:877
	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 #c7daca1d97b8ebcf Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/graphdriver/windows/windows.go:891
		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 #647f8533a01590fe 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 #ff171003d2738a99 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 #1c89fffa70b1f460 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/info.go:362
		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 #4a820f46cf784429 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/info_unix.go:312
	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 #5667b869618028c6 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 #d51bc674724fbf65 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 #3454f25b4f613944 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 #ae443202aeb04ccc 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 #12254833b4dcdf08 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/logger/awslogs/cloudwatchlogs.go:340
	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 #b11406b0a30380d9 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/logger/awslogs/cloudwatchlogs.go:341
		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 #46cf6cf9097839e4 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 #f6d3998abaf3c1df 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 #0acdc60afb3c6903 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 #5f7c1146ab0e3d0f Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/logger/splunk/splunk.go:648
	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 #665a4a4224a711f5 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/logger/splunk/splunk.go:661
	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 #ee8be4ba0f9229a4 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/nvidia_linux.go:101
		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 #9edb415a7fc2cfd6 Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/oci_linux.go:101
			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 #1a8d6e02f24d312f Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/oci_linux.go:110
			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 #aeaa73ca323bb709 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 #4ea43b394f5b1309 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 #83ba63c97e0f95fa Environment-variable access.
pkgs/go/[email protected]+incompatible/daemon/runtime_unix.go:66
			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 #dbf02898dbfd43bf Filesystem access.
pkgs/go/[email protected]+incompatible/daemon/stats_unix.go:322
	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 #049fa1a3e5ea4190 Environment-variable access.
pkgs/go/[email protected]+incompatible/distribution/manifest.go:296
		if os.Getenv("DOCKER_ENABLE_DEPRECATED_PULL_SCHEMA_1_IMAGE") == "" {

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

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

low env_fs dependency Excluded from app score #2ab50f18dfe27081 Environment-variable access.
pkgs/go/[email protected]+incompatible/distribution/manifest.go:312
		if os.Getenv("DOCKER_ENABLE_DEPRECATED_PULL_SCHEMA_1_IMAGE") == "" {

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

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

low env_fs dependency Excluded from app score #516aef32dbd12508 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 #f0002655c0e05006 Environment-variable access.
pkgs/go/[email protected]+incompatible/distribution/pull_v2.go:429
		if os.Getenv("DOCKER_ENABLE_DEPRECATED_PULL_SCHEMA_1_IMAGE") == "" {

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

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

low env_fs dependency Excluded from app score #c0916abc63c8f67e Environment-variable access.
pkgs/go/[email protected]+incompatible/distribution/pull_v2.go:865
			if os.Getenv("DOCKER_ENABLE_DEPRECATED_PULL_SCHEMA_1_IMAGE") == "" {

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

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

low env_fs dependency Excluded from app score #1e71c9e694985fd8 Environment-variable access.
pkgs/go/[email protected]+incompatible/distribution/push_v2.go:199
		if os.Getenv("DOCKER_ALLOW_SCHEMA1_PUSH_DONOTUSE") == "" {

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

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

low env_fs dependency Excluded from app score #14988f696962481f 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 #519b5c46c6c92881 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 #ff52762e9a3d7b05 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 #cc1127f6524035d3 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 #2ee6d1ccf49bcdb4 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/load.go:277
	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 #62f3ee65412312a9 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/load.go:317
	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 #7f8f7b0795daa974 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/save.go:266
		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 #7c24d8cd3ea22120 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/save.go:328
		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 #b8945a4b359e4e28 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/save.go:346
	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 #b84bb78b5ab5f703 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/save.go:364
	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 #d1f4888b362e011f Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/save.go:383
	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 #612b6bfbb60c9824 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/save.go:483
	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 #b908384e68371075 Filesystem access.
pkgs/go/[email protected]+incompatible/image/tarexport/save.go:615
	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 #e2e3f2a92852a84c 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 #6cb388785204fd99 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 #d2ba8970d10c972c 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 #e04860bc49b8afe6 Filesystem access.
pkgs/go/[email protected]+incompatible/integration/plugin/logging/cmd/discard/driver.go:40
		f, err := os.OpenFile(req.File, syscall.O_RDONLY, 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 #bd9acb6da0d60246 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 #5479f3ab164ea054 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 #0ce4650cf986eb91 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 #d80834c511b53645 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 #af1733459e27354c 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 #ead2eab0acf66cb2 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 #267cb1ca871262d3 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 #6d65f505da096954 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 #cc732e1b5fe78cb2 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 #4f984e1b41c74a9b 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 #bf568fb10e5bdc7d 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 #da049c6e98f80bd2 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 #48f38eee1b22af7c 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 #0e1f082ea54ea546 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 #950c044791c90bd3 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 #b19590363dcec522 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 #0d81651ac2c8e4ac 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 #087a78d3b671a21e Filesystem access.
pkgs/go/[email protected]+incompatible/internal/testutils/specialimage/twoplatform.go:102
	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 #37690327c288878a Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:140
	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 #85ec2762bee4731d Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:154
	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 #249fcd3893b1dbbe Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:171
	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 #8eab06b06743f582 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:185
	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 #7eecd4cee93f1134 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:199
	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 #6c80e21039cbbcc2 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:217
	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 #6c9a8fd6bfa6874d Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:237
	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 #e332b62571614797 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:244
	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 #a9429b7419e7f662 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:251
	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 #373f02a9b0922546 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:255
	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 #d5b051382e176eeb Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:269
	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 #8cc2e8f56197cd05 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:286
	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 #7203671ce56b947c Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:327
			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 #565b72b6e2f4e559 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/filestore.go:408
		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 #9c4aca313df1a848 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 #5b27951edcfb6ed9 Filesystem access.
pkgs/go/[email protected]+incompatible/layer/migration.go:110
	tdf, err := 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 #ab18e34f96f5678a Environment-variable access.
pkgs/go/[email protected]+incompatible/libcontainerd/remote/client.go:385
	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 #7ef66538f4ecd0dc 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 #7bb74fa3028eac63 Environment-variable access.
pkgs/go/[email protected]+incompatible/libcontainerd/supervisor/remote_daemon.go:175
	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 #43190e44e5b8fff5 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 #c82611975f84a790 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 #c6148f4d769fd72a Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_bridgenetfiltering.go:74
		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 #fbcba9c6aed1a532 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_bridgenetfiltering.go:81
	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 #e3e1f3a1600c0e43 Environment-variable access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_device_linux.go:23
	if defaultBridgeName = os.Getenv("DOCKER_TEST_CREATE_DEFAULT_BRIDGE"); defaultBridgeName == "" {

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

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

low env_fs dependency Excluded from app score #7300f78fd2f4a272 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_device_linux.go:76
	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 #8ef2a901fdb8a287 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_ip_forwarding.go:24
	return os.WriteFile(ipv4ForwardConf, []byte{val, '\n'}, ipv4ForwardConfPerm)

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

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

low env_fs dependency Excluded from app score #eaf5aa989c4f1ebf Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_ip_forwarding.go:29
	ipv4ForwardData, err := os.ReadFile(ipv4ForwardConf)

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

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

low env_fs dependency Excluded from app score #a4ec82fedaa5208d 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 #cdac0ae57a0217fe 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 #2514a6c3c68d5794 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_ipv6_linux.go:26
	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 #e370db87f22cd1b4 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_ipv6_linux.go:32
		if err := os.WriteFile(procFile, []byte{'0', '\n'}, ipv6ForwardConfPerm); err != nil {

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

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

low env_fs dependency Excluded from app score #d02861c51a231652 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_ipv6_linux.go:76
	ipv6ForwardDataDefault, err := os.ReadFile(ipv6ForwardConfDefault)

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

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

low env_fs dependency Excluded from app score #fab51f15debe548a Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_ipv6_linux.go:82
		if err := os.WriteFile(ipv6ForwardConfDefault, []byte{'1', '\n'}, ipv6ForwardConfPerm); err != nil {

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

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

low env_fs dependency Excluded from app score #d25844974f5ad8d5 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_ipv6_linux.go:88
	ipv6ForwardDataAll, err := os.ReadFile(ipv6ForwardConfAll)

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

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

low env_fs dependency Excluded from app score #17ecc8c7e29403eb Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/drivers/bridge/setup_ipv6_linux.go:94
		if err := os.WriteFile(ipv6ForwardConfAll, []byte{'1', '\n'}, ipv6ForwardConfPerm); err != nil {

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

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

low env_fs dependency Excluded from app score #eef24cae6411a5f9 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 #620c59a8d688fba2 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 #99fcccad3da2a7b4 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/etchosts/etchosts.go:120
	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 #3ac91e32a7ba861c Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/etchosts/etchosts.go:124
	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 #6f077c5d6a99e236 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/etchosts/etchosts.go:152
	old, 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 #5d17298fb3f3fbd2 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/etchosts/etchosts.go:185
	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 #6e7b5cd608dc3de1 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/etchosts/etchosts.go:195
	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 #41041bdc639367b2 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/etchosts/etchosts.go:200
	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 #d4def8495e2eaaed Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/internal/resolvconf/resolvconf.go:98
	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 #4951d6cbfa636d5c Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/internal/resolvconf/resolvconf.go:384
	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 #0518f521dff76d28 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/internal/resolvconf/resolvconf.go:410
	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 #2b36ddc97f6eb3f0 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/internal/resolvconf/resolvconf.go:424
	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 #bc6ce572e3af2f5a 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 #d98b7ace107d8cbd Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/interface_linux.go:482
			} 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 #d003b81cea412455 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/interface_linux.go:487
			} 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 #8b4a725557fc015b 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 #5feb539bf26e1035 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 #23daeeab2ee0b742 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/namespace_linux.go:301
	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 #f2dffc71278ec27a Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/namespace_linux.go:385
		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 #69cfd886537df0d5 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/namespace_linux.go:390
		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 #a358636c6fefe5d4 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/namespace_linux.go:643
		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 #b02b4ded73432097 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/namespace_linux.go:659
		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 #9dfe86adfb7e843d Environment-variable access.
pkgs/go/[email protected]+incompatible/libnetwork/osl/namespace_linux.go:659
		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 #3378514237cb4f01 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 #7253bb30f35815a9 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 #2405dd03d24be1da Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/resolvconf/resolvconf.go:151
	if err := os.WriteFile(path, content.Bytes(), 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 #2abd968ebb576641 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/sandbox_dns_unix.go:387
	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 #a216941762ee918a Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/sandbox_dns_unix.go:391
	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 #3977242e5bf21402 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/service_linux.go:375
		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 #7e9a2a695fb614d1 Filesystem access.
pkgs/go/[email protected]+incompatible/libnetwork/service_linux.go:565
				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 #a9133407c778c523 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 #f8f6ff079a04aaca Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/archive/archive.go:115
	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 #48a7b16497814466 Environment-variable access.
pkgs/go/[email protected]+incompatible/pkg/archive/archive.go:196
	if noPigzEnv := os.Getenv("MOBY_DISABLE_PIGZ"); noPigzEnv != "" {

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

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

low env_fs dependency Excluded from app score #1c99f05f5f685685 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/archive/archive.go:1285
	archive, 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 #e5ea248f05fc44e2 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/archive/archive.go:1352
			srcF, 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 #52694d8790e70041 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/archive/changes_linux.go:226
	f, err := os.Open(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 #e70cf13379ab1bf1 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/archive/diff.go:175
				tmpFile, err := os.Open(filepath.Join(aufsTempdir, linkBasename))

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

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

low env_fs dependency Excluded from app score #c98e2059516ee40d Environment-variable access.
pkgs/go/[email protected]+incompatible/pkg/archive/example_changes.go:34
	if (len(os.Getenv("DEBUG")) > 0) || *flDebug {

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

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

low env_fs dependency Excluded from app score #33e7cf734803fd2b Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/archive/example_changes.go:85
		if err := os.WriteFile(path.Join(targetPath, fileName), fileData, 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 #eaa34eafe66dbd9f 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 #41c85f6a5ae2c08f 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 #ee46c3c84bdaad0a Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/fileutils/fileutils.go:64
			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 #e64590f2dbdff08c Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/fileutils/fileutils_linux.go:37
	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 #faac324bd496eed1 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 #ae6eb254dbaf2a14 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 #dbb819a7d73ec967 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 #0c22a2e926523fdc Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/idtools/idtools.go:194
	subidFile, 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 #cf70123266404744 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/ioutils/fswriters.go:140
	f, err := os.OpenFile(filepath.Join(ws.root, 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 #d150190d3a02f725 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 #6b678bc6362895cf 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 #f30e73b61156fe45 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 #18178a1336c14ee7 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 #8cffc9701c70e12b 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 #fea6cd468ac11753 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 #c5eacdfa6488055e 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 #9d0d1d8f727cedd2 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 #d70292b9f3ec64b0 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 #a5f6e936c455b58b 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 #2ddebfcf32363643 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/process/process_unix.go:70
	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 #d84c457220d573dc Environment-variable access.
pkgs/go/[email protected]+incompatible/pkg/rootless/rootless.go:10
	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 #f852749625eb37e0 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 #25f3210ce91c2d57 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 #28d06da4790d1b09 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/sysinfo/cgroup2_linux.go:128
	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 #760746d74aa1cd53 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/sysinfo/sysinfo_linux.go:238
	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 #6f63fac1cae234a2 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/sysinfo/sysinfo_linux.go:244
	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 #cbf4ae1d1d48bd27 Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/sysinfo/sysinfo_linux.go:277
		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 #5c5f6db8d29dbcce Filesystem access.
pkgs/go/[email protected]+incompatible/pkg/sysinfo/sysinfo_linux.go:301
	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 #bf22645758ffca08 Filesystem access.
pkgs/go/[email protected]+incompatible/plugin/manager.go:262
	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 #a2632642784ac084 Filesystem access.
pkgs/go/[email protected]+incompatible/profiles/apparmor/apparmor.go:65
	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 #0c3dde331d6c7b33 Filesystem access.
pkgs/go/[email protected]+incompatible/profiles/apparmor/apparmor.go:103
	file, 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 #e56f207a94064288 Filesystem access.
pkgs/go/[email protected]+incompatible/profiles/seccomp/generate.go:28
	if err := os.WriteFile(f, b, 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 #45c889b000045cb9 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 #0425f57245bbbb8e 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 #6638fab8f1bd5ba3 Filesystem access.
pkgs/go/[email protected]+incompatible/registry/registry.go:70
			data, err := os.ReadFile(filepath.Join(directory, 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 #cf83ca8f057c2ea4 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:106
	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 #b93bf30f506a7838 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:124
	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 #38120adbf5d46440 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:199
	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 #a9d0bc3694f0d715 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:201
		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 #00399f36c96db0a0 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:207
	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 #c989794082648c46 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:208
		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 #7f3a28e7806672f5 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:211
		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 #298e2baa30909fa3 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:275
	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 #55173c9fe16f97fd Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:399
	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 #48999826bc8e263c Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:426
	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 #386d1a782ef5cc0c Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:491
	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 #be9a6d8a60fd17db Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:516
	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 #21163fa392577540 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:778
	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 #124d7da982c1e1bd Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:958
	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 #eeb276d8d6dc6043 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/daemon/daemon.go:967
	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 #d095fb7cf4d7ff27 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 #5fde4cf30784111a 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 #cfaa651163f6ab24 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 #7f398ffb014391de 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 #dc19544560f708d6 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 #7e5ffbed5bb70041 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 #9a3becee430bd6b7 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 #4001739e3f17616f 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 #8021a9c368814569 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 #1c1e499fa225c144 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 #4c88ba73be025cc7 Environment-variable access.
pkgs/go/[email protected]+incompatible/testutil/fakestorage/fixtures.go:59
		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 tooling Excluded from app score unknown #2071e63db9851d09 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 tooling Excluded from app score unknown #e041f03bd6e76c39 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 tooling Excluded from app score unknown #121ea9f7c4bcb367 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 tooling Excluded from app score unknown #367ec2ba3a5e2c31 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 tooling Excluded from app score unknown #0abce1b959c453fe 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 tooling Excluded from app score unknown #dc96cd58256bd555 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 #3303f2a3b0e9e775 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 #b56480dcef62b299 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/registry/registry.go:81
		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 #422dc1b6f5316a33 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/registry/registry.go:99
	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 #33fe653d47ca1908 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/registry/registry.go:187
	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 #8301c367e8983be1 Filesystem access.
pkgs/go/[email protected]+incompatible/testutil/registry/registry.go:195
	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 #2e73033c0411f58e 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 #7fde9446baf5e894 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 #f6fbd2a27ef8d9cb 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 #f1c3aaf7ad568fb0 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 #7a3fa73ab1649539 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 #d8045bdc7f95e338 Filesystem access.
pkgs/go/[email protected]+incompatible/volume/local/local.go:367
	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/elk-language/go-prompt

go dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #65eec4526ee02b33 Environment-variable access.
pkgs/go/[email protected]/debug/assert.go:17
	if e := os.Getenv(envAssertPanic); e == "true" || e == "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 #45b80a08cf0eb073 Environment-variable access.
pkgs/go/[email protected]/debug/log.go:20
	if e := os.Getenv(envEnableLog); e == "true" || e == "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 #8e2ea830242305b4 Filesystem access.
pkgs/go/[email protected]/debug/log.go:22
		logfile, err = os.OpenFile(logFileName, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 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.

github.com/emersion/go-webdav

go dependency
expand_more 4 low-confidence finding(s)
low env_fs dependency Excluded from app score #46986d85d2b7f4e5 Filesystem access.
pkgs/go/[email protected]/fs_local.go:46
	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 #f96f840534e63208 Filesystem access.
pkgs/go/[email protected]/fs_local.go:128
	wc, 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 #2be61677ec9a44c8 Filesystem access.
pkgs/go/[email protected]/fs_local.go:173
	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 #d919babe0ad16bc2 Filesystem access.
pkgs/go/[email protected]/fs_local.go:179
	dstFile, err := os.OpenFile(dst, 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.

github.com/fatedier/frp

go dependency
expand_more 16 low-confidence finding(s)
low env_fs dependency Excluded from app score #0395b8e86358c410 Filesystem access.
pkgs/go/[email protected]/client/admin_api.go:217
	content, err := os.ReadFile(svr.configFilePath)

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

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

low env_fs dependency Excluded from app score #28667c77ad064917 Filesystem access.
pkgs/go/[email protected]/client/admin_api.go:256
	if err := os.WriteFile(svr.configFilePath, body, 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 #08e1a68116f8e916 Environment-variable access.
pkgs/go/[email protected]/client/service.go:47
	if os.Getenv("QUIC_GO_DISABLE_ECN") == "" {

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

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

low env_fs dependency Excluded from app score #a0ab14394ce528ba Environment-variable access.
pkgs/go/[email protected]/pkg/config/legacy/value.go:28
	envs := 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 #d9483f7e3dd5dea1 Filesystem access.
pkgs/go/[email protected]/pkg/config/legacy/value.go:67
	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 #417fc7dcd0d14366 Environment-variable access.
pkgs/go/[email protected]/pkg/config/load.go:43
	envs := 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 #6161f477a4042ede Filesystem access.
pkgs/go/[email protected]/pkg/config/load.go:75
	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 #5c0ebd5973388b75 Filesystem access.
pkgs/go/[email protected]/pkg/config/load.go:99
	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 #46bd6f2f6739ef48 Environment-variable access.
pkgs/go/[email protected]/pkg/config/v1/client.go:135
	c.ProxyURL = util.EmptyOr(c.ProxyURL, os.Getenv("http_proxy"))

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

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

low env_fs dependency Excluded from app score #066c10cde5d5d8ce Filesystem access.
pkgs/go/[email protected]/pkg/ssh/gateway.go:53
		privateKeyBytes, err = os.ReadFile(cfg.PrivateKeyFile)

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

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

low env_fs dependency Excluded from app score #54ec6fb3f691f2a9 Filesystem access.
pkgs/go/[email protected]/pkg/ssh/gateway.go:56
			privateKeyBytes, _ = os.ReadFile(cfg.AutoGenPrivateKeyPath)

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

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

low env_fs dependency Excluded from app score #b45eac36f80dd1b0 Filesystem access.
pkgs/go/[email protected]/pkg/ssh/gateway.go:61
				err = os.WriteFile(cfg.AutoGenPrivateKeyPath, privateKeyBytes, 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 #057701ec0628e8e3 Filesystem access.
pkgs/go/[email protected]/pkg/ssh/gateway.go:129
	authorizedKeysBytes, 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 #2c036791d54e9689 Filesystem access.
pkgs/go/[email protected]/pkg/transport/tls.go:64
	caCrt, 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 #3a912f04e130743f Filesystem access.
pkgs/go/[email protected]/pkg/util/vhost/resource.go:59
		buf, err = os.ReadFile(NotFoundPagePath)

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

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

low env_fs dependency Excluded from app score #bb400bba37fcf77c Environment-variable access.
pkgs/go/[email protected]/server/service.go:69
	if os.Getenv("QUIC_GO_DISABLE_ECN") == "" {

Reads environment variables or the 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-git/go-git/v5

go dependency
expand_more 13 low-confidence finding(s)
low env_fs dependency Excluded from app score #fd35e8cfee774469 Filesystem access.
pkgs/go/[email protected]/_examples/commit/main.go:31
	err = os.WriteFile(filename, []byte("hello world!"), 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 #79d26153637c9952 Environment-variable access.
pkgs/go/[email protected]/_examples/merge_base/helpers.go:42
		if os.Getenv("LOG_LEVEL") == "verbose" {

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

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

low env_fs dependency Excluded from app score #ac082ff937b1586a Filesystem access.
pkgs/go/[email protected]/_examples/restore/main.go:18
	err := ioutil.WriteFile(filepath.Join(directory, "for-modify"), []byte("hello world! Modify"), 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 #1a3f8ff08f78ee7e Filesystem access.
pkgs/go/[email protected]/_examples/restore/main.go:25
	err = ioutil.WriteFile(filepath.Join(directory, "for-delete"), []byte("hello world! Delete"), 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 #31d60367aa1344e7 Filesystem access.
pkgs/go/[email protected]/_examples/restore/main.go:58
	err = ioutil.WriteFile(filepath.Join(directory, "for-modify"), []byte("hello world! Modify 2"), 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 #6dd553dbcc78f16c Filesystem access.
pkgs/go/[email protected]/_examples/restore/main.go:65
	err = ioutil.WriteFile(filepath.Join(directory, "for-add"), []byte("hello world! Add"), 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 #962a9e55a14928a6 Filesystem access.
pkgs/go/[email protected]/_examples/sha256/main.go:36
	err = os.WriteFile(filename, []byte("hello world!"), 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 #2995582a363716de Filesystem access.
pkgs/go/[email protected]/_examples/tag-create-push/main.go:69
	sshKey, _ := 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 #7011f80a192f3b47 Environment-variable access.
pkgs/go/[email protected]/config/config.go:195
		xdg := os.Getenv("XDG_CONFIG_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 #b49333261c73075d Environment-variable access.
pkgs/go/[email protected]/plumbing/protocol/packp/capability/capability.go:250
	if envUserAgent, ok := os.LookupEnv("GO_GIT_USER_AGENT_EXTRA"); 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 #a544d4c9b21dded4 Filesystem access.
pkgs/go/[email protected]/plumbing/transport/ssh/auth_method.go:136
	bytes, err := os.ReadFile(pemFile)

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

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

low env_fs dependency Excluded from app score #7028a8d576d2eaeb Environment-variable access.
pkgs/go/[email protected]/plumbing/transport/ssh/auth_method.go:164
		username = os.Getenv("USER")

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

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

low env_fs dependency Excluded from app score #0c8d0b124803eb96 Environment-variable access.
pkgs/go/[email protected]/plumbing/transport/ssh/auth_method.go:254
	files := filepath.SplitList(os.Getenv("SSH_KNOWN_HOSTS"))

Reads environment variables or the 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-resty/resty/v2

go dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #49234528f8b1ce98 Filesystem access.
pkgs/go/[email protected]/client.go:878
	rootPemData, err := os.ReadFile(pemFilePath)

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

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

low env_fs dependency Excluded from app score #cf586b324d2ee5d2 Filesystem access.
pkgs/go/[email protected]/middleware.go:542
		outFile, 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 #6ec1cf5d0a0e3907 Filesystem access.
pkgs/go/[email protected]/util.go:233
	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.

github.com/go-sql-driver/mysql

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #852d1b8c7dc4f1f7 Filesystem access.
pkgs/go/[email protected]/infile.go:132
			if file, err = os.Open(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.

github.com/goccy/go-json

go dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #45b1e327029c1b68 Filesystem access.
pkgs/go/[email protected]/internal/cmd/generator/main.go:276
	return os.WriteFile(path, buf, 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 #1b400dcec02edff2 Filesystem access.
pkgs/go/[email protected]/internal/cmd/generator/main.go:280
	file, err := os.ReadFile("vm.go.tmpl")

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

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

low env_fs dependency Excluded from app score #76fef087632bd57f Filesystem access.
pkgs/go/[email protected]/internal/cmd/generator/main.go:298
		if err := os.WriteFile(path, source, 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/gomarkdown/markdown

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #2e54e53025e5e550 Filesystem access.
pkgs/go/github.com_gomarkdown_markdown@v0.0.0-20250202022148-4f606c78d442/cmd/printast/main.go:37
		d, err := 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.

github.com/google/go-github/v63

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #fca58b71c082f7af Filesystem access.
pkgs/go/[email protected]/github/gen-accessors.go:203
		if err := os.WriteFile(filename, clean, 0444); err != nil {

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

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

low env_fs dependency Excluded from app score #7126f1ec2e1d90ec Filesystem access.
pkgs/go/[email protected]/github/gen-stringify-test.go:358
	if err := os.WriteFile(t.filename, clean, 0444); err != nil {

Reads environment variables or the 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 2 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #d908f6c5afe11235 Filesystem access.
pkgs/go/[email protected]/examples/filewatch/main.go:52
	p, err := 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 #d7b0e0e876047356 Environment-variable access.
pkgs/go/[email protected]/x_net_proxy.go:266
		e.val = os.Getenv(n)

Reads environment variables or the 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/hashicorp/go-getter

go dependency
expand_more 20 low-confidence finding(s)
low env_fs dependency Excluded from app score #681268fe51ee1cd8 Filesystem access.
pkgs/go/[email protected]/checksum.go:57
	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 #66fc03767e67d296 Filesystem access.
pkgs/go/[email protected]/checksum.go:251
	f, err := os.Open(tempfile)

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

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

low env_fs dependency Excluded from app score #048111571a4d3db4 Filesystem access.
pkgs/go/[email protected]/decompress_bzip2.go:34
	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 dependency Excluded from app score #cfc1e9e5d308ea34 Filesystem access.
pkgs/go/[email protected]/decompress_gzip.go:34
	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 dependency Excluded from app score #0ae12c11b573033c Filesystem access.
pkgs/go/[email protected]/decompress_tar.go:179
	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 dependency Excluded from app score #3590fbb324a408f0 Filesystem access.
pkgs/go/[email protected]/decompress_tbz2.go:39
	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 dependency Excluded from app score #d796f2e83a70770a Filesystem access.
pkgs/go/[email protected]/decompress_testing.go:160
	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 #96bbd55cce6cb300 Filesystem access.
pkgs/go/[email protected]/decompress_tgz.go:40
	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 dependency Excluded from app score #7b20514e03d82cb5 Filesystem access.
pkgs/go/[email protected]/decompress_txz.go:41
	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 dependency Excluded from app score #4cf3809b3831f0d0 Filesystem access.
pkgs/go/[email protected]/decompress_tzst.go:41
	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 dependency Excluded from app score #f967efcb3d09c624 Filesystem access.
pkgs/go/[email protected]/decompress_xz.go:35
	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 dependency Excluded from app score #0000649ce3d6e5f0 Filesystem access.
pkgs/go/[email protected]/decompress_zstd.go:34
	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 dependency Excluded from app score #f7cced0e2c0a0667 Filesystem access.
pkgs/go/[email protected]/get_file_copy.go:38
	dstF, err := os.OpenFile(dst, os.O_RDWR|os.O_CREATE|os.O_TRUNC, fmode)

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

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

low env_fs dependency Excluded from app score #2b1bd810866dcf33 Filesystem access.
pkgs/go/[email protected]/get_file_copy.go:71
	srcF, 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 #bdb16c487f5d15fe Filesystem access.
pkgs/go/[email protected]/get_file_copy.go:77
	dstF, err := os.OpenFile(dst, os.O_RDWR|os.O_CREATE|os.O_TRUNC, fmode)

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

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

low env_fs dependency Excluded from app score #2acd70eb170a36c6 Environment-variable access.
pkgs/go/[email protected]/get_gcs.go:220
	if v, ok := os.LookupEnv("GOOGLE_OAUTH_ACCESS_TOKEN"); 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 #39ca636f3e1b6ddf Environment-variable access.
pkgs/go/[email protected]/get_git.go:360
	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 #2365c7b654f2167a Filesystem access.
pkgs/go/[email protected]/get_http.go:400
	f, err := os.OpenFile(dst, os.O_RDWR|os.O_CREATE, g.client.mode(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 #d63e40cbf85ea767 Environment-variable access.
pkgs/go/[email protected]/get_s3.go:221
	metadataURLOverride := os.Getenv("AWS_METADATA_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 #fd763a24ef031eb2 Environment-variable access.
pkgs/go/[email protected]/netrc.go:28
	path := os.Getenv("NETRC")

Reads environment variables or the 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/hjson/hjson-go/v4

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #28da2e0387b4bc44 Filesystem access.
pkgs/go/[email protected]/hjson-cli/main.go:71
		data, err = ioutil.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.

github.com/jackc/pgx/v5

go dependency
expand_more 11 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #c1add282ad4ed7ee Environment-variable access.
pkgs/go/[email protected]/examples/chat/main.go:16
	pool, err = pgxpool.New(context.Background(), 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 tooling Excluded from app score unknown #3a1a4d834943ec8e Environment-variable access.
pkgs/go/[email protected]/examples/todo/main.go:16
	conn, err = pgx.Connect(context.Background(), 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 tooling Excluded from app score unknown #060efcddfee6a479 Environment-variable access.
pkgs/go/[email protected]/examples/url_shortener/main.go:73
	poolConfig, err := pgxpool.ParseConfig(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 #f4089d0f90c23073 Environment-variable access.
pkgs/go/[email protected]/pgconn/config.go:467
		value := 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 #df330c881a2a5eb6 Filesystem access.
pkgs/go/[email protected]/pgconn/config.go:693
			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 #0c95e3757ec702fe Filesystem access.
pkgs/go/[email protected]/pgconn/config.go:769
		buf, err := os.ReadFile(sslkey)

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

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

low env_fs dependency Excluded from app score #c776b7e553e40195 Filesystem access.
pkgs/go/[email protected]/pgconn/config.go:811
		certfile, err := os.ReadFile(sslcert)

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

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

low env_fs dependency Excluded from app score #d854936768d13f33 Environment-variable access.
pkgs/go/[email protected]/pgconn/defaults_windows.go:20
	appData := os.Getenv("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 #a372d5168370eb71 Filesystem access.
pkgs/go/[email protected]/testsetup/generate_certs.go:121
	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 #398b04b8a7257cba Filesystem access.
pkgs/go/[email protected]/testsetup/generate_certs.go:143
	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 #3b658474db24e191 Filesystem access.
pkgs/go/[email protected]/testsetup/generate_certs.go:168
	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.

github.com/jmoiron/sqlx

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #b2e459101d3687e9 Filesystem access.
pkgs/go/[email protected]/sqlx.go:712
	contents, err := ioutil.ReadFile(realpath)

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

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

low env_fs dependency Excluded from app score #17f794ad91064a28 Filesystem access.
pkgs/go/[email protected]/sqlx_context.go:103
	contents, err := ioutil.ReadFile(realpath)

Reads environment variables or the 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/julien040/anyquery

go dependency
expand_more 26 low-confidence finding(s)
low env_fs dependency Excluded from app score #28d873f0eeaaefcf Filesystem access.
pkgs/go/[email protected]/controller/dev.go:372
	mainFile, err := os.Create("main.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 #fffdb1b640567c6a Filesystem access.
pkgs/go/[email protected]/controller/dev.go:389
	tableFile, err := os.Create(moduleName + ".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 #1815f7daf6788c0d Filesystem access.
pkgs/go/[email protected]/controller/dev.go:406
	makefile, err := os.Create("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 #18aa188e45a2b135 Filesystem access.
pkgs/go/[email protected]/controller/dev.go:424
	err = os.WriteFile(".gitignore", []byte(gitignoreDev), 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 #b66eead75fecefbe Filesystem access.
pkgs/go/[email protected]/controller/dev.go:430
	manifestFile, err := os.Create("devManifest.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 #8bcf6f6f92df6bcf Filesystem access.
pkgs/go/[email protected]/controller/dev.go:447
	goreleaserFile, err := os.Create(".goreleaser.yaml")

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

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

low env_fs dependency Excluded from app score #ea53925279a8b400 Filesystem access.
pkgs/go/[email protected]/controller/dev.go:464
	manifestFile, err = os.Create("manifest.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 #b8c181651cd6630b Filesystem access.
pkgs/go/[email protected]/controller/dev.go:514
	tableFile, err := os.Create(tableName + ".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 #60c60d337cb3bf18 Environment-variable access.
pkgs/go/[email protected]/controller/plugins.go:114
	if os.Getenv("ANYQUERY_SKIP_REGISTRY_CHECK") != "" {

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

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

low env_fs dependency Excluded from app score #0e6a934fd7729066 Filesystem access.
pkgs/go/[email protected]/controller/query.go:64
		outputLog, _ = os.OpenFile(logFile, 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 #b723fe3a281c1851 Filesystem access.
pkgs/go/[email protected]/controller/query.go:183
		file, err := os.OpenFile(outputFile, 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 #6d7cbcd69aa652b5 Filesystem access.
pkgs/go/[email protected]/controller/query.go:223
		file, err := os.Open(script)

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

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

low env_fs dependency Excluded from app score #e3c2ed42469d7012 Filesystem access.
pkgs/go/[email protected]/controller/run.go:151
	content, err := os.ReadFile(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 #12c1fb1f497fb9a5 Filesystem access.
pkgs/go/[email protected]/controller/run.go:520
		file, err := os.OpenFile(outputFile, 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 #03af254be3845272 Filesystem access.
pkgs/go/[email protected]/controller/server.go:85
		file, err := os.OpenFile(logFile, 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 #0c939ebabcbf024e Filesystem access.
pkgs/go/[email protected]/controller/shell.go:173
			file, err := os.ReadFile(pathToRead)

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

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

low env_fs dependency Excluded from app score #ace39679b3464ba2 Filesystem access.
pkgs/go/[email protected]/controller/shell.go:229
				file, err := os.OpenFile(confPath, 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 #93515d249bbbe735 Filesystem access.
pkgs/go/[email protected]/module/helper.go:94
	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 #1568bee3bb0eaf60 Filesystem access.
pkgs/go/[email protected]/module/read_html.go:106
		file, err = os.OpenFile(filePath, 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 #233276e9db088bb3 Filesystem access.
pkgs/go/[email protected]/module/read_log.go:63
		file, err := os.ReadFile(filePattern)

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

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

low env_fs dependency Excluded from app score #67dc5e6c8f85ceb1 Filesystem access.
pkgs/go/[email protected]/namespace/developer.go:67
	rawManifest, err := os.ReadFile(pluginManifestPath)

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

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

low env_fs dependency Excluded from app score #eb10cd1b9e755e73 Filesystem access.
pkgs/go/[email protected]/namespace/developer.go:107
		logFile, err := os.OpenFile(m.LogFile, os.O_CREATE|os.O_WRONLY|os.O_APPEND, 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 #f6274bcc32d54e60 Filesystem access.
pkgs/go/[email protected]/namespace/strings_functions.go:328
	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 #3a697e6383679a5a Filesystem access.
pkgs/go/[email protected]/other/sqlparser/goyacc/goyacc.go:3294
	fi, 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 #7cb94dca7d286633 Filesystem access.
pkgs/go/[email protected]/other/sqlparser/goyacc/goyacc.go:3303
	fo, err := 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 egress dependency Excluded from app score #7a589692687f6795 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/other/tunnel/client/create.go:46
	req, err := http.NewRequest(http.MethodPost, requestTunnelEndpoint, 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.

github.com/julien040/go-sqlite3-anyquery

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #6ab799a896169f8e Filesystem access.
pkgs/go/[email protected]/_example/fuzz/fuzz_openexec.go:16
	err := ioutil.WriteFile("/tmp/fuzz.db", data[sep+1:], 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 dependency Excluded from app score #ccbbe5f0dd48ae7b Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/_example/vtable/vtable.go:47
	resp, err := http.Get("https://api.github.com/repositories")

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/julien040/pql-anyquery

go dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #0d8fba05b1e2e3a3 Filesystem access.
pkgs/go/[email protected]/cmd/pql/main.go:127
		return os.Open(args[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 #940f1fb526737d30 Filesystem access.
pkgs/go/[email protected]/cmd/pql/main.go:137
		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 #af6998612e0fb89c Filesystem access.
pkgs/go/[email protected]/cmd/pql/main.go:153
	return os.Create(arg)

Reads environment variables or the 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/mmcdole/gofeed

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #d1cc0fe93fb60a00 Filesystem access.
pkgs/go/[email protected]/cmd/ftest/main.go:79
	f, 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/olekukonko/tablewriter

go dependency
expand_more 25 low-confidence finding(s)
low env_fs dependency Excluded from app score #e2105b3905f5730d Filesystem access.
pkgs/go/[email protected]/cmd/csv2table/csv2table.go:67
		file, errFile := 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 #82bcd107e03b292a Filesystem access.
pkgs/go/[email protected]/csv.go:13
	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 #03bae5cc182ba328 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:219
			LC_ALL:              os.Getenv(EnvLCAll),

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

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

low env_fs dependency Excluded from app score #5e6dcc6f99ae0f7e Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:220
			LC_CTYPE:            os.Getenv(EnvLCCtype),

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

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

low env_fs dependency Excluded from app score #3fbdb32961bbd76a Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:221
			LANG:                os.Getenv(EnvLang),

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

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

low env_fs dependency Excluded from app score #6298464bc0743b07 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:222
			RUNEWIDTH_EASTASIAN: os.Getenv(EnvRuneWidthEastAsian),

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

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

low env_fs dependency Excluded from app score #c8d424154715674f Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:223
			TERM:                os.Getenv(EnvTerm),

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

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

low env_fs dependency Excluded from app score #8f8fcca41502228d Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:224
			TERM_PROGRAM:        os.Getenv(EnvTermProgram),

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

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

low env_fs dependency Excluded from app score #d73fe031c8d0e536 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:265
	if rw := os.Getenv(EnvRuneWidthEastAsian); rw != "" {

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

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

low env_fs dependency Excluded from app score #5fc45a3bcab61f63 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:289
	if termProg := os.Getenv(EnvTermProgram); termProg != "" {

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

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

low env_fs dependency Excluded from app score #54dff690ed8746b6 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:297
	if os.Getenv(EnvTermProgramWsl) != "" {

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

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

low env_fs dependency Excluded from app score #d0d1af207781a8c9 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:304
		if os.Getenv(EnvWTProfile) != "" {

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

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

low env_fs dependency Excluded from app score #eb30b8fe69b163b7 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:308
		if os.Getenv(EnvConEmuANSI) == "ON" {

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

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

low env_fs dependency Excluded from app score #a06efb74a5cf6722 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:312
		if term := os.Getenv(EnvTerm); 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 dependency Excluded from app score #a02685f800672d96 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:322
	if os.Getenv(EnvVTEVersion) != "" {

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

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

low env_fs dependency Excluded from app score #ea010bd5565fe4c4 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:327
	if os.Getenv(EnvAlacritty) != "" {

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

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

low env_fs dependency Excluded from app score #bead8430e7728e40 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:332
	if term := os.Getenv(EnvTerm); 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 dependency Excluded from app score #39baaea95e35a34f Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:353
	termProg := strings.ToLower(os.Getenv(EnvTermProgram))

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

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

low env_fs dependency Excluded from app score #2eaa24a21b21f627 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:370
	if os.Getenv(EnvWTProfile) != "" {

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

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

low env_fs dependency Excluded from app score #15726ddce6a12ec1 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:402
	if loc := os.Getenv(EnvLCAll); loc != "" {

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

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

low env_fs dependency Excluded from app score #1d6aac8ae058dcf1 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:404
	} else if loc := os.Getenv(EnvLCCtype); loc != "" {

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

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

low env_fs dependency Excluded from app score #430efd30640fff53 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/ea.go:406
	} else if loc := os.Getenv(EnvLang); loc != "" {

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

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

low env_fs dependency Excluded from app score #e6df72ecf5643d65 Filesystem access.
pkgs/go/[email protected]/pkg/twwidth/tab.go:127
	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 #5ef0a64a61707a97 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/tab.go:230
	termEnv := strings.ToLower(os.Getenv("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 dependency Excluded from app score #84f1220ca2135339 Environment-variable access.
pkgs/go/[email protected]/pkg/twwidth/tab.go:285
	v := 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.

github.com/parquet-go/parquet-go

go dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #4240d8056b355397 Environment-variable access.
pkgs/go/[email protected]/internal/debug/debug.go:76
	for _, arg := range strings.Split(os.Getenv("PARQUETGODEBUG"), ",") {

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

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

low env_fs dependency Excluded from app score #5a135ae6f1c4a49b Filesystem access.
pkgs/go/[email protected]/parquet.go:54
	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 #600d3fcb6ca2f8a3 Filesystem access.
pkgs/go/[email protected]/parquet.go:87
	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.

github.com/pelletier/go-toml

go dependency
expand_more 4 low-confidence finding(s)
low env_fs dependency Excluded from app score #de0700f346bb21d8 Filesystem access.
pkgs/go/[email protected]/cmd/jsontoml/main.go:37
		file, err := os.Open(files[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 #1bf211586d15858d Filesystem access.
pkgs/go/[email protected]/cmd/tomljson/main.go:37
		inputReader, err = os.Open(files[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 #945d3660cbe06654 Filesystem access.
pkgs/go/[email protected]/cmd/tomll/main.go:53
			ioutil.WriteFile(filename, []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 #5cd183a070ddb3d4 Filesystem access.
pkgs/go/[email protected]/toml.go:527
	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.

github.com/santhosh-tekuri/jsonschema/v5

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #b10ca63356ef1544 Filesystem access.
pkgs/go/[email protected]/loader.go:23
	return os.Open(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.

github.com/shirou/gopsutil/v4

go dependency
expand_more 64 low-confidence finding(s)
low env_fs dependency Excluded from app score #8d2f4296e562b96e Environment-variable access.
pkgs/go/[email protected]/cpu/cpu_plan9.go:22
	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 #9a9ceaa879d5932c Filesystem access.
pkgs/go/[email protected]/disk/disk_linux.go:512
	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 #b087666a80cfe14d Filesystem access.
pkgs/go/[email protected]/disk/disk_linux.go:544
	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 #5578e7d7f01ddeec Filesystem access.
pkgs/go/[email protected]/disk/disk_linux.go:545
	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 #16fa5e0e5c9fce7a Filesystem access.
pkgs/go/[email protected]/disk/disk_linux.go:557
		dmname, err := os.ReadFile(dmnameFilename)

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

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

low env_fs dependency Excluded from app score #4d0d2df198fdc315 Filesystem access.
pkgs/go/[email protected]/disk/disk_solaris.go:51
	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 #c387e7759d071a8f 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 #53a2da34931ea576 Filesystem access.
pkgs/go/[email protected]/host/host_freebsd.go:52
	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 #f6a1da2e78613e08 Filesystem access.
pkgs/go/[email protected]/host/host_freebsd.go:109
	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 #02ca929049adef1c Filesystem access.
pkgs/go/[email protected]/host/host_linux.go:84
	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 #fe013e0dad462bd4 Filesystem access.
pkgs/go/[email protected]/host/host_openbsd.go:63
	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 #8100fa4e8024a7de Filesystem access.
pkgs/go/[email protected]/host/host_solaris.go:104
	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 #1c8346c5d84ce220 Filesystem access.
pkgs/go/[email protected]/internal/common/common.go:93
		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 #78edb3140006e976 Filesystem access.
pkgs/go/[email protected]/internal/common/common.go:104
	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 #b65822ec007fb45e Filesystem access.
pkgs/go/[email protected]/internal/common/common.go:120
	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 #ee4e017152f4e9b9 Filesystem access.
pkgs/go/[email protected]/internal/common/common.go:148
	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 #1c08c768f19bbb26 Filesystem access.
pkgs/go/[email protected]/internal/common/common.go:233
	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 #120f76a6e4a151a6 Environment-variable access.
pkgs/go/[email protected]/internal/common/common.go:351
		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 #0def535e201439da Environment-variable access.
pkgs/go/[email protected]/internal/common/common.go:362
	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 #936923a8d679c9e6 Environment-variable access.
pkgs/go/[email protected]/internal/common/common_darwin.go:21
	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 #ef7ac9cab24a6dd1 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 #ba7c1d3157bc3cae 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 #f59e1e94d9fe477c 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 #14194cd2f386387c 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 #8071d8d96e429997 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 #52e51b160f2610a1 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 #78f024962d67532b 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 #80e1722d5dbb57c1 Filesystem access.
pkgs/go/[email protected]/mem/mem_linux.go:464
	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 #0a2350d8afa6eb9c Environment-variable access.
pkgs/go/[email protected]/mem/mem_plan9.go:20
	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 #7bbe7a855d120387 Environment-variable access.
pkgs/go/[email protected]/mem/mem_plan9.go:42
	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 #3a6c46949648d936 Filesystem access.
pkgs/go/[email protected]/net/net_linux.go:476
	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 #8a8f74e55d127b47 Filesystem access.
pkgs/go/[email protected]/net/net_linux.go:519
	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 #6f8824179c1a8095 Filesystem access.
pkgs/go/[email protected]/net/net_linux.go:563
	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 #40e2f099ceccbf4a Filesystem access.
pkgs/go/[email protected]/net/net_linux.go:682
	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 #52b5a5d0156a8f07 Filesystem access.
pkgs/go/[email protected]/net/net_linux.go:743
	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 #bd5a7a461e72ade6 Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:139
	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 #568ae4b503a89adf Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:348
		statContents, err := os.ReadFile(statFile)

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

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

low env_fs dependency Excluded from app score #e764b022e9551f10 Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:399
	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 #a94878bc4d0da174 Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:494
	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 #8d2f12d2c33c234e Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:521
	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 #241ac80754bb2850 Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:614
	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 #1bfa97bafe89462b Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:678
	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 #2ef2eb7c636cff31 Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:692
	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 #44e01376d03b89fe Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:715
	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 #99a6c885e1f33fc8 Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:755
	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 #1fbe52df1bb0c15f Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:816
	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 #1b0ba370589ad686 Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:833
	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 #f73245d3180bd76e Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:1040
	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 #7040f6238458795a Filesystem access.
pkgs/go/[email protected]/process/process_linux.go:1165
	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 #606bfe3ee15662c6 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 #9471894412d7f8b7 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 #030a1985bd80c588 Filesystem access.
pkgs/go/[email protected]/process/process_solaris.go:203
	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 #577ce7498ad0c75a Filesystem access.
pkgs/go/[email protected]/process/process_solaris.go:235
	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 #9636bf54fa595630 Filesystem access.
pkgs/go/[email protected]/process/process_solaris.go:245
	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 #f83bebe27c55c275 Filesystem access.
pkgs/go/[email protected]/process/process_solaris.go:259
	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 #6c8d7166a3ce7e74 Filesystem access.
pkgs/go/[email protected]/process/process_solaris.go:281
	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 #d932ac5f95dbf10f Filesystem access.
pkgs/go/[email protected]/sensors/ex_linux.go:52
		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 #f37309448c9a6f93 Filesystem access.
pkgs/go/[email protected]/sensors/ex_linux.go:58
		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 #f6b4143aebd0cba6 Filesystem access.
pkgs/go/[email protected]/sensors/sensors_linux.go:39
			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 #cb8a7f7eb1257f2f Filesystem access.
pkgs/go/[email protected]/sensors/sensors_linux.go:45
			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 #56bce115ab1f6c9e Filesystem access.
pkgs/go/[email protected]/sensors/sensors_linux.go:89
		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 #30c43196fd23a1d7 Filesystem access.
pkgs/go/[email protected]/sensors/sensors_linux.go:95
		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 #f16b0dc5c45f6cb0 Filesystem access.
pkgs/go/[email protected]/sensors/sensors_linux.go:107
		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 #0a66f4c876dbe782 Filesystem access.
pkgs/go/[email protected]/sensors/sensors_linux.go:163
	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.

github.com/spf13/cobra

go dependency
expand_more 16 low-confidence finding(s)
low env_fs dependency Excluded from app score #271703e3c9a04394 Environment-variable access.
pkgs/go/[email protected]/active_help.go:48
	activeHelpCfg := os.Getenv(activeHelpGlobalEnvVar)

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

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

low env_fs dependency Excluded from app score #bd04a419fdd75ac1 Environment-variable access.
pkgs/go/[email protected]/active_help.go:50
		activeHelpCfg = os.Getenv(activeHelpEnvVar(cmd.Root().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 #86075768d8a8b80a Filesystem access.
pkgs/go/[email protected]/bash_completions.go:702
	outFile, 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 #76486ee4a87fc9c7 Filesystem access.
pkgs/go/[email protected]/bash_completionsV2.go:471
	outFile, 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 #8c1554c58493f906 Environment-variable access.
pkgs/go/[email protected]/completions.go:957
	if path := os.Getenv("BASH_COMP_DEBUG_FILE"); path != "" {

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

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

low env_fs dependency Excluded from app score #2329fc088c358b0a Filesystem access.
pkgs/go/[email protected]/completions.go:958
		f, err := os.OpenFile(path,
			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 #8d03d78684bd1747 Environment-variable access.
pkgs/go/[email protected]/completions.go:1015
	v := os.Getenv(configEnvVar(cmd.Root().Name(), suffix))

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

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

low env_fs dependency Excluded from app score #cce0a67d0f8479c6 Environment-variable access.
pkgs/go/[email protected]/completions.go:1017
		v = os.Getenv(configEnvVar(configEnvVarGlobalPrefix, suffix))

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

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

low env_fs dependency Excluded from app score #ea84d11c709df425 Filesystem access.
pkgs/go/[email protected]/doc/man_docs.go:72
	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 #cc3fd3e32c80abe7 Environment-variable access.
pkgs/go/[email protected]/doc/man_docs.go:127
		if epoch := os.Getenv("SOURCE_DATE_EPOCH"); epoch != "" {

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

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

low env_fs dependency Excluded from app score #c239d724d1a3d190 Filesystem access.
pkgs/go/[email protected]/doc/md_docs.go:145
	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 #39df673c071a02db Filesystem access.
pkgs/go/[email protected]/doc/rest_docs.go:157
	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 #3c988f1d218cd98d Filesystem access.
pkgs/go/[email protected]/doc/yaml_docs.go:72
	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 #b4e8116faefba174 Filesystem access.
pkgs/go/[email protected]/fish_completions.go:285
	outFile, 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 #f1d5bf56a34b6260 Filesystem access.
pkgs/go/[email protected]/powershell_completions.go:321
	outFile, 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 #75b3b14fabd5fb19 Filesystem access.
pkgs/go/[email protected]/zsh_completions.go:71
	outFile, 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/twpayne/go-geom

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #83eb0803f125f0ea Filesystem access.
pkgs/go/[email protected]/internal/cmd/parse-igc/main.go:14
	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.

golang.org/x/crypto

go dependency
expand_more 6 low-confidence finding(s)
low env_fs dependency Excluded from app score #f04464a8d5a271a6 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 #41aeaa5d90f330da 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 #0fce494d10420c78 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 #55031efd62324e40 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 #dee52f445883eee0 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 #3dd53084ec65e9c9 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/exp

go dependency
expand_more 26 low-confidence finding(s)
low env_fs dependency Excluded from app score #bd5347a45f053060 Filesystem access.
pkgs/go/[email protected]/cmd/apidiff/main.go:198
	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 #4b3c19fc4faaa856 Filesystem access.
pkgs/go/[email protected]/cmd/apidiff/main.go:219
	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 #4d0004fa07ec0f59 Filesystem access.
pkgs/go/[email protected]/cmd/apidiff/main.go:232
	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 #f2481d71e1d3239d Filesystem access.
pkgs/go/[email protected]/cmd/apidiff/main.go:248
	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 #937753087ab1512e Environment-variable access.
pkgs/go/[email protected]/cmd/gorelease/gorelease.go:145
	ctx := context.WithValue(context.Background(), "env", append(os.Environ(), "GO111MODULE=on"))

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

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

low env_fs dependency Excluded from app score #ccdded578780e4d7 Filesystem access.
pkgs/go/[email protected]/cmd/gorelease/gorelease.go:311
	m.goModData, err = os.ReadFile(m.goModPath)

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

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

low env_fs dependency Excluded from app score #b860e55f7430b212 Filesystem access.
pkgs/go/[email protected]/cmd/gorelease/gorelease.go:373
				if data, err := os.ReadFile(altGoModPath); err == nil {

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

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

low env_fs dependency Excluded from app score #2cdae00d05fb7d7f Filesystem access.
pkgs/go/[email protected]/cmd/gorelease/gorelease.go:513
	if m.goModData, err = os.ReadFile(m.goModPath); err != nil {

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

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

low env_fs dependency Excluded from app score #28f82a49df1da0ea Filesystem access.
pkgs/go/[email protected]/cmd/gorelease/gorelease.go:1099
	if err := os.WriteFile(filepath.Join(dir, "go.mod"), goModData, 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 #47b6b9c6d5147891 Filesystem access.
pkgs/go/[email protected]/cmd/gorelease/gorelease.go:1103
	goSumData, err = os.ReadFile(filepath.Join(modRoot, "go.sum"))

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

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

low env_fs dependency Excluded from app score #44f69a3deb592480 Filesystem access.
pkgs/go/[email protected]/cmd/gorelease/gorelease.go:1107
	if err := os.WriteFile(filepath.Join(dir, "go.sum"), goSumData, 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 #29b024cf4dd4253e Filesystem access.
pkgs/go/[email protected]/cmd/gorelease/gorelease.go:1122
	if err := os.WriteFile(filepath.Join(dir, "tmp.go"), []byte(fakeImports.String()), 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 #3fd7981b40b9dfda Filesystem access.
pkgs/go/[email protected]/cmd/gorelease/gorelease.go:1151
	newGoModData, err := os.ReadFile(goModPath)

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

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

low env_fs dependency Excluded from app score #c9b9800cf362c5f4 Filesystem access.
pkgs/go/[email protected]/cmd/gorelease/gorelease.go:1190
		newGoSumData, err := os.ReadFile(goSumPath)

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

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

low env_fs dependency Excluded from app score #ac5ec23474f05860 Filesystem access.
pkgs/go/[email protected]/cmd/txtar/txtar.go:129
		if err := os.WriteFile(fileName, f.Data, 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 #c7901d3b9c7819be Filesystem access.
pkgs/go/[email protected]/cmd/txtar/txtar.go:171
			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 #b77dbd39276a517e Environment-variable access.
pkgs/go/[email protected]/cmd/txtar/txtar.go:215
		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 #eb43214a80d51661 Filesystem access.
pkgs/go/[email protected]/ebnflint/ebnflint.go:99
		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 #5fc2c5450d135642 Filesystem access.
pkgs/go/[email protected]/io/i2c/devfs.go:33
	f, err := os.OpenFile(d.Dev, os.O_RDWR, os.ModeDevice)

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

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

low env_fs dependency Excluded from app score #fa5dea6ab3f80d54 Filesystem access.
pkgs/go/[email protected]/io/spi/devfs.go:71
	f, err := os.OpenFile(d.Dev, os.O_RDWR, os.ModeDevice)

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

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

low env_fs dependency Excluded from app score #58d2ac5da9b1de00 Filesystem access.
pkgs/go/[email protected]/mmap/mmap_other.go:51
	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 #5e040168fcf55c27 Filesystem access.
pkgs/go/[email protected]/mmap/mmap_unix.go:84
	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 #79e4f8c9ff023c2d Filesystem access.
pkgs/go/[email protected]/mmap/mmap_windows.go:83
	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 #59e9c8c7760291e0 Filesystem access.
pkgs/go/[email protected]/trace/internal/testgen/trace.go:29
	out, err := os.Create(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 #3159dd4c8995fa6f Environment-variable access.
pkgs/go/[email protected]/trace/internal/testtrace/helpers.go:24
	onBuilder := os.Getenv("GO_BUILDER_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 #035e65de73dd22ae Environment-variable access.
pkgs/go/[email protected]/trace/internal/testtrace/helpers.go:25
	onOldBuilder := !strings.Contains(os.Getenv("GO_BUILDER_NAME"), "gotip") && !strings.Contains(os.Getenv("GO_BUILDER_NAME"), "go1")

Reads environment variables or the 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/mod

go dependency
expand_more 11 low-confidence finding(s)
low env_fs dependency Excluded from app score #dd608d0c6574fbfb Environment-variable access.
pkgs/go/[email protected]/gosumcheck/main.go:75
	env := os.Getenv("GONOSUMDB")

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

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

low env_fs dependency Excluded from app score #77fd20ebb055e4bc Filesystem access.
pkgs/go/[email protected]/gosumcheck/main.go:86
		data, err := os.ReadFile(arg)

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

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

low env_fs dependency Excluded from app score #fb1a55595c5e3e31 Filesystem access.
pkgs/go/[email protected]/sumdb/dirhash/hash.go:76
		return os.Open(filepath.Join(dir, strings.TrimPrefix(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 #23f802b58c92aa7a Filesystem access.
pkgs/go/[email protected]/zip/zip.go:406
	f, err := os.Open(zipFile)

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

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

low env_fs dependency Excluded from app score #b111964e0911a156 Environment-variable access.
pkgs/go/[email protected]/zip/zip.go:677
	cmd.Env = append(os.Environ(), "PWD="+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 #23d2e597ee4088cc Environment-variable access.
pkgs/go/[email protected]/zip/zip.go:718
		cmd.Env = append(os.Environ(), "PWD="+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 #35813d18bceb3e35 Environment-variable access.
pkgs/go/[email protected]/zip/zip.go:734
	cmd.Env = append(os.Environ(), "PWD="+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 #a707f8eb9c38a418 Filesystem access.
pkgs/go/[email protected]/zip/zip.go:754
func (f dirFile) Open() (io.ReadCloser, error) { return os.Open(f.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 #a47a5288ed3269fa Filesystem access.
pkgs/go/[email protected]/zip/zip.go:854
	f, err := os.Open(zipFile)

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

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

low env_fs dependency Excluded from app score #19bd6e2140c55e13 Filesystem access.
pkgs/go/[email protected]/zip/zip.go:881
		w, err := os.OpenFile(dst, os.O_WRONLY|os.O_CREATE|os.O_EXCL, 0444)

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

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

low env_fs dependency Excluded from app score #67f74f673f908972 Filesystem access.
pkgs/go/[email protected]/zip/zip.go:952
	if data, err := os.ReadFile(filepath.Join(dir, "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.

golang.org/x/net

go dependency
expand_more 28 low-confidence finding(s)
low env_fs dependency Excluded from app score #334fb20d56175dc3 Filesystem access.
pkgs/go/[email protected]/html/atom/gen.go:50
	if err := os.WriteFile(name, b, 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 #2e2410ca22872917 Environment-variable access.
pkgs/go/[email protected]/http/httpproxy/proxy.go:95
		CGI:        os.Getenv("REQUEST_METHOD") != "",

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

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

low env_fs dependency Excluded from app score #f7d241edb201f197 Environment-variable access.
pkgs/go/[email protected]/http/httpproxy/proxy.go:101
		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 #54e438937ff9f0c5 Environment-variable access.
pkgs/go/[email protected]/http2/gotrack.go:21
var DebugGoroutines = os.Getenv("DEBUG_HTTP2_GOROUTINES") == "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 #d48d46691ed45fee Environment-variable access.
pkgs/go/[email protected]/http2/h2c/h2c.go:34
	e := os.Getenv("GODEBUG")

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

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

low env_fs dependency Excluded from app score #2b7d50dda8b5b290 Filesystem access.
pkgs/go/[email protected]/http2/hpack/gen.go:178
	if err := os.WriteFile(name, b, 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 #8d28530a6f342ee5 Environment-variable access.
pkgs/go/[email protected]/http2/http2.go:53
	e := os.Getenv("GODEBUG")

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

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

low env_fs dependency Excluded from app score #7efe6f6532389365 Filesystem access.
pkgs/go/[email protected]/internal/iana/gen.go:71
	if err := os.WriteFile("const.go", b, 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 #83b30aeb5d19bea7 Environment-variable access.
pkgs/go/[email protected]/internal/quic/cmd/interop/main.go:67
	if keylog := os.Getenv("SSLKEYLOGFILE"); keylog != "" {

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

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

low env_fs dependency Excluded from app score #4c60996027d3e1c1 Filesystem access.
pkgs/go/[email protected]/internal/quic/cmd/interop/main.go:68
		f, err := os.Create(keylog)

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

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

low env_fs dependency Excluded from app score #73b3587b0c5da374 Environment-variable access.
pkgs/go/[email protected]/internal/quic/cmd/interop/main.go:76
	testcase := os.Getenv("TESTCASE")

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

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

low env_fs dependency Excluded from app score #388be03b9538747e Filesystem access.
pkgs/go/[email protected]/internal/quic/cmd/interop/main.go:216
	f, err := os.Open(filepath.Join(*root, string(req)))

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

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

low env_fs dependency Excluded from app score #03e11b1ba4dd5f27 Filesystem access.
pkgs/go/[email protected]/internal/quic/cmd/interop/main.go:267
	file, err := os.Create(filepath.Join(*output, u.Path[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 #86a5b47a2ec86f85 Filesystem access.
pkgs/go/[email protected]/ipv4/gen.go:41
	f, err := os.Open(defs)

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

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

low env_fs dependency Excluded from app score #353d5cc74766edbe Filesystem access.
pkgs/go/[email protected]/ipv4/gen.go:63
	if err := os.WriteFile(zsys, b, 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 #f7da3e60bc8e8ce3 Filesystem access.
pkgs/go/[email protected]/ipv4/gen.go:102
	if err := os.WriteFile("iana.go", b, 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 #ad23c4d319eadd06 Filesystem access.
pkgs/go/[email protected]/ipv6/gen.go:41
	f, err := os.Open(defs)

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

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

low env_fs dependency Excluded from app score #078e52c279249af7 Filesystem access.
pkgs/go/[email protected]/ipv6/gen.go:63
	if err := os.WriteFile(zsys, b, 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 #8dbe7ed4709f0824 Filesystem access.
pkgs/go/[email protected]/ipv6/gen.go:102
	if err := os.WriteFile("iana.go", b, 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 #de5ba2b2994de9d4 Environment-variable access.
pkgs/go/[email protected]/proxy/proxy.go:138
		e.val = os.Getenv(n)

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

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

low env_fs dependency Excluded from app score #3dc97f511d4c14d3 Filesystem access.
pkgs/go/[email protected]/publicsuffix/gen.go:275
	return os.WriteFile(filename, 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 egress dependency Excluded from app score #1398f4d626a35f4d Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/publicsuffix/gen.go:279
	res, err := http.Get(gitCommitURL)

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 #a481feaa86d7b304 Filesystem access.
pkgs/go/[email protected]/publicsuffix/gen.go:320
	if err := os.WriteFile("data/text", []byte(combinedText), 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 #bb18e8be1c4f4800 Filesystem access.
pkgs/go/[email protected]/publicsuffix/gen.go:333
	if err := os.WriteFile("data/nodes", nodes, 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 #aa7138e5a7e3ba4d Filesystem access.
pkgs/go/[email protected]/publicsuffix/gen.go:341
	if err := os.WriteFile("data/children", children, 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 #f5ac337189d94164 Environment-variable access.
pkgs/go/[email protected]/quic/log.go:19
	s := os.Getenv("GODEBUG")

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

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

low env_fs dependency Excluded from app score #2fd7fbf640e19cdd Filesystem access.
pkgs/go/[email protected]/quic/qlog/qlog.go:181
		w, err = os.OpenFile(filepath.Join(opts.Dir, filename), os.O_CREATE|os.O_EXCL|os.O_WRONLY, 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 #40f8d8d5df9b234d Filesystem access.
pkgs/go/[email protected]/webdav/file.go:92
	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.

golang.org/x/oauth2

go dependency
expand_more 12 low-confidence finding(s)
low env_fs dependency Excluded from app score #b6ab6d0166df9189 Environment-variable access.
pkgs/go/[email protected]/google/default.go:200
	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 #d98b4555076875cf Filesystem access.
pkgs/go/[email protected]/google/default.go:210
	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 #d9bde5a79003cec4 Environment-variable access.
pkgs/go/[email protected]/google/default.go:318
		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 #68513565f13253e0 Filesystem access.
pkgs/go/[email protected]/google/default.go:324
	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 #93101ce478c360e7 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 #f37ad4e9be29089f 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 #47214813690273e5 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 #3c1de971c234352c 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 #b419ca6fbd1abc3a 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 #2799a97e03c47c85 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 #2edbd60f786c2ad8 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 #d34e85aa6ed69817 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.

Skipped dependencies

Production

  • @astrojs/alpinejs prod — dist-only: no readable source
  • @astrojs/sitemap prod — dist-only: no readable source
  • @astrojs/starlight-tailwind prod — no javascript source
  • modernc.org/sqlite prod — module zip exceeds byte cap
  • google.golang.org/api prod — module zip exceeds byte cap