Close Open Privacy Scan

bolt Snapshot: commit e2d7720
science engine v1.22
schedule 2026-07-23T23:10:13.720266+00:00

verified_user Possible application data leak

Potential data exfiltration identified in application code.

smart_toy AI deps detected: github.com/sashabaranov/go-openai — detected in dependencies, not a safety judgment.

App Privacy Score

22 /100
High privacy risk — possible application leak

High risk · 459 finding(s)

Dependency score: 22 (High risk)

bar_chart Score Breakdown

pii_flow −60
egress −15
env_fs −3

list Scan Summary

0 high 22 medium 437 low
First-party packages: 3
Dependency packages: 28
Ecosystem: go

swap_horiz Potential data exfiltration in application code

External domains: a9.comapi-v2.plandex.aiapi.anthropic.comapi.github.comapi.openai.comapi.together.xyzbugs.chromium.orgcdn.jsdelivr.netcdnjs.cloudflare.comchromium.googlesource.comclaude.aiconsole.anthropic.comdevelopers.google.comdiscord.ggdocs.plandex.aidocusaurus.iofacebook.github.iogithub.comgo.devgolang.orgjson-schema.orgopenaipublic.blob.core.windows.netopenrouter.aipkg.go.devplandex.aipublicsuffix.orgraw.githubusercontent.comreact.devreactjs.orgredux-toolkit.js.orgredux.js.orgwww.algolia.comwww.freedesktop.orgwww.iana.orgwww.ibm.comwww.mozilla.orgwww.unicode.orgwww.w3.orgwww.youtube.comx.com

medium first-party (go): app/cli 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/app/cli/cmd/debug.go:83 repo/app/cli/cmd/debug.go:137
medium first-party (go): app/cli 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/app/cli/cmd/debug.go:83 repo/app/cli/cmd/debug.go:144
medium first-party (go): app/cli 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/app/cli/cmd/debug.go:83 repo/app/cli/cmd/debug.go:164
medium first-party (go): app/cli 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/app/cli/cmd/debug.go:83 repo/app/cli/cmd/debug.go:177
medium first-party (go): app/cli 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/app/cli/cmd/debug.go:83 repo/app/cli/cmd/debug.go:188
medium first-party (go): app/cli 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/app/cli/lib/apply.go:401 repo/app/cli/lib/apply.go:476
medium first-party (go): app/cli 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/app/cli/lib/apply.go:401 repo/app/cli/lib/apply.go:483
medium first-party (go): app/cli 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/app/cli/lib/apply.go:401 repo/app/cli/lib/apply.go:512
medium first-party (go): app/cli 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/app/cli/lib/apply.go:401 repo/app/cli/lib/apply.go:518
hub Dependency data flows (13)
medium github.com/sashabaranov/go-openai tooling 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]/examples/chatbot/main.go:13 pkgs/go/[email protected]/examples/chatbot/main.go:35
medium github.com/sashabaranov/go-openai tooling 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]/examples/chatbot/main.go:13 pkgs/go/[email protected]/examples/chatbot/main.go:38
medium github.com/sashabaranov/go-openai tooling 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]/examples/completion-with-tool/main.go:14 pkgs/go/[email protected]/examples/completion-with-tool/main.go:55
medium github.com/sashabaranov/go-openai tooling 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]/examples/completion-with-tool/main.go:14 pkgs/go/[email protected]/examples/completion-with-tool/main.go:61
medium github.com/sashabaranov/go-openai tooling 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]/examples/completion-with-tool/main.go:14 pkgs/go/[email protected]/examples/completion-with-tool/main.go:67
medium github.com/sashabaranov/go-openai tooling 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]/examples/completion-with-tool/main.go:14 pkgs/go/[email protected]/examples/completion-with-tool/main.go:85
medium github.com/sashabaranov/go-openai tooling 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]/examples/completion-with-tool/main.go:14 pkgs/go/[email protected]/examples/completion-with-tool/main.go:92
medium github.com/sashabaranov/go-openai tooling 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]/examples/completion/main.go:12 pkgs/go/[email protected]/examples/completion/main.go:22
medium github.com/sashabaranov/go-openai tooling 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]/examples/completion/main.go:12 pkgs/go/[email protected]/examples/completion/main.go:25
medium github.com/sashabaranov/go-openai tooling 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]/examples/images/main.go:12 pkgs/go/[email protected]/examples/images/main.go:24
medium github.com/sashabaranov/go-openai tooling 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]/examples/images/main.go:12 pkgs/go/[email protected]/examples/images/main.go:27
medium github.com/sashabaranov/go-openai tooling 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]/examples/voice-to-text/main.go:22 pkgs/go/[email protected]/examples/voice-to-text/main.go:31
medium github.com/sashabaranov/go-openai tooling 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]/examples/voice-to-text/main.go:22 pkgs/go/[email protected]/examples/voice-to-text/main.go:34

</> First-Party Code

first-party (go): app/cli

