Close Open Privacy Scan

bolt Snapshot: commit e2d7720
science engine v1.5
schedule 2026-07-14T14:10:42.048116+00:00

verified_user Application data leak confirmed

High-confidence 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 — application leak confirmed

High risk · 447 finding(s)

Dependency score: 82 (Low risk)

bar_chart Score Breakdown

pii_flow −60
egress −15
env_fs −3

list Scan Summary

1 high 9 medium 437 low
First-party packages: 3
Dependency packages: 28
Ecosystem: go

swap_horiz Confirmed data exfiltration in application code

External domains: 169.254.170.2api-v2.plandex.aiapi.anthropic.comapi.github.comapi.openai.comapi.together.xyzbugs.chromium.orgcdn.jsdelivr.netcdnjs.cloudflare.comchromium.googlesource.comclaude.aiconsole.anthropic.comdevelopers.google.comdocs.plandex.aigithub.comgo.devgolang.orgjson-schema.orgopenaipublic.blob.core.windows.netopenrouter.aipkg.go.devplandex.aipublicsuffix.orgraw.githubusercontent.comwww.freedesktop.orgwww.iana.orgwww.ibm.comwww.w3.org

high first-party (go): app/server User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/app/server/host/ip.go:48 repo/app/server/host/ip.go:52
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

</> First-Party Code

first-party (go): app/server

go first-party
high pii_flow production #65a30326501b3a96 User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/app/server/host/ip.go:52 · flow /tmp/closeopen-pgg_6ual/repo/app/server/host/ip.go:48 → /tmp/closeopen-pgg_6ual/repo/app/server/host/ip.go:52
	resp, err := http.Get(ecsMetadataURL)

User/PII-bearing data flows to an external sink — the classic data-exfiltration shape.

Fix: Confirm no user identifiers reach this sink; redact/hash before sending, or remove the flow.

expand_more 113 low-confidence finding(s)
low env_fs production #a88a2053d1b328b3 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 #5c662aa2a68c3b3d 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 #ba03a115dc658809 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 #68f68c635c7f9bb4 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 #91c29da74e23dc38 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 #924e994bf1332071 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 #9d5442619eae91ad 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 #64d088517e4dc1c0 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 #32c07cf74dc72000 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 #7723917365c453ad 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 #698ec63d1bf6ad8d 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 #9e7728b75b01ac1f 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 #3a79b526638ec4f1 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 #b9b5b0fd40012585 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 #a83e7f921152a1f7 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 #eab612fc8cdce496 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 #124aff56eb4ac69e 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 #64bb0cee86864d56 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 #114c0f7ccdcded57 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 #4fbf4ae618aed14c 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 #aa46dd12a3e111d5 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 #6b12a832033fcca1 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 #a227e4e978c8995e 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 #d9c74b24ce91a4f6 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 #cb451bff185b058d 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 #4c89ba05927af75e 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 #6a19531e3bad674b 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 #fe7befcee98bc8f5 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 #6c615e14d7450ba8 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 #a47553355dc641b6 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 #57986ce8215bb698 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 #828b55802e342b1c 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 #e6a5f217f45a5172 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 #a41bbd957bb27b7b 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 #fd0e2b160df060f9 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 #1b9ad309fbaacdfb 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 #20cd88433ce71b00 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 #23acbc3e42811a44 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 #9f85118ffdc35ffd 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 #50694f3bff1ed7fb 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 #55cbfc3736747737 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 #16bb850af760020a 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 #5a51c46380f59459 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 #436093de5832dd0f 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 #714a909cee89fdfb 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 #296d261d3dbb66a0 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 #89999bbf9634e261 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 #d781c12a6b9a0d8a 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 #c6e5496fd9f12e6a 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 #a0190b16ea31410c 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 #38b4c40a5ac1102c 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 #86325c417dce9d2a 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 #ba452c44063472bf 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 #c7d80033f2d5a9ec 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 #7bc250426748f991 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 #f2174f15f7ca512f 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 #bbda926337738ccd 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 #4dc7df6525b6f84f 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 #7923e40aa4d3d071 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 #807de6015a306f5a 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 #10f99daa0c4f28c1 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 #d73c94ad5deaced5 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 #8dee4c827dd1067c 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 #4429ea0e0cf0e6cb 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 #12d8469738f3b8d5 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 #09d027dd5333a489 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 #795e7bc42d46a520 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 #13ee34a0c3be2e9b 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 #d6a8f8d34863d56b 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 #ca2fe6c8a2a3f148 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 #1cdc10df52bad9dd 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 #16c5c14f57917c85 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 #8579da98cade9020 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 #9e993744c2808998 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 #abee0ff135dd5d2f 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 #4537213c13c7d020 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 #11f02486cf46cb3e 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 #e9b4cc5c21d5becd 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 #cc6ea159d99bc624 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 #0059811ff1934cbe 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 #10cdc4bb1d3acbce 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 #5f6d3902598c6c71 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 #e0ac17dc0a3389fb 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 #0e2c9239ce866710 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 #95612c2044d34035 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 #3592c576d27e5cb1 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 #38e89dc744bbc791 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 #9cf9c173fdfe9ecd 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 #8364765355d45979 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 #7ffc045e32dd76a3 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 #09accdfa8131f8ec 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 #957e092b77ad086d 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 #692487579ea1b924 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 #c21f57c259de2a88 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 #81fc8d29822e9fde 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 #1b9ee83aa8a97216 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 #d3dd1a0e94887f0e 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 #fd21015c7b82b27b 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 #1445287b68085c08 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 #c20f9a31b3b74aa8 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 #ea61c96836e26cc1 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 #544151ff1b43231f 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 #0b4c602cdd295ca6 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 #57a844d59c48e441 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 #446974e32f2031c8 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 #2ad8b42278158320 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 #ca8ac9552dbb1007 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 #ea1464c08a746977 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 #16a1a18cfe8f0a4b 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 #06391ad3ef38e04d 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 #56104f71beb090d6 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 #ab4226e68a8e99f8 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 #3d95911aa9d2ad9e 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/cli

