Close Open Privacy Scan

bolt Snapshot: commit 82f905c
science engine v3
schedule 2026-07-10T09:07:38.409982+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: api.github.comencoding.spec.whatwg.orgunicode.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 #34797a7b260e6dda 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-dkpofdyx/repo/discover/llama_server.go:67 → /tmp/closeopen-dkpofdyx/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 #73ec7278328798fc 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-dkpofdyx/repo/discover/llama_server.go:67 → /tmp/closeopen-dkpofdyx/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 #3d90ac7d70fbbed1 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-dkpofdyx/repo/discover/llama_server.go:67 → /tmp/closeopen-dkpofdyx/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 #97c2dab681ba6347 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-dkpofdyx/repo/discover/llama_server.go:67 → /tmp/closeopen-dkpofdyx/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 #50f8f155f9580b33 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-dkpofdyx/repo/discover/llama_server.go:67 → /tmp/closeopen-dkpofdyx/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 #6e80f3d229544a17 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-dkpofdyx/repo/x/imagegen/server.go:117 → /tmp/closeopen-dkpofdyx/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 #3095ec13c95855a9 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 #ddcd43f361da7fd4 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 production #2647bd87637d80fe 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 #8cf9d7bef06a1820 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 #1255a56ec94c0237 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 #819e90fe5967d53c 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 #d9701e17d564ae50 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 #d5af3f3c74d3fd70 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 #837dc043bc0e96ac 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 #223bca0dca4ee4bf 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 #0da2df709a5f51e1 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 #8f877feeb87ccd58 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 #d4333556117611b4 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 #58a91df53f9a779f 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 #d6cfc00d4976f2dc 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 #47b2dc196b2fcc13 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 #09513a04c3ae3870 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 #df45d2408a223c56 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 #070f507c648c3107 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 #825b3d43eda52fc4 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 #aa4c0ad7e1e90b14 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 #693764f7e1baf401 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 #fa483f9736f42af5 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 #dbd3d214198d3fdf 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 #2d0de20d2c11790d 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 #2991132998ab3415 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 #bfd476956c41fb5b 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 #c0023e08b76c6c65 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 #b3dbe00e058ca6f3 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 #54f15796c7912e49 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 #c28c130096d600a5 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 #69ac584612f089c1 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 #217162bf2e2eceeb 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 #799a0c035ad7f58b 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 #8d0d98b430178d59 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 #0601fd51c5e5d9ed 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 #aab4eba24cc04e6e 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 #ec26afc30fbefd3f 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 #d3acb1f85129e626 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 #712e1787eddbab66 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 #ba5c377e3e580cff 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 #4a39ba608ed4440b 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 #e0188079c0f81872 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 #1f32addd21df3e33 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 #2973e54d3b9dfe04 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 #10865dfab1675891 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 #0b5b6b55ac5f8faa 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 #60a424269f5ea6c2 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 #65459ed63f60a71b 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 #1b1182b0f83d2026 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 #24081acd3110ef0c Filesystem access.
repo/cmd/cmd.go:250
			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 #0036353932bdfa92 Filesystem access.
repo/cmd/cmd.go:301
		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 #82f4953ed891dc5e Filesystem access.
repo/cmd/cmd.go:493
	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 #352e28be46e758c4 Environment-variable access.
repo/cmd/cmd.go:716
		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 #1ee959659fa405ae Filesystem access.
repo/cmd/cmd.go:2029
		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 #409a6da0749c2134 Filesystem access.
repo/cmd/cmd.go:2040
		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 #e949105bf51e5a80 Environment-variable access.
repo/cmd/cmd.go:2119
	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 #a07dc389d5d5bbab 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 #702b442d954e77af 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 #327f134ec6c088c9 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 #2c2e4fd4466d6ab4 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 #1bde5479690f6227 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 #fbab04e04df8704e 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 #ed1bfcd4487fb7f1 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 #a8e0c9253914492a 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 #a4a82eba6b4319df 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 #ceea1db493d49e7b 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 #05cfc8710633ac29 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 #f87e6656e3aa54df 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 #e68ea1ecaac675af 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 #b93dc1fb5b145a48 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 #75c259c716f645c4 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 #37947ce1e0138e03 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 #e104f97f7f65f903 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 #457ada4d96232d52 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 #a859fba075648fe6 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 #c652daeb1bbe7abf 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 #b729f1599011bd1d 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 #e5cb695e6a039997 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 #4f0e8178d3db6396 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 #a0ccf7122bbe9cde 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 #5682f2cb4114a756 Filesystem access.
