Close Open Privacy Scan

bolt Snapshot: commit 573386c
science engine v1.21
schedule 2026-07-18T13:09:32.542438+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 · 520 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 513 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 #9344a2e94ecee232 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-4uy1dr9a/repo/discover/llama_server.go:67 → /tmp/closeopen-4uy1dr9a/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 #33ac8d2855e26424 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-4uy1dr9a/repo/discover/llama_server.go:67 → /tmp/closeopen-4uy1dr9a/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 #cf385c05bc2646c9 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-4uy1dr9a/repo/discover/llama_server.go:67 → /tmp/closeopen-4uy1dr9a/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 #e2b2bba6cbecbd16 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-4uy1dr9a/repo/discover/llama_server.go:67 → /tmp/closeopen-4uy1dr9a/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 #9004f53358dbd8a4 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-4uy1dr9a/repo/discover/llama_server.go:67 → /tmp/closeopen-4uy1dr9a/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 #d86cf1c20af4081a 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-4uy1dr9a/repo/x/imagegen/server.go:117 → /tmp/closeopen-4uy1dr9a/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 300 low-confidence finding(s)
low env_fs production #05ad081915d96ff1 Environment-variable access.
repo/agent/skills.go:79
	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 #6f873c050daeefad Environment-variable access.
repo/agent/skills.go:82
	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 #df9298490dfdb83f Filesystem access.
repo/agent/skills.go:257
	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 #26afdf80a826116e Filesystem access.
repo/agent/skills.go:264
	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 #16caf9e385872341 Filesystem access.
repo/agent/skills.go:374
	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 #27aa61d0f2b1e4d2 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 #ea62d07439a3d196 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 #c625aa7fab76a872 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 #0c64937147b1338e 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 #d0fcb8b29265b0ac 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 #75f890dd465752ec 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 #813f34e3952c8109 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 #02a05a2b8183f8c6 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 #a998941f104f423b 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 #df1db60dc559d7db 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 #23144e4754135c45 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 #f7ba3ac43c232434 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 #3820bb22ab279766 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 #7114cd96a10f84df 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 #3887a1dd93b3fdc6 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 #a2cf356b22b8d673 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 #55dfa9931dea422a 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 #195179232659bcca 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 #9cf0366c426c48b5 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 #96a161f9cdf146aa 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 #1706df0833eda118 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 #bbad0fe121ce61c6 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 #dbf158def4423006 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 #485a2d4d8eaf77ea 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 #78a38b9b1959d15c 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 #2ed883a680e15fee 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 #a70bcd5c359b4158 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 #848968d2064df6b9 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 #6736be4d8b7f4a05 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 #bc2279387452c6f5 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 #491e2b65a0eb88b6 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 #98486284cfb66809 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 #57c9f84d1fd5fef0 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 #008a1a9f17a5967d 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 #c6895f87dea59036 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 #d965ffa0fe3311f2 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 #9dbb6c62c1121068 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 #34d3106aa4d5c8a7 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 #2ee0a72c6a91b150 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 #c89a9df8494744ca 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 #520a15cc0a785327 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 #48232837b45ebff0 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 #f1adc2e87cb3f297 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 #69418ac0adb29157 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 #74d13c63f63b5406 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 #ff45b15ba571bcbc Environment-variable access.
repo/cmd/agent_tui.go:415
	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 #58d91eccf07b8b45 Environment-variable access.
repo/cmd/agent_tui.go:424
	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 #413288d4f3453132 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 #04b3d77e1f1a580f 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 #35c38e9eeb81af2e 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 #fdf75443f6d118cb Filesystem access.
repo/cmd/cmd.go:252
			f, err := os.Open(filename)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