go first-party
medium pii_flow production #79eeaf0d173ef1b2 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-pgg_6ual/repo/app/cli/cmd/debug.go:83 → /tmp/closeopen-pgg_6ual/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 #8d1af65596180481 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-pgg_6ual/repo/app/cli/cmd/debug.go:83 → /tmp/closeopen-pgg_6ual/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 #e8b8d5ce12d05341 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-pgg_6ual/repo/app/cli/cmd/debug.go:83 → /tmp/closeopen-pgg_6ual/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 #a1e2acdbf7bac2d9 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-pgg_6ual/repo/app/cli/cmd/debug.go:83 → /tmp/closeopen-pgg_6ual/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 #b8ce634dec821a5b 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-pgg_6ual/repo/app/cli/cmd/debug.go:83 → /tmp/closeopen-pgg_6ual/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 #31b9059a03633ce7 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-pgg_6ual/repo/app/cli/lib/apply.go:401 → /tmp/closeopen-pgg_6ual/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 #424f0c6ccd56db55 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-pgg_6ual/repo/app/cli/lib/apply.go:401 → /tmp/closeopen-pgg_6ual/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 #206e9f4b25a5d237 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-pgg_6ual/repo/app/cli/lib/apply.go:401 → /tmp/closeopen-pgg_6ual/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 #3e48312424430f01 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-pgg_6ual/repo/app/cli/lib/apply.go:401 → /tmp/closeopen-pgg_6ual/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 #726ca09fecc76fae 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 #702143dfa1bf445d 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 #9c48a028cb85cd15 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 #5f2de49d998b5d0e 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 #df84a920efc1d394 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 #cd84c926c1665b9e 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 #82eeda04305a0e42 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 #f5cd4e32759a62c4 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 #37c3564f7534fb21 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 #b7c711c17c0467d4 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 #a1c2146f9c8e8d40 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 #8b5ce7cc7ea9e18a 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 #543f41a52da3b6f7 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 #7b95d0a46d185d38 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 #088713f2203edd9d 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 #c5a804cec6e1bcb9 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 #14104cc4f64ae946 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 #c71e70219762ebbf 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 #d3bc7bbfd0995cd0 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 #87c52d0e09c65dc8 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 #6f1de5cc8dbb6ae9 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 #70d58a82e3238dc5 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 #406b7600d69ce7fc 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 #a10c4fcbc9a4e779 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 #3d34ecf7557c4772 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 #7d13d7cfccec7fc8 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 #ef583fd7b84a4391 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 #8a2083ce0bd8b375 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 #ad05279c1c883dca 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 #0e4157424cee3a72 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 #e14b2cba3fa47dd6 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 #3582bdd41c478368 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 #bfa31a6d04ad901e 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 #f5dbffea48695ef1 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 #a5a0eb10b0d4e064 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 #4cc577c067564270 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 #394d9765be65a975 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 #43409ca97bdb887c 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 #b39ddab9816f297d 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 #cb2c674a7473da76 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 #69ec56b853607565 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 #e25c42fe3aa55076 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 #e9d75f7911e1b140 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 #c7730b07d8bed00f 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 #26e46691cadb4716 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 #9599eed12654f9d2 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 #a2cc22176c760486 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 #68c55a3292d95eff 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 #5cbde4904df3c667 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 #bb912ede9a23601f 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 #e3756a3e80ba9b4b 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 #b4c4f8c0cb20a5ad 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 #4b0e0e45cc20684d 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 #a2f4dc567b0f73ae 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 #e603ac8d799b392d 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 #c26ac607d6d89054 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 #df350d827edfaacc 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 #dbf72223fe3eacb0 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 #08b996448e060b43 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 #d57ca4346d1f6198 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 #f64adeaef18c90ad 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 #16376494962c886e 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 #28e55b19efaea99a 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 #1ea98df3a3bda741 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 #563ddc9379c77e5a 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 #630e79b9900ffdd4 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 #4c30b7d4c62551c5 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 #8eae7d3c5da9c9ea 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 #43de9503874be9bf 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 #41a7c9c398b0e5a1 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 #e29f3d5ca37c8d2b 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 #d76ec082c85f3fe9 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 #751d087cb659706c 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 #b266283a35ceed2a 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 #a6b4a3e79433a5c9 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 #dfe6a0c534c2e4b0 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 #bd27e324a2e552a0 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 #8f31fa666b54a4e8 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 #96e48a53291448b1 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 #4bdaf78a5806690a 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 #4d39b4a9d306efd8 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 #7c68340ffcda0895 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 #cb6caefd9e195ad3 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 #a680898976049edb 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 #3caea3538fa322e9 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 #a2fb35e452db048c 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 #ed51f2fd0fc54fd8 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 #584f774aa1c59476 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 #d3d7c2296c23a8f5 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 #b5d6cd112e1f4b50 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 #46a773cc0927624d 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 #709cedd1471b434c 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 #921a2ebf66c6158f 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 #b05deb848eb0cb5c 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 #c15f6feb3fa17f62 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 #2df293222dad14a3 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 #217b835503ba5223 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 #824a27c2d97d9fdc 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 #bc772d16f8522092 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 #d9156f792054f454 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 #019e75fde8749827 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 #3ad6e23303ee4277 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 #e481b8912cbf5a5c 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 #f228d9d5798f1c9a 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/syntax/file_map/cli

