Close Open Privacy Scan

bolt Snapshot: commit 4f7786d
science engine v1.5
schedule 2026-07-14T14:08:05.516121+00:00

verified_user Possible application data leak

Potential data exfiltration identified in application code.

App Privacy Score

27 /100
High privacy risk — possible application leak

High risk · 515 finding(s)

Dependency score: 67 (Medium risk)

bar_chart Score Breakdown

pii_flow −60
egress −10
env_fs −3

list Scan Summary

0 high 7 medium 508 low
First-party packages: 1
Dependency packages: 19
Ecosystem: go

swap_horiz Potential data exfiltration in application code

External domains: acme-staging-v02.api.letsencrypt.orgacme-v02.api.letsencrypt.orgapi.github.comattacker.examplebugs.chromium.orgchatgpt.comchromium.googlesource.comclaude.aiclaude.comcode.claude.comcode.kimi.comcode.visualstudio.comcurl.sedevelopers.google.comdevelopers.openai.comdocs.factory.aidocs.github.comdocs.openclaw.aiencoding.spec.whatwg.orgfoo.comgit-scm.comgithub.comgo.devgolang.orggrpc.iohermes-agent.nousresearch.comhg.mozilla.orghuggingface.cojson.orglearn.microsoft.commoonshotai.github.ionodejs.orgollama.comomp.shopencode.aipkg.go.devprotobuf.devqwen-code-assets.oss-cn-hangzhou.aliyuncs.comqwen.airaw.githubusercontent.comreact.devregistry.npmjs.orgunicode.orgwww.gexf.netwww.gnu.orgwww.iana.orgwww.unicode.orgwww.w3.org

medium first-party (go) PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
repo/discover/llama_server.go:67 repo/discover/llama_server.go:77
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/discover/llama_server.go:67 repo/discover/llama_server.go:85
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/discover/llama_server.go:67 repo/discover/llama_server.go:121
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/discover/llama_server.go:67 repo/discover/llama_server.go:124
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/discover/llama_server.go:67 repo/discover/llama_server.go:150
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/x/imagegen/server.go:117 repo/x/imagegen/server.go:128
hub Dependency data flows (1)
medium google.golang.org/protobuf dependency PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:285 pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:288

</> First-Party Code

first-party (go)

go first-party
medium pii_flow production #ebb56b99aeca7560 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/discover/llama_server.go:77 · flow /tmp/closeopen-4pqa4x0q/repo/discover/llama_server.go:67 → /tmp/closeopen-4pqa4x0q/repo/discover/llama_server.go:77
		slog.Debug("llama-server discovery: failed to create stderr pipe", "error", err)

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

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

medium pii_flow production #f135ad380b1717db 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/discover/llama_server.go:85 · flow /tmp/closeopen-4pqa4x0q/repo/discover/llama_server.go:67 → /tmp/closeopen-4pqa4x0q/repo/discover/llama_server.go:85
		slog.Debug("llama-server discovery: failed to start", "error", err)

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

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

medium pii_flow production #25a008068e85e058 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/discover/llama_server.go:121 · flow /tmp/closeopen-4pqa4x0q/repo/discover/llama_server.go:67 → /tmp/closeopen-4pqa4x0q/repo/discover/llama_server.go:121
			slog.Debug("llama-server discovery: stopped subprocess after collecting GPU info", "exit", exit, "libDirs", libDirs)

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 #2731b2743365656c 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/discover/llama_server.go:124 · flow /tmp/closeopen-4pqa4x0q/repo/discover/llama_server.go:67 → /tmp/closeopen-4pqa4x0q/repo/discover/llama_server.go:124
			slog.Debug("llama-server discovery: server startup exited", "error", waitErr, "exit", exit, "libDirs", libDirs)

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 #9d1b6e4225af5de6 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/discover/llama_server.go:150 · flow /tmp/closeopen-4pqa4x0q/repo/discover/llama_server.go:67 → /tmp/closeopen-4pqa4x0q/repo/discover/llama_server.go:150
		slog.Debug("llama-server --list-devices failed", "error", err, "exit", exit)

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 #b95c8f6159295dd3 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/x/imagegen/server.go:128 · flow /tmp/closeopen-4pqa4x0q/repo/x/imagegen/server.go:117 → /tmp/closeopen-4pqa4x0q/repo/x/imagegen/server.go:128
			slog.Info("mlx-runner", "msg", scanner.Text())

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

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

expand_more 295 low-confidence finding(s)
low env_fs production #ae837b0217c3e016 Filesystem access.
repo/agent/tools/bash.go:349
	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 production #adb7a9d78375a737 Filesystem access.
repo/agent/tools/file.go:246
		file, err := os.Open(cleaned)

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

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

low env_fs test-only #d5fa1095dc7774e2 Filesystem access.
repo/api/examples/multimodal/main.go:17
	imgData, err := os.ReadFile(os.Args[1])

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

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

low env_fs production #4d6cfbbb17f16ea9 Environment-variable access.
repo/app/cmd/app/app.go:41
var debug = strings.EqualFold(os.Getenv("OLLAMA_DEBUG"), "true") || os.Getenv("OLLAMA_DEBUG") == "1"

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

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

