Close Open Privacy Scan

bolt Snapshot: commit 8a0016f
science engine v1.5
schedule 2026-07-15T09:10:13.910483+00:00

verified_user Possible application data leak

Potential data exfiltration identified in application code.

App Privacy Score

27 /100
High privacy risk — possible application leak

High risk · 515 finding(s)

Dependency score: 67 (Medium risk)

bar_chart Score Breakdown

pii_flow −60
egress −10
env_fs −3

list Scan Summary

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

swap_horiz Potential data exfiltration in application code

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

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

</> First-Party Code

first-party (go)

go first-party
medium pii_flow production #30880abd05f1f583 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-1h1ji4ab/repo/discover/llama_server.go:67 → /tmp/closeopen-1h1ji4ab/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 #6051f25d4661725e 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-1h1ji4ab/repo/discover/llama_server.go:67 → /tmp/closeopen-1h1ji4ab/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 #72de2eb2f1002acf 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-1h1ji4ab/repo/discover/llama_server.go:67 → /tmp/closeopen-1h1ji4ab/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 #dd96813f7dc40063 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-1h1ji4ab/repo/discover/llama_server.go:67 → /tmp/closeopen-1h1ji4ab/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 #796b7271f0a4cafd 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-1h1ji4ab/repo/discover/llama_server.go:67 → /tmp/closeopen-1h1ji4ab/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 #9379023af08dfdd7 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-1h1ji4ab/repo/x/imagegen/server.go:117 → /tmp/closeopen-1h1ji4ab/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 #6e7f1838bc32b64a 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 #c327919f03982d72 Filesystem access.
repo/agent/tools/file.go:246
		file, err := os.Open(cleaned)

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

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

low env_fs test-only #a520414a854591d4 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 #bb267bd376322956 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 #802e222cab770ed1 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 #f3048ebaf62db3a5 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 #bda88de7054aeb8a 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 #476dbc94610f66e9 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 #fc0fae73ba6f605f 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 #d4bee891880c7567 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 #1dd467e6960de1a3 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 #882697b419a0ecc1 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 #c7adfed4f8cfdfe6 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 #e6e110714ea32ab9 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 #0f4f4672c520d7c8 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 #b9c3ed916282df09 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 #19945770f2a52fec 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 #2e02b8407be779a7 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 #c07bb7fd768d5075 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 #ae1c7d2bf53d79d0 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 #ea02ad92ba7b369f 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 #1bcb2baa43730469 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 #28fd08337ff46f89 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 #dae58a1dbda8e536 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 #e61ec7d9c176aa62 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 #9ae27e5c6af55810 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 #c731e2857391be4a 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 #5f0a1851586a4c21 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 #492240440133ce8b 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 #b475338165999043 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 #4b876bafaf0d211f 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 #fd06bc56fc88e1bb 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 #bd71f523bf8902d1 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 #fda88912f194259a 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 #33cbacd434f1773d 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 #20e3a2bdd7d98ec7 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 #031ff5bb0e349bbb 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 #6ee156e87c2f88a0 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 #dfe82c92a859f7d8 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 #f1603b2c1831818e 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 #172a0fd4acb23f56 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 #8d4955960fcc5cff 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 #53e81f36903e9e5b 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 #701d1d9c63728d8a 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 #5c3a76b1f9ea0b42 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 #d289692d7cd6e0c2 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 #3cf434d99a9a7401 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 #19ef61609e32a878 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 #fc44710266700361 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 #c5e68d1b88ac8bb4 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 #ce252b5f2e6d70ab Filesystem access.
repo/cmd/cmd.go:252
			f, err := os.Open(filename)

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

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

low env_fs production #b4486b8476f9e444 Filesystem access.
repo/cmd/cmd.go:303
		f, err := os.Open(filename)

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

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

low env_fs production #260eedbf11256270 Filesystem access.
repo/cmd/cmd.go:495
	bin, err := os.Open(realPath)

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

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

low env_fs production #d2b419b1c0cf19f6 Environment-variable access.
repo/cmd/cmd.go:718
		WordWrap:    os.Getenv("TERM") == "xterm-256color",

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

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

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

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

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

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

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

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

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

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

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