low env_fs production #684f2ad043bc1593 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 #eec727012737f896 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 #1806c38b456e64d0 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 #2295a860ffc62d84 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 #fe3c731971679601 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 #032fe04096c77aad 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 #e40a2c30a298eedc 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 #a71a4409b8ea0c57 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 #8df6c4bc281d0706 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 #beb49419a5c69182 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 #2cdcfc2fc91e9089 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 #905233359138c8be 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 #e6bfe99b49448a6a 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 #dd7655b8e7b6577d 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 #6c65c24d0a2c8a91 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 #5ce6078433e02f06 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 #d35715feebf2a08e 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 #37d86badec9aa223 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 #0abb78b6ed64447c 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 #428aa11fe4ec338f 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 #3ce5b30efc76dd5f 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 #69292feb93b58187 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 #f0f186b205109647 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 #11080dd5bd2d8993 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 #c69420d1834075df 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 #9d6a44a13ff99673 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 #130a7b018d8935c3 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 #ef9eb916d44466d7 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 #4c08a532deb63447 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 #ef683e4c6842f50e 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 #c7dca634e8d7fcf1 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 #0a2c0c04deaa8bcc 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 #ab5c4562533b5423 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 #604f743d1f859b2d 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 #6cede7ab78dc0953 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 #7ddd88074667d2ee 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 #f9b790c81515bed2 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 #1e070836ce38811f 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 #27c175470dbee589 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 #bf565c8614686e93 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 #c6b0646174cab93d 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 #d7be5e3ebbce876c 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 #909ce422e9fb36ab 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 #5e2ebc94545800bf 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 #4dd62bef7ac4f86e 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 #a4abcc5d3b76e546 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 #ffeea8a968b829d8 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 #c9acf13a2b18fbe9 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 #a1acaf301915d8f9 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 #8a9e16ded428c40b 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 #84710930ed0a4fd1 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 #de4ae02a44d47325 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 #f0aee117758582ed 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 #0f8b5bdb8d1047af 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 #4527490bb8878c8d 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 #0bfdb931a1a1644e 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 #65eee68706ce3331 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 #3d2e93591dba2552 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 #7c8211b85e19a56b 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 #ffcb254eb83e1488 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 #3d2a0789c83e3b07 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 #fdcf33d610baaba1 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 #9edb98676beb611d 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 #e09e2ef336f57356 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 #95aa56cec8e29914 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 #2d877dd0f4fce9bd 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 #e295de87e21d5c3d 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 #f4e0e6f1db8853ad 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 #330172cbdb1b99e5 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 #1147bc578eb5909a 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 #f157f752129900bd 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 #30017f9d367af54b 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 #ea1d2c0c57565db1 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 #c083f7c793f71b26 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 #b72ad52806c0087c 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 #e6169dbf752b10ba 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 #f4d93dd26579f0dd 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 #bc8e70ed10df6fdf 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 #073d21d6805d3367 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 #9174876b550adbe4 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 #9f89b404258e743a 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 #0883cb092b453484 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 #c03944651178ed88 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 #34ed99052b26a391 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 #9be4aada162f0058 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 #9133f5b1dba29607 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 #249daac591ef3c47 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 #b87e3048e0360c9b 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 #bbd1547bd67e07af 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 #30c486779f67beab 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 #c046e79157936ebd 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 #dec86ce5c3d803f9 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 #f15a2b3f9daed1c1 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 #a379e88e0e5ded3c 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 #1b3c34cc74cb1f12 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 #54c439c272ae6028 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 #7d02f3ac40629df9 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 #57c0666653715815 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 #abe531661d55e27c 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 #54e165b555acf6d9 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 #2748ff32e0d0d86a 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 #717d6df1c146883d 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 #35396810b61cd777 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 #1d91b9db847a2823 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 #646201ecf23bc90f 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 #888d285a0e9c866f 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 #8103658f1be08193 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 #494909766b966fbf 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 #a2c7d834de6f1486 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 #a03e9c7695fe30ad 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 #a6877c28fbc64db1 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 #8a6eb3499b13ba1b 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 #59309d117d8104b9 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 #2a365009d05469c9 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 #bc5fb0c1e48a928a 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 #86c875c706ed3393 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 #1a76b4ed4c2b03da 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 #00a3a90335364518 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 #999d889e17ea09a9 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 #b99c2b709c5825a7 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 #e711d745845a33e3 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 #a0721e367d9d4626 Environment-variable access.
repo/llm/llama_server.go:446
	cmd.Env = os.Environ()

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

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

