Close Open Privacy Scan

bolt Snapshot: commit 83d4311
science engine v1.22
schedule 2026-07-24T18:09:44.916679+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 · 524 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 517 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.combugs.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.devreactjs.orgregistry.npmjs.orgtanstack.comunicode.orgwww.framer.comwww.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 #d9d8ba4bcf2a405a 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-xxrrfwws/repo/discover/llama_server.go:67 → /tmp/closeopen-xxrrfwws/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 #bdb2c471929f0c4f 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-xxrrfwws/repo/discover/llama_server.go:67 → /tmp/closeopen-xxrrfwws/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 #367aa1452dd57d63 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-xxrrfwws/repo/discover/llama_server.go:67 → /tmp/closeopen-xxrrfwws/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 #3fb972a092c7ecdc 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-xxrrfwws/repo/discover/llama_server.go:67 → /tmp/closeopen-xxrrfwws/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 #6489f1ddf243475c 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-xxrrfwws/repo/discover/llama_server.go:67 → /tmp/closeopen-xxrrfwws/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 #84c1bc34075e8556 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-xxrrfwws/repo/x/imagegen/server.go:117 → /tmp/closeopen-xxrrfwws/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 304 low-confidence finding(s)
low env_fs production #164a32a3089c9c0d Environment-variable access.
repo/agent/skills.go:81
	if path := strings.TrimSpace(os.Getenv(SkillsDirEnv)); path != "" {

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

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

low env_fs production #6c4b2109a8f0bd1c Environment-variable access.
repo/agent/skills.go:84
	if xdg := strings.TrimSpace(os.Getenv("XDG_CONFIG_HOME")); xdg != "" {

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

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

low env_fs production #be6cf24206ad9b70 Filesystem access.
repo/agent/skills.go:259
	contents, err := os.ReadFile(path)

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

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

low env_fs production #bbb394954ac6478e Filesystem access.
repo/agent/skills.go:266
	if err := os.WriteFile(path, []byte(bundledSkillCreatorContent), 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 #f2a8cf0b3f70b726 Filesystem access.
repo/agent/skills.go:405
		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 #231a2a349d808409 Filesystem access.
repo/agent/skills.go:517
	in, err := os.Open(source)

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

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

low env_fs production #57ed9593df277d76 Filesystem access.
repo/agent/skills.go:522
	out, err := os.OpenFile(destination, os.O_WRONLY|os.O_CREATE|os.O_EXCL, mode)

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

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

low env_fs production #37731105d70280fa Filesystem access.
repo/agent/skills.go:590
	a, err := os.Open(first)

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

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

low env_fs production #43355ea6b7f3f94f Filesystem access.
repo/agent/skills.go:595
	b, err := os.Open(second)

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

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

low env_fs production #2e339d40a4b42e4a Filesystem access.
repo/agent/skills.go:724
	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 #ee543d159fde6cf6 Filesystem access.
repo/agent/tools/bash.go:366
	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 #1add3a493a7b398b Filesystem access.
repo/agent/tools/file.go:248
		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 Excluded from app score #9759c15aebde9593 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 #f9cc228f716e7928 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 #0d043e287d5938ad 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 #b515b187a1f01c26 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 #a799c914ecd65399 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 #c84862caab1cc70b 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 #3450e0e0eae8096c 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 #ba8247e1d5ab9c3a 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 #741fad7ce5f0c890 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 #22daf66da0a19dcc 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 #bc48295feb5ae86c 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 #b29aae50edc87bf0 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 #cacddf2df330f710 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 #972dcc5fceb1cf51 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 #84db9d9569564e06 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 #a5a59b80e268ace6 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 #22a56929a427e2e8 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 #2e5388c96e895488 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 #e2e3fd578a855c50 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 #afa03a18c461e34e 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 #66ba6e9364c39480 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 #2fcafa818513bc37 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 #fb5ba9018b013fe8 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 #498d3e2c5202bc10 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 #f59b210831501cc0 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 #c9ac2aa80ae1b4ba 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 #436b970f233cd6ff 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 #97c96395d912da18 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 #3282260879c7594c 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 #b8d4c4822667ce21 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 #7b22ce89f4285a8e 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 #face9c5033fd96eb 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 #0eaef8a7efae46b6 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 #baa5af394e8d501e 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 #b3ccffc24997678c 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 #78970ab8e8702cc2 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 #7272434240756dad 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 #44ba9f95e96eb863 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 #66ff0d5e25632d32 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 #f46d682f22481fb8 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 #7cde10f8be65ab28 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 #e9ec3e5022d5360f 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 #4a568457ea031fea 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 #d186429860f6588a Environment-variable access.
repo/cmd/agent_tui.go:288
	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 #125573a5dea3f7ff Environment-variable access.
repo/cmd/agent_tui.go:297
	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 #d037da58ee1cd653 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 #074a32c9f5701cf7 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 #47529bb8b595c910 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 #42ffa626c3c7c76e Filesystem access.
repo/cmd/cmd.go:251
			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 #469d0c70e35246e7 Filesystem access.
repo/cmd/cmd.go:302
		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 #103a488c5f8d24a0 Filesystem access.
repo/cmd/cmd.go:494
	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 #f1d5f0cb2c649485 Environment-variable access.
repo/cmd/cmd.go:717
		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 #9f0e33a479ca90ee Filesystem access.
repo/cmd/cmd.go:2030
		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 #d6e980d69c249c25 Filesystem access.
repo/cmd/cmd.go:2041
		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 #abe705748152b073 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 #7814b0f3eb2c0801 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 #fa13ac9e89e6c1aa 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 #c7e514d62f9539a7 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 #3b00977c0a924cf1 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 #fef5ebf2fa0c7b3e 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 #c7885301a16ca674 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 #e5b4b1ca411a1a7e 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 #97ba824187e58c09 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 #41b252515fdfe2b4 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 #5aa1f3a4f65cff01 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 #e7b1580d4c1b0fb7 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 #04dd7787a2a8cbfc 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 #c095a6625138aa09 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 #f59380f610053955 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 #625bb17d4d50cd97 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 #747abeada152fe8e 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 #a0e7c7268c1348b1 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 #df629f8cbe5893c3 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 #dac1161915500300 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 #dff42033802e0f0a 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 #963c764c129db5c6 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 #ce54c0819f49adb8 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 #2813fcbc79aea9f6 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 #0c101a25d198954d 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 #94c7929ea022535e 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 #745d32eab5165ea2 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 #36bd7310affc30a4 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 #e6dda127b3bb071c 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 #c573788bf5ea1fb7 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 #d64b3aad77ee959d 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 #e6c04fcc85fbc674 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 #3cf6ff23a9c1e26a 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 #b2f3b6f859bb43a5 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 #1ed2e5ac483c00c8 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 #4701d58cd28bcbd2 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 #834c11cd20a47d55 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 #1600942c90910318 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 #c22166700f532461 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 #99d2d733c59fcb9d 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 #8427c2835f202231 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 #c9dea75c8c1d6f35 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 #137fc3e30cdeb9b3 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 #5471d723f233b589 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 #abff357506e594be 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 #30d92b83d17fd8b9 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 #48fe05b488497891 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 #85ca8765c648f702 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 #10a318c24e664473 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 #b4cf78d3aecf6288 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 #2b93c08f6a2e15bb 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 #7ccbfc8e6d26c0ff 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 #25b4713a34eaeb50 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 #93a6fba56355532e 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 #10a27b48c0b728ff 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 #a6f1ebc01ab16984 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 #d98c24161a4d5a4a 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 #837703d453abee90 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 #b35e1c20a7844a83 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 #0da0767f710ccc7d 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 #7f95e42ce61ebd50 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 #492606d51473e974 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 #23b1cad55f2c8a04 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 #e5e9a35285e5a12c 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 #37d37e24b49cdcdd 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 #5b544260714958ed 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 #fea720a4545874d7 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 #f5c72af42e9d53b4 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 #7ae0b9cf13624f56 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 #f9f55bcc1b0b6c82 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 #2482899e04ba8e4c 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 #e10995e0caa41b91 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 #df03db85102f6343 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 #1fa12140b4404642 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 #8e3595b5d9783453 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 #04225e7b6ac20ee0 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 #d2511ffce669e160 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 #97e86e1e94a8c066 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 #d80a0696b977c220 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 #c67e084bc11359ad 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 #57b2f817e0d289d9 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 #ae84bfb88598d714 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 #ccaac85b852be80a 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 #4157ce09ad2ed99f 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 #b410f67a5744ec0a 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 #bde1c2bc205257ef 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 #56432d5552d9adb1 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 #7ef4436166a26735 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 #5dc76bafe3c4f78d 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 #b7d1172aa7f16b29 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 #384a0da8ec8dfa47 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 #2580f1391f4732ea 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 #ecfacb86bc7c542a 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 #2f27d2b67ab4be4a 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 #e68f29f58baffdb3 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 #8e56df0238c1b92e 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 #bffd3e43c6ed562a 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 #050c3f35040ae2a3 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 #7b1a6ddc07896680 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 #2fb1d30391b86c72 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 #d506ea9324b7c044 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 #45c93b99dd8ed441 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 #329779ec4efc6747 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 #51b7175d5306133b 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 #7c4d04b6044b71ba 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 #b277cb88373cb6df 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 #6bff2d62fded1cfa 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 #1e5c6d7f911c32cc 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 #bd8961a458f4ab00 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 #aa86110e4329cdfb 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 #d8032cf04d436f36 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 #1bc1ff12bff5ff73 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 #b919d18fa9b4adef 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 #8d1a2272e62fd03d 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 #a65aa91ee4b81a8a 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 #6eacad3502460959 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 #e80d9dc78c139aa3 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 #13989892fb180212 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 #11fa23ea9909556d 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 #23536b0c1b02bfe7 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 #dc0f27c1cf7ee62b 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 #04b2bf499a76b0b4 Environment-variable access.
repo/llm/llama_server.go:455
	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 #c4829097168da03f Environment-variable access.
repo/llm/llama_server.go:525
	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 #a28c6c3c4e34da8b Environment-variable access.
repo/llm/llama_server.go:703
	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 #554758ef44a7cb8e Filesystem access.
repo/llm/llama_server.go:748
	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 #8bf999f8e7639d75 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 #010b5c6bb53e34ed 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 #32407cbef78eed52 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 #68d82177c84b234d 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 #885f237cacb6d599 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 #d0b594a0986fed47 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 #aca3333f59cafa47 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 #30094e8e12b13571 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 #62fe96a95b74d670 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 #5e6fc34cbec2222e 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 #e8dfbf0f47b4428d 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 #5b23cc3bf3f64b3e 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 #42c407c0e7b645fb 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 #9245e3fb0bd1a3b2 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 #407524be27574285 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 #65d15f5c0f6823b2 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 #ef0a3cc7581d9899 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 #1f9e8b990895b69c 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 #eaeab68730bf6911 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 #8f4d873a1bfbc9ec 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 #1193beeeaa366b7a 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 #7251a4e1d04912af 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 #31a3762670fa80da 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 #30ea63f7977f7fc7 Filesystem access.
repo/server/download.go:222
	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 #5d90772ebecdcc1c Filesystem access.
repo/server/download.go:412
	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 #827b714f9f24963b Filesystem access.
repo/server/download.go:427
	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 #445f772cbcd80f22 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 #b931ad29bf7270a6 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 #2629f7564e29edf1 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 #f58af202dcc0239e 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 #bc82ad85a1ee4090 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 #2fb6bb7c834c2651 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 #85758ecbe90382f8 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 #92ccbe6cf3bd945b 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 #a12dcadce455a84a 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 #b9784177f526c43f 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 #36010fc2f90a1d95 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 #f3d68542082ab21d 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 #27c148fa22460c4a 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 #2afc1ebc145b2189 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 #8cd781a23c2b1dda 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 #bfb99b19a7140186 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 #36857cbab04c1eb8 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 #64252b707da46954 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 #40e099df853f72e9 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 #12f02b9de779fa36 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 #4e9033c4ec3d7563 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 #fcb69c8f39feea00 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 #189d63fbd800c4eb 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 #f07a1664d74f7321 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 #1cbdf923e13be312 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 #02c7672b32711655 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 #7a3b7abecd612a7f 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 #609de40ebe8e9e5c 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 #782ca0f9797a242a 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 #88ca45a8e1cd6acf 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 #d24547d552982173 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 #d0ad5b841ab21fcb 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 #33c993f6f1895366 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 #9d2ccd397e390ac5 Filesystem access.
repo/x/create/create.go:399
	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 #fbea7528ade67fbe Filesystem access.
repo/x/create/create.go:555
	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 #f104f02a1f661b7b 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 #7f3541f829d885be 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 #f66572a5d8056631 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 #13cd20f54a100d87 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 #b571fe1f9c35290c 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 #1074e5f7961dc601 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 #794f3c752ef3b9a8 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 #fb11443f14097505 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 #76e286d03451bb43 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 #d5c835a9a07d9930 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 #25f84baf911da581 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 #ab8816a74ee6b570 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 #b1f158cc8b510f59 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 #7c6a68053af52f2b 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 #8a97a9ab27ebc0c2 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 #32e772c8115a67f7 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 #25fd7b5d1e15ad6d 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 #71bbe09c1e83fd79 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 #ac219ab713ef92fb 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 #28a88923ab282f1d 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 #523f095f403a28af 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 #1ba040a23d72c03f 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 #3774e6245637b433 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 #bc8d7df5fd15881c 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 #55619275ceec7a76 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 #e4b9c984f7a96095 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 #93efe884275b2f22 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 #38917d1527b772b2 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 #10f8b1eec8296d8b 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 #d75b66242203c3d3 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 #28747d1a4980c48e 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 #e56a9849eae0014c 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 #e43ed52baa3ae1d5 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 #f69c92a45dc34162 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 #09f713ad312e9095 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 #5c80836f708edf03 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 #7e488bf4594bdd2f 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 #7b66b6d8c47522e0 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 #9b279ecc909b19b4 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 #136951786be5cf71 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 #5795c532d5e99eb2 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 #0b3b1c5a14edd78a 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 #845603e2645e7e52 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 #a9e553e61ac904ff 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 #3be2131e288c9662 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 #9a28ac0d1848ef69 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 #b771fb1d7b29446d 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 #7ccac681920619b4 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 #52805c2f2fb1c3c0 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 #3cc79e73edeb77d9 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 #017aa95211114fe7 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 #684886b29d99af8f 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 #f52423d338cf72ab 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-xxrrfwws/pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:285 → /tmp/closeopen-xxrrfwws/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 #48bf36cbb5478d11 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 #c7f2d4c9e9081579 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 #a0a4e9cf98358d5d 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 #187c4e2e42632c80 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 #9ae5326d50385cdd 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 #ace54a8521e39c7a 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 #13592c08a9f403f5 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 #c8724d0535999145 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 #adf90d5fdd544afa 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 #2925aaddeabf613d 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 #39cf80ee8325c3ef 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 #bc5ed6ae09c042b3 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 #867f6ea10e0f0c11 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 #c3255c8052c07d98 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 #2781b6bafd89862e 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 #d0b8cbddf39a3395 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 #dd94a4b9edd24eee 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 #fdf3f5c80572f0e7 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 #dbe9776b5c99c0fb 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 #8246aac1323db222 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 #e6587e06a191d424 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 #0c47a6fdf58db7f4 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 #944fcf6142fc742b 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 #035f9533d54fc4c2 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 #9f9d754d485f8c68 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 #4759cc09bef28092 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 #137989b348ca2bf3 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 #84320787f7719481 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 #70e63d4b5b690399 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 #c7c1589337642f06 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 #c0d16ef52933e3d1 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 #4e22db61c3a70483 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 #0ba12fb3f7e684fa 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 #e4ee5d9a455a1a33 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 #5f7c7f6bfb869710 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 #0922cf0bd65742fd 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 #adc6311f14befbb8 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 #5f2eb12271ded5ba 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 #4cbcf30457d06f94 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 #38dfdc241e744c8a 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 #b7d82433edf1a656 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 #d21bb1abb57c2441 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 #9f04725168ea56dc 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 #0aa6346d09e8b650 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 #1b64dea65f9e18f9 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 #25201bb79f632cc3 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 #73b0c18f1f09709b 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 #cafa6ec49811285e 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 #48d00ad2a1b9bbc2 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 #faa95a37f92ef404 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 #56009d64f847bb64 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 #93eaac0e5c74b229 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 #1c5f989ed1546f37 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 #e5b1a4e4606e40c2 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 #6f869ecded441c8f 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 #ee50004635387e50 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 #b9aa5a1fade98544 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 #4f21194f603aabd6 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 #9bc9330cd7308852 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 #2242b69992688301 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 #c5da2d53551bdb55 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 #746fcb1a247e6594 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 #c276d22a3ff76c53 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 #b632827db5c61356 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 #1f88ad2876539e58 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 #2ca3ea3ca9378510 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 #ddb4bb9afb65ca78 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 #98548469e9618a97 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 #8eb7519c4084e4a7 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 #9463782dedbadfe7 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 #ef966fe39cd1dd28 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 #8f80b78c4c10708d 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 #215df84bc312b4f0 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 #b224183c148d5320 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 #d9d5bb9eb83a9172 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 #eff38702d049f5a2 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 #ca041c4e0446b593 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 #eb831eb56ce7a29b 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 #0cd88db4d8e65033 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 #c4018e12c2c4f0c3 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 #a0e293ac9834d843 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 #e8fd84a0d230e9f0 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 #994e3a252e7e72e3 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 #10c8e1933e93ac8a 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 #6ee4f177c2874cee 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 #155fc281a5f2d14a 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 #23aaf3ba1193baec 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 #3f6301911f6d3c3f 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 #f059de533d174217 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 #fa37945fabe08d4c 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 #01b7d797fa75a30c 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 #a681281891fa25cf 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 #af6920a861fca01e 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 #671ccf1b1b800022 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 #aa457d67d24b5c2f 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 #5da4f7995bc2ea8a 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 #5071108c3d69c72b 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 #73b30a907e7a6e67 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 #8658617fb4d7fc3b 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 #528379ea0c79e5b0 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 #a26cc3c557f4c819 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 #441d9f50b934ec6b 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 #28a9d984221aaf37 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 #75e07f3d47617623 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 #fb4e46a673a92d21 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 #d23b9ffe9330bf53 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 #3dd182db79ae8d66 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 #c3a530e39f40fc47 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 #52d8daf66ff89868 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 #8b9dce78805b3a1e 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 #f37222d5f12eeb7d 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 #baf74be1070bba45 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 #af37b4e9a138c84a 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 #ba40b4a087510efb 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 #c3976d3aa7dd33bc 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 #42f6652c5fb1bc72 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 #491db4efef751c24 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 #5474a913f6ed3d6d 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 #6f6d3a7c23c76dba 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 #3a1eab7a384e52a9 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 #728a0d6d4133066f 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 #8b4e9d63f9f1908b 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 #95bedf006a71a3af 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 #016e15baac27b02d 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 #6ce4452ba4ae33b3 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 #3e8d72d1864eacdb 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 #adeeae8feb13d610 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 #3b7a91b31a91a32e 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 #7e7c74a207e027a1 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 #dc467519ca3986c8 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 #522579c53e97aff8 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 #c8c7466ac8a4203c 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 #207615646fac5c29 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 #a2a25f525d7edebb 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 #296f73f2a430e802 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 #e30892d8666dc34f 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 #344ee5ca0ec64365 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 #ef008a5afa7d95c8 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 #a3a11414a9868bff 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 #29abb9dbd22880fc 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 #7e0d1695efcfe8b9 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 #8b93b11c9b6c488e 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 #2c85107226453d25 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 #30a288e7bf11927e 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 #ceff19384710de22 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 #2851d370f8ef827e 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 #3e56544e42540c98 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 #fc08394b610f72b8 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 #23e1de0a5d8d431b 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 #06ca763458e5ebba 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 #fcbeb98c0eb5368b 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 #2f06075a7c8e7bb9 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 #35bf42248a282a68 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 #970bbe89f8e213fb 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 #a19b442249a350f5 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 #a5735ab46abd892c 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 #9700476de5033647 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 #c29ef1869cf51fb1 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 #2e3888306357c7f0 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 #7a91f04103f1f08e 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 #71c241fd07bf5ca0 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 #89235dc51281d35f 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 #891faf5626e1f70c 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 #38735ab9ba11a793 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 #a58da385a80158d4 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 #39e3bc374ebed75c 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 #e1aeba0d9c98f3ee 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 #72bae88ba2e44455 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 #dc14d0f6da60c53f 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 #c8a03aaedb14a47e 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 #a835f68f36fdde09 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 #5db9529c327e640d 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 #5b2834f4ae09a5b1 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 #68742706684c159f 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 #4b0813cd6157be4f 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 #7088a6e7f3ad6473 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 #58098020c5bce5c5 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 #0e328b56e89558bb 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 #8354a953858e10ae 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 #0b87a3293768a6f5 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 #c60224105bd48e4a 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 #1811ef4f2d1c0d12 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 #1daed2e7c34eb283 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 #f2a645bbc753b840 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 #548ba31c2872d3c1 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 #f93f51ac4605a1d9 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 #89d28af309767b77 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 #d4b7d6911ae544e3 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 #c89ac8c647c2a7a1 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 #ff8a233bd555b295 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 #b7b0032930e822ed 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 #b58512367e8b2baa 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 #5a1b133c81c06003 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 #492c4f23792491fc 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 #6205e7b980868188 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 #a8a29beeb0537bb1 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 #461e10c31a54526c 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 #de47726f0669efc5 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 #f8c39a9f17f79003 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 #6c5562342f28f18b 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 #9142e6d2398e08f1 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 #74b201be68a89017 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 #038078ea06da3de3 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 #88a97545d6114426 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 #fa580e376f2aeee9 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 #0b5f48242f95b009 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 #de0a92a87318b8a8 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 #4cadfea97972b8ad 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 #55967a4cc2023963 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 #4af890648abae9df 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 #3c3e1f2b3d369942 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 #454a5e7904bf6abb 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 #732d47cfc9267cef 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

  • @headlessui/react prod — dist-only: no readable source
  • github.com/klauspost/compress prod — module zip exceeds byte cap