low env_fs production #80f52a8b8aa4cb5b 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 #eaad5e6d120c8c21 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 #c16b483729d4c033 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 #f34922b7a01afd92 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 #fe47b2b2022a59cd 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 #8735e6aa54fe48b9 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 #719ebacaf7587c0f 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 #e56c46db9bbbf0ad 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 #d497a3ead1f8fd0d 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 #5b69eeb9138bd9f2 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 #48ea6762a2cbd7f8 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 #455e21c04999db4d 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 #0f5d434424314b49 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 #74c19472a6a3a256 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 #6ad47cc272821423 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 #669a64722022ec44 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 #84db85c32a6b9684 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 #92b2e7dbd8c26d89 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 #1a9dcc60ebe094e7 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 #3d1c2aa82a1b8e9f 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 #e24096fa0fbbdde5 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 #7cf43ae6091c0017 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 #2b6340006d352bf8 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 #2d0b55562fe2906a 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 #a1c917090cbc8bb2 Filesystem access.
repo/cmd/launch/codex_app.go:98
	data, err := os.ReadFile(configPath)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

low env_fs production #26e619b55b8f7d4c Environment-variable access.
repo/cmd/launch/codex_app.go:659
	if home := strings.TrimSpace(os.Getenv("USERPROFILE")); home != "" {

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

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

low env_fs production #fb790065e0f4bb21 Environment-variable access.
repo/cmd/launch/codex_app.go:810
		cmd.Env = append(os.Environ(), "OPENAI_API_KEY=ollama")

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

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

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

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

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

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

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

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

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

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

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

low env_fs production #ba146b212657724d 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 #487610131feb72ac 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 #1ceb8497b7d6df54 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 #418e8f836c2ca1c0 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 #4a6b8b34823efbaf 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 #024d5a6eca939b49 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 #3466b28e66311860 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 #063ec7b954c58807 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 #731846483d982d8e 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 #6c77221b226d3a7c 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 #d19b302ab41d0816 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 #6367b062176bdccd 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 #cb6036699b668935 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 #5944a4f7c4df891f 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 #a8c0d5f057c553c1 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 #bc8249615e3c1851 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 #7ed0e12bd0b79624 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 #843a0324fa558b52 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 #d60078960bf23b48 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 #6d67c2cdcc96ad6e 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 #8276599415bf5037 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 #a5326b90a854afd9 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 #e888261bcd939d56 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 #bd8a103be12f5435 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 #4bad521d845506c6 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 #34deaa2004fef9bf 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 #89bf72f55cc9045c 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 #22a5f962752b9170 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 #8cada1bf36ade521 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 #8c718a6b59e95d4e 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 #fae4e56a64cf7f43 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 #df87136efbd6f80d 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 #a1887a7622cd8dc9 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 #6f99934ff13f36a1 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 #e8f149eb32896898 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 #6f951394856e2fb4 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 #a11ff68d154173a3 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 #9f963ea07a730022 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 #3312c89280ee425e 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 #0b023d798a6a3311 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 #46ea9e5a4edae914 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 #7331058de3a2cffb 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 #4b9937224a4d8b4e 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 #8b4dadb0ba442dcc 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 #ebc6349cbe3cc653 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 #9e6d4e023b20bfad 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 #169271f4f2b839a0 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 #e0a02c0d035fa98e 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 #1a6ca962be286a68 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 #5f9a2e65afb4de17 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 #12431b9822daa4c7 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 #0dcc608c81d08aa6 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 #aa68cb2821317b4b 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 #f354b0486184c25a 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 #c231ebc201a7061e 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 #39845b5d426138f5 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 #883bb39dc85cadce 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 #4b2bf371c6e4767f 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 #1134356a4161df4e 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 #5bd0ff9e82cff2b4 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 #e271c2de65db5b0e 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 #8b6de99496c04268 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 #1dd2485a038bd02f 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 #035534731aaf8a46 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 #d4de3fa18d703e30 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 #8f5bc15d8abf0530 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 #b692e485da8c4c6b 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 #ae0385875cab4895 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 #341612bc37675188 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 #15f892e2433acee9 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 #96d28258361b5685 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 #175090954b1aa769 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 #cf1cf15619b6a9a1 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 #c9f08c0b160a5f37 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 #614e772362af4047 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 #ad415bf78546d322 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 #73e43d4aa93aaa36 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 #b5424f14046d5219 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 #b251da2eaf09e915 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 #4ca692da58b08a29 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 #1419797cd364ffcd 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 #11afec21ee4cca38 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 #3eeb8b7df3037648 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 #516f490e42b92d6d 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 #9e644b387cdbf381 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 #f382b97eb340a913 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 #427961bf633bfdf2 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 #cfba0e6b7874eabe 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 #9f45d6627341c2b5 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 #2a2bed78e0125812 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 #2901480cc4ab8b97 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 #8d913eef6d07625b 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 #61704b0021417a64 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 #8a07ea8266db2c03 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 #e77d551f42375591 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 #cb7c62d5b62bbcc8 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 #acf7309ac638cd67 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 #4cabff74893f8876 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 #e8da50da1088c89f 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 #a9b66f858f8a9818 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 #e93c24f5af677daa 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 #a03e4fded6690bff 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 #edbb963e7b08e620 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 #048331c021d59076 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 #26d7b49d6095d170 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 #db84d37d83c8c09d 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 #e49ab702d194b62a 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 #6cce4200177b6946 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 #adb5492fd78821e1 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 #01ed4a1743a1c167 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 #ca3aaf2a8dae48df 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 #7cca01cc1f385af3 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 #158d71df53b23caf 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 #4788c9db92eb4aaa 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 #dc76ce51d7323085 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 #83c6073b66510347 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 #6afc3699a8cb0aa3 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 #158df49b0e1deed5 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 #75cc26d90f66f046 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 #960bdb561e97153f 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 #4a4076701cd6fd59 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 #f5b43bdf46b28c1b 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 #de0c6eeb998d097d 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 #ea6f4bf48a9f06a7 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 #e6e05f267dd631c6 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 #2549b1112c0dc752 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 #a6bbdfc33a71f99c 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 #ef6bf6fb169acbde 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 #848c3fc1e4be01a8 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 #1cc626ddfc8695b4 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 #375812ae5499202b 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 #f2e9d8177bde61b4 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 #94c7c96f36e2ade9 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 #ee0e2eaf6baced94 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 #6b510ca083c3b580 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 #bd736be3a9ea6830 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 #9059f196057d9e4a 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 #f7d4cbc923fc7ed1 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 #d6328a361bf20208 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 #67f7e767747b244d 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 #bd48e9b05ed4bfc8 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 #a736ae4ab6d7c03d 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 #67d7104d20ab8d28 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 #4737a3a7557eb97b 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 #4245d80119f654d9 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 #299209f6b1d8e4f7 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 #7ae348a423e9e310 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 #f8011b6cd736a323 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 #3f8b52bf4f5239a9 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 #1c529857afb13414 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 #3e3af15fc1ec2d31 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 #919d8a6d156578d6 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 #7c0c2d37ec893958 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 #c6adc3ea0c3743d4 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 #e5fbebb61e4f16d7 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 #74454566d2865467 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 #ac794d40c046e472 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 #ccceecc9b6da3ef3 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 #205e96b86a0d7081 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 #c5a410bc75b3f7d0 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 #b87e660728a5ff4a 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 #e6604db94d7dbf2a 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 #e475cf21369cbd90 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 #e571f441190936c5 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 #38706d31ae5c6e47 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 #73935329bf4e57a5 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 #7d8ea4ff1cc926b6 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 #9e8cad29cbc92c17 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 #8857cbc30c236186 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 #b5756d6f827556fc 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 #e25076c2a501e9c2 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 #bc9d0a433ee4e779 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 #4f004c008618a49b 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 #f58308e6992d54c7 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 #b877ff783b9939b9 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 #5540de4d53f86416 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 #865f753a018e6b7d 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 #3b5da47d31581dae 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 #5c32c259aa1f4f6d 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 #67d45235809bc8a3 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 #4a00044dc352a6e6 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 #36f8b137a5c2c07a 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 #bfc4eec027398e39 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 #f639c37b887d491c 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 #42188baab0b41916 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 #2de1132398d7b3cc 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 #eb6ffd4e5b1fa657 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 #b7bd09c0d56bf125 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 #8bdda11b65ba3282 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 #f331c9e6715af926 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 #322e190deec2f12d 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 #03938d0163f9e7e0 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 #9770aa4b0281e4a0 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 #1ee734f70b094a5a 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 #a2666b029f78bee0 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 #dc761b8dbf9bddfa 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 #c6a673f317ea82be 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 #d4a0d7e9fecacacb 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 #cff66bd053487d68 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 #1c5d2590d8fe1ee9 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 #839759b014d72b0c 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 #b2800890ef640f7e 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 #0b0f59dbaef240b5 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-1h1ji4ab/pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:285 → /tmp/closeopen-1h1ji4ab/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 #86c14b416a252498 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 #0826a0034d27df8e 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 #5aa447a3e82644e6 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 #4ae6ff8fb32a917f 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 #56f81be8451c16fb 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 #5be7104fc1616876 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 #179fe387e5eafbd3 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 #53c0875ef21e1411 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 #00f4b663defb499b 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 #4b01a4f1381eac44 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 #fbe90a26f8226822 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 #5eef0d07d3c7792c 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 #05c626b512ac8894 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 #917606b652eab0de 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 #00f4dca8cefc0039 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 #9b981a48879736fa 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 #9cd34d4ccbedff7e 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 #b169c051fa5d50d2 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 #2b97e81e74a08ac2 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 #1d9966ba8a9e1a01 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 #55a0176580eadffd 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 #cf6061726959dc20 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 #8e4a665472398a31 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 #b59f83ace1322a9a 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 #11f5361160e13c6a 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 #514317691194facd 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 #13d91dda208d7ddc 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 #4963743fa792572c 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 #31b13c3cef7a670c 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 #348bdf1ddf1b0186 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 #637d932cf69c3c22 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 #e01115c8854a3d56 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 #3971b2307445dbbd 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 #0bf97610926f3791 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 #a4d81afba965bf50 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 #b895b57fc3623315 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 #d05d0ef187da092e 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 #0954703c20b882ae 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 #4fe70baf731762e2 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 #1dff38175872d8b6 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 #9fd3a824e9297c55 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 #6b85283388d38d48 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 #cf14d71228da0479 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 #087d0cace93070c5 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 #5a3e8e0dbfae21f5 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 #c63785dad2b84344 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 #0ae93b81d9ccd21f 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 #f71e800f26102765 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 #1734c195f8728dd6 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 #19eb7bf71790bda3 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 #8545e3d05a5ddac8 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 #98ef684bb99b633f 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 #9f19b8c4263a7536 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 #8c5c03a8bf6c050f 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 #d33e6adf19177434 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 #b18d7bb2cd42b5cd 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 #2c64b54f2f52bdaa 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 #9ee7d7e7613061d2 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 #a7c0429658663ace 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 #d99a5c39828bb8da 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 #8f734d8b5fb0660c 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 #fec053948fa19222 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 #17ad5e8ab628bd13 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 #6a7646ef5078c6fd 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 #02c55c82ae148251 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 #e78a84081f410baa 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 #872157c30a6777bd 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 #01a8dadd7fdb01be 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 #854b1388f8311611 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 #c1b89edaa8d0507c 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 #fb2e74fd0dd4d4d5 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 #09ae5be9c2314a99 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 #cd9ddb9e85dcf74c 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 #6d2180cdad07d570 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 #c471c0f5b20b64e4 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 #fbcf5ebc215d21ee 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 #b35899c6e0988269 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 #438b1ca91ddda354 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 #ce9fd337b73ed291 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 #ee53edbcedd9b34e 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 #f5609835f77887f0 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 #3d18560421cda4c8 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 #453c016faa281ba6 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 #d34a4c49df87227a 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 #214588e7018a527c 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 #017838bdd0ea1598 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 #fbc68413a3e37680 Filesystem access.
pkgs/go/[email protected]/draw/gen.go:46
	if err := os.WriteFile("impl.go", out, 0660); err != nil {

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

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

low env_fs tooling Excluded from app score unknown #ec7d192a51c11592 Filesystem access.
pkgs/go/[email protected]/example/font/main.go:55
		fontData, err := ioutil.ReadFile(*fontFlag)

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

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

low env_fs tooling Excluded from app score unknown #72a5bbec6954883a Filesystem access.
pkgs/go/[email protected]/example/font/main.go:61
			return ioutil.ReadFile(filepath.Join(dir, filepath.FromSlash(name)))

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

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

low env_fs tooling Excluded from app score unknown #a4a047555ba65b55 Filesystem access.
pkgs/go/[email protected]/example/font/main.go:67
		fontData, err := ioutil.ReadFile(*fontFlag)

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

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

low env_fs tooling Excluded from app score unknown #80516492a73647fb 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 #1fb241288b300bab 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 #c33b168c45eb2b4e 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 #bc36819abd22c764 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 #d0807f4297a735ed 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 #c83ea2eafbdd92e2 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 #3359cb20c58428bf 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 #acb164f0c26788ee 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 #0a670886296cc7eb 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 #e6de7b1950575c89 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 #13b4ba33fe5f7e42 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 #f7e9b4c0d3c583ef 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 #5283469091f78500 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 #18383fd02db62fd8 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 #5c4230f1e681266d 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 #f3135a735deca0ea 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 #e66589100ad11da7 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 #fa75f1357ab47870 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 #1a7680dd9cbcf171 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 #373c36f800823af2 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 #a1812ee08c9c989f 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 #32aae2567ce7ef6a 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 #891de3fcdf6a8e3f 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 #2c9bd4a6b858f039 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 #3250a44c216fc8aa 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 #135208a5d042c079 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 #6fd0e7bb81aa5f63 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 #0bfd29de26f4179e 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 #9e61cc6a0057d30a 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 #22f1e83938620e73 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 #f44ff323c0ed06c7 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 #3ebddbf7fb9915ad 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 #ca7e67dacb958b6f 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 #dabf1632d94364a1 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 #2d8f7ef43216f851 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 #14421825537829f4 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 #07697072cd8d08ee 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 #a77362207fe26efb 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 #42a45d7858bc69dd 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 #8757fa9ac5028ce4 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 #942c9265a899947d 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 #79afb8591a7c1f9e 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 #c1a1fab1e4061819 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 #96e54b9c4c16e7a7 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 #7179c5233ffe4df1 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 #ffc4f71b81744d67 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 #c41a5312e38a25f1 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 #64a81427bd634dea 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 #40949fa814c4e27a 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 #81be4d87e7ab6fc5 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 #65ad6cdaa2ba24be 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 #32175fa4a7bed693 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 #df72c3d0c7b6850c 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 #0417d25779945975 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 #0e82f19ed6a5fac0 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 #1fa3c602c5c704c2 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 #1bdb450abcc16e14 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 #bdbd495ecf05ab3a 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 #798e82337a16781f 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 #7adffbf2db3a4c13 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 #67b73895459754da 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 #dd8c2f10bc85059f 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 #d0ddea5db0d2a408 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 #e1db19ff12447720 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 #4554fba78ee8699c 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 #ec9ebdfcfabcd66d 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 #a2b967005c152e14 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 #b9b10a7a46c740d0 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 #9edd08334ddfbf5f 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 #ed96c3def800e9db 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 #621e5bc3075af27b 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 #ae5bf3e2ddb624bc 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 #2c5493000f640d07 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 #9f2786534fb26fcb 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 #87c9b0e869a8084e 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 #43d2a7c6fb9bc144 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 #697c30260b864ed0 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 #85383c32250777fd 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 #4b45d3cc8cbdf291 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 #0e9ac2234a209c46 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 #3e5ef45ba80a367e 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 #b0e6997f87d64bc1 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 #0cd30bf4daf2cb58 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 #e2e65cb3a53a9823 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 #045adbfb1bc20534 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 #d3efae9e6b376773 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 #59e72e84e5e93ae7 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 #dc6d0c3ef47a364d 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 #b5d248266a5ca8ab 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 #81710d1ce48e35b9 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 #ef36b5c725670cb3 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 #7d80dd8d4d8b0c1e 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 #6ad87d1cfd6fd3eb 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 #951794665114abb7 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 #8c90bf8d7d2e7f42 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 #3c2c616eacf77144 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 #ec2a41076f387515 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 #eb3242e26733dc5a 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 #f4ebc4971455e0dc 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 #1bec3a8c9f3667b7 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 #fec5baad1149847b 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 #2f818c63eb01ba04 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 #00ae721a1bc5aa67 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 #8349d86f41263956 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 #cc104ef825a40b4e 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 #aad20ce6073ca0e5 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 #66b3b579844d60aa 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 #b2edd7812fa24590 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 #b09bd2fd1d237856 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 #4b1c9521e7e50ae6 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 #5fc57a074c2f87b4 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 #a1b7cf4fd9ec3b13 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 #cadf6ffac5856114 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 #832044f8d9c7fcd6 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 #446474c7cc2d8e3d 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 #cf07adbed9602d22 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 #882204d636be7486 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 #a3236af17086c70f 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 #3abe6ca5a902eef6 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 #b0155ddc85756889 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 #67d10d2e4b69724c 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 #88b14bbe5de4e8e8 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 #c6dcaf0274cc0cf0 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