low env_fs production #0bd5c3f70583f973 Environment-variable access.
repo/llm/llama_server.go:516
	if libraryPath, ok := os.LookupEnv(llamaServerLibraryPathEnv()); ok {

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

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

low env_fs production #34d3375191d009dd Environment-variable access.
repo/llm/llama_server.go:694
	if _, ok := os.LookupEnv(llamaArgFitTargetEnv); ok {

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

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

low env_fs production #9507410011f4ec1d Filesystem access.
repo/llm/llama_server.go:739
	file, err := os.Open(projectors[0])

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

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

low env_fs production #06c87592bfe1621f 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 #b5a06601d791c96f 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 #0560dd951720a434 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 #210de2b064e1bfed 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 #7617452b6dfeadc1 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 #3be43b4b0c2c9b95 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 #3b3c4a8d1a394557 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 #61fd4e6ca2f02453 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 #0c20c0cbde236d98 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 #9635f9f6e6a31112 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 #efe0bc5a56abe236 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 #0e195044ab0da7da 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 #851209898304e211 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 #ea2ae0dae505c100 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 #6d7b0bc1b5d6a8e1 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 #b113987b406d4faf 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 #3b90d3489bf9cda7 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 #fb44abd300396041 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 #2250df762ebf9e4e 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 #32e30d2639f162ab 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 #7dd8824e6234ecda 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 #008522cfea372f68 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 #f1c484d331b9416d 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 #292065c769bb718f Filesystem access.
repo/server/download.go:220
	file, err := os.OpenFile(b.Name+"-partial", os.O_CREATE|os.O_RDWR, 0o644)

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

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

low env_fs production #007d765e16fa2151 Filesystem access.
repo/server/download.go:404
	partFile, err := os.Open(partName)

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

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

low env_fs production #0e898304da1554d6 Filesystem access.
repo/server/download.go:419
	partFile, err := os.OpenFile(partName, os.O_CREATE|os.O_RDWR|os.O_TRUNC, 0o644)

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

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

low env_fs production #175b2540318dcba2 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 #1f687ef4e108b895 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 #d083b222b0736793 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 #c42b1f6e664d52c1 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 #e3506245245929cc 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 #02a9cf142ad8fe01 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 #e746270f800722b8 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 #e4c77752b5c2f96e 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 #d1b75826cfa48220 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 #a855c99717866cce 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 #044832bfe2444b7b 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 #c40a10b02aa7ca77 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 #23a16959416c9609 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 #5cb2b2de08ea7afc 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 #c80d85b0fcb30686 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 #025c2255e3c3ef88 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 #f524330558e5eca5 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 #14b84945136293f7 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 #0f84b9fe1794962e 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 #2f6012786d2ace49 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 #f9b7e04cee63ebfb 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 #a349bebca0d5291a 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 #8897b13b75494def 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 #7c75090f2dc816cc 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 #f57fbb69fb86a91a 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 #180df513a2b1cb41 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 #4f99233688166c2d 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 #2d9e394815abfd7b 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 #6b96cb0cc31e8c65 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 #8b4006ffa1c52b4a 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 #b8a7318245355f31 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 #e02289e7a983f96c 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 #7ad541a6d9f7bb12 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 #01ad1a8075013b5a Filesystem access.
repo/x/create/create.go:395
	data, err := os.ReadFile(configPath)

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

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

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

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

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

low env_fs production #1a5f615c94dcdbdc 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 #a735f941ee80c42e 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 #505eab27fdb00432 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 #a984ee818383b2b9 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 #878df300664115a0 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 #a30b3dfaddc8c771 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 #49f116ae5a095465 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 #4da4d5436737505b 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 #bad8eb4b1f0f273b 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 #936fe3a0aaefba68 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 #6c02f38604b1fcf1 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 #e7469d12aceb7c6f 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 #0fab2c031eab7df4 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 #957b3677eb7f541a 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 #72854da681440da5 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 #660f1e8c12679c63 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 #bda492a5963a343b 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 #ada7c8bddc8bdeb0 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 #8fd03d055050fbd8 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 #22229d31f7256246 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 #fab313ccc80d645b 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 #05b2427c35adfca3 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 #bb5bb817a4048bd6 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 #18d24b473761ee53 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 #4a1658dd6d7f253f 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 #9200f453838b156a 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 #1f886cc2a1509235 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 #9e91b728c5390cef 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 #f2ea7b0e075dc13d 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 #fdfa113edcea8c9e 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 #38bee1016032084f 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 #f4266e8f034d4421 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 #c024c79d60d7bd4d 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 #9d3353fffb55cc5f 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 #3417fa2d15cb6e69 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 #b2121e63b4264394 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 #967307aa5ab58f50 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 #e8e003dee635ce78 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 #f70b4b9f64ea1ffd 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 #5eaacbba9ede8d63 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 #765a910e1c0c6306 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 #8689b24501c7f5d9 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 #5987a767125a20f8 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 #844475cc3269a298 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 #ab4a00cb86e78df4 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 #e08157ef7ec8c71f 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 #c4a61bb0fdc3c10e 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 #5d748ad7b7a5d0e3 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 #8d1fa83370d0e00d 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 #4db6491133f2fdc8 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 #2b82f675630fdcee 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 #220695d394cc882a 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 #033b15e82f1164e5 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-4uy1dr9a/pkgs/go/[email protected]/internal/cmd/generate-protos/main.go:285 → /tmp/closeopen-4uy1dr9a/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 #041c4d2f613fa12f 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 #2f38821a26f4100e 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 #e72d0ab7f1b2920f 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 #3ac9af6d85f8b1bc 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 #da3139e68dde2186 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 #a0ee3a51ea25edb7 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 #03db31beb92770b1 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 #72250344da50b082 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 #ccd97017c8e3167f 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 #c7bb47451c59714a 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 #71b39436c532a217 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 #95201117ad1dca33 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 #ea7ca46f35f6b712 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 #a382020be6f4e50b 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 #2be475bb2aa07dec 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 #ac857c93f23f27a7 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 #fa718f5dccb4a8a0 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 #a03dfc2a8bd6b4bd 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 #c8fdce29c141007a 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 #2b939e421b202855 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 #8b935cc50b1f9eff 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 #d1bac814c57f0886 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 #32a82bf0ebfa522f 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 #4ca60283db205584 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 #32547e7d5c03baf3 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 #f28afb052216459a 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 #e7764ae50dc62afe 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 #96ba8145b6b7f9e6 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 #cfa7f4566f246414 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 #036a0a0e01db7916 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 #8ae02f3eabf9f570 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 #f22c88f17b6365fc 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 #f949cc2c5db91944 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 #2a0bc45dd6576da8 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 #ba8c94c0a1248378 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 #3ccf0b73cd5c540a 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 #f352d578671b9eeb 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 #d758d37ca6eae2ff 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 #064025e7124411bf 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 #0d85ef278b736a31 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 #050ae8fa50a1e562 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 #d8eafd0fb7dd7c88 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 #c557c064bdd5e69e 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 #cc14d9074f29f9dd 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 #1128bd752f127625 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 #1a2cab730cc0f6da 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 #bfdc629b373b3ab6 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 #5aba69b90ac1daa5 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 #61eca635c81cbc7c 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 #3d42e5c6225bdf8a 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 #2f4f4f5a5d49dbdb 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 #cd1a5079b39b1c16 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 #a0816769655e86ea 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 #6929a39351698352 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 #bc7649ef76f01c90 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 #3e76fd43ed0d3888 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 #fa41ddacf4c6e8e9 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 #fdd62f7f5944ed5a 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 #9d3085a4e0402cdb 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 #070b4be269e57e41 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 #511db660f3244b9f 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 #96b31494b79d8f2b 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 #f31fad262edca294 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 #96a9bc984b17205f 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 #2e1c56bfdf05c02a 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 #afd5082be30fa083 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 #08484f4cb27e0529 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 #deadb2f3256c1862 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 #3a9085206593f323 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 #332debefd4e94472 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 #64e808f4f3dddaba 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 #69a8c501b7f05da3 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 #c4181e84b1a66f44 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 #692e1afc1281a84a 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 #ff51d1d7c0d11881 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 #264671df42ace342 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 #9d3872861deb0952 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 #b6e363952a3c9fa5 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 #dafdd45b134a9c68 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 #09db5e7e7fb720e8 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 #a13b86f1a4beea6c 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 #54932cd4869b54fb 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 #0411db4e29a81284 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 #f1a7831a8313e6cc 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 #115bf6272dbdb567 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 #81068f0dfa9e40b7 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 #c727bfc502803e35 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 #230d86e548993f31 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 #1868349186dad610 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 #907e448ebdb488c4 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 #8e2d656eb46db760 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 #14077c4f3ddf6765 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 #1c5d5af4722109e4 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 #aceb90116465a473 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 #59fb3981042313e1 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 #347e8b6f901f9421 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 #937bfd3793744c1b 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 #f73c3069ca0cdfae 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 #e1e02a2e38aa0735 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 #28516d0165f4baa7 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 #819ed2276322f140 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 #2de9498fd5c67fd7 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 #82dafa79ec5f1c12 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 #d8f59227763b639f 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 #bc604c0d488ffa0d 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 #64336ad7ae8c4a1d 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 #c3dac112c19958f7 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 #395c0fd739e141cd 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 #1729c67ea4fde063 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 #56a6b0f140a89099 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 #f8e2e11c1fc72f24 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 #3b26d808949addff 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 #c47c50c7adad2d98 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 #edb78c331e094569 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 #75778c4b94318be5 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 #79a688118b346d03 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 #302745c4ca0deb79 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 #288194e5d6d6eff4 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 #6610e0a603356a52 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 #ac6ca0ede6d497ec 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 #d7c97372c524f762 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 #0c922f73bd4ad8f8 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 #0e0730d174c95c00 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 #27b8830569912e40 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 #69bffd088ee53331 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 #66a0028ff32327dc 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 #8f428c9b8be1f77c 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 #7a150e77ebfb7e83 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 #283850f525709dca 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 #79873d668c918585 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 #7d261228fe8a6aa2 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 #de605f38bbc0fd57 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 #c18cf0d06781f439 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 #a275fd5e0300cf6c 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 #f1e468dffa726129 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 #4ec4d706617efefd 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 #eb7a9a72cd34998f 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 #eb82e8e34c0deccf 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 #cfaedf193626953e 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 #c1928766f1ea78c1 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 #1835b57b0331b3ce 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 #2c04978b97368205 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 #c1f883187714e756 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 #4afd66f3ee7049ef 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 #9be783d6fdd2e418 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 #9777fe03b94f8b40 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 #3960bf7daa9dd60c 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 #a56e9e4f0f89075a 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 #6a6a114d34f6bfb9 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 #f811ca9315bd5af4 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 #e563ff1206f8bbff 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 #98f4bec0d990b3f3 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 #b194c3a455888991 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 #8fdb012ec5de44aa 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 #5269d60b0725d3db 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 #aa2a0166d7704be1 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 #2504c4ee605a3438 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 #83d129125bf04794 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 #dc9a148296ee2b2a 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 #f35c852fb4f036af 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 #a5a7453af90915e4 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 #e4cbabbac749f64b 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 #734da5694457082c 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 #eb41a86f9f9c5736 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 #efb8200365749793 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 #5f01a55360802a50 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 #bea2bfe9a3996ee9 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 #483f8a0f5eb1c4b0 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 #8a8b07db176ed07e 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 #521fe9a2d1f079b5 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 #f7afeebf7df5259b 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 #2a81b2a2512a183c 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 #bfa735377c952aff 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 #d479bc2233740cef 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 #4b0eb2aa8f9b312a 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 #4b5f0aa3fcd98cce 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 #4ca9fe9ee908241b 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 #8e90ba66bcb36a98 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 #938442d5d06f9a8d 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 #1d29e83b6c1b5cc0 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 #cc66a2c61bd0c7c3 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 #13a980f80ca72e52 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 #1532469ce12b88fe 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 #e8432788ddf6bfa1 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 #bf3c5f2a964793db 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 #9dd3f8af36910256 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 #caa30cf3f7c86961 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 #26994ed6a4666d4d 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 #e146dcc6ad970ee6 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 #43d3f726880ba76e 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 #d0232ab09b32a79a 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 #704c4694bf6fc95c 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 #018ceb05f58a9fa5 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 #957ec1e482d10a52 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 #acbe341c1bb54f69 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 #5206faad6935de45 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 #27b21dc6376ae651 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 #012ee2fd08d51fec 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 #2e7996fe73dfc703 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 #2f0c1464518d5f10 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 #9f8f5118b1c764db 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 #9e85d9a2ac6e1df2 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 #1b8c980c00277dd9 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 #734c93328db5169e 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 #5e79495778a19aa7 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 #0ce4b51bd18afd91 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 #2bb59bafbb18b194 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 #850bee5d2e5f1104 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 #f6956b5f612f47f2 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 #42924a692ae12c4c 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 #9d149b160a5e8945 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 #796c72873b219b14 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 #04238d08b1d70f01 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