Close Open Privacy Scan

bolt Snapshot: commit e2d7720
science engine v3
schedule 2026-07-09T15:08:39.299313+00:00

verified_user Application data leak confirmed

High-confidence data exfiltration identified in application code.

App Privacy Score

22 /100
High privacy risk — application leak confirmed

High risk · 448 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 438 low
First-party packages: 3
Dependency packages: 28
Ecosystem: go

swap_horiz Confirmed data exfiltration in application code

External domains: %s:%s

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 #622116a4901e4dbb 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-8qagwd0s/repo/app/server/host/ip.go:48 → /tmp/closeopen-8qagwd0s/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 114 low-confidence finding(s)
low env_fs production #55bb1128b81277c8 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 #7e060181ac9c74c3 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 #4c90be7522117143 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 #b4469a26c2ebc494 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 #65051ea24606a245 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 #831a0e6d62332e9c 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 #4a7ee8b9eb17c0a2 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 #581adcbcdeaa6dfe 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 #c10c1eaba17185f7 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 #08a7ad009544da64 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 #d13f5af8bb962461 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 #1073591cf4d3d9fb 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 #e9efe57462d0dc0e 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 #fe683dfac62c1348 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 #94da91f1e415af64 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 #3fdf2f39664a3fc8 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 #80880b2597f94d8b 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 #ee42290e7c9acb95 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 #cf849ea446b45f17 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 #d63c685343e93ae0 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 #f9d8e4d1b936b504 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 #f5eabcc3b90a2389 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 #3d0403db53c789d6 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 #91eeb8ce2c715361 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 #3a96f8c96534b306 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 #d0ee7ec82c4ad868 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 #b72cf1e3dc119230 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 #097af259d01b3d1d 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 #a0619da579a227d0 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 #1dbd64dbeb833601 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 #bcd3010f51e33823 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 #f3ad836fcda38ab0 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 #8b4afd7da1a29ccc 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 #21b231655f8c46fa 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 #dcc20abe0ede828e 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 #85abc0a858e2389a 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 #15d4203203309635 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 #edc867143c7aa397 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 #e72d9cb68bc6428b 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 #4ca33c5fbbba0358 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 #7e8b027799dda9de 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 #e42314cac93cccb4 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 #cf29072076d396be 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 #5fbe92662d123751 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 #e63b1dfd7bc98844 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 #75fc5fbc90ec1cb5 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 #4c8b9e4bde2c10a0 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 #05fefb4e5cae9490 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 #3257506ebc29479b 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 #6727dae0b83c9a27 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 #24cd7224ecd3de76 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 #a14e09bcfafc6d1d 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 #1325c145c948d314 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 #c2bbc1262ae3b87d 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 #e33b7d6100c2a0ac 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 #cc49529b179a39a9 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 #84406e7cc02b4fab 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 #bd65aab5c69f9c46 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 #606a8aa720151d18 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 #104d30895ff5588e 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 #2be38b3d946b0fd3 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 #bce66e82cbae7757 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 #040e88442d9483e4 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 #c7afabc3ddd376a3 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 #0ea065071758fdab 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 #05c75a5b1ec5e539 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 #f01a1a3e1417c67c 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 #aba946964c86ef1e 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 #b29514c51b5cd6c5 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 #a01cde3e43338c8d 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 #85417972fed20b04 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 #5280262eed5ff73d 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 #ca5c87bb48b844ff 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 #e934b8f6c869152c 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 #fbd3bdacc8440305 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 #7512276750e196a4 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 #7631c12dca687f8e 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 #70c6fd4f9c9f3bd3 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 #9b606f08ebcdaa27 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 #2edb9eb076077697 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 #2cdd1f1764482677 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 #3d0750a2c323f8d5 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 #a7c5868dea332ab3 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 #278b86ad80ee041d 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 #7d1bba99375695ba 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 #4edb8270c456216d 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 #0e7c84b6dcaa314e 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 #6f01d084816fe8aa 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 #c88a3d2e45f0e84e 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 #66328101443d4983 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 #b270eee2fed05e24 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 #1dbd8e0f9b1226fb 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 #da89364f6a99ed06 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 #f9762e7f8f6f9bb5 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 #56bf0d0f6bb0d59a 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 #ec687a90f5801c34 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 #ab62113b89759392 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 #207fb1bf0cd152de 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 #6f10090bbe4decd3 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 #727e22585f0ce07e 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 #85d565b3ea23ac8e 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 #a69b884eb45f3a09 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 #326d19e438c5de78 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 #48dca8969deffd55 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 #be37327a8a64c74b 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 #d27a0efb552d3a38 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 #f7d94e1c3cfa3205 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 #eaa402a88a84767b 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 #058e1a92c79879ad 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 #306410829818cb03 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 #154bb77cd966962d 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 #1ad6ee43c345552c 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 #2eae3f36c24dfec0 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.