go first-party
expand_more 1 low-confidence finding(s)
low env_fs production #dbbebdbfc6dfff28 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/atotto/clipboard

go dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #3900864184eaaf25 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 #077ab4d81d1e7384 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 #00c3f92a9bc245c9 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 #b9ebd8afcca8c15b 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 #97b041a581d04b59 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 #aeb115b6e257a3f3 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 #30afbebc5b640a5b 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 #cc530a1ff78c6d1e 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 #4b464f38b6657eb2 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 #893af309f71e6b65 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 #8bc79c08545907d6 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 #fd43ed4d71bd8f30 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 #80d98c553fa6a666 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 #4552f301be2cc3d4 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 #44bc1006bfe868ae 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 #3760926ad6998047 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 #7880c02029ecca20 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 #c68c13cb99307da0 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 #4525ef84735bc2a1 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 #67acbe5c7dd0257a 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 #8a55084f949a4f65 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 #532ef1728dc0b91f 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 #126c0bf106c61519 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 #f18d2b574c60accf 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 #f3910790a8dea8e6 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 #bc14e33ca4ed4631 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 #df641a0bf4e67f7b 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 #a22d081d116a09fd 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 #61a80346e24b2e58 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 #bc69866fd340c367 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 #b604aac9e2065662 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 #01f5e30a78ae0b30 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 #8e4306147e5d1618 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 #01d79d2404cc7ee6 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 #f2e423a20b78bb2c 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 #1ac1881b502075d6 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 #16e4ef99dd21c320 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 #0cd45bb190b04e12 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 #f5ad37e2ebb72ff8 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 #b1b8a40d26499703 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 #27ad4ef5c5eb7c92 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 #6f2f93d9a8c95c22 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 #865f774cafd765e1 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 #962d24f8caa6f278 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 #adc8c85174255127 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 #088439b9b6ed80e9 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 #c744750c705b8974 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 #71848c58e523b8a8 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 #3ad69b31c9c58839 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 #1fc647cd5fca5bcb 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 #a4ebddeeed15c5dc 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 #1fba3ddf69bbe822 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 #f68b53fdb71f3568 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 #565c1c03d54b8c25 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 #5115ef0fd03200e3 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 #740b08e62af8e671 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 #ec12ff902609b5ac 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 #cafcdccc76466d98 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 #a5320a70edf11c92 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 #cb9553aa61eebe6d 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 #42d89f7ad4ebb6ec 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 #80ebd49e051d4899 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 #d760803eac0ff955 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 #8beaf4140e854585 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 #57bdfb9ae426388a 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 #dcfb23b397014d99 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 #bebe5e478e8ad0bb 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 #d187d9c3bc9d1494 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 #e1edfa4ab17e4b61 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 #39bc59af5d5a7467 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 #b7d718c2b985eb5f 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 #b634b0ba4d49a9e9 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 #89a54a60efd23f1d 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 #5346cabfdbd8579c 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 #b37ea2df353d7d25 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 #709579d8c8761709 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 #1b26b3ba549e323a 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 #5de95e56cdd83854 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 #ce48f9e45fbd015f 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 #7019b908f18cd4d8 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 #db7b2a2953aaa252 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 #1e3d0574ec6b42d7 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 #e18f7bc00e5087d1 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 #32e9698991bc519a 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 #02761024007e9a82 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 #a68e741dd8d4bbd2 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 #9ec2773f27be4dd2 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 #f459c5027ff85ae8 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 #882775c8c58169ae 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 #2154391bcbe77972 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 #e33b4e87074455b0 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 #b929dd328857090e 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 #c36f0ff1deff3b0b 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 #5207b43192ee9896 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 #d55ec446cadc3528 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 #4f5de0bf5df177bd 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 #c5b14151d8eb8de9 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 #439eb6996e98b4d3 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 #f48872fca211f59b 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 #cc2d7726717170a7 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 #f14a3d6e82b04335 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 #855f046be8c30eed 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 #be4dd8fe73f1fe4c 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 #6e790f3dc1c07132 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 #5d8f37018b41d0bd 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 #d853fd013df480a6 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 #cfb952971de4bebb 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 #a2e4f952053b913a 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 #e7df3224bcea4ec6 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 #88cc290f2c82d45d 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 #8f96237e3161bbe6 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 #5726010337a9f6d5 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 #ab930d1b79483fb6 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 #fe7ba36e9f84e4ff 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 #49df97cd1ae537b8 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 #b391843696eb16c6 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 #4d5c4c6707ef3c53 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 #4fc529bdaac99199 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 #bc138bc118949d03 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 #ab5a1ca697e46fe6 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 #79eab441320c53b0 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 #6a5d99df634d4ba7 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 #d8cf1d085ed3da8e 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 #f11e774a8064ae54 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 #c09224c87bbef9af 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 #7dea9ca29b6b5daf 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 #1175b04c1785252d 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 #684ded9f86a37a22 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 #ea061faf3503a746 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 #b791e6ba8579cb17 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 #aef7c506024d81f6 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 #5fa1219e2900f9f7 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 #c561424414315841 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 #3ec9b21f749b4787 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 #22ae70d0356a3c57 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 #5ae4a208735fafee 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/sashabaranov/go-openai