low env_fs production #734f3ac28c7b8b26 Filesystem access.
repo/app/cmd/app/app.go:119
	logFile, err = os.OpenFile(appLogPath, os.O_APPEND|os.O_WRONLY|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 production #c8a3832f879fd4e4 Environment-variable access.
repo/app/cmd/app/app_darwin.go:40
	appLogPath      = filepath.Join(os.Getenv("HOME"), ".ollama", "logs", "app.log")

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

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

low env_fs production #c55cd94d6926fc38 Environment-variable access.
repo/app/cmd/app/app_darwin.go:41
	launchAgentPath = filepath.Join(os.Getenv("HOME"), "Library", "LaunchAgents", "com.ollama.ollama.plist")

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

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

low env_fs production #409a038e4efe6888 Environment-variable access.
repo/app/cmd/app/app_windows.go:38
	appPath         = filepath.Join(os.Getenv("LOCALAPPDATA"), "Programs", "Ollama")

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

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

low env_fs production #db179fb7ec545d36 Environment-variable access.
repo/app/cmd/app/app_windows.go:39
	appLogPath      = filepath.Join(os.Getenv("LOCALAPPDATA"), "Ollama", "app.log")

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

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

low env_fs production #454f65701667ef1e Environment-variable access.
repo/app/cmd/app/app_windows.go:40
	startupShortcut = filepath.Join(os.Getenv("APPDATA"), "Microsoft", "Windows", "Start Menu", "Programs", "Startup", "Ollama.lnk")

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

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

low env_fs production #c40da131f2d0e2da Filesystem access.
repo/app/cmd/app/app_windows.go:250
			in, err := os.Open(shortcutOrigin)

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

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

low env_fs production #37d0f2c573aaa78e Filesystem access.
repo/app/cmd/app/app_windows.go:255
			out, err := os.Create(startupShortcut)

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

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

low env_fs production #ff160587a41404e2 Filesystem access.
repo/app/cmd/app/webview.go:334
					fileBytes, err := os.ReadFile(filename)

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

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

low env_fs production #1df921b7b3c79584 Filesystem access.
repo/app/server/server.go:112
	data, err := os.ReadFile(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 production #6fa9b5cd126c2efd Filesystem access.
repo/app/server/server.go:207
		err = os.WriteFile(pidFile, []byte(strconv.Itoa(cmd.Process.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 production #34f2ebf519d42536 Environment-variable access.
repo/app/server/server.go:246
	for _, kv := 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 production #58e95e535db6355a Filesystem access.
repo/app/server/server.go:294
	f, err := os.OpenFile(serverLogPath, 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.

low env_fs production #f7ab450c3339ee16 Filesystem access.
repo/app/server/server.go:364
		file, err := os.Open(serverLogPath)

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

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

low env_fs production #bdd241bc62b3481a Environment-variable access.
repo/app/server/server_unix.go:19
	pidFile       = filepath.Join(os.Getenv("HOME"), "Library", "Application Support", "Ollama", "ollama.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 production #0e3e939351ebdb9b Environment-variable access.
repo/app/server/server_unix.go:20
	serverLogPath = filepath.Join(os.Getenv("HOME"), ".ollama", "logs", "server.log")

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

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

low env_fs production #5cd5594f7b1cbcc4 Environment-variable access.
repo/app/server/server_windows.go:18
	pidFile       = filepath.Join(os.Getenv("LOCALAPPDATA"), "Ollama", "ollama.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 production #f77ef820e754f726 Environment-variable access.
repo/app/server/server_windows.go:19
	serverLogPath = filepath.Join(os.Getenv("LOCALAPPDATA"), "Ollama", "server.log")

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

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

low env_fs production #bc438e33bdb0d8f5 Filesystem access.
repo/app/store/cloud_config.go:63
	if data, err := os.ReadFile(configPath); err == nil {

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

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

low env_fs production #6614475e6cd96254 Filesystem access.
repo/app/store/cloud_config.go:80
	if err := os.WriteFile(configPath, data, 0o644); err != nil {

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

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

low env_fs production #3a09848e25f30395 Filesystem access.
repo/app/store/cloud_config.go:93
	data, err := os.ReadFile(configPath)

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

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

low env_fs production #e1ebcabfe549a715 Filesystem access.
repo/app/store/image.go:32
	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 #489f267e2922ee79 Environment-variable access.
repo/app/store/store.go:189
		return filepath.Join(os.Getenv("LOCALAPPDATA"), "Ollama", "db.sqlite")

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

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

low env_fs production #edfdc251c9be48be Environment-variable access.
repo/app/store/store.go:191
		return filepath.Join(os.Getenv("HOME"), "Library", "Application Support", "Ollama", "db.sqlite")

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

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

low env_fs production #1f13772ab79004f9 Environment-variable access.
repo/app/store/store.go:193
		return filepath.Join(os.Getenv("HOME"), ".ollama", "db.sqlite")

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

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

low env_fs production #9153daf1f94b228a Environment-variable access.
repo/app/store/store.go:201
		return filepath.Join(os.Getenv("LOCALAPPDATA"), "Ollama", "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 production #328ab3f9f9d9d2ad Environment-variable access.
repo/app/store/store.go:203
		return filepath.Join(os.Getenv("HOME"), "Library", "Application Support", "Ollama", "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 production #3773a23239109a21 Environment-variable access.
repo/app/store/store.go:205
		return filepath.Join(os.Getenv("HOME"), ".ollama", "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 production #8d886fbc16d30496 Filesystem access.
repo/app/store/store.go:313
	b, err := os.ReadFile(configPath)

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

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

low env_fs production #04e1347856590539 Environment-variable access.
repo/app/store/store.go:384
		dir := os.Getenv("OLLAMA_MODELS")

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

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

low env_fs production #971e932d102d54b3 Environment-variable access.
repo/app/ui/ui.go:47
	if url := os.Getenv("OLLAMA_DOT_COM_URL"); 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 production #35e0548e387359f8 Filesystem access.
repo/app/updater/updater.go:225
	fp, err := os.OpenFile(stageFilename, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 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 production #18ca5bbe154d79ad Filesystem access.
repo/app/updater/updater_darwin.go:248
	f, err := os.OpenFile(UpgradeMarkerFile, os.O_RDONLY|os.O_CREATE, 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 production #1fbd3755c49b3e52 Filesystem access.
repo/app/updater/updater_darwin.go:373
	destFile, err := os.OpenFile(destName, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 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 production #da21205f29adcad7 Environment-variable access.
repo/app/updater/updater_windows.go:63
	localAppData := os.Getenv("LOCALAPPDATA")

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

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

low env_fs production #8478734846101647 Environment-variable access.
repo/app/updater/updater_windows.go:105
	cleanupOldDownloads(filepath.Join(os.Getenv("LOCALAPPDATA"), "Ollama", "updates"))

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

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

low env_fs production #ec39b66327fa6247 Filesystem access.
repo/app/updater/updater_windows.go:179
	f, err := os.OpenFile(UpgradeMarkerFile, os.O_RDONLY|os.O_CREATE, 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 production #7ac128d4b083f590 Environment-variable access.
repo/app/wintray/menus.go:92
	localAppData := os.Getenv("LOCALAPPDATA")

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

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

low env_fs production #49ac9f7d6afae518 Filesystem access.
repo/app/wintray/tray.go:440
		if err := os.WriteFile(iconFilePath, iconBytes, 0o644); err != nil {

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

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

low env_fs production #3f2bc75ee23c00bd Filesystem access.
repo/auth/auth.go:28
	privateKeyFile, 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 production #644238c35d4f72da Filesystem access.
repo/auth/auth.go:60
	privateKeyFile, 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 production #796f292bea7e49b1 Environment-variable access.
repo/cmd/agent_tui.go:384
	if os.Getenv("OLLAMA_AGENT_DISABLE_SHELL") == "" {

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

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

low env_fs production #7bff4ef7dd850f50 Environment-variable access.
repo/cmd/agent_tui.go:390
	if os.Getenv("OLLAMA_AGENT_DISABLE_WEBSEARCH") == "" {

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

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

low env_fs production #45c2211fae3c8300 Environment-variable access.
repo/cmd/bench/bench.go:158
		if debug := os.Getenv("OLLAMA_DEBUG"); 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 production #a54f0ae8bcf86971 Filesystem access.
repo/cmd/bench/bench.go:285
		f, err := os.OpenFile(*fOpt.outputFile, 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 production #23e8d75f259cf1b2 Filesystem access.
repo/cmd/bench/bench.go:503
	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 #52748143537e6358 Filesystem access.
repo/cmd/cmd.go:252
			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 production #98736d0912e7185b Filesystem access.
repo/cmd/cmd.go:303
		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 production #f938d613803a6bf7 Filesystem access.
repo/cmd/cmd.go:495
	bin, err := os.Open(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 production #33908e9f10d8c18c Environment-variable access.
repo/cmd/cmd.go:718
		WordWrap:    os.Getenv("TERM") == "xterm-256color",

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

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

low env_fs production #cb0de207c6c39cf9 Filesystem access.
repo/cmd/cmd.go:2031
		if err := os.WriteFile(privKeyPath, pem.EncodeToMemory(privateKeyBytes), 0o600); err != nil {

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

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

low env_fs production #09a3eb61c5af0609 Filesystem access.
repo/cmd/cmd.go:2042
		if err := os.WriteFile(pubKeyPath, publicKeyBytes, 0o644); err != nil {

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

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

low env_fs production #1aef02ac0502d1bf Environment-variable access.
repo/cmd/cmd.go:2121
	serverCmd.Env = os.Environ()

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

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

low env_fs production #85123a9653711124 Filesystem access.
repo/cmd/config/config.go:54
	oldData, err := os.ReadFile(oldPath)

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

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

low env_fs production #1721f81a98f3d149 Filesystem access.
repo/cmd/config/config.go:75
	if err := os.WriteFile(newPath, oldData, 0o644); err != nil {

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

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

low env_fs production #f78f89fd0627c8a2 Filesystem access.
repo/cmd/config/config.go:91
	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 #92f41c55ff21ec06 Filesystem access.
repo/cmd/config/config.go:94
			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 #64df0f69de3ad317 Environment-variable access.
repo/cmd/interactive.go:646
		editor = os.Getenv("VISUAL")

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

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

low env_fs production #e2a53b3439e61a0b Environment-variable access.
repo/cmd/interactive.go:649
		editor = 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 production #ed404b8e2d5faef1 Filesystem access.
repo/cmd/interactive.go:686
	data, err := 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 production #b3a0abcfd9c0dfc1 Filesystem access.
repo/cmd/interactive.go:695
	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 #7b291e9e25da39bb Filesystem access.
repo/cmd/internal/filedata/filedata.go:97
	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 #92fd78c5fd37a2d0 Filesystem access.
repo/cmd/internal/fileutil/files.go:23
	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 #657ab6631ac4380e Filesystem access.
repo/cmd/internal/fileutil/files.go:39
	data, err := os.ReadFile(src)

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

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

low env_fs production #545f11bef34a194e Filesystem access.
repo/cmd/internal/fileutil/files.go:43
	return os.WriteFile(dst, data, info.Mode().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 production #986acd9078ac7ce6 Filesystem access.
repo/cmd/internal/fileutil/files.go:84
	if existingContent, err := os.ReadFile(path); err == nil {

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

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

low env_fs production #d4d9f7a2c847a861 Environment-variable access.
repo/cmd/launch/claude.go:63
	cmd.Env = append(os.Environ(), c.envVars(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 production #a6c936ce3a4c2ee5 Environment-variable access.
repo/cmd/launch/claude_desktop.go:425
	if local := strings.TrimSpace(os.Getenv("LOCALAPPDATA")); local != "" {

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

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

low env_fs production #8e0a5d94460e39b7 Environment-variable access.
repo/cmd/launch/claude_desktop.go:428
	if home := strings.TrimSpace(os.Getenv("USERPROFILE")); 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 production #4c90fa392779d43b Environment-variable access.
repo/cmd/launch/claude_desktop.go:460
	if key := strings.TrimSpace(os.Getenv("OLLAMA_API_KEY")); 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 production #5e088332b7920cb6 Hardcoded external endpoint. Review what data is sent to this destination.
repo/cmd/launch/claude_desktop.go:537
	req, err := http.NewRequestWithContext(ctx, http.MethodGet, claudeDesktopGatewayBaseURL+"/v1/models", 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 #669ebb2311966675 Filesystem access.
repo/cmd/launch/claude_desktop.go:740
	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 #a423da222a8dffb7 Filesystem access.
repo/cmd/launch/cline.go:139
	if data, err := os.ReadFile(configPath); err == nil {

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

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

low env_fs production #2b8714944f432ee8 Environment-variable access.
repo/cmd/launch/codex.go:74
	cmd.Env = append(os.Environ(),

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

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

low env_fs production #81203a9852fad3f1 Filesystem access.
repo/cmd/launch/codex.go:123
	data, err := os.ReadFile(configPath)

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

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

low env_fs production #b9b4ccc7cc52532c Filesystem access.
repo/cmd/launch/codex.go:268
	content, err := os.ReadFile(configPath)

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

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

low env_fs production #9e25e424df2e4fed Filesystem access.
repo/cmd/launch/codex.go:702
	return os.WriteFile(catalogPath, 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 #680442a1104513d8 Filesystem access.
repo/cmd/launch/codex_app.go:98
	data, err := os.ReadFile(configPath)

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

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

low env_fs production #a3b49bdb4c2768ed Filesystem access.
repo/cmd/launch/codex_app.go:168
	data, err := os.ReadFile(catalogPath)

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

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

low env_fs production #aa704a064e86fb10 Filesystem access.
repo/cmd/launch/codex_app.go:194
	data, err := os.ReadFile(catalogPath)

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

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

low env_fs production #1c761c615a4e49c4 Filesystem access.
repo/cmd/launch/codex_app.go:218
	content, readErr := os.ReadFile(configPath)

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

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

low env_fs production #9be0122defc638f3 Filesystem access.
repo/cmd/launch/codex_app.go:317
	data, err := os.ReadFile(configPath)

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

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

low env_fs production #82d50507af87114f Filesystem access.
repo/cmd/launch/codex_app.go:544
		if data, readErr := os.ReadFile(path); readErr == nil {

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

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

low env_fs production #9facbd3061011039 Environment-variable access.
repo/cmd/launch/codex_app.go:656
	if local := strings.TrimSpace(os.Getenv("LOCALAPPDATA")); local != "" {

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

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

low env_fs production #eed3abcf630737a6 Environment-variable access.
repo/cmd/launch/codex_app.go:659
	if home := strings.TrimSpace(os.Getenv("USERPROFILE")); 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 production #939ed1f2d9c2bbd1 Environment-variable access.
repo/cmd/launch/codex_app.go:810
		cmd.Env = append(os.Environ(), "OPENAI_API_KEY=ollama")

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

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

low env_fs production #a74cc4b1dac5e766 Filesystem access.
repo/cmd/launch/codex_app.go:1160
	if configData, err := os.ReadFile(configPath); err == nil {

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

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

low env_fs production #484ff6d031ffe731 Filesystem access.
repo/cmd/launch/codex_app.go:1175
	if stateData, err := os.ReadFile(statePath); err == nil {

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

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

low env_fs production #71243ec3201e430f Filesystem access.
repo/cmd/launch/codex_app.go:1263
	data, err := os.ReadFile(codexAppRestoreStatePath())

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

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

low env_fs production #3aab5d3616901a93 Environment-variable access.
repo/cmd/launch/copilot.go:57
	cmd.Env = append(os.Environ(), c.envVars(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 production #bf08619881642600 Filesystem access.
repo/cmd/launch/droid.go:86
	if data, err := os.ReadFile(settingsPath); err == nil {

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

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

low env_fs production #1be8323a0b8b747f Filesystem access.
repo/cmd/launch/droid.go:165
	data, err := os.ReadFile(filepath.Join(home, ".factory", "settings.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 #d9bdb14e5f628784 Environment-variable access.
repo/cmd/launch/hermes.go:188
	if installDir := strings.TrimSpace(os.Getenv("HERMES_INSTALL_DIR")); installDir != "" {

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

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

low env_fs production #21b5d0adb080016f Environment-variable access.
repo/cmd/launch/hermes.go:191
	if hermesHome := strings.TrimSpace(os.Getenv("HERMES_HOME")); hermesHome != "" {

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

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

low env_fs production #c5d02fd3f8f88891 Environment-variable access.
repo/cmd/launch/hermes.go:199
			if localAppData := strings.TrimSpace(os.Getenv("LOCALAPPDATA")); localAppData != "" {

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

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

low env_fs production #3c584cd921b97dfa Filesystem access.
repo/cmd/launch/hermes.go:275
	if data, err := os.ReadFile(configPath); err == nil {

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

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

low env_fs production #490208e83b55ec97 Filesystem access.
repo/cmd/launch/hermes.go:319
	data, err := os.ReadFile(configPath)

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

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

low env_fs production #72e3feff401b0699 Environment-variable access.
repo/cmd/launch/hermes.go:476
	add(os.Getenv("HERMES_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 production #a297b3cf67c33fd2 Environment-variable access.
repo/cmd/launch/hermes.go:477
	add(os.Getenv("LOCALAPPDATA"))

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

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

low env_fs production #c81d6e1407dc377e Environment-variable access.
repo/cmd/launch/hermes.go:498
	if hermesHome := strings.TrimSpace(os.Getenv("HERMES_HOME")); hermesHome != "" {

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

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

low env_fs production #0625f3f1464f604c Environment-variable access.
repo/cmd/launch/hermes.go:502
		if localAppData := strings.TrimSpace(os.Getenv("LOCALAPPDATA")); localAppData != "" {

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

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

low env_fs production #6bee419302cd61dc Filesystem access.
repo/cmd/launch/hermes.go:585
	switch data, err := os.ReadFile(envFilePath); {

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

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

low env_fs production #5b11ed46893a21a0 Environment-variable access.
repo/cmd/launch/hermes.go:598
			if value, ok := os.LookupEnv(key); ok {

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

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

low env_fs production #d2db5dc3b08adfd6 Environment-variable access.
repo/cmd/launch/kimi.go:77
		if appData := strings.TrimSpace(os.Getenv("APPDATA")); appData != "" {

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

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

low env_fs production #03c9da2b989f18a5 Environment-variable access.
repo/cmd/launch/kimi.go:80
		if localAppData := strings.TrimSpace(os.Getenv("LOCALAPPDATA")); localAppData != "" {

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

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

low env_fs production #898efbd958c44a07 Environment-variable access.
repo/cmd/launch/kimi.go:91
		if xdgDataHome := strings.TrimSpace(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 production #04bb957ccad20002 Environment-variable access.
repo/cmd/launch/kimi.go:99
		if profile := windowsPathToWSL(os.Getenv("USERPROFILE")); 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 production #807c062e3e933df1 Environment-variable access.
repo/cmd/launch/kimi.go:102
		if appData := windowsPathToWSL(os.Getenv("APPDATA")); appData != "" {

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

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

low env_fs production #246c8e57448ebd7f Environment-variable access.
repo/cmd/launch/kimi.go:105
		if localAppData := windowsPathToWSL(os.Getenv("LOCALAPPDATA")); localAppData != "" {

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

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

low env_fs production #cb46c69386d80843 Environment-variable access.
repo/cmd/launch/models.go:163
		if os.Getenv("DISPLAY") == "" && os.Getenv("WAYLAND_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 production #b2c0ba1365ae71c2 Environment-variable access.
repo/cmd/launch/omp.go:150
	cmd.Env = os.Environ()

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

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

low env_fs production #9c2c4959096653ef Environment-variable access.
repo/cmd/launch/omp.go:227
	if dir := strings.TrimSpace(os.Getenv("PI_CODING_AGENT_DIR")); 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 production #56fc45d5bc4b35b5 Environment-variable access.
repo/cmd/launch/omp.go:235
	configDir := strings.TrimSpace(os.Getenv("PI_CONFIG_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 production #722b295c1638f3e3 Filesystem access.
repo/cmd/launch/omp.go:250
	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 #298c5d3cd880b7b1 Filesystem access.
repo/cmd/launch/omp.go:336
	if data, err := os.ReadFile(path); err == nil {

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

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

low env_fs production #de7f82e8bb9f0aa1 Filesystem access.
repo/cmd/launch/openclaw.go:268
		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 #09ec85d33e285778 Filesystem access.
repo/cmd/launch/openclaw.go:315
		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 #b3acb8cf6426e410 Environment-variable access.
repo/cmd/launch/openclaw.go:369
	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 production #a3c14720c7fae7a5 Environment-variable access.
repo/cmd/launch/openclaw.go:375
	if _, ok := os.LookupEnv("OPENCLAW_PLUGIN_STAGE_DIR"); !ok {

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

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

low env_fs production #3b31f0766f8cc3c6 Environment-variable access.
repo/cmd/launch/openclaw.go:385
	if _, ok := os.LookupEnv("OPENCLAW_EAGER_BUNDLED_PLUGIN_DEPS"); !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 production #86db97ea0c4832fa Filesystem access.
repo/cmd/launch/openclaw.go:444
	if data, err := os.ReadFile(configPath); err == nil {

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

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

low env_fs production #2434e93a1cc24525 Filesystem access.
repo/cmd/launch/openclaw.go:446
	} else if data, err := os.ReadFile(legacyPath); err == nil {

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

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

low env_fs production #de5371367d310ee9 Filesystem access.
repo/cmd/launch/openclaw.go:477
	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 #b526d9db50d7a307 Filesystem access.
repo/cmd/launch/openclaw.go:524
	_ = os.WriteFile(path, out, 0o600)

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

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

low env_fs production #36b39501a6c9c640 Filesystem access.
repo/cmd/launch/openclaw.go:529
	data, err := os.ReadFile(filepath.Join(home, ".openclaw", "identity", "device-auth.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 #86f9b4b0cc0c0cc0 Environment-variable access.
repo/cmd/launch/openclaw.go:588
	return os.Getenv("XDG_RUNTIME_DIR") != ""

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

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

low env_fs production #6f138b732ff6c533 Filesystem access.
repo/cmd/launch/openclaw.go:670
	if data, err := os.ReadFile(configPath); err == nil {

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

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

low env_fs production #1affd6691d55287d Filesystem access.
repo/cmd/launch/openclaw.go:672
	} else if data, err := os.ReadFile(legacyPath); err == nil {

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

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

low env_fs production #c2ae143255f0ec35 Filesystem access.
repo/cmd/launch/openclaw.go:765
	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 #be6323e89880baab Filesystem access.
repo/cmd/launch/openclaw.go:791
	_ = os.WriteFile(path, out, 0o600)

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

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

low env_fs production #142ead1fd2c7c64e Filesystem access.
repo/cmd/launch/openclaw.go:806
	data, err := os.ReadFile(configPath)

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

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

low env_fs production #d338c4e331ca81d8 Filesystem access.
repo/cmd/launch/openclaw.go:925
	_ = os.WriteFile(configPath, out, 0o600)

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

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

low env_fs production #87cc70dfc5a1b814 Environment-variable access.
repo/cmd/launch/opencode.go:61
	cmd.Env = os.Environ()

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

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

low env_fs production #3c60a0aab090dbe6 Filesystem access.
repo/cmd/launch/opencode.go:242
	if data, err := os.ReadFile(statePath); err == nil {

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

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

low env_fs production #5b1112e01d7d5119 Filesystem access.
repo/cmd/launch/opencode.go:321
	data, err := os.ReadFile(statePath)

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

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

low env_fs production #c3399feeb514ccac Filesystem access.
repo/cmd/launch/pi.go:243
		data, err := os.ReadFile(packageJSON)

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

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

low env_fs production #c2771817c358f8d7 Environment-variable access.
repo/cmd/launch/pi.go:474
	value := os.Getenv("PI_OFFLINE")

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

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

low env_fs production #f5eec092d1bf6743 Filesystem access.
repo/cmd/launch/pi.go:479
	data, err := os.ReadFile(filepath.Join(installedPath, "package.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 #2010ea3cce330ccb Filesystem access.
repo/cmd/launch/pi.go:549
	if data, err := os.ReadFile(configPath); err == nil {

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

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

low env_fs production #73abffa080bef79b Filesystem access.
repo/cmd/launch/pi.go:627
	if data, err := os.ReadFile(settingsPath); err == nil {

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

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

low env_fs production #4d82db87d7d54743 Environment-variable access.
repo/cmd/launch/poolside.go:46
	cmd.Env = append(os.Environ(),

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

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

low env_fs production #a3941a370dd85c70 Environment-variable access.
repo/cmd/launch/qwen.go:83
	if appData := os.Getenv("APPDATA"); appData != "" {

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

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

low env_fs production #5ecb3baca050073c Environment-variable access.
repo/cmd/launch/qwen.go:90
	if localAppData := os.Getenv("LOCALAPPDATA"); localAppData != "" {

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

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

low env_fs production #4894ed32e0caeb3a Environment-variable access.
repo/cmd/launch/qwen.go:129
	cmd.Env = qwenInstallerEnv(os.Environ(), shimDir)

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

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

low env_fs production #30e2720b2b0eb6bd Filesystem access.
repo/cmd/launch/qwen.go:155
			if err := os.WriteFile(filepath.Join(dir, name), []byte("@echo off\r\nexit /b 0\r\n"), 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 production #175044021c029b3e Filesystem access.
repo/cmd/launch/qwen.go:163
	if err := os.WriteFile(filepath.Join(dir, "qwen"), []byte("#!/bin/sh\nexit 0\n"), 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 production #43d961a721841474 Filesystem access.
repo/cmd/launch/qwen.go:390
	data, err := os.ReadFile(configPath)

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

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

low env_fs production #57d0435dfc389245 Environment-variable access.
repo/cmd/launch/qwen.go:431
	env := os.Environ()

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

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

low env_fs production #67a4f105dc6232ff Environment-variable access.
repo/cmd/launch/vscode.go:37
		if localAppData := os.Getenv("LOCALAPPDATA"); localAppData != "" {

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

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

low env_fs production #6462e6e4b7b1b772 Filesystem access.
repo/cmd/launch/vscode.go:253
	if data, err := os.ReadFile(clmPath); err == nil {

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

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

low env_fs production #610bbdfbe206e343 Filesystem access.
repo/cmd/launch/vscode.go:298
	data, err := os.ReadFile(v.chatLanguageModelsPath())

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

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

low env_fs production #ca1734d075b7cf49 Filesystem access.
repo/cmd/launch/vscode.go:327
	data, err := os.ReadFile(settingsPath)

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

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

low env_fs production #5e193a43c75f2960 Environment-variable access.
repo/cmd/launch/vscode.go:467
		base = filepath.Join(os.Getenv("APPDATA"), "Code", "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 production #d501a2cd061bcf2c Environment-variable access.
repo/cmd/start_windows.go:37
		localAppData := os.Getenv("LOCALAPPDATA")

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

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

low env_fs production #ac69a11639155c87 Filesystem access.
repo/cmd/tui/chat/debug.go:41
	if err := os.WriteFile(path, []byte(raw+"\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 production #a1c6f1789c9c0036 Environment-variable access.
repo/discover/amd.go:71
	return rocmGFXTargetOverride(os.Getenv("HSA_OVERRIDE_GFX_VERSION"))

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

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

low env_fs production #ed475e513b28f110 Filesystem access.
repo/discover/amd.go:300
	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 production #c1f04693b8033b3f Filesystem access.
repo/discover/amd.go:388
	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 #a7f7be8c0777ca3a Filesystem access.
repo/discover/cpu_linux.go:26
	f, err := os.Open("/proc/meminfo")

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

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

low env_fs production #0c64d6b8106242af Filesystem access.
repo/discover/cpu_linux.go:77
	f, err := os.Open(path)

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

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

low env_fs production #86944f1c067e9c5c Filesystem access.
repo/discover/cpu_linux.go:94
		id, err := os.ReadFile(packageId)

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

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

low env_fs production #bd8aef51320f71aa Environment-variable access.
repo/discover/gpu.go:18
var CudaTegra string = os.Getenv("JETSON_JETPACK")

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

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

low env_fs production #9052ab70d117be62 Filesystem access.
repo/discover/gpu.go:47
		} else if data, err := os.ReadFile("/etc/nv_tegra_release"); err == nil {

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

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

low env_fs production #1bd630e35393a0aa Environment-variable access.
repo/discover/llama_server.go:67
	cmd.Env = os.Environ()

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

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

low env_fs production #62a2ec30585c5ae9 Environment-variable access.
repo/discover/native_probe_linux.go:384
		if 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 production #122ce89140fc6332 Environment-variable access.
repo/discover/native_probe_windows.go:412
		os.Getenv("ProgramW6432"),

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

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

low env_fs production #e088ef6e60b0eaec Environment-variable access.
repo/discover/native_probe_windows.go:413
		os.Getenv("ProgramFiles"),

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

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

low env_fs production #5108cb69d72929f0 Filesystem access.
repo/docs/tools/extract-examples/main.go:20
	f, err := os.Open(mdxFile)

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

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

low env_fs production #293620887336c284 Filesystem access.
repo/docs/tools/extract-examples/main.go:68
					if err := os.WriteFile(outPath, []byte(content.String()), 0o644); err != nil {

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

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

low env_fs production #3bcc16269d386d8d Filesystem access.
repo/docs/tools/extract-examples/main.go:112
	if err := os.WriteFile(filepath.Join(tempDir, "package.json"), []byte(packageJSON), 0o644); err != nil {

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

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

low env_fs production #159c6b27d99b7641 Filesystem access.
repo/docs/tools/extract-examples/main.go:125
	if err := os.WriteFile(filepath.Join(tempDir, "pyproject.toml"), []byte(pyprojectTOML), 0o644); err != nil {

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

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

low env_fs production #88f57eff014b0478 Environment-variable access.
repo/envconfig/config.go:376
	return strings.Trim(strings.TrimSpace(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 production #ea24601770f3be29 Filesystem access.
repo/envconfig/config.go:402
		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 #44640ba28c5298d6 Filesystem access.
repo/fs/gguf/gguf.go:56
	f.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 production #f3b96f329dcae192 Environment-variable access.
repo/llm/llama_server.go:446
	cmd.Env = os.Environ()

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

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

low env_fs production #c2a5a9355dec36ef Environment-variable access.
repo/llm/llama_server.go:516
	if libraryPath, ok := os.LookupEnv(llamaServerLibraryPathEnv()); 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 production #d205827056e0d328 Environment-variable access.
repo/llm/llama_server.go:694
	if _, ok := os.LookupEnv(llamaArgFitTargetEnv); 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 production #5214725883408c7a Filesystem access.
repo/llm/llama_server.go:739
	file, err := os.Open(projectors[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 #cce9b7a81e13720f Filesystem access.
repo/llm/server.go:97
	f, err := os.Open(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 production #be95d59a45f65ef9 Environment-variable access.
repo/llm/vulkan_windows.go:22
	return windowsVulkanRuntimeDLLPath(systemDir, os.Getenv("PATH"), libDirs, fileExists)

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

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

low env_fs production #35d7a111dc0f9c0c Filesystem access.
repo/manifest/layer.go:119
	return os.Open(blob)

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

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

low env_fs production #3ee7bc1e1c6d802e Filesystem access.
repo/manifest/manifest.go:51
			data, err := os.ReadFile(blobPath)

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

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

low env_fs production #93a0ed6917162eac Filesystem access.
repo/manifest/manifest.go:125
	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 production #921d9ef92500a150 Filesystem access.
repo/manifest/manifest.go:159
	f, err := os.Create(p)

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

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

low env_fs production #ca48f421fbae21b4 Environment-variable access.
repo/ml/device.go:748
	if runtime.GOOS != "linux" || os.Getenv("ROCR_VISIBLE_DEVICES") != "" {

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

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

low env_fs production #312ca3def097fb6a Environment-variable access.
repo/ml/device.go:752
		if numericVisibleDeviceList(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 production #554baecea5fd3fe3 Environment-variable access.
repo/ml/device.go:761
		if numericVisibleDeviceList(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 production #3eb4905bccb8dc50 Filesystem access.
repo/parser/parser.go:287
	bin, 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 #2a750fb6f975034d Filesystem access.
repo/parser/parser.go:302
		f, err := os.Open(path)

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

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

low env_fs production #3ac4275760c5dfbe Filesystem access.
repo/readline/history.go:53
	f, err := os.OpenFile(path, os.O_CREATE|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 production #d9e261ad6c6af5cd Filesystem access.
repo/readline/history.go:132
	f, err := os.OpenFile(tmpFile, os.O_CREATE|os.O_WRONLY|os.O_TRUNC|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 production #1b7db24de2e51db0 Filesystem access.
repo/server/create.go:169
							if cfgFile, fErr := os.Open(configPath); fErr == nil {

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

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

low env_fs production #0210cc8a211b764c Filesystem access.
repo/server/create.go:493
			f, err := os.Open(blobPath)

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

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

low env_fs production #b6ec69dfd807f5dc Filesystem access.
repo/server/create.go:667
		blob, err := os.Open(blobPath)

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

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

low env_fs production #d71b73f6bf839e4b Filesystem access.
repo/server/create.go:689
		blob, err := os.Open(blobPath)

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

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

low env_fs production #077b889f877bf143 Filesystem access.
repo/server/create.go:1028
	fp, err := os.Open(blob)

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

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

low env_fs production #f5a24dd2a3dec136 Filesystem access.
repo/server/create.go:1104
	f, err := os.Open(firstPath)

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

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

low env_fs production #ee7787b2ef598393 Filesystem access.
repo/server/create.go:1245
	blob, err := os.Open(blobPath)

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

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

low env_fs production #60d201dcd2ced0c3 Filesystem access.
repo/server/create.go:1369
		fn, err := os.Open(digestPath)

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

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

low env_fs production #5902320823c266ef Filesystem access.
repo/server/create.go:1461
	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 production #fbfeb52c39df8d79 Filesystem access.
repo/server/create.go:1467
	dstFile, err := os.Create(dst)

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

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

low env_fs production #2afde752d2c65631 Filesystem access.
repo/server/download.go:220
	file, err := os.OpenFile(b.Name+"-partial", os.O_CREATE|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 production #66684436872823d1 Filesystem access.
repo/server/download.go:404
	partFile, err := os.Open(partName)

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

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

low env_fs production #37e6d144ca0d2ac7 Filesystem access.
repo/server/download.go:419
	partFile, err := os.OpenFile(partName, os.O_CREATE|os.O_RDWR|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 production #215c1e46c86e158f Filesystem access.
repo/server/images.go:661
		configFile, err := os.Open(filename)

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

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

low env_fs production #9bfa9df7eb2eaf74 Filesystem access.
repo/server/images.go:708
			bts, 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 #3b088947cb08918c Filesystem access.
repo/server/images.go:718
			bts, 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 #9f0ba814943fc7b5 Filesystem access.
repo/server/images.go:725
			params, err := os.Open(filename)

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

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

low env_fs production #6dbbd8d9da131d37 Filesystem access.
repo/server/images.go:736
			msgs, err := os.Open(filename)

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

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

low env_fs production #000053d840659365 Filesystem access.
repo/server/images.go:746
			bts, 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 #d4f3390da82bd96d Filesystem access.
repo/server/images.go:791
	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 production #d82b2b6ac76ccdf6 Filesystem access.
repo/server/images.go:797
	dstfile, err := os.Create(dstpath)

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

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

low env_fs production #3c48ddc7f91820c4 Filesystem access.
repo/server/images.go:922
		manifestJSON, err := os.ReadFile(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 production #d56b6843ca75bb8b Filesystem access.
repo/server/images.go:1056
	err = os.WriteFile(fp, manifestData, 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 #862d09f8381053b6 Filesystem access.
repo/server/images.go:1154
	if err := os.WriteFile(fp, manifestData, 0o644); err != nil {

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

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

low env_fs production #8320250834f03701 Filesystem access.
repo/server/images.go:1404
	f, err := os.Open(fp)

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

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

low env_fs production #c7bc2037c49f3e0f Filesystem access.
repo/server/inference_request_log.go:112
	if err := os.WriteFile(bodyPath, 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 production #50c7aa02356087a9 Filesystem access.
repo/server/inference_request_log.go:119
	if err := os.WriteFile(curlPath, []byte(curl), 0o600); err != nil {

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

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

low env_fs production #a8078050d96e83fa Filesystem access.
repo/server/model.go:73
			blob, err := os.Open(blobpath)

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

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

low env_fs production #810c36cfafe40672 Filesystem access.
repo/server/model_list_cache.go:444
			bts, 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 #3826cb2c06315a77 Filesystem access.
repo/server/model_list_cache.go:491
	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 egress production #d01ade2022935f9c Hardcoded external endpoint. Review what data is sent to this destination.
repo/server/model_recommendations.go:197
	req, err := http.NewRequestWithContext(reqCtx, http.MethodGet, modelRecommendationsURL, 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 #5b0f8413a9ddd66d Filesystem access.
repo/server/model_recommendations.go:239
	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 #a4bf4fd047e517e7 Filesystem access.
repo/server/quantization.go:75
	fp, err := os.Open(blob)

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

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

low env_fs production #b8fb84da85cdc589 Environment-variable access.
repo/server/quantization.go:128
	cmd.Env = llamaQuantizeEnv(os.Environ(), hasEmbeddedCompatibilityTensors(orig))

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

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

low env_fs production #da5b59aa893ef214 Environment-variable access.
repo/server/routes.go:91
	return slices.Contains(strings.Split(os.Getenv("OLLAMA_EXPERIMENT"), ","), name)

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

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

low env_fs production #1309e827e9e97664 Filesystem access.
repo/server/upload.go:139
	b.file, 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 production #2189a8ce8da7468a Filesystem access.
repo/x/create/client/create.go:245
	data, err := os.ReadFile(configPath)

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

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

low env_fs production #c9889515bd4ec6d8 Filesystem access.
repo/x/create/client/create.go:320
	data, err := os.ReadFile(m.BlobPath(m.Manifest.Config.Digest))

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

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

low env_fs production #2dbea17495d7fadf Filesystem access.
repo/x/create/client/create.go:389
		if data, err := os.ReadFile(modelIndex); err == nil {

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

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

low env_fs production #52fb89321242b55e Filesystem access.
repo/x/create/client/create.go:533
	if data, err := os.ReadFile(filepath.Join(modelDir, "config.json")); err == nil {

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

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

low env_fs production #0d77dedcb91a2537 Filesystem access.
repo/x/create/client/create.go:549
	if data, err := os.ReadFile(filepath.Join(modelDir, "tokenizer_config.json")); err == nil {

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

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

low env_fs production #1aa184cc948f2eb3 Filesystem access.
repo/x/create/client/create.go:557
	if data, err := os.ReadFile(filepath.Join(modelDir, "chat_template.jinja")); err == nil {

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

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

low env_fs production #104521d121283ce3 Filesystem access.
repo/x/create/client/create.go:600
	data, err := os.ReadFile(configPath)

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

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

low env_fs production #3ff8c37ddf13f31a Filesystem access.
repo/x/create/client/create.go:672
	data, err := os.ReadFile(configPath)

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

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

low env_fs production #e58e1f92483defe7 Filesystem access.
repo/x/create/create.go:82
	data, err := os.ReadFile(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 production #516de457ca466d76 Filesystem access.
repo/x/create/create.go:106
	data, err := os.ReadFile(blobPath)

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

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

low env_fs production #d3b7142148e5c907 Filesystem access.
repo/x/create/create.go:395
	data, err := os.ReadFile(configPath)

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

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

low env_fs production #16b494b1e7869fc4 Filesystem access.
repo/x/create/create.go:551
	data, err := os.ReadFile(indexPath)

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

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

low env_fs production #907a50db2fad196e Filesystem access.
repo/x/create/pipeline.go:80
		f, err := os.Open(filepath.Join(modelDir, name))

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

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

low env_fs production #174a355d1ea947b2 Filesystem access.
repo/x/create/quantize.go:120
	return os.ReadFile(outPath)

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

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

low env_fs production #0649c01ee9564c8c Filesystem access.
repo/x/imagegen/cli.go:185
		if err := os.WriteFile(filename, imageData, 0o644); err != nil {

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

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

low env_fs production #f0e8cefbcf47a3a1 Filesystem access.
repo/x/imagegen/cli.go:356
			if err := os.WriteFile(filename, imageData, 0o644); err != nil {

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

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

low env_fs production #43dcb15f446e1a04 Environment-variable access.
repo/x/imagegen/cli.go:469
	termProgram := os.Getenv("TERM_PROGRAM")

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

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

low env_fs production #73fbcc498021979e Environment-variable access.
repo/x/imagegen/cli.go:470
	kittyWindowID := os.Getenv("KITTY_WINDOW_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 production #15eb4c7f7ae4991a Environment-variable access.
repo/x/imagegen/cli.go:471
	weztermPane := os.Getenv("WEZTERM_PANE")

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

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

low env_fs production #a8ff0486fa93d457 Environment-variable access.
repo/x/imagegen/cli.go:472
	ghostty := os.Getenv("GHOSTTY_RESOURCES_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 production #35c69cf8421e6551 Filesystem access.
repo/x/imagegen/cli.go:475
	data, err := os.ReadFile(imagePath)

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

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

low env_fs production #6fe731ea9e90ea14 Filesystem access.
repo/x/imagegen/cli.go:556
	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 #fdae19c422195ebd Filesystem access.
repo/x/imagegen/cli.go:575
	return os.ReadFile(filePath)

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

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

low env_fs production #5d84d7bccafd9215 Filesystem access.
repo/x/imagegen/cmd/engine/image.go:27
	f, err := os.Create(path)

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

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

low env_fs production #1eef17ee8fe731f1 Filesystem access.
repo/x/imagegen/cmd/engine/main.go:87
		f, err := os.Create(*cpuProfile)

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

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

low env_fs production #085b0f284d8298fa Filesystem access.
repo/x/imagegen/cmd/engine/main.go:236
		data, err := os.ReadFile(indexPath)

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

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

low env_fs production #fa9cb8aeaaaf5e38 Filesystem access.
repo/x/imagegen/cmd/engine/main.go:255
	data, err := os.ReadFile(configPath)

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

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

low env_fs production #97c593e3abece9cc Filesystem access.
repo/x/imagegen/cmd/engine/main.go:272
	data, err := os.ReadFile(path)

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

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

low env_fs production #89de6216c903a403 Filesystem access.
repo/x/imagegen/image.go:30
	f, err := os.Create(path)

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

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

low env_fs production #f5399c78565e99cb Filesystem access.
repo/x/imagegen/image_processor.go:17
	f, err := os.Open(path)

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

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

low env_fs production #dd7101f0e8268010 Filesystem access.
repo/x/imagegen/manifest/manifest.go:54
	data, err := os.ReadFile(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 production #09040d5b98a25ec3 Filesystem access.
repo/x/imagegen/manifest/manifest.go:142
	return os.ReadFile(blobPath)

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

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

low env_fs production #201a8a772f60075c Filesystem access.
repo/x/imagegen/manifest/manifest.go:156
	return os.Open(m.BlobPath(digest))

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

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

low env_fs production #50dc50895a195eb1 Filesystem access.
repo/x/imagegen/manifest/manifest.go:289
	f, err := os.Open(path)

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

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

low env_fs production #046b81a02521e94e Filesystem access.
repo/x/imagegen/mlx/generate_wrappers.go:281
	if err := os.WriteFile(headerPath, headerBuf.Bytes(), 0644); err != nil {

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

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

low env_fs production #704ba2372d44d28f Filesystem access.
repo/x/imagegen/mlx/generate_wrappers.go:368
	if err := os.WriteFile(implPath, implBuf.Bytes(), 0644); err != nil {

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

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

low env_fs production #85b00283e22823fb Filesystem access.
repo/x/imagegen/mlx/generate_wrappers.go:424
		content, err := os.ReadFile(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 production #7d35a164efc07e97 Filesystem access.
repo/x/imagegen/safetensors/safetensors.go:27
	f, err := os.Open(path)

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

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

low env_fs production #64f1f0b842b0775d Environment-variable access.
repo/x/imagegen/server.go:117
	cmd.Env = os.Environ()

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

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

low env_fs production #bb067f51fe44f0a4 Environment-variable access.
repo/x/imagegen/server.go:196
	if existingPath, ok := os.LookupEnv(pathEnv); 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 production #0142e9314e07316a Environment-variable access.
repo/x/imagegen/server.go:203
	if existingPath, ok := os.LookupEnv("OLLAMA_LIBRARY_PATH"); 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 production #7c85314473d8c8b0 Filesystem access.
repo/x/imagegen/tokenizer/tokenizer.go:103
	if data, err := os.ReadFile(dir + "generation_config.json"); err == nil {

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

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

low env_fs production #9222db851ad1ac23 Filesystem access.
repo/x/imagegen/tokenizer/tokenizer.go:120
		if data, err := os.ReadFile(dir + "config.json"); err == nil {

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

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

low env_fs production #670f1f3310e0471b Filesystem access.
repo/x/imagegen/tokenizer/tokenizer.go:141
	if data, err := os.ReadFile(dir + "tokenizer_config.json"); err == nil {

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

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

low env_fs production #e746d4b9141abe70 Filesystem access.
repo/x/imagegen/tokenizer/tokenizer.go:181
	if data, err := os.ReadFile(dir + "special_tokens_map.json"); err == nil {

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

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

low env_fs production #6b14f98f9ce4d461 Filesystem access.
repo/x/imagegen/tokenizer/tokenizer.go:423
		if data, err := os.ReadFile(dir + "tokenizer.json"); err == nil {

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

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

low env_fs production #970b4cea37ef1f8e Filesystem access.
repo/x/imagegen/tokenizer/tokenizer.go:431
	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 #1ab99be1512584cb Filesystem access.
repo/x/imagegen/tokenizer/tokenizer.go:1091
	vocabData, err := os.ReadFile(vocabPath)

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

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

low env_fs production #77d77f2c41976c0a Filesystem access.
repo/x/imagegen/tokenizer/tokenizer.go:1102
	mergesData, err := os.ReadFile(mergesPath)

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

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

low env_fs production #8cec989b198678c9 Filesystem access.
repo/x/imagegen/tokenizer/tokenizer.go:1130
	if addedData, err := os.ReadFile(addedTokensPath); err == nil {

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

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

low env_fs production #8e96271ed1a5fb8e Environment-variable access.
repo/x/mlxrunner/client.go:310
	cmd.Env = os.Environ()

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

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

low env_fs production #2f64d2f2462f6351 Environment-variable access.
repo/x/mlxrunner/client.go:328
		if existingPath, ok := os.LookupEnv(libPathEnvVar); 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 production #c13ac7b953642cd8 Environment-variable access.
repo/x/mlxrunner/mlx/dynamic.go:183
	if existing := os.Getenv(envVar); existing != "" {

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

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

low env_fs production #7cba2e50befb78ef Environment-variable access.
repo/x/mlxrunner/mlx/dynamic.go:200
	forcedVariant, _ := os.LookupEnv("OLLAMA_LLM_LIBRARY")

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

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

low env_fs production #3d157050651e920d Filesystem access.
repo/x/mlxrunner/mlx/generator/main.go:112
		bts, 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 production #3b63646dc1b35f7f Filesystem access.
repo/x/mlxrunner/mlx/generator/main.go:144
		f, err := os.Create(name)

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

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

low env_fs production #84779d4f262a840b Filesystem access.
repo/x/mlxrunner/model/root.go:79
	data, err := os.ReadFile(m.BlobPath(m.Manifest.Config.Digest))

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

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

low env_fs production #3c5ac6204c5ab3ba Filesystem access.
repo/x/mlxrunner/model/root.go:138
	f, err := os.Open(path)

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

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

low env_fs production #d0fc172dff38d751 Filesystem access.
repo/x/safetensors/extractor.go:196
	f, err := os.Open(path)

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

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

low env_fs production #0c6dc1fde0b11392 Filesystem access.
repo/x/server/show.go:242
		f, err := os.Open(blobPath)

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

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

low env_fs production #5e388c13b7796446 Filesystem access.
repo/x/server/show.go:326
		f, err := os.Open(blobPath)

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

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

low env_fs production #f00d5bb1e32bd0b6 Filesystem access.
repo/x/transfer/download.go:295
		f, err = os.OpenFile(tmp, 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 production #471712d684ec460e Filesystem access.
repo/x/transfer/download.go:313
		f, err = os.Create(tmp)

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

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

low env_fs production #218988e17fc69bd0 Filesystem access.
repo/x/transfer/upload.go:248
	f, err := os.Open(filepath.Join(u.srcDir, digestToPath(blob.Digest)))

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

google.golang.org/protobuf

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

low env_fs dependency Excluded from app score #613b3598b049d9e5 Environment-variable access.
pkgs/go/[email protected]/reflect/protoregistry/registry.go:63
		panic("invalid " + env + " value: " + os.Getenv(env))

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

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

github.com/charmbracelet/bubbletea

go dependency
expand_more 4 low-confidence finding(s)
low env_fs dependency Excluded from app score #405599720ac40866 Filesystem access.
pkgs/go/[email protected]/logging.go:36
	f, err := os.OpenFile(path, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0o600) //nolint:mnd

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

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

low env_fs dependency Excluded from app score #3565963d2c25cb76 Environment-variable access.
pkgs/go/[email protected]/tea.go:267
		p.environ = 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 #a5233d7949c77f55 Filesystem access.
pkgs/go/[email protected]/tty_unix.go:33
	f, err := os.Open("/dev/tty")

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

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

low env_fs dependency Excluded from app score #f604ec83b6555bce Filesystem access.
pkgs/go/[email protected]/tty_windows.go:59
	f, err := os.OpenFile("CONIN$", os.O_RDWR, 0o644) //nolint:gosec

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

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

github.com/containerd/console

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #a27c3ec01b463429 Filesystem access.
pkgs/go/[email protected]/console_zos.go:37
		f, err = os.OpenFile(ptyp, os.O_RDWR, 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 #1e171a3ce7edb5da Filesystem access.
pkgs/go/[email protected]/pty_unix.go:29
	return os.OpenFile("/dev/ptmx", unix.O_RDWR|unix.O_NOCTTY|unix.O_CLOEXEC, 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/gin-gonic/gin

go dependency
expand_more 5 low-confidence finding(s)
low env_fs dependency Excluded from app score #3d9a818ebc7d2ac8 Filesystem access.
pkgs/go/[email protected]/context.go:621
	out, err := os.Create(dst)

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

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

low env_fs dependency Excluded from app score #7b6c5db0de604175 Environment-variable access.
pkgs/go/[email protected]/logger.go:227
	if w, ok := out.(*os.File); !ok || os.Getenv("TERM") == "dumb" ||

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

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

low env_fs dependency Excluded from app score #1b0fead27079544b Environment-variable access.
pkgs/go/[email protected]/mode.go:52
	mode := os.Getenv(EnvGinMode)

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

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

low env_fs dependency Excluded from app score #9e8679814b42f51c Filesystem access.
pkgs/go/[email protected]/recovery.go:125
			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 #1268ac3970ec9f8e Environment-variable access.
pkgs/go/[email protected]/utils.go:143
		if port := os.Getenv("PORT"); port != "" {

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

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

github.com/ledongthuc/pdf

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #e41a05fa79fe6e59 Filesystem access.
pkgs/go/[email protected]/pdfpasswd/main.go:38
	f, err := os.Open(flag.Arg(0))

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

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

low env_fs dependency Excluded from app score #f101a4fd07c964ae Filesystem access.
pkgs/go/[email protected]/read.go:106
	f, err := os.Open(file)

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

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

github.com/mattn/go-runewidth

go dependency
expand_more 7 low-confidence finding(s)
low env_fs dependency Excluded from app score #0a3a55d0d7d34279 Environment-variable access.
pkgs/go/[email protected]/runewidth.go:31
	env := os.Getenv("RUNEWIDTH_EASTASIAN")

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

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

low env_fs dependency Excluded from app score #4e4cccd900758381 Environment-variable access.
pkgs/go/[email protected]/runewidth_posix.go:64
	locale := os.Getenv("LC_ALL")

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

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

low env_fs dependency Excluded from app score #ca3bb8255ed80435 Environment-variable access.
pkgs/go/[email protected]/runewidth_posix.go:66
		locale = os.Getenv("LC_CTYPE")

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

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

low env_fs dependency Excluded from app score #845ab0c9efbb9b37 Environment-variable access.
pkgs/go/[email protected]/runewidth_posix.go:69
		locale = os.Getenv("LANG")

Reads environment variables or the filesystem — 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 #5c5d2c647bd1d9c3 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/script/generate.go:183
	resp, err := http.Get("https://unicode.org/Public/15.1.0/ucd/EastAsianWidth.txt")

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

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

low egress dependency Excluded from app score #0ae14890ea66de64 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/script/generate.go:191
	resp, err = http.Get("https://unicode.org/Public/15.1.0/ucd/emoji/emoji-data.txt")

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

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

low env_fs dependency Excluded from app score #1a7866e90444d7c6 Filesystem access.
pkgs/go/[email protected]/script/generate.go:203
	err = ioutil.WriteFile("runewidth_table.go", out, 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/mattn/go-sqlite3

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #1d4e6447289c8910 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 #b1e84bb5b85a0f61 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/nlpodyssey/gopickle

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #e095d11e95a48aad Filesystem access.
pkgs/go/[email protected]/pickle/pickle.go:25
	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 #feabf75e46b1dd34 Filesystem access.
pkgs/go/[email protected]/pytorch/pytorch.go:132
	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.

github.com/olekukonko/tablewriter

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #91f5395e6d994008 Filesystem access.
pkgs/go/[email protected]/csv.go:19
	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 #9083d8c2c44ca392 Filesystem access.
pkgs/go/[email protected]/csv2table/csv2table.go:49
	r, err := os.Open(*fileName)

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

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

github.com/pdevine/tensor

go dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #74ab17191125503a Environment-variable access.
pkgs/go/[email protected]/genlib2/main.go:28
	gopath = os.Getenv("GOPATH")

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

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

low env_fs dependency Excluded from app score #a4b470f69ba5929e Filesystem access.
pkgs/go/[email protected]/genlib2/main.go:128
	f, err := os.Create(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 #4b5cb17c95743358 Filesystem access.
pkgs/go/[email protected]/genlib2/main.go:185
		b, err := ioutil.ReadFile(m)

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

go dependency
expand_more 7 low-confidence finding(s)
low env_fs dependency Excluded from app score #2f8876c297c03151 Filesystem access.
pkgs/go/[email protected]/cmd/tomltestgen/main.go:112
		tomlContent, err := os.ReadFile(f)

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

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

low env_fs dependency Excluded from app score #cf14e53850a4556b Filesystem access.
pkgs/go/[email protected]/cmd/tomltestgen/main.go:132
		tomlContent, err := os.ReadFile(f)

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

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

low env_fs dependency Excluded from app score #3aae3a1b237ef538 Filesystem access.
pkgs/go/[email protected]/cmd/tomltestgen/main.go:139
		jsonContent, err := os.ReadFile(filename + ".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 #d5c9d3df012ac2e9 Filesystem access.
pkgs/go/[email protected]/cmd/tomltestgen/main.go:174
	err = os.WriteFile(*out, outputBytes, 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 #65422cb3019969df Filesystem access.
pkgs/go/[email protected]/internal/cli/cli.go:54
		f, 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 #8060e0581cd8c52c Filesystem access.
pkgs/go/[email protected]/internal/cli/cli.go:75
	in, err := ioutil.ReadFile(path)

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

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

low env_fs dependency Excluded from app score #38c6d82a5adc7361 Filesystem access.
pkgs/go/[email protected]/internal/cli/cli.go:87
	return ioutil.WriteFile(path, out.Bytes(), 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/spf13/cobra

go dependency
expand_more 14 low-confidence finding(s)
low env_fs dependency Excluded from app score #671ab895d56a1240 Environment-variable access.
pkgs/go/[email protected]/active_help.go:49
	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 #b94e6cb0672ee4ba Environment-variable access.
pkgs/go/[email protected]/active_help.go:51
		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 #6bc29c88e491fad5 Filesystem access.
pkgs/go/[email protected]/bash_completions.go:705
	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 #1dc0b0b39370f0a0 Filesystem access.
pkgs/go/[email protected]/bash_completionsV2.go:383
	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 #ae3e1f85821d7c18 Environment-variable access.
pkgs/go/[email protected]/completions.go:846
	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 #d6521f863a1028e7 Filesystem access.
pkgs/go/[email protected]/completions.go:847
		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 #1f6f4cf61973f8c1 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 #e57cf34c57ea506c 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 #0c3db3e8f0343a30 Filesystem access.
pkgs/go/[email protected]/doc/md_docs.go:143
	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 #cd8e62ddc833dd52 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 #e0e0e24498b9a708 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 #a6493bc46e270604 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 #abe96e95b5ff631e Filesystem access.
pkgs/go/[email protected]/powershell_completions.go:296
	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 #bf4d9db07240ddec 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/tkrajina/typescriptify-golang-structs

go dependency
expand_more 5 low-confidence finding(s)
low env_fs dependency Excluded from app score #e8cd064d078102ca Filesystem access.
pkgs/go/[email protected]/tscriptify/main.go:117
		byts, 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 #acdf0782c038895c Filesystem access.
pkgs/go/[email protected]/typescriptify/typescriptify.go:395
	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 #59b0f3b3ffbb8774 Filesystem access.
pkgs/go/[email protected]/typescriptify/typescriptify.go:430
	fileIn, 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 #2bd3a245bc3b99c6 Filesystem access.
pkgs/go/[email protected]/typescriptify/typescriptify.go:450
	return os.WriteFile(backupFn, bytes, os.FileMode(0700))

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

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

low env_fs dependency Excluded from app score #4394b71e19ffb611 Filesystem access.
pkgs/go/[email protected]/typescriptify/typescriptify.go:466
	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.

golang.org/x/crypto

go dependency
expand_more 6 low-confidence finding(s)
low env_fs dependency Excluded from app score #238eebdfd550e7fe 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 #a8ab5b7a45120e84 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 #8f3d8e9dc0167713 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 #872caccc5f860d55 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 #93b2156d90d9fbc1 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 #09a2c9f2b5b818b1 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/image

go dependency
expand_more 19 low-confidence finding(s)
low env_fs dependency Excluded from app score #5a58065128eba0c8 Filesystem access.
pkgs/go/[email protected]/ccitt/gen.go:266
	if err := ioutil.WriteFile(filename, out, 0660); err != nil {

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

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

low env_fs dependency Excluded from app score #ec5c8a90077b2cfa Filesystem access.
pkgs/go/[email protected]/ccitt/gen.go:272
	b, err := ioutil.ReadFile("gen.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 #533165570bd38f91 Filesystem access.
pkgs/go/[email protected]/cmd/webp-manual-test/main.go:50
	f, err := os.Open(*testdata)

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

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

low env_fs dependency Excluded from app score #ad5271f6dc6a7ff3 Filesystem access.
pkgs/go/[email protected]/cmd/webp-manual-test/main.go:102
	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 egress dependency Excluded from app score #d726426852fd9f2f Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/colornames/gen.go:171
	res, err := http.Get(url)

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 #3178e91ef692bc41 Filesystem access.
pkgs/go/[email protected]/colornames/gen.go:194
	if err := ioutil.WriteFile("table.go", fmted, 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 #f668c5cb2c48c03b Filesystem access.
pkgs/go/[email protected]/draw/gen.go:46
	if err := os.WriteFile("impl.go", out, 0660); err != nil {

Reads environment variables or the filesystem — an inventory-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 #33f115f4954fc2c9 Filesystem access.
pkgs/go/[email protected]/example/font/main.go:55
		fontData, err := ioutil.ReadFile(*fontFlag)

Reads environment variables or the filesystem — an inventory-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 #5bf36f5b8f9a7c1d Filesystem access.
pkgs/go/[email protected]/example/font/main.go:61
			return ioutil.ReadFile(filepath.Join(dir, filepath.FromSlash(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 #11e6cc7829eb0475 Filesystem access.
pkgs/go/[email protected]/example/font/main.go:67
		fontData, err := ioutil.ReadFile(*fontFlag)

Reads environment variables or the filesystem — an inventory-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 #0ba3cbbfa3102471 Filesystem access.
pkgs/go/[email protected]/example/font/main.go:99
	out, err := os.Create("out.png")

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

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

low env_fs dependency Excluded from app score #58e5a22884cea463 Filesystem access.
pkgs/go/[email protected]/font/basicfont/gen.go:36
		return ioutil.ReadFile(filepath.FromSlash(path.Join("../testdata/fixed", 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 #d8e4c622d41f9bf7 Filesystem access.
pkgs/go/[email protected]/font/basicfont/gen.go:100
	if err := ioutil.WriteFile("data.go", fmted, 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 #68887113cbe925df Filesystem access.
pkgs/go/[email protected]/font/gofont/gen.go:34
	ttfs, err := os.Open("ttfs")

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

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

low env_fs dependency Excluded from app score #03471fe7123cb2a9 Filesystem access.
pkgs/go/[email protected]/font/gofont/gen.go:59
	src, err := ioutil.ReadFile(filepath.Join("ttfs", ttfName))

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

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

low env_fs dependency Excluded from app score #4e96a4ece43bb96c Filesystem access.
pkgs/go/[email protected]/font/gofont/gen.go:90
	if err := ioutil.WriteFile(filepath.Join(pkgName, "data.go"), dst, 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 #2908172274697c47 Filesystem access.
pkgs/go/[email protected]/font/sfnt/gen.go:55
	if err := ioutil.WriteFile("data.go", dst, 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 #9acb10376aaf0b54 Filesystem access.
pkgs/go/[email protected]/vector/gen.go:29
	tmpl, err := ioutil.ReadFile("gen_acc_amd64.s.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 #31148c1501ffc921 Filesystem access.
pkgs/go/[email protected]/vector/gen.go:66
	if err := ioutil.WriteFile("acc_amd64.s", out.Bytes(), 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.

golang.org/x/mod

go dependency
expand_more 11 low-confidence finding(s)
low env_fs dependency Excluded from app score #fe72e557f97cc3d7 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 #de15d1aed96bd23b 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 #e5e217520d6f1a9d 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 #c9e7e0c02bdb7289 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 #dd91b83f128f7393 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 #cdbf62b02d1827b9 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 #003f3ca178ba2bcb 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 #917522148c53ae06 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 #bda050a18e1fb1eb 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 #e5b1f9498cc865e3 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 #a783edd8bdbebe5d 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/sys

go dependency
expand_more 59 low-confidence finding(s)
low env_fs dependency Excluded from app score #3f2a45a0c7df1f9c Environment-variable access.
pkgs/go/[email protected]/cpu/cpu.go:271
	env := 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 #21a57e32da1f3bcb Filesystem access.
pkgs/go/[email protected]/cpu/hwcap_linux.go:42
	buf, err := os.ReadFile(procAuxv)

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

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

low env_fs dependency Excluded from app score #3ac64c75264fcffa Filesystem access.
pkgs/go/[email protected]/cpu/proc_cpuinfo_linux.go:17
	f, err := os.Open("/proc/cpuinfo")

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

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

low env_fs dependency Excluded from app score #72fa990fc073e7a4 Environment-variable access.
pkgs/go/[email protected]/plan9/mksyscall.go:90
	goos := os.Getenv("GOOS")

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

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

low env_fs dependency Excluded from app score #81fe0e218dd714d6 Environment-variable access.
pkgs/go/[email protected]/plan9/mksyscall.go:91
	goarch := os.Getenv("GOARCH_TARGET")

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

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

low env_fs dependency Excluded from app score #b70e27cdb955e5af Environment-variable access.
pkgs/go/[email protected]/plan9/mksyscall.go:93
		goarch = os.Getenv("GOARCH")

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

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

low env_fs dependency Excluded from app score #24475529548b9150 Environment-variable access.
pkgs/go/[email protected]/plan9/mksyscall.go:98
		if os.Getenv("GOLANG_SYS_BUILD") != "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 #85cd2c0a91e507e4 Filesystem access.
pkgs/go/[email protected]/plan9/mksyscall.go:127
		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 #be2af0c60c308f2c Filesystem access.
pkgs/go/[email protected]/unix/internal/mkmerge/mkmerge.go:443
		src, 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 #81eb980c48305db4 Filesystem access.
pkgs/go/[email protected]/unix/internal/mkmerge/mkmerge.go:467
	f, err := os.Create(mergedFile)

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

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

low env_fs dependency Excluded from app score #14919fb532c8b23d Filesystem access.
pkgs/go/[email protected]/unix/internal/mkmerge/mkmerge.go:494
		err = os.WriteFile(inFile.name, 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.

low env_fs dependency Excluded from app score #2e64f521ea93e8e4 Environment-variable access.
pkgs/go/[email protected]/unix/linux/mkall.go:182
	if os.Getenv("GOLANG_SYS_BUILD") != "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 #27dbe73d869a834b Filesystem access.
pkgs/go/[email protected]/unix/linux/mkall.go:317
	if fmtCmd.Stdout, err = os.Create(outputFile); err != nil {

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

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

low env_fs dependency Excluded from app score #b32918f523dda7dd Environment-variable access.
pkgs/go/[email protected]/unix/linux/mkall.go:337
	t.env = append(os.Environ(), fmt.Sprintf("%s=%s", "GOOS", GOOS))

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

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

low env_fs dependency Excluded from app score #19026865f3d594af Filesystem access.
pkgs/go/[email protected]/unix/linux/mkall.go:447
	if file, err := os.Create(stubsFile); err != nil {

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

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

low env_fs dependency Excluded from app score #0264c281eeaac508 Filesystem access.
pkgs/go/[email protected]/unix/linux/mkall.go:482
	abiFile, err := os.Create(filepath.Join(abiDir, "abi.h"))

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

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

low env_fs dependency Excluded from app score #b757f22d348df872 Filesystem access.
pkgs/go/[email protected]/unix/linux/mkall.go:631
	f, err := os.Open(file)

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

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

low env_fs dependency Excluded from app score #7489caeedcf701b8 Filesystem access.
pkgs/go/[email protected]/unix/linux/mkall.go:756
	f, err := os.Create(fmt.Sprintf("zptrace_%s_linux.go", archName))

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

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

low env_fs dependency Excluded from app score #a749d8ade8e74e6b Filesystem access.
pkgs/go/[email protected]/unix/linux/mkall.go:784
	f, err := os.Create(fmt.Sprintf("zptrace_linux_%s.go", arch))

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

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

low env_fs dependency Excluded from app score #941cc82e0f6c152b Filesystem access.
pkgs/go/[email protected]/unix/linux/mkall.go:819
	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 #cd9d2b045802f4ba Environment-variable access.
pkgs/go/[email protected]/unix/linux/mksysnum.go:100
	goos = os.Getenv("GOOS")

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

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

low env_fs dependency Excluded from app score #89da892844d96132 Environment-variable access.
pkgs/go/[email protected]/unix/linux/mksysnum.go:101
	goarch = os.Getenv("GOARCH_TARGET")

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

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

low env_fs dependency Excluded from app score #504a384ff5f05e53 Environment-variable access.
pkgs/go/[email protected]/unix/linux/mksysnum.go:103
		goarch = os.Getenv("GOARCH")

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

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

low env_fs dependency Excluded from app score #6ff73a4df85d01a1 Environment-variable access.
pkgs/go/[email protected]/unix/linux/mksysnum.go:111
	if os.Getenv("GOLANG_SYS_BUILD") != "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 #817f0af4aba7c846 Environment-variable access.
pkgs/go/[email protected]/unix/linux/mksysnum.go:117
	cc := os.Getenv("CC")

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

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

low env_fs dependency Excluded from app score #dd2547c3eaba3feb Filesystem access.
pkgs/go/[email protected]/unix/mkasm.go:36
		in, err := os.ReadFile(inFileName)

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

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

low env_fs dependency Excluded from app score #3a408bd72ad97f54 Filesystem access.
pkgs/go/[email protected]/unix/mkasm.go:73
	if err := os.WriteFile(outFileName, out.Bytes(), 0644); err != nil {

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

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

low env_fs dependency Excluded from app score #21f6db5ab66b38f6 Filesystem access.
pkgs/go/[email protected]/unix/mkasm.go:110
	if err := os.WriteFile(fileName, out.Bytes(), 0644); err != nil {

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

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

low env_fs dependency Excluded from app score #ad46553d588cecfb Environment-variable access.
pkgs/go/[email protected]/unix/mkpost.go:26
	goos := os.Getenv("GOOS_TARGET")

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

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

low env_fs dependency Excluded from app score #af7fe4efdca19185 Environment-variable access.
pkgs/go/[email protected]/unix/mkpost.go:28
		goos = os.Getenv("GOOS")

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

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

low env_fs dependency Excluded from app score #d3d5390a96fdfb4e Environment-variable access.
pkgs/go/[email protected]/unix/mkpost.go:30
	goarch := os.Getenv("GOARCH_TARGET")

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

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

low env_fs dependency Excluded from app score #ba11e82b5c014585 Environment-variable access.
pkgs/go/[email protected]/unix/mkpost.go:32
		goarch = os.Getenv("GOARCH")

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

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

low env_fs dependency Excluded from app score #b3f29c8731a4bafa Environment-variable access.
pkgs/go/[email protected]/unix/mkpost.go:36
		if os.Getenv("GOLANG_SYS_BUILD") != "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 #d28774d87760f3a1 Environment-variable access.
pkgs/go/[email protected]/unix/mksyscall.go:104
	goos := os.Getenv("GOOS_TARGET")

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

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

low env_fs dependency Excluded from app score #50a04bd1fffd1a44 Environment-variable access.
pkgs/go/[email protected]/unix/mksyscall.go:106
		goos = os.Getenv("GOOS")

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

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

low env_fs dependency Excluded from app score #55d734c86a48d0d3 Environment-variable access.
pkgs/go/[email protected]/unix/mksyscall.go:115
		if os.Getenv("GOLANG_SYS_BUILD") != "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 #35cccde162107265 Filesystem access.
pkgs/go/[email protected]/unix/mksyscall.go:145
		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 #9dea5fd3ad00588f Filesystem access.
pkgs/go/[email protected]/unix/mksyscall_aix_ppc.go:100
		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 #87e285ab7c21b463 Filesystem access.
pkgs/go/[email protected]/unix/mksyscall_aix_ppc64.go:148
		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 #3f06d03fc75e6ddf Filesystem access.
pkgs/go/[email protected]/unix/mksyscall_aix_ppc64.go:521
	err := os.WriteFile("zsyscall_aix_ppc64.go",
		[]byte(fmt.Sprintf(srcTemplate1, cmdLine(), goBuildTags(), pack, imp, textcommon)),
		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 #803a566cc25169ce Filesystem access.
pkgs/go/[email protected]/unix/mksyscall_aix_ppc64.go:532
	err = os.WriteFile("zsyscall_aix_ppc64_gc.go",
		[]byte(fmt.Sprintf(srcTemplate2, cmdLine(), goBuildTags(), pack, imp, dynimports, linknames, vardecls, textgc)),
		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 #2d0cc21e02083486 Filesystem access.
pkgs/go/[email protected]/unix/mksyscall_aix_ppc64.go:541
	err = os.WriteFile("zsyscall_aix_ppc64_gccgo.go",
		[]byte(fmt.Sprintf(srcTemplate3, cmdLine(), goBuildTags(), pack, cExtern, imp, textgccgo)),
		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 #a4feb8131c3bd3fc Filesystem access.
pkgs/go/[email protected]/unix/mksyscall_solaris.go:103
		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 #967e6ec147ab9d22 Filesystem access.
pkgs/go/[email protected]/unix/mksyscall_zos_s390x.go:208
	f, err := os.Open(*inputgo)

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

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

low env_fs dependency Excluded from app score #97a650b47eff61da Filesystem access.
pkgs/go/[email protected]/unix/mksyscall_zos_s390x.go:216
	fasm, asmerr := os.Create(*outasm)

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

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

low env_fs dependency Excluded from app score #6c5451fd3ec75910 Filesystem access.
pkgs/go/[email protected]/unix/mksyscall_zos_s390x.go:230
	fgo, goerr := os.Create(*outputgo)

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

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

low env_fs dependency Excluded from app score #c80fd8103745757c Filesystem access.
pkgs/go/[email protected]/unix/mksyscall_zos_s390x.go:272
	f, err := os.Create(file)

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

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

low env_fs dependency Excluded from app score #22cc53f777b8924d Environment-variable access.
pkgs/go/[email protected]/unix/mksysctl_openbsd.go:122
	goos = os.Getenv("GOOS_TARGET")

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

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

low env_fs dependency Excluded from app score #cd1ccd75c1191ec4 Environment-variable access.
pkgs/go/[email protected]/unix/mksysctl_openbsd.go:124
		goos = os.Getenv("GOOS")

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

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

low env_fs dependency Excluded from app score #575469e0380d3afe Environment-variable access.
pkgs/go/[email protected]/unix/mksysctl_openbsd.go:127
	goarch = os.Getenv("GOARCH_TARGET")

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

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

low env_fs dependency Excluded from app score #973386ebed70ab70 Environment-variable access.
pkgs/go/[email protected]/unix/mksysctl_openbsd.go:129
		goarch = os.Getenv("GOARCH")

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

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

low env_fs dependency Excluded from app score #adee13ada1b13126 Filesystem access.
pkgs/go/[email protected]/unix/mksysctl_openbsd.go:259
		file, err := os.Open(filepath.Join("/usr/include", 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 #d3a5ec10da3ecc94 Filesystem access.
pkgs/go/[email protected]/unix/mksysnum.go:70
	file, err := os.Open(os.Args[1])

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

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

low env_fs dependency Excluded from app score #95325d37ae4dc768 Environment-variable access.
pkgs/go/[email protected]/unix/mksysnum.go:90
	goos = os.Getenv("GOOS_TARGET")

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

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

low env_fs dependency Excluded from app score #6d85f56043142b70 Environment-variable access.
pkgs/go/[email protected]/unix/mksysnum.go:92
		goos = os.Getenv("GOOS")

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

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

low env_fs dependency Excluded from app score #980c4f033dd30a0e Environment-variable access.
pkgs/go/[email protected]/unix/mksysnum.go:95
	goarch = os.Getenv("GOARCH_TARGET")

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

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

low env_fs dependency Excluded from app score #1949499d408503c9 Environment-variable access.
pkgs/go/[email protected]/unix/mksysnum.go:97
		goarch = os.Getenv("GOARCH")

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

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

low env_fs dependency Excluded from app score #357711f7a62cb082 Filesystem access.
pkgs/go/[email protected]/windows/mkwinsyscall/mkwinsyscall.go:710
	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 #e2eead91394bf042 Filesystem access.
pkgs/go/[email protected]/windows/mkwinsyscall/mkwinsyscall.go:894
		err = os.WriteFile(*filename, data, 0644)

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

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

golang.org/x/text

go dependency
expand_more 31 low-confidence finding(s)
low env_fs dependency Excluded from app score #e8bd669ebbdb27e8 Filesystem access.
pkgs/go/[email protected]/cmd/gotext/main.go:328
			if err := os.WriteFile("doc.go", b, 0666); err != nil {

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

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

low env_fs tooling Excluded from app score unknown #3bc5e968a3e4edbf Filesystem access.
pkgs/go/[email protected]/collate/tools/colcmp/colcmp.go:122
		f, err := os.Create(*cpuprofile)

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

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

low env_fs dependency Excluded from app score #a0868399e384d81c Filesystem access.
pkgs/go/[email protected]/encoding/internal/enctest/enctest.go:160
	dst, err := os.ReadFile(dstFile)

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

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

low env_fs dependency Excluded from app score #539385e038e25e2e Filesystem access.
pkgs/go/[email protected]/encoding/internal/enctest/enctest.go:162
		if dst, err = os.ReadFile("../" + dstFile); err != nil {

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

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

low env_fs dependency Excluded from app score #d71e3c68507e1b49 Filesystem access.
pkgs/go/[email protected]/encoding/internal/enctest/enctest.go:166
	src, err := os.ReadFile(srcFile)

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

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

low env_fs dependency Excluded from app score #56d20f68a7dd4c15 Filesystem access.
pkgs/go/[email protected]/encoding/internal/enctest/enctest.go:168
		if src, err = os.ReadFile("../" + srcFile); err != nil {

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

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

low egress dependency Excluded from app score #c7e5d2d0de705a88 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/encoding/korean/maketables.go:26
	res, err := http.Get("http://encoding.spec.whatwg.org/index-euc-kr.txt")

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

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

low egress dependency Excluded from app score #d754c043812393e4 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/encoding/simplifiedchinese/maketables.go:31
	res, err := http.Get("http://encoding.spec.whatwg.org/index-gb18030.txt")

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

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

low egress dependency Excluded from app score #df8e57059c3f9bb9 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/encoding/simplifiedchinese/maketables.go:57
	res, err := http.Get("http://encoding.spec.whatwg.org/index-gbk.txt")

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

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

low egress dependency Excluded from app score #19e846cf79acdc47 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/encoding/traditionalchinese/maketables.go:26
	res, err := http.Get("http://encoding.spec.whatwg.org/index-big5.txt")

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

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

low env_fs dependency Excluded from app score #beff7c2ad2712fc3 Environment-variable access.
pkgs/go/[email protected]/gen.go:81
		goroot := os.Getenv("GOROOT")

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

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

low env_fs dependency Excluded from app score #21fff82b223de290 Filesystem access.
pkgs/go/[email protected]/gen.go:150
	w, err := os.OpenFile(file, os.O_APPEND|os.O_WRONLY, 0600)

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

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

low env_fs dependency Excluded from app score #ce5637bd9a2f20f8 Filesystem access.
pkgs/go/[email protected]/gen.go:257
		b, err := os.ReadFile(file)

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

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

low env_fs dependency Excluded from app score #c493c22e6c205d9e Filesystem access.
pkgs/go/[email protected]/gen.go:276
		return os.WriteFile(file, b, 0666)

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

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

low env_fs dependency Excluded from app score #c4b8dec30429c3b3 Environment-variable access.
pkgs/go/[email protected]/internal/export/unicode/gen.go:45
	if v := os.Getenv("UNICODE_VERSION"); v != "" {

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

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

low env_fs dependency Excluded from app score #9dc54f7003570fbe Filesystem access.
pkgs/go/[email protected]/internal/gen/code.go:53
	f, err := os.Create(filename)

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

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

low env_fs dependency Excluded from app score #f0e120b1735348a3 Filesystem access.
pkgs/go/[email protected]/internal/gen/code.go:73
	f, err := os.Create(filename)

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

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

low env_fs dependency Excluded from app score #79932a6fa1337c93 Environment-variable access.
pkgs/go/[email protected]/internal/gen/gen.go:57
	if v := os.Getenv(name); v != "" {

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

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

low env_fs dependency Excluded from app score #4aaef6c18f6d2ab3 Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:178
		os.WriteFile(readme, []byte(readmeTxt), permissions)

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

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

low env_fs dependency Excluded from app score #f2a9ecc1dd6b7652 Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:211
	if f, err := os.Open(file); err == nil {

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

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

low env_fs dependency Excluded from app score #28692c1e11889419 Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:221
	if err := os.WriteFile(file, b, permissions); err != nil {

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

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

low env_fs dependency Excluded from app score #8e3670f7f5e57fe5 Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:261
	w, err := os.Create(filename)

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

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

low env_fs dependency Excluded from app score #4b7f23ed68ae8676 Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:288
		b, err := os.ReadFile(oldFile)

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

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

low env_fs dependency Excluded from app score #c72df61cbc16b506 Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:293
		err = os.WriteFile(oldFile, b, 0644)

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

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

low env_fs dependency Excluded from app score #48dca8f2a0303a21 Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:309
	w, err := os.Create(filename)

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

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

low env_fs dependency Excluded from app score #7b0ccb7963131c7f Filesystem access.
pkgs/go/[email protected]/internal/gen/gen.go:342
	src, err := os.ReadFile(inFile)

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

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

low env_fs dependency Excluded from app score #de22070ef0a24134 Filesystem access.
pkgs/go/[email protected]/internal/testtext/codesize.go:34
	if err := os.WriteFile(filename, []byte(s), 0644); err != nil {

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

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

low env_fs dependency Excluded from app score #fd1502c790001956 Filesystem access.
pkgs/go/[email protected]/message/pipeline/pipeline.go:231
		b, err := ioutil.ReadFile(file)

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

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

low env_fs dependency Excluded from app score #6f66bd6de00a2911 Filesystem access.
pkgs/go/[email protected]/message/pipeline/pipeline.go:362
		if err := ioutil.WriteFile(file, data, 0644); err != nil {

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

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

low env_fs dependency Excluded from app score #927ac25fc6325a45 Filesystem access.
pkgs/go/[email protected]/message/pipeline/rewrite.go:53
				if w, err = os.Create(conf.Fset.File(f.Pos()).Name()); err != nil {

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

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

low env_fs dependency Excluded from app score #8e075f67bee5a371 Filesystem access.
pkgs/go/[email protected]/unicode/cldr/decode.go:132
	return os.Open(pl[i])

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

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

gonum.org/v1/gonum

go dependency
expand_more 13 low-confidence finding(s)
low env_fs dependency Excluded from app score #97e93a27930ca68e Environment-variable access.
pkgs/go/[email protected]/blas/testblas/benchautogen/autogen_bench_level1double.go:176
	gopath = os.Getenv("GOPATH")

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

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

low env_fs dependency Excluded from app score #91e2a468cace72f1 Filesystem access.
pkgs/go/[email protected]/blas/testblas/benchautogen/autogen_bench_level1double.go:216
	f.file, f.err = os.Create(level1Filepath)

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

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

low env_fs dependency Excluded from app score #8e6f7f39c22c8b53 Filesystem access.
pkgs/go/[email protected]/dsp/window/cmd/leakage/leakage.go:198
		f, err := os.Open(*csv)

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

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

low env_fs dependency Excluded from app score #e93d6552f0d5c3ad Filesystem access.
pkgs/go/[email protected]/graph/formats/dot/dot.go:27
	buf, err := os.ReadFile(path)

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

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

low env_fs dependency Excluded from app score #77a7acc1cf7fd47d Filesystem access.
pkgs/go/[email protected]/graph/formats/dot/internal/lexer/lexer.go:58
	src, err := 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 #0ee5080b51aebdaa Filesystem access.
pkgs/go/[email protected]/graph/formats/dot/internal/paste_copyright.go:45
		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 #5bce1840da3db344 Filesystem access.
pkgs/go/[email protected]/graph/formats/dot/internal/paste_copyright.go:51
		return os.WriteFile(path, content, info.Mode())

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

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

low env_fs dependency Excluded from app score #38d0b2fcccd71595 Filesystem access.
pkgs/go/[email protected]/unit/constant/generate_constants.go:240
	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 #53620e51aec9a3ed Filesystem access.
pkgs/go/[email protected]/unit/constant/generate_constants.go:313
	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 #bd4a14a896a57b11 Filesystem access.
pkgs/go/[email protected]/unit/constant/generate_defined_types.go:67
		b, err := os.ReadFile(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 #d6e65a8c11405840 Filesystem access.
pkgs/go/[email protected]/unit/constant/generate_defined_types.go:92
	f, err := os.Create("defined_types.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 #01621d8a22e2085a Filesystem access.
pkgs/go/[email protected]/unit/generate_unit.go:546
	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 #4c121b4a6cc87da8 Filesystem access.
pkgs/go/[email protected]/unit/generate_unit.go:647
	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.

Skipped dependencies

Production

  • github.com/klauspost/compress prod — module zip exceeds byte cap