low env_fs production #71c10d87b9cc8a32 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 #d46068c0ec3b3192 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-8qagwd0s/repo/app/cli/cmd/debug.go:83 → /tmp/closeopen-8qagwd0s/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 #481076de26c4a397 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-8qagwd0s/repo/app/cli/cmd/debug.go:83 → /tmp/closeopen-8qagwd0s/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 #558fd34084a63b00 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-8qagwd0s/repo/app/cli/cmd/debug.go:83 → /tmp/closeopen-8qagwd0s/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 #677ff447e927662c 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-8qagwd0s/repo/app/cli/cmd/debug.go:83 → /tmp/closeopen-8qagwd0s/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 #e05ef979df868463 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-8qagwd0s/repo/app/cli/cmd/debug.go:83 → /tmp/closeopen-8qagwd0s/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 #cface2a6c100371f 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-8qagwd0s/repo/app/cli/lib/apply.go:401 → /tmp/closeopen-8qagwd0s/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 #9628db10648561f2 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-8qagwd0s/repo/app/cli/lib/apply.go:401 → /tmp/closeopen-8qagwd0s/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 #facbb2ac6bc4ccd1 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-8qagwd0s/repo/app/cli/lib/apply.go:401 → /tmp/closeopen-8qagwd0s/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 #86adc867d76cae6a 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-8qagwd0s/repo/app/cli/lib/apply.go:401 → /tmp/closeopen-8qagwd0s/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 #995e1f1d8790ebe4 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 #a23b1ee4abc64877 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 #82d72554b16ec996 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 #b151186302ab3824 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 #b8f2892b2901cb90 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 #a14bef1f4e894fcc 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 #4c3cd6451e91aa05 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 #aebd58068fdd6485 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 #c23cbe320de55858 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 #ce51424b56aa1b74 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 #a0325cc83f16ee48 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 #22370c22387ec4e9 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 #4889b81786e5545e 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 #cc8f24613f30a8da 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 #4ee334613ea82fb7 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 #adef2265f6db34eb 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 #8a069f6ea552bc92 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 #b16097283a84c9a4 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 #292c7e188ce3ff74 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 #7fec3e5d05c7055c 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 #b79c50b94ff7b13f 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 #dfcffc766ea311d6 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 #30e5a22270dab11e 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 #d321f906e8a3647a 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 #291c93f07812764a 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 #412df5b0042d98f8 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 #1de5b69393deed9f 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 #5c351b478bc7e303 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 #bc6b4cd26cdd7bb3 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 #f8b228c78ba307f6 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 #a7c527466ee43d5e 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 #7982724c7405b1cd 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 #36771c0eaa6ebaad 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 #b35299e13668218d 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 #f59cb2f8c58be1d8 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 #11b5d76155de9cbb 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 #d98adf0df3ec1c8d 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 #d143042449d89b28 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 #a4f42f524af5d126 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 #65460e1b1954886b 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 #69b48442116b45f5 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 #71107ca67aff1af8 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 #8466b069ae1d0a7f 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 #d71a4726f8ba1484 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 #29079588e9c6ed04 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 #7d8f599cf3ef1152 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 #81a260a0e4b5a837 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 #1368052ddaa3d21b 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 #7b3715b7027d697c 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 #bf9811934e8b2a15 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 #1f7e1cb7fd1e0264 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 #20974f0cbd476caf 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 #ffdb621c35898bec 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 #1449ce31b0f0e344 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 #5c2170ce92a88946 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 #48f68ba7a409ff7b 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 #9a36e992855107a4 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 #7bc8c472a822963c 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 #c545f132acbb9015 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 #540d8260d144decd 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 #95ea585d30d4566a 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 #842397a18bb8b53f 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 #551bb32cf41451de 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 #943c3d121612dd8b 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 #27cbb90294e14056 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 #488b81b930686d96 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 #e7c7f739f4fcdb66 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 #4fb7e4003a7bf299 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 #41079b2ac35e7fa6 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 #1d976d66476fdd2e 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 #9721db66c784b6a5 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 #46cc0245d7a788a4 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 #9c8aa1d68d963955 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 #79a43fb1ff4ac930 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 #71d861ad4d0310a3 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 #ce5c8f6bd8fd2129 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 #4669ddd9cc45a8ff 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 #10b3545630848653 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 #38335dbb0dad34ba 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 #c937f6466c204e45 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 #7a91f2c23bb0a58c 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 #7b19125f7b15589a 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 #91940a03e7c21c0f 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 #bf70089cb8d1373b 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 #9bf921db797a178b 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 #e0886a4297261c28 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 #d8d8e9b4ffd1c8d0 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 #ba6c9092c779f213 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 #7d508c5434c18fd8 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 #046035d30c315f77 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 #21625d845bbd97ea 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 #04fd89838bfa3bb2 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 #0f53539ec765fc8f 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 #c25e221d4800d613 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 #5cfc2d8a3accfa30 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 #8cbe2936e750cd15 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 #1645eb2c18c65d78 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 #a310e6e17318d374 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 #af1e5cc5d4979cc5 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 #8ac7c8d9adc244e8 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 #d587c637543e8be7 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 #27ca083d6c17103e 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 #6d8975cc011e318b 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 #07745472e160c3dc 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 #2eae3f36c24dfec0 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 #06750b2e5ff87bfa 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 #05a67557e5678ca1 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 #8cceb022a9c8f07e 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 #4a263d15d07d3bfc 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 #caab8beefd5641b4 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 #dc5426e1d00c69f8 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 #4be164809b088043 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 #8d0ec41f3f7bae23 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 #1de86059727c0e08 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 #31b664869bd01718 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 #b92b0e3cab6024ff 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 #c5196d5b867436ea 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 #6efaa9b8b1da2ed6 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 #646872b54ae94bd4 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 #a97ee7c8649dbd95 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 #0e2b50a550687ad0 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 #2e51597a66e89437 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 #234b3a5e3617274e 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 #ea0c78845ef63b61 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 #1e73595354091398 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 #f4ade04aa59ca756 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 #63a923cb01e4ace5 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 #0aec2bf0632549bf 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 #ec13a4b136d450ff 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 #8664753fad08561d 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 #c24e02989875a5fa 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 #e24e9dea34a8f21d 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 #07b3e6bd1baa68e4 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 #2e03a0fa8c787ede 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 #41d46a8f09219165 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 #3be900509de1cff4 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 #8e495b5ca77acaae 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 #91cd96449fd010e8 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 #b70c59c00896555b 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 #5e4fba153b95b4d7 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 #93ba6e858488f1fa 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 #2d0affae365cf863 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 #1d4e0fbc04389a2e 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 #a482cee009104137 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 #84a27b4028e4b5a2 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 #14a350740676812c 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 #1109d3db45890253 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 #502dc2a54c082ad5 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 #ef01f140b65385aa 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 #424399a4954821e8 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 #97917a6d4442a5b6 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 #7d3af92113274a14 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 #ef15dc9e6c195c62 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 #1ff686f2558fdf44 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 #dd6cf9847bbe6bed 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 #2cd218fc1ea7c4ce 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 #9be4e4480338901a 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 #6ed06ad8345d931a 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 #ce15ade7a890e4e8 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 #77a1566e0cc365aa 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 #b06013f520a6dfb2 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 #ab3c7d7445143911 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 #679dae8c19a5266d 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 #2e02d3534e609f9b 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 #0bc64e76d16e29da 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 #820597c5bd1a91f0 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 #929e87779f2b4009 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 #54a78e16695ed239 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 #805468dbe85e8d21 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 #662d9862d931d922 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 #38f2e6ac0d27c6d7 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 #1f9ff95ccb999632 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 #32fc10888daafdec 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 #0d438ac4827d1380 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 #7a5363149ae73f26 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 #e35aa494428d1088 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 #d508f6e06786a582 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 #44a11b3b5ecf5487 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 #693cf9a69289df6e 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 #cbf3bc8e6ad21bf2 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 #2ac83413ad4a8795 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 #bb5df0a059abbb44 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 #48a7190b0f0ea01e 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 #003f062d6d7ee1a2 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 #4694ef42cf60b23c 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 #57ed465cdf5ec6d6 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 #0feb9dca68b02eb2 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 #1db8413e3824a9e7 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 #029110ebae668825 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 #062e58dd9c96c912 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 #fefb6e0a07ba7010 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 #5e9e21fab9b8fc60 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 #488aa200f167ac7d 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 #7e200155d5892648 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 #f679d40fb30d5a97 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 #7c78b26e011e5df7 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 #fa7962c223508a9a 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 #73f5b6460248ebed 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 #118f46ffe3cd045c 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 #2ba5279edf77164a 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 #c90a4dbf1acce97d 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 #37c77afe4ebd79ed 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 #ed330f04689bd9bb 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 #95539409087c2c65 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 #c016052091ff2784 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 #0e025c36c8d5d41e 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 #59f5c27f83b4eec3 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 #244791b11294b2ed 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 #2c5e074d233c386a 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 #1e1782afe22a67bc 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 #9ac5a2ca08e5af47 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 #f7159ff1b6f13085 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 #868bfc3fa8a2e40e 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 #9599771a0776e569 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 #73146c3fbfb3131b 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 #d2b5952e242448e3 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 #4faa34be3efcb856 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 #2f27e4b104264cef 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 #cc4e2a3ec887f007 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 #b05c10d878d55758 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 #74be0724877330a6 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 #401c176d0a2f539e 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 #eccc9465620c8566 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 #b34491f6af99595f 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 #2132ae5d1927ec13 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 #b8ce1a505dd0a3f5 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 #f583829945b4b162 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 #7ca7be1e7f19d9ae 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 #76bfefad0a0a5d48 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 #d5ed8f1ad6053c40 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 #e8a5accf15f2d4a7 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 #19ad146dedd8c3b5 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 #710cddf799c2b923 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 #d974277ef1274abe 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 #4cd750a395faa7ea 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 #6b962d2c4b67d06d 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 #da72e4ec7d4f9f20 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 #6bbf15729b085535 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 #1f0f35bcd81fc942 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 #e0be64e75cb69db3 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 #f96f08af3a255205 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 #38518dc1f2142f4a 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 #34f65bc868aae1fe 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 #778b4dff945c6353 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 #039510ae1e7044d5 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 #2434112e2d2b1aa8 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 #596950f06b1fc925 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 #f77f3e88ac4861c6 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 #15dfc92b3b85fc44 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 #e53eadf2477645fa 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 #a481ccbb255c258a 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 #adcf7595c38a5741 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 #3b5f64fb7f311f49 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 #1de2b666d8f31552 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 #f00c34023ee90476 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 #d483cf2eb88b77bd 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 #a8ced5b44de4eb6f 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 #156daa7b9ce36865 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 #4027cf4323224343 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 #a7659cc1d4cdca32 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 #cc603a7fa1d43f0f 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 #5f279efdc6b8603a 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 #adac35c515b0f12f 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 #2dd40e79704fec2a 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 #d5d544718f5b5af7 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 #ff4cc0a432d1bab6 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 #5a44583fd80e3c21 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 #82b6472a759436f8 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 #8fb06eea5ddb8e72 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 dependency Excluded from app score #39617f8692b81e86 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 dependency Excluded from app score #0f92843f8a3b98ac 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 dependency Excluded from app score #d21a5804ecaf95d3 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 dependency Excluded from app score #e61c0bea84616346 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 #28c0ff3ab8ed5308 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 #e37fbd95bab8ca57 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 #9ee02a2fd315b901 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 #07cd64a59f45f82c 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 #677598212a451b0d 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 #0411f0eeaf13a04f 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 #d5e3e5af44237ddc 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 #e631344ff511558a 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 #4978a209c98944d9 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 #b8e80a197410f511 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 #a2c877bf6e9867e8 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 #7d2b99cd26629bbc 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 #eb16fae22be20d0f 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 #0e34d50ba7ece1ca 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 #16938d8c0236b9ac 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 #fdaa4c453f4e56dc 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 #a1e133d9e85f91a4 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 #cb60a212d955d10f 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 #3b23aed595db81fc 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 #23a375109bde9c16 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 #893b73672adc922e 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 #f5c3a8ff6d769de0 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 #c5717efd13de03db 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 #1fc54e5f93af0ade 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 #a6c420c910b4c1f1 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 #7b541a3cb0545c3a 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 #59b10a61bfa35956 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 #489e804c39af519e 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 #3c92db3a173911a6 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 #ede71fe43343424d 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 #d751183845244720 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 #23b86ea0a87b856e 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 #0006959bf6034d22 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 #6f57533e542de4bc 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 #85bfff01942dbe58 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 #16c105ca12c15186 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 #2e2767e31e4aae9f 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 #e06334c2af37500e 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 #a2979e1cb34cc07d 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 #85ebfd4988cf7b19 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 #eb973c359d064519 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 #6a179d1075a5cf4f 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 #28250ce76d8de1ab 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 #5d5ecb0b5a848fb1 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 #95a6b87d9be0c8ee 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 #66ac159acfda7cb1 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 #967c7627b708b2cd 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 #4c34c547f59ce56c 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 #432aab4af819b344 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 #1c6586300b38f59e 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 #8f4fd06fd74bae48 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