go dependency
expand_more 7 low-confidence finding(s)
low env_fs dependency Excluded from app score #0d107c54de281224 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 #99c5a401822310ec 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 #7d403e7b97ded875 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 #63ee697ce0292e80 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 #d5feaf9670420112 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 #17b0c2d0f031b908 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 #61ba3cb36f96c0d5 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/spf13/cobra

go dependency
expand_more 14 low-confidence finding(s)
low env_fs dependency Excluded from app score #738b4d528db33f12 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 #d144c50792c1f7f5 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 #5e6acfc3a5e56c10 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 #a58f76241bda603f 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 #39c0feba4ff5a776 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 #f5a45dd4d3eb7fff 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 #25f2696c0956558d 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 #4957857911efde86 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 #2eae5f4ed601141f 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 #15935a41aa9e22ff 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 #0dad6a04fc6f5f35 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 #2ae0d7f77f187a49 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 #98cc4b6a712709ad 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 #dc4c0ebb9c1680ac 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 #7e00a2dc2a646bcc 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 #01aad4728edd86b1 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 #bbc3405933cf4c84 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 #3bcd6ffbac3d85c9 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 #ad0eb0b91c43ae18 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 #5edd0f9ee391ce22 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 #d53afe9cbf917680 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 #756110b33a102040 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 #dcf26c2bb16e562d 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 #e30a2986bb4e1c80 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 #297a4164a9844ddf 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 #0e079622b422f4a7 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 #d2a25177180eb9ca 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 #2436df4c090992f0 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 #5be2d890fa83b855 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 #fee318093f5451b1 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 #87d7da396e8fc4a3 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 #b99476796a0c3515 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 #a789aebee50e2494 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 #ee5ce4bf4c4ed236 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 #f088678b17c38657 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 #6ed1f708dbb98922 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 #9ec3a56a5875fa6c 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 #095374d7e7e704f9 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 #ea655d2afc51d803 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 #a26ba324adc9fca2 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 #020613c172c8dac3 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 #1d4199de0b9e3f52 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 #447474b8ef71bb83 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 #44009bf98723fc78 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 #f01d6376e1d93058 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 #6b989d91a11bb90d 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 #19eaefe10e13e946 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 #65518e5068139ebf 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 #3c1ec9f8807c1940 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 #961141eaeeb805e0 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 #f6133c042937f972 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 #4e2e75ca2a7975dd 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 #e28b6dab8828be44 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 #1159adb467af03b9 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 #f2684cd49027a253 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 #a043b578afa6bfa7 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 #f0930758f47eada7 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 #ca15b4ebb0f2f63e 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 #f98b23e6b3e22ac1 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 #a9d9466fcc79cdf6 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 #a425ca4b48b1a2ef 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 #625bb23d9ff93905 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 #6a6e341a40c903b4 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 #07deb6defa19539a 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 #dc9546a7e2d8d265 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 #76c7f12e1442b1cc 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 #7c20abffa9330f88 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 #22cf6d18ec18e1c2 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 #825b12d6243920a5 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 #425b40eeec7d57f0 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 #8a0a0b81f541588c 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 #824d632147c55ce6 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 #523b6e78d2c7acb6 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 #21f31645560fc766 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 #643db1767c1392d4 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 #6eb115779aa2f980 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