go first-party
medium pii_flow production #14c7e4664a878b81 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/app/cli/cmd/debug.go:137 · flow /tmp/closeopen-oqswu7cx/repo/app/cli/cmd/debug.go:83 → /tmp/closeopen-oqswu7cx/repo/app/cli/cmd/debug.go:137
							log.Printf("Failed to send signal %s to process group: %v", sysSig, 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 #8cacd520f2075ddd 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/app/cli/cmd/debug.go:144 · flow /tmp/closeopen-oqswu7cx/repo/app/cli/cmd/debug.go:83 → /tmp/closeopen-oqswu7cx/repo/app/cli/cmd/debug.go:144
								log.Printf("Failed to send SIGKILL to process group: %v", 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 #d469e1cf6f1b7fbb 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/app/cli/cmd/debug.go:164 · flow /tmp/closeopen-oqswu7cx/repo/app/cli/cmd/debug.go:83 → /tmp/closeopen-oqswu7cx/repo/app/cli/cmd/debug.go:164
				fmt.Println(line)

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 #ae4fdd6e3c1fa347 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/app/cli/cmd/debug.go:177 · flow /tmp/closeopen-oqswu7cx/repo/app/cli/cmd/debug.go:83 → /tmp/closeopen-oqswu7cx/repo/app/cli/cmd/debug.go:177
			log.Printf("⚠️ Scanner error reading subprocess output: %v", scanErr)

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 #51839b86c0e7e646 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/app/cli/cmd/debug.go:188 · flow /tmp/closeopen-oqswu7cx/repo/app/cli/cmd/debug.go:83 → /tmp/closeopen-oqswu7cx/repo/app/cli/cmd/debug.go:188
			fmt.Println(outputStr)

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 #7bdf3a474cf77997 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/app/cli/lib/apply.go:476 · flow /tmp/closeopen-oqswu7cx/repo/app/cli/lib/apply.go:401 → /tmp/closeopen-oqswu7cx/repo/app/cli/lib/apply.go:476
						log.Printf("Failed to send signal %s to process group: %v", sysSig, 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 #e3057a9b7d4a6f88 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/app/cli/lib/apply.go:483 · flow /tmp/closeopen-oqswu7cx/repo/app/cli/lib/apply.go:401 → /tmp/closeopen-oqswu7cx/repo/app/cli/lib/apply.go:483
							log.Printf("Failed to terminate process group: %v", 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 #3ea8b655e55e5ee8 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/app/cli/lib/apply.go:512 · flow /tmp/closeopen-oqswu7cx/repo/app/cli/lib/apply.go:401 → /tmp/closeopen-oqswu7cx/repo/app/cli/lib/apply.go:512
		fmt.Println(line)

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 #bfab7114e95cd0b5 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/app/cli/lib/apply.go:518 · flow /tmp/closeopen-oqswu7cx/repo/app/cli/lib/apply.go:401 → /tmp/closeopen-oqswu7cx/repo/app/cli/lib/apply.go:518
		log.Printf("⚠️ Scanner error reading subprocess output: %v", scanErr)

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 104 low-confidence finding(s)
low env_fs production #66ad1a3f3bbea457 Environment-variable access.
repo/app/cli/api/clients.go:24
	if os.Getenv("PLANDEX_ENV") == "development" {

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

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

low env_fs production #b1402c92a393a9a0 Environment-variable access.
repo/app/cli/api/clients.go:25
		CloudApiHost = os.Getenv("PLANDEX_API_HOST")

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

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

low env_fs production #c745cddf57739964 Filesystem access.
repo/app/cli/auth/auth.go:34
	bytes, err := os.ReadFile(fs.HomeAuthPath)

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

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

low env_fs production #bf3c9d363bf22582 Filesystem access.
repo/app/cli/auth/state.go:15
	bytes, err := os.ReadFile(fs.HomeAccountsPath)

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

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

low env_fs production #9f9f671daf87d573 Filesystem access.
repo/app/cli/auth/state.go:80
	err = os.WriteFile(fs.HomeAccountsPath, bytes, os.ModePerm)

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

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

low env_fs production #f38a43fae55ab25c Filesystem access.
repo/app/cli/auth/state.go:100
	err = os.WriteFile(fs.HomeAuthPath, bytes, os.ModePerm)

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

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

low env_fs production #00a3e31453ed5d09 Environment-variable access.
repo/app/cli/cmd/debug.go:83
		execCmd.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 #45bf1f1e1a2a6160 Environment-variable access.
repo/app/cli/cmd/load.go:58
		SessionId:       os.Getenv("PLANDEX_REPL_SESSION_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 #c847b2a26060c3d1 Filesystem access.
repo/app/cli/cmd/model_helpers.go:73
		jsonData, err := 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 #68e9f46d756f8b70 Filesystem access.
repo/app/cli/cmd/models.go:162
			err = os.WriteFile(customModelsPath, jsonData, 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 production #81d3ffca9b69991b Environment-variable access.
repo/app/cli/cmd/plan_exec_helpers.go:41
	envEditor := 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 #03dc87965d4b8843 Environment-variable access.
repo/app/cli/cmd/plan_exec_helpers.go:43
		envEditor = 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 #b42cbae51de5362b Filesystem access.
repo/app/cli/cmd/tell.go:109
		bytes, err := os.ReadFile(tellPromptFile)

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

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

low env_fs production #21ccc6aead047b72 Filesystem access.
repo/app/cli/cmd/tell.go:175
	err = os.WriteFile(filename, []byte(instructions), 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 production #2d1d476f23a70581 Filesystem access.
repo/app/cli/cmd/tell.go:189
	bytes, err := os.ReadFile(tempFile.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 #ec96b6c7fa7ae58b Environment-variable access.
repo/app/cli/cmd/usage.go:73
		if os.Getenv("PLANDEX_REPL_SESSION_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 #254e0bbe74009363 Environment-variable access.
repo/app/cli/cmd/usage.go:82
		sessionId = os.Getenv("PLANDEX_REPL_SESSION_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 #dc82bab71fd04eb6 Environment-variable access.
repo/app/cli/cmd/usage.go:240
		if os.Getenv("PLANDEX_REPL_SESSION_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 #423c6a1631db7fcf Environment-variable access.
repo/app/cli/cmd/usage.go:259
		sessionId = os.Getenv("PLANDEX_REPL_SESSION_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 #95ee6d06b58a7fd3 Environment-variable access.
repo/app/cli/fs/fs.go:33
	if os.Getenv("PLANDEX_ENV") == "development" {

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

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

low env_fs production #1f698c3ac860fc40 Environment-variable access.
repo/app/cli/fs/fs.go:73
	if os.Getenv("PLANDEX_ENV") == "development" {

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

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

low env_fs production #c0be4feed6290895 Environment-variable access.
repo/app/cli/fs/fs.go:122
	if os.Getenv("PLANDEX_ENV") == "development" {

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

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

low env_fs production #e7976e1dbc84c439 Filesystem access.
repo/app/cli/fs/projects.go:22
			bytes, err := os.ReadFile(projectSettingsPath)

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

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

low env_fs production #8833bc0ff01a0c0e Filesystem access.
repo/app/cli/fs/projects.go:83
				bytes, err := os.ReadFile(projectSettingsPath)

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

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

low env_fs production #c743cd6fd44dd27f Environment-variable access.
repo/app/cli/lib/apply.go:375
	shell := os.Getenv("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 #a928eea569d49916 Filesystem access.
repo/app/cli/lib/apply.go:393
	err := os.WriteFile(scriptPath, []byte(content), 0755)

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

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

low env_fs production #580bbe3e3f8c178b Environment-variable access.
repo/app/cli/lib/apply.go:401
	execCmd.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 #d35965c621f92aa9 Filesystem access.
repo/app/cli/lib/apply.go:658
				bytes, err := 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 production #a32cc6c6b0c1bb04 Filesystem access.
repo/app/cli/lib/apply.go:687
			err = os.WriteFile(dstPath, []byte(content), 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 production #6edd2a28ad419158 Filesystem access.
repo/app/cli/lib/apply.go:720
				content, err := 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 production #7d4f63b02a335a4d Filesystem access.
repo/app/cli/lib/apply.go:757
			err := os.WriteFile(path, []byte(revert.Content), revert.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 egress production #c23c557b320ea191 Hardcoded external endpoint. Review what data is sent to this destination.
repo/app/cli/lib/claude_max.go:240
	req, err := http.NewRequest("POST", claudeMaxTokenUrl, bytes.NewReader(body))

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 production #655644715ae7d52c Hardcoded external endpoint. Review what data is sent to this destination.
repo/app/cli/lib/claude_max.go:300
	req, err := http.NewRequest("POST", claudeMaxTokenUrl, bytes.NewReader(body))

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 #2222c0b79d8c75ac Filesystem access.
repo/app/cli/lib/context_auto_load.go:79
			b, 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 #2666b64e6a53143f Environment-variable access.
repo/app/cli/lib/context_load.go:65
			OpenAIOrgId: os.Getenv("OPENAI_ORG_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 #a856636ad86932b6 Environment-variable access.
repo/app/cli/lib/context_load.go:84
				OpenAIOrgId: os.Getenv("OPENAI_ORG_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 #c167862ed235b983 Filesystem access.
repo/app/cli/lib/context_load.go:512
							fileContent, 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 #c52ce30c5d16af4a Filesystem access.
repo/app/cli/lib/context_load.go:530
							fileContent, 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 #b879e6d7bca353ef Filesystem access.
repo/app/cli/lib/context_shared.go:111
	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 #4e20766dd954216e Filesystem access.
repo/app/cli/lib/context_shared.go:178
	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 #6c5d74b9111ee4d3 Filesystem access.
repo/app/cli/lib/context_update.go:384
				fileContent, err := os.ReadFile(ctx.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 #de04ffbd024a9a1c Filesystem access.
repo/app/cli/lib/current.go:86
		bytes, 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 #5c746924fe4f97c6 Filesystem access.
repo/app/cli/lib/current.go:139
	fileBytes, err := os.ReadFile(HomeCurrentPlanPath)

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

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

low env_fs production #71688a014ddf62d4 Filesystem access.
repo/app/cli/lib/current.go:190
	fileBytes, 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 #fe40e360eca37de8 Filesystem access.
repo/app/cli/lib/current.go:288
	err = os.WriteFile(path, bytes, os.ModePerm)

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

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

low env_fs production #d86058f9275559b0 Filesystem access.
repo/app/cli/lib/current.go:315
	err = os.WriteFile(path, bytes, os.ModePerm)

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

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

low env_fs production #bc809f1ab45649e2 Filesystem access.
repo/app/cli/lib/custom_models.go:105
	localJsonData, 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 #68c25289f158b242 Filesystem access.
repo/app/cli/lib/custom_models.go:118
	lastSavedHash, err := os.ReadFile(hashPath)

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

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

low env_fs production #e8868a8372303fbd Filesystem access.
repo/app/cli/lib/custom_models.go:149
	err = os.WriteFile(path, jsonData, 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 production #ea4ac86b13be9b4b Filesystem access.
repo/app/cli/lib/custom_models.go:170
	err = os.WriteFile(hashPath, []byte(hash), 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 production #e826200594bf6030 Filesystem access.
repo/app/cli/lib/custom_models.go:181
	jsonData, 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 #2b1695fb39ecc54e Environment-variable access.
repo/app/cli/lib/editor.go:199
		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 production #08c854bb48becb2b Filesystem access.
repo/app/cli/lib/legacy_files.go:27
		bytes, err := os.ReadFile(projectPath)

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

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

low env_fs production #f527feca25711fb8 Filesystem access.
repo/app/cli/lib/legacy_files.go:46
		err = os.WriteFile(v2Path, bytes, 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 production #d4d7e3e56945bfac Filesystem access.
repo/app/cli/lib/legacy_files.go:80
		bytes, err := os.ReadFile(planPath)

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

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

low env_fs production #d04ec06e65e1f98c Filesystem access.
repo/app/cli/lib/legacy_files.go:99
		err = os.WriteFile(v2Path, bytes, 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 production #0d418ea4079a9155 Filesystem access.
repo/app/cli/lib/legacy_files.go:131
		bytes, 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 #3ed8cbbca6e04fd6 Filesystem access.
repo/app/cli/lib/legacy_files.go:150
		err = os.WriteFile(v2Path, bytes, 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 production #756559f4b3412ff7 Environment-variable access.
repo/app/cli/lib/model_credentials.go:247
		profile := os.Getenv("PLANDEX_AWS_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 #2467c834ba117363 Environment-variable access.
repo/app/cli/lib/model_credentials.go:272
		val := os.Getenv(cfg.ApiKeyEnvVar)

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

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

low env_fs production #1fd971631d4722fe Environment-variable access.
repo/app/cli/lib/model_credentials.go:279
		val := os.Getenv(extra.Var)

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

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

low env_fs production #da5f4b84f5d89d2f Filesystem access.
repo/app/cli/lib/model_credentials.go:316
	content, err := os.ReadFile(pathOrJson)

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

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

low env_fs production #a1b90c7db40f1ee4 Filesystem access.
repo/app/cli/lib/model_credentials.go:581
	err = os.WriteFile(path, 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.

low env_fs production #52a99ea4e12d9b37 Filesystem access.
repo/app/cli/lib/model_credentials.go:601
	bytes, 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 #47093c6decafe2e8 Filesystem access.
repo/app/cli/lib/model_settings.go:44
	lastSavedHash, err := os.ReadFile(hashPath)

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

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

low env_fs production #f8ebec018c9f61b4 Filesystem access.
repo/app/cli/lib/model_settings.go:49
	localJsonData, 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 #fdb2b58362a12b5a Filesystem access.
repo/app/cli/lib/model_settings.go:88
	err = os.WriteFile(path, bytes, 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 production #608d325663aeaf33 Filesystem access.
repo/app/cli/lib/model_settings.go:109
	err = os.WriteFile(hashPath, []byte(hash), 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 production #be87180032e18e51 Filesystem access.
repo/app/cli/lib/model_settings.go:118
	jsonData, 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 #f572aeec68c69ce7 Filesystem access.
repo/app/cli/lib/model_settings.go:155
	jsonData, 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 #491606c8c99d04b1 Filesystem access.
repo/app/cli/lib/plans.go:25
	bytes, err := os.ReadFile(HomeCurrentPlanPath)

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

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

low env_fs production #7da737455ca6a3ee Filesystem access.
repo/app/cli/lib/plans.go:50
	err = os.WriteFile(HomeCurrentPlanPath, bytes, 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 production #7c8a64e9004b4ff7 Filesystem access.
repo/app/cli/lib/plans.go:71
	bytes, err := os.ReadFile(HomeCurrentPlanPath)

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

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

low env_fs production #5a891df8042d0c56 Filesystem access.
repo/app/cli/lib/plans.go:90
	err = os.WriteFile(HomeCurrentPlanPath, bytes, 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 production #36fce28d08be8759 Filesystem access.
repo/app/cli/lib/plans.go:125
	bytes, 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 #59370fd715242912 Filesystem access.
repo/app/cli/lib/plans.go:153
	err = os.WriteFile(path, bytes, 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 production #baf27e83743877d3 Filesystem access.
repo/app/cli/lib/plans.go:218
		bytes, err := os.ReadFile(v2Path)

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

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

low env_fs production #14424744b6cec058 Filesystem access.
repo/app/cli/lib/repl.go:60
		file, err := os.Create(settingsFile)

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

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

low env_fs production #d9e71d5468398022 Filesystem access.
repo/app/cli/lib/repl.go:87
	if err := os.WriteFile(settingsFile, 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 production #7dfb902676648407 Filesystem access.
repo/app/cli/lib/repl.go:98
	data, err := os.ReadFile(settingsFile)

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

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

low env_fs production #d7d7985403061a16 Environment-variable access.
repo/app/cli/lib/repl.go:162
	var env []string = 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 #fc1d5318ef561478 Environment-variable access.
repo/app/cli/lib/repl.go:163
	if os.Getenv("PLANDEX_REPL") == "" {

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

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

low env_fs production #c6fdc83f80f0f640 Filesystem access.
repo/app/cli/lib/repl.go:228
	output, err := os.ReadFile(tmpPath)

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

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

low env_fs production #c965753546691a30 Filesystem access.
repo/app/cli/lib/rewind.go:176
			diskContent, err := 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 production #3a70147e19f33d7c Filesystem access.
repo/app/cli/lib/rewind.go:296
			if err := os.WriteFile(dstPath, []byte(content), 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 #19f8a0c122a86e0e Environment-variable access.
repo/app/cli/plan_exec/tell.go:150
			SessionId:              os.Getenv("PLANDEX_REPL_SESSION_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 #62cc882c9d9ba2b8 Environment-variable access.
repo/app/cli/stream_tui/run.go:102
	if os.Getenv("PLANDEX_REPL") != "" && os.Getenv("PLANDEX_REPL_OUTPUT_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 production #03493ce341c47a19 Filesystem access.
repo/app/cli/stream_tui/run.go:104
		err := os.WriteFile(os.Getenv("PLANDEX_REPL_OUTPUT_FILE"), []byte(mod.reply), 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 production #49b88a48336bc4d8 Environment-variable access.
repo/app/cli/stream_tui/run.go:104
		err := os.WriteFile(os.Getenv("PLANDEX_REPL_OUTPUT_FILE"), []byte(mod.reply), 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 production #79e16406e2e98423 Filesystem access.
repo/app/cli/stream_tui/update.go:685
					bytes, err := os.ReadFile(msg.MissingFilePath)

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

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

low env_fs production #92f980f5cfa341f0 Filesystem access.
repo/app/cli/stream_tui/update.go:720
		bytes, err := os.ReadFile(m.missingFilePath)

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

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

low env_fs production #48993f68069c2f20 Environment-variable access.
repo/app/cli/term/format.go:35
	if style, ok := os.LookupEnv("GLAMOUR_STYLE"); ok && style != "" {

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

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

low env_fs production #53209dc343b84cb1 Environment-variable access.
repo/app/cli/term/help.go:180
	if os.Getenv("PLANDEX_DISABLE_SUGGESTIONS") != "" {

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

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

low env_fs production #7f46a5fa18ee5515 Environment-variable access.
repo/app/cli/term/os.go:15
		os.Getenv("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 #9b80c1d1df766094 Environment-variable access.
repo/app/cli/term/repl.go:5
var IsRepl = os.Getenv("PLANDEX_REPL") != ""

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

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

low env_fs production #50138313b55e660c Environment-variable access.
repo/app/cli/term/utils.go:50
	cmd.Env = append(os.Environ(), "LESS=FRX", "LESSCHARSET=utf-8")

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

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

low env_fs production #e1a36b049ddc6541 Environment-variable access.
repo/app/cli/term/utils.go:67
	cmd.Env = append(os.Environ(), "LESS=FRX", "LESSCHARSET=utf-8")

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

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

low env_fs production #02fd4a87a2e152f4 Environment-variable access.
repo/app/cli/term/utils.go:88
	if os.Getenv("PLANDEX_COLUMNS") != "" {

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

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

low env_fs production #fada14d3d5bcc314 Environment-variable access.
repo/app/cli/term/utils.go:89
		w, err := strconv.Atoi(os.Getenv("PLANDEX_COLUMNS"))

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

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

low env_fs production #67e259020ba71a38 Environment-variable access.
repo/app/cli/term/utils.go:109
	if w, err := strconv.Atoi(os.Getenv("COLUMNS")); err == nil {

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

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

low env_fs production #e36e0bae3b4c9733 Environment-variable access.
repo/app/cli/term/utils.go:125
	if os.Getenv("PLANDEX_STREAM_FOREGROUND_COLOR") != "" {

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

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

low env_fs production #d899de461023fcba Environment-variable access.
repo/app/cli/term/utils.go:126
		envStreamForegroundColor = termenv.ANSI256.Color(os.Getenv("PLANDEX_STREAM_FOREGROUND_COLOR"))

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

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

low env_fs production #32fd1770c2433b9a Environment-variable access.
repo/app/cli/upgrade.go:28
	if os.Getenv("PLANDEX_SKIP_UPGRADE") != "" {

Reads environment variables or the filesystem — 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 #3fff5b5a544afe02 Hardcoded external endpoint. Review what data is sent to this destination.
repo/app/cli/upgrade.go:41
	req, err := http.NewRequestWithContext(ctx, http.MethodGet, latestVersionURL, 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.

first-party (go): app/server

go first-party
expand_more 113 low-confidence finding(s)
low env_fs production #8291ef46f23c9b8a Environment-variable access.
repo/app/server/db/account_helpers.go:17
	isLocalMode := (os.Getenv("GOENV") == "development" && os.Getenv("LOCAL_MODE") == "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 #c7f862ef48ce1aa5 Filesystem access.
repo/app/server/db/context_helpers_get.go:84
	metaBytes, err := os.ReadFile(metaPath)

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

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

low env_fs production #7509c83d8868f3fb Filesystem access.
repo/app/server/db/context_helpers_get.go:98
		bodyBytes, err := os.ReadFile(bodyPath)

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

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

low env_fs production #6cde3f0fe9bfa2c5 Filesystem access.
repo/app/server/db/context_helpers_get.go:110
		mapPartsBytes, err := os.ReadFile(mapPartsPath)

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

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

low env_fs production #1b6b48b5a04fa80f Filesystem access.
repo/app/server/db/context_helpers_map.go:24
	mapCacheBytes, err := os.ReadFile(mapCachePath)

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

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

low env_fs production #b949a6e05d9ad249 Filesystem access.
repo/app/server/db/context_helpers_store.go:70
	if err = os.WriteFile(bodyPath, body, 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 #2a6401865f97208a Filesystem access.
repo/app/server/db/context_helpers_store.go:75
	if err = os.WriteFile(metaPath, 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 production #c9d2ad886e0a234e Filesystem access.
repo/app/server/db/context_helpers_store.go:80
		if err = os.WriteFile(mapPath, mapBytes, 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 #d641f3f893d5d706 Filesystem access.
repo/app/server/db/context_helpers_store.go:124
		err = os.WriteFile(mapCachePath, cachedContextBytes, 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 production #0785fc870cdcae81 Filesystem access.
repo/app/server/db/convo_helpers.go:47
			bytes, err := os.ReadFile(filepath.Join(convoDir, file.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 #77c8c23786a2c7d1 Filesystem access.
repo/app/server/db/convo_helpers.go:88
	bytes, err := 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 #0e1ffbe25966b383 Filesystem access.
repo/app/server/db/convo_helpers.go:125
	err = os.WriteFile(filepath.Join(convoDir, message.Id+".json"), bytes, os.ModePerm)

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

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

low env_fs production #77d211f33b065723 Environment-variable access.
repo/app/server/db/db.go:27
	dbUrl := os.Getenv("DATABASE_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 #ac66074b02937a8e Environment-variable access.
repo/app/server/db/db.go:29
		if os.Getenv("DB_HOST") != "" &&

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

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

low env_fs production #32f13409ce0eb68f Environment-variable access.
repo/app/server/db/db.go:30
			os.Getenv("DB_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.

low env_fs production #ca33f352fe4e8633 Environment-variable access.
repo/app/server/db/db.go:31
			os.Getenv("DB_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 #6b78080d1628502d Environment-variable access.
repo/app/server/db/db.go:32
			os.Getenv("DB_PASSWORD") != "" &&

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

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

low env_fs production #14cc9fa71bd99a98 Environment-variable access.
repo/app/server/db/db.go:33
			os.Getenv("DB_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 #3cdcc19228ecbd57 Environment-variable access.
repo/app/server/db/db.go:34
			encodedPassword := url.QueryEscape(os.Getenv("DB_PASSWORD"))

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

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

low env_fs production #0d274d882522574a Environment-variable access.
repo/app/server/db/db.go:36
			dbUrl = "postgres://" + os.Getenv("DB_USER") + ":" + encodedPassword + "@" + os.Getenv("DB_HOST") + ":" + os.Getenv("DB_PORT") + "/" + os.Getenv("DB_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 #6a60eefc14afe57f Environment-variable access.
repo/app/server/db/db.go:57
	if os.Getenv("GOENV") == "production" {

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

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

low env_fs production #c04e28efae158095 Environment-variable access.
repo/app/server/db/db.go:98
	if os.Getenv("MIGRATIONS_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 #8d4d263c939eec1b Environment-variable access.
repo/app/server/db/db.go:99
		migrationsDir = os.Getenv("MIGRATIONS_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 #4ef050aeb95f5b2b Filesystem access.
repo/app/server/db/diff_helpers.go:70
				err = os.WriteFile(filepath.Join(tempDirPath, path), []byte(context.Body), 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 production #cf5e273f532e0d2b Filesystem access.
repo/app/server/db/diff_helpers.go:119
			err = os.WriteFile(filepath.Join(tempDirPath, path), []byte(file), 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 production #40eca7a6d0ec5e57 Environment-variable access.
repo/app/server/db/fs.go:19
	log.Println("os.Getenv(PLANDEX_BASE_DIR):", os.Getenv("PLANDEX_BASE_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 #4ba1fa0ceeadf380 Environment-variable access.
repo/app/server/db/fs.go:20
	log.Println("GOENV:", os.Getenv("GOENV"))

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

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

low env_fs production #434da7121acb92eb Environment-variable access.
repo/app/server/db/fs.go:21
	if os.Getenv("GOENV") == "development" && os.Getenv("LOCAL_MODE") == "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 #bb4d5ae0f7935beb Environment-variable access.
repo/app/server/db/fs.go:25
	BaseDir = os.Getenv("PLANDEX_BASE_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 #1ab3a18688ba12da Environment-variable access.
repo/app/server/db/fs.go:28
		if os.Getenv("GOENV") == "development" {

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

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

low env_fs production #e823c75f9bac3c03 Filesystem access.
repo/app/server/db/plan_helpers.go:343
	err = os.WriteFile(filepath.Join(descriptionsDir, description.Id+".json"), bytes, os.ModePerm)

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

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

low env_fs production #aa7bc1efd79ec2e9 Filesystem access.
repo/app/server/db/result_helpers.go:46
	err = os.WriteFile(filepath.Join(resultsDir, result.Id+".json"), bytes, 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 production #56abf983a022f1e3 Filesystem access.
repo/app/server/db/result_helpers.go:337
			bytes, 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 #db1290db2e45031f Filesystem access.
repo/app/server/db/result_helpers.go:408
			bytes, err := os.ReadFile(filepath.Join(resultsDir, file.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 #8d74fca0cf670cdd Filesystem access.
repo/app/server/db/result_helpers.go:446
	bytes, err := os.ReadFile(filepath.Join(resultsDir, resultId+".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 #07cf33b4fed54710 Filesystem access.
repo/app/server/db/result_helpers.go:589
			err = os.WriteFile(filepath.Join(resultsDir, result.Id+".json"), bytes, 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 production #b95e8480e6dc50ae Filesystem access.
repo/app/server/db/result_helpers.go:755
	err = os.WriteFile(filepath.Join(appliesDir, planApply.Id+".json"), bytes, 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 production #004d444896ca86f8 Filesystem access.
repo/app/server/db/result_helpers.go:864
			bytes, err := os.ReadFile(filepath.Join(resultsDir, resultId+".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 #a61e1b32f932b334 Filesystem access.
repo/app/server/db/result_helpers.go:971
			err = os.WriteFile(filepath.Join(resultsDir, result.Id+".json"), bytes, 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 production #3277ad6ca9bbe728 Filesystem access.
repo/app/server/db/result_helpers.go:994
	bytes, err := os.ReadFile(filepath.Join(resultsDir, resultId+".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 #c0a434a437d8b992 Filesystem access.
repo/app/server/db/result_helpers.go:1055
			bytes, err := os.ReadFile(filepath.Join(appliesDir, file.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 #0fa9020c570abd96 Environment-variable access.
repo/app/server/db/settings_helpers.go:28
			settings.Configure(result.CustomModelPacks, result.CustomModels, result.CustomProviders, os.Getenv("PLANDEX_CLOUD") != "")

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

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

low env_fs production #56117ce479525627 Filesystem access.
repo/app/server/db/settings_helpers.go:32
	bytes, 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 #f9f2c490259ec2d6 Filesystem access.
repo/app/server/db/settings_helpers.go:91
	err = os.WriteFile(settingsPath, bytes, 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 production #cdb5decf42a68b0f Environment-variable access.
repo/app/server/db/settings_helpers.go:114
			settings.Configure(result.CustomModelPacks, result.CustomModels, result.CustomProviders, os.Getenv("PLANDEX_CLOUD") != "")

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

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

low env_fs production #1061b5106a7935e3 Environment-variable access.
repo/app/server/db/settings_helpers.go:148
			settings.Configure(result.CustomModelPacks, result.CustomModels, result.CustomProviders, os.Getenv("PLANDEX_CLOUD") != "")

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

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

low env_fs production #0f5f51284450a701 Filesystem access.
repo/app/server/db/subtask_helpers.go:14
	bytes, err := os.ReadFile(subtasksPath)

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

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

low env_fs production #4726bbe04f1cf957 Filesystem access.
repo/app/server/db/subtask_helpers.go:43
	err = os.WriteFile(filepath.Join(planDir, "subtasks.json"), bytes, os.ModePerm)

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

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

low env_fs production #85a1583742decbad Filesystem access.
repo/app/server/diff/diff.go:31
	err = os.WriteFile(filepath.Join(tempDirPath, "original"), []byte(original), 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 production #571aa9caf64f5ac5 Filesystem access.
repo/app/server/diff/diff.go:37
	err = os.WriteFile(filepath.Join(tempDirPath, "updated"), []byte(updated), 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 production #f382756ce4baa5a6 Environment-variable access.
repo/app/server/email/email.go:56
	smtpHost := os.Getenv("SMTP_HOST")

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

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

low env_fs production #4e6477de6af5edc2 Environment-variable access.
repo/app/server/email/email.go:57
	smtpPort := os.Getenv("SMTP_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.

low env_fs production #a5a40c06d57d95a8 Environment-variable access.
repo/app/server/email/email.go:58
	smtpUser := os.Getenv("SMTP_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 #81566ce74a90fbe9 Environment-variable access.
repo/app/server/email/email.go:59
	smtpPassword := os.Getenv("SMTP_PASSWORD")

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

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

low env_fs production #b335eae27c810d06 Environment-variable access.
repo/app/server/email/email.go:60
	smtpFrom := os.Getenv("SMTP_FROM")

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

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

low env_fs production #1980f1853804dc57 Environment-variable access.
repo/app/server/email/invite.go:12
	if os.Getenv("GOENV") == "production" {

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

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

low env_fs production #fde3bd15a92573ba Environment-variable access.
repo/app/server/email/invite.go:20
		if os.Getenv("IS_CLOUD") == "" {

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

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

low env_fs production #89e7016b5aed367a Environment-variable access.
repo/app/server/email/verification.go:14
	if os.Getenv("GOENV") == "production" {

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

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

low env_fs production #43ce29b4e8f9538d Environment-variable access.
repo/app/server/email/verification.go:24
		if os.Getenv("IS_CLOUD") == "" {

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

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

low env_fs production #b7ea042a9557c8d4 Environment-variable access.
repo/app/server/email/verification.go:31
	if os.Getenv("GOENV") == "development" {

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

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

low env_fs production #a923f15afda09a92 Environment-variable access.
repo/app/server/handlers/accounts.go:23
	if os.Getenv("IS_CLOUD") != "" {

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

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

low env_fs production #81b9a3dd64324a12 Environment-variable access.
repo/app/server/handlers/accounts.go:29
	isLocalMode := (os.Getenv("GOENV") == "development" && os.Getenv("LOCAL_MODE") == "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 #30c6c34ef263d6a2 Environment-variable access.
repo/app/server/handlers/accounts.go:123
		IsLocalMode: os.Getenv("GOENV") == "development" && os.Getenv("LOCAL_MODE") == "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 #deb6c909501dd916 Environment-variable access.
repo/app/server/handlers/auth_helpers.go:98
	if os.Getenv("GOENV") == "production" {

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

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

low env_fs production #1d78c01779e2347b Environment-variable access.
repo/app/server/handlers/auth_helpers.go:99
		domain = os.Getenv("APP_SUBDOMAIN") + ".plandex.ai"

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

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

low env_fs production #16509e4d4dd2a5b5 Environment-variable access.
repo/app/server/handlers/auth_helpers.go:108
		Secure:   os.Getenv("GOENV") != "development",

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

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

low env_fs production #ea7c0074a92fd498 Environment-variable access.
repo/app/server/handlers/auth_helpers.go:145
	if os.Getenv("GOENV") == "production" {

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

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

low env_fs production #5542b7e3a23ba2ea Environment-variable access.
repo/app/server/handlers/auth_helpers.go:146
		domain = os.Getenv("APP_SUBDOMAIN") + ".plandex.ai"

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

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

low env_fs production #1386ebaced21e96f Environment-variable access.
repo/app/server/handlers/auth_helpers.go:152
		Secure:   os.Getenv("GOENV") != "development",

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

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

low env_fs production #c7f7d5f361d8eb79 Environment-variable access.
repo/app/server/handlers/auth_helpers.go:201
	if os.Getenv("GOENV") == "production" {

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

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

low env_fs production #585bfe05efdd1ebd Environment-variable access.
repo/app/server/handlers/auth_helpers.go:202
		domain = os.Getenv("APP_SUBDOMAIN") + ".plandex.ai"

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

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

low env_fs production #093ce24bce3cea06 Environment-variable access.
repo/app/server/handlers/auth_helpers.go:209
		Secure:   os.Getenv("GOENV") != "development",

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

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

low env_fs production #0bd601af521c29ca Environment-variable access.
repo/app/server/handlers/auth_helpers.go:260
		Secure:   os.Getenv("GOENV") != "development",

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

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

low env_fs production #d0bb245ade92ab57 Environment-variable access.
repo/app/server/handlers/auth_helpers.go:300
	isLocalMode := (os.Getenv("GOENV") == "development" && os.Getenv("LOCAL_MODE") == "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 #f03bd1c0e54eaecc Environment-variable access.
repo/app/server/handlers/auth_helpers.go:436
		IsLocalMode: os.Getenv("GOENV") == "development" && os.Getenv("LOCAL_MODE") == "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 #971e048fdcf54808 Environment-variable access.
repo/app/server/handlers/client_helper.go:72
	if len(authVars) == 0 && os.Getenv("IS_CLOUD") != "" {

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

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

low env_fs production #47c2f5a70b773606 Environment-variable access.
repo/app/server/handlers/invites.go:22
	if os.Getenv("GOENV") == "development" && os.Getenv("LOCAL_MODE") == "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 #220ed843414a60ce Environment-variable access.
repo/app/server/handlers/invites.go:165
	if os.Getenv("GOENV") == "development" && os.Getenv("LOCAL_MODE") == "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 #2498b249719d0ba3 Environment-variable access.
repo/app/server/handlers/invites.go:223
	if os.Getenv("GOENV") == "development" && os.Getenv("LOCAL_MODE") == "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 #6a84f5f27ec60dc5 Environment-variable access.
repo/app/server/handlers/invites.go:281
	if os.Getenv("GOENV") == "development" && os.Getenv("LOCAL_MODE") == "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 #b20cf01bea741107 Environment-variable access.
repo/app/server/handlers/invites.go:339
	if os.Getenv("GOENV") == "development" && os.Getenv("LOCAL_MODE") == "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 #4fb32ee95c8af30a Environment-variable access.
repo/app/server/handlers/models.go:39
		if os.Getenv("IS_CLOUD") != "" {

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

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

low env_fs production #39bca871e0de5a70 Environment-variable access.
repo/app/server/handlers/models.go:46
		if os.Getenv("IS_CLOUD") != "" {

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

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

low env_fs production #7d3d5281c82aca7d Environment-variable access.
repo/app/server/handlers/models.go:127
	if os.Getenv("IS_CLOUD") == "" {

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

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

low env_fs production #1f884c7de7c296e2 Environment-variable access.
repo/app/server/handlers/models.go:213
				if os.Getenv("IS_CLOUD") != "" && pc.LocalOnly {

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

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

low env_fs production #c74a5053a15ab3dd Environment-variable access.
repo/app/server/handlers/models.go:245
			if builtIn && os.Getenv("IS_CLOUD") != "" && bm.IsLocalOnly() {

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

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

low env_fs production #4eea4f71e1bc2e96 Environment-variable access.
repo/app/server/handlers/models.go:437
	if os.Getenv("IS_CLOUD") != "" {

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

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

low env_fs production #8579a6cb53ebbdf1 Environment-variable access.
repo/app/server/handlers/orgs.go:58
	if os.Getenv("IS_CLOUD") != "" {

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

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

low env_fs production #0ab0a1ae7036d1af Environment-variable access.
repo/app/server/handlers/proxy_helper.go:48
		proxyUrl := fmt.Sprintf("http://%s:%s/plans/%s/%s/%s", modelStream.InternalIp, os.Getenv("PORT"), planId, branch, method)

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

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

low env_fs production #ae590cf340851abf Environment-variable access.
repo/app/server/handlers/sessions.go:85
	if !(os.Getenv("GOENV") == "development" && os.Getenv("LOCAL_MODE") == "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 #d2e6cc587682fcfb Environment-variable access.
repo/app/server/handlers/settings.go:117
			if os.Getenv("IS_CLOUD") != "" && mp.LocalProvider != "" {

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

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

low env_fs production #77dbfc9d515445fb Environment-variable access.
repo/app/server/handlers/settings.go:137
			if builtIn && os.Getenv("IS_CLOUD") != "" && bm.IsLocalOnly() {

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

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

low env_fs production #2358af76c6f676a4 Environment-variable access.
repo/app/server/handlers/users.go:21
	if os.Getenv("GOENV") == "development" && os.Getenv("LOCAL_MODE") == "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 #6dbdeab72fb884ac Environment-variable access.
repo/app/server/handlers/users.go:96
	if os.Getenv("GOENV") == "development" && os.Getenv("LOCAL_MODE") == "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 #e88a5d9f44cdfeed Environment-variable access.
repo/app/server/host/ip.go:16
	if os.Getenv("GOENV") == "development" {

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

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

low env_fs production #ee2fbfeed10ed4bb Environment-variable access.
repo/app/server/host/ip.go:21
	if os.Getenv("IS_CLOUD") != "" {

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

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

low env_fs production #f9120a238ec9f85a Environment-variable access.
repo/app/server/host/ip.go:31
	} else if os.Getenv("IP") != "" {

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

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

low env_fs production #de3f7851dfcc62f2 Environment-variable access.
repo/app/server/host/ip.go:32
		Ip = os.Getenv("IP")

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

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

low env_fs production #996c97e390b4b9c7 Environment-variable access.
repo/app/server/host/ip.go:48
	ecsMetadataURL := os.Getenv("ECS_CONTAINER_METADATA_URI")

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

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

low env_fs production #8965cf403d5b7a74 Environment-variable access.
repo/app/server/model/client.go:295
		if os.Getenv("OLLAMA_BASE_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 #96d83233d27fd18d Environment-variable access.
repo/app/server/model/client.go:296
			extendedReq.LiteLLMApiBase = os.Getenv("OLLAMA_BASE_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 #192b2f430889bf71 Environment-variable access.
repo/app/server/model/client.go:538
	if os.Getenv("GOENV") == "production" {

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

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

low env_fs production #f3dabb8fba405399 Environment-variable access.
repo/app/server/model/litellm.go:115
	if os.Getenv("LITELLM_PROXY_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 #8a957923d75dfe52 Environment-variable access.
repo/app/server/model/litellm.go:116
		liteLLMCmd.Dir = os.Getenv("LITELLM_PROXY_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 #cdfcd3bbedfe5eff Environment-variable access.
repo/app/server/model/litellm.go:121
		"PATH=" + os.Getenv("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 #e5fd76c683cf2a3f Environment-variable access.
repo/app/server/model/litellm.go:122
		"HOME=" + os.Getenv("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 #bed438b3cd1de8be Environment-variable access.
repo/app/server/model/litellm.go:125
	if os.Getenv("OLLAMA_BASE_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 #05729dbd0e3add6e Environment-variable access.
repo/app/server/model/litellm.go:128
		liteLLMCmd.Env = append(liteLLMCmd.Env, "OLLAMA_BASE_URL="+os.Getenv("OLLAMA_BASE_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 #adaa02e83923bce4 Environment-variable access.
repo/app/server/routes/routes.go:56
		if os.Getenv("IS_CLOUD") != "" {

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

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

low env_fs production #29db316d8be5de47 Filesystem access.
repo/app/server/routes/routes.go:62
		bytes, 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 #83c3bde5cff8f808 Environment-variable access.
repo/app/server/setup/setup.go:67
	if os.Getenv("GOENV") == "development" {

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

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

low env_fs production #4f01c43b06839341 Environment-variable access.
repo/app/server/setup/setup.go:85
	externalPort := os.Getenv("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.

low env_fs production #6f42bed886232b72 Environment-variable access.
repo/app/server/syntax/file_map/map.go:15
var verboseLogging = os.Getenv("VERBOSE_LOGGING") == "true"

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

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

first-party (go): app/server/syntax/file_map/cli

go first-party
expand_more 1 low-confidence finding(s)
low env_fs production #72d3f68c6474ac28 Filesystem access.
repo/app/server/syntax/file_map/cli/main.go:50
			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.

</> Dependencies

github.com/sashabaranov/go-openai

go dependency
medium pii_flow tooling Excluded from app score unknown #ce0b4aee8a986b7d 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]/examples/chatbot/main.go:35 · flow /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/chatbot/main.go:13 → /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/chatbot/main.go:35
			fmt.Printf("ChatCompletion error: %v\n", 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 tooling Excluded from app score unknown #0c2d3a43d072bbfb 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]/examples/chatbot/main.go:38 · flow /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/chatbot/main.go:13 → /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/chatbot/main.go:38
		fmt.Printf("%s\n\n", resp.Choices[0].Message.Content)

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 tooling Excluded from app score unknown #b04719a4384cd7a8 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]/examples/completion-with-tool/main.go:55 · flow /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/completion-with-tool/main.go:14 → /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/completion-with-tool/main.go:55
		fmt.Printf("Completion error: err:%v len(choices):%v\n", err,
			len(resp.Choices))

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 tooling Excluded from app score unknown #73b73a582a00adb5 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]/examples/completion-with-tool/main.go:61 · flow /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/completion-with-tool/main.go:14 → /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/completion-with-tool/main.go:61
		fmt.Printf("Completion error: len(toolcalls): %v\n", len(msg.ToolCalls))

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 tooling Excluded from app score unknown #157e717def63486b 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]/examples/completion-with-tool/main.go:67 · flow /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/completion-with-tool/main.go:14 → /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/completion-with-tool/main.go:67
	fmt.Printf("OpenAI called us back wanting to invoke our function '%v' with params '%v'\n",
		msg.ToolCalls[0].Function.Name, msg.ToolCalls[0].Function.Arguments)

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 tooling Excluded from app score unknown #cf978cca60a4d113 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]/examples/completion-with-tool/main.go:85 · flow /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/completion-with-tool/main.go:14 → /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/completion-with-tool/main.go:85
		fmt.Printf("2nd completion error: err:%v len(choices):%v\n", err,
			len(resp.Choices))

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 tooling Excluded from app score unknown #5a6b84ec66c9eac6 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]/examples/completion-with-tool/main.go:92 · flow /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/completion-with-tool/main.go:14 → /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/completion-with-tool/main.go:92
	fmt.Printf("OpenAI answered the original request with: %v\n",
		msg.Content)

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 tooling Excluded from app score unknown #4f9916db1b5408ec 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]/examples/completion/main.go:22 · flow /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/completion/main.go:12 → /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/completion/main.go:22
		fmt.Printf("Completion error: %v\n", 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 tooling Excluded from app score unknown #a450983c4b3cc99b 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]/examples/completion/main.go:25 · flow /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/completion/main.go:12 → /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/completion/main.go:25
	fmt.Println(resp.Choices[0].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.

medium pii_flow tooling Excluded from app score unknown #f4cd746709924b80 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]/examples/images/main.go:24 · flow /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/images/main.go:12 → /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/images/main.go:24
		fmt.Printf("Image creation error: %v\n", 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 tooling Excluded from app score unknown #87376134fd7d65f4 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]/examples/images/main.go:27 · flow /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/images/main.go:12 → /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/images/main.go:27
	fmt.Println(respUrl.Data[0].URL)

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 tooling Excluded from app score unknown #e8a881dab8c11591 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]/examples/voice-to-text/main.go:31 · flow /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/voice-to-text/main.go:22 → /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/voice-to-text/main.go:31
		fmt.Printf("Transcription error: %v\n", 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 tooling Excluded from app score unknown #23383ce2d2ffe5e1 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]/examples/voice-to-text/main.go:34 · flow /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/voice-to-text/main.go:22 → /tmp/closeopen-oqswu7cx/pkgs/go/[email protected]/examples/voice-to-text/main.go:34
	fmt.Println(resp.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 7 low-confidence finding(s)
low env_fs dependency Excluded from app score #1e31ba87984ad41c Filesystem access.
pkgs/go/[email protected]/audio.go:222
	f, err := os.Open(request.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 tooling Excluded from app score unknown #b744ea999a613cbc Environment-variable access.
pkgs/go/[email protected]/examples/chatbot/main.go:13
	client := openai.NewClient(os.Getenv("OPENAI_API_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 tooling Excluded from app score unknown #52c10bb6471188c9 Environment-variable access.
pkgs/go/[email protected]/examples/completion-with-tool/main.go:14
	client := openai.NewClient(os.Getenv("OPENAI_API_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 tooling Excluded from app score unknown #e52ce5f064c8b100 Environment-variable access.
pkgs/go/[email protected]/examples/completion/main.go:12
	client := openai.NewClient(os.Getenv("OPENAI_API_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 tooling Excluded from app score unknown #51f207904e52aa4a Environment-variable access.
pkgs/go/[email protected]/examples/images/main.go:12
	client := openai.NewClient(os.Getenv("OPENAI_API_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 tooling Excluded from app score unknown #4efc7e3bd0403e06 Environment-variable access.
pkgs/go/[email protected]/examples/voice-to-text/main.go:22
	client := openai.NewClient(os.Getenv("OPENAI_API_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 dependency Excluded from app score #860e166978ddda97 Filesystem access.
pkgs/go/[email protected]/files.go:101
	fileData, err := os.Open(request.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.

github.com/atotto/clipboard

go dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #3a3b9ebb5612b345 Filesystem access.
pkgs/go/[email protected]/clipboard_plan9.go:15
	f, err := os.Open("/dev/snarf")

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

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

low env_fs dependency Excluded from app score #bbe96a460e17070f Filesystem access.
pkgs/go/[email protected]/clipboard_plan9.go:30
	f, err := os.OpenFile("/dev/snarf", os.O_WRONLY, 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 #705f9c229218e03f Environment-variable access.
pkgs/go/[email protected]/clipboard_unix.go:52
	if 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.

github.com/aws/aws-sdk-go-v2/config

go dependency
expand_more 35 low-confidence finding(s)
low env_fs dependency Excluded from app score #2dcc05c60c5706fa Filesystem access.
pkgs/go/[email protected]/codegen/main.go:94
	file, err := os.OpenFile(config.OutputPath, os.O_CREATE|os.O_TRUNC|os.O_WRONLY, 0744)

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

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

low env_fs dependency Excluded from app score #bd981c1baf61cb64 Environment-variable access.
pkgs/go/[email protected]/config.go:221
	if os.Getenv(awsProfileEnv) != "" || options.SharedConfigProfile != "" {

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

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

low env_fs dependency Excluded from app score #a6863d195c369d2c Environment-variable access.
pkgs/go/[email protected]/defaultsmode.go:43
		EnvironmentIdentifier:     aws.ExecutionEnvironmentID(os.Getenv(execEnvVar)),

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

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

low env_fs dependency Excluded from app score #1e02c8536d13756e Environment-variable access.
pkgs/go/[email protected]/env_config.go:326
		creds.AccountID = os.Getenv(awsAccountIDEnv)

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

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

low env_fs dependency Excluded from app score #c2f86a6de64399ee Environment-variable access.
pkgs/go/[email protected]/env_config.go:327
		creds.SessionToken = os.Getenv(awsSessionTokenEnv)

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

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

low env_fs dependency Excluded from app score #c39198419ba2e42f Environment-variable access.
pkgs/go/[email protected]/env_config.go:331
	cfg.ContainerCredentialsEndpoint = os.Getenv(awsContainerCredentialsFullURIEnv)

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

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

low env_fs dependency Excluded from app score #0d5df9fc4353a2ac Environment-variable access.
pkgs/go/[email protected]/env_config.go:332
	cfg.ContainerCredentialsRelativePath = os.Getenv(awsContainerCredentialsRelativeURIEnv)

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

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

low env_fs dependency Excluded from app score #e81e16a395bfbae2 Environment-variable access.
pkgs/go/[email protected]/env_config.go:333
	cfg.ContainerAuthorizationToken = os.Getenv(awsContainerAuthorizationTokenEnv)

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

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

low env_fs dependency Excluded from app score #43014ccf1ff55c89 Environment-variable access.
pkgs/go/[email protected]/env_config.go:338
	cfg.SharedCredentialsFile = os.Getenv(awsSharedCredentialsFileEnv)

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

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

low env_fs dependency Excluded from app score #25a6252c16e37d05 Environment-variable access.
pkgs/go/[email protected]/env_config.go:339
	cfg.SharedConfigFile = os.Getenv(awsConfigFileEnv)

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

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

low env_fs dependency Excluded from app score #93951a048e7048c7 Environment-variable access.
pkgs/go/[email protected]/env_config.go:341
	cfg.CustomCABundle = os.Getenv(awsCABundleEnv)

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

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

low env_fs dependency Excluded from app score #e121af75fb4d3ac6 Environment-variable access.
pkgs/go/[email protected]/env_config.go:343
	cfg.WebIdentityTokenFilePath = os.Getenv(awsWebIdentityTokenFileEnv)

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

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

low env_fs dependency Excluded from app score #53903d9774b5351a Environment-variable access.
pkgs/go/[email protected]/env_config.go:345
	cfg.RoleARN = os.Getenv(awsRoleARNEnv)

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

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

low env_fs dependency Excluded from app score #41fde6c35200a2e8 Environment-variable access.
pkgs/go/[email protected]/env_config.go:346
	cfg.RoleSessionName = os.Getenv(awsRoleSessionNameEnv)

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

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

low env_fs dependency Excluded from app score #382e15642e4abcf8 Environment-variable access.
pkgs/go/[email protected]/env_config.go:348
	cfg.AppID = os.Getenv(awsSdkUaAppIDEnv)

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

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

low env_fs dependency Excluded from app score #fb7ba75e333f2aab Environment-variable access.
pkgs/go/[email protected]/env_config.go:369
	cfg.EC2IMDSEndpoint = os.Getenv(awsEc2MetadataServiceEndpointEnv)

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

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

low env_fs dependency Excluded from app score #efe6c6088b29f623 Environment-variable access.
pkgs/go/[email protected]/env_config.go:478
		value := os.Getenv(k)

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

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

low env_fs dependency Excluded from app score #d4aebfbcf14a87fd Environment-variable access.
pkgs/go/[email protected]/env_config.go:496
		if value := os.Getenv(k); len(value) > 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 #c4b3f9de92db3797 Environment-variable access.
pkgs/go/[email protected]/env_config.go:508
		if value := os.Getenv(k); len(value) > 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 #a9edbd3256046b79 Environment-variable access.
pkgs/go/[email protected]/env_config.go:521
		value := os.Getenv(k)

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

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

low env_fs dependency Excluded from app score #c59abb91a9db9524 Environment-variable access.
pkgs/go/[email protected]/env_config.go:534
		value := os.Getenv(k)

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

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

low env_fs dependency Excluded from app score #a10a4128ff073df5 Environment-variable access.
pkgs/go/[email protected]/env_config.go:556
		value := os.Getenv(k)

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

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

low env_fs dependency Excluded from app score #04ead0daba4c8aac Environment-variable access.
pkgs/go/[email protected]/env_config.go:575
		value := os.Getenv(k)

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

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

low env_fs dependency Excluded from app score #43e7642ea5e1fd7d Filesystem access.
pkgs/go/[email protected]/env_config.go:649
	b, err := os.ReadFile(c.CustomCABundle)

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

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

low env_fs dependency Excluded from app score #f209e652d036b3b8 Environment-variable access.
pkgs/go/[email protected]/env_config.go:673
	if endpt := os.Getenv(fmt.Sprintf("%s_%s", awsEndpointURLEnv, normalizeEnv(sdkID))); endpt != "" {

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

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

low env_fs dependency Excluded from app score #de18fbeb5967f7a0 Environment-variable access.
pkgs/go/[email protected]/env_config.go:726
		if v := os.Getenv(k); len(v) > 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 #808626b587c5e7c9 Environment-variable access.
pkgs/go/[email protected]/env_config.go:735
		if v := os.Getenv(k); len(v) > 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 #5360e71cc349ffb3 Environment-variable access.
pkgs/go/[email protected]/env_config.go:750
		value := os.Getenv(k)

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

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

low env_fs dependency Excluded from app score #738c1971a56b9f60 Environment-variable access.
pkgs/go/[email protected]/env_config.go:777
		value := os.Getenv(k)

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

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

low env_fs dependency Excluded from app score #02f5a0a3d116876e Environment-variable access.
pkgs/go/[email protected]/env_config.go:801
		value := os.Getenv(k)

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

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

low env_fs dependency Excluded from app score #820343fdd0102b94 Environment-variable access.
pkgs/go/[email protected]/env_config.go:824
		value := os.Getenv(k)

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

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

low env_fs dependency Excluded from app score #96cb4aff72188114 Environment-variable access.
pkgs/go/[email protected]/env_config.go:845
		value := os.Getenv(k)

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

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

low env_fs dependency Excluded from app score #bb50918d68dc4afa Environment-variable access.
pkgs/go/[email protected]/resolve_credentials.go:340
			if authFilePath := os.Getenv(httpProviderAuthFileEnvVar); authFilePath != "" {

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

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

low env_fs dependency Excluded from app score #97d91bac76c4770f Filesystem access.
pkgs/go/[email protected]/resolve_credentials.go:344
					if contents, err = ioutil.ReadFile(authFilePath); err != nil {

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

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

low env_fs dependency Excluded from app score #319912223544b86d Filesystem access.
pkgs/go/[email protected]/shared_config.go:495
	b, err := ioutil.ReadFile(c.CustomCABundle)

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

go dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #4677c0a6f6b6d533 Environment-variable access.
pkgs/go/[email protected]/spinner.go:106
var isWindowsTerminalOnWindows = len(os.Getenv("WT_SESSION")) > 0 && isWindows

Reads environment variables or the 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 #fb2af7fbb368c269 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:gomnd

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

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

low env_fs dependency Excluded from app score #0b78c85ed8f0b09c Environment-variable access.
pkgs/go/[email protected]/tea.go:255
		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 #ac3d2ef9da729530 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 #b217099355ab79fc Filesystem access.
pkgs/go/[email protected]/tty_windows.go:59
	f, err := os.OpenFile("CONIN$", 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.

github.com/charmbracelet/glamour

go dependency
expand_more 4 low-confidence finding(s)
low env_fs dependency Excluded from app score #298099b74ee0487b Filesystem access.
pkgs/go/[email protected]/glamour.go:141
			jsonBytes, err := ioutil.ReadFile(stylePath)

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

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

low env_fs dependency Excluded from app score #ec29bd4ecf9950c8 Filesystem access.
pkgs/go/[email protected]/glamour.go:172
		jsonBytes, err := ioutil.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 #87e0f24c8f14dec3 Environment-variable access.
pkgs/go/[email protected]/glamour.go:238
	glamourStyle := os.Getenv("GLAMOUR_STYLE")

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

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

low env_fs dependency Excluded from app score #147946ce3ff8b351 Filesystem access.
pkgs/go/[email protected]/internal/generate-style-json/main.go:14
	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.

github.com/charmbracelet/glow

go dependency
expand_more 8 low-confidence finding(s)
low env_fs dependency Excluded from app score #a54acf76bfd985ca Filesystem access.
pkgs/go/[email protected]/config_cmd.go:54
			f, err := os.Create(configFile)

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

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

low env_fs dependency Excluded from app score #43217ec6abdc1fa5 Environment-variable access.
pkgs/go/[email protected]/editor/editor.go:19
	editor := strings.Fields(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 dependency Excluded from app score #9aa430296988e297 Filesystem access.
pkgs/go/[email protected]/main.go:109
					r, 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 #0e50a6ae4910b9bd Filesystem access.
pkgs/go/[email protected]/main.go:132
	r, err := os.Open(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 #49e3d13502c8ac64 Environment-variable access.
pkgs/go/[email protected]/main.go:299
		pagerCmd := os.Getenv("PAGER")

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

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

low env_fs dependency Excluded from app score #2a7b168c7d1f09db Filesystem access.
pkgs/go/[email protected]/stash_cmd.go:40
			f, 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 dependency Excluded from app score #36687420a68c0402 Filesystem access.
pkgs/go/[email protected]/ui/stash.go:1415
		data, err := os.ReadFile(md.localPath)

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

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

low env_fs dependency Excluded from app score #c9011b094e9f7241 Filesystem access.
pkgs/go/[email protected]/ui/ui.go:667
				data, err := os.ReadFile(md.localPath)

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

go dependency
expand_more 7 low-confidence finding(s)
low env_fs dependency Excluded from app score #d8454165d5602eca Environment-variable access.
pkgs/go/[email protected]/allocate.go:198
		cmd.Env = append(os.Environ(), cmd.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.

low env_fs dependency Excluded from app score #652c1f57bf69766d Environment-variable access.
pkgs/go/[email protected]/allocate.go:365
			filepath.Join(os.Getenv("USERPROFILE"), `AppData\Local\Google\Chrome\Application\chrome.exe`),

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

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

low env_fs dependency Excluded from app score #ed27438a128cb850 Environment-variable access.
pkgs/go/[email protected]/allocate.go:366
			filepath.Join(os.Getenv("USERPROFILE"), `AppData\Local\Chromium\Application\chrome.exe`),

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

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

low env_fs dependency Excluded from app score #e6e7fe49ff1b3cee Environment-variable access.
pkgs/go/[email protected]/allocate_linux.go:13
	if _, ok := os.LookupEnv("LAMBDA_TASK_ROOT"); 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 dependency Excluded from app score #8ca4740e9698c681 Filesystem access.
pkgs/go/[email protected]/device/gen.go:84
	return os.WriteFile(out, src, 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 egress dependency Excluded from app score #b7b2b03e3df71e47 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/device/gen.go:97
	res, err := http.Get(deviceDescriptorsURL)

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 #bd31bc41a3d07f02 Filesystem access.
pkgs/go/[email protected]/kb/gen.go:51
	return os.WriteFile(out, src, 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.

github.com/coreos/go-systemd/v22

go dependency
expand_more 15 low-confidence finding(s)
low env_fs dependency Excluded from app score #6f340e543e2dcbf5 Environment-variable access.
pkgs/go/[email protected]/activation/files_unix.go:46
	pid, err := strconv.Atoi(os.Getenv("LISTEN_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 dependency Excluded from app score #6ae5f80abc60ba7b Environment-variable access.
pkgs/go/[email protected]/activation/files_unix.go:51
	nfds, err := strconv.Atoi(os.Getenv("LISTEN_FDS"))

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

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

low env_fs dependency Excluded from app score #e14bc4b624411737 Environment-variable access.
pkgs/go/[email protected]/activation/files_unix.go:56
	names := strings.Split(os.Getenv("LISTEN_FDNAMES"), ":")

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

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

low env_fs dependency Excluded from app score #125d9c783247ea29 Environment-variable access.
pkgs/go/[email protected]/daemon/sdnotify.go:58
		Name: os.Getenv("NOTIFY_SOCKET"),

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

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

low env_fs dependency Excluded from app score #65788e1496364595 Environment-variable access.
pkgs/go/[email protected]/daemon/watchdog.go:36
	wusec := os.Getenv("WATCHDOG_USEC")

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

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

low env_fs dependency Excluded from app score #ed5ba5d9097f4b77 Environment-variable access.
pkgs/go/[email protected]/daemon/watchdog.go:37
	wpid := os.Getenv("WATCHDOG_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 tooling Excluded from app score unknown #26bc28c0ecb41c69 Environment-variable access.
pkgs/go/[email protected]/examples/activation/activation.go:29
	if os.Getenv("FIX_LISTEN_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 tooling Excluded from app score unknown #adb35f2e094dcc49 Environment-variable access.
pkgs/go/[email protected]/examples/activation/activation.go:46
	if os.Getenv("LISTEN_PID") == "" || os.Getenv("LISTEN_FDS") == "" || os.Getenv("LISTEN_FDNAMES") == "" {

Reads environment variables or the filesystem — an inventory-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 #1d27d7f37631bb8c Environment-variable access.
pkgs/go/[email protected]/examples/activation/activation.go:52
	if os.Getenv("LISTEN_PID") != "" || os.Getenv("LISTEN_FDS") != "" || os.Getenv("LISTEN_FDNAMES") != "" {

Reads environment variables or the filesystem — an inventory-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 #a2044c4de5fd7976 Environment-variable access.
pkgs/go/[email protected]/examples/activation/listen.go:29
	if os.Getenv("FIX_LISTEN_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 tooling Excluded from app score unknown #4cc7f2d3458325aa Environment-variable access.
pkgs/go/[email protected]/examples/activation/listen.go:45
	if os.Getenv("LISTEN_PID") != "" || os.Getenv("LISTEN_FDS") != "" || os.Getenv("LISTEN_FDNAMES") != "" {

Reads environment variables or the filesystem — an inventory-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 #4359453b10d2b486 Environment-variable access.
pkgs/go/[email protected]/examples/activation/udpconn.go:30
	if os.Getenv("FIX_LISTEN_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 tooling Excluded from app score unknown #a9e723835c10d17f Environment-variable access.
pkgs/go/[email protected]/examples/activation/udpconn.go:46
	if os.Getenv("LISTEN_PID") != "" || os.Getenv("LISTEN_FDS") != "" || os.Getenv("LISTEN_FDNAMES") != "" {

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

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

low env_fs dependency Excluded from app score #81073edf1a5bc6e3 Environment-variable access.
pkgs/go/[email protected]/journal/journal_unix.go:103
	journalStream := os.Getenv("JOURNAL_STREAM")

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

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

low env_fs dependency Excluded from app score #de9b8bf4308e5c8f Filesystem access.
pkgs/go/[email protected]/util/util.go:85
	machineID, err := ioutil.ReadFile("/etc/machine-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.

github.com/eiannone/keyboard

go dependency
expand_more 9 low-confidence finding(s)
low env_fs dependency Excluded from app score #a5d3476cf1556d32 Filesystem access.
pkgs/go/[email protected]/keyboard.go:135
	out, err = os.OpenFile("/dev/tty", unix.O_WRONLY, 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 #b11587a9fe41cda4 Environment-variable access.
pkgs/go/[email protected]/terminfo.go:66
	term := os.Getenv("TERM")

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

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

low env_fs dependency Excluded from app score #f9b8315c0916c68c Environment-variable access.
pkgs/go/[email protected]/terminfo.go:80
	terminfo := os.Getenv("TERMINFO")

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

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

low env_fs dependency Excluded from app score #58d72b7cadae883b Environment-variable access.
pkgs/go/[email protected]/terminfo.go:87
	home := os.Getenv("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 dependency Excluded from app score #9008486ec7dc436c Environment-variable access.
pkgs/go/[email protected]/terminfo.go:96
	dirs := os.Getenv("TERMINFO_DIRS")

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

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

low env_fs dependency Excluded from app score #679d31ca6e4f5357 Environment-variable access.
pkgs/go/[email protected]/terminfo.go:122
	term := os.Getenv("TERM")

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

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

low env_fs dependency Excluded from app score #e91e149cc6efe903 Filesystem access.
pkgs/go/[email protected]/terminfo.go:126
	data, err = ioutil.ReadFile(terminfo)

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

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

low env_fs dependency Excluded from app score #3e27049ad026bfef Filesystem access.
pkgs/go/[email protected]/terminfo.go:133
	data, err = ioutil.ReadFile(terminfo)

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

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

low env_fs dependency Excluded from app score #6db286772ed55a8d Environment-variable access.
pkgs/go/[email protected]/terminfo.go:138
	name := os.Getenv("TERM")

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

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #283e0f1426d5c848 Environment-variable access.
pkgs/go/[email protected]/color.go:22
	NoColor = noColorIsSet() || 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 #af754a8f5b24e460 Environment-variable access.
pkgs/go/[email protected]/color.go:40
	return os.Getenv("NO_COLOR") != ""

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

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #8c630e8d6014f5f4 Filesystem access.
pkgs/go/[email protected]/beep_unix.go:83
	f, err := os.OpenFile("/dev/tty0", 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 #cd31dfba1758e3e1 Filesystem access.
pkgs/go/[email protected]/beep_unix.go:86
		f, err = os.OpenFile("/dev/input/by-path/platform-pcspkr-event-spkr", 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.

github.com/godbus/dbus/v5

go dependency
expand_more 8 low-confidence finding(s)
low env_fs dependency Excluded from app score #cf5b9c21785371d1 Filesystem access.
pkgs/go/[email protected]/auth_sha1.go:66
	file, err := os.Open(a.home + "/.dbus-keyrings/" + string(context))

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

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

low env_fs dependency Excluded from app score #f4e9d9933d153337 Environment-variable access.
pkgs/go/[email protected]/conn.go:77
	if address := os.Getenv("DBUS_SESSION_BUS_ADDRESS"); address != "" && address != "autolaunch:" {

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

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

low env_fs dependency Excluded from app score #d5564a80ef2576e5 Environment-variable access.
pkgs/go/[email protected]/conn_darwin.go:28
	address := os.Getenv("DBUS_LAUNCHD_SESSION_BUS_SOCKET")

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

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

low env_fs dependency Excluded from app score #bb490b46a5c4b759 Filesystem access.
pkgs/go/[email protected]/conn_other.go:64
			if f, err := ioutil.ReadFile(runUserSessionDbusFile); err == nil {

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

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

low env_fs dependency Excluded from app score #c6ea4329d5d28e86 Environment-variable access.
pkgs/go/[email protected]/conn_unix.go:12
	address := os.Getenv("DBUS_SYSTEM_BUS_ADDRESS")

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

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

low env_fs dependency Excluded from app score #124a21e1c8f7a815 Environment-variable access.
pkgs/go/[email protected]/conn_windows.go:10
	address := os.Getenv("DBUS_SYSTEM_BUS_ADDRESS")

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

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

low env_fs dependency Excluded from app score #27548765752cfa25 Environment-variable access.
pkgs/go/[email protected]/homedir.go:17
	homeDir := os.Getenv("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 dependency Excluded from app score #3bb080e352305978 Filesystem access.
pkgs/go/[email protected]/transport_nonce_tcp.go:30
	b, err := ioutil.ReadFile(noncefile)

Reads environment variables or the 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/golang-migrate/migrate/v4

go dependency
expand_more 4 low-confidence finding(s)
low env_fs dependency Excluded from app score #0d007ce059f4f9e8 Filesystem access.
pkgs/go/[email protected]/database/mysql/mysql.go:159
				pem, err := os.ReadFile(parsedParams.Get("x-tls-ca"))

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

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

low env_fs dependency Excluded from app score #af774f10b511e161 Filesystem access.
pkgs/go/[email protected]/internal/cli/commands.go:141
	f, err := os.OpenFile(filename, os.O_RDWR|os.O_CREATE|os.O_EXCL, 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 tooling Excluded from app score unknown #8eae66171d6094f9 Filesystem access.
pkgs/go/[email protected]/source/go_bindata/examples/migrations/bindata.go:274
	err = os.WriteFile(_filePath(dir, name), data, 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 #99b8d9421c13469a Environment-variable access.
pkgs/go/[email protected]/testing/testing.go:24
	timeout, err := strconv.Atoi(os.Getenv("MIGRATE_TEST_CONTAINER_BOOT_TIMEOUT"))

Reads environment variables or the 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/inconshreveable/go-update

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #0472d04e0ee9871a Filesystem access.
pkgs/go/github.com_inconshreveable_go-update@v0.0.0-20160112193335-8152e7eb6ccf/apply.go:280
	old, err := os.Open(o.TargetPath)

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

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

low env_fs dependency Excluded from app score #85b54a149ef7fc5f Filesystem access.
pkgs/go/github.com_inconshreveable_go-update@v0.0.0-20160112193335-8152e7eb6ccf/internal/osext/osext_plan9.go:14
	f, err := os.Open("/proc/" + strconv.Itoa(os.Getpid()) + "/text")

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

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #0975945513364420 Filesystem access.
pkgs/go/[email protected]/sqlx.go:712
	contents, err := ioutil.ReadFile(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 dependency Excluded from app score #317088e3885c1abd Filesystem access.
pkgs/go/[email protected]/sqlx_context.go:103
	contents, err := ioutil.ReadFile(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.

github.com/lib/pq

go dependency
expand_more 9 low-confidence finding(s)
low env_fs dependency Excluded from app score #759e8a677d9af088 Environment-variable access.
pkgs/go/[email protected]/conn.go:236
	filename := os.Getenv("PGPASSFILE")

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

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

low env_fs dependency Excluded from app score #376a8172e7a53f12 Environment-variable access.
pkgs/go/[email protected]/conn.go:241
		userHome := os.Getenv("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 dependency Excluded from app score #aec94a9c43852358 Filesystem access.
pkgs/go/[email protected]/conn.go:260
	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 #9da61e13a79c2258 Environment-variable access.
pkgs/go/[email protected]/connector.go:61
	for k, v := range parseEnviron(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 #7cdf57288ceda6f3 Environment-variable access.
pkgs/go/[email protected]/oid/gen.go:31
	datname := os.Getenv("PGDATABASE")

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

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

low env_fs dependency Excluded from app score #f4322a4d6dc1c0ca Environment-variable access.
pkgs/go/[email protected]/oid/gen.go:32
	sslmode := os.Getenv("PGSSLMODE")

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

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

low env_fs dependency Excluded from app score #722264de80415f2d Filesystem access.
pkgs/go/[email protected]/oid/gen.go:71
	f, err := os.Create("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 #cd8afadcfc75ddac Filesystem access.
pkgs/go/[email protected]/ssl.go:168
			cert, err = ioutil.ReadFile(sslrootcert)

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

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

low env_fs dependency Excluded from app score #5dd9b420750a75a7 Environment-variable access.
pkgs/go/[email protected]/user_posix.go:19
	name := os.Getenv("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.

github.com/muesli/termenv

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #d4100b5114786f9a Environment-variable access.
pkgs/go/[email protected]/output.go:49
	return 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 #59cb79e4d6c8e0a7 Environment-variable access.
pkgs/go/[email protected]/output.go:53
	return 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.

github.com/olekukonko/tablewriter

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #db1865a7abf251ce 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 #fcae12ce1aec8340 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/pkoukk/tiktoken-go

go dependency
expand_more 7 low-confidence finding(s)
low env_fs dependency Excluded from app score #a705efe18ba8adbe Filesystem access.
pkgs/go/[email protected]/load.go:23
		file, 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 dependency Excluded from app score #c5efc362319ed8c9 Environment-variable access.
pkgs/go/[email protected]/load.go:41
	if os.Getenv("TIKTOKEN_CACHE_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 #e92270f4ff677b67 Environment-variable access.
pkgs/go/[email protected]/load.go:42
		cacheDir = os.Getenv("TIKTOKEN_CACHE_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 #b88620f5f97a653d Environment-variable access.
pkgs/go/[email protected]/load.go:43
	} else if os.Getenv("DATA_GYM_CACHE_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 #d5ac4f123cad6c40 Environment-variable access.
pkgs/go/[email protected]/load.go:44
		cacheDir = os.Getenv("DATA_GYM_CACHE_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 #2d3e68f499f3f7e9 Filesystem access.
pkgs/go/[email protected]/load.go:58
		return ioutil.ReadFile(cachePath)

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

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

low env_fs dependency Excluded from app score #b647fcc7451289be Filesystem access.
pkgs/go/[email protected]/load.go:68
	if err := ioutil.WriteFile(tmpFilename, contents, os.ModePerm); err != nil {

Reads environment variables or the 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/plandex-ai/go-prompt

go dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #a96d3a0d775d4cfd Environment-variable access.
pkgs/go/github.com_plandex-ai_go-prompt@v0.0.0-20250304173555-1f364907fc6c/debug/assert.go:17
	if e := os.Getenv(envAssertPanic); e == "true" || e == "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 #59f50f1ad0036672 Environment-variable access.
pkgs/go/github.com_plandex-ai_go-prompt@v0.0.0-20250304173555-1f364907fc6c/debug/log.go:20
	if e := os.Getenv(envEnableLog); e == "true" || e == "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 #e798ae9179860f1b Filesystem access.
pkgs/go/github.com_plandex-ai_go-prompt@v0.0.0-20250304173555-1f364907fc6c/debug/log.go:22
		logfile, err = os.OpenFile(logFileName, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 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/plandex-ai/survey/v2

go dependency
expand_more 5 low-confidence finding(s)
low env_fs dependency Excluded from app score #5004756bd5b2f2a3 Environment-variable access.
pkgs/go/[email protected]/core/template.go:29
	return os.Getenv("NO_COLOR") != "" || os.Getenv("CLICOLOR") == "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 #f8491b81619ccef0 Environment-variable access.
pkgs/go/[email protected]/core/template.go:34
	val, ok := os.LookupEnv("CLICOLOR_FORCE")

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

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

low env_fs dependency Excluded from app score #1339e55c276f034c Environment-variable access.
pkgs/go/[email protected]/editor.go:69
	if v := os.Getenv("VISUAL"); 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 #09f401b9ed45e9d2 Environment-variable access.
pkgs/go/[email protected]/editor.go:71
	} else if e := os.Getenv("EDITOR"); e != "" {

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

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

low env_fs dependency Excluded from app score #b55d49b9d33d8ce5 Filesystem access.
pkgs/go/[email protected]/editor.go:200
	raw, err := ioutil.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.

github.com/sabhiram/go-gitignore

go dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #9029c548ce846bc2 Filesystem access.
pkgs/go/github.com_sabhiram_go-gitignore@v0.0.0-20210923224102-525f6e181f06/ignore.go:183
	bs, err := ioutil.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 #fa62c2c8062d5a03 Filesystem access.
pkgs/go/github.com_sabhiram_go-gitignore@v0.0.0-20210923224102-525f6e181f06/ignore.go:196
	bs, err := ioutil.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.

github.com/spf13/cobra

go dependency
expand_more 14 low-confidence finding(s)
low env_fs dependency Excluded from app score #84c52d0313b98be8 Environment-variable access.
pkgs/go/[email protected]/active_help.go:52
	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 #7d5ac81f3e84008a Environment-variable access.
pkgs/go/[email protected]/active_help.go:54
		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 #01b9f551df375605 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 #e67a2a73a16d63eb 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 #e7a80739e995f2cf Environment-variable access.
pkgs/go/[email protected]/completions.go:869
	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 #c09eee8953317e6f Filesystem access.
pkgs/go/[email protected]/completions.go:870
		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 #daa1fcfe7eadc4a5 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 #b9ecd47be8414f03 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 #1883fcd002e2a80a Filesystem access.
pkgs/go/[email protected]/doc/md_docs.go:145
	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 #e4c250dbed61c981 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 #f42086d3ae616c1a 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 #2bb6ea31dca7e51a 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 #17b09c315c53ad29 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 #382681be880d6b76 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.

golang.org/x/image

go dependency
expand_more 19 low-confidence finding(s)
low env_fs dependency Excluded from app score #f78bb41d4845dbc4 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 #7769aa56203eed08 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 #ccb9c4f61d1c39b3 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 #1a7f65f28921a4a8 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 #c30afe2ff7fa1d5d 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 #398db57f90d266c8 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 #a5f64d50efde032c 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 #cbfa7cdfa050c7c0 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 #865e03123a75a860 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 #595d7d67eadb3a6c 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 #009919c35d6c6e51 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 #674b048e5a14e787 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 #c92eebc50ea5f6bf 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 #9a63de0e8bbc92a1 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 #287a6625ec4f98ef 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 #b36d168423e0b019 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 #735ab8cab2a4a0a6 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 #2d84fc5a92543f16 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 #a5a11183948193b0 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 10 low-confidence finding(s)
low env_fs dependency Excluded from app score #838d0eb21e83ab04 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 #d77d12ab2cc77693 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 #6042bcd6dcccd0a3 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 #7d3feaaaa550cd2e Filesystem access.
pkgs/go/[email protected]/zip/zip.go:376
	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 #b755193531d6d59e Environment-variable access.
pkgs/go/[email protected]/zip/zip.go:647
	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 #444f13cc6ec78378 Environment-variable access.
pkgs/go/[email protected]/zip/zip.go:688
		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 #aa6f38a6244f6d0d Environment-variable access.
pkgs/go/[email protected]/zip/zip.go:704
	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 #ab17aab50503311b Filesystem access.
pkgs/go/[email protected]/zip/zip.go:724
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 #c89a5306a28f7a52 Filesystem access.
pkgs/go/[email protected]/zip/zip.go:802
	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 #38343debaf03bb7e Filesystem access.
pkgs/go/[email protected]/zip/zip.go:829
		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.

golang.org/x/net

go dependency
expand_more 28 low-confidence finding(s)
low env_fs dependency Excluded from app score #e91323e0df8c2ffa Filesystem access.
pkgs/go/[email protected]/html/atom/gen.go:50
	if err := os.WriteFile(name, b, 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 #262c0f70b2ee55a2 Environment-variable access.
pkgs/go/[email protected]/http/httpproxy/proxy.go:95
		CGI:        os.Getenv("REQUEST_METHOD") != "",

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

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

low env_fs dependency Excluded from app score #c73ceb7f49f374fb Environment-variable access.
pkgs/go/[email protected]/http/httpproxy/proxy.go:101
		if val := os.Getenv(n); val != "" {

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

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

low env_fs dependency Excluded from app score #4ae6d23930252ca3 Environment-variable access.
pkgs/go/[email protected]/http2/gotrack.go:20
var DebugGoroutines = os.Getenv("DEBUG_HTTP2_GOROUTINES") == "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 #5481fc28f234a1c2 Environment-variable access.
pkgs/go/[email protected]/http2/h2c/h2c.go:34
	e := 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 #9caa326fe968b69f Filesystem access.
pkgs/go/[email protected]/http2/hpack/gen.go:178
	if err := os.WriteFile(name, b, 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 #ccb58d2eb3a42f45 Environment-variable access.
pkgs/go/[email protected]/http2/http2.go:53
	e := 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 #8e3611b01158d8ba Filesystem access.
pkgs/go/[email protected]/internal/iana/gen.go:71
	if err := os.WriteFile("const.go", b, 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 #6927f04a1bfb92c1 Environment-variable access.
pkgs/go/[email protected]/internal/quic/cmd/interop/main.go:69
	if keylog := os.Getenv("SSLKEYLOGFILE"); keylog != "" {

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

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

low env_fs dependency Excluded from app score #a0913cf7193b48ea Filesystem access.
pkgs/go/[email protected]/internal/quic/cmd/interop/main.go:70
		f, err := os.Create(keylog)

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

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

low env_fs dependency Excluded from app score #736481633032117b Environment-variable access.
pkgs/go/[email protected]/internal/quic/cmd/interop/main.go:78
	testcase := os.Getenv("TESTCASE")

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

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

low env_fs dependency Excluded from app score #0ad5f8be85c24d60 Filesystem access.
pkgs/go/[email protected]/internal/quic/cmd/interop/main.go:201
	f, err := os.Open(filepath.Join(*root, string(req)))

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

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

low env_fs dependency Excluded from app score #84f45d06c40a3fb2 Filesystem access.
pkgs/go/[email protected]/internal/quic/cmd/interop/main.go:252
	file, err := os.Create(filepath.Join(*output, u.Path[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 #172937db0d71ce49 Filesystem access.
pkgs/go/[email protected]/ipv4/gen.go:41
	f, err := os.Open(defs)

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

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

low env_fs dependency Excluded from app score #20d76accdbcb1ed5 Filesystem access.
pkgs/go/[email protected]/ipv4/gen.go:63
	if err := os.WriteFile(zsys, b, 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 #1f43de8bb3a58bb4 Filesystem access.
pkgs/go/[email protected]/ipv4/gen.go:102
	if err := os.WriteFile("iana.go", b, 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 #69c3aefc9a764ce3 Filesystem access.
pkgs/go/[email protected]/ipv6/gen.go:41
	f, err := os.Open(defs)

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

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

low env_fs dependency Excluded from app score #43402398b4702dd0 Filesystem access.
pkgs/go/[email protected]/ipv6/gen.go:63
	if err := os.WriteFile(zsys, b, 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 #e3e4920f2159d392 Filesystem access.
pkgs/go/[email protected]/ipv6/gen.go:102
	if err := os.WriteFile("iana.go", b, 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 #037b6a63e31c6e29 Environment-variable access.
pkgs/go/[email protected]/proxy/proxy.go:138
		e.val = os.Getenv(n)

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

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

low env_fs dependency Excluded from app score #a11abc9b3b95034c Filesystem access.
pkgs/go/[email protected]/publicsuffix/gen.go:275
	return os.WriteFile(filename, 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 egress dependency Excluded from app score #408127b402d2682c Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/go/[email protected]/publicsuffix/gen.go:279
	res, err := http.Get(gitCommitURL)

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 #c6b824a76a160259 Filesystem access.
pkgs/go/[email protected]/publicsuffix/gen.go:320
	if err := os.WriteFile("data/text", []byte(combinedText), 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 #f84e8d18bae680f4 Filesystem access.
pkgs/go/[email protected]/publicsuffix/gen.go:333
	if err := os.WriteFile("data/nodes", nodes, 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 #adbb3ffc75921116 Filesystem access.
pkgs/go/[email protected]/publicsuffix/gen.go:341
	if err := os.WriteFile("data/children", children, 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 #78604c2d3c0decce Environment-variable access.
pkgs/go/[email protected]/quic/log.go:19
	s := 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 #66391eba56aa1109 Filesystem access.
pkgs/go/[email protected]/quic/qlog/qlog.go:183
		w, err = os.OpenFile(filepath.Join(opts.Dir, filename), os.O_CREATE|os.O_EXCL|os.O_WRONLY, 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 #66692605f312f9eb Filesystem access.
pkgs/go/[email protected]/webdav/file.go:92
	f, err := os.OpenFile(name, flag, 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.

gopkg.in/natefinch/lumberjack.v2

go dependency
expand_more 5 low-confidence finding(s)
low env_fs dependency Excluded from app score #0cdb4001dc6d22de Filesystem access.
pkgs/go/[email protected]/chown_linux.go:12
	f, err := os.OpenFile(name, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 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 #4ace43b9c99ccb64 Filesystem access.
pkgs/go/[email protected]/lumberjack.go:235
	f, err := os.OpenFile(name, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 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 #0739f675513bbba4 Filesystem access.
pkgs/go/[email protected]/lumberjack.go:280
	file, err := os.OpenFile(filename, os.O_APPEND|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 #aecf0fe413cd8b0f Filesystem access.
pkgs/go/[email protected]/lumberjack.go:469
	f, 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 dependency Excluded from app score #802e739773754ae5 Filesystem access.
pkgs/go/[email protected]/lumberjack.go:486
	gzf, err := os.OpenFile(dst, os.O_CREATE|os.O_TRUNC|os.O_WRONLY, fi.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.

Skipped dependencies

Production

  • plandex-shared prod — proxy 404
  • github.com/aws/aws-sdk-go prod — module zip exceeds byte cap
  • github.com/smacker/go-tree-sitter prod — extract failed: decompressed size exceeds guard (possible bomb)
  • plandex-cli prod — proxy 404
  • plandex-server prod — proxy 404