repo/cmd/launch/codex_app.go:96
	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 #37f6a7cf3be3fa18 Filesystem access.
repo/cmd/launch/codex_app.go:166
	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 #0d6d3ed566c79aa6 Filesystem access.
repo/cmd/launch/codex_app.go:192
	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 #c00b79651f828926 Filesystem access.
repo/cmd/launch/codex_app.go:216
	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 #c416a637af03a32c Filesystem access.
repo/cmd/launch/codex_app.go:315
	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 #3e593830fbdb7053 Filesystem access.
repo/cmd/launch/codex_app.go:542
		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 #0e1933f485cccba2 Environment-variable access.
repo/cmd/launch/codex_app.go:641
	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 #8ef9ffefa4a39fb5 Environment-variable access.
repo/cmd/launch/codex_app.go:644
	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 #90956400aca7dcb3 Environment-variable access.
repo/cmd/launch/codex_app.go:739
		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 #311e5567231ae7d5 Filesystem access.
repo/cmd/launch/codex_app.go:1076
	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 #24885e4d53f0a90e Filesystem access.
repo/cmd/launch/codex_app.go:1091
	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 #7cff02aca628d424 Filesystem access.
repo/cmd/launch/codex_app.go:1179
	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 #ad06f5febe29e674 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 #228c8863bb3e3e9f 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 #6c6c51a5bd0b4f68 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 #3ceb79548ab461d0 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 #ec277b4257d6591a 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 #2ba5b32b7452fdff 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 #caae0dcc7f71ef00 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 #222dda26efdbc82f 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 #e6c2b7bf2309c971 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 #3bdd2e69f0262082 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 #8c4c641e1139603d 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 #1e1e4a93cbe5d25b 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 #e48a13e3d2bcdb7f 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 #f664637341054f64 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 #bbf99db5d717d9b7 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 #f7f8dcdf6bfded40 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 #091617aed2529623 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 #8fe2ac255eef7fe8 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 #c6de93f59b6192a9 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 #4d24b8fa1ccfc4bb 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 #80afc1b37c4b1486 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 #26cebc46b14077f8 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 #6bcaee107b99d318 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 #d4c7b166acce1af1 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 #436c241fc9b82654 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 #22f4fb36e8b00bb9 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 #e9b4432f19a6b5c8 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 #866b6287854167b2 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 #62f74a68b1933ca2 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 #edeff8cf95c6e52f 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 #b60659ff3bab1d63 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 #31543b81960991cb 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 #9fbcd13fd8d3cfd3 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 #bf01e7c04f0655e1 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 #884f3a456624b0c3 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 #6e153fbb6faccba2 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 #b1deac0c99d889ee 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 #123a9b22eba79efb 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 #e7323347e4f1e363 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 #0d019b8599677105 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 #dae9e33db875a7c3 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 #7f4b920a15c79291 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 #17aed8d6489eedc5 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 #31fbd8a1a32330d6 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 #1395cd75c0cd9537 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 #8acec0a3a690d0c1 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 #d13d653d0c4ed001 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 #302097d788d4d9d1 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 #06ac074515b6096c 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 #c989bdd33c685eea 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 #4a949692ebc78928 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 #658885754b65fad8 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 #a3e103cbe5142bc9 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 #2c430e1a2586d468 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 #c7f6f6831c149283 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 #c519f494e3b84449 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 #d301ad1246b142af 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 #5dd7c08d25398282 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 #feb5a0603f8d2530 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 #2ebbb1fa80f8266f 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 #144070f4264bc0fb 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 #cf32782a51566f32 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 #27ca5d81798d53c1 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 #bf14eb951386f3d1 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 #aca85d78131c07d9 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 #bf6b3407943eb89b 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 #6700ddd2bd17b6dc 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 #e84ced5e8f815d87 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 #645793be1b50b765 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 #b60c5eb680b71fd9 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 #f42cd9dc21bd494d 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 #6b3099a48c1c6cb9 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 #6d10c79d7836e245 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 #e184831de2830f5d 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 #4f19b81d19138b02 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 #47d524f94592b30e 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 #6ed90fea72d4aa3e 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 #6c97fb5dcac71233 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 #b4eaa41f321635b1 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 #b5a27414e6e57bdd 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 #ee89dac297a4dfe1 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 #7bea7ddec81df11e 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 #dec2064fdbe53d18 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 #812c0ad16b497582 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 #29d74df66beb2f48 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 #cbb6dbda7e87ba52 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 #28398c714e844abf 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 #0055abb80ab6a391 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 #c3d760c2a54bb58d 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 #9e97728d90a0acd8 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 #acfdc06b0838d7cc 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 #e66e2ce92bbce378 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 #55bc9bedae4e05ed 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 #52b8d088fc186339 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 #f2049edcbff3a497 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 #4427bdb95e79336e 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 #2c0a5a1c6f77faff 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 #7439fda7d58d469b 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 #806b99bb280d9944 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 #9c9f249a0cdbbfb2 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 #ddd5985400cc0141 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 #6309113f9c0c7f4e 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 #22b9bdee28cff8ec 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 #29d36a29e8c0afbf 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 #0ea482111f26822e 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 #1b83fb3f2618bc7c 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 #d655207cf165e48e 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 #90dba6b16655e22c 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 #295c8c4143c837d4 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 #dfe5771098cc6221 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 #aaa3b516b2ae23a2 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 #aef51c1ccdb5088e 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 #8343267a62140ad5 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 #b7868d46a0245e66 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 #62ba1a9a81e55053 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 #e2d6b00790fbd1e6 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 #af45d4580b67e34b 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 #3662b7a96884e248 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 #b30cc60562937dd7 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 #ba06492aec1d7d18 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 #21523b58af001b46 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 #acaa900e6557791e 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 #2cee71e0930db5ba 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 #29e5621c46987ef8 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 #89602da5d698c90a 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 #bbe9a786f34e289f 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 #2cb9b292e9e8a857 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 #47060b26d68427fa 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 #823081ca787facbb 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 #91978dad629c090e 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 #f854eac545593e20 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 #1eb31e52fd19d1e8 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 #41721bc69d66815a 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 #dc4812cc167c2973 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 #45ae24d21fcd8514 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 #b5d0d794f1d8091d 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 #0a5d94366142b3c5 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 #02527cf9e61a3a01 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 #244c49a4bab1fbb1 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 #233e9416ac7981a5 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 #b325a14ad30f7883 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 #f3428e52e70df653 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 #27ea9303be389932 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 #19caeec43a51793d 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 #6d9b60abf12ffef4 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 #7e9070f86787ef85 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 #ffd0a224c19e55b5 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 #f53f2342f9d70a0a 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 #2a145177c1da4642 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 #b812b068729dc123 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 #3c82167febcbb94f 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 #41b7efc7ff45c760 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 #16bc05ea9cd31e8b 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 #ecc00f3905567c90 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 #067051f7e04e1bcf 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 #af54fe103d7d4132 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 #526d8061399035ac 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 #5b1d5a6f850a2318 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 #88fd3518b2569cdf 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 #b305370d96ce96fa 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 #2dd049e214208c61 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 #ea4813efddb1ce62 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 #efe51776f27be9d2 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 #631438b87e4c48b4 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 #d4f2a7796e5af952 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 #672231c74ef7bc3b 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 #4979a7890dc1edc2 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 #a359f14cf834ffce 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 #3db854c4c7e3574d 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 #767840e00b81cb22 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 #6ce367547639b63f 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 #cb17e95d12a4f362 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 #f90d2a69223cea31 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 #51c8505374f9d797 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 #4496c5ba1c1d4e43 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 #b808ac374fca1d02 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 #1af74403aa1307ae 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 #56c61057c5af03d6 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 #52449aa6d72197be 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 #6a54e38e59a6803d 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 #81dfe370141b8581 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 #cea8d105b9a67a8e 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 #96be66f6f1869e63 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 #b04f90c9fbd1cde1 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 #35eebfc2b2fde5b0 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 #31ec0cc4dca097b9 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 #fba3fc4225b4ac22 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 #1941d03b20d1aa77 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 #4e67a25ac2a6d26e 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 #73df24bb52b37256 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 #ef49b966ca95077c 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 #06f003c0ace89196 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 #44e8369af48f749a 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 #475d8d9bea01f973 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 #af3734bfb2900948 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 #59772924f2b07149 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 #097b31346589abd4 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 #d52886351301b891 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 #860bb4dbee1b046b 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 #eb03ffb8e6b71a6e 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 #d95e0548da72b88b 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 #b8b6a017340cc932 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 #e8c38091646db9a6 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-dkpofdyx/pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:285 → /tmp/closeopen-dkpofdyx/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 #66711a404c4728a6 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 #5ba58b69511f0b8c 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 #a80684aa641e64ca 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 #ced1c14c9a695a04 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 #cba17450d41cf5be 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 #9dc4d6285ba95d72 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 #7d1eeff6027c6283 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 #00e12bb2f9da2762 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 #95646b858372cfbc 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 #8e3c8234f96ccc2e 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 #82339783b8e4600d 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 #2255c240fc905618 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 #0c64569922ce5d14 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 #c02b35c6a8df50d8 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 #a960a3ccffa7b53d 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 #cd38a600c601ff3c 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 #270244b320657c43 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 #4618bd6600ca1d14 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 #1d6332955dba0b9e 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 #9b37fbf1ba149b3f 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 #f0b25605e12d3213 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 #6c7f32a8ca75b583 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 #b7b138976a3cbb51 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 #50045f2a2e760a43 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 #e0f681cfee04e5c4 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 #726300ebc2c6747b 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 #698d30a53a18b462 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 #c184f88912577505 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 #3b7d6b25f78318cb 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 #ede1b9303bcb6f72 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 #75f40bfe05b0c080 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 #9e1f12ab26e57e6d 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 #f3a86a0017d3c6c1 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 #df844f2abef4d236 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 #7feb14b2710a121a 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 #01fbfefe63a8344e 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 #81b92b5ef43ecec6 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 #d0e8a08878e3ecf6 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 #cd45cbcf83861748 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 #f2f8664386492cf6 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 #712d61da4bacf58a 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 #9efb654e4f3cd1a0 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 #800276da622c68eb 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 #6d1a03ee44ef97f7 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 #1a3dca92b3498f0d 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 #432268c08e874f25 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 #935e355d0954ded2 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 #174ed60c8d4d4a56 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 #7afdf8d42243d861 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 #6dfeba122f45393d 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 #98bcbe08397f0387 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 #7f9cfceb21be6ded 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 #6ac9b044301715c2 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 #6cd3e22067ee99ea 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 #535a656f3ecd6989 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 #d4433588bb1d9057 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 #ef40c2350cefc7f5 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 #aa54d2e368660e6a 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 #c39bb3a6ee6af405 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 #61d24a94bd696a3b 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 #f33e710938d664eb 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 #60f1bcce1a88fe7b 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 #c2a01643b724372a 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 #5ef94bf50626974b 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 #4a75fb0974e9ef6c 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 #4db34c73166de51d 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 #5fd20166da40f6b9 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 #a227d5d9f46b0319 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 #a48ff8b308774b05 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 #d5cae6130e385bdb 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 #24146ca78f28b0ed 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 #a05b1c4b67672821 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 #0d0313f3eda58605 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 #4c02f18f0deb9d46 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 #0f316688503b71ae 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 #c4452084f989356c 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 #7afee49449054476 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 #2f3a9edce05be6f3 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 #e44227598ce49d4d 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 #b5d665cac121847e 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 #2090802a3d46193c 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 #b74056b91d24bcf0 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 #d60ee7876428127e 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 #440a6fea973f14df 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 #228def8d36ab395c 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 #6bc2071f6153a0ea 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 #c44fa93ea5eda26b 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 dependency Excluded from app score #d74bd84c5c4c8807 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 dependency Excluded from app score #f589a14613f23d7b 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 dependency Excluded from app score #7cbd5a732f49b034 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 dependency Excluded from app score #dfd0c90f8ad8fc85 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 #2979338332f06d51 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 #7b96e72c95e6ae9a 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 #a93b98d7eee31ce0 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 #ec85633541ba79f4 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 #c9b276d68bf4a294 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 #6c076cff4e7d60f9 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 #3b80157762c353be 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 #b5056590edad94b4 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 #6d248921ced49776 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 #f69cf3551fb70ee8 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 #588c2a691dce0ed3 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 #6e6d765b19710d7f 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 #60f94a4eb498e926 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 #c555621028f2054e 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 #126a1be14323a039 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 #db20b3feffd9da60 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 #832f4268ef2091bf 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 #b01686d5d7aa5d59 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 #03796cd6a4120516 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 #de82c1e53e99708d 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 #f9306c666b7902ea 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 #58e50eb5c1fef0c6 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 #e52f8e983a0932ba 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 #8622775064745ad5 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 #675899bfb627c803 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 #aabd68613ab746e1 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 #000f3ccff6614d04 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 #fa68d99ed186ae10 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 #c010cc94417d72e3 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 #12e203809ba6a816 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 #3ec04e7d0ea1af4f 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 #695242e62f0f5886 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 #431dfe6ee567a8d5 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 #b9020f9d831e646c 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 #0bc7eb27c75bfb99 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 #219ff6b55057fab8 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 #e6e7d9b280a22fbf 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 #b8ffc983672950ac 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 #4c200653fe9d1ffa 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 #1573aa520c81e97d 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 #7e4782556b536c86 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 #61a03342c23432bc 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 #4a27a0812a480310 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 #8ae582b31f52d606 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 #78fd32742f52cc59 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 #cf65e124df93d535 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 #47100445aa24c34b 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 #615e6e4285379c3a 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 #1aaa6394e6ddcee3 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 #c38335ed1f08eb7b 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 #66af1456633556c8 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 #b062a225f46353a5 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 #f0642ed7cfae9e71 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 #49f9a3e5f8d7d1ee 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 #32d44e49f51b0281 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 #8b8c29f352ff3e45 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 #59f5f00fd2073926 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 #fdc6cdcb84609e77 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 #b6283369e9a71b31 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 #75d054a6e955aaa2 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 #d61f41ff14a51b55 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 #5be667ad6bf1b199 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 #08b37deb68ee328f 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 #7a907e8d856f23af 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 #ade55c9b6d2e6011 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 #08b6df9b2f2fd40d 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 #58a93fcecae249f9 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 #8cd0630431c8bf29 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 #31c0878d7371439f 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 #3c2b6f28ac332e6c 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 #b47fe8db3b016d98 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 #e395c13a37221508 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 #7ad86882e31c53a2 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 #9bd432c1c6fb64ec 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 #1e6c82d3853b4eb2 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 #397d7d1a34d11f29 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 #50be012c9e237715 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 #9e579bd693595476 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 #2519d0eb71919059 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 #4cc422e152e90dab 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 #92051f719421e352 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 #745aea768f3269f5 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 #375af23ca0445e3c 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 #513041d504e8bf48 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 #6b4ad098493ed016 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 #e702a284012affe6 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 #3b60c09ce07ad9c7 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 #5bf12ac4af3f0fde 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 #2db6475504b90ab7 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 #3857f90693e332ec 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 #e88ab713b2cc9f52 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 #6621d9cf738e4ad6 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 #f17089beb862636e 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 #0c69cbb06bf7e7c2 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 #4ea3566830cfd972 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 #60ac0fcf648b69bf 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 #8ecce21ad1f6bb22 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 #b03b507931166d2d 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 #35e0e4a63fb4f232 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 #cc3c977389036e3b 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 #e2f30966790880b4 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 #2e22f7176e44c40c 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 #88662dc1b2f55fbe 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 #6bb3995b67a9ff92 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 #f741060d23ee1191 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 #b764243811efc5ab 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 #84911995de29fe29 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 #ad729b091902ce86 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 #358e28fb87cdb4e6 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 #640568dcefb95c19 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 #89d5614ea181af55 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 #8699e0349a12ae01 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 #cf735e843fad7e75 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 #68f174f6b811c578 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 #e48ae138baee0293 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 #b85d572f72c5e4fa 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 #1d0784401180c649 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 #270f6fb739414475 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 #e7ffb9dc1ffa37ab 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 #db29c6a13387f5eb 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 #70e77bd1f4893401 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 #b81d661d2edf6cb7 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