Close Open Privacy Scan

bolt Snapshot: commit b867ec9
science engine v3
schedule 2026-07-09T04:14:33.080605+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 · 1993 finding(s)

Dependency score: 67 (Medium risk)

bar_chart Score Breakdown

pii_flow −60
egress −15
env_fs −3

list Scan Summary

6 high 1 medium 1986 low
First-party packages: 10
Dependency packages: 41
Ecosystem: npm

swap_horiz Confirmed data exfiltration in application code

External domains: api.example.comapi.getunbound.aiapi.github.comapi.mistral.aiexample.commarketplace.visualstudio.commetadata.google.internaloauth2.googleapis.comstorage.googleapis.com

high first-party (npm) User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/src/integrations/openai-codex/oauth.ts:236 repo/src/integrations/openai-codex/oauth.ts:236
high first-party (npm) User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/src/integrations/openai-codex/oauth.ts:287 repo/src/integrations/openai-codex/oauth.ts:287
high first-party (npm) User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/src/services/code-index/embedders/openai-compatible.ts:67 repo/src/services/code-index/embedders/openai-compatible.ts:205
high first-party (npm): src User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/src/integrations/openai-codex/oauth.ts:236 repo/src/integrations/openai-codex/oauth.ts:236
high first-party (npm): src User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/src/integrations/openai-codex/oauth.ts:287 repo/src/integrations/openai-codex/oauth.ts:287
high first-party (npm): src User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/src/services/code-index/embedders/openai-compatible.ts:67 repo/src/services/code-index/embedders/openai-compatible.ts:205
hub Dependency data flows (1)
medium axios dependency Credentials parsed from the request URL are applied as authorization on the same outbound HTTP request. This is intentional URL authentication, not unexpected data exfiltration.
pkgs/npm/[email protected]/lib/adapters/http.js:861 pkgs/npm/[email protected]/lib/adapters/http.js:1062

</> First-Party Code

first-party (npm)

npm first-party
high pii_flow production #9fb5fff7752f823f User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/src/integrations/openai-codex/oauth.ts:236 · flow /tmp/closeopen-g35pvn7e/repo/src/integrations/openai-codex/oauth.ts:236 → /tmp/closeopen-g35pvn7e/repo/src/integrations/openai-codex/oauth.ts:236
	const response = await fetch(OPENAI_CODEX_OAUTH_CONFIG.tokenEndpoint, {
		method: "POST",
		headers: {
			"Content-Type": "application/x-www-form-urlencoded",
		},
		body: body.toString(),
		signal: AbortSignal.timeout(30000),
	})

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.

high pii_flow production #577dee8cd05427f2 User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/src/integrations/openai-codex/oauth.ts:287 · flow /tmp/closeopen-g35pvn7e/repo/src/integrations/openai-codex/oauth.ts:287 → /tmp/closeopen-g35pvn7e/repo/src/integrations/openai-codex/oauth.ts:287
	const response = await fetch(OPENAI_CODEX_OAUTH_CONFIG.tokenEndpoint, {
		method: "POST",
		headers: {
			"Content-Type": "application/x-www-form-urlencoded",
		},
		body: body.toString(),
		signal: AbortSignal.timeout(30000),
	})

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.

high pii_flow production #8b8483a874bed6dd User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/src/services/code-index/embedders/openai-compatible.ts:205 · flow /tmp/closeopen-g35pvn7e/repo/src/services/code-index/embedders/openai-compatible.ts:67 → /tmp/closeopen-g35pvn7e/repo/src/services/code-index/embedders/openai-compatible.ts:205
		const response = await fetch(url, {
			method: "POST",
			headers: {
				"Content-Type": "application/json",
				// Azure OpenAI uses 'api-key' header, while OpenAI uses 'Authorization'
				// We'll try 'api-key' first for Azure compatibility
				"api-key": this.apiKey,
				Authorization: `Bearer ${this.apiKey}`,
			},
			body: JSON.stringify({
				input: batchTexts,
				model: model,
				encoding_format: "base64",
			}),
		})

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 779 low-confidence finding(s)
low env_fs production #68cb077052dfa110 Filesystem access.
repo/apps/cli/scripts/integration/cases/create-with-session-id-resume-loads-correct-session.ts:1
import fs from "fs/promises"

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

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

low env_fs production #523f899ca001829d Environment-variable access.
repo/apps/cli/scripts/integration/cases/create-with-session-id-resume-loads-correct-session.ts:317
	const cliRoot = process.env.ROO_CLI_ROOT

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

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

low env_fs production #aa3c951a75064499 Environment-variable access.
repo/apps/cli/scripts/integration/cases/create-with-session-id-resume-loads-correct-session.ts:318
		? path.resolve(process.env.ROO_CLI_ROOT)

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

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

low env_fs production #fefa77b97efe0b52 Environment-variable access.
repo/apps/cli/scripts/integration/lib/stream-harness.ts:67
	const cliRoot = process.env.ROO_CLI_ROOT ? path.resolve(process.env.ROO_CLI_ROOT) : defaultCliRoot

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

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

low env_fs production #d3b2e28dbb1b6315 Filesystem access.
repo/apps/cli/scripts/integration/run.ts:1
import fs from "fs/promises"

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

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

low env_fs test-only #286e43335d21949c Filesystem access.
repo/apps/cli/src/__tests__/index.test.ts:16
import fs from "fs"

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

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

low env_fs test-only #eae24b4ae5bdf86a Environment-variable access.
repo/apps/cli/src/__tests__/index.test.ts:23
const RUN_INTEGRATION_TESTS = process.env.RUN_CLI_INTEGRATION_TESTS === "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.

low env_fs test-only #378b9c69f8fd800e Environment-variable access.
repo/apps/cli/src/__tests__/index.test.ts:24
const OPENROUTER_API_KEY = process.env.OPENROUTER_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 test-only #b22babbf2512acda Filesystem access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:4
import fs from "fs"

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

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

low env_fs test-only #796084433ab7a074 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:85
	const initialRooCliRuntimeEnv = process.env.ROO_CLI_RUNTIME

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

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

low env_fs test-only #9be095a3444230c6 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:90
			delete process.env.ROO_CLI_RUNTIME

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

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

low env_fs test-only #b5a4934e87295930 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:92
			process.env.ROO_CLI_RUNTIME = initialRooCliRuntimeEnv

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

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

low env_fs test-only #dfd215406d2405e1 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:101
			delete process.env.ROO_CLI_RUNTIME

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

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

low env_fs test-only #731eac03e081b86d Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:103
			process.env.ROO_CLI_RUNTIME = initialRooCliRuntimeEnv

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

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

low env_fs test-only #8d38294be204efc7 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:157
			delete process.env.ROO_CLI_RUNTIME

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

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

low env_fs test-only #7cb2d5977986839f Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:159
			expect(process.env.ROO_CLI_RUNTIME).toBe("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 test-only #ed9821a16281bfad Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:493
			delete process.env.ROO_CLI_RUNTIME

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

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

low env_fs test-only #2afee2865164ba7d Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:495
			expect(process.env.ROO_CLI_RUNTIME).toBe("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 test-only #3fb80f272a5a732e Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:499
			expect(process.env.ROO_CLI_RUNTIME).toBeUndefined()

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

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

low env_fs test-only #9b49bcfbcdfd50a5 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:503
			process.env.ROO_CLI_RUNTIME = "preexisting-value"

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

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

low env_fs test-only #41b9354dd4928bb3 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:505
			expect(process.env.ROO_CLI_RUNTIME).toBe("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 test-only #598ca6599c64b842 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:509
			expect(process.env.ROO_CLI_RUNTIME).toBe("preexisting-value")

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

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

low env_fs production #e039be5d36891e2b Filesystem access.
repo/apps/cli/src/agent/extension-host.ts:14
import fs from "fs"

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

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

low env_fs production #dfd1b42f87681e6c Environment-variable access.
repo/apps/cli/src/agent/extension-host.ts:64
const CLI_PACKAGE_ROOT = process.env.ROO_CLI_ROOT || findCliPackageRoot()

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

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

low env_fs production #fd448b46cebd14f3 Environment-variable access.
repo/apps/cli/src/agent/extension-host.ts:181
		this.previousCliRuntimeEnv = process.env.ROO_CLI_RUNTIME

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

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

low env_fs production #d6f64332c788eb19 Environment-variable access.
repo/apps/cli/src/agent/extension-host.ts:182
		process.env.ROO_CLI_RUNTIME = "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 #817ca754c6df62cc Environment-variable access.
repo/apps/cli/src/agent/extension-host.ts:609
			delete process.env.ROO_CLI_RUNTIME

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

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

low env_fs production #3b5b0e59e668207f Environment-variable access.
repo/apps/cli/src/agent/extension-host.ts:611
			process.env.ROO_CLI_RUNTIME = this.previousCliRuntimeEnv

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

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

low env_fs test-only #afae0aa60716ef9f Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:1
import fs from "fs"

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

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

low env_fs test-only #ff0e564a16c7c406 Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:25
		fs.writeFileSync(promptFilePath, promptContent)

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

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

low env_fs test-only #97a898193f20f77c Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:28
		const readContent = fs.readFileSync(promptFilePath, "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 test-only #5ffae9bec878db42 Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:41
		fs.writeFileSync(promptFilePath, multiLinePrompt)

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

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

low env_fs test-only #b8345127f4506b29 Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:42
		const readContent = fs.readFileSync(promptFilePath, "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 test-only #646ad2ffbe633c35 Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:52
		fs.writeFileSync(promptFilePath, longPrompt)

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

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

low env_fs test-only #13de17bab57ed2a3 Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:53
		const readContent = fs.readFileSync(promptFilePath, "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 test-only #f2b9ba104e2cca73 Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:84
		fs.writeFileSync(promptFilePath, shellSensitivePrompt)

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

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

low env_fs test-only #d15a1df07f2f4fc6 Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:85
		const readContent = fs.readFileSync(promptFilePath, "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 #3929d18ae6d72174 Filesystem access.
repo/apps/cli/src/commands/cli/list.ts:1
import fs from "fs"

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

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

low env_fs production #2d4043bcf340e060 Filesystem access.
repo/apps/cli/src/commands/cli/run.ts:1
import fs from "fs"

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

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

low env_fs production #01aaa12d7f177414 Filesystem access.
repo/apps/cli/src/commands/cli/run.ts:67
		prompt = fs.readFileSync(flagOptions.promptFile, "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 test-only #46e45881914f8857 Filesystem access.
repo/apps/cli/src/lib/storage/__tests__/history.test.ts:1
import * as fs from "fs/promises"

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

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

low env_fs test-only #b1fe632a898c729b Filesystem access.
repo/apps/cli/src/lib/storage/__tests__/settings.test.ts:1
import fs from "fs/promises"

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

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

low env_fs test-only #60fa58162f8476ad Filesystem access.
repo/apps/cli/src/lib/storage/__tests__/settings.test.ts:62
			await fs.writeFile(expectedSettingsFile, JSON.stringify(settingsData), "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 test-only #51958c3ea84766a6 Filesystem access.
repo/apps/cli/src/lib/storage/__tests__/settings.test.ts:74
			await fs.writeFile(expectedSettingsFile, JSON.stringify(settingsData), "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 test-only #415e17f111e7e66b Filesystem access.
repo/apps/cli/src/lib/storage/__tests__/settings.test.ts:85
			const savedData = await fs.readFile(expectedSettingsFile, "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 test-only #44dcc7a24fec0d00 Filesystem access.
repo/apps/cli/src/lib/storage/__tests__/settings.test.ts:95
			const savedData = await fs.readFile(expectedSettingsFile, "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 test-only #82114c2a95262740 Filesystem access.
repo/apps/cli/src/lib/storage/__tests__/settings.test.ts:111
			const savedData = await fs.readFile(expectedSettingsFile, "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 #01ca36f9c7089241 Filesystem access.
repo/apps/cli/src/lib/storage/config-dir.ts:1
import fs from "fs/promises"

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

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

low env_fs production #e69bd15df652bb7f Filesystem access.
repo/apps/cli/src/lib/storage/ephemeral.ts:3
import fs from "fs"

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

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

low env_fs production #80559a1c466d12dd Filesystem access.
repo/apps/cli/src/lib/storage/history.ts:1
import * as fs from "fs/promises"

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

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

low env_fs production #d748baab91f5d8fe Filesystem access.
repo/apps/cli/src/lib/storage/history.ts:32
		const content = await fs.readFile(filePath, "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 #bba6501cec5de319 Filesystem access.
repo/apps/cli/src/lib/storage/history.ts:77
		await fs.writeFile(filePath, JSON.stringify(data, null, "\t"), "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 #fb21cc63e5ac1b70 Filesystem access.
repo/apps/cli/src/lib/storage/settings.ts:1
import fs from "fs/promises"

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

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

low env_fs production #3e145dab83d71b21 Filesystem access.
repo/apps/cli/src/lib/storage/settings.ts:15
		const data = await fs.readFile(settingsPath, "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 #73297ef0f71de1fc Filesystem access.
repo/apps/cli/src/lib/storage/settings.ts:33
	await fs.writeFile(getSettingsPath(), JSON.stringify(merged, null, 2), {
		mode: 0o600,
	})

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

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

low env_fs test-only #3879dae2d094afd5 Filesystem access.
repo/apps/cli/src/lib/utils/__tests__/extension.test.ts:1
import fs from "fs"

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

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

low env_fs test-only #aa8693091876d197 Environment-variable access.
repo/apps/cli/src/lib/utils/__tests__/extension.test.ts:15
		delete process.env.ROO_EXTENSION_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 test-only #e1107d07cdaca100 Environment-variable access.
repo/apps/cli/src/lib/utils/__tests__/provider.test.ts:16
		process.env.ANTHROPIC_API_KEY = "test-anthropic-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 test-only #724a2f7854ba5422 Environment-variable access.
repo/apps/cli/src/lib/utils/__tests__/provider.test.ts:21
		process.env.OPENROUTER_API_KEY = "test-openrouter-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 test-only #6c729224b19493b9 Environment-variable access.
repo/apps/cli/src/lib/utils/__tests__/provider.test.ts:26
		process.env.OPENAI_API_KEY = "test-openai-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 test-only #54ad272a41761959 Environment-variable access.
repo/apps/cli/src/lib/utils/__tests__/provider.test.ts:31
		delete process.env.ANTHROPIC_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 test-only #9878fc1e0d52c926 Filesystem access.
repo/apps/cli/src/lib/utils/__tests__/shell.test.ts:1
import fs from "fs/promises"

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

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

low env_fs production #51a9466f2d12b342 Filesystem access.
repo/apps/cli/src/lib/utils/extension.ts:2
import fs from "fs"

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

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

low env_fs production #f9006ebade0eb320 Environment-variable access.
repo/apps/cli/src/lib/utils/extension.ts:12
	if (process.env.ROO_EXTENSION_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 #3e2204c57513f75b Environment-variable access.
repo/apps/cli/src/lib/utils/extension.ts:13
		const envPath = process.env.ROO_EXTENSION_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 #30c64d1f9776f571 Environment-variable access.
repo/apps/cli/src/lib/utils/provider.ts:19
	return process.env[envVar]

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

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

low env_fs production #27c9c6339f299a61 Filesystem access.
repo/apps/cli/src/lib/utils/shell.ts:1
import fs from "fs/promises"

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

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

low env_fs production #70001222da405e72 Filesystem access.
repo/apps/cli/src/lib/utils/shell.ts:2
import { constants as fsConstants } from "fs"

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

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

low env_fs production #fdb92e46345366b7 Filesystem access.
repo/apps/cli/src/lib/utils/version.ts:1
import fs from "fs"

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

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

low env_fs production #106f88cbe3a6b8f8 Filesystem access.
repo/apps/cli/src/lib/utils/version.ts:14
			const packageJson = JSON.parse(fs.readFileSync(candidate, "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 #09a20e31f491f1e6 Environment-variable access.
repo/apps/cli/src/ui/components/Header.tsx:34
	const homeDir = process.env.HOME || process.env.USERPROFILE || ""

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

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

low env_fs production #7544b80d05a158ea Environment-variable access.
repo/apps/cli/src/ui/components/Icon.tsx:82
	const envOverride = process.env.ROOCODE_NERD_FONT

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

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

low env_fs test-only #ba0c06d806a28970 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/ChatHistoryItem.test.tsx:10
		process.env.ROOCODE_NERD_FONT = "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 test-only #fce55a4d45897cdc Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/ChatHistoryItem.test.tsx:15
		delete process.env.ROOCODE_NERD_FONT

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

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

low env_fs test-only #33e72d6b3ba35726 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:10
		delete process.env.ROOCODE_NERD_FONT

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

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

low env_fs test-only #94dc90c15912f00e Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:15
		delete process.env.ROOCODE_NERD_FONT

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

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

low env_fs test-only #c45e17d990bacfc4 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:54
			process.env.ROOCODE_NERD_FONT = "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 test-only #703dea24e6044c27 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:60
			process.env.ROOCODE_NERD_FONT = "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.

low env_fs test-only #273742d7a0504a51 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:66
			process.env.ROOCODE_NERD_FONT = "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 test-only #c886872ee24eecf5 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:72
			process.env.ROOCODE_NERD_FONT = "false"

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

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

low env_fs test-only #b4dc5ea1c0ce3758 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:78
			process.env.ROOCODE_NERD_FONT = "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 test-only #b91411a92fd7e5f8 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:82
			process.env.ROOCODE_NERD_FONT = "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 test-only #13f724311f55df09 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:89
			process.env.ROOCODE_NERD_FONT = "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 test-only #ab48f3339c0b80df Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:94
			process.env.ROOCODE_NERD_FONT = "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 test-only #c041336493a7994f Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:102
			process.env.ROOCODE_NERD_FONT = "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 test-only #802d724b0b2c6a03 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:113
			process.env.ROOCODE_NERD_FONT = "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 test-only #1853f04b42d3e370 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:125
			process.env.ROOCODE_NERD_FONT = "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 test-only #16f65f908ddd5924 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:135
			process.env.ROOCODE_NERD_FONT = "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 test-only #7ec847955b7c27a5 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:144
			process.env.ROOCODE_NERD_FONT = "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 test-only #92d7cab963ed052d Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:150
			process.env.ROOCODE_NERD_FONT = "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 test-only #bc2b86f57387081c Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/TodoDisplay.test.tsx:11
		process.env.ROOCODE_NERD_FONT = "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 test-only #4d773c0117b6bff9 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/TodoDisplay.test.tsx:16
		delete process.env.ROOCODE_NERD_FONT

Reads environment variables or the filesystem — 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 #9ff8065880f1d151 Hardcoded external endpoint. Review what data is sent to this destination.
repo/apps/docs/src/components/GitHubInstallButtons/index.tsx:20
		const res = await fetch("https://api.github.com/repos/RooCodeInc/Roo-Code")

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 #446da49862936387 Hardcoded external endpoint. Review what data is sent to this destination.
repo/apps/docs/src/components/GitHubInstallButtons/index.tsx:38
		const res = await fetch("https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery", {
			method: "POST",
			headers: {
				"Content-Type": "application/json",
				Accept: "application/json;api-version=7.1-preview.1",
			},
			body: JSON.stringify({
				filters: [
					{
						criteria: [
							{
								filterType: 7,
								value: "RooVeterinaryInc.roo-cline",
							},
						],
					},
				],
				flags: 914,
			}),
		})

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 #5516b779f6b4587e Environment-variable access.
repo/apps/docs/src/theme/SearchPage/index.tsx:200
					) : process.env.NODE_ENV === "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 #a18d1772e9495604 Filesystem access.
repo/apps/vscode-e2e/src/runTest.ts:3
import * as fs from "fs/promises"

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

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

low env_fs production #e31ee65d7b900239 Environment-variable access.
repo/apps/vscode-e2e/src/runTest.ts:25
		const testGrep = process.argv.find((arg, i) => process.argv[i - 1] === "--grep") || process.env.TEST_GREP

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

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

low env_fs production #00e5addae5aed947 Environment-variable access.
repo/apps/vscode-e2e/src/runTest.ts:26
		const testFile = process.argv.find((arg, i) => process.argv[i - 1] === "--file") || process.env.TEST_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 #e8ed2e4d278bd705 Environment-variable access.
repo/apps/vscode-e2e/src/runTest.ts:41
			version: process.env.VSCODE_VERSION || "1.101.2",

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

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

low env_fs production #8936a5dc4a36ef86 Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:21
		openRouterApiKey: process.env.OPENROUTER_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 production #a214c4d7f2c90a0e Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:35
	if (process.env.TEST_GREP) {

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

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

low env_fs production #87352b3a3e346633 Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:36
		mochaOptions.grep = process.env.TEST_GREP

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

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

low env_fs production #8f462f3381c86208 Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:37
		console.log(`Running tests matching pattern: ${process.env.TEST_GREP}`)

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

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

low env_fs production #f9aaf45d9ee7cca5 Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:45
	if (process.env.TEST_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 #65dc3982b0ab3675 Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:46
		const specificFile = process.env.TEST_FILE.endsWith(".js")

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

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

low env_fs production #d3e5ec93c7b4c87f Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:47
			? process.env.TEST_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 #52baedcbe5bb749c Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:48
			: `${process.env.TEST_FILE}.js`

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

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

low env_fs production #0c7368d2ba611fa1 Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:57
		throw new Error(`No test files found matching criteria: ${process.env.TEST_FILE || "all tests"}`)

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

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

low env_fs production #24e3472742cba31c Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts:2
import * as fs from "fs/promises"

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

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

low env_fs production #45078cef06ac8bfb Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts:90
			await fs.writeFile(file.path, file.content)

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

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

low env_fs production #007e7da8ec012b08 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts:247
			const actualContent = await fs.readFile(testFile.path, "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 #bf4b5157b43d768a Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts:362
			const actualContent = await fs.readFile(testFile.path, "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 #064fdf4788264b5c Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts:474
			const actualContent = await fs.readFile(testFile.path, "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 #32aadcb9127d7101 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts:585
			const actualContent = await fs.readFile(testFile.path, "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 #e664025ba87917e0 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts:728
			const actualContent = await fs.readFile(testFile.path, "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 #367663c50755857a Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/execute-command.test.ts:2
import * as fs from "fs/promises"

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

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

low env_fs production #feac56b4f13299b3 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/execute-command.test.ts:54
				await fs.writeFile(file.path, file.content)

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

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

low env_fs production #1cb6a1e54295ca29 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/execute-command.test.ts:205
			const content = await fs.readFile(testFile.path, "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 #653a26a9b164f314 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/execute-command.test.ts:314
			const content = await fs.readFile(outputPath, "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 #9605d2b4db018248 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/execute-command.test.ts:436
			const content = await fs.readFile(testFile.path, "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 #7f9bc6ded4e682d7 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:2
import * as fs from "fs/promises"

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

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

low env_fs production #3ebe47e7c15ae9e6 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:63
		await fs.writeFile(testFiles.rootFile1, "This is root file 1 content")

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

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

low env_fs production #8d8a4e5e13915bd7 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:64
		await fs.writeFile(
			testFiles.rootFile2,
			`function testFunction() {
	console.log("Hello from root file 2");
}`,
		)

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

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

low env_fs production #b6ec16e10650faf8 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:72
		await fs.writeFile(
			testFiles.nestedFile1,
			`# Nested File 1

This is a markdown file in the nested directory.`,
		)

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

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

low env_fs production #c0c0a775f153886f Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:78
		await fs.writeFile(
			testFiles.nestedFile2,
			`{
	"name": "nested-config",
	"version": "1.0.0",
	"description": "Test configuration 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 #7ce6354456b134e7 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:88
		await fs.writeFile(
			testFiles.deepNestedFile,
			`interface TestInterface {
	id: number;
	name: string;
}`,
		)

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

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

low env_fs production #a7f28c50d1fd1904 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:97
		await fs.writeFile(testFiles.hiddenFile, "Hidden file content")

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

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

low env_fs production #ac0ac04adb1584a9 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:100
		await fs.writeFile(
			testFiles.configFile,
			`app:
  name: test-app
  version: 1.0.0
database:
  host: localhost
  port: 5432`,
		)

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

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

low env_fs production #13cb476c9c17a68e Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:111
		await fs.writeFile(
			testFiles.readmeFile,
			`# List Files Test Directory

This directory contains various files and subdirectories for testing the list_files tool functionality.

## Structure
- Root files (txt, js)
- Nested directory with files (md, json)
- Deep nested directory with TypeScript file
- Hidden file
- Configuration files (yaml)`,
		)

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

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

low env_fs production #4f2744f58884f1d5 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:444
			await fs.writeFile(sourceFile, "Content from symlinked 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 #019c66f82b67eb28 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/read-file.test.ts:2
import * as fs from "fs/promises"

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

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

low env_fs production #1bb7b996b2d3ad2b Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/read-file.test.ts:43
		await fs.writeFile(testFiles.simple, "Hello, World!")

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

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

low env_fs production #6a93d28d46e09825 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/read-file.test.ts:44
		await fs.writeFile(testFiles.multiline, "Line 1\nLine 2\nLine 3\nLine 4\nLine 5")

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

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

low env_fs production #a131e0e22a29600b Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/read-file.test.ts:45
		await fs.writeFile(testFiles.empty, "")

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

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

low env_fs production #dd380ee781e9dbff Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/read-file.test.ts:52
		await fs.writeFile(testFiles.large, largeContent)

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

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

low env_fs production #16442bee5bb5fff8 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/read-file.test.ts:55
		await fs.writeFile(
			testFiles.xmlContent,
			"<root>\n  <child>Test content</child>\n  <data>Some data</data>\n</root>",
		)

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

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

low env_fs production #9bc8cffea4e6c0b3 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/read-file.test.ts:62
		await fs.writeFile(testFiles.nested, "Content in nested directory")

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

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

low env_fs production #2463b480a9ee59c8 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:2
import * as fs from "fs/promises"

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

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

low env_fs production #1bf4eadfb473e8c5 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:47
		await fs.writeFile(
			testFiles.jsFile,
			`function calculateTotal(items) {
	return items.reduce((sum, item) => sum + item.price, 0)
}

function validateUser(user) {
	if (!user.email || !user.name) {
		throw new Error("Invalid user data")
	}
	return true
}

// TODO: Add more validation functions
const API_URL = "https://api.example.com"
export { calculateTotal, validateUser }`,
		)

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

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

low env_fs production #07b7493cce60039e Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:66
		await fs.writeFile(
			testFiles.tsFile,
			`interface User {
	id: number
	name: string
	email: string
	isActive: boolean
}

interface Product {
	id: number
	title: string
	price: number
	category: string
}

class UserService {
	async getUser(id: number): Promise<User> {
		// TODO: Implement user fetching
		throw new Error("Not implemented")
	}
	
	async updateUser(user: User): Promise<void> {
		// Implementation here
	}
}

export { User, Product, UserService }`,
		)

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

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

low env_fs production #6ed418b1d52e8a9c Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:97
		await fs.writeFile(
			testFiles.jsonFile,
			`{
	"name": "test-app",
	"version": "1.0.0",
	"description": "A test application for search functionality",
	"main": "index.js",
	"scripts": {
		"start": "node index.js",
		"test": "jest",
		"build": "webpack"
	},
	"dependencies": {
		"express": "^4.18.0",
		"lodash": "^4.17.21"
	},
	"devDependencies": {
		"jest": "^29.0.0",
		"webpack": "^5.0.0"
	}
}`,
		)

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

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

low env_fs production #6a7d645bb9fb4de5 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:121
		await fs.writeFile(
			testFiles.textFile,
			`# Project Documentation

This is a test project for demonstrating search functionality.

## Features
- User management
- Product catalog
- Order processing
- Payment integration

## Installation
1. Clone the repository
2. Run npm install
3. Configure environment variables
4. Start the application

## API Endpoints
- GET /users - List all users
- POST /users - Create new user
- PUT /users/:id - Update user
- DELETE /users/:id - Delete user

## TODO
- Add authentication
- Implement caching
- Add error handling
- Write more tests`,
		)

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

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

low env_fs production #102f80216499716b Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:154
		await fs.writeFile(
			testFiles.nestedJsFile,
			`// Nested utility functions
function formatCurrency(amount) {
	return new Intl.NumberFormat('en-US', {
		style: 'currency',
		currency: 'USD'
	}).format(amount)
}

function debounce(func, wait) {
	let timeout
	return function executedFunction(...args) {
		const later = () => {
			clearTimeout(timeout)
			func(...args)
		}
		clearTimeout(timeout)
		timeout = setTimeout(later, wait)
	}
}

module.exports = { formatCurrency, debounce }`,
		)

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

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

low env_fs production #204ac219a4e1e4a5 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:180
		await fs.writeFile(
			testFiles.configFile,
			`# Application Configuration
app:
  name: "Test Application"
  version: "1.0.0"
  port: 3000
  
database:
  host: "localhost"
  port: 5432
  name: "testdb"
  user: "testuser"
  
redis:
  host: "localhost"
  port: 6379
  
logging:
  level: "info"
  file: "app.log"`,
		)

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

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

low env_fs production #043c865e37098049 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:204
		await fs.writeFile(
			testFiles.readmeFile,
			`# Search Files Test Project

This project contains various file types for testing the search_files functionality.

## File Types Included

- **JavaScript files** (.js) - Contains functions and exports
- **TypeScript files** (.ts) - Contains interfaces and classes  
- **JSON files** (.json) - Configuration and package files
- **Text files** (.txt) - Documentation and notes
- **YAML files** (.yaml) - Configuration files
- **Markdown files** (.md) - Documentation

## Search Patterns to Test

1. Function definitions: \`function\\s+\\w+\`
2. TODO comments: \`TODO.*\`
3. Import/export statements: \`(import|export).*\`
4. Interface definitions: \`interface\\s+\\w+\`
5. Configuration keys: \`"\\w+":\\s*\`

## Expected Results

The search should find matches across different file types and provide context for each match.`,
		)

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

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

low env_fs production #2f65e8ff71d84a18 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/use-mcp-tool.test.ts:2
import * as fs from "fs/promises"

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

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

low env_fs production #a5616744713b0fb0 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/use-mcp-tool.test.ts:37
		await fs.writeFile(testFiles.simple, "Initial content for MCP test")

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

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

low env_fs production #201d6646c641b161 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/use-mcp-tool.test.ts:38
		await fs.writeFile(testFiles.testData, JSON.stringify({ test: "data", value: 42 }, null, 2))

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

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

low env_fs production #cdecc90f4faac1fd Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/use-mcp-tool.test.ts:53
		await fs.writeFile(testFiles.mcpConfig, JSON.stringify(mcpConfig, null, 2))

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

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

low env_fs production #580c117507a16a5e Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/write-to-file.test.ts:2
import * as fs from "fs/promises"

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

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

low env_fs production #86b5fe8a31bf21c7 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/write-to-file.test.ts:189
					actualContent = await fs.readFile(wsFilePath, "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 #8817868fbaddf4bb Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/write-to-file.test.ts:204
						actualContent = await fs.readFile(location, "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 #75167fd6a5d39eaa Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/write-to-file.test.ts:368
					actualContent = await fs.readFile(wsNestedPath, "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 #2a4625e2ce162da0 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/write-to-file.test.ts:378
						actualContent = await fs.readFile(wsFilePath, "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 #28f9b52fcaaa4d35 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/write-to-file.test.ts:393
					actualContent = await fs.readFile(nestedPath, "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 #d27cbb08e33f297e Filesystem access.
repo/apps/vscode-nightly/esbuild.mjs:2
import * as fs from "fs"

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

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

low env_fs production #65e4f19a6f21a507 Filesystem access.
repo/apps/vscode-nightly/esbuild.mjs:17
	const overrideJson = JSON.parse(fs.readFileSync(path.join(__dirname, "package.nightly.json"), "utf8"))

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

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

low env_fs production #9d7a8826eb647f58 Filesystem access.
repo/apps/vscode-nightly/esbuild.mjs:86
					const packageJson = JSON.parse(fs.readFileSync(path.join(srcDir, "package.json"), "utf8"))

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

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

low env_fs production #1d581be8eedbee29 Filesystem access.
repo/apps/vscode-nightly/esbuild.mjs:94
					fs.writeFileSync(path.join(buildDir, "package.json"), JSON.stringify(generatedPackageJson, null, 2))

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

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

low env_fs production #2f9b85347c860b8f Filesystem access.
repo/apps/vscode-nightly/esbuild.mjs:108
					const nlsPkg = JSON.parse(fs.readFileSync(path.join(srcDir, "package.nls.json"), "utf8"))

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

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

low env_fs production #b9ca477c3a2479a5 Filesystem access.
repo/apps/vscode-nightly/esbuild.mjs:111
						fs.readFileSync(path.join(__dirname, "package.nls.nightly.json"), "utf8"),

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

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

low env_fs production #7629e44ef4196a12 Filesystem access.
repo/apps/vscode-nightly/esbuild.mjs:114
					fs.writeFileSync(
						path.join(buildDir, "package.nls.json"),
						JSON.stringify({ ...nlsPkg, ...nlsNightlyPkg }, null, 2),
					)

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

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

low env_fs test-only #5c2bec346cb5faa6 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:1
import fs from "fs"

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

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

low env_fs test-only #97f3f0221d0a2150 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:29
		fs.writeFileSync(fakeScriptPath, "#!/usr/bin/env node\nconsole.log('fake esbuild')")

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

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

low env_fs test-only #abf6aa75f8d7ec4f Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:66
		fs.writeFileSync(
			inputFile,
			`
				export const greeting = "Hello, World!"
				export function add(a: number, b: number): number {
					return a + b
				}
			`,
		)

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

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

low env_fs test-only #d237445087fb88be Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:89
		const outputContent = fs.readFileSync(outputFile, "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 test-only #5ca9a76f9a2cb019 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:98
		fs.writeFileSync(inputFile, `export const value = 42`)

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

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

low env_fs test-only #047d74243417b277 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:102
		const outputContent = fs.readFileSync(outputFile, "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 test-only #0eca9be9a87ef516 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:111
		fs.writeFileSync(inputFile, `export const value = {{{ invalid syntax`)

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

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

low env_fs test-only #8a2e9f08959d85cc Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:129
		fs.writeFileSync(libFile, `export const PI = 3.14159`)

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

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

low env_fs test-only #4a031520fd0eb586 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:130
		fs.writeFileSync(
			mainFile,
			`
				import { PI } from "./lib.js"
				export const circumference = (r: number) => 2 * PI * r
			`,
		)

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

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

low env_fs test-only #4c58537c9a7745a0 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:140
		const outputContent = fs.readFileSync(outputFile, "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 test-only #d420566fd86afc29 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:149
		fs.writeFileSync(inputFile, `export const value = process.env.NODE_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 test-only #9fb5de779092b1f6 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:162
		fs.writeFileSync(
			inputFile,
			`
				import fs from "fs"
				export function fileExists(p: string): boolean {
					return fs.existsSync(p)
				}
			`,
		)

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

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

low env_fs test-only #35cab9920f103332 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:180
		const outputContent = fs.readFileSync(outputFile, "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 test-only #e2622e497c6f662c Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:189
		fs.writeFileSync(inputFile, `export const greeting = "Hello"`)

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

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

low env_fs test-only #a4264252f044d265 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:199
		const outputContent = fs.readFileSync(outputFile, "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 test-only #9ee12027c2aa0dc4 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:208
		fs.writeFileSync(inputFile, `export const value = 42`)

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

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

low env_fs test-only #873077f2128a6816 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:217
		const outputContent = fs.readFileSync(outputFile, "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 #24250242cb4a2373 Filesystem access.
repo/packages/core/src/custom-tools/custom-tool-registry.ts:11
import fs from "fs"

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

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

low env_fs production #2f27bf3c16c198c9 Filesystem access.
repo/packages/core/src/custom-tools/esbuild-runner.ts:13
import fs from "fs"

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

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

low env_fs production #d88c4e43f1186746 Filesystem access.
repo/packages/core/src/debug-log/index.ts:18
import * as fs from "fs"

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

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

low env_fs test-only #cceeb4dd8bc0063b Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:1
import * as fs from "fs/promises"

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

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

low env_fs test-only #f4aa38d33a578168 Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:23
		await fs.writeFile(
			path.join(tasksDir, "_index.json"),
			JSON.stringify({
				entries: [
					{ id: "a", task: "Task A", ts: 100, status: "completed" },
					{ id: "b", task: "Task B", ts: 300, mode: "code" },
					{ id: "invalid", ts: 200 },
				],
			}),
		)

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

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

low env_fs test-only #750faa059b0a7047 Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:47
		await fs.writeFile(
			path.join(tasksDir, "_index.json"),
			JSON.stringify({
				entries: [{ id: "a", task: "Task A", ts: 100 }],
			}),
		)

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

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

low env_fs test-only #14f18e8bac2f0586 Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:53
		await fs.writeFile(
			path.join(tasksDir, "c", "history_item.json"),
			JSON.stringify({ id: "c", task: "Task C", ts: 500, workspace: "/tmp/project" }),
		)

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

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

low env_fs test-only #330098d0d80d7a6a Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:70
		await fs.writeFile(
			path.join(tasksDir, "_index.json"),
			JSON.stringify({
				entries: [
					{ id: "stale", task: "Stale Task", ts: 999 },
					{ id: "live", task: "Live Task", ts: 100 },
				],
			}),
		)

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

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

low env_fs test-only #d0a90683eba1a4a7 Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:93
		await fs.writeFile(path.join(tasksDir, "_index.json"), "{not-valid-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 test-only #5f5f6d89acd74897 Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:94
		await fs.writeFile(
			path.join(tasksDir, "good", "history_item.json"),
			JSON.stringify({ id: "good", task: "Good Task", ts: 10, status: "active" }),
		)

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

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

low env_fs test-only #bee28bff5051334a Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:98
		await fs.writeFile(path.join(tasksDir, "bad-json", "history_item.json"), "{oops")

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

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

low env_fs test-only #0f470036f020f514 Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:99
		await fs.writeFile(
			path.join(tasksDir, "bad-shape", "history_item.json"),
			JSON.stringify({ id: "bad-shape", task: 123, ts: "not-a-number" }),
		)

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

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

low env_fs production #d708550f5391e81e Filesystem access.
repo/packages/core/src/task-history/index.ts:1
import * as fs from "fs/promises"

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

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

low env_fs production #39417ac8578cd0ea Filesystem access.
repo/packages/core/src/task-history/index.ts:50
		const raw = await fs.readFile(filePath, "utf8")

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

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

low env_fs test-only #c5d656b1f1a48d10 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:1
import * as fs from "fs/promises"

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

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

low env_fs test-only #51136acaa2bc76e2 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:37
			await fs.writeFile(path.join(tempDir, ".worktreeinclude"), "node_modules")

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

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

low env_fs test-only #73a38d9543eb370d Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:66
			await fs.writeFile(path.join(repoDir, "README.md"), "test")

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

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

low env_fs test-only #cbef11a811710dec Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:75
			await fs.writeFile(path.join(repoDir, ".worktreeinclude"), "node_modules")

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

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

low env_fs test-only #bdd07cead35dea2a Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:86
			await fs.writeFile(path.join(tempDir, ".worktreeinclude"), "node_modules")

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

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

low env_fs test-only #24d0cc67f99d32a1 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:87
			await fs.writeFile(path.join(tempDir, ".gitignore"), gitignoreContent)

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

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

low env_fs test-only #23e04d273229f072 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:98
			await fs.writeFile(path.join(tempDir, ".gitignore"), gitignoreContent)

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

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

low env_fs test-only #09117c502420c73b Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:108
			await fs.writeFile(path.join(tempDir, ".worktreeinclude"), "node_modules")

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

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

low env_fs test-only #39489d9820ff5ee4 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:132
			const fileContent = await fs.readFile(path.join(tempDir, ".worktreeinclude"), "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 test-only #9c3d59e453164937 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:137
			await fs.writeFile(path.join(tempDir, ".worktreeinclude"), "old content")

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

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

low env_fs test-only #b159c3c2db3252e7 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:142
			const fileContent = await fs.readFile(path.join(tempDir, ".worktreeinclude"), "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 test-only #bbd6f7c6a43377ad Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:159
			await fs.writeFile(path.join(sourceDir, ".gitignore"), "node_modules")

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

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

low env_fs test-only #3f5f9ae77f96eb60 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:167
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), "node_modules")

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

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

low env_fs test-only #c50c27fd92d4b99b Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:176
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), "node_modules")

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

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

low env_fs test-only #bd62f31ddd36b5d9 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:177
			await fs.writeFile(path.join(sourceDir, ".gitignore"), ".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 test-only #03b4b78118a002fd Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:187
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), "node_modules")

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

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

low env_fs test-only #00b8a442a8ac759d Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:188
			await fs.writeFile(path.join(sourceDir, ".gitignore"), "node_modules")

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

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

low env_fs test-only #3c53d45d7ddb824d Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:191
			await fs.writeFile(path.join(sourceDir, "node_modules", "package.json"), '{"name": "test"}')

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

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

low env_fs test-only #1988f6d8b75a4aa0 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:197
			const copiedContent = await fs.readFile(path.join(targetDir, "node_modules", "package.json"), "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 test-only #3b39586d3c00c197 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:205
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), "node_modules\ndist")

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

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

low env_fs test-only #d782ccafe2e1eef0 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:206
			await fs.writeFile(path.join(sourceDir, ".gitignore"), "node_modules\n.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 test-only #81d9fc2bb269c04f Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:209
			await fs.writeFile(path.join(sourceDir, ".env"), "SECRET=123")

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

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

low env_fs test-only #1c3a914bab5faa06 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:210
			await fs.writeFile(path.join(sourceDir, "node_modules", "test.txt"), "test")

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

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

low env_fs test-only #62863a102e082394 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:211
			await fs.writeFile(path.join(sourceDir, "dist", "main.js"), "console.log('dist')")

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

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

low env_fs test-only #6057b6b99798d73e Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:236
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), ".git")

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

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

low env_fs test-only #6a33c1bd165e0753 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:237
			await fs.writeFile(path.join(sourceDir, ".gitignore"), ".git")

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

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

low env_fs test-only #a6ce216956c8b991 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:239
			await fs.writeFile(path.join(sourceDir, ".git", "config"), "[core]")

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

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

low env_fs test-only #5b6844f7726791c2 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:247
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), ".env.local")

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

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

low env_fs test-only #de0d73992d77f40b Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:248
			await fs.writeFile(path.join(sourceDir, ".gitignore"), ".env.local")

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

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

low env_fs test-only #f8e7c74314db6d2f Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:249
			await fs.writeFile(path.join(sourceDir, ".env.local"), "LOCAL_VAR=value")

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

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

low env_fs test-only #53a8258de2d1aa92 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:254
			const copiedContent = await fs.readFile(path.join(targetDir, ".env.local"), "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 test-only #1994c66675cde1c8 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:259
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), "# comment\nnode_modules\n# another comment")

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

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

low env_fs test-only #7cb3a2da6bea3811 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:260
			await fs.writeFile(path.join(sourceDir, ".gitignore"), "node_modules")

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

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

low env_fs test-only #7b4cb0bb7902c764 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:270
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), "node_modules\n.env.local")

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

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

low env_fs test-only #45cecf93d1045cf4 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:271
			await fs.writeFile(path.join(sourceDir, ".gitignore"), "node_modules\n.env.local")

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

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

low env_fs test-only #3366827e5d1c83a7 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:273
			await fs.writeFile(path.join(sourceDir, "node_modules", "test.txt"), "test")

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

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

low env_fs test-only #9e19196c3fa48d61 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:274
			await fs.writeFile(path.join(sourceDir, ".env.local"), "LOCAL_VAR=value")

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

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

low env_fs test-only #5dd13deed1c85cc5 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:296
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), "node_modules")

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

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

low env_fs test-only #384a77f5a237f342 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:297
			await fs.writeFile(path.join(sourceDir, ".gitignore"), "node_modules")

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

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

low env_fs production #fced2ad89b5d9d8f Filesystem access.
repo/packages/core/src/worktree/worktree-include.ts:9
import * as fs from "fs/promises"

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

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

low env_fs production #dcedc017b40b83ae Filesystem access.
repo/packages/core/src/worktree/worktree-include.ts:88
			gitignoreContent = await fs.readFile(gitignorePath, "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 #23fe32c108ddbf27 Filesystem access.
repo/packages/core/src/worktree/worktree-include.ts:105
		await fs.writeFile(path.join(dir, ".worktreeinclude"), content, "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 #85e356b464344cc7 Filesystem access.
repo/packages/core/src/worktree/worktree-include.ts:380
			const content = await fs.readFile(filePath, "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 #28f825dd0f5b5f9c Filesystem access.
repo/packages/types/scripts/generate-roomodes-schema.ts:11
import * as fs from "fs"

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

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

low env_fs production #717d727fe0f1388f Filesystem access.
repo/packages/types/scripts/generate-roomodes-schema.ts:23
fs.writeFileSync(outPath, JSON.stringify(jsonSchema, null, "\t") + "\n", "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 #d61fad197ebb19e1 Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:3
const fs = require("fs")

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

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

low env_fs production #cd014204d5a756f4 Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:36
		const packageContent = JSON.parse(fs.readFileSync(filePath, "utf8"))

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

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

low env_fs production #af1ce53825867533 Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:39
		fs.writeFileSync(filePath, JSON.stringify(packageContent, null, 2) + "\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 production #41574cbef7429070 Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:187
		const monorepoPackageContent = fs.readFileSync(monorepoPackagePath, "utf8")

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

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

low env_fs production #fcfdf2d61e098381 Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:192
		const npmMetadataContent = fs.readFileSync(npmMetadataPath, "utf8")

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

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

low env_fs production #d209fa2b724db7e8 Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:217
		fs.writeFileSync(npmPackagePath, outputContent)

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

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

low env_fs production #f5ee880ae99deff4 Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:239
		const npmPackage = JSON.parse(fs.readFileSync(npmPackagePath, "utf8"))

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

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

low env_fs production #80dbc0e78acc8b8a Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:256
		const updatedPackage = JSON.parse(fs.readFileSync(npmPackagePath, "utf8"))

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

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

low env_fs test-only #780e4dda9e63cd0d Filesystem access.
repo/packages/types/src/__tests__/roomodes-schema-sync.spec.ts:2
import * as fs from "fs"

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

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

low env_fs test-only #fe74f0288e20e31d Filesystem access.
repo/packages/types/src/__tests__/roomodes-schema-sync.spec.ts:20
		const checkedIn = JSON.parse(fs.readFileSync(schemaPath, "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 test-only #1fd3fffdfeeab117 Filesystem access.
repo/packages/types/src/__tests__/roomodes-schema.spec.ts:11
import * as fs from "fs"

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

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

low env_fs test-only #adeaa6ff71ea3b30 Filesystem access.
repo/packages/types/src/__tests__/roomodes-schema.spec.ts:22
		schema = JSON.parse(fs.readFileSync(schemaPath, "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 test-only #6b62a51f15867c8d Filesystem access.
repo/packages/vscode-shim/src/__tests__/ExtensionContext.test.ts:2
import * as fs from "fs"

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

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

low env_fs test-only #146cceef8ba8625c Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:1
import * as fs from "fs"

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

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

low env_fs test-only #b7ff92d20b14831d Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:26
			fs.writeFileSync(filePath, "test content")

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

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

low env_fs test-only #4e0e889fa055c6ee Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:56
			fs.writeFileSync(filePath, "Hello, world!")

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

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

low env_fs test-only #b02ef78985ce151e Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:59
			const content = await fsAPI.readFile(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 test-only #238f1a9e5a2c5e88 Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:67
			await expect(fsAPI.readFile(uri)).rejects.toThrow()

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

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

low env_fs test-only #c5327b8e4b014222 Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:76
			await fsAPI.writeFile(uri, new TextEncoder().encode("Written content"))

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

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

low env_fs test-only #2df45915371177f9 Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:78
			expect(fs.readFileSync(filePath, "utf-8")).toBe("Written content")

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

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

low env_fs test-only #17e61a501d33a51f Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:85
			await fsAPI.writeFile(uri, new TextEncoder().encode("Nested content"))

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

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

low env_fs test-only #6f10ec5bca57668a Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:87
			expect(fs.readFileSync(filePath, "utf-8")).toBe("Nested content")

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

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

low env_fs test-only #62aacd990c05be90 Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:94
			fs.writeFileSync(filePath, "delete me")

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

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

low env_fs test-only #96a4635a8c6f81a3 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:1
import * as fs from "fs"

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

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

low env_fs test-only #e74c262d708aea16 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:106
			fs.writeFileSync(filePath, "Line 1\nLine 2\nLine 3")

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

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

low env_fs test-only #d1e3fe72675793e4 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:119
			fs.writeFileSync(filePath, "Line 1\nLine 2\nLine 3")

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

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

low env_fs test-only #b12fe0416974eb5b Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:133
			fs.writeFileSync(filePath, "Hello\nWorld")

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

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

low env_fs test-only #18d542e6ca5edc2c Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:146
			fs.writeFileSync(filePath, "content")

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

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

low env_fs test-only #7a614ede64af0930 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:166
			fs.writeFileSync(filePath, "Hello World")

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

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

low env_fs test-only #fa80bd5bffd443fb Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:175
			expect(fs.readFileSync(filePath, "utf-8")).toBe("Hi World")

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

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

low env_fs test-only #f27dfa361665e449 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:180
			fs.writeFileSync(filePath, "World")

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

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

low env_fs test-only #8dde58273959cc4c Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:189
			expect(fs.readFileSync(filePath, "utf-8")).toBe("Hello World")

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

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

low env_fs test-only #feba3da5b1a35a19 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:194
			fs.writeFileSync(filePath, "Hello World")

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

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

low env_fs test-only #95b49ba9aa4bd1de Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:203
			expect(fs.readFileSync(filePath, "utf-8")).toBe("Hello")

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

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

low env_fs test-only #2566560889af3376 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:216
			expect(fs.readFileSync(filePath, "utf-8")).toBe("New content")

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

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

low env_fs test-only #2103eab9a4196c7a Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:221
			fs.writeFileSync(filePath, "Original")

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

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

low env_fs test-only #8c579c60fcf99ab4 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceConfiguration.test.ts:1
import * as fs from "fs"

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

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

low env_fs test-only #6bda628f7551a518 Environment-variable access.
repo/packages/vscode-shim/src/__tests__/logger.test.ts:13
		originalEnv = process.env.DEBUG

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

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

low env_fs test-only #a8f7f46c1ce2046e Environment-variable access.
repo/packages/vscode-shim/src/__tests__/logger.test.ts:23
		process.env.DEBUG = originalEnv

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

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

low env_fs test-only #69d75d32a1758c6d Environment-variable access.
repo/packages/vscode-shim/src/__tests__/logger.test.ts:94
				delete process.env.DEBUG

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

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

low env_fs test-only #6b30c4fd151f9b59 Environment-variable access.
repo/packages/vscode-shim/src/__tests__/logger.test.ts:102
				process.env.DEBUG = "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.

low env_fs test-only #4f2e9d54448e4a9c Environment-variable access.
repo/packages/vscode-shim/src/__tests__/logger.test.ts:111
				process.env.DEBUG = "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.

low env_fs test-only #a157a7afc2fd6d6d Filesystem access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:1
import * as fs from "fs"

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

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

low env_fs test-only #f57eac07fdacd6ff Environment-variable access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:12
		originalHome = process.env.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 test-only #35d920ddc385eb7f Environment-variable access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:14
		process.env.HOME = tempDir

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

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

low env_fs test-only #bab35d108953f7ae Environment-variable access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:18
		process.env.HOME = originalHome

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

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

low env_fs test-only #55b6b3a7c2ca8109 Filesystem access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:46
		const storedId = fs.readFileSync(idPath, "utf-8").trim()

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

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

low env_fs test-only #55802de02354a7cf Filesystem access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:62
		fs.writeFileSync(idPath, "existing-machine-id-12345")

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

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

low env_fs test-only #6b7f1471e25e8106 Environment-variable access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:81
		delete process.env.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 test-only #5afb8c252759c541 Environment-variable access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:82
		process.env.USERPROFILE = tempDir

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

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

low env_fs test-only #65deeeae7fd8a378 Environment-variable access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:90
		process.env.HOME = tempDir

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

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

low env_fs test-only #fc97fd2ee202cb56 Filesystem access.
repo/packages/vscode-shim/src/__tests__/paths.test.ts:1
import * as fs from "fs"

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

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

low env_fs test-only #dde0d6fd19cfd71b Environment-variable access.
repo/packages/vscode-shim/src/__tests__/paths.test.ts:12
		originalHome = process.env.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 test-only #b7385c54092303bd Environment-variable access.
repo/packages/vscode-shim/src/__tests__/paths.test.ts:14
		process.env.HOME = tempDir

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

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

low env_fs test-only #de24a86aed6254dc Environment-variable access.
repo/packages/vscode-shim/src/__tests__/paths.test.ts:18
		process.env.HOME = originalHome

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

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

low env_fs test-only #43caf7632c8f0ed1 Environment-variable access.
repo/packages/vscode-shim/src/__tests__/paths.test.ts:197
			delete process.env.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 test-only #38be1cd358d9e8dc Environment-variable access.
repo/packages/vscode-shim/src/__tests__/paths.test.ts:198
			process.env.USERPROFILE = tempDir

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

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

low env_fs test-only #205e919cde8e0afe Environment-variable access.
repo/packages/vscode-shim/src/__tests__/paths.test.ts:205
			process.env.HOME = tempDir

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

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

low env_fs test-only #52b7bf17b4a5de77 Filesystem access.
repo/packages/vscode-shim/src/__tests__/storage.test.ts:1
import * as fs from "fs"

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

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

low env_fs production #ecd00aa5b30e5d4a Filesystem access.
repo/packages/vscode-shim/src/api/FileSystemAPI.ts:5
import * as fs from "fs"

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

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

low env_fs production #222847db086a235f Filesystem access.
repo/packages/vscode-shim/src/api/FileSystemAPI.ts:39
			const content = fs.readFileSync(uri.fsPath)

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

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

low env_fs production #f0fc8c5df4d5c8bb Filesystem access.
repo/packages/vscode-shim/src/api/FileSystemAPI.ts:56
			fs.writeFileSync(uri.fsPath, content)

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

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

low env_fs production #0126c1132b233f80 Filesystem access.
repo/packages/vscode-shim/src/api/WorkspaceAPI.ts:5
import * as fs from "fs"

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

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

low env_fs production #fdf0ceb7ac8a1731 Filesystem access.
repo/packages/vscode-shim/src/api/WorkspaceAPI.ts:131
			content = fs.readFileSync(uri.fsPath, "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 #dd04ac9d0eaa0da0 Filesystem access.
repo/packages/vscode-shim/src/api/WorkspaceAPI.ts:215
					content = fs.readFileSync(filePath, "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 #c2d849ac203db8f9 Filesystem access.
repo/packages/vscode-shim/src/api/WorkspaceAPI.ts:250
				fs.writeFileSync(filePath, newContent, "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 #9e3260a7fbccb060 Environment-variable access.
repo/packages/vscode-shim/src/api/create-vscode-api-mock.ts:109
		shell: process.env.SHELL || "/bin/bash",

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

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

low env_fs production #43a85fb74da9fe15 Filesystem access.
repo/packages/vscode-shim/src/context/ExtensionContext.ts:2
import * as fs from "fs"

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

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

low env_fs production #99b9f6d8e1e98f26 Environment-variable access.
repo/packages/vscode-shim/src/context/ExtensionContext.ts:83
			options.storageDir || path.join(process.env.HOME || process.env.USERPROFILE || ".", ".vscode-mock")

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

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

low env_fs production #54dad1d8c6170df7 Filesystem access.
repo/packages/vscode-shim/src/context/ExtensionContext.ts:125
				const packageJSON = JSON.parse(fs.readFileSync(packageJsonPath, "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 #ede7ed50621b20d7 Filesystem access.
repo/packages/vscode-shim/src/storage/Memento.ts:1
import * as fs from "fs"

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

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

low env_fs production #84814c204d4cea6c Filesystem access.
repo/packages/vscode-shim/src/storage/Memento.ts:46
				const content = fs.readFileSync(this.filePath, "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 #b95eefd0b5a5cba3 Filesystem access.
repo/packages/vscode-shim/src/storage/Memento.ts:63
			fs.writeFileSync(this.filePath, JSON.stringify(this.data, null, 2))

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

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

low env_fs production #2175afea0588aaab Filesystem access.
repo/packages/vscode-shim/src/storage/SecretStorage.ts:1
import * as fs from "fs"

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

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

low env_fs production #a1be00c3f68c91cf Filesystem access.
repo/packages/vscode-shim/src/storage/SecretStorage.ts:57
				const content = fs.readFileSync(this.filePath, "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 #24530a3bfebf8ddb Filesystem access.
repo/packages/vscode-shim/src/storage/SecretStorage.ts:76
			fs.writeFileSync(this.filePath, JSON.stringify(this.secrets, null, 2))

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

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

low env_fs production #7070834ad57b93c4 Environment-variable access.
repo/packages/vscode-shim/src/utils/logger.ts:27
		if (process.env.DEBUG) {

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

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

low env_fs production #0fc1d59c85cb2079 Filesystem access.
repo/packages/vscode-shim/src/utils/machine-id.ts:6
import * as fs from "fs"

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

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

low env_fs production #fe922396516ed372 Environment-variable access.
repo/packages/vscode-shim/src/utils/machine-id.ts:17
	const homeDir = process.env.HOME || process.env.USERPROFILE || "."

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

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

low env_fs production #07c7c32cb52e8236 Filesystem access.
repo/packages/vscode-shim/src/utils/machine-id.ts:23
			return fs.readFileSync(idPath, "utf-8").trim()

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

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

low env_fs production #8d589d4e32ee3aee Filesystem access.
repo/packages/vscode-shim/src/utils/machine-id.ts:38
		fs.writeFileSync(idPath, machineId)

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

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

low env_fs production #7677013560d3df4d Filesystem access.
repo/packages/vscode-shim/src/utils/paths.ts:5
import * as fs from "fs"

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

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

low env_fs production #4b734600889e48f0 Environment-variable access.
repo/packages/vscode-shim/src/utils/paths.ts:14
	const homeDir = process.env.HOME || process.env.USERPROFILE || "."

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

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

low env_fs production #330f86cfbc277ef5 Filesystem access.
repo/scripts/bootstrap.mjs:4
import { existsSync, writeFileSync } from "fs"

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

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

low env_fs production #d7893f219b23fb0a Environment-variable access.
repo/scripts/bootstrap.mjs:6
if (process.env.BOOTSTRAP_IN_PROGRESS) {

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

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

low env_fs production #d6163582926f79db Environment-variable access.
repo/scripts/bootstrap.mjs:12
if (process.env.npm_execpath && process.env.npm_execpath.includes("pnpm")) {

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

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

low env_fs production #2544f8d5d80121b5 Filesystem access.
repo/scripts/bootstrap.mjs:38
		writeFileSync("package.json", JSON.stringify({ name: "temp", private: true }, null, 2))

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

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

low env_fs production #c69c7d11ca6485d9 Filesystem access.
repo/scripts/find-missing-i18n-key.js:1
const fs = require("fs")

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

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

low env_fs production #4f0711fda722cc18 Filesystem access.
repo/scripts/find-missing-i18n-key.js:104
		const json = JSON.parse(fs.readFileSync(filePath, "utf8"))

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

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

low env_fs production #6a03649fbad01b9a Filesystem access.
repo/scripts/find-missing-i18n-key.js:130
				const content = fs.readFileSync(filePath, "utf8")

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

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

low env_fs production #be0a5826decdf13e Filesystem access.
repo/scripts/find-missing-translations.js:15
const { promises: fs } = require("fs")

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

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

low env_fs production #c3fcfc518c4d36f2 Filesystem access.
repo/scripts/install-vsix.js:2
const fs = require("fs")

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

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

low env_fs production #dc46a67c546da6d4 Filesystem access.
repo/scripts/install-vsix.js:35
				fs.readFileSync("./apps/vscode-nightly/package.nightly.json", "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 #725b92920c655bba Filesystem access.
repo/scripts/install-vsix.js:37
			const srcPackageJson = JSON.parse(fs.readFileSync("./src/package.json", "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 #c02b775f19aef9a6 Filesystem access.
repo/scripts/install-vsix.js:42
			const packageJson = JSON.parse(fs.readFileSync("./src/package.json", "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 #bff96b79ff9d2cc8 Filesystem access.
repo/src/__mocks__/fs/promises.ts:153
	constants: require("fs").constants,

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

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

low env_fs test-only #1d65c7d123c40d23 Filesystem access.
repo/src/__tests__/dist_assets.spec.ts:3
import * as fs from "fs"

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

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

low env_fs test-only #d7c2124c7fd63583 Filesystem access.
repo/src/__tests__/migrateSettings.spec.ts:3
import * as fs from "fs/promises"

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

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

low env_fs test-only #e375c4efde50bfc7 Filesystem access.
repo/src/api/providers/fetchers/__tests__/modelCache.spec.ts:49
import * as fsSync from "fs"

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

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

low env_fs production #be3d9883703637ad Filesystem access.
repo/src/api/providers/fetchers/modelCache.ts:2
import fs from "fs/promises"

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

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

low env_fs production #2e6400888cbe1188 Filesystem access.
repo/src/api/providers/fetchers/modelCache.ts:3
import * as fsSync from "fs"

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

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

low env_fs production #d70a27f6c9e6d053 Filesystem access.
repo/src/api/providers/fetchers/modelCache.ts:48
	return exists ? JSON.parse(await fs.readFile(filePath, "utf8")) : undefined

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

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

low env_fs production #279127741375e6fa Filesystem access.
repo/src/api/providers/fetchers/modelCache.ts:277
			const data = fsSync.readFileSync(filePath, "utf8")

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

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

low env_fs production #b203ed855e40e3fd Filesystem access.
repo/src/api/providers/fetchers/modelEndpointCache.ts:2
import fs from "fs/promises"

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

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

low env_fs production #cfab372c67b305cd Filesystem access.
repo/src/api/providers/fetchers/modelEndpointCache.ts:33
	return exists ? JSON.parse(await fs.readFile(filePath, "utf8")) : undefined

Reads environment variables or the filesystem — 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 #87c5759b23e3657b Hardcoded external endpoint. Review what data is sent to this destination.
repo/src/api/providers/fetchers/unbound.ts:17
		const response = await axios.get("https://api.getunbound.ai/models", { headers })

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 #af060b054e762bdc Hardcoded external endpoint. Review what data is sent to this destination.
repo/src/api/providers/openai-codex.ts:515
			const response = await fetch(url, {
				method: "POST",
				headers,
				body: JSON.stringify(requestBody),
				signal: this.abortController?.signal,
			})

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 #bba89614c97ca71f Hardcoded external endpoint. Review what data is sent to this destination.
repo/src/api/providers/openai-codex.ts:1206
			const response = await fetch(url, {
				method: "POST",
				headers,
				body: JSON.stringify(requestBody),
				signal: this.abortController.signal,
			})

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 #4eb7717b71d5b623 Filesystem access.
repo/src/api/providers/qwen-code.ts:86
			const credsStr = await fs.readFile(keyFile, "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 egress production #9dfa140162b7413c Hardcoded external endpoint. Review what data is sent to this destination.
repo/src/api/providers/qwen-code.ts:125
		const response = await fetch(QWEN_OAUTH_TOKEN_ENDPOINT, {
			method: "POST",
			headers: {
				"Content-Type": "application/x-www-form-urlencoded",
				Accept: "application/json",
			},
			body: objectToUrlEncoded(bodyData),
		})

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 #f1056f2c162c4e55 Filesystem access.
repo/src/api/providers/qwen-code.ts:155
			await fs.writeFile(filePath, JSON.stringify(newCredentials, null, 2))

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

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

low env_fs production #acc1bc3bfab6a5a3 Filesystem access.
repo/src/core/config/CustomModesManager.ts:3
import * as fs from "fs/promises"

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

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

low env_fs production #a3d9098d22dfe120 Filesystem access.
repo/src/core/config/CustomModesManager.ts:185
			const content = await fs.readFile(filePath, "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 #0e4d203c0decc7d6 Filesystem access.
repo/src/core/config/CustomModesManager.ts:255
			await this.queueWrite(() => fs.writeFile(filePath, yaml.stringify({ customModes: [] }, { lineWidth: 0 })))

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

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

low env_fs production #34603c288ddbb18e Environment-variable access.
repo/src/core/config/CustomModesManager.ts:263
		if (process.env.NODE_ENV === "test") {

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

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

low env_fs production #0832b331916f18e7 Filesystem access.
repo/src/core/config/CustomModesManager.ts:276
				const content = await fs.readFile(settingsPath, "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 #7ba5023ada0d23e2 Filesystem access.
repo/src/core/config/CustomModesManager.ts:469
			content = await fs.readFile(filePath, "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 #7f052b93323e135c Filesystem access.
repo/src/core/config/CustomModesManager.ts:493
		await fs.writeFile(filePath, yaml.stringify(settings, { lineWidth: 0 }), "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 #a816105b1b95d210 Filesystem access.
repo/src/core/config/CustomModesManager.ts:606
			await fs.writeFile(filePath, yaml.stringify({ customModes: [] }, { lineWidth: 0 }))

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

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

low env_fs production #af28713d990e7ce1 Filesystem access.
repo/src/core/config/CustomModesManager.ts:638
						const roomodesContent = await fs.readFile(roomodesPath, "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 #53ca9fb53242629e Filesystem access.
repo/src/core/config/CustomModesManager.ts:689
						const content = await fs.readFile(filePath, "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 #f7be4806c4bbd738 Filesystem access.
repo/src/core/config/CustomModesManager.ts:733
							const roomodesContent = await fs.readFile(roomodesPath, "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 #c8cf9e872fb0b820 Filesystem access.
repo/src/core/config/CustomModesManager.ts:788
							const content = await fs.readFile(filePath, "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 #4d2ce2df9c060766 Filesystem access.
repo/src/core/config/CustomModesManager.ts:915
				await fs.writeFile(targetPath, ruleFile.content, "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 test-only #37b7aae1b87d6e5f Filesystem access.
repo/src/core/config/__tests__/CustomModesManager.exportImportSlugChange.spec.ts:6
import * as fs from "fs/promises"

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

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

low env_fs test-only #eb036607622e3897 Filesystem access.
repo/src/core/config/__tests__/CustomModesManager.spec.ts:6
import * as fs from "fs/promises"

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

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

low env_fs test-only #9e3f56db56f8d965 Environment-variable access.
repo/src/core/config/__tests__/CustomModesManager.spec.ts:684
			const originalNodeEnv = process.env.NODE_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 test-only #913806a79b9b64e2 Environment-variable access.
repo/src/core/config/__tests__/CustomModesManager.spec.ts:685
			process.env.NODE_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 test-only #30e67128a296e54a Environment-variable access.
repo/src/core/config/__tests__/CustomModesManager.spec.ts:714
				process.env.NODE_ENV = originalNodeEnv

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

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

low env_fs test-only #ab789f0a256388b0 Filesystem access.
repo/src/core/config/__tests__/CustomModesManager.yamlEdgeCases.spec.ts:6
import * as fs from "fs/promises"

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

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

low env_fs test-only #aa827e3d01e4a063 Filesystem access.
repo/src/core/config/__tests__/importExport.spec.ts:3
import fs from "fs/promises"

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

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

low env_fs production #0e46146028bbbf8d Filesystem access.
repo/src/core/config/importExport.ts:4
import fs from "fs/promises"

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

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

low env_fs production #1b38cc7002c5020d Filesystem access.
repo/src/core/config/importExport.ts:91
		const rawData = JSON.parse(await fs.readFile(filePath, "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 #477234a9444bb06f Filesystem access.
repo/src/core/context-tracking/FileContextTracker.ts:7
import fs from "fs/promises"

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

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

low env_fs production #be3b1d1e710377e3 Filesystem access.
repo/src/core/context-tracking/FileContextTracker.ts:120
				return JSON.parse(await fs.readFile(filePath, "utf8"))

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

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

low env_fs production #0cdebe3fff0dec27 Filesystem access.
repo/src/core/ignore/RooIgnoreController.ts:3
import fs from "fs/promises"

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

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

low env_fs production #7d699634962b12f8 Filesystem access.
repo/src/core/ignore/RooIgnoreController.ts:4
import fsSync from "fs"

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

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

low env_fs production #0a576ed622d25761 Filesystem access.
repo/src/core/ignore/RooIgnoreController.ts:70
				const content = await fs.readFile(ignorePath, "utf8")

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

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

low env_fs test-only #9695b5395ddd4b24 Filesystem access.
repo/src/core/ignore/__tests__/RooIgnoreController.security.spec.ts:7
import * as fs from "fs/promises"

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

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

low env_fs test-only #518fc15c468aa4ba Filesystem access.
repo/src/core/ignore/__tests__/RooIgnoreController.spec.ts:8
import * as fs from "fs/promises"

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

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

low env_fs test-only #843bcc216d0539c7 Filesystem access.
repo/src/core/ignore/__tests__/RooIgnoreController.spec.ts:9
import * as fsSync from "fs"

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

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

low env_fs production #1ba5116e5eddd4b1 Filesystem access.
repo/src/core/mentions/index.ts:1
import fs from "fs/promises"

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

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

low env_fs test-only #87bdbe441c2f6624 Filesystem access.
repo/src/core/prompts/__tests__/responses-rooignore.spec.ts:8
import * as fs from "fs/promises"

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

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

low env_fs test-only #1e5fc807624c5eff Filesystem access.
repo/src/core/prompts/__tests__/utils.ts:1
import * as fs from "fs/promises"

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

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

low env_fs test-only #177de175bf81da3b Filesystem access.
repo/src/core/prompts/__tests__/utils.ts:2
import { PathLike } from "fs"

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

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

low env_fs test-only #cf9e9d09e0e92cc2 Filesystem access.
repo/src/core/prompts/sections/__tests__/custom-instructions.spec.ts:56
import fs from "fs/promises"

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

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

low env_fs test-only #6903b82eeb6278ce Filesystem access.
repo/src/core/prompts/sections/__tests__/custom-instructions.spec.ts:57
import type { PathLike } from "fs"

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

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

low env_fs production #ed3d8d836653294a Filesystem access.
repo/src/core/prompts/sections/custom-instructions.ts:1
import fs from "fs/promises"

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

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

low env_fs production #e24540a931046295 Filesystem access.
repo/src/core/prompts/sections/custom-instructions.ts:4
import { Dirent } from "fs"

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

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

low env_fs production #a3c99657fd15367d Filesystem access.
repo/src/core/prompts/sections/custom-instructions.ts:23
		const content = await fs.readFile(filePath, "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 #f587bdb647102eea Filesystem access.
repo/src/core/task-persistence/TaskHistoryStore.ts:1
import * as fs from "fs/promises"

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

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

low env_fs production #8ed01d0261ed4e4d Filesystem access.
repo/src/core/task-persistence/TaskHistoryStore.ts:2
import * as fsSync from "fs"

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

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

low env_fs production #cb4dda673dd0fa9d Filesystem access.
repo/src/core/task-persistence/TaskHistoryStore.ts:371
			const raw = await fs.readFile(indexPath, "utf8")

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

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

low env_fs production #d27f94cd09c4cdc3 Filesystem access.
repo/src/core/task-persistence/TaskHistoryStore.ts:452
			const raw = await fs.readFile(filePath, "utf8")

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

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

low env_fs test-only #53cc626b650c4106 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.crossInstance.spec.ts:3
import * as fs from "fs/promises"

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

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

low env_fs test-only #3fe532f291ad91ad Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.crossInstance.spec.ts:20
		await fs.writeFile(filePath, JSON.stringify(data, null, "\t"), "utf8")

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

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

low env_fs test-only #17afce9c49aae8de Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:3
import * as fs from "fs/promises"

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

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

low env_fs test-only #186be0e36f442509 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:20
		await fs.writeFile(filePath, JSON.stringify(data, null, "\t"), "utf8")

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

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

low env_fs test-only #f14fc3b620f1bacc Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:70
			await fs.writeFile(path.join(tasksDir, "task-1", GlobalFileNames.historyItem), JSON.stringify(item1))

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

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

low env_fs test-only #cf7fcf54dbcb8102 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:71
			await fs.writeFile(path.join(tasksDir, "task-2", GlobalFileNames.historyItem), JSON.stringify(item2))

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

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

low env_fs test-only #1b54df1920e7273d Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:79
			await fs.writeFile(path.join(tasksDir, GlobalFileNames.historyIndex), JSON.stringify(index))

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

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

low env_fs test-only #370da00b0c844716 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:150
			const raw = await fs.readFile(filePath, "utf8")

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

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

low env_fs test-only #eedf087abcfbb405 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:244
			await fs.writeFile(path.join(taskDir, GlobalFileNames.historyItem), JSON.stringify(item))

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

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

low env_fs test-only #2f711fdb20c8e3f6 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:344
			await fs.writeFile(path.join(taskDir, GlobalFileNames.historyItem), JSON.stringify(existingItem))

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

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

low env_fs test-only #e201d835b298493a Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:355
			const raw = await fs.readFile(path.join(taskDir, GlobalFileNames.historyItem), "utf8")

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

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

low env_fs test-only #f3d1864111004a9a Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:384
			const raw = await fs.readFile(indexPath, "utf8")

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

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

low env_fs test-only #91e1f621866c0f53 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:404
			const raw = await fs.readFile(indexPath, "utf8")

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

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

low env_fs test-only #59eb54b501e5f4b9 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:420
			await fs.writeFile(filePath, JSON.stringify(updated))

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

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

low env_fs test-only #7dc3eb19e4977f73 Filesystem access.
repo/src/core/task-persistence/__tests__/apiMessages.spec.ts:5
import * as fs from "fs/promises"

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

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

low env_fs test-only #71af10827b44f6c1 Filesystem access.
repo/src/core/task-persistence/__tests__/apiMessages.spec.ts:21
		await fs.writeFile(filePath, "<<<corrupt data>>>", "utf8")

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

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

low env_fs test-only #c789e4d55dce71a5 Filesystem access.
repo/src/core/task-persistence/__tests__/apiMessages.spec.ts:38
		await fs.writeFile(oldPath, "not json at all {[!", "utf8")

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

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

low env_fs test-only #5115e8c96e3127d8 Filesystem access.
repo/src/core/task-persistence/__tests__/apiMessages.spec.ts:60
		await fs.writeFile(filePath, JSON.stringify("hello"), "utf8")

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

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

low env_fs test-only #2eaff936133c18e1 Filesystem access.
repo/src/core/task-persistence/__tests__/apiMessages.spec.ts:77
		await fs.writeFile(oldPath, JSON.stringify({ key: "value" }), "utf8")

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

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

low env_fs test-only #c1f9cf259e528450 Filesystem access.
repo/src/core/task-persistence/__tests__/taskMessages.spec.ts:4
import * as fs from "fs/promises"

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

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

low env_fs test-only #99b910bb29cb83ea Filesystem access.
repo/src/core/task-persistence/__tests__/taskMessages.spec.ts:77
		await fs.writeFile(filePath, "{not valid json!!!", "utf8")

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

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

low env_fs test-only #c90ba2e3a5984143 Filesystem access.
repo/src/core/task-persistence/__tests__/taskMessages.spec.ts:92
		await fs.writeFile(filePath, JSON.stringify("hello"), "utf8")

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

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

low env_fs production #fe324a50f41ba45e Filesystem access.
repo/src/core/task-persistence/apiMessages.ts:3
import * as fs from "fs/promises"

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

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

low env_fs production #289efc4fcbba2beb Filesystem access.
repo/src/core/task-persistence/apiMessages.ts:51
		const fileContent = await fs.readFile(filePath, "utf8")

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

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

low env_fs production #b5509243f464ae6c Filesystem access.
repo/src/core/task-persistence/apiMessages.ts:76
			const fileContent = await fs.readFile(oldPath, "utf8")

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

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

low env_fs production #4a686a2e1fd7ea6e Filesystem access.
repo/src/core/task-persistence/taskMessages.ts:3
import * as fs from "fs/promises"

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

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

low env_fs production #644bff12045b2569 Filesystem access.
repo/src/core/task-persistence/taskMessages.ts:27
			const parsedData = JSON.parse(await fs.readFile(filePath, "utf8"))

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

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

low env_fs production #394546bea7e91e09 Filesystem access.
repo/src/core/tools/ApplyDiffTool.ts:2
import fs from "fs/promises"

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

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

low env_fs production #d846c5ed55abdb06 Filesystem access.
repo/src/core/tools/ApplyDiffTool.ts:70
			const originalContent: string = await fs.readFile(absolutePath, "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 #0ae9120a17fddbda Filesystem access.
repo/src/core/tools/ApplyPatchTool.ts:1
import fs from "fs/promises"

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

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

low env_fs production #ddb7d890561774d8 Filesystem access.
repo/src/core/tools/ApplyPatchTool.ts:91
				return await fs.readFile(absolutePath, "utf8")

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

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

low env_fs production #6839f2b130cf8128 Filesystem access.
repo/src/core/tools/ApplyPatchTool.ts:423
				await fs.writeFile(moveAbsolutePath, newContent, "utf8")

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

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

low env_fs production #1e6c610f10143d73 Filesystem access.
repo/src/core/tools/EditFileTool.ts:1
import fs from "fs/promises"

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

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

low env_fs production #93de7b8573b99801 Filesystem access.
repo/src/core/tools/EditFileTool.ts:234
					currentContent = await fs.readFile(absolutePath, "utf8")

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

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

low env_fs production #2ac2089588918a81 Filesystem access.
repo/src/core/tools/EditTool.ts:1
import fs from "fs/promises"

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

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

low env_fs production #b644117ec3ad3465 Filesystem access.
repo/src/core/tools/EditTool.ts:92
				fileContent = await fs.readFile(absolutePath, "utf8")

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

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

low env_fs production #edfae617ef8d9886 Filesystem access.
repo/src/core/tools/ExecuteCommandTool.ts:1
import fs from "fs/promises"

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

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

low env_fs production #6945c88287e291a8 Environment-variable access.
repo/src/core/tools/ExecuteCommandTool.ts:37
	return process.env.ROO_CLI_RUNTIME === "1" ? 0 : requestedAgentTimeout

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

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

low env_fs production #1956100da3e75ac9 Filesystem access.
repo/src/core/tools/GenerateImageTool.ts:2
import fs from "fs/promises"

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

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

low env_fs production #7e5348947882fcc4 Filesystem access.
repo/src/core/tools/GenerateImageTool.ts:87
				const imageBuffer = await fs.readFile(inputImageFullPath)

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

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

low env_fs production #2b44a2376c0b328d Filesystem access.
repo/src/core/tools/GenerateImageTool.ts:237
			await fs.writeFile(absolutePath, imageBuffer)

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

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

low env_fs production #45a013755420f49a Filesystem access.
repo/src/core/tools/ReadCommandOutputTool.ts:1
import * as fs from "fs/promises"

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

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

low env_fs production #2b13b01b3c169aee Filesystem access.
repo/src/core/tools/ReadFileTool.ts:12
import * as fs from "fs/promises"

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

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

low env_fs production #4b215fe164bcbb90 Filesystem access.
repo/src/core/tools/ReadFileTool.ts:217
					const buffer = await fs.readFile(fullPath)

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

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

low env_fs production #f7948a7c5de03d67 Filesystem access.
repo/src/core/tools/ReadFileTool.ts:770
				const rawContent = await fs.readFile(fullPath, "utf8")

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

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

low env_fs production #9a7a2ebbf60cd0bf Filesystem access.
repo/src/core/tools/SearchReplaceTool.ts:1
import fs from "fs/promises"

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

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

low env_fs production #3cbd233c7d64cea5 Filesystem access.
repo/src/core/tools/SearchReplaceTool.ts:97
				fileContent = await fs.readFile(absolutePath, "utf8")

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

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

low env_fs production #35e918ed92021a05 Filesystem access.
repo/src/core/tools/WriteToFileTool.ts:3
import fs from "fs/promises"

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

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

low env_fs production #78bbf2684dd7ea77 Filesystem access.
repo/src/core/tools/WriteToFileTool.ts:115
					task.diffViewProvider.originalContent = await fs.readFile(absolutePath, "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 test-only #1411910453021068 Filesystem access.
repo/src/core/tools/__tests__/ReadCommandOutputTool.test.ts:1
import * as fs from "fs/promises"

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

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

low env_fs test-only #7ed7437fd1d2ce2b Filesystem access.
repo/src/core/tools/__tests__/editFileTool.spec.ts:2
import fs from "fs/promises"

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

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

low env_fs test-only #07d66fad1a27e67f Filesystem access.
repo/src/core/tools/__tests__/editTool.spec.ts:2
import fs from "fs/promises"

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

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

low env_fs test-only #a202b884179fe328 Filesystem access.
repo/src/core/tools/__tests__/executeCommand.spec.ts:5
import * as fs from "fs/promises"

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

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

low env_fs test-only #c49bf0091906076b Environment-variable access.
repo/src/core/tools/__tests__/executeCommandTool.spec.ts:51
	const originalCliRuntime = process.env.ROO_CLI_RUNTIME

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

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

low env_fs test-only #d439158e4dc51bf5 Environment-variable access.
repo/src/core/tools/__tests__/executeCommandTool.spec.ts:111
		process.env.ROO_CLI_RUNTIME = originalCliRuntime

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

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

low env_fs test-only #c6d96a98b642b068 Environment-variable access.
repo/src/core/tools/__tests__/executeCommandTool.spec.ts:295
			process.env.ROO_CLI_RUNTIME = "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 test-only #916c9a5b9816dd66 Environment-variable access.
repo/src/core/tools/__tests__/executeCommandTool.spec.ts:300
			delete process.env.ROO_CLI_RUNTIME

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

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

low env_fs test-only #ca6fe6a2b1379769 Filesystem access.
repo/src/core/tools/__tests__/generateImageTool.test.ts:5
import * as fs from "fs/promises"

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

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

low env_fs test-only #40e701f857b9a126 Filesystem access.
repo/src/core/tools/__tests__/searchReplaceTool.spec.ts:2
import fs from "fs/promises"

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

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

low env_fs production #6a72bacc281df958 Filesystem access.
repo/src/core/tools/helpers/imageHelpers.ts:2
import * as fs from "fs/promises"

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

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

low env_fs production #160bcf0bed7e24dd Filesystem access.
repo/src/core/tools/helpers/imageHelpers.ts:76
	const fileBuffer = await fs.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 #4cda6a0073daf7c7 Filesystem access.
repo/src/core/webview/ClineProvider.ts:3
import fs from "fs/promises"

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

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

low env_fs production #03070bec3e66d540 Environment-variable access.
repo/src/core/webview/ClineProvider.ts:829
		const isCliRuntime = process.env.ROO_CLI_RUNTIME === "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 #7d0c97d520f70cc5 Filesystem access.
repo/src/core/webview/ClineProvider.ts:1061
			const fs = require("fs")

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

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

low env_fs production #7c15e47c37972eba Filesystem access.
repo/src/core/webview/ClineProvider.ts:1066
				localPort = fs.readFileSync(portFilePath, "utf8").trim()

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

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

low env_fs production #6018dd6a00433dd6 Filesystem access.
repo/src/core/webview/ClineProvider.ts:1660
				apiConversationHistory = JSON.parse(await fs.readFile(apiConversationHistoryFilePath, "utf8"))

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

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

low env_fs test-only #4fd8069e19c91a65 Environment-variable access.
repo/src/core/webview/__tests__/ClineProvider.sticky-profile.spec.ts:181
		originalRooCliRuntimeEnv = process.env.ROO_CLI_RUNTIME

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

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

low env_fs test-only #d03aabcfe48b9874 Environment-variable access.
repo/src/core/webview/__tests__/ClineProvider.sticky-profile.spec.ts:182
		delete process.env.ROO_CLI_RUNTIME

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

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

low env_fs test-only #5caa6186918a7139 Environment-variable access.
repo/src/core/webview/__tests__/ClineProvider.sticky-profile.spec.ts:269
			delete process.env.ROO_CLI_RUNTIME

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

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

low env_fs test-only #9e96b66fec69ac79 Environment-variable access.
repo/src/core/webview/__tests__/ClineProvider.sticky-profile.spec.ts:271
			process.env.ROO_CLI_RUNTIME = originalRooCliRuntimeEnv

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

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

low env_fs test-only #71878ae1b4992ee1 Environment-variable access.
repo/src/core/webview/__tests__/ClineProvider.sticky-profile.spec.ts:479
			process.env.ROO_CLI_RUNTIME = "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 test-only #75c4be656aa711c4 Environment-variable access.
repo/src/core/webview/__tests__/ClineProvider.sticky-profile.spec.ts:513
			process.env.ROO_CLI_RUNTIME = "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 test-only #b96e42c0df8a139e Filesystem access.
repo/src/core/webview/__tests__/diagnosticsHandler.spec.ts:48
import * as fs from "fs/promises"

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

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

low env_fs test-only #823f6de201cc23c8 Filesystem access.
repo/src/core/webview/__tests__/webviewMessageHandler.readFileContent.spec.ts:64
import * as fs from "fs/promises"

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

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

low env_fs test-only #b957170606c138eb Filesystem access.
repo/src/core/webview/__tests__/webviewMessageHandler.spec.ts:144
import * as fs from "fs/promises"

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

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

low env_fs production #81cd69aab628254e Filesystem access.
repo/src/core/webview/diagnosticsHandler.ts:3
import * as fs from "fs/promises"

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

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

low env_fs production #e2ac1782c9b2cc40 Filesystem access.
repo/src/core/webview/diagnosticsHandler.ts:46
			const content = await fs.readFile(apiHistoryPath, "utf8")

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

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

low env_fs production #e310bf4e2f3b50a0 Filesystem access.
repo/src/core/webview/diagnosticsHandler.ts:79
		await fs.writeFile(tempFilePath, fullContent, "utf8")

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

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

low env_fs production #e49789d72191fea3 Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:4
import * as fs from "fs/promises"

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

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

low env_fs production #133b9e4d90c55d6a Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:1141
				const content = await fs.readFile(absPath, "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 #2b588b95e1edd142 Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:1985
							await fs.writeFile(saveUri.fsPath, result.yaml, "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 #fc15d90b3a047482 Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:2063
					const yamlContent = await fs.readFile(fileUri[0].fsPath, "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 #2e64a072a86884c7 Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:2738
				await fs.writeFile(filePath, templateContent, "utf8")

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

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

low env_fs production #60d52a0fbe50d3a6 Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:2841
					await fs.writeFile(tempFilePath, message.text, "utf8")

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

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

low env_fs production #8f0a735089da534b Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:2910
				const content = await fs.readFile(sourceFilePath, "utf8")

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

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

low env_fs production #714f436d619fbd83 Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:2929
				await fs.writeFile(tempFilePath, prettifiedContent, "utf8")

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

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

low env_fs production #c051c1656b5f950a Filesystem access.
repo/src/esbuild.mjs:2
import * as fs from "fs"

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

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

low env_fs production #658c66688fd652e5 Filesystem access.
repo/src/extension.ts:3
import * as fs from "fs"

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

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

low env_fs production #287596fe89da7bbc Environment-variable access.
repo/src/extension.ts:237
	const socketPath = process.env.ROO_CODE_IPC_SOCKET_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 #1fefb38c2f30886d Environment-variable access.
repo/src/extension.ts:241
	if (process.env.NODE_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 #72b7f13317c78b43 Filesystem access.
repo/src/extension/api.ts:2
import fs from "fs/promises"

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

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

low env_fs production #1a9b4579fb412470 Environment-variable access.
repo/src/i18n/setup.ts:7
const isTestEnv = process.env.NODE_ENV === "test"

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

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

low env_fs production #cf9b5a4f7b371093 Filesystem access.
repo/src/i18n/setup.ts:13
		const fs = require("fs")

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

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

low env_fs production #564be9879434ac27 Filesystem access.
repo/src/i18n/setup.ts:54
						const content = fs.readFileSync(filePath, "utf8")

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

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

low env_fs production #ea1a18905005b3e8 Filesystem access.
repo/src/integrations/editor/DiffViewProvider.ts:3
import * as fs from "fs/promises"

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

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

low env_fs production #1897a573bd0656e4 Filesystem access.
repo/src/integrations/editor/DiffViewProvider.ts:70
			this.originalContent = await fs.readFile(absolutePath, "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 #06759d4d7b2bc868 Filesystem access.
repo/src/integrations/editor/DiffViewProvider.ts:81
			await fs.writeFile(absolutePath, "")

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

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

low env_fs production #2cd83737cc7f3f71 Filesystem access.
repo/src/integrations/editor/DiffViewProvider.ts:660
		await fs.writeFile(absolutePath, content, "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 test-only #7fdc1e6bd1478594 Filesystem access.
repo/src/integrations/misc/__tests__/read-lines.spec.ts:1
import { promises as fs } from "fs"

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

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

low env_fs test-only #61f5903b5b89d887 Filesystem access.
repo/src/integrations/misc/__tests__/read-lines.spec.ts:11
		await fs.writeFile(testFile, content)

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

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

low env_fs test-only #19bb0865564e0692 Filesystem access.
repo/src/integrations/misc/__tests__/read-lines.spec.ts:77
			await fs.writeFile(filepath, content)

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

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

low env_fs production #019c829970410503 Filesystem access.
repo/src/integrations/misc/export-markdown.ts:59
		await vscode.workspace.fs.writeFile(saveUri, Buffer.from(markdownContent))

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

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

low env_fs production #f49267c367aef9d2 Filesystem access.
repo/src/integrations/misc/extract-text-from-xlsx.ts:49
		await workbook.xlsx.readFile(filePathOrWorkbook)

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

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

low env_fs production #83dfc96f952ba0e9 Filesystem access.
repo/src/integrations/misc/extract-text.ts:5
import fs from "fs/promises"

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

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

low env_fs production #c8f339f2094d8cb7 Filesystem access.
repo/src/integrations/misc/extract-text.ts:12
	const dataBuffer = await fs.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 #7174d541e91549b7 Filesystem access.
repo/src/integrations/misc/extract-text.ts:23
	const data = await fs.readFile(filePath, "utf8")

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

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

low env_fs production #92d406811332534a Filesystem access.
repo/src/integrations/misc/extract-text.ts:108
		const rawContent = await fs.readFile(filePath, "utf8")

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

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

low env_fs production #5a31684b0983b03d Filesystem access.
repo/src/integrations/misc/image-handler.ts:57
		await vscode.workspace.fs.writeFile(vscode.Uri.file(tempFilePath), imageBuffer)

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

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

low env_fs production #60810609bcc694cd Filesystem access.
repo/src/integrations/misc/image-handler.ts:62
				const imageData = await vscode.workspace.fs.readFile(vscode.Uri.file(tempFilePath))

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

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

low env_fs production #64beb225b00c9d63 Filesystem access.
repo/src/integrations/misc/image-handler.ts:118
		await vscode.workspace.fs.writeFile(saveUri, imageBuffer)

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

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

low env_fs production #d6b6942c2e95f67d Filesystem access.
repo/src/integrations/misc/line-counter.ts:1
import fs, { createReadStream } from "fs"

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

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

low env_fs production #25ab4e6049578a16 Filesystem access.
repo/src/integrations/misc/open-file.ts:107
				await vscode.workspace.fs.writeFile(uriToProcess, Buffer.from(contentToCreate, "utf8"))

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

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

low env_fs production #2ed821ed04c3a4b1 Filesystem access.
repo/src/integrations/misc/process-images.ts:2
import fs from "fs/promises"

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

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

low env_fs production #d8a3f62d80212dc0 Filesystem access.
repo/src/integrations/misc/process-images.ts:23
			const buffer = await fs.readFile(imagePath)

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

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

low env_fs production #230aae81512caec9 Filesystem access.
repo/src/integrations/misc/read-lines.ts:9
import { createReadStream } from "fs"

Reads environment variables or the filesystem — 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 #1c6a41ac34c760f2 Hardcoded external endpoint. Review what data is sent to this destination.
repo/src/integrations/openai-codex/rate-limits.ts:82
	const response = await fetch(WHAM_USAGE_URL, { method: "GET", headers })

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 #d0df6b126fb79c51 Filesystem access.
repo/src/integrations/terminal/OutputInterceptor.ts:1
import * as fs from "fs"

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

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

low env_fs production #e2e7353518c398e4 Environment-variable access.
repo/src/integrations/terminal/ShellIntegrationManager.ts:21
		if (process.env.ZDOTDIR) {

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

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

low env_fs production #9e4d8a254bae3b65 Environment-variable access.
repo/src/integrations/terminal/ShellIntegrationManager.ts:22
			env.ROO_ZDOTDIR = process.env.ZDOTDIR

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

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

low env_fs production #3356597f09088c37 Filesystem access.
repo/src/integrations/terminal/ShellIntegrationManager.ts:48
				vscode.workspace.fs.writeFile(vscode.Uri.file(zshrcPath), Buffer.from(zshrcContent)).then(

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

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

low env_fs production #6fca4ea04986bf0d Filesystem access.
repo/src/integrations/terminal/ShellIntegrationManager.ts:81
			const fs = require("fs")

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

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

low env_fs test-only #79dfe3633b84f5f6 Environment-variable access.
repo/src/integrations/terminal/__tests__/ExecaTerminalProcess.spec.ts:78
			process.env.EXISTING_VAR = "existing"

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

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

low env_fs test-only #63e42de6a5f8883b Environment-variable access.
repo/src/integrations/terminal/__tests__/ExecaTerminalProcess.spec.ts:87
			process.env.LANG = "C"

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

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

low env_fs test-only #071f9e5e66ffa4ea Environment-variable access.
repo/src/integrations/terminal/__tests__/ExecaTerminalProcess.spec.ts:88
			process.env.LC_ALL = "POSIX"

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

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

low env_fs test-only #58bb3940ffa9223d Filesystem access.
repo/src/integrations/terminal/__tests__/OutputInterceptor.test.ts:1
import * as fs from "fs"

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

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

low env_fs test-only #31510e9d97eb0296 Environment-variable access.
repo/src/integrations/terminal/__tests__/TerminalProcessExec.cmd.spec.ts:236
		console.log(`Running CMD tests on Windows ${process.env.OS} ${process.arch}`)

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

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

low env_fs test-only #44a399ef8dde056e Environment-variable access.
repo/src/integrations/terminal/__tests__/setupTerminalTests.ts:48
	process.env.PWSH_AVAILABLE = "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.

low env_fs production #bdc375125db42edf Filesystem access.
repo/src/integrations/theme/getTheme.ts:3
import * as fs from "fs/promises"

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

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

low env_fs production #3c0c9bcfb963ffed Filesystem access.
repo/src/integrations/theme/getTheme.ts:49
						currentTheme = await fs.readFile(themePath, "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 #ccb36c9b6e290aa0 Filesystem access.
repo/src/integrations/theme/getTheme.ts:58
			currentTheme = await fs.readFile(
				path.join(getExtensionUri().fsPath, "integrations", "theme", "default-themes", filename),
				"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 #4297023df2cb050f Filesystem access.
repo/src/integrations/theme/getTheme.ts:68
			const includeThemeString = await fs.readFile(
				path.join(getExtensionUri().fsPath, "integrations", "theme", "default-themes", parsed.include),
				"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 #d805013ac3c8dd9f Filesystem access.
repo/src/services/checkpoints/ShadowCheckpointService.ts:1
import fs from "fs/promises"

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

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

low env_fs production #06d0e333548d3cc1 Filesystem access.
repo/src/services/checkpoints/ShadowCheckpointService.ts:217
		await fs.writeFile(path.join(this.dotGitDir, "info", "exclude"), patterns.join("\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 production #392befb932b53dcd Filesystem access.
repo/src/services/checkpoints/ShadowCheckpointService.ts:400
				: await fs.readFile(absPath, "utf8").catch(() => "")

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

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

low env_fs test-only #e3eb7f8894142c2d Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:3
import fs from "fs/promises"

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

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

low env_fs test-only #c4b4cd5e5c781b97 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:41
	await fs.writeFile(testFile, textFileContent)

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

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

low env_fs test-only #d3f1cd92431b2d25 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:81
				await fs.writeFile(testFile, "Ahoy, world!")

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

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

low env_fs test-only #20d9a0682c8f603c Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:85
				await fs.writeFile(testFile, "Goodbye, world!")

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

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

low env_fs test-only #b85988b0e8601d17 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:113
				await fs.writeFile(newFile, "New file content")

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

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

low env_fs test-only #9312bd99ef89461a Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:126
				await fs.writeFile(fileToDelete, "New file content")

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

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

low env_fs test-only #400943d343f7ff37 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:144
				await fs.writeFile(testFile, "Ahoy, world!")

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

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

low env_fs test-only #f4bfa74dfa13887e Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:151
				await fs.writeFile(testFile, "Hola, world!")

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

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

low env_fs test-only #fa977fcee532a4ee Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:160
				expect(await fs.readFile(testFile, "utf-8")).toBe("Ahoy, world!")

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

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

low env_fs test-only #500c6dc4f4b743a7 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:164
				expect(await fs.readFile(testFile, "utf-8")).toBe("Hola, world!")

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

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

low env_fs test-only #09a680ce58edf604 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:169
				expect(await fs.readFile(testFile, "utf-8")).toBe("Hello, world!")

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

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

low env_fs test-only #b88da16a9597ab92 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:178
				await fs.writeFile(unstagedFile, "Initial unstaged")

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

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

low env_fs test-only #550eb99852ba8b63 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:179
				await fs.writeFile(stagedFile, "Initial staged")

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

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

low env_fs test-only #a60e6a4eece22bdf Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:180
				await fs.writeFile(mixedFile, "Initial mixed")

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

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

low env_fs test-only #bc3ec59c3f9f7ca3 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:185
				await fs.writeFile(unstagedFile, "Modified unstaged")

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

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

low env_fs test-only #b3781beccd4255e8 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:187
				await fs.writeFile(stagedFile, "Modified staged")

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

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

low env_fs test-only #0fccf785e6e0d997 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:190
				await fs.writeFile(mixedFile, "Modified mixed - staged")

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

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

low env_fs test-only #9cad7472b899a6e5 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:192
				await fs.writeFile(mixedFile, "Modified mixed - unstaged")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9350c9c6ce9cbd80 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:212
				expect(await fs.readFile(unstagedFile, "utf-8")).toBe("Modified unstaged")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7b769ac665c1251a Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:213
				expect(await fs.readFile(stagedFile, "utf-8")).toBe("Modified staged")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f2fc7840504c6937 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:214
				expect(await fs.readFile(mixedFile, "utf-8")).toBe("Modified mixed - unstaged")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #3ebd1406c309ce21 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:231
				await fs.writeFile(testFile, "Ahoy, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #cc965893e84111cf Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:242
				await fs.writeFile(untrackedFile, "I am untracked!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #363c2d3846a68602 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:254
				await fs.writeFile(testFile, "Changed tracked 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 test-only #cebbf1b1c1e19f2f Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:260
				expect(await fs.readFile(untrackedFile, "utf-8")).toBe("I am untracked!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9f82f4106267ad82 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:261
				expect(await fs.readFile(testFile, "utf-8")).toBe("Hello, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #780dfab2ce5bf838 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:266
				expect(await fs.readFile(untrackedFile, "utf-8")).toBe("I am untracked!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9e5a475458bf8586 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:267
				expect(await fs.readFile(testFile, "utf-8")).toBe("Changed tracked 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 test-only #7be883bdadc3c20e Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:271
				await fs.writeFile(testFile, "I am tracked!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #4c8fa611bc9b4c3d Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:273
				await fs.writeFile(untrackedFile, "I am untracked!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #aeeea21e09770fcc Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:283
				await expect(fs.readFile(testFile, "utf-8")).rejects.toThrow()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #1316788dfc3f444a Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:284
				await expect(fs.readFile(untrackedFile, "utf-8")).rejects.toThrow()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #2d78b701265c9b26 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:288
				expect(await fs.readFile(testFile, "utf-8")).toBe("I am tracked!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #72bc3689b4fa123a Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:289
				expect(await fs.readFile(untrackedFile, "utf-8")).toBe("I am untracked!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f42eebbacd6fcb1d Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:293
				await expect(fs.readFile(testFile, "utf-8")).rejects.toThrow()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a353407c678b906c Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:294
				await expect(fs.readFile(untrackedFile, "utf-8")).rejects.toThrow()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #004f0ceeb8b85518 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:300
				await fs.writeFile(ignoredFile, "Initial ignored content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a1b7e6ce0c892423 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:305
				await fs.writeFile(ignoredFile, "Modified ignored content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #238120df52b0c2f4 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:310
				expect(await fs.readFile(ignoredFile, "utf-8")).toBe("Modified ignored content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #0e5563e5ab7bd68c Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:316
				await fs.writeFile(gitattributesPath, "*.lfs filter=lfs diff=lfs merge=lfs -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.

low env_fs test-only #1f46de6a17c5505b Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:321
				expect((await fs.readFile(excludesPath, "utf-8")).split("\n")).not.toContain("*.lfs")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #18aeab78bd6f8b5c Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:323
				expect((await fs.readFile(excludesPath, "utf-8")).split("\n")).toContain("*.lfs")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #981a31c0f31f3c79 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:330
				await fs.writeFile(lfsFile, "Binary file content simulation")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f68678f02b3e92b1 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:335
				await fs.writeFile(lfsFile, "Modified binary content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #2845dc3baadafa49 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:340
				expect(await fs.readFile(lfsFile, "utf-8")).toBe("Modified binary content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #779289eb784bbc6d Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:351
				await fs.writeFile(newTestFile, "Hello, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #6113990dd5bea995 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:352
				expect(await fs.readFile(newTestFile, "utf-8")).toBe("Hello, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7c00f44f8f3e96a3 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:363
				await fs.writeFile(newTestFile, "Ahoy, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a7010dde6ce8f79e Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:366
				expect(await fs.readFile(newTestFile, "utf-8")).toBe("Ahoy, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c491e95ba9797e46 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:370
				expect(await fs.readFile(newTestFile, "utf-8")).toBe("Hello, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #370d9462a1ab2ed6 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:374
				expect(await fs.readFile(newTestFile, "utf-8")).toBe("Ahoy, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #8a39923fcc177846 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:404
				await fs.writeFile(nestedFile, "Content in nested repo")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #5370bb674d16f06f Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:410
				await fs.writeFile(mainFile, "Content in main repo")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #51f7739b5db0f4d7 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:417
				await fs.writeFile(headFile, "HEAD")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #d5f94cc6c3a436e7 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:466
				await fs.writeFile(mainFile, "Content in main repo")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #12f2eaba98c9a2c7 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:495
				await fs.writeFile(newTestFile, "Testing events!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7c004cb7208a1743 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:544
				await fs.writeFile(testFile, "Changed content for checkpoint event test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #ccc5a2c087e685d9 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:558
				await fs.writeFile(testFile, "Content for restore test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #1b5d7e5e7b5881a2 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:563
				await fs.writeFile(testFile, "Changed after checkpoint")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #de651082424f8273 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:580
				expect(await fs.readFile(testFile, "utf-8")).toBe("Content for restore test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #94c11f6f764c7023 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:611
				await fs.writeFile(testFile, "Content for multiple listeners test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #1335a4b022c2db0f Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:633
				await fs.writeFile(testFile, "Content for remove listener test - part 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 test-only #69bf59c1c1106d0d Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:644
				await fs.writeFile(testFile, "Content for remove listener test - part 2")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #cff5c1a0a97d20eb Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:675
				await fs.writeFile(testFile, "Modified content for allowEmpty test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #472857f6acd4d2be Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:682
				await fs.writeFile(testFile, "Another modification for allowEmpty test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #736ecedc0e8311cd Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:703
				await fs.writeFile(testFile, "Setup content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #cc703e26caaecd28 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:707
				await fs.writeFile(testFile, "Hello, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #87ac0b55da5667d0 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:758
				await fs.writeFile(testFile, "Regular change")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #d915aee560ce1113 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:767
				await fs.writeFile(testFile, "Another regular change")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #101ed195507f4832 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:773
				expect(await fs.readFile(testFile, "utf-8")).toBe("Regular change")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a1d1f6b4717b34c7 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:777
				expect(await fs.readFile(testFile, "utf-8")).toBe("Regular change")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7171db7455cf0a97 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:780
				expect(await fs.readFile(testFile, "utf-8")).toBe("Another regular change")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c67106ebb5de2b67 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:785
				await fs.writeFile(testFile, "Content before empty")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #ea4c9845e3f6c781 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:816
				await fs.writeFile(testFile, "Work done in new task")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b156918aa39370f1 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:824
				expect(await fs.readFile(testFile, "utf-8")).toBe("Hello, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e94bf7a8af0d595a Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:833
				await fs.writeFile(path.join(hooksDir, "pre-commit"), "#!/bin/sh\nexit 1", { mode: 0o755 })

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9329eb4b2052215a Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:839
				const originalTemplateDir = process.env.GIT_TEMPLATE_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 test-only #12a61cad9d7065fd Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:840
				process.env.GIT_TEMPLATE_DIR = templateDir

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #63eb3afed44e0fb7 Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:865
						process.env.GIT_TEMPLATE_DIR = originalTemplateDir

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f917f8c43e2b9ec3 Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:867
						delete process.env.GIT_TEMPLATE_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 test-only #2a665a20f898e1b0 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:892
				await fs.writeFile(externalFile, "External content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #3e2cfd5a4da9f71c Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:908
				const originalGitDir = process.env.GIT_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 test-only #1641e3ea1f279d82 Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:910
				process.env.GIT_DIR = externalDotGit

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #2f0ac37445696faa Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:926
					await fs.writeFile(testWorkspaceFile, "Modified with GIT_DIR set")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9010f90f88a05467 Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:932
					delete process.env.GIT_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 test-only #d6d8d3bd60076182 Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:937
					process.env.GIT_DIR = externalDotGit

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #bcdb134a374202df Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:949
					await fs.writeFile(testWorkspaceFile, "Another modification")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e45935d544d46575 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:951
					expect(await fs.readFile(testWorkspaceFile, "utf-8")).toBe("Modified with GIT_DIR set")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c5ecac50a32039e4 Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:955
						process.env.GIT_DIR = originalGitDir

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #8ceae57049582e6a Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:957
						delete process.env.GIT_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 test-only #8e86b0aabcc26c0e Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:980
			await fs.writeFile(path.join(workspaceDir, "main.txt"), "main content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f48f8b70ec393c3a Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:1015
			await fs.writeFile(path.join(workspaceDir, "main.txt"), "main content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f0f33907b563373e Filesystem access.
repo/src/services/checkpoints/__tests__/excludes.spec.ts:4
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d57811bff1c77755 Filesystem access.
repo/src/services/checkpoints/excludes.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1720d3f86965afa0 Filesystem access.
repo/src/services/checkpoints/excludes.ts:191
			return (await fs.readFile(attributesPath, "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f3665f35f13fd89b Filesystem access.
repo/src/services/code-index/cache-manager.ts:38
			const cacheData = await vscode.workspace.fs.readFile(this.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 production #d3245e98f2b02b83 Filesystem access.
repo/src/services/code-index/manager.ts:12
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #473b3638642db1c1 Filesystem access.
repo/src/services/code-index/manager.ts:374
			const content = await fs.readFile(ignorePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #eff1120408bdbce2 Filesystem access.
repo/src/services/code-index/processors/__tests__/parser.spec.ts:6
import { readFile } from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #1d1d07eb9cafaee6 Filesystem access.
repo/src/services/code-index/processors/__tests__/scanner.spec.ts:4
import { stat } from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a8e96616e97a9032 Filesystem access.
repo/src/services/code-index/processors/file-watcher.ts:446
			const fileContent = await vscode.workspace.fs.readFile(vscode.Uri.file(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 #a8fd5f511abc18ac Filesystem access.
repo/src/services/code-index/processors/parser.ts:1
import { readFile } from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c5f1a269868b7674 Filesystem access.
repo/src/services/code-index/processors/parser.ts:51
				content = await readFile(filePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #399a72ae11db00d7 Filesystem access.
repo/src/services/code-index/processors/scanner.ts:4
import { stat } from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #38bd63147e996051 Filesystem access.
repo/src/services/code-index/processors/scanner.ts:141
					const content = await vscode.workspace.fs
						.readFile(vscode.Uri.file(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 test-only #1716c06e15b62dd6 Filesystem access.
repo/src/services/command/__tests__/frontmatter-commands.spec.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #03ab218e0eab4155 Filesystem access.
repo/src/services/command/__tests__/symlink-commands.spec.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d1a1bfd2da29eee8 Filesystem access.
repo/src/services/command/commands.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f1562c58811c4834 Filesystem access.
repo/src/services/command/commands.ts:3
import { Dirent } from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #964395913b986f9a Filesystem access.
repo/src/services/command/commands.ts:195
			content = await fs.readFile(filePath, "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 #04c5eaeb0c7ab7b8 Filesystem access.
repo/src/services/command/commands.ts:201
					content = await fs.readFile(symlinkedPath, "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 #3096dc344bb1c4fc Filesystem access.
repo/src/services/command/commands.ts:299
				const content = await fs.readFile(resolvedPath, "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 test-only #76999b0ba87cc1c5 Filesystem access.
repo/src/services/glob/__tests__/gitignore-integration.spec.ts:2
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #ee025f294650d006 Filesystem access.
repo/src/services/glob/__tests__/gitignore-integration.spec.ts:56
		await fs.promises.writeFile(path.join(tempDir, ".gitignore"), "node_modules/\nbuild/\ndist/\n*.log\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 test-only #f962a1a356548ec8 Filesystem access.
repo/src/services/glob/__tests__/gitignore-integration.spec.ts:59
		await fs.promises.writeFile(path.join(tempDir, "src", "index.ts"), "console.log('hello')")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #92606b81e92b1b96 Filesystem access.
repo/src/services/glob/__tests__/gitignore-integration.spec.ts:60
		await fs.promises.writeFile(path.join(tempDir, "allowed-dir", "file.txt"), "content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #19ade5aa16f5ebbd Filesystem access.
repo/src/services/glob/__tests__/gitignore-integration.spec.ts:114
		await fs.promises.writeFile(path.join(tempDir, ".gitignore"), "node_modules/\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 test-only #6a7747bf4f269a64 Filesystem access.
repo/src/services/glob/__tests__/gitignore-integration.spec.ts:117
		await fs.promises.writeFile(path.join(tempDir, "src", ".gitignore"), "temp/\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 test-only #834433195ac5e217 Filesystem access.
repo/src/services/glob/__tests__/gitignore-integration.spec.ts:164
		await fs.promises.writeFile(path.join(tempDir, ".gitignore"), "node_modules/\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 test-only #40fa43a3ee784f50 Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:2
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7e19fb4a2221ba1d Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:55
		await fs.promises.writeFile(path.join(tempDir, ".gitignore"), "node_modules/\nbuild/\nignored-dir/\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 test-only #3fbf8faba7f5bff2 Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:58
		await fs.promises.writeFile(path.join(tempDir, "src", "index.ts"), "")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #5f8ee8376ae93166 Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:59
		await fs.promises.writeFile(path.join(tempDir, "node_modules", "package.json"), "")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f2ef904559554c14 Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:60
		await fs.promises.writeFile(path.join(tempDir, "build", "output.js"), "")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #39227fc3fdcf7e49 Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:61
		await fs.promises.writeFile(path.join(tempDir, "ignored-dir", "file.txt"), "")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #50261c73eb2f9074 Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:108
		await fs.promises.writeFile(path.join(tempDir, ".gitignore"), "node_modules/\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 test-only #3cfcfdc437ed5ed4 Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:111
		await fs.promises.writeFile(path.join(tempDir, "src", ".gitignore"), "temp/\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 test-only #04cacf1089ee96e4 Filesystem access.
repo/src/services/glob/__tests__/list-files-limit.spec.ts:2
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #82019a62beb590f9 Filesystem access.
repo/src/services/glob/__tests__/list-files.spec.ts:55
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed5d42eb7af26d6b Filesystem access.
repo/src/services/glob/list-files.ts:3
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dbc38e6477e44407 Filesystem access.
repo/src/services/glob/list-files.ts:340
			const content = await fs.promises.readFile(gitignoreFile, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff2faade867780d0 Filesystem access.
repo/src/services/mcp/McpHub.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7ab33ec6e09d8063 Environment-variable access.
repo/src/services/mcp/McpHub.ts:286
		if (process.env.NODE_ENV === "test") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c0c9c3e96e184204 Filesystem access.
repo/src/services/mcp/McpHub.ts:326
			const content = await fs.readFile(filePath, "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 #65324ce22269a7af Environment-variable access.
repo/src/services/mcp/McpHub.ts:364
		if (process.env.NODE_ENV === "test" || !vscode.workspace.createFileSystemWatcher) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a8882cc9fbe7ebe0 Filesystem access.
repo/src/services/mcp/McpHub.ts:412
			const content = await fs.readFile(projectMcpPath, "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 #0413cd548e3468c3 Filesystem access.
repo/src/services/mcp/McpHub.ts:498
			await fs.writeFile(
				mcpSettingsFilePath,
				`{
  "mcpServers": {

  }
}`,
			)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8c18ac2193d56deb Environment-variable access.
repo/src/services/mcp/McpHub.ts:512
		if (process.env.NODE_ENV === "test" || !vscode.workspace.createFileSystemWatcher) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3aaa05da35495296 Filesystem access.
repo/src/services/mcp/McpHub.ts:555
			const content = await fs.readFile(configPath, "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 #05009268d0d49bc0 Filesystem access.
repo/src/services/mcp/McpHub.ts:1005
						const content = await fs.readFile(configPath, "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 #ec48f8db354f3f01 Filesystem access.
repo/src/services/mcp/McpHub.ts:1011
					const content = await fs.readFile(configPath, "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 #d81db6ed9e05fcc5 Filesystem access.
repo/src/services/mcp/McpHub.ts:1324
				const globalContent = await fs.readFile(globalPath, "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 #542069228aa73db6 Filesystem access.
repo/src/services/mcp/McpHub.ts:1336
					const projectContent = await fs.readFile(projectPath, "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 #0ec25db37e690e39 Filesystem access.
repo/src/services/mcp/McpHub.ts:1369
		const content = await fs.readFile(settingsPath, "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 #9f4758da4863e72d Filesystem access.
repo/src/services/mcp/McpHub.ts:1378
				const projectContent = await fs.readFile(projectMcpPath, "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 #91f5335419a25f48 Filesystem access.
repo/src/services/mcp/McpHub.ts:1519
		const content = await fs.readFile(configPath, "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 #5f5b815f169522b6 Filesystem access.
repo/src/services/mcp/McpHub.ts:1571
		const content = await fs.readFile(configPath, "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 #7feddf010407b1b6 Filesystem access.
repo/src/services/mcp/McpHub.ts:1675
			const content = await fs.readFile(configPath, "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 #5a2951aab720061a Filesystem access.
repo/src/services/mcp/McpHub.ts:1813
		const content = await fs.readFile(normalizedPath, "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 test-only #f3eedb9dc50a391e Filesystem access.
repo/src/services/mcp/__tests__/McpHub.spec.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7d3453a7ed1d6266 Filesystem access.
repo/src/services/mcp/__tests__/McpHub.spec.ts:48
		return fs.writeFile(filePath, JSON.stringify(data), "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #53c8dd28df162c67 Filesystem access.
repo/src/services/roo-config/index.ts:3
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b4f9172bf185dbb4 Filesystem access.
repo/src/services/roo-config/index.ts:147
		return await fs.readFile(filePath, "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 #394ef835f5d113d6 Filesystem access.
repo/src/services/search/file-search.ts:3
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d8be7884be9be7e8 Filesystem access.
repo/src/services/skills/SkillsManager.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f15366f0ba067850 Filesystem access.
repo/src/services/skills/SkillsManager.ts:102
			const fileContent = await fs.readFile(skillMdPath, "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 #5fa5d615c8695271 Filesystem access.
repo/src/services/skills/SkillsManager.ts:276
		const fileContent = await fs.readFile(skill.path, "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 #fefe41a283d8181c Filesystem access.
repo/src/services/skills/SkillsManager.ts:418
		await fs.writeFile(skillMdPath, skillContent, "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 #edba84638e356b0e Filesystem access.
repo/src/services/skills/SkillsManager.ts:542
		const fileContent = await fs.readFile(skill.path, "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 #72f37e19bb6d7025 Filesystem access.
repo/src/services/skills/SkillsManager.ts:558
		await fs.writeFile(skill.path, newContent, "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 #7b4e38bd01415f97 Environment-variable access.
repo/src/services/skills/SkillsManager.ts:650
		if (process.env.NODE_ENV === "test" || !vscode.workspace.createFileSystemWatcher) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c36bfdd25fe763ec Environment-variable access.
repo/src/services/skills/SkillsManager.ts:688
		if (process.env.NODE_ENV === "test" || !vscode.workspace.createFileSystemWatcher) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #21720c51db8794c4 Filesystem access.
repo/src/services/tree-sitter/__tests__/helpers.ts:2
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b1c649af7ab6601e Environment-variable access.
repo/src/services/tree-sitter/__tests__/helpers.ts:19
export const DEBUG = process.env.DEBUG ? parseInt(process.env.DEBUG, 10) : 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 test-only #0b5f172cb32a602c Filesystem access.
repo/src/services/tree-sitter/__tests__/markdownIntegration.spec.ts:13
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #210db3b19b91e119 Filesystem access.
repo/src/services/tree-sitter/index.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c1ffdb2188677e7a Filesystem access.
repo/src/services/tree-sitter/index.ts:122
		const fileContent = await fs.readFile(filePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9aba672a77023422 Filesystem access.
repo/src/services/tree-sitter/index.ts:305
	const fileContent = await fs.readFile(filePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d6f7cd0896c0c7eb Environment-variable access.
repo/src/shared/package.ts:11
	name: process.env.PKG_NAME || 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 #4357dc2cf85aa311 Environment-variable access.
repo/src/shared/package.ts:12
	version: process.env.PKG_VERSION || version,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c0abf80c479a970a Environment-variable access.
repo/src/shared/package.ts:13
	outputChannel: process.env.PKG_OUTPUT_CHANNEL || "Roo-Code",

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46edc3d2e3e4ced3 Environment-variable access.
repo/src/shared/package.ts:14
	sha: process.env.PKG_SHA,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #ddbd03a6815b3672 Filesystem access.
repo/src/utils/__tests__/autoImportSettings.spec.ts:76
import fsPromises from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c8903845f09113ea Environment-variable access.
repo/src/utils/__tests__/config.spec.ts:20
		process.env.TEST_VAR = "testValue"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e697cc1654fbf3af Environment-variable access.
repo/src/utils/__tests__/config.spec.ts:28
		process.env.API_KEY = "12345"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #d5370cb3c0343e48 Environment-variable access.
repo/src/utils/__tests__/config.spec.ts:29
		process.env.ENDPOINT = "https://example.com"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #80d5b5f80f1f93d4 Environment-variable access.
repo/src/utils/__tests__/config.spec.ts:80
		process.env.EXISTING_VAR = "exists"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #09d3ada334e9caeb Environment-variable access.
repo/src/utils/__tests__/config.spec.ts:116
		process.env.MUTATE_TEST = "mutated"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #2c86c8c501902eb1 Filesystem access.
repo/src/utils/__tests__/git.spec.ts:2
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a84d15287d68c99c Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:67
		delete process.env.GLOBAL_AGENT_HTTP_PROXY

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #65f24c7297c3ffb3 Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:68
		delete process.env.GLOBAL_AGENT_HTTPS_PROXY

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #535aaa4b14599b4e Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:69
		delete process.env.GLOBAL_AGENT_NO_PROXY

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f23fac964990a251 Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:70
		delete process.env.NODE_TLS_REJECT_UNAUTHORIZED

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e98ebf42a0aaa8a6 Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:103
			expect(process.env.GLOBAL_AGENT_HTTP_PROXY).toBeUndefined()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #53490c6b4a397d02 Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:104
			expect(process.env.GLOBAL_AGENT_HTTPS_PROXY).toBeUndefined()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f987c41e8df8da8d Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:118
			expect(process.env.GLOBAL_AGENT_HTTP_PROXY).toBe("http://localhost:8080")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #3753f45053d23d88 Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:119
			expect(process.env.GLOBAL_AGENT_HTTPS_PROXY).toBe("http://localhost:8080")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #4fd82d184c51c85f Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:133
			expect(process.env.NODE_TLS_REJECT_UNAUTHORIZED).toBeUndefined()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #35e88c7b20e17fac Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:147
			expect(process.env.NODE_TLS_REJECT_UNAUTHORIZED).toBe("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 test-only #55fcf23ee27769a2 Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:305
			expect(process.env.NODE_TLS_REJECT_UNAUTHORIZED).toBeUndefined()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #27711c5425138768 Filesystem access.
repo/src/utils/__tests__/safeWriteJson.test.ts:1
import * as actualFsPromises from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c8ee285bdf13da54 Filesystem access.
repo/src/utils/__tests__/safeWriteJson.test.ts:2
import * as fsSyncActual from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #02c3123ac1500c8c Filesystem access.
repo/src/utils/__tests__/safeWriteJson.test.ts:46
import * as fs from "fs/promises" // This will now be the mocked version

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #61487fc450440625 Filesystem access.
repo/src/utils/__tests__/safeWriteJson.test.ts:73
		await fs.writeFile(currentTestFilePath, JSON.stringify({ initial: "content" }))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f87353f1f7b2f0ce Filesystem access.
repo/src/utils/__tests__/safeWriteJson.test.ts:86
		const readContent = await fs.readFile(filePath, "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 test-only #9b66e34cdcffc245 Filesystem access.
repo/src/utils/__tests__/safeWriteJson.test.ts:384
		await fs.writeFile(lockTestFilePath, JSON.stringify({ initial: "lock test content" }))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e420b9792eb026ec Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:55
		delete process.env.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 test-only #34347e7af1196323 Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:56
		delete process.env.COMSPEC

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c0ae8e6441823227 Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:128
			process.env.COMSPEC = "C:\\Windows\\System32\\cmd.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 test-only #593b020fda83f7a4 Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:192
			process.env.COMSPEC = "D:\\CustomCmd\\cmd.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 test-only #95fca9ce9e61f74c Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:244
			process.env.SHELL = "/usr/local/bin/zsh"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #1bf1cd4395c8a0ea Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:300
			process.env.SHELL = "/usr/bin/fish"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e4060eed99c72119 Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:335
			process.env.SHELL = "/bin/zsh"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a58fba69d37dafdd Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:347
			delete process.env.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 test-only #a4f2254dc2fcd75e Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:432
			process.env.COMSPEC = "C:\\Windows\\System32\\cmd.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 test-only #17c9abc57c893ab5 Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:462
			process.env.SHELL = "/opt/custom/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 test-only #16c6b91a074d3a84 Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:482
			delete process.env.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 #6d5aaa227696db3d Filesystem access.
repo/src/utils/fs.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #36f866f3bce1664c Filesystem access.
repo/src/utils/git.ts:3
import { promises as fs } from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ee627bd3fc01531c Filesystem access.
repo/src/utils/git.ts:37
			const configContent = await fs.readFile(configPath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9d71a5ed405c646b Filesystem access.
repo/src/utils/git.ts:65
				const headContent = await fs.readFile(headPath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9da2e7aaa64286a0 Filesystem access.
repo/src/utils/logging/CompactTransport.ts:5
import { writeFileSync, mkdirSync } from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #542d9dad7ed3a4d3 Filesystem access.
repo/src/utils/logging/CompactTransport.ts:65
			writeFileSync(this.filePath, "", { flag: "w" })

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #99953be26f37d76b Filesystem access.
repo/src/utils/logging/CompactTransport.ts:73
			writeFileSync(this.filePath, JSON.stringify(sessionStart) + "\n", { flag: "w" })

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7da0098b74c7a4ca Filesystem access.
repo/src/utils/logging/CompactTransport.ts:104
			writeFileSync(this.filePath, output, { flag: "a" })

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f6ece60df5706f4b Filesystem access.
repo/src/utils/logging/CompactTransport.ts:119
			writeFileSync(this.filePath, JSON.stringify(sessionEnd) + "\n", { flag: "a" })

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f38070580905c8e2 Filesystem access.
repo/src/utils/logging/__tests__/CompactTransport.spec.ts:4
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #ac3328ad8b7bae81 Filesystem access.
repo/src/utils/logging/__tests__/CompactTransport.spec.ts:68
			const fileContent = fs.readFileSync(testLogPath, "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 test-only #a49152ff8b756241 Filesystem access.
repo/src/utils/logging/__tests__/CompactTransport.spec.ts:95
			const fileContent = fs.readFileSync(testLogPath, "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 test-only #4bbe64f409a4d324 Filesystem access.
repo/src/utils/logging/__tests__/CompactTransport.spec.ts:112
			const fileContent = fs.readFileSync(testLogPath, "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 test-only #0886e92d1a57c69c Filesystem access.
repo/src/utils/logging/__tests__/CompactTransport.spec.ts:170
			const fileContent = fs.readFileSync(testLogPath, "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 #90019c6cf7693f4e Environment-variable access.
repo/src/utils/logging/index.ts:25
export const logger = process.env.NODE_ENV === "test" ? new CompactLogger() : noopLogger

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #301c3f3d76b6b51c Filesystem access.
repo/src/utils/migrateSettings.ts:3
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #793dff055ea1e51b Filesystem access.
repo/src/utils/migrateSettings.ts:92
		const jsonContent = await fs.readFile(oldJsonPath, "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 #31a86c7c5c44465c Filesystem access.
repo/src/utils/migrateSettings.ts:102
			await fs.writeFile(newYamlPath, yamlContent, "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 #92811820373c2fef Environment-variable access.
repo/src/utils/networkProxy.ts:78
		process.env.NODE_TLS_REJECT_UNAUTHORIZED = originalNodeTlsRejectUnauthorized

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6b84380a3a9420f9 Environment-variable access.
repo/src/utils/networkProxy.ts:80
		delete process.env.NODE_TLS_REJECT_UNAUTHORIZED

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #da5d7d12a33ef802 Environment-variable access.
repo/src/utils/networkProxy.ts:100
		originalNodeTlsRejectUnauthorized = process.env.NODE_TLS_REJECT_UNAUTHORIZED

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b16ac4446cfeed14 Environment-variable access.
repo/src/utils/networkProxy.ts:104
	process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0" // lgtm[js/disabling-certificate-validation]

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dc1af9d95d11659b Environment-variable access.
repo/src/utils/networkProxy.ts:324
		process.env.GLOBAL_AGENT_HTTP_PROXY = config.serverUrl

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e99300a450611328 Environment-variable access.
repo/src/utils/networkProxy.ts:325
		process.env.GLOBAL_AGENT_HTTPS_PROXY = config.serverUrl

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c2123383a7e24621 Environment-variable access.
repo/src/utils/networkProxy.ts:326
		process.env.GLOBAL_AGENT_NO_PROXY = "" // Proxy all requests

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b19d4f48e676166f Filesystem access.
repo/src/utils/safeWriteJson.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bcfe64335806eda5 Filesystem access.
repo/src/utils/safeWriteJson.ts:2
import * as fsSync from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5ceb80269a673e2c Filesystem access.
repo/src/utils/storage.ts:3
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #affb22d08adc907a Filesystem access.
repo/src/utils/storage.ts:4
import { constants as fsConstants } from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aefcd89a38ec7776 Environment-variable access.
repo/webview-ui/src/App.tsx:150
		if (process.env.NODE_ENV === "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 #f651562b732f752d Environment-variable access.
repo/webview-ui/src/components/ErrorBoundary.tsx:56
		const version = process.env.PKG_VERSION || "unknown"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #baa73b676865924c Environment-variable access.
repo/webview-ui/src/utils/sourceMapInitializer.ts:17
	if (process.env.NODE_ENV !== "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 #ca7db06a3f6b4230 Environment-variable access.
repo/webview-ui/src/utils/sourceMapInitializer.ts:116
	if (process.env.NODE_ENV !== "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 #abb470fb559971b3 Filesystem access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:2
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #73406cb66baafb3e Environment-variable access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:21
				const mode = process.env.NODE_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 production #6c052ef6cc12cb51 Filesystem access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:61
						let jsContent = fs.readFileSync(jsPath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1be2aa2a8e1d6ea7 Filesystem access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:71
							fs.writeFileSync(jsPath, jsContent)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #65280f7cca6c11bb Filesystem access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:76
							const mapContent = JSON.parse(fs.readFileSync(mapPath, "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74f2d10133c56e3b Filesystem access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:92
							fs.writeFileSync(mapPath, JSON.stringify(mapContent, null, 2))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #18fb1726c6b88b06 Filesystem access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:103
				fs.writeFileSync(
					path.join(outDir, "sourcemap-manifest.json"),
					JSON.stringify({
						enabled: true,
						version: process.env.PKG_VERSION || "unknown",
						buildTime: new Date().toISOString(),
					}),
				)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5426e1ae89b0b547 Environment-variable access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:107
						version: process.env.PKG_VERSION || "unknown",

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #934500392badf82a Filesystem access.
repo/webview-ui/vite.config.ts:2
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a0e7e4a715d17030 Filesystem access.
repo/webview-ui/vite.config.ts:45
				fs.writeFileSync(resolve(__dirname, "..", ".vite-port"), port.toString())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1c704a9f3b4a30e Filesystem access.
repo/webview-ui/vite.config.ts:58
	const pkg = JSON.parse(fs.readFileSync(path.join(__dirname, "..", "src", "package.json"), "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #516f1fe61f266b18 Environment-variable access.
repo/webview-ui/vite.config.ts:63
		"process.env.VSCODE_TEXTMATE_DEBUG": JSON.stringify(process.env.VSCODE_TEXTMATE_DEBUG),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6779b1d21e6e7a31 Filesystem access.
repo/webview-ui/vite.config.ts:76
			fs.readFileSync(path.join(__dirname, "..", "apps", "vscode-nightly", "package.nightly.json"), "utf8"),

Reads environment variables or the 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 (npm): src

npm first-party
high pii_flow production #9fb5fff7752f823f User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/src/integrations/openai-codex/oauth.ts:236 · flow /tmp/closeopen-g35pvn7e/repo/src/integrations/openai-codex/oauth.ts:236 → /tmp/closeopen-g35pvn7e/repo/src/integrations/openai-codex/oauth.ts:236
	const response = await fetch(OPENAI_CODEX_OAUTH_CONFIG.tokenEndpoint, {
		method: "POST",
		headers: {
			"Content-Type": "application/x-www-form-urlencoded",
		},
		body: body.toString(),
		signal: AbortSignal.timeout(30000),
	})

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.

high pii_flow production #577dee8cd05427f2 User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/src/integrations/openai-codex/oauth.ts:287 · flow /tmp/closeopen-g35pvn7e/repo/src/integrations/openai-codex/oauth.ts:287 → /tmp/closeopen-g35pvn7e/repo/src/integrations/openai-codex/oauth.ts:287
	const response = await fetch(OPENAI_CODEX_OAUTH_CONFIG.tokenEndpoint, {
		method: "POST",
		headers: {
			"Content-Type": "application/x-www-form-urlencoded",
		},
		body: body.toString(),
		signal: AbortSignal.timeout(30000),
	})

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.

high pii_flow production #8b8483a874bed6dd User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/src/services/code-index/embedders/openai-compatible.ts:205 · flow /tmp/closeopen-g35pvn7e/repo/src/services/code-index/embedders/openai-compatible.ts:67 → /tmp/closeopen-g35pvn7e/repo/src/services/code-index/embedders/openai-compatible.ts:205
		const response = await fetch(url, {
			method: "POST",
			headers: {
				"Content-Type": "application/json",
				// Azure OpenAI uses 'api-key' header, while OpenAI uses 'Authorization'
				// We'll try 'api-key' first for Azure compatibility
				"api-key": this.apiKey,
				Authorization: `Bearer ${this.apiKey}`,
			},
			body: JSON.stringify({
				input: batchTexts,
				model: model,
				encoding_format: "base64",
			}),
		})

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 429 low-confidence finding(s)
low env_fs production #bff96b79ff9d2cc8 Filesystem access.
repo/src/__mocks__/fs/promises.ts:153
	constants: require("fs").constants,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #1d65c7d123c40d23 Filesystem access.
repo/src/__tests__/dist_assets.spec.ts:3
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #d7c2124c7fd63583 Filesystem access.
repo/src/__tests__/migrateSettings.spec.ts:3
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e375c4efde50bfc7 Filesystem access.
repo/src/api/providers/fetchers/__tests__/modelCache.spec.ts:49
import * as fsSync from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #be3d9883703637ad Filesystem access.
repo/src/api/providers/fetchers/modelCache.ts:2
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2e6400888cbe1188 Filesystem access.
repo/src/api/providers/fetchers/modelCache.ts:3
import * as fsSync from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d70a27f6c9e6d053 Filesystem access.
repo/src/api/providers/fetchers/modelCache.ts:48
	return exists ? JSON.parse(await fs.readFile(filePath, "utf8")) : undefined

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #279127741375e6fa Filesystem access.
repo/src/api/providers/fetchers/modelCache.ts:277
			const data = fsSync.readFileSync(filePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b203ed855e40e3fd Filesystem access.
repo/src/api/providers/fetchers/modelEndpointCache.ts:2
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cfab372c67b305cd Filesystem access.
repo/src/api/providers/fetchers/modelEndpointCache.ts:33
	return exists ? JSON.parse(await fs.readFile(filePath, "utf8")) : undefined

Reads environment variables or the filesystem — 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 #87c5759b23e3657b Hardcoded external endpoint. Review what data is sent to this destination.
repo/src/api/providers/fetchers/unbound.ts:17
		const response = await axios.get("https://api.getunbound.ai/models", { headers })

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 #af060b054e762bdc Hardcoded external endpoint. Review what data is sent to this destination.
repo/src/api/providers/openai-codex.ts:515
			const response = await fetch(url, {
				method: "POST",
				headers,
				body: JSON.stringify(requestBody),
				signal: this.abortController?.signal,
			})

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 #bba89614c97ca71f Hardcoded external endpoint. Review what data is sent to this destination.
repo/src/api/providers/openai-codex.ts:1206
			const response = await fetch(url, {
				method: "POST",
				headers,
				body: JSON.stringify(requestBody),
				signal: this.abortController.signal,
			})

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 #4eb7717b71d5b623 Filesystem access.
repo/src/api/providers/qwen-code.ts:86
			const credsStr = await fs.readFile(keyFile, "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 egress production #9dfa140162b7413c Hardcoded external endpoint. Review what data is sent to this destination.
repo/src/api/providers/qwen-code.ts:125
		const response = await fetch(QWEN_OAUTH_TOKEN_ENDPOINT, {
			method: "POST",
			headers: {
				"Content-Type": "application/x-www-form-urlencoded",
				Accept: "application/json",
			},
			body: objectToUrlEncoded(bodyData),
		})

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 #f1056f2c162c4e55 Filesystem access.
repo/src/api/providers/qwen-code.ts:155
			await fs.writeFile(filePath, JSON.stringify(newCredentials, null, 2))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #acc1bc3bfab6a5a3 Filesystem access.
repo/src/core/config/CustomModesManager.ts:3
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3d9098d22dfe120 Filesystem access.
repo/src/core/config/CustomModesManager.ts:185
			const content = await fs.readFile(filePath, "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 #0e4d203c0decc7d6 Filesystem access.
repo/src/core/config/CustomModesManager.ts:255
			await this.queueWrite(() => fs.writeFile(filePath, yaml.stringify({ customModes: [] }, { lineWidth: 0 })))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #34603c288ddbb18e Environment-variable access.
repo/src/core/config/CustomModesManager.ts:263
		if (process.env.NODE_ENV === "test") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0832b331916f18e7 Filesystem access.
repo/src/core/config/CustomModesManager.ts:276
				const content = await fs.readFile(settingsPath, "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 #7ba5023ada0d23e2 Filesystem access.
repo/src/core/config/CustomModesManager.ts:469
			content = await fs.readFile(filePath, "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 #7f052b93323e135c Filesystem access.
repo/src/core/config/CustomModesManager.ts:493
		await fs.writeFile(filePath, yaml.stringify(settings, { lineWidth: 0 }), "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 #a816105b1b95d210 Filesystem access.
repo/src/core/config/CustomModesManager.ts:606
			await fs.writeFile(filePath, yaml.stringify({ customModes: [] }, { lineWidth: 0 }))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #af28713d990e7ce1 Filesystem access.
repo/src/core/config/CustomModesManager.ts:638
						const roomodesContent = await fs.readFile(roomodesPath, "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 #53ca9fb53242629e Filesystem access.
repo/src/core/config/CustomModesManager.ts:689
						const content = await fs.readFile(filePath, "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 #f7be4806c4bbd738 Filesystem access.
repo/src/core/config/CustomModesManager.ts:733
							const roomodesContent = await fs.readFile(roomodesPath, "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 #c8cf9e872fb0b820 Filesystem access.
repo/src/core/config/CustomModesManager.ts:788
							const content = await fs.readFile(filePath, "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 #4d2ce2df9c060766 Filesystem access.
repo/src/core/config/CustomModesManager.ts:915
				await fs.writeFile(targetPath, ruleFile.content, "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 test-only #37b7aae1b87d6e5f Filesystem access.
repo/src/core/config/__tests__/CustomModesManager.exportImportSlugChange.spec.ts:6
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #eb036607622e3897 Filesystem access.
repo/src/core/config/__tests__/CustomModesManager.spec.ts:6
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9e3f56db56f8d965 Environment-variable access.
repo/src/core/config/__tests__/CustomModesManager.spec.ts:684
			const originalNodeEnv = process.env.NODE_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 test-only #913806a79b9b64e2 Environment-variable access.
repo/src/core/config/__tests__/CustomModesManager.spec.ts:685
			process.env.NODE_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 test-only #30e67128a296e54a Environment-variable access.
repo/src/core/config/__tests__/CustomModesManager.spec.ts:714
				process.env.NODE_ENV = originalNodeEnv

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #ab789f0a256388b0 Filesystem access.
repo/src/core/config/__tests__/CustomModesManager.yamlEdgeCases.spec.ts:6
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #aa827e3d01e4a063 Filesystem access.
repo/src/core/config/__tests__/importExport.spec.ts:3
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0e46146028bbbf8d Filesystem access.
repo/src/core/config/importExport.ts:4
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1b38cc7002c5020d Filesystem access.
repo/src/core/config/importExport.ts:91
		const rawData = JSON.parse(await fs.readFile(filePath, "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 #477234a9444bb06f Filesystem access.
repo/src/core/context-tracking/FileContextTracker.ts:7
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #be3b1d1e710377e3 Filesystem access.
repo/src/core/context-tracking/FileContextTracker.ts:120
				return JSON.parse(await fs.readFile(filePath, "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0cdebe3fff0dec27 Filesystem access.
repo/src/core/ignore/RooIgnoreController.ts:3
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7d699634962b12f8 Filesystem access.
repo/src/core/ignore/RooIgnoreController.ts:4
import fsSync from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0a576ed622d25761 Filesystem access.
repo/src/core/ignore/RooIgnoreController.ts:70
				const content = await fs.readFile(ignorePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9695b5395ddd4b24 Filesystem access.
repo/src/core/ignore/__tests__/RooIgnoreController.security.spec.ts:7
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #518fc15c468aa4ba Filesystem access.
repo/src/core/ignore/__tests__/RooIgnoreController.spec.ts:8
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #843bcc216d0539c7 Filesystem access.
repo/src/core/ignore/__tests__/RooIgnoreController.spec.ts:9
import * as fsSync from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1ba5116e5eddd4b1 Filesystem access.
repo/src/core/mentions/index.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #87bdbe441c2f6624 Filesystem access.
repo/src/core/prompts/__tests__/responses-rooignore.spec.ts:8
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #1e5fc807624c5eff Filesystem access.
repo/src/core/prompts/__tests__/utils.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #177de175bf81da3b Filesystem access.
repo/src/core/prompts/__tests__/utils.ts:2
import { PathLike } from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #cf9e9d09e0e92cc2 Filesystem access.
repo/src/core/prompts/sections/__tests__/custom-instructions.spec.ts:56
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #6903b82eeb6278ce Filesystem access.
repo/src/core/prompts/sections/__tests__/custom-instructions.spec.ts:57
import type { PathLike } from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed3d8d836653294a Filesystem access.
repo/src/core/prompts/sections/custom-instructions.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e24540a931046295 Filesystem access.
repo/src/core/prompts/sections/custom-instructions.ts:4
import { Dirent } from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3c99657fd15367d Filesystem access.
repo/src/core/prompts/sections/custom-instructions.ts:23
		const content = await fs.readFile(filePath, "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 #f587bdb647102eea Filesystem access.
repo/src/core/task-persistence/TaskHistoryStore.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8ed01d0261ed4e4d Filesystem access.
repo/src/core/task-persistence/TaskHistoryStore.ts:2
import * as fsSync from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cb4dda673dd0fa9d Filesystem access.
repo/src/core/task-persistence/TaskHistoryStore.ts:371
			const raw = await fs.readFile(indexPath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d27f94cd09c4cdc3 Filesystem access.
repo/src/core/task-persistence/TaskHistoryStore.ts:452
			const raw = await fs.readFile(filePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #53cc626b650c4106 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.crossInstance.spec.ts:3
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #3fe532f291ad91ad Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.crossInstance.spec.ts:20
		await fs.writeFile(filePath, JSON.stringify(data, null, "\t"), "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #17afce9c49aae8de Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:3
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #186be0e36f442509 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:20
		await fs.writeFile(filePath, JSON.stringify(data, null, "\t"), "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f14fc3b620f1bacc Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:70
			await fs.writeFile(path.join(tasksDir, "task-1", GlobalFileNames.historyItem), JSON.stringify(item1))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #cf7fcf54dbcb8102 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:71
			await fs.writeFile(path.join(tasksDir, "task-2", GlobalFileNames.historyItem), JSON.stringify(item2))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #1b54df1920e7273d Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:79
			await fs.writeFile(path.join(tasksDir, GlobalFileNames.historyIndex), JSON.stringify(index))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #370da00b0c844716 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:150
			const raw = await fs.readFile(filePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #eedf087abcfbb405 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:244
			await fs.writeFile(path.join(taskDir, GlobalFileNames.historyItem), JSON.stringify(item))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #2f711fdb20c8e3f6 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:344
			await fs.writeFile(path.join(taskDir, GlobalFileNames.historyItem), JSON.stringify(existingItem))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e201d835b298493a Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:355
			const raw = await fs.readFile(path.join(taskDir, GlobalFileNames.historyItem), "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f3d1864111004a9a Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:384
			const raw = await fs.readFile(indexPath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #91e1f621866c0f53 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:404
			const raw = await fs.readFile(indexPath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #59eb54b501e5f4b9 Filesystem access.
repo/src/core/task-persistence/__tests__/TaskHistoryStore.spec.ts:420
			await fs.writeFile(filePath, JSON.stringify(updated))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7dc3eb19e4977f73 Filesystem access.
repo/src/core/task-persistence/__tests__/apiMessages.spec.ts:5
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #71af10827b44f6c1 Filesystem access.
repo/src/core/task-persistence/__tests__/apiMessages.spec.ts:21
		await fs.writeFile(filePath, "<<<corrupt data>>>", "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c789e4d55dce71a5 Filesystem access.
repo/src/core/task-persistence/__tests__/apiMessages.spec.ts:38
		await fs.writeFile(oldPath, "not json at all {[!", "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #5115e8c96e3127d8 Filesystem access.
repo/src/core/task-persistence/__tests__/apiMessages.spec.ts:60
		await fs.writeFile(filePath, JSON.stringify("hello"), "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #2eaff936133c18e1 Filesystem access.
repo/src/core/task-persistence/__tests__/apiMessages.spec.ts:77
		await fs.writeFile(oldPath, JSON.stringify({ key: "value" }), "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c1f9cf259e528450 Filesystem access.
repo/src/core/task-persistence/__tests__/taskMessages.spec.ts:4
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #99b910bb29cb83ea Filesystem access.
repo/src/core/task-persistence/__tests__/taskMessages.spec.ts:77
		await fs.writeFile(filePath, "{not valid json!!!", "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c90ba2e3a5984143 Filesystem access.
repo/src/core/task-persistence/__tests__/taskMessages.spec.ts:92
		await fs.writeFile(filePath, JSON.stringify("hello"), "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fe324a50f41ba45e Filesystem access.
repo/src/core/task-persistence/apiMessages.ts:3
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #289efc4fcbba2beb Filesystem access.
repo/src/core/task-persistence/apiMessages.ts:51
		const fileContent = await fs.readFile(filePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b5509243f464ae6c Filesystem access.
repo/src/core/task-persistence/apiMessages.ts:76
			const fileContent = await fs.readFile(oldPath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4a686a2e1fd7ea6e Filesystem access.
repo/src/core/task-persistence/taskMessages.ts:3
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #644bff12045b2569 Filesystem access.
repo/src/core/task-persistence/taskMessages.ts:27
			const parsedData = JSON.parse(await fs.readFile(filePath, "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #394546bea7e91e09 Filesystem access.
repo/src/core/tools/ApplyDiffTool.ts:2
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d846c5ed55abdb06 Filesystem access.
repo/src/core/tools/ApplyDiffTool.ts:70
			const originalContent: string = await fs.readFile(absolutePath, "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 #0ae9120a17fddbda Filesystem access.
repo/src/core/tools/ApplyPatchTool.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ddb7d890561774d8 Filesystem access.
repo/src/core/tools/ApplyPatchTool.ts:91
				return await fs.readFile(absolutePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6839f2b130cf8128 Filesystem access.
repo/src/core/tools/ApplyPatchTool.ts:423
				await fs.writeFile(moveAbsolutePath, newContent, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1e6c610f10143d73 Filesystem access.
repo/src/core/tools/EditFileTool.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #93de7b8573b99801 Filesystem access.
repo/src/core/tools/EditFileTool.ts:234
					currentContent = await fs.readFile(absolutePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2ac2089588918a81 Filesystem access.
repo/src/core/tools/EditTool.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b644117ec3ad3465 Filesystem access.
repo/src/core/tools/EditTool.ts:92
				fileContent = await fs.readFile(absolutePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #edfae617ef8d9886 Filesystem access.
repo/src/core/tools/ExecuteCommandTool.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6945c88287e291a8 Environment-variable access.
repo/src/core/tools/ExecuteCommandTool.ts:37
	return process.env.ROO_CLI_RUNTIME === "1" ? 0 : requestedAgentTimeout

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1956100da3e75ac9 Filesystem access.
repo/src/core/tools/GenerateImageTool.ts:2
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7e5348947882fcc4 Filesystem access.
repo/src/core/tools/GenerateImageTool.ts:87
				const imageBuffer = await fs.readFile(inputImageFullPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2b44a2376c0b328d Filesystem access.
repo/src/core/tools/GenerateImageTool.ts:237
			await fs.writeFile(absolutePath, imageBuffer)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #45a013755420f49a Filesystem access.
repo/src/core/tools/ReadCommandOutputTool.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2b13b01b3c169aee Filesystem access.
repo/src/core/tools/ReadFileTool.ts:12
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4b215fe164bcbb90 Filesystem access.
repo/src/core/tools/ReadFileTool.ts:217
					const buffer = await fs.readFile(fullPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f7948a7c5de03d67 Filesystem access.
repo/src/core/tools/ReadFileTool.ts:770
				const rawContent = await fs.readFile(fullPath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9a7a2ebbf60cd0bf Filesystem access.
repo/src/core/tools/SearchReplaceTool.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3cbd233c7d64cea5 Filesystem access.
repo/src/core/tools/SearchReplaceTool.ts:97
				fileContent = await fs.readFile(absolutePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #35e918ed92021a05 Filesystem access.
repo/src/core/tools/WriteToFileTool.ts:3
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #78bbf2684dd7ea77 Filesystem access.
repo/src/core/tools/WriteToFileTool.ts:115
					task.diffViewProvider.originalContent = await fs.readFile(absolutePath, "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 test-only #1411910453021068 Filesystem access.
repo/src/core/tools/__tests__/ReadCommandOutputTool.test.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7ed7437fd1d2ce2b Filesystem access.
repo/src/core/tools/__tests__/editFileTool.spec.ts:2
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #07d66fad1a27e67f Filesystem access.
repo/src/core/tools/__tests__/editTool.spec.ts:2
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a202b884179fe328 Filesystem access.
repo/src/core/tools/__tests__/executeCommand.spec.ts:5
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c49bf0091906076b Environment-variable access.
repo/src/core/tools/__tests__/executeCommandTool.spec.ts:51
	const originalCliRuntime = process.env.ROO_CLI_RUNTIME

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #d439158e4dc51bf5 Environment-variable access.
repo/src/core/tools/__tests__/executeCommandTool.spec.ts:111
		process.env.ROO_CLI_RUNTIME = originalCliRuntime

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c6d96a98b642b068 Environment-variable access.
repo/src/core/tools/__tests__/executeCommandTool.spec.ts:295
			process.env.ROO_CLI_RUNTIME = "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 test-only #916c9a5b9816dd66 Environment-variable access.
repo/src/core/tools/__tests__/executeCommandTool.spec.ts:300
			delete process.env.ROO_CLI_RUNTIME

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #ca6fe6a2b1379769 Filesystem access.
repo/src/core/tools/__tests__/generateImageTool.test.ts:5
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #40e701f857b9a126 Filesystem access.
repo/src/core/tools/__tests__/searchReplaceTool.spec.ts:2
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6a72bacc281df958 Filesystem access.
repo/src/core/tools/helpers/imageHelpers.ts:2
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #160bcf0bed7e24dd Filesystem access.
repo/src/core/tools/helpers/imageHelpers.ts:76
	const fileBuffer = await fs.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 #4cda6a0073daf7c7 Filesystem access.
repo/src/core/webview/ClineProvider.ts:3
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #03070bec3e66d540 Environment-variable access.
repo/src/core/webview/ClineProvider.ts:829
		const isCliRuntime = process.env.ROO_CLI_RUNTIME === "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 #7d0c97d520f70cc5 Filesystem access.
repo/src/core/webview/ClineProvider.ts:1061
			const fs = require("fs")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c15e47c37972eba Filesystem access.
repo/src/core/webview/ClineProvider.ts:1066
				localPort = fs.readFileSync(portFilePath, "utf8").trim()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6018dd6a00433dd6 Filesystem access.
repo/src/core/webview/ClineProvider.ts:1660
				apiConversationHistory = JSON.parse(await fs.readFile(apiConversationHistoryFilePath, "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #4fd8069e19c91a65 Environment-variable access.
repo/src/core/webview/__tests__/ClineProvider.sticky-profile.spec.ts:181
		originalRooCliRuntimeEnv = process.env.ROO_CLI_RUNTIME

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #d03aabcfe48b9874 Environment-variable access.
repo/src/core/webview/__tests__/ClineProvider.sticky-profile.spec.ts:182
		delete process.env.ROO_CLI_RUNTIME

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #5caa6186918a7139 Environment-variable access.
repo/src/core/webview/__tests__/ClineProvider.sticky-profile.spec.ts:269
			delete process.env.ROO_CLI_RUNTIME

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9e96b66fec69ac79 Environment-variable access.
repo/src/core/webview/__tests__/ClineProvider.sticky-profile.spec.ts:271
			process.env.ROO_CLI_RUNTIME = originalRooCliRuntimeEnv

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #71878ae1b4992ee1 Environment-variable access.
repo/src/core/webview/__tests__/ClineProvider.sticky-profile.spec.ts:479
			process.env.ROO_CLI_RUNTIME = "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 test-only #75c4be656aa711c4 Environment-variable access.
repo/src/core/webview/__tests__/ClineProvider.sticky-profile.spec.ts:513
			process.env.ROO_CLI_RUNTIME = "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 test-only #b96e42c0df8a139e Filesystem access.
repo/src/core/webview/__tests__/diagnosticsHandler.spec.ts:48
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #823f6de201cc23c8 Filesystem access.
repo/src/core/webview/__tests__/webviewMessageHandler.readFileContent.spec.ts:64
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b957170606c138eb Filesystem access.
repo/src/core/webview/__tests__/webviewMessageHandler.spec.ts:144
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #81cd69aab628254e Filesystem access.
repo/src/core/webview/diagnosticsHandler.ts:3
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e2ac1782c9b2cc40 Filesystem access.
repo/src/core/webview/diagnosticsHandler.ts:46
			const content = await fs.readFile(apiHistoryPath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e310bf4e2f3b50a0 Filesystem access.
repo/src/core/webview/diagnosticsHandler.ts:79
		await fs.writeFile(tempFilePath, fullContent, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e49789d72191fea3 Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:4
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #133b9e4d90c55d6a Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:1141
				const content = await fs.readFile(absPath, "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 #2b588b95e1edd142 Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:1985
							await fs.writeFile(saveUri.fsPath, result.yaml, "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 #fc15d90b3a047482 Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:2063
					const yamlContent = await fs.readFile(fileUri[0].fsPath, "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 #2e64a072a86884c7 Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:2738
				await fs.writeFile(filePath, templateContent, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #60d52a0fbe50d3a6 Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:2841
					await fs.writeFile(tempFilePath, message.text, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8f0a735089da534b Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:2910
				const content = await fs.readFile(sourceFilePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #714f436d619fbd83 Filesystem access.
repo/src/core/webview/webviewMessageHandler.ts:2929
				await fs.writeFile(tempFilePath, prettifiedContent, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c051c1656b5f950a Filesystem access.
repo/src/esbuild.mjs:2
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #658c66688fd652e5 Filesystem access.
repo/src/extension.ts:3
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #287596fe89da7bbc Environment-variable access.
repo/src/extension.ts:237
	const socketPath = process.env.ROO_CODE_IPC_SOCKET_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 #1fefb38c2f30886d Environment-variable access.
repo/src/extension.ts:241
	if (process.env.NODE_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 #72b7f13317c78b43 Filesystem access.
repo/src/extension/api.ts:2
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1a9b4579fb412470 Environment-variable access.
repo/src/i18n/setup.ts:7
const isTestEnv = process.env.NODE_ENV === "test"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf9b5a4f7b371093 Filesystem access.
repo/src/i18n/setup.ts:13
		const fs = require("fs")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #564be9879434ac27 Filesystem access.
repo/src/i18n/setup.ts:54
						const content = fs.readFileSync(filePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ea1a18905005b3e8 Filesystem access.
repo/src/integrations/editor/DiffViewProvider.ts:3
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1897a573bd0656e4 Filesystem access.
repo/src/integrations/editor/DiffViewProvider.ts:70
			this.originalContent = await fs.readFile(absolutePath, "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 #06759d4d7b2bc868 Filesystem access.
repo/src/integrations/editor/DiffViewProvider.ts:81
			await fs.writeFile(absolutePath, "")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2cd83737cc7f3f71 Filesystem access.
repo/src/integrations/editor/DiffViewProvider.ts:660
		await fs.writeFile(absolutePath, content, "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 test-only #7fdc1e6bd1478594 Filesystem access.
repo/src/integrations/misc/__tests__/read-lines.spec.ts:1
import { promises as fs } from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #61f5903b5b89d887 Filesystem access.
repo/src/integrations/misc/__tests__/read-lines.spec.ts:11
		await fs.writeFile(testFile, content)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #19bb0865564e0692 Filesystem access.
repo/src/integrations/misc/__tests__/read-lines.spec.ts:77
			await fs.writeFile(filepath, content)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #019c829970410503 Filesystem access.
repo/src/integrations/misc/export-markdown.ts:59
		await vscode.workspace.fs.writeFile(saveUri, Buffer.from(markdownContent))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f49267c367aef9d2 Filesystem access.
repo/src/integrations/misc/extract-text-from-xlsx.ts:49
		await workbook.xlsx.readFile(filePathOrWorkbook)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #83dfc96f952ba0e9 Filesystem access.
repo/src/integrations/misc/extract-text.ts:5
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c8f339f2094d8cb7 Filesystem access.
repo/src/integrations/misc/extract-text.ts:12
	const dataBuffer = await fs.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 #7174d541e91549b7 Filesystem access.
repo/src/integrations/misc/extract-text.ts:23
	const data = await fs.readFile(filePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #92d406811332534a Filesystem access.
repo/src/integrations/misc/extract-text.ts:108
		const rawContent = await fs.readFile(filePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5a31684b0983b03d Filesystem access.
repo/src/integrations/misc/image-handler.ts:57
		await vscode.workspace.fs.writeFile(vscode.Uri.file(tempFilePath), imageBuffer)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #60810609bcc694cd Filesystem access.
repo/src/integrations/misc/image-handler.ts:62
				const imageData = await vscode.workspace.fs.readFile(vscode.Uri.file(tempFilePath))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #64beb225b00c9d63 Filesystem access.
repo/src/integrations/misc/image-handler.ts:118
		await vscode.workspace.fs.writeFile(saveUri, imageBuffer)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d6b6942c2e95f67d Filesystem access.
repo/src/integrations/misc/line-counter.ts:1
import fs, { createReadStream } from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #25ab4e6049578a16 Filesystem access.
repo/src/integrations/misc/open-file.ts:107
				await vscode.workspace.fs.writeFile(uriToProcess, Buffer.from(contentToCreate, "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2ed821ed04c3a4b1 Filesystem access.
repo/src/integrations/misc/process-images.ts:2
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d8a3f62d80212dc0 Filesystem access.
repo/src/integrations/misc/process-images.ts:23
			const buffer = await fs.readFile(imagePath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #230aae81512caec9 Filesystem access.
repo/src/integrations/misc/read-lines.ts:9
import { createReadStream } from "fs"

Reads environment variables or the filesystem — 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 #1c6a41ac34c760f2 Hardcoded external endpoint. Review what data is sent to this destination.
repo/src/integrations/openai-codex/rate-limits.ts:82
	const response = await fetch(WHAM_USAGE_URL, { method: "GET", headers })

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 #d0df6b126fb79c51 Filesystem access.
repo/src/integrations/terminal/OutputInterceptor.ts:1
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e2e7353518c398e4 Environment-variable access.
repo/src/integrations/terminal/ShellIntegrationManager.ts:21
		if (process.env.ZDOTDIR) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9e4d8a254bae3b65 Environment-variable access.
repo/src/integrations/terminal/ShellIntegrationManager.ts:22
			env.ROO_ZDOTDIR = process.env.ZDOTDIR

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3356597f09088c37 Filesystem access.
repo/src/integrations/terminal/ShellIntegrationManager.ts:48
				vscode.workspace.fs.writeFile(vscode.Uri.file(zshrcPath), Buffer.from(zshrcContent)).then(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6fca4ea04986bf0d Filesystem access.
repo/src/integrations/terminal/ShellIntegrationManager.ts:81
			const fs = require("fs")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #79dfe3633b84f5f6 Environment-variable access.
repo/src/integrations/terminal/__tests__/ExecaTerminalProcess.spec.ts:78
			process.env.EXISTING_VAR = "existing"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #63e42de6a5f8883b Environment-variable access.
repo/src/integrations/terminal/__tests__/ExecaTerminalProcess.spec.ts:87
			process.env.LANG = "C"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #071f9e5e66ffa4ea Environment-variable access.
repo/src/integrations/terminal/__tests__/ExecaTerminalProcess.spec.ts:88
			process.env.LC_ALL = "POSIX"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #58bb3940ffa9223d Filesystem access.
repo/src/integrations/terminal/__tests__/OutputInterceptor.test.ts:1
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #31510e9d97eb0296 Environment-variable access.
repo/src/integrations/terminal/__tests__/TerminalProcessExec.cmd.spec.ts:236
		console.log(`Running CMD tests on Windows ${process.env.OS} ${process.arch}`)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #44a399ef8dde056e Environment-variable access.
repo/src/integrations/terminal/__tests__/setupTerminalTests.ts:48
	process.env.PWSH_AVAILABLE = "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.

low env_fs production #bdc375125db42edf Filesystem access.
repo/src/integrations/theme/getTheme.ts:3
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3c0c9bcfb963ffed Filesystem access.
repo/src/integrations/theme/getTheme.ts:49
						currentTheme = await fs.readFile(themePath, "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 #ccb36c9b6e290aa0 Filesystem access.
repo/src/integrations/theme/getTheme.ts:58
			currentTheme = await fs.readFile(
				path.join(getExtensionUri().fsPath, "integrations", "theme", "default-themes", filename),
				"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 #4297023df2cb050f Filesystem access.
repo/src/integrations/theme/getTheme.ts:68
			const includeThemeString = await fs.readFile(
				path.join(getExtensionUri().fsPath, "integrations", "theme", "default-themes", parsed.include),
				"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 #d805013ac3c8dd9f Filesystem access.
repo/src/services/checkpoints/ShadowCheckpointService.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #06d0e333548d3cc1 Filesystem access.
repo/src/services/checkpoints/ShadowCheckpointService.ts:217
		await fs.writeFile(path.join(this.dotGitDir, "info", "exclude"), patterns.join("\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 production #392befb932b53dcd Filesystem access.
repo/src/services/checkpoints/ShadowCheckpointService.ts:400
				: await fs.readFile(absPath, "utf8").catch(() => "")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e3eb7f8894142c2d Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:3
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c4b4cd5e5c781b97 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:41
	await fs.writeFile(testFile, textFileContent)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #d3f1cd92431b2d25 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:81
				await fs.writeFile(testFile, "Ahoy, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #20d9a0682c8f603c Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:85
				await fs.writeFile(testFile, "Goodbye, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b85988b0e8601d17 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:113
				await fs.writeFile(newFile, "New file content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9312bd99ef89461a Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:126
				await fs.writeFile(fileToDelete, "New file content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #400943d343f7ff37 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:144
				await fs.writeFile(testFile, "Ahoy, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f4bfa74dfa13887e Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:151
				await fs.writeFile(testFile, "Hola, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #fa977fcee532a4ee Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:160
				expect(await fs.readFile(testFile, "utf-8")).toBe("Ahoy, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #500c6dc4f4b743a7 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:164
				expect(await fs.readFile(testFile, "utf-8")).toBe("Hola, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #09a680ce58edf604 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:169
				expect(await fs.readFile(testFile, "utf-8")).toBe("Hello, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b88da16a9597ab92 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:178
				await fs.writeFile(unstagedFile, "Initial unstaged")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #550eb99852ba8b63 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:179
				await fs.writeFile(stagedFile, "Initial staged")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a60e6a4eece22bdf Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:180
				await fs.writeFile(mixedFile, "Initial mixed")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #bc3ec59c3f9f7ca3 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:185
				await fs.writeFile(unstagedFile, "Modified unstaged")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b3781beccd4255e8 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:187
				await fs.writeFile(stagedFile, "Modified staged")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #0fccf785e6e0d997 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:190
				await fs.writeFile(mixedFile, "Modified mixed - staged")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9cad7472b899a6e5 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:192
				await fs.writeFile(mixedFile, "Modified mixed - unstaged")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9350c9c6ce9cbd80 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:212
				expect(await fs.readFile(unstagedFile, "utf-8")).toBe("Modified unstaged")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7b769ac665c1251a Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:213
				expect(await fs.readFile(stagedFile, "utf-8")).toBe("Modified staged")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f2fc7840504c6937 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:214
				expect(await fs.readFile(mixedFile, "utf-8")).toBe("Modified mixed - unstaged")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #3ebd1406c309ce21 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:231
				await fs.writeFile(testFile, "Ahoy, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #cc965893e84111cf Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:242
				await fs.writeFile(untrackedFile, "I am untracked!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #363c2d3846a68602 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:254
				await fs.writeFile(testFile, "Changed tracked 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 test-only #cebbf1b1c1e19f2f Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:260
				expect(await fs.readFile(untrackedFile, "utf-8")).toBe("I am untracked!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9f82f4106267ad82 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:261
				expect(await fs.readFile(testFile, "utf-8")).toBe("Hello, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #780dfab2ce5bf838 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:266
				expect(await fs.readFile(untrackedFile, "utf-8")).toBe("I am untracked!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9e5a475458bf8586 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:267
				expect(await fs.readFile(testFile, "utf-8")).toBe("Changed tracked 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 test-only #7be883bdadc3c20e Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:271
				await fs.writeFile(testFile, "I am tracked!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #4c8fa611bc9b4c3d Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:273
				await fs.writeFile(untrackedFile, "I am untracked!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #aeeea21e09770fcc Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:283
				await expect(fs.readFile(testFile, "utf-8")).rejects.toThrow()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #1316788dfc3f444a Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:284
				await expect(fs.readFile(untrackedFile, "utf-8")).rejects.toThrow()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #2d78b701265c9b26 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:288
				expect(await fs.readFile(testFile, "utf-8")).toBe("I am tracked!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #72bc3689b4fa123a Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:289
				expect(await fs.readFile(untrackedFile, "utf-8")).toBe("I am untracked!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f42eebbacd6fcb1d Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:293
				await expect(fs.readFile(testFile, "utf-8")).rejects.toThrow()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a353407c678b906c Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:294
				await expect(fs.readFile(untrackedFile, "utf-8")).rejects.toThrow()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #004f0ceeb8b85518 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:300
				await fs.writeFile(ignoredFile, "Initial ignored content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a1b7e6ce0c892423 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:305
				await fs.writeFile(ignoredFile, "Modified ignored content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #238120df52b0c2f4 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:310
				expect(await fs.readFile(ignoredFile, "utf-8")).toBe("Modified ignored content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #0e5563e5ab7bd68c Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:316
				await fs.writeFile(gitattributesPath, "*.lfs filter=lfs diff=lfs merge=lfs -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.

low env_fs test-only #1f46de6a17c5505b Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:321
				expect((await fs.readFile(excludesPath, "utf-8")).split("\n")).not.toContain("*.lfs")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #18aeab78bd6f8b5c Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:323
				expect((await fs.readFile(excludesPath, "utf-8")).split("\n")).toContain("*.lfs")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #981a31c0f31f3c79 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:330
				await fs.writeFile(lfsFile, "Binary file content simulation")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f68678f02b3e92b1 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:335
				await fs.writeFile(lfsFile, "Modified binary content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #2845dc3baadafa49 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:340
				expect(await fs.readFile(lfsFile, "utf-8")).toBe("Modified binary content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #779289eb784bbc6d Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:351
				await fs.writeFile(newTestFile, "Hello, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #6113990dd5bea995 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:352
				expect(await fs.readFile(newTestFile, "utf-8")).toBe("Hello, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7c00f44f8f3e96a3 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:363
				await fs.writeFile(newTestFile, "Ahoy, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a7010dde6ce8f79e Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:366
				expect(await fs.readFile(newTestFile, "utf-8")).toBe("Ahoy, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c491e95ba9797e46 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:370
				expect(await fs.readFile(newTestFile, "utf-8")).toBe("Hello, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #370d9462a1ab2ed6 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:374
				expect(await fs.readFile(newTestFile, "utf-8")).toBe("Ahoy, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #8a39923fcc177846 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:404
				await fs.writeFile(nestedFile, "Content in nested repo")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #5370bb674d16f06f Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:410
				await fs.writeFile(mainFile, "Content in main repo")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #51f7739b5db0f4d7 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:417
				await fs.writeFile(headFile, "HEAD")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #d5f94cc6c3a436e7 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:466
				await fs.writeFile(mainFile, "Content in main repo")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #12f2eaba98c9a2c7 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:495
				await fs.writeFile(newTestFile, "Testing events!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7c004cb7208a1743 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:544
				await fs.writeFile(testFile, "Changed content for checkpoint event test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #ccc5a2c087e685d9 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:558
				await fs.writeFile(testFile, "Content for restore test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #1b5d7e5e7b5881a2 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:563
				await fs.writeFile(testFile, "Changed after checkpoint")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #de651082424f8273 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:580
				expect(await fs.readFile(testFile, "utf-8")).toBe("Content for restore test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #94c11f6f764c7023 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:611
				await fs.writeFile(testFile, "Content for multiple listeners test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #1335a4b022c2db0f Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:633
				await fs.writeFile(testFile, "Content for remove listener test - part 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 test-only #69bf59c1c1106d0d Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:644
				await fs.writeFile(testFile, "Content for remove listener test - part 2")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #cff5c1a0a97d20eb Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:675
				await fs.writeFile(testFile, "Modified content for allowEmpty test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #472857f6acd4d2be Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:682
				await fs.writeFile(testFile, "Another modification for allowEmpty test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #736ecedc0e8311cd Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:703
				await fs.writeFile(testFile, "Setup content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #cc703e26caaecd28 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:707
				await fs.writeFile(testFile, "Hello, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #87ac0b55da5667d0 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:758
				await fs.writeFile(testFile, "Regular change")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #d915aee560ce1113 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:767
				await fs.writeFile(testFile, "Another regular change")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #101ed195507f4832 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:773
				expect(await fs.readFile(testFile, "utf-8")).toBe("Regular change")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a1d1f6b4717b34c7 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:777
				expect(await fs.readFile(testFile, "utf-8")).toBe("Regular change")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7171db7455cf0a97 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:780
				expect(await fs.readFile(testFile, "utf-8")).toBe("Another regular change")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c67106ebb5de2b67 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:785
				await fs.writeFile(testFile, "Content before empty")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #ea4c9845e3f6c781 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:816
				await fs.writeFile(testFile, "Work done in new task")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b156918aa39370f1 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:824
				expect(await fs.readFile(testFile, "utf-8")).toBe("Hello, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e94bf7a8af0d595a Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:833
				await fs.writeFile(path.join(hooksDir, "pre-commit"), "#!/bin/sh\nexit 1", { mode: 0o755 })

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9329eb4b2052215a Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:839
				const originalTemplateDir = process.env.GIT_TEMPLATE_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 test-only #12a61cad9d7065fd Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:840
				process.env.GIT_TEMPLATE_DIR = templateDir

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #63eb3afed44e0fb7 Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:865
						process.env.GIT_TEMPLATE_DIR = originalTemplateDir

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f917f8c43e2b9ec3 Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:867
						delete process.env.GIT_TEMPLATE_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 test-only #2a665a20f898e1b0 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:892
				await fs.writeFile(externalFile, "External content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #3e2cfd5a4da9f71c Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:908
				const originalGitDir = process.env.GIT_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 test-only #1641e3ea1f279d82 Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:910
				process.env.GIT_DIR = externalDotGit

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #2f0ac37445696faa Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:926
					await fs.writeFile(testWorkspaceFile, "Modified with GIT_DIR set")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9010f90f88a05467 Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:932
					delete process.env.GIT_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 test-only #d6d8d3bd60076182 Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:937
					process.env.GIT_DIR = externalDotGit

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #bcdb134a374202df Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:949
					await fs.writeFile(testWorkspaceFile, "Another modification")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e45935d544d46575 Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:951
					expect(await fs.readFile(testWorkspaceFile, "utf-8")).toBe("Modified with GIT_DIR set")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c5ecac50a32039e4 Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:955
						process.env.GIT_DIR = originalGitDir

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #8ceae57049582e6a Environment-variable access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:957
						delete process.env.GIT_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 test-only #8e86b0aabcc26c0e Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:980
			await fs.writeFile(path.join(workspaceDir, "main.txt"), "main content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f48f8b70ec393c3a Filesystem access.
repo/src/services/checkpoints/__tests__/ShadowCheckpointService.spec.ts:1015
			await fs.writeFile(path.join(workspaceDir, "main.txt"), "main content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f0f33907b563373e Filesystem access.
repo/src/services/checkpoints/__tests__/excludes.spec.ts:4
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d57811bff1c77755 Filesystem access.
repo/src/services/checkpoints/excludes.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1720d3f86965afa0 Filesystem access.
repo/src/services/checkpoints/excludes.ts:191
			return (await fs.readFile(attributesPath, "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f3665f35f13fd89b Filesystem access.
repo/src/services/code-index/cache-manager.ts:38
			const cacheData = await vscode.workspace.fs.readFile(this.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 production #d3245e98f2b02b83 Filesystem access.
repo/src/services/code-index/manager.ts:12
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #473b3638642db1c1 Filesystem access.
repo/src/services/code-index/manager.ts:374
			const content = await fs.readFile(ignorePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #eff1120408bdbce2 Filesystem access.
repo/src/services/code-index/processors/__tests__/parser.spec.ts:6
import { readFile } from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #1d1d07eb9cafaee6 Filesystem access.
repo/src/services/code-index/processors/__tests__/scanner.spec.ts:4
import { stat } from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a8e96616e97a9032 Filesystem access.
repo/src/services/code-index/processors/file-watcher.ts:446
			const fileContent = await vscode.workspace.fs.readFile(vscode.Uri.file(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 #a8fd5f511abc18ac Filesystem access.
repo/src/services/code-index/processors/parser.ts:1
import { readFile } from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c5f1a269868b7674 Filesystem access.
repo/src/services/code-index/processors/parser.ts:51
				content = await readFile(filePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #399a72ae11db00d7 Filesystem access.
repo/src/services/code-index/processors/scanner.ts:4
import { stat } from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #38bd63147e996051 Filesystem access.
repo/src/services/code-index/processors/scanner.ts:141
					const content = await vscode.workspace.fs
						.readFile(vscode.Uri.file(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 test-only #1716c06e15b62dd6 Filesystem access.
repo/src/services/command/__tests__/frontmatter-commands.spec.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #03ab218e0eab4155 Filesystem access.
repo/src/services/command/__tests__/symlink-commands.spec.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d1a1bfd2da29eee8 Filesystem access.
repo/src/services/command/commands.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f1562c58811c4834 Filesystem access.
repo/src/services/command/commands.ts:3
import { Dirent } from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #964395913b986f9a Filesystem access.
repo/src/services/command/commands.ts:195
			content = await fs.readFile(filePath, "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 #04c5eaeb0c7ab7b8 Filesystem access.
repo/src/services/command/commands.ts:201
					content = await fs.readFile(symlinkedPath, "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 #3096dc344bb1c4fc Filesystem access.
repo/src/services/command/commands.ts:299
				const content = await fs.readFile(resolvedPath, "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 test-only #76999b0ba87cc1c5 Filesystem access.
repo/src/services/glob/__tests__/gitignore-integration.spec.ts:2
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #ee025f294650d006 Filesystem access.
repo/src/services/glob/__tests__/gitignore-integration.spec.ts:56
		await fs.promises.writeFile(path.join(tempDir, ".gitignore"), "node_modules/\nbuild/\ndist/\n*.log\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 test-only #f962a1a356548ec8 Filesystem access.
repo/src/services/glob/__tests__/gitignore-integration.spec.ts:59
		await fs.promises.writeFile(path.join(tempDir, "src", "index.ts"), "console.log('hello')")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #92606b81e92b1b96 Filesystem access.
repo/src/services/glob/__tests__/gitignore-integration.spec.ts:60
		await fs.promises.writeFile(path.join(tempDir, "allowed-dir", "file.txt"), "content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #19ade5aa16f5ebbd Filesystem access.
repo/src/services/glob/__tests__/gitignore-integration.spec.ts:114
		await fs.promises.writeFile(path.join(tempDir, ".gitignore"), "node_modules/\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 test-only #6a7747bf4f269a64 Filesystem access.
repo/src/services/glob/__tests__/gitignore-integration.spec.ts:117
		await fs.promises.writeFile(path.join(tempDir, "src", ".gitignore"), "temp/\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 test-only #834433195ac5e217 Filesystem access.
repo/src/services/glob/__tests__/gitignore-integration.spec.ts:164
		await fs.promises.writeFile(path.join(tempDir, ".gitignore"), "node_modules/\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 test-only #40fa43a3ee784f50 Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:2
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7e19fb4a2221ba1d Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:55
		await fs.promises.writeFile(path.join(tempDir, ".gitignore"), "node_modules/\nbuild/\nignored-dir/\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 test-only #3fbf8faba7f5bff2 Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:58
		await fs.promises.writeFile(path.join(tempDir, "src", "index.ts"), "")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #5f8ee8376ae93166 Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:59
		await fs.promises.writeFile(path.join(tempDir, "node_modules", "package.json"), "")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f2ef904559554c14 Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:60
		await fs.promises.writeFile(path.join(tempDir, "build", "output.js"), "")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #39227fc3fdcf7e49 Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:61
		await fs.promises.writeFile(path.join(tempDir, "ignored-dir", "file.txt"), "")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #50261c73eb2f9074 Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:108
		await fs.promises.writeFile(path.join(tempDir, ".gitignore"), "node_modules/\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 test-only #3cfcfdc437ed5ed4 Filesystem access.
repo/src/services/glob/__tests__/gitignore-test.spec.ts:111
		await fs.promises.writeFile(path.join(tempDir, "src", ".gitignore"), "temp/\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 test-only #04cacf1089ee96e4 Filesystem access.
repo/src/services/glob/__tests__/list-files-limit.spec.ts:2
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #82019a62beb590f9 Filesystem access.
repo/src/services/glob/__tests__/list-files.spec.ts:55
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed5d42eb7af26d6b Filesystem access.
repo/src/services/glob/list-files.ts:3
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dbc38e6477e44407 Filesystem access.
repo/src/services/glob/list-files.ts:340
			const content = await fs.promises.readFile(gitignoreFile, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff2faade867780d0 Filesystem access.
repo/src/services/mcp/McpHub.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7ab33ec6e09d8063 Environment-variable access.
repo/src/services/mcp/McpHub.ts:286
		if (process.env.NODE_ENV === "test") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c0c9c3e96e184204 Filesystem access.
repo/src/services/mcp/McpHub.ts:326
			const content = await fs.readFile(filePath, "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 #65324ce22269a7af Environment-variable access.
repo/src/services/mcp/McpHub.ts:364
		if (process.env.NODE_ENV === "test" || !vscode.workspace.createFileSystemWatcher) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a8882cc9fbe7ebe0 Filesystem access.
repo/src/services/mcp/McpHub.ts:412
			const content = await fs.readFile(projectMcpPath, "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 #0413cd548e3468c3 Filesystem access.
repo/src/services/mcp/McpHub.ts:498
			await fs.writeFile(
				mcpSettingsFilePath,
				`{
  "mcpServers": {

  }
}`,
			)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8c18ac2193d56deb Environment-variable access.
repo/src/services/mcp/McpHub.ts:512
		if (process.env.NODE_ENV === "test" || !vscode.workspace.createFileSystemWatcher) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3aaa05da35495296 Filesystem access.
repo/src/services/mcp/McpHub.ts:555
			const content = await fs.readFile(configPath, "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 #05009268d0d49bc0 Filesystem access.
repo/src/services/mcp/McpHub.ts:1005
						const content = await fs.readFile(configPath, "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 #ec48f8db354f3f01 Filesystem access.
repo/src/services/mcp/McpHub.ts:1011
					const content = await fs.readFile(configPath, "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 #d81db6ed9e05fcc5 Filesystem access.
repo/src/services/mcp/McpHub.ts:1324
				const globalContent = await fs.readFile(globalPath, "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 #542069228aa73db6 Filesystem access.
repo/src/services/mcp/McpHub.ts:1336
					const projectContent = await fs.readFile(projectPath, "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 #0ec25db37e690e39 Filesystem access.
repo/src/services/mcp/McpHub.ts:1369
		const content = await fs.readFile(settingsPath, "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 #9f4758da4863e72d Filesystem access.
repo/src/services/mcp/McpHub.ts:1378
				const projectContent = await fs.readFile(projectMcpPath, "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 #91f5335419a25f48 Filesystem access.
repo/src/services/mcp/McpHub.ts:1519
		const content = await fs.readFile(configPath, "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 #5f5b815f169522b6 Filesystem access.
repo/src/services/mcp/McpHub.ts:1571
		const content = await fs.readFile(configPath, "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 #7feddf010407b1b6 Filesystem access.
repo/src/services/mcp/McpHub.ts:1675
			const content = await fs.readFile(configPath, "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 #5a2951aab720061a Filesystem access.
repo/src/services/mcp/McpHub.ts:1813
		const content = await fs.readFile(normalizedPath, "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 test-only #f3eedb9dc50a391e Filesystem access.
repo/src/services/mcp/__tests__/McpHub.spec.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7d3453a7ed1d6266 Filesystem access.
repo/src/services/mcp/__tests__/McpHub.spec.ts:48
		return fs.writeFile(filePath, JSON.stringify(data), "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #53c8dd28df162c67 Filesystem access.
repo/src/services/roo-config/index.ts:3
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b4f9172bf185dbb4 Filesystem access.
repo/src/services/roo-config/index.ts:147
		return await fs.readFile(filePath, "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 #394ef835f5d113d6 Filesystem access.
repo/src/services/search/file-search.ts:3
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d8be7884be9be7e8 Filesystem access.
repo/src/services/skills/SkillsManager.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f15366f0ba067850 Filesystem access.
repo/src/services/skills/SkillsManager.ts:102
			const fileContent = await fs.readFile(skillMdPath, "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 #5fa5d615c8695271 Filesystem access.
repo/src/services/skills/SkillsManager.ts:276
		const fileContent = await fs.readFile(skill.path, "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 #fefe41a283d8181c Filesystem access.
repo/src/services/skills/SkillsManager.ts:418
		await fs.writeFile(skillMdPath, skillContent, "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 #edba84638e356b0e Filesystem access.
repo/src/services/skills/SkillsManager.ts:542
		const fileContent = await fs.readFile(skill.path, "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 #72f37e19bb6d7025 Filesystem access.
repo/src/services/skills/SkillsManager.ts:558
		await fs.writeFile(skill.path, newContent, "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 #7b4e38bd01415f97 Environment-variable access.
repo/src/services/skills/SkillsManager.ts:650
		if (process.env.NODE_ENV === "test" || !vscode.workspace.createFileSystemWatcher) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c36bfdd25fe763ec Environment-variable access.
repo/src/services/skills/SkillsManager.ts:688
		if (process.env.NODE_ENV === "test" || !vscode.workspace.createFileSystemWatcher) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #21720c51db8794c4 Filesystem access.
repo/src/services/tree-sitter/__tests__/helpers.ts:2
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b1c649af7ab6601e Environment-variable access.
repo/src/services/tree-sitter/__tests__/helpers.ts:19
export const DEBUG = process.env.DEBUG ? parseInt(process.env.DEBUG, 10) : 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 test-only #0b5f172cb32a602c Filesystem access.
repo/src/services/tree-sitter/__tests__/markdownIntegration.spec.ts:13
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #210db3b19b91e119 Filesystem access.
repo/src/services/tree-sitter/index.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c1ffdb2188677e7a Filesystem access.
repo/src/services/tree-sitter/index.ts:122
		const fileContent = await fs.readFile(filePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9aba672a77023422 Filesystem access.
repo/src/services/tree-sitter/index.ts:305
	const fileContent = await fs.readFile(filePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d6f7cd0896c0c7eb Environment-variable access.
repo/src/shared/package.ts:11
	name: process.env.PKG_NAME || 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 #4357dc2cf85aa311 Environment-variable access.
repo/src/shared/package.ts:12
	version: process.env.PKG_VERSION || version,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c0abf80c479a970a Environment-variable access.
repo/src/shared/package.ts:13
	outputChannel: process.env.PKG_OUTPUT_CHANNEL || "Roo-Code",

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46edc3d2e3e4ced3 Environment-variable access.
repo/src/shared/package.ts:14
	sha: process.env.PKG_SHA,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #ddbd03a6815b3672 Filesystem access.
repo/src/utils/__tests__/autoImportSettings.spec.ts:76
import fsPromises from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c8903845f09113ea Environment-variable access.
repo/src/utils/__tests__/config.spec.ts:20
		process.env.TEST_VAR = "testValue"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e697cc1654fbf3af Environment-variable access.
repo/src/utils/__tests__/config.spec.ts:28
		process.env.API_KEY = "12345"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #d5370cb3c0343e48 Environment-variable access.
repo/src/utils/__tests__/config.spec.ts:29
		process.env.ENDPOINT = "https://example.com"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #80d5b5f80f1f93d4 Environment-variable access.
repo/src/utils/__tests__/config.spec.ts:80
		process.env.EXISTING_VAR = "exists"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #09d3ada334e9caeb Environment-variable access.
repo/src/utils/__tests__/config.spec.ts:116
		process.env.MUTATE_TEST = "mutated"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #2c86c8c501902eb1 Filesystem access.
repo/src/utils/__tests__/git.spec.ts:2
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a84d15287d68c99c Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:67
		delete process.env.GLOBAL_AGENT_HTTP_PROXY

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #65f24c7297c3ffb3 Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:68
		delete process.env.GLOBAL_AGENT_HTTPS_PROXY

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #535aaa4b14599b4e Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:69
		delete process.env.GLOBAL_AGENT_NO_PROXY

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f23fac964990a251 Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:70
		delete process.env.NODE_TLS_REJECT_UNAUTHORIZED

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e98ebf42a0aaa8a6 Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:103
			expect(process.env.GLOBAL_AGENT_HTTP_PROXY).toBeUndefined()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #53490c6b4a397d02 Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:104
			expect(process.env.GLOBAL_AGENT_HTTPS_PROXY).toBeUndefined()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f987c41e8df8da8d Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:118
			expect(process.env.GLOBAL_AGENT_HTTP_PROXY).toBe("http://localhost:8080")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #3753f45053d23d88 Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:119
			expect(process.env.GLOBAL_AGENT_HTTPS_PROXY).toBe("http://localhost:8080")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #4fd82d184c51c85f Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:133
			expect(process.env.NODE_TLS_REJECT_UNAUTHORIZED).toBeUndefined()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #35e88c7b20e17fac Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:147
			expect(process.env.NODE_TLS_REJECT_UNAUTHORIZED).toBe("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 test-only #55fcf23ee27769a2 Environment-variable access.
repo/src/utils/__tests__/networkProxy.spec.ts:305
			expect(process.env.NODE_TLS_REJECT_UNAUTHORIZED).toBeUndefined()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #27711c5425138768 Filesystem access.
repo/src/utils/__tests__/safeWriteJson.test.ts:1
import * as actualFsPromises from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c8ee285bdf13da54 Filesystem access.
repo/src/utils/__tests__/safeWriteJson.test.ts:2
import * as fsSyncActual from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #02c3123ac1500c8c Filesystem access.
repo/src/utils/__tests__/safeWriteJson.test.ts:46
import * as fs from "fs/promises" // This will now be the mocked version

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #61487fc450440625 Filesystem access.
repo/src/utils/__tests__/safeWriteJson.test.ts:73
		await fs.writeFile(currentTestFilePath, JSON.stringify({ initial: "content" }))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f87353f1f7b2f0ce Filesystem access.
repo/src/utils/__tests__/safeWriteJson.test.ts:86
		const readContent = await fs.readFile(filePath, "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 test-only #9b66e34cdcffc245 Filesystem access.
repo/src/utils/__tests__/safeWriteJson.test.ts:384
		await fs.writeFile(lockTestFilePath, JSON.stringify({ initial: "lock test content" }))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e420b9792eb026ec Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:55
		delete process.env.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 test-only #34347e7af1196323 Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:56
		delete process.env.COMSPEC

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c0ae8e6441823227 Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:128
			process.env.COMSPEC = "C:\\Windows\\System32\\cmd.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 test-only #593b020fda83f7a4 Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:192
			process.env.COMSPEC = "D:\\CustomCmd\\cmd.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 test-only #95fca9ce9e61f74c Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:244
			process.env.SHELL = "/usr/local/bin/zsh"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #1bf1cd4395c8a0ea Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:300
			process.env.SHELL = "/usr/bin/fish"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e4060eed99c72119 Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:335
			process.env.SHELL = "/bin/zsh"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a58fba69d37dafdd Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:347
			delete process.env.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 test-only #a4f2254dc2fcd75e Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:432
			process.env.COMSPEC = "C:\\Windows\\System32\\cmd.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 test-only #17c9abc57c893ab5 Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:462
			process.env.SHELL = "/opt/custom/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 test-only #16c6b91a074d3a84 Environment-variable access.
repo/src/utils/__tests__/shell.spec.ts:482
			delete process.env.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 #6d5aaa227696db3d Filesystem access.
repo/src/utils/fs.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #36f866f3bce1664c Filesystem access.
repo/src/utils/git.ts:3
import { promises as fs } from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ee627bd3fc01531c Filesystem access.
repo/src/utils/git.ts:37
			const configContent = await fs.readFile(configPath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9d71a5ed405c646b Filesystem access.
repo/src/utils/git.ts:65
				const headContent = await fs.readFile(headPath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9da2e7aaa64286a0 Filesystem access.
repo/src/utils/logging/CompactTransport.ts:5
import { writeFileSync, mkdirSync } from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #542d9dad7ed3a4d3 Filesystem access.
repo/src/utils/logging/CompactTransport.ts:65
			writeFileSync(this.filePath, "", { flag: "w" })

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #99953be26f37d76b Filesystem access.
repo/src/utils/logging/CompactTransport.ts:73
			writeFileSync(this.filePath, JSON.stringify(sessionStart) + "\n", { flag: "w" })

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7da0098b74c7a4ca Filesystem access.
repo/src/utils/logging/CompactTransport.ts:104
			writeFileSync(this.filePath, output, { flag: "a" })

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f6ece60df5706f4b Filesystem access.
repo/src/utils/logging/CompactTransport.ts:119
			writeFileSync(this.filePath, JSON.stringify(sessionEnd) + "\n", { flag: "a" })

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f38070580905c8e2 Filesystem access.
repo/src/utils/logging/__tests__/CompactTransport.spec.ts:4
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #ac3328ad8b7bae81 Filesystem access.
repo/src/utils/logging/__tests__/CompactTransport.spec.ts:68
			const fileContent = fs.readFileSync(testLogPath, "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 test-only #a49152ff8b756241 Filesystem access.
repo/src/utils/logging/__tests__/CompactTransport.spec.ts:95
			const fileContent = fs.readFileSync(testLogPath, "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 test-only #4bbe64f409a4d324 Filesystem access.
repo/src/utils/logging/__tests__/CompactTransport.spec.ts:112
			const fileContent = fs.readFileSync(testLogPath, "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 test-only #0886e92d1a57c69c Filesystem access.
repo/src/utils/logging/__tests__/CompactTransport.spec.ts:170
			const fileContent = fs.readFileSync(testLogPath, "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 #90019c6cf7693f4e Environment-variable access.
repo/src/utils/logging/index.ts:25
export const logger = process.env.NODE_ENV === "test" ? new CompactLogger() : noopLogger

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #301c3f3d76b6b51c Filesystem access.
repo/src/utils/migrateSettings.ts:3
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #793dff055ea1e51b Filesystem access.
repo/src/utils/migrateSettings.ts:92
		const jsonContent = await fs.readFile(oldJsonPath, "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 #31a86c7c5c44465c Filesystem access.
repo/src/utils/migrateSettings.ts:102
			await fs.writeFile(newYamlPath, yamlContent, "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 #92811820373c2fef Environment-variable access.
repo/src/utils/networkProxy.ts:78
		process.env.NODE_TLS_REJECT_UNAUTHORIZED = originalNodeTlsRejectUnauthorized

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6b84380a3a9420f9 Environment-variable access.
repo/src/utils/networkProxy.ts:80
		delete process.env.NODE_TLS_REJECT_UNAUTHORIZED

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #da5d7d12a33ef802 Environment-variable access.
repo/src/utils/networkProxy.ts:100
		originalNodeTlsRejectUnauthorized = process.env.NODE_TLS_REJECT_UNAUTHORIZED

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b16ac4446cfeed14 Environment-variable access.
repo/src/utils/networkProxy.ts:104
	process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0" // lgtm[js/disabling-certificate-validation]

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dc1af9d95d11659b Environment-variable access.
repo/src/utils/networkProxy.ts:324
		process.env.GLOBAL_AGENT_HTTP_PROXY = config.serverUrl

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e99300a450611328 Environment-variable access.
repo/src/utils/networkProxy.ts:325
		process.env.GLOBAL_AGENT_HTTPS_PROXY = config.serverUrl

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c2123383a7e24621 Environment-variable access.
repo/src/utils/networkProxy.ts:326
		process.env.GLOBAL_AGENT_NO_PROXY = "" // Proxy all requests

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b19d4f48e676166f Filesystem access.
repo/src/utils/safeWriteJson.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bcfe64335806eda5 Filesystem access.
repo/src/utils/safeWriteJson.ts:2
import * as fsSync from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5ceb80269a673e2c Filesystem access.
repo/src/utils/storage.ts:3
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #affb22d08adc907a Filesystem access.
repo/src/utils/storage.ts:4
import { constants as fsConstants } from "fs"

Reads environment variables or the 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 (npm): apps/cli

npm first-party
expand_more 92 low-confidence finding(s)
low env_fs production #68cb077052dfa110 Filesystem access.
repo/apps/cli/scripts/integration/cases/create-with-session-id-resume-loads-correct-session.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #523f899ca001829d Environment-variable access.
repo/apps/cli/scripts/integration/cases/create-with-session-id-resume-loads-correct-session.ts:317
	const cliRoot = process.env.ROO_CLI_ROOT

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aa3c951a75064499 Environment-variable access.
repo/apps/cli/scripts/integration/cases/create-with-session-id-resume-loads-correct-session.ts:318
		? path.resolve(process.env.ROO_CLI_ROOT)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fefa77b97efe0b52 Environment-variable access.
repo/apps/cli/scripts/integration/lib/stream-harness.ts:67
	const cliRoot = process.env.ROO_CLI_ROOT ? path.resolve(process.env.ROO_CLI_ROOT) : defaultCliRoot

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d3b2e28dbb1b6315 Filesystem access.
repo/apps/cli/scripts/integration/run.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #286e43335d21949c Filesystem access.
repo/apps/cli/src/__tests__/index.test.ts:16
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #eae24b4ae5bdf86a Environment-variable access.
repo/apps/cli/src/__tests__/index.test.ts:23
const RUN_INTEGRATION_TESTS = process.env.RUN_CLI_INTEGRATION_TESTS === "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.

low env_fs test-only #378b9c69f8fd800e Environment-variable access.
repo/apps/cli/src/__tests__/index.test.ts:24
const OPENROUTER_API_KEY = process.env.OPENROUTER_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 test-only #b22babbf2512acda Filesystem access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:4
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #796084433ab7a074 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:85
	const initialRooCliRuntimeEnv = process.env.ROO_CLI_RUNTIME

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9be095a3444230c6 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:90
			delete process.env.ROO_CLI_RUNTIME

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b5a4934e87295930 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:92
			process.env.ROO_CLI_RUNTIME = initialRooCliRuntimeEnv

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #dfd215406d2405e1 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:101
			delete process.env.ROO_CLI_RUNTIME

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #731eac03e081b86d Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:103
			process.env.ROO_CLI_RUNTIME = initialRooCliRuntimeEnv

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #8d38294be204efc7 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:157
			delete process.env.ROO_CLI_RUNTIME

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7cb2d5977986839f Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:159
			expect(process.env.ROO_CLI_RUNTIME).toBe("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 test-only #ed9821a16281bfad Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:493
			delete process.env.ROO_CLI_RUNTIME

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #2afee2865164ba7d Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:495
			expect(process.env.ROO_CLI_RUNTIME).toBe("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 test-only #3fb80f272a5a732e Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:499
			expect(process.env.ROO_CLI_RUNTIME).toBeUndefined()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9b49bcfbcdfd50a5 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:503
			process.env.ROO_CLI_RUNTIME = "preexisting-value"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #41b9354dd4928bb3 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:505
			expect(process.env.ROO_CLI_RUNTIME).toBe("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 test-only #598ca6599c64b842 Environment-variable access.
repo/apps/cli/src/agent/__tests__/extension-host.test.ts:509
			expect(process.env.ROO_CLI_RUNTIME).toBe("preexisting-value")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e039be5d36891e2b Filesystem access.
repo/apps/cli/src/agent/extension-host.ts:14
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dfd1b42f87681e6c Environment-variable access.
repo/apps/cli/src/agent/extension-host.ts:64
const CLI_PACKAGE_ROOT = process.env.ROO_CLI_ROOT || findCliPackageRoot()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd448b46cebd14f3 Environment-variable access.
repo/apps/cli/src/agent/extension-host.ts:181
		this.previousCliRuntimeEnv = process.env.ROO_CLI_RUNTIME

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d6f64332c788eb19 Environment-variable access.
repo/apps/cli/src/agent/extension-host.ts:182
		process.env.ROO_CLI_RUNTIME = "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 #817ca754c6df62cc Environment-variable access.
repo/apps/cli/src/agent/extension-host.ts:609
			delete process.env.ROO_CLI_RUNTIME

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3b5b0e59e668207f Environment-variable access.
repo/apps/cli/src/agent/extension-host.ts:611
			process.env.ROO_CLI_RUNTIME = this.previousCliRuntimeEnv

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #afae0aa60716ef9f Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:1
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #ff0e564a16c7c406 Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:25
		fs.writeFileSync(promptFilePath, promptContent)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #97a898193f20f77c Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:28
		const readContent = fs.readFileSync(promptFilePath, "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 test-only #5ffae9bec878db42 Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:41
		fs.writeFileSync(promptFilePath, multiLinePrompt)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b8345127f4506b29 Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:42
		const readContent = fs.readFileSync(promptFilePath, "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 test-only #646ad2ffbe633c35 Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:52
		fs.writeFileSync(promptFilePath, longPrompt)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #13de17bab57ed2a3 Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:53
		const readContent = fs.readFileSync(promptFilePath, "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 test-only #f2b9ba104e2cca73 Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:84
		fs.writeFileSync(promptFilePath, shellSensitivePrompt)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #d15a1df07f2f4fc6 Filesystem access.
repo/apps/cli/src/commands/cli/__tests__/run.test.ts:85
		const readContent = fs.readFileSync(promptFilePath, "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 #3929d18ae6d72174 Filesystem access.
repo/apps/cli/src/commands/cli/list.ts:1
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2d4043bcf340e060 Filesystem access.
repo/apps/cli/src/commands/cli/run.ts:1
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #01aaa12d7f177414 Filesystem access.
repo/apps/cli/src/commands/cli/run.ts:67
		prompt = fs.readFileSync(flagOptions.promptFile, "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 test-only #46e45881914f8857 Filesystem access.
repo/apps/cli/src/lib/storage/__tests__/history.test.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b1fe632a898c729b Filesystem access.
repo/apps/cli/src/lib/storage/__tests__/settings.test.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #60fa58162f8476ad Filesystem access.
repo/apps/cli/src/lib/storage/__tests__/settings.test.ts:62
			await fs.writeFile(expectedSettingsFile, JSON.stringify(settingsData), "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 test-only #51958c3ea84766a6 Filesystem access.
repo/apps/cli/src/lib/storage/__tests__/settings.test.ts:74
			await fs.writeFile(expectedSettingsFile, JSON.stringify(settingsData), "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 test-only #415e17f111e7e66b Filesystem access.
repo/apps/cli/src/lib/storage/__tests__/settings.test.ts:85
			const savedData = await fs.readFile(expectedSettingsFile, "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 test-only #44dcc7a24fec0d00 Filesystem access.
repo/apps/cli/src/lib/storage/__tests__/settings.test.ts:95
			const savedData = await fs.readFile(expectedSettingsFile, "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 test-only #82114c2a95262740 Filesystem access.
repo/apps/cli/src/lib/storage/__tests__/settings.test.ts:111
			const savedData = await fs.readFile(expectedSettingsFile, "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 #01ca36f9c7089241 Filesystem access.
repo/apps/cli/src/lib/storage/config-dir.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e69bd15df652bb7f Filesystem access.
repo/apps/cli/src/lib/storage/ephemeral.ts:3
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #80559a1c466d12dd Filesystem access.
repo/apps/cli/src/lib/storage/history.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d748baab91f5d8fe Filesystem access.
repo/apps/cli/src/lib/storage/history.ts:32
		const content = await fs.readFile(filePath, "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 #bba6501cec5de319 Filesystem access.
repo/apps/cli/src/lib/storage/history.ts:77
		await fs.writeFile(filePath, JSON.stringify(data, null, "\t"), "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 #fb21cc63e5ac1b70 Filesystem access.
repo/apps/cli/src/lib/storage/settings.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3e145dab83d71b21 Filesystem access.
repo/apps/cli/src/lib/storage/settings.ts:15
		const data = await fs.readFile(settingsPath, "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 #73297ef0f71de1fc Filesystem access.
repo/apps/cli/src/lib/storage/settings.ts:33
	await fs.writeFile(getSettingsPath(), JSON.stringify(merged, null, 2), {
		mode: 0o600,
	})

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #3879dae2d094afd5 Filesystem access.
repo/apps/cli/src/lib/utils/__tests__/extension.test.ts:1
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #aa8693091876d197 Environment-variable access.
repo/apps/cli/src/lib/utils/__tests__/extension.test.ts:15
		delete process.env.ROO_EXTENSION_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 test-only #e1107d07cdaca100 Environment-variable access.
repo/apps/cli/src/lib/utils/__tests__/provider.test.ts:16
		process.env.ANTHROPIC_API_KEY = "test-anthropic-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 test-only #724a2f7854ba5422 Environment-variable access.
repo/apps/cli/src/lib/utils/__tests__/provider.test.ts:21
		process.env.OPENROUTER_API_KEY = "test-openrouter-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 test-only #6c729224b19493b9 Environment-variable access.
repo/apps/cli/src/lib/utils/__tests__/provider.test.ts:26
		process.env.OPENAI_API_KEY = "test-openai-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 test-only #54ad272a41761959 Environment-variable access.
repo/apps/cli/src/lib/utils/__tests__/provider.test.ts:31
		delete process.env.ANTHROPIC_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 test-only #9878fc1e0d52c926 Filesystem access.
repo/apps/cli/src/lib/utils/__tests__/shell.test.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #51a9466f2d12b342 Filesystem access.
repo/apps/cli/src/lib/utils/extension.ts:2
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f9006ebade0eb320 Environment-variable access.
repo/apps/cli/src/lib/utils/extension.ts:12
	if (process.env.ROO_EXTENSION_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 #3e2204c57513f75b Environment-variable access.
repo/apps/cli/src/lib/utils/extension.ts:13
		const envPath = process.env.ROO_EXTENSION_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 #30c64d1f9776f571 Environment-variable access.
repo/apps/cli/src/lib/utils/provider.ts:19
	return process.env[envVar]

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #27c9c6339f299a61 Filesystem access.
repo/apps/cli/src/lib/utils/shell.ts:1
import fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #70001222da405e72 Filesystem access.
repo/apps/cli/src/lib/utils/shell.ts:2
import { constants as fsConstants } from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fdb92e46345366b7 Filesystem access.
repo/apps/cli/src/lib/utils/version.ts:1
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #106f88cbe3a6b8f8 Filesystem access.
repo/apps/cli/src/lib/utils/version.ts:14
			const packageJson = JSON.parse(fs.readFileSync(candidate, "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 #09a20e31f491f1e6 Environment-variable access.
repo/apps/cli/src/ui/components/Header.tsx:34
	const homeDir = process.env.HOME || process.env.USERPROFILE || ""

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7544b80d05a158ea Environment-variable access.
repo/apps/cli/src/ui/components/Icon.tsx:82
	const envOverride = process.env.ROOCODE_NERD_FONT

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #ba0c06d806a28970 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/ChatHistoryItem.test.tsx:10
		process.env.ROOCODE_NERD_FONT = "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 test-only #fce55a4d45897cdc Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/ChatHistoryItem.test.tsx:15
		delete process.env.ROOCODE_NERD_FONT

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #33e72d6b3ba35726 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:10
		delete process.env.ROOCODE_NERD_FONT

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #94dc90c15912f00e Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:15
		delete process.env.ROOCODE_NERD_FONT

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c45e17d990bacfc4 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:54
			process.env.ROOCODE_NERD_FONT = "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 test-only #703dea24e6044c27 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:60
			process.env.ROOCODE_NERD_FONT = "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.

low env_fs test-only #273742d7a0504a51 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:66
			process.env.ROOCODE_NERD_FONT = "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 test-only #c886872ee24eecf5 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:72
			process.env.ROOCODE_NERD_FONT = "false"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b4dc5ea1c0ce3758 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:78
			process.env.ROOCODE_NERD_FONT = "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 test-only #b91411a92fd7e5f8 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:82
			process.env.ROOCODE_NERD_FONT = "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 test-only #13f724311f55df09 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:89
			process.env.ROOCODE_NERD_FONT = "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 test-only #ab48f3339c0b80df Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:94
			process.env.ROOCODE_NERD_FONT = "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 test-only #c041336493a7994f Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:102
			process.env.ROOCODE_NERD_FONT = "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 test-only #802d724b0b2c6a03 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:113
			process.env.ROOCODE_NERD_FONT = "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 test-only #1853f04b42d3e370 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:125
			process.env.ROOCODE_NERD_FONT = "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 test-only #16f65f908ddd5924 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:135
			process.env.ROOCODE_NERD_FONT = "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 test-only #7ec847955b7c27a5 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:144
			process.env.ROOCODE_NERD_FONT = "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 test-only #92d7cab963ed052d Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/Icon.test.tsx:150
			process.env.ROOCODE_NERD_FONT = "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 test-only #bc2b86f57387081c Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/TodoDisplay.test.tsx:11
		process.env.ROOCODE_NERD_FONT = "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 test-only #4d773c0117b6bff9 Environment-variable access.
repo/apps/cli/src/ui/components/__tests__/TodoDisplay.test.tsx:16
		delete process.env.ROOCODE_NERD_FONT

Reads environment variables or the 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 (npm): apps/docs

npm first-party
expand_more 3 low-confidence finding(s)
low egress production #9ff8065880f1d151 Hardcoded external endpoint. Review what data is sent to this destination.
repo/apps/docs/src/components/GitHubInstallButtons/index.tsx:20
		const res = await fetch("https://api.github.com/repos/RooCodeInc/Roo-Code")

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 #446da49862936387 Hardcoded external endpoint. Review what data is sent to this destination.
repo/apps/docs/src/components/GitHubInstallButtons/index.tsx:38
		const res = await fetch("https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery", {
			method: "POST",
			headers: {
				"Content-Type": "application/json",
				Accept: "application/json;api-version=7.1-preview.1",
			},
			body: JSON.stringify({
				filters: [
					{
						criteria: [
							{
								filterType: 7,
								value: "RooVeterinaryInc.roo-cline",
							},
						],
					},
				],
				flags: 914,
			}),
		})

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 #5516b779f6b4587e Environment-variable access.
repo/apps/docs/src/theme/SearchPage/index.tsx:200
					) : process.env.NODE_ENV === "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.

first-party (npm): apps/vscode-e2e

npm first-party
expand_more 60 low-confidence finding(s)
low env_fs production #a18d1772e9495604 Filesystem access.
repo/apps/vscode-e2e/src/runTest.ts:3
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e31ee65d7b900239 Environment-variable access.
repo/apps/vscode-e2e/src/runTest.ts:25
		const testGrep = process.argv.find((arg, i) => process.argv[i - 1] === "--grep") || process.env.TEST_GREP

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #00e5addae5aed947 Environment-variable access.
repo/apps/vscode-e2e/src/runTest.ts:26
		const testFile = process.argv.find((arg, i) => process.argv[i - 1] === "--file") || process.env.TEST_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 #e8ed2e4d278bd705 Environment-variable access.
repo/apps/vscode-e2e/src/runTest.ts:41
			version: process.env.VSCODE_VERSION || "1.101.2",

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8936a5dc4a36ef86 Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:21
		openRouterApiKey: process.env.OPENROUTER_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 production #a214c4d7f2c90a0e Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:35
	if (process.env.TEST_GREP) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #87352b3a3e346633 Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:36
		mochaOptions.grep = process.env.TEST_GREP

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8f462f3381c86208 Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:37
		console.log(`Running tests matching pattern: ${process.env.TEST_GREP}`)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f9aaf45d9ee7cca5 Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:45
	if (process.env.TEST_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 #65dc3982b0ab3675 Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:46
		const specificFile = process.env.TEST_FILE.endsWith(".js")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d3e5ec93c7b4c87f Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:47
			? process.env.TEST_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 #52baedcbe5bb749c Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:48
			: `${process.env.TEST_FILE}.js`

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0c7368d2ba611fa1 Environment-variable access.
repo/apps/vscode-e2e/src/suite/index.ts:57
		throw new Error(`No test files found matching criteria: ${process.env.TEST_FILE || "all tests"}`)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #24e3472742cba31c Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts:2
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #45078cef06ac8bfb Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts:90
			await fs.writeFile(file.path, file.content)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #007e7da8ec012b08 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts:247
			const actualContent = await fs.readFile(testFile.path, "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 #bf4b5157b43d768a Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts:362
			const actualContent = await fs.readFile(testFile.path, "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 #064fdf4788264b5c Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts:474
			const actualContent = await fs.readFile(testFile.path, "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 #32aadcb9127d7101 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts:585
			const actualContent = await fs.readFile(testFile.path, "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 #e664025ba87917e0 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts:728
			const actualContent = await fs.readFile(testFile.path, "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 #367663c50755857a Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/execute-command.test.ts:2
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #feac56b4f13299b3 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/execute-command.test.ts:54
				await fs.writeFile(file.path, file.content)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1cb6a1e54295ca29 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/execute-command.test.ts:205
			const content = await fs.readFile(testFile.path, "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 #653a26a9b164f314 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/execute-command.test.ts:314
			const content = await fs.readFile(outputPath, "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 #9605d2b4db018248 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/execute-command.test.ts:436
			const content = await fs.readFile(testFile.path, "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 #7f9bc6ded4e682d7 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:2
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3ebe47e7c15ae9e6 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:63
		await fs.writeFile(testFiles.rootFile1, "This is root file 1 content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8d8a4e5e13915bd7 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:64
		await fs.writeFile(
			testFiles.rootFile2,
			`function testFunction() {
	console.log("Hello from root file 2");
}`,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b6ec16e10650faf8 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:72
		await fs.writeFile(
			testFiles.nestedFile1,
			`# Nested File 1

This is a markdown file in the nested directory.`,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c0c0a775f153886f Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:78
		await fs.writeFile(
			testFiles.nestedFile2,
			`{
	"name": "nested-config",
	"version": "1.0.0",
	"description": "Test configuration 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 #7ce6354456b134e7 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:88
		await fs.writeFile(
			testFiles.deepNestedFile,
			`interface TestInterface {
	id: number;
	name: string;
}`,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a7f28c50d1fd1904 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:97
		await fs.writeFile(testFiles.hiddenFile, "Hidden file content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ac0ac04adb1584a9 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:100
		await fs.writeFile(
			testFiles.configFile,
			`app:
  name: test-app
  version: 1.0.0
database:
  host: localhost
  port: 5432`,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #13cb476c9c17a68e Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:111
		await fs.writeFile(
			testFiles.readmeFile,
			`# List Files Test Directory

This directory contains various files and subdirectories for testing the list_files tool functionality.

## Structure
- Root files (txt, js)
- Nested directory with files (md, json)
- Deep nested directory with TypeScript file
- Hidden file
- Configuration files (yaml)`,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4f2744f58884f1d5 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/list-files.test.ts:444
			await fs.writeFile(sourceFile, "Content from symlinked 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 #019c66f82b67eb28 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/read-file.test.ts:2
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1bb7b996b2d3ad2b Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/read-file.test.ts:43
		await fs.writeFile(testFiles.simple, "Hello, World!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6a93d28d46e09825 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/read-file.test.ts:44
		await fs.writeFile(testFiles.multiline, "Line 1\nLine 2\nLine 3\nLine 4\nLine 5")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a131e0e22a29600b Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/read-file.test.ts:45
		await fs.writeFile(testFiles.empty, "")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dd380ee781e9dbff Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/read-file.test.ts:52
		await fs.writeFile(testFiles.large, largeContent)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #16442bee5bb5fff8 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/read-file.test.ts:55
		await fs.writeFile(
			testFiles.xmlContent,
			"<root>\n  <child>Test content</child>\n  <data>Some data</data>\n</root>",
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9bc8cffea4e6c0b3 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/read-file.test.ts:62
		await fs.writeFile(testFiles.nested, "Content in nested directory")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2463b480a9ee59c8 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:2
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1bf4eadfb473e8c5 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:47
		await fs.writeFile(
			testFiles.jsFile,
			`function calculateTotal(items) {
	return items.reduce((sum, item) => sum + item.price, 0)
}

function validateUser(user) {
	if (!user.email || !user.name) {
		throw new Error("Invalid user data")
	}
	return true
}

// TODO: Add more validation functions
const API_URL = "https://api.example.com"
export { calculateTotal, validateUser }`,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #07b7493cce60039e Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:66
		await fs.writeFile(
			testFiles.tsFile,
			`interface User {
	id: number
	name: string
	email: string
	isActive: boolean
}

interface Product {
	id: number
	title: string
	price: number
	category: string
}

class UserService {
	async getUser(id: number): Promise<User> {
		// TODO: Implement user fetching
		throw new Error("Not implemented")
	}
	
	async updateUser(user: User): Promise<void> {
		// Implementation here
	}
}

export { User, Product, UserService }`,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6ed418b1d52e8a9c Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:97
		await fs.writeFile(
			testFiles.jsonFile,
			`{
	"name": "test-app",
	"version": "1.0.0",
	"description": "A test application for search functionality",
	"main": "index.js",
	"scripts": {
		"start": "node index.js",
		"test": "jest",
		"build": "webpack"
	},
	"dependencies": {
		"express": "^4.18.0",
		"lodash": "^4.17.21"
	},
	"devDependencies": {
		"jest": "^29.0.0",
		"webpack": "^5.0.0"
	}
}`,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6a7d645bb9fb4de5 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:121
		await fs.writeFile(
			testFiles.textFile,
			`# Project Documentation

This is a test project for demonstrating search functionality.

## Features
- User management
- Product catalog
- Order processing
- Payment integration

## Installation
1. Clone the repository
2. Run npm install
3. Configure environment variables
4. Start the application

## API Endpoints
- GET /users - List all users
- POST /users - Create new user
- PUT /users/:id - Update user
- DELETE /users/:id - Delete user

## TODO
- Add authentication
- Implement caching
- Add error handling
- Write more tests`,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #102f80216499716b Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:154
		await fs.writeFile(
			testFiles.nestedJsFile,
			`// Nested utility functions
function formatCurrency(amount) {
	return new Intl.NumberFormat('en-US', {
		style: 'currency',
		currency: 'USD'
	}).format(amount)
}

function debounce(func, wait) {
	let timeout
	return function executedFunction(...args) {
		const later = () => {
			clearTimeout(timeout)
			func(...args)
		}
		clearTimeout(timeout)
		timeout = setTimeout(later, wait)
	}
}

module.exports = { formatCurrency, debounce }`,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #204ac219a4e1e4a5 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:180
		await fs.writeFile(
			testFiles.configFile,
			`# Application Configuration
app:
  name: "Test Application"
  version: "1.0.0"
  port: 3000
  
database:
  host: "localhost"
  port: 5432
  name: "testdb"
  user: "testuser"
  
redis:
  host: "localhost"
  port: 6379
  
logging:
  level: "info"
  file: "app.log"`,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #043c865e37098049 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/search-files.test.ts:204
		await fs.writeFile(
			testFiles.readmeFile,
			`# Search Files Test Project

This project contains various file types for testing the search_files functionality.

## File Types Included

- **JavaScript files** (.js) - Contains functions and exports
- **TypeScript files** (.ts) - Contains interfaces and classes  
- **JSON files** (.json) - Configuration and package files
- **Text files** (.txt) - Documentation and notes
- **YAML files** (.yaml) - Configuration files
- **Markdown files** (.md) - Documentation

## Search Patterns to Test

1. Function definitions: \`function\\s+\\w+\`
2. TODO comments: \`TODO.*\`
3. Import/export statements: \`(import|export).*\`
4. Interface definitions: \`interface\\s+\\w+\`
5. Configuration keys: \`"\\w+":\\s*\`

## Expected Results

The search should find matches across different file types and provide context for each match.`,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2f65e8ff71d84a18 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/use-mcp-tool.test.ts:2
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a5616744713b0fb0 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/use-mcp-tool.test.ts:37
		await fs.writeFile(testFiles.simple, "Initial content for MCP test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #201d6646c641b161 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/use-mcp-tool.test.ts:38
		await fs.writeFile(testFiles.testData, JSON.stringify({ test: "data", value: 42 }, null, 2))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cdecc90f4faac1fd Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/use-mcp-tool.test.ts:53
		await fs.writeFile(testFiles.mcpConfig, JSON.stringify(mcpConfig, null, 2))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #580c117507a16a5e Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/write-to-file.test.ts:2
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #86b5fe8a31bf21c7 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/write-to-file.test.ts:189
					actualContent = await fs.readFile(wsFilePath, "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 #8817868fbaddf4bb Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/write-to-file.test.ts:204
						actualContent = await fs.readFile(location, "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 #75167fd6a5d39eaa Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/write-to-file.test.ts:368
					actualContent = await fs.readFile(wsNestedPath, "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 #2a4625e2ce162da0 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/write-to-file.test.ts:378
						actualContent = await fs.readFile(wsFilePath, "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 #28f9b52fcaaa4d35 Filesystem access.
repo/apps/vscode-e2e/src/suite/tools/write-to-file.test.ts:393
					actualContent = await fs.readFile(nestedPath, "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.

first-party (npm): apps/vscode-nightly

npm first-party
expand_more 7 low-confidence finding(s)
low env_fs production #d27cbb08e33f297e Filesystem access.
repo/apps/vscode-nightly/esbuild.mjs:2
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #65e4f19a6f21a507 Filesystem access.
repo/apps/vscode-nightly/esbuild.mjs:17
	const overrideJson = JSON.parse(fs.readFileSync(path.join(__dirname, "package.nightly.json"), "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9d7a8826eb647f58 Filesystem access.
repo/apps/vscode-nightly/esbuild.mjs:86
					const packageJson = JSON.parse(fs.readFileSync(path.join(srcDir, "package.json"), "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1d581be8eedbee29 Filesystem access.
repo/apps/vscode-nightly/esbuild.mjs:94
					fs.writeFileSync(path.join(buildDir, "package.json"), JSON.stringify(generatedPackageJson, null, 2))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2f9b85347c860b8f Filesystem access.
repo/apps/vscode-nightly/esbuild.mjs:108
					const nlsPkg = JSON.parse(fs.readFileSync(path.join(srcDir, "package.nls.json"), "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b9ca477c3a2479a5 Filesystem access.
repo/apps/vscode-nightly/esbuild.mjs:111
						fs.readFileSync(path.join(__dirname, "package.nls.nightly.json"), "utf8"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7629e44ef4196a12 Filesystem access.
repo/apps/vscode-nightly/esbuild.mjs:114
					fs.writeFileSync(
						path.join(buildDir, "package.nls.json"),
						JSON.stringify({ ...nlsPkg, ...nlsNightlyPkg }, null, 2),
					)

Reads environment variables or the 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 (npm): packages/core

npm first-party
expand_more 74 low-confidence finding(s)
low env_fs test-only #5c2bec346cb5faa6 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:1
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #97f3f0221d0a2150 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:29
		fs.writeFileSync(fakeScriptPath, "#!/usr/bin/env node\nconsole.log('fake esbuild')")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #abf6aa75f8d7ec4f Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:66
		fs.writeFileSync(
			inputFile,
			`
				export const greeting = "Hello, World!"
				export function add(a: number, b: number): number {
					return a + b
				}
			`,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #d237445087fb88be Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:89
		const outputContent = fs.readFileSync(outputFile, "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 test-only #5ca9a76f9a2cb019 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:98
		fs.writeFileSync(inputFile, `export const value = 42`)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #047d74243417b277 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:102
		const outputContent = fs.readFileSync(outputFile, "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 test-only #0eca9be9a87ef516 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:111
		fs.writeFileSync(inputFile, `export const value = {{{ invalid syntax`)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #8a2e9f08959d85cc Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:129
		fs.writeFileSync(libFile, `export const PI = 3.14159`)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #4a031520fd0eb586 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:130
		fs.writeFileSync(
			mainFile,
			`
				import { PI } from "./lib.js"
				export const circumference = (r: number) => 2 * PI * r
			`,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #4c58537c9a7745a0 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:140
		const outputContent = fs.readFileSync(outputFile, "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 test-only #d420566fd86afc29 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:149
		fs.writeFileSync(inputFile, `export const value = process.env.NODE_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 test-only #9fb5de779092b1f6 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:162
		fs.writeFileSync(
			inputFile,
			`
				import fs from "fs"
				export function fileExists(p: string): boolean {
					return fs.existsSync(p)
				}
			`,
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #35cab9920f103332 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:180
		const outputContent = fs.readFileSync(outputFile, "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 test-only #e2622e497c6f662c Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:189
		fs.writeFileSync(inputFile, `export const greeting = "Hello"`)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a4264252f044d265 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:199
		const outputContent = fs.readFileSync(outputFile, "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 test-only #9ee12027c2aa0dc4 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:208
		fs.writeFileSync(inputFile, `export const value = 42`)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #873077f2128a6816 Filesystem access.
repo/packages/core/src/custom-tools/__tests__/esbuild-runner.spec.ts:217
		const outputContent = fs.readFileSync(outputFile, "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 #24250242cb4a2373 Filesystem access.
repo/packages/core/src/custom-tools/custom-tool-registry.ts:11
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2f27bf3c16c198c9 Filesystem access.
repo/packages/core/src/custom-tools/esbuild-runner.ts:13
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d88c4e43f1186746 Filesystem access.
repo/packages/core/src/debug-log/index.ts:18
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #cceeb4dd8bc0063b Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f4aa38d33a578168 Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:23
		await fs.writeFile(
			path.join(tasksDir, "_index.json"),
			JSON.stringify({
				entries: [
					{ id: "a", task: "Task A", ts: 100, status: "completed" },
					{ id: "b", task: "Task B", ts: 300, mode: "code" },
					{ id: "invalid", ts: 200 },
				],
			}),
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #750faa059b0a7047 Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:47
		await fs.writeFile(
			path.join(tasksDir, "_index.json"),
			JSON.stringify({
				entries: [{ id: "a", task: "Task A", ts: 100 }],
			}),
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #14f18e8bac2f0586 Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:53
		await fs.writeFile(
			path.join(tasksDir, "c", "history_item.json"),
			JSON.stringify({ id: "c", task: "Task C", ts: 500, workspace: "/tmp/project" }),
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #330098d0d80d7a6a Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:70
		await fs.writeFile(
			path.join(tasksDir, "_index.json"),
			JSON.stringify({
				entries: [
					{ id: "stale", task: "Stale Task", ts: 999 },
					{ id: "live", task: "Live Task", ts: 100 },
				],
			}),
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #d0a90683eba1a4a7 Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:93
		await fs.writeFile(path.join(tasksDir, "_index.json"), "{not-valid-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 test-only #5f5f6d89acd74897 Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:94
		await fs.writeFile(
			path.join(tasksDir, "good", "history_item.json"),
			JSON.stringify({ id: "good", task: "Good Task", ts: 10, status: "active" }),
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #bee28bff5051334a Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:98
		await fs.writeFile(path.join(tasksDir, "bad-json", "history_item.json"), "{oops")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #0f470036f020f514 Filesystem access.
repo/packages/core/src/task-history/__tests__/task-history.spec.ts:99
		await fs.writeFile(
			path.join(tasksDir, "bad-shape", "history_item.json"),
			JSON.stringify({ id: "bad-shape", task: 123, ts: "not-a-number" }),
		)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d708550f5391e81e Filesystem access.
repo/packages/core/src/task-history/index.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #39417ac8578cd0ea Filesystem access.
repo/packages/core/src/task-history/index.ts:50
		const raw = await fs.readFile(filePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c5d656b1f1a48d10 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:1
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #51136acaa2bc76e2 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:37
			await fs.writeFile(path.join(tempDir, ".worktreeinclude"), "node_modules")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #73a38d9543eb370d Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:66
			await fs.writeFile(path.join(repoDir, "README.md"), "test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #cbef11a811710dec Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:75
			await fs.writeFile(path.join(repoDir, ".worktreeinclude"), "node_modules")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #bdd07cead35dea2a Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:86
			await fs.writeFile(path.join(tempDir, ".worktreeinclude"), "node_modules")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #24d0cc67f99d32a1 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:87
			await fs.writeFile(path.join(tempDir, ".gitignore"), gitignoreContent)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #23e04d273229f072 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:98
			await fs.writeFile(path.join(tempDir, ".gitignore"), gitignoreContent)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #09117c502420c73b Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:108
			await fs.writeFile(path.join(tempDir, ".worktreeinclude"), "node_modules")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #39489d9820ff5ee4 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:132
			const fileContent = await fs.readFile(path.join(tempDir, ".worktreeinclude"), "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 test-only #9c3d59e453164937 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:137
			await fs.writeFile(path.join(tempDir, ".worktreeinclude"), "old content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b159c3c2db3252e7 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:142
			const fileContent = await fs.readFile(path.join(tempDir, ".worktreeinclude"), "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 test-only #bbd6f7c6a43377ad Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:159
			await fs.writeFile(path.join(sourceDir, ".gitignore"), "node_modules")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #3f5f9ae77f96eb60 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:167
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), "node_modules")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c50c27fd92d4b99b Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:176
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), "node_modules")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #bd62f31ddd36b5d9 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:177
			await fs.writeFile(path.join(sourceDir, ".gitignore"), ".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 test-only #03b4b78118a002fd Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:187
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), "node_modules")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #00b8a442a8ac759d Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:188
			await fs.writeFile(path.join(sourceDir, ".gitignore"), "node_modules")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #3c53d45d7ddb824d Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:191
			await fs.writeFile(path.join(sourceDir, "node_modules", "package.json"), '{"name": "test"}')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #1988f6d8b75a4aa0 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:197
			const copiedContent = await fs.readFile(path.join(targetDir, "node_modules", "package.json"), "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 test-only #3b39586d3c00c197 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:205
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), "node_modules\ndist")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #d782ccafe2e1eef0 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:206
			await fs.writeFile(path.join(sourceDir, ".gitignore"), "node_modules\n.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 test-only #81d9fc2bb269c04f Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:209
			await fs.writeFile(path.join(sourceDir, ".env"), "SECRET=123")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #1c3a914bab5faa06 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:210
			await fs.writeFile(path.join(sourceDir, "node_modules", "test.txt"), "test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #62863a102e082394 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:211
			await fs.writeFile(path.join(sourceDir, "dist", "main.js"), "console.log('dist')")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #6057b6b99798d73e Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:236
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), ".git")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #6a33c1bd165e0753 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:237
			await fs.writeFile(path.join(sourceDir, ".gitignore"), ".git")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a6ce216956c8b991 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:239
			await fs.writeFile(path.join(sourceDir, ".git", "config"), "[core]")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #5b6844f7726791c2 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:247
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), ".env.local")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #de0d73992d77f40b Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:248
			await fs.writeFile(path.join(sourceDir, ".gitignore"), ".env.local")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f8e7c74314db6d2f Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:249
			await fs.writeFile(path.join(sourceDir, ".env.local"), "LOCAL_VAR=value")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #53a8258de2d1aa92 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:254
			const copiedContent = await fs.readFile(path.join(targetDir, ".env.local"), "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 test-only #1994c66675cde1c8 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:259
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), "# comment\nnode_modules\n# another comment")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7cb3a2da6bea3811 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:260
			await fs.writeFile(path.join(sourceDir, ".gitignore"), "node_modules")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7b4cb0bb7902c764 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:270
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), "node_modules\n.env.local")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #45cecf93d1045cf4 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:271
			await fs.writeFile(path.join(sourceDir, ".gitignore"), "node_modules\n.env.local")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #3366827e5d1c83a7 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:273
			await fs.writeFile(path.join(sourceDir, "node_modules", "test.txt"), "test")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #9e19196c3fa48d61 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:274
			await fs.writeFile(path.join(sourceDir, ".env.local"), "LOCAL_VAR=value")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #5dd13deed1c85cc5 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:296
			await fs.writeFile(path.join(sourceDir, ".worktreeinclude"), "node_modules")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #384a77f5a237f342 Filesystem access.
repo/packages/core/src/worktree/__tests__/worktree-include.spec.ts:297
			await fs.writeFile(path.join(sourceDir, ".gitignore"), "node_modules")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fced2ad89b5d9d8f Filesystem access.
repo/packages/core/src/worktree/worktree-include.ts:9
import * as fs from "fs/promises"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dcedc017b40b83ae Filesystem access.
repo/packages/core/src/worktree/worktree-include.ts:88
			gitignoreContent = await fs.readFile(gitignorePath, "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 #23fe32c108ddbf27 Filesystem access.
repo/packages/core/src/worktree/worktree-include.ts:105
		await fs.writeFile(path.join(dir, ".worktreeinclude"), content, "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 #85e356b464344cc7 Filesystem access.
repo/packages/core/src/worktree/worktree-include.ts:380
			const content = await fs.readFile(filePath, "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.

first-party (npm): packages/types

npm first-party
expand_more 14 low-confidence finding(s)
low env_fs production #28f825dd0f5b5f9c Filesystem access.
repo/packages/types/scripts/generate-roomodes-schema.ts:11
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #717d727fe0f1388f Filesystem access.
repo/packages/types/scripts/generate-roomodes-schema.ts:23
fs.writeFileSync(outPath, JSON.stringify(jsonSchema, null, "\t") + "\n", "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 #d61fad197ebb19e1 Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:3
const fs = require("fs")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cd014204d5a756f4 Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:36
		const packageContent = JSON.parse(fs.readFileSync(filePath, "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #af1ce53825867533 Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:39
		fs.writeFileSync(filePath, JSON.stringify(packageContent, null, 2) + "\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 production #41574cbef7429070 Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:187
		const monorepoPackageContent = fs.readFileSync(monorepoPackagePath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fcfdf2d61e098381 Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:192
		const npmMetadataContent = fs.readFileSync(npmMetadataPath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d209fa2b724db7e8 Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:217
		fs.writeFileSync(npmPackagePath, outputContent)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f5ee880ae99deff4 Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:239
		const npmPackage = JSON.parse(fs.readFileSync(npmPackagePath, "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #80dbc0e78acc8b8a Filesystem access.
repo/packages/types/scripts/publish-npm.cjs:256
		const updatedPackage = JSON.parse(fs.readFileSync(npmPackagePath, "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #780e4dda9e63cd0d Filesystem access.
repo/packages/types/src/__tests__/roomodes-schema-sync.spec.ts:2
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #fe74f0288e20e31d Filesystem access.
repo/packages/types/src/__tests__/roomodes-schema-sync.spec.ts:20
		const checkedIn = JSON.parse(fs.readFileSync(schemaPath, "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 test-only #1fd3fffdfeeab117 Filesystem access.
repo/packages/types/src/__tests__/roomodes-schema.spec.ts:11
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #adeaa6ff71ea3b30 Filesystem access.
repo/packages/types/src/__tests__/roomodes-schema.spec.ts:22
		schema = JSON.parse(fs.readFileSync(schemaPath, "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.

first-party (npm): packages/vscode-shim

npm first-party
expand_more 71 low-confidence finding(s)
low env_fs test-only #6b62a51f15867c8d Filesystem access.
repo/packages/vscode-shim/src/__tests__/ExtensionContext.test.ts:2
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #146cceef8ba8625c Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:1
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b7ff92d20b14831d Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:26
			fs.writeFileSync(filePath, "test content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #4e0e889fa055c6ee Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:56
			fs.writeFileSync(filePath, "Hello, world!")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b02ef78985ce151e Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:59
			const content = await fsAPI.readFile(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 test-only #238f1a9e5a2c5e88 Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:67
			await expect(fsAPI.readFile(uri)).rejects.toThrow()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #c5327b8e4b014222 Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:76
			await fsAPI.writeFile(uri, new TextEncoder().encode("Written content"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #2df45915371177f9 Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:78
			expect(fs.readFileSync(filePath, "utf-8")).toBe("Written content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #17e61a501d33a51f Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:85
			await fsAPI.writeFile(uri, new TextEncoder().encode("Nested content"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #6f10ec5bca57668a Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:87
			expect(fs.readFileSync(filePath, "utf-8")).toBe("Nested content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #62aacd990c05be90 Filesystem access.
repo/packages/vscode-shim/src/__tests__/FileSystemAPI.test.ts:94
			fs.writeFileSync(filePath, "delete me")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #96a4635a8c6f81a3 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:1
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #e74c262d708aea16 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:106
			fs.writeFileSync(filePath, "Line 1\nLine 2\nLine 3")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #d1e3fe72675793e4 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:119
			fs.writeFileSync(filePath, "Line 1\nLine 2\nLine 3")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #b12fe0416974eb5b Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:133
			fs.writeFileSync(filePath, "Hello\nWorld")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #18d542e6ca5edc2c Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:146
			fs.writeFileSync(filePath, "content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #7a614ede64af0930 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:166
			fs.writeFileSync(filePath, "Hello World")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #fa80bd5bffd443fb Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:175
			expect(fs.readFileSync(filePath, "utf-8")).toBe("Hi World")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f27dfa361665e449 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:180
			fs.writeFileSync(filePath, "World")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #8dde58273959cc4c Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:189
			expect(fs.readFileSync(filePath, "utf-8")).toBe("Hello World")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #feba3da5b1a35a19 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:194
			fs.writeFileSync(filePath, "Hello World")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #95b49ba9aa4bd1de Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:203
			expect(fs.readFileSync(filePath, "utf-8")).toBe("Hello")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #2566560889af3376 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:216
			expect(fs.readFileSync(filePath, "utf-8")).toBe("New content")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #2103eab9a4196c7a Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceAPI.test.ts:221
			fs.writeFileSync(filePath, "Original")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #8c579c60fcf99ab4 Filesystem access.
repo/packages/vscode-shim/src/__tests__/WorkspaceConfiguration.test.ts:1
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #6bda628f7551a518 Environment-variable access.
repo/packages/vscode-shim/src/__tests__/logger.test.ts:13
		originalEnv = process.env.DEBUG

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #a8f7f46c1ce2046e Environment-variable access.
repo/packages/vscode-shim/src/__tests__/logger.test.ts:23
		process.env.DEBUG = originalEnv

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #69d75d32a1758c6d Environment-variable access.
repo/packages/vscode-shim/src/__tests__/logger.test.ts:94
				delete process.env.DEBUG

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #6b30c4fd151f9b59 Environment-variable access.
repo/packages/vscode-shim/src/__tests__/logger.test.ts:102
				process.env.DEBUG = "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.

low env_fs test-only #4f2e9d54448e4a9c Environment-variable access.
repo/packages/vscode-shim/src/__tests__/logger.test.ts:111
				process.env.DEBUG = "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.

low env_fs test-only #a157a7afc2fd6d6d Filesystem access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:1
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #f57eac07fdacd6ff Environment-variable access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:12
		originalHome = process.env.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 test-only #35d920ddc385eb7f Environment-variable access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:14
		process.env.HOME = tempDir

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #bab35d108953f7ae Environment-variable access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:18
		process.env.HOME = originalHome

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #55b6b3a7c2ca8109 Filesystem access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:46
		const storedId = fs.readFileSync(idPath, "utf-8").trim()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #55802de02354a7cf Filesystem access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:62
		fs.writeFileSync(idPath, "existing-machine-id-12345")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #6b7f1471e25e8106 Environment-variable access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:81
		delete process.env.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 test-only #5afb8c252759c541 Environment-variable access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:82
		process.env.USERPROFILE = tempDir

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #65deeeae7fd8a378 Environment-variable access.
repo/packages/vscode-shim/src/__tests__/machine-id.test.ts:90
		process.env.HOME = tempDir

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #fc97fd2ee202cb56 Filesystem access.
repo/packages/vscode-shim/src/__tests__/paths.test.ts:1
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #dde0d6fd19cfd71b Environment-variable access.
repo/packages/vscode-shim/src/__tests__/paths.test.ts:12
		originalHome = process.env.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 test-only #b7385c54092303bd Environment-variable access.
repo/packages/vscode-shim/src/__tests__/paths.test.ts:14
		process.env.HOME = tempDir

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #de24a86aed6254dc Environment-variable access.
repo/packages/vscode-shim/src/__tests__/paths.test.ts:18
		process.env.HOME = originalHome

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #43caf7632c8f0ed1 Environment-variable access.
repo/packages/vscode-shim/src/__tests__/paths.test.ts:197
			delete process.env.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 test-only #38be1cd358d9e8dc Environment-variable access.
repo/packages/vscode-shim/src/__tests__/paths.test.ts:198
			process.env.USERPROFILE = tempDir

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #205e919cde8e0afe Environment-variable access.
repo/packages/vscode-shim/src/__tests__/paths.test.ts:205
			process.env.HOME = tempDir

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs test-only #52b7bf17b4a5de77 Filesystem access.
repo/packages/vscode-shim/src/__tests__/storage.test.ts:1
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ecd00aa5b30e5d4a Filesystem access.
repo/packages/vscode-shim/src/api/FileSystemAPI.ts:5
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #222847db086a235f Filesystem access.
repo/packages/vscode-shim/src/api/FileSystemAPI.ts:39
			const content = fs.readFileSync(uri.fsPath)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f0fc8c5df4d5c8bb Filesystem access.
repo/packages/vscode-shim/src/api/FileSystemAPI.ts:56
			fs.writeFileSync(uri.fsPath, content)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0126c1132b233f80 Filesystem access.
repo/packages/vscode-shim/src/api/WorkspaceAPI.ts:5
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fdf0ceb7ac8a1731 Filesystem access.
repo/packages/vscode-shim/src/api/WorkspaceAPI.ts:131
			content = fs.readFileSync(uri.fsPath, "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 #dd04ac9d0eaa0da0 Filesystem access.
repo/packages/vscode-shim/src/api/WorkspaceAPI.ts:215
					content = fs.readFileSync(filePath, "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 #c2d849ac203db8f9 Filesystem access.
repo/packages/vscode-shim/src/api/WorkspaceAPI.ts:250
				fs.writeFileSync(filePath, newContent, "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 #9e3260a7fbccb060 Environment-variable access.
repo/packages/vscode-shim/src/api/create-vscode-api-mock.ts:109
		shell: process.env.SHELL || "/bin/bash",

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #43a85fb74da9fe15 Filesystem access.
repo/packages/vscode-shim/src/context/ExtensionContext.ts:2
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #99b9f6d8e1e98f26 Environment-variable access.
repo/packages/vscode-shim/src/context/ExtensionContext.ts:83
			options.storageDir || path.join(process.env.HOME || process.env.USERPROFILE || ".", ".vscode-mock")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #54dad1d8c6170df7 Filesystem access.
repo/packages/vscode-shim/src/context/ExtensionContext.ts:125
				const packageJSON = JSON.parse(fs.readFileSync(packageJsonPath, "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 #ede7ed50621b20d7 Filesystem access.
repo/packages/vscode-shim/src/storage/Memento.ts:1
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84814c204d4cea6c Filesystem access.
repo/packages/vscode-shim/src/storage/Memento.ts:46
				const content = fs.readFileSync(this.filePath, "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 #b95eefd0b5a5cba3 Filesystem access.
repo/packages/vscode-shim/src/storage/Memento.ts:63
			fs.writeFileSync(this.filePath, JSON.stringify(this.data, null, 2))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2175afea0588aaab Filesystem access.
repo/packages/vscode-shim/src/storage/SecretStorage.ts:1
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a1be00c3f68c91cf Filesystem access.
repo/packages/vscode-shim/src/storage/SecretStorage.ts:57
				const content = fs.readFileSync(this.filePath, "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 #24530a3bfebf8ddb Filesystem access.
repo/packages/vscode-shim/src/storage/SecretStorage.ts:76
			fs.writeFileSync(this.filePath, JSON.stringify(this.secrets, null, 2))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7070834ad57b93c4 Environment-variable access.
repo/packages/vscode-shim/src/utils/logger.ts:27
		if (process.env.DEBUG) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0fc1d59c85cb2079 Filesystem access.
repo/packages/vscode-shim/src/utils/machine-id.ts:6
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fe922396516ed372 Environment-variable access.
repo/packages/vscode-shim/src/utils/machine-id.ts:17
	const homeDir = process.env.HOME || process.env.USERPROFILE || "."

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #07c7c32cb52e8236 Filesystem access.
repo/packages/vscode-shim/src/utils/machine-id.ts:23
			return fs.readFileSync(idPath, "utf-8").trim()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8d589d4e32ee3aee Filesystem access.
repo/packages/vscode-shim/src/utils/machine-id.ts:38
		fs.writeFileSync(idPath, machineId)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7677013560d3df4d Filesystem access.
repo/packages/vscode-shim/src/utils/paths.ts:5
import * as fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4b734600889e48f0 Environment-variable access.
repo/packages/vscode-shim/src/utils/paths.ts:14
	const homeDir = process.env.HOME || process.env.USERPROFILE || "."

Reads environment variables or the 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 (npm): webview-ui

npm first-party
expand_more 17 low-confidence finding(s)
low env_fs production #aefcd89a38ec7776 Environment-variable access.
repo/webview-ui/src/App.tsx:150
		if (process.env.NODE_ENV === "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 #f651562b732f752d Environment-variable access.
repo/webview-ui/src/components/ErrorBoundary.tsx:56
		const version = process.env.PKG_VERSION || "unknown"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #baa73b676865924c Environment-variable access.
repo/webview-ui/src/utils/sourceMapInitializer.ts:17
	if (process.env.NODE_ENV !== "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 #ca7db06a3f6b4230 Environment-variable access.
repo/webview-ui/src/utils/sourceMapInitializer.ts:116
	if (process.env.NODE_ENV !== "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 #abb470fb559971b3 Filesystem access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:2
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #73406cb66baafb3e Environment-variable access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:21
				const mode = process.env.NODE_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 production #6c052ef6cc12cb51 Filesystem access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:61
						let jsContent = fs.readFileSync(jsPath, "utf8")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1be2aa2a8e1d6ea7 Filesystem access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:71
							fs.writeFileSync(jsPath, jsContent)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #65280f7cca6c11bb Filesystem access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:76
							const mapContent = JSON.parse(fs.readFileSync(mapPath, "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74f2d10133c56e3b Filesystem access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:92
							fs.writeFileSync(mapPath, JSON.stringify(mapContent, null, 2))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #18fb1726c6b88b06 Filesystem access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:103
				fs.writeFileSync(
					path.join(outDir, "sourcemap-manifest.json"),
					JSON.stringify({
						enabled: true,
						version: process.env.PKG_VERSION || "unknown",
						buildTime: new Date().toISOString(),
					}),
				)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5426e1ae89b0b547 Environment-variable access.
repo/webview-ui/src/vite-plugins/sourcemapPlugin.ts:107
						version: process.env.PKG_VERSION || "unknown",

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #934500392badf82a Filesystem access.
repo/webview-ui/vite.config.ts:2
import fs from "fs"

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a0e7e4a715d17030 Filesystem access.
repo/webview-ui/vite.config.ts:45
				fs.writeFileSync(resolve(__dirname, "..", ".vite-port"), port.toString())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1c704a9f3b4a30e Filesystem access.
repo/webview-ui/vite.config.ts:58
	const pkg = JSON.parse(fs.readFileSync(path.join(__dirname, "..", "src", "package.json"), "utf8"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #516f1fe61f266b18 Environment-variable access.
repo/webview-ui/vite.config.ts:63
		"process.env.VSCODE_TEXTMATE_DEBUG": JSON.stringify(process.env.VSCODE_TEXTMATE_DEBUG),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6779b1d21e6e7a31 Filesystem access.
repo/webview-ui/vite.config.ts:76
			fs.readFileSync(path.join(__dirname, "..", "apps", "vscode-nightly", "package.nightly.json"), "utf8"),

Reads environment variables or the 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

axios

npm dependency
medium pii_flow dependency Excluded from app score #e38a62bc6237821a Credentials parsed from the request URL are applied as authorization on the same outbound HTTP request. This is intentional URL authentication, not unexpected data exfiltration.
pkgs/npm/[email protected]/lib/adapters/http.js:1062 · flow /tmp/closeopen-g35pvn7e/pkgs/npm/[email protected]/lib/adapters/http.js:861 → /tmp/closeopen-g35pvn7e/pkgs/npm/[email protected]/lib/adapters/http.js:1062
      req = transport.request(options, function handleResponse(res) {
        clearConnectPhaseTimer();

        if (req.destroyed) return;

        const streams = [res];

        const responseLength = utils.toFiniteNumber(res.headers['content-length']);

        if (onDownloadProgress || maxDownloadRate) {
          const transformStream = new AxiosTransformStream({
            maxRate: utils.toFiniteNumber(maxDownloadRate),
          });

          onDownloadProgress &&
            transformStream.on(
              'progress',
              flushOnFinish(
                transformStream,
                progressEventDecorator(
                  responseLength,
                  progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
                )
              )
            );

          streams.push(transformStream);
        }

        // decompress the response body transparently if required
        let responseStream = res;

        // return the last request in case of redirects
        const lastRequest = res.req || req;

        // if decompress disabled we should not decompress
        if (decompress !== false && res.headers['content-encoding']) {
          // if no content, but headers still say that it is encoded,
          // remove the header not confuse downstream operations
          if (method === 'HEAD' || res.statusCode === 204) {
            delete res.headers['content-encoding'];
          }

          switch ((res.headers['content-encoding'] || '').toLowerCase()) {
            /*eslint default-case:0*/
            case 'gzip':
            case 'x-gzip':
            case 'compress':
            case 'x-compress':
              // add the unzipper to the body stream processing pipeline
              streams.push(zlib.createUnzip(zlibOptions));

              // remove the content-encoding in order to not confuse downstream operations
              delete res.headers['content-encoding'];
              break;
            case 'deflate':
              streams.push(new ZlibHeaderTransformStream());

              // add the unzipper to the body stream processing pipeline
              streams.push(zlib.createUnzip(zlibOptions));

              // remove the content-encoding in order to not confuse downstream operations
              delete res.headers['content-encoding'];
              break;
            case 'br':
              if (isBrotliSupported) {
                streams.push(zlib.createBrotliDecompress(brotliOptions));
                delete res.headers['content-encoding'];
              }
              break;
            case 'zstd':
              if (isZstdSupported) {
                streams.push(zlib.createZstdDecompress(zstdOptions));
                delete res.headers['content-encoding'];
              }
              break;
          }
        }

        responseStream = streams.length > 1 ? stream.pipeline(streams, utils.noop) : streams[0];

        const response = {
          status: res.statusCode,
          statusText: res.statusMessage,
          headers: new AxiosHeaders(res.headers),
          config,
          request: lastRequest,
        };

        if (responseType === 'stream') {
          // Enforce maxContentLength on streamed responses; previously this
          // was applied only to buffered responses.
          if (maxContentLength > -1) {
            const limit = maxContentLength;
            const source = responseStream;
            async function* enforceMaxContentLength() {
              let totalResponseBytes = 0;
              for await (const chunk of source) {
                totalResponseBytes += chunk.length;
                if (totalResponseBytes > limit) {
                  throw new AxiosError(
                    'maxContentLength size of ' + limit + ' exceeded',
                    AxiosError.ERR_BAD_RESPONSE,
                    config,
                    lastRequest
                  );
                }
                yield chunk;
              }
            }
            responseStream = stream.Readable.from(enforceMaxContentLength(), {
              objectMode: false,
            });
          }
          response.data = responseStream;
          settle(resolve, reject, response);
        } else {
          const responseBuffer = [];
          let totalResponseBytes = 0;

          responseStream.on('data', function handleStreamData(chunk) {
            responseBuffer.push(chunk);
            totalResponseBytes += chunk.length;

            // make sure the content length is not over the maxContentLength if specified
            if (maxContentLength > -1 && totalResponseBytes > maxContentLength) {
              // stream.destroy() emit aborted event before calling reject() on Node.js v16
              rejected = true;
              responseStream.destroy();
              abort(
                new AxiosError(
                  'maxContentLength size of ' + maxContentLength + ' exceeded',
                  AxiosError.ERR_BAD_RESPONSE,
                  config,
                  lastRequest
                )
              );
            }
          });

          responseStream.on('aborted', function handlerStreamAborted() {
            if (rejected) {
              return;
            }

            const err = new AxiosError(
              'stream has been aborted',
              AxiosError.ERR_BAD_RESPONSE,
              config,
              lastRequest,
              response
            );
            responseStream.destroy(err);
            reject(err);
          });

          responseStream.on('error', function handleStreamError(err) {
            if (rejected) return;
            reject(AxiosError.from(err, null, config, lastRequest, response));
          });

          responseStream.on('end', function handleStreamEnd() {
            try {
              let responseData =
                responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);
              if (responseType !== 'arraybuffer') {
                responseData = responseData.toString(responseEncoding);
                if (!responseEncoding || responseEncoding === 'utf8') {
                  responseData = utils.stripBOM(responseData);
                }
              }
              response.data = responseData;
            } catch (err) {
              return reject(AxiosError.from(err, null, config, response.request, response));
            }
            settle(resolve, reject, response);
          });
        }

        abortEmitter.once('abort', (err) => {
          if (!responseStream.destroyed) {
            responseStream.emit('error', err);
            responseStream.destroy();
          }
        });
      });

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 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #bf4181e22716b64d Environment-variable access.
pkgs/npm/[email protected]/lib/helpers/shouldBypassProxy.js:168
  const noProxy = (process.env.no_proxy || process.env.NO_PROXY || '').toLowerCase();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

@ai-sdk/google-vertex

npm dependency
expand_more 1 low-confidence finding(s)
low egress dependency Excluded from app score #bb878a01beb8cc3f Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]/src/edge/google-vertex-auth-edge.ts:139
    const response = await fetch('https://oauth2.googleapis.com/token', {
      method: 'POST',
      headers: withUserAgentSuffix(
        { 'Content-Type': 'application/x-www-form-urlencoded' },
        `ai-sdk/google-vertex/${VERSION}`,
        getRuntimeEnvironmentUserAgent(),
      ),
      body: new URLSearchParams({
        grant_type: 'urn:ietf:params:oauth:grant-type:jwt-bearer',
        assertion: jwt,
      }),
    });

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.

@anthropic-ai/sdk

npm dependency
expand_more 44 low-confidence finding(s)
low env_fs dependency Excluded from app score #65f0054487c717a3 Filesystem access.
pkgs/npm/@[email protected]/core/credentials.js:110
        configRaw = await fs.promises.readFile(configPath, '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 dependency Excluded from app score #17297c50309c6c4b Filesystem access.
pkgs/npm/@[email protected]/core/credentials.js:210
        raw = await fs.promises.readFile(credentialsPath, '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 dependency Excluded from app score #d7dbc845f52f0e08 Filesystem access.
pkgs/npm/@[email protected]/core/credentials.js:308
        return (await fs.promises.readFile(filePath, 'utf-8')).trim() || 'default';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #eb80517f489a6c04 Filesystem access.
pkgs/npm/@[email protected]/core/credentials.mjs:73
        configRaw = await fs.promises.readFile(configPath, '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 dependency Excluded from app score #688cd116b940ac5b Filesystem access.
pkgs/npm/@[email protected]/core/credentials.mjs:172
        raw = await fs.promises.readFile(credentialsPath, '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 dependency Excluded from app score #56ec4e8c02f3162c Filesystem access.
pkgs/npm/@[email protected]/core/credentials.mjs:268
        return (await fs.promises.readFile(filePath, 'utf-8')).trim() || 'default';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d8103ff89cd3fb64 Filesystem access.
pkgs/npm/@[email protected]/lib/credentials/credential-chain.js:203
            const raw = await fs.promises.readFile(credentialsPath, '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 dependency Excluded from app score #6cdbdab88d4358a2 Filesystem access.
pkgs/npm/@[email protected]/lib/credentials/credential-chain.mjs:166
            const raw = await fs.promises.readFile(credentialsPath, '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 dependency Excluded from app score #a224b4a125f9adf8 Filesystem access.
pkgs/npm/@[email protected]/lib/credentials/identity-token.js:51
            content = await fs.promises.readFile(path, '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 dependency Excluded from app score #69c527bdc5f0a219 Filesystem access.
pkgs/npm/@[email protected]/lib/credentials/identity-token.mjs:14
            content = await fs.promises.readFile(path, '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 dependency Excluded from app score #d42c1b970b71bd7f Filesystem access.
pkgs/npm/@[email protected]/lib/credentials/types.js:195
            await fh.writeFile(JSON.stringify(data, null, 2));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #44f3b69e5bde37f6 Filesystem access.
pkgs/npm/@[email protected]/lib/credentials/types.mjs:154
            await fh.writeFile(JSON.stringify(data, null, 2));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7eaedd9c0c45214a Filesystem access.
pkgs/npm/@[email protected]/lib/credentials/user-oauth.js:56
            raw = await fs.promises.readFile(config.credentialsPath, '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 dependency Excluded from app score #3c5142835fd76b7b Filesystem access.
pkgs/npm/@[email protected]/lib/credentials/user-oauth.mjs:20
            raw = await fs.promises.readFile(config.credentialsPath, '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 dependency Excluded from app score #656240aa4f8d3cd9 Filesystem access.
pkgs/npm/@[email protected]/src/core/credentials.ts:154
    configRaw = await fs.promises.readFile(configPath, '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 dependency Excluded from app score #7f7eae4dd5d977dc Filesystem access.
pkgs/npm/@[email protected]/src/core/credentials.ts:258
    raw = await fs.promises.readFile(credentialsPath, '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 dependency Excluded from app score #60f83b470fc98d24 Filesystem access.
pkgs/npm/@[email protected]/src/core/credentials.ts:372
    return (await fs.promises.readFile(filePath, 'utf-8')).trim() || 'default';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #04daa48ffc982f18 Filesystem access.
pkgs/npm/@[email protected]/src/lib/credentials/credential-chain.ts:250
      const raw = await fs.promises.readFile(credentialsPath, '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 dependency Excluded from app score #4823aa10830c8e02 Filesystem access.
pkgs/npm/@[email protected]/src/lib/credentials/identity-token.ts:17
      content = await fs.promises.readFile(path, '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 dependency Excluded from app score #6fea20ed1dc05005 Filesystem access.
pkgs/npm/@[email protected]/src/lib/credentials/types.ts:222
      await fh.writeFile(JSON.stringify(data, null, 2));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a95bd0a94a09d2f7 Filesystem access.
pkgs/npm/@[email protected]/src/lib/credentials/user-oauth.ts:45
      raw = await fs.promises.readFile(config.credentialsPath, '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 tooling Excluded from app score unknown #224dbc51068cb429 Filesystem access.
pkgs/npm/@[email protected]/src/tools/agent-toolset/fs-util.ts:112
    await handle.writeFile(content, '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 tooling Excluded from app score unknown #5254282fd68c9835 Filesystem access.
pkgs/npm/@[email protected]/src/tools/agent-toolset/node.ts:457
        data = await fs.readFile(abs, 'utf8');

Reads environment variables or the filesystem — an inventory-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 #afe9be1db1cfd1ab Filesystem access.
pkgs/npm/@[email protected]/src/tools/agent-toolset/node.ts:533
        data = await fs.readFile(abs, 'utf8');

Reads environment variables or the filesystem — an inventory-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 #fffc5bc895e8f8a0 Environment-variable access.
pkgs/npm/@[email protected]/src/tools/agent-toolset/node.ts:806
  const dirs = (process.env['PATH'] ?? '').split(path.delimiter);

Reads environment variables or the filesystem — an inventory-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 #740ff4851de0f780 Filesystem access.
pkgs/npm/@[email protected]/src/tools/memory/node.ts:4
import * as fs from 'fs/promises';

Reads environment variables or the filesystem — an inventory-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 #23ed7f13bceffb86 Filesystem access.
pkgs/npm/@[email protected]/src/tools/memory/node.ts:52
    await handle.writeFile(content, '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 tooling Excluded from app score unknown #bca3bc6cd3d9c4c9 Filesystem access.
pkgs/npm/@[email protected]/src/tools/memory/node.ts:101
    return await fs.readFile(fullPath, '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 tooling Excluded from app score unknown #2e77e309374538ce Filesystem access.
pkgs/npm/@[email protected]/src/tools/memory/node.ts:256
      await handle.writeFile(command.file_text, '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 tooling Excluded from app score unknown #900f6607e15419d9 Filesystem access.
pkgs/npm/@[email protected]/tools/agent-toolset/fs-util.js:115
        await handle.writeFile(content, '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 tooling Excluded from app score unknown #a1cec9335fed54ba Filesystem access.
pkgs/npm/@[email protected]/tools/agent-toolset/fs-util.mjs:107
        await handle.writeFile(content, '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 tooling Excluded from app score unknown #e9f50d5a814911b3 Filesystem access.
pkgs/npm/@[email protected]/tools/agent-toolset/node.js:390
                data = await fs.readFile(abs, 'utf8');

Reads environment variables or the filesystem — an inventory-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 #08ebd7543afbaf21 Filesystem access.
pkgs/npm/@[email protected]/tools/agent-toolset/node.js:469
                data = await fs.readFile(abs, 'utf8');

Reads environment variables or the filesystem — an inventory-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 #5f8f6770ade91293 Environment-variable access.
pkgs/npm/@[email protected]/tools/agent-toolset/node.js:755
    const dirs = (process.env['PATH'] ?? '').split(path.delimiter);

Reads environment variables or the filesystem — an inventory-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 #371790c524c10164 Filesystem access.
pkgs/npm/@[email protected]/tools/agent-toolset/node.mjs:375
                data = await fs.readFile(abs, 'utf8');

Reads environment variables or the filesystem — an inventory-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 #617beb2888672a99 Filesystem access.
pkgs/npm/@[email protected]/tools/agent-toolset/node.mjs:454
                data = await fs.readFile(abs, 'utf8');

Reads environment variables or the filesystem — an inventory-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 #bfd0310477174801 Environment-variable access.
pkgs/npm/@[email protected]/tools/agent-toolset/node.mjs:740
    const dirs = (process.env['PATH'] ?? '').split(path.delimiter);

Reads environment variables or the filesystem — an inventory-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 #184ee6cb892993a3 Filesystem access.
pkgs/npm/@[email protected]/tools/memory/node.js:43
        await handle.writeFile(content, '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 tooling Excluded from app score unknown #b5645e088918e92f Filesystem access.
pkgs/npm/@[email protected]/tools/memory/node.js:91
        return await fs.readFile(fullPath, '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 tooling Excluded from app score unknown #ed328a85a70d8521 Filesystem access.
pkgs/npm/@[email protected]/tools/memory/node.js:213
            await handle.writeFile(command.file_text, '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 tooling Excluded from app score unknown #b659673ef96b008d Filesystem access.
pkgs/npm/@[email protected]/tools/memory/node.mjs:2
import * as fs from 'fs/promises';

Reads environment variables or the filesystem — an inventory-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 #22a4ba897f33615a Filesystem access.
pkgs/npm/@[email protected]/tools/memory/node.mjs:38
        await handle.writeFile(content, '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 tooling Excluded from app score unknown #368f3204755e1320 Filesystem access.
pkgs/npm/@[email protected]/tools/memory/node.mjs:86
        return await fs.readFile(fullPath, '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 tooling Excluded from app score unknown #d7c6650fe4f96f53 Filesystem access.
pkgs/npm/@[email protected]/tools/memory/node.mjs:208
            await handle.writeFile(command.file_text, '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.

@aws-sdk/credential-providers

npm dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #5fe05883e29328ef Environment-variable access.
pkgs/npm/@[email protected]/dist-cjs/index.js:242
    return fromTemporaryCredentials$1(options, fromNodeProviderChain, async ({ profile = process.env.AWS_PROFILE }) => loadConfig({

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a23732d4a4d74cc5 Environment-variable access.
pkgs/npm/@[email protected]/dist-es/fromTemporaryCredentials.js:5
    return fromTemporaryCredentialsBase(options, fromNodeProviderChain, async ({ profile = process.env.AWS_PROFILE }) => loadConfig({

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

@docusaurus/core

npm dependency
expand_more 56 low-confidence finding(s)
low env_fs dependency Excluded from app score #838d5cf5e9ba58ae Environment-variable access.
pkgs/npm/@[email protected]/bin/docusaurus.mjs:20
process.env.BABEL_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 dependency Excluded from app score #f6cbc659627e5c34 Environment-variable access.
pkgs/npm/@[email protected]/bin/docusaurus.mjs:21
process.env.NODE_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 dependency Excluded from app score #861addefa1d17e22 Environment-variable access.
pkgs/npm/@[email protected]/lib/client/clientEntry.js:19
const hydrate = Boolean(process.env.HYDRATE_CLIENT_ENTRY);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #690f1e04a6983711 Environment-variable access.
pkgs/npm/@[email protected]/lib/client/exports/BrowserOnly.js:15
            process.env.NODE_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 dependency Excluded from app score #1ed32c334132d3e6 Environment-variable access.
pkgs/npm/@[email protected]/lib/client/exports/Link.js:131
    const testOnlyProps = process.env.NODE_ENV === 'test'

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ccbd4d5f24b04043 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/cli.js:45
const DEFAULT_SITE_DIR = process.env.DOCUSAURUS_CLI_SITE_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 #571a9a25be493444 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/cli.js:48
const DEFAULT_CONFIG = process.env.DOCUSAURUS_CLI_CONFIG ?? undefined;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #73c12ffe3ed05646 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:21
    const gitPass = process.env.GIT_PASS;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bbefa20e02f97864 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:24
const debugMode = !!process.env.DOCUSAURUS_DEPLOY_DEBUG;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #86db4e795c8d7f28 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:83
    const sourceBranch = process.env.CURRENT_BRANCH ??

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8492e50d0926f87d Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:90
    const gitUser = process.env.GIT_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 dependency Excluded from app score #534424561c7f9e81 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:91
    let useSSH = process.env.USE_SSH !== undefined &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #22dd452cd8aaff8d Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:92
        process.env.USE_SSH.toLowerCase() === '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.

low env_fs dependency Excluded from app score #90cd2948f7d960a3 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:95
        if (process.env.USE_SSH === undefined && (0, utils_1.hasSSHProtocol)(sourceRepoUrl)) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #92a9f81d68707759 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:102
    const organizationName = process.env.ORGANIZATION_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 #3f39f1818f732122 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:103
        process.env.CIRCLE_PROJECT_USERNAME ??

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #741ffa2e52bd7605 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:109
    const projectName = process.env.PROJECT_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 #938a56f1e2d70a43 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:110
        process.env.CIRCLE_PROJECT_REPONAME ??

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5cd92993b81f77b2 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:117
    const isPullRequest = process.env.CI_PULL_REQUEST ?? process.env.CIRCLE_PULL_REQUEST;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #da99e8ae635cc864 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:132
        !process.env.DEPLOYMENT_BRANCH &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2944dc98de2b2b00 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:138
    const deploymentBranch = process.env.DEPLOYMENT_BRANCH ?? siteConfig.deploymentBranch ?? 'gh-pages';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2cb5ab94e69ff61d Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:140
    const githubHost = process.env.GITHUB_HOST ?? siteConfig.githubHost ?? 'github.com';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e4299c14796dd696 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:141
    const githubPort = process.env.GITHUB_PORT ?? siteConfig.githubPort;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #72375ed4738838fb Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:147
        const gitPass = process.env.GIT_PASS;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ab0b66487b69c52f Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:188
        const gitUserName = process.env.GIT_USER_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 #15e41ec6b9cdae21 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:192
        const gitUserEmail = process.env.GIT_USER_EMAIL;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d0bb567c01f55d00 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/deploy.js:198
        const commitMessage = process.env.CUSTOM_COMMIT_MESSAGE ??

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #af3e766461c15e0d Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/serve.js:88
    if (cliOptions.open && !process.env.CI) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #516a7eac922fb478 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/start/start.js:21
    process.env.DOCUSAURUS_CURRENT_LOCALE = cliOptions.locale;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d4b53f5e73d9975a Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/start/utils.js:36
    const protocol = process.env.HTTPS === 'true' ? 'https' : 'http';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #729560142e3eb6d7 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/start/webpack.js:31
        if (process.env.E2E_TEST) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1ba855daeb864291 Filesystem access.
pkgs/npm/@[email protected]/lib/commands/swizzle/actions.js:59
            const fileContents = await fs_extra_1.default.readFile(sourceFile, '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 dependency Excluded from app score #98a8981471fdface Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/utils/openBrowser/openBrowser.js:23
const BrowserEnv = process.env.DOCUSAURUS_BROWSER;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #eef1f3da60dddb27 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/utils/openBrowser/openBrowser.js:24
const BrowserEnvArgs = process.env.DOCUSAURUS_BROWSER_ARGS

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1b2e7296ad0513e0 Environment-variable access.
pkgs/npm/@[email protected]/lib/commands/utils/openBrowser/openBrowser.js:25
    ? process.env.DOCUSAURUS_BROWSER_ARGS.split(' ')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7dd5c9896825d12f Filesystem access.
pkgs/npm/@[email protected]/lib/commands/writeHeadingIds.js:29
    const content = await fs_extra_1.default.readFile(filepath, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #15cccd2c10858b56 Filesystem access.
pkgs/npm/@[email protected]/lib/commands/writeHeadingIds.js:36
        await fs_extra_1.default.writeFile(filepath, updatedContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0aa8c43e5fca41bb Environment-variable access.
pkgs/npm/@[email protected]/lib/server/codegen/codegenRoutes.js:35
function genChunkName(modulePath, prefix, preferredName, shortId = process.env.NODE_ENV === '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 dependency Excluded from app score #9a2ed1b8a849a219 Environment-variable access.
pkgs/npm/@[email protected]/lib/ssg/ssgEnv.js:13
exports.SSGConcurrency = process.env.DOCUSAURUS_SSR_CONCURRENCY

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #37ec6412a23abf44 Environment-variable access.
pkgs/npm/@[email protected]/lib/ssg/ssgEnv.js:14
    ? parseInt(process.env.DOCUSAURUS_SSR_CONCURRENCY, 10)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #72859e9f371955d4 Environment-variable access.
pkgs/npm/@[email protected]/lib/ssg/ssgEnv.js:21
exports.SSGWorkerThreadCount = process.env
    .DOCUSAURUS_SSG_WORKER_THREAD_COUNT

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #883c6d9d682bd0c6 Environment-variable access.
pkgs/npm/@[email protected]/lib/ssg/ssgEnv.js:23
    ? parseInt(process.env.DOCUSAURUS_SSG_WORKER_THREAD_COUNT, 10)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e463e656d0ef76cd Environment-variable access.
pkgs/npm/@[email protected]/lib/ssg/ssgEnv.js:26
exports.SSGWorkerThreadTaskSize = process.env
    .DOCUSAURUS_SSG_WORKER_THREAD_TASK_SIZE

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3f74e28ac3de7bc4 Environment-variable access.
pkgs/npm/@[email protected]/lib/ssg/ssgEnv.js:28
    ? parseInt(process.env.DOCUSAURUS_SSG_WORKER_THREAD_TASK_SIZE, 10)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b8e51ef53ff7b6dc Environment-variable access.
pkgs/npm/@[email protected]/lib/ssg/ssgEnv.js:33
exports.SSGWorkerThreadRecyclerMaxMemory = process.env
    .DOCUSAURUS_SSG_WORKER_THREAD_RECYCLER_MAX_MEMORY

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1e39d6ae3532ceb2 Environment-variable access.
pkgs/npm/@[email protected]/lib/ssg/ssgEnv.js:35
    ? parseInt(process.env.DOCUSAURUS_SSG_WORKER_THREAD_RECYCLER_MAX_MEMORY, 10)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bed007c3c0130b95 Environment-variable access.
pkgs/npm/@[email protected]/lib/ssg/ssgGlobalResult.js:17
    if (process.env.DOCUSAURUS_IGNORE_SSG_WARNINGS === '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.

low env_fs dependency Excluded from app score #dc4e5bfb4563cc6d Filesystem access.
pkgs/npm/@[email protected]/lib/ssg/ssgRenderer.js:24
    const source = await logger_1.PerfLogger.async(`Load server bundle`, () => fs_extra_1.default.readFile(serverBundlePath));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ac26306e4d52539c Filesystem access.
pkgs/npm/@[email protected]/lib/ssg/ssgUtils.js:48
    await fs_extra_1.default.writeFile(filePath, content);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #136ca3e62880c428 Environment-variable access.
pkgs/npm/@[email protected]/lib/webpack/base.js:25
    if (process.env.DOCUSAURUS_NO_REACT_ALIASES) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #53d360f865cb116b Environment-variable access.
pkgs/npm/@[email protected]/lib/webpack/base.js:47
    const isProd = process.env.NODE_ENV === '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 dependency Excluded from app score #d61e09fe56925631 Environment-variable access.
pkgs/npm/@[email protected]/lib/webpack/base.js:85
        if (process.env.DOCUSAURUS_NO_PERSISTENT_CACHE) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2f11d63828ce4655 Environment-variable access.
pkgs/npm/@[email protected]/lib/webpack/base.js:111
            if (!process.env.DOCUSAURUS_NO_PERSISTENT_CACHE) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a6337011f46a76b7 Environment-variable access.
pkgs/npm/@[email protected]/lib/webpack/base.js:274
            process.env.DOCUSAURUS_BUNDLER_CPU_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 dependency Excluded from app score #1df6226d0ce23a69 Filesystem access.
pkgs/npm/@[email protected]/lib/webpack/plugins/BundlerCPUProfilerPlugin.js:36
                fs_extra_1.default.writeFile(this.output, JSON.stringify(param.profile)).catch(console.error);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #db567794c7d99404 Filesystem access.
pkgs/npm/@[email protected]/lib/webpack/utils/getHttpsConfig.js:41
    return fs_extra_1.default.readFile(file);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

@docusaurus/plugin-content-docs

npm dependency
expand_more 10 low-confidence finding(s)
low env_fs dependency Excluded from app score #b6f8269d77f882e5 Filesystem access.
pkgs/npm/@[email protected]/lib/docs.js:29
    const content = await fs_extra_1.default.readFile(filePath, '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 dependency Excluded from app score #9e7f1064bf4a53a3 Environment-variable access.
pkgs/npm/@[email protected]/lib/index.js:34
    if (process.env.NODE_ENV === 'test') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #88d0bc1629ad895a Filesystem access.
pkgs/npm/@[email protected]/lib/index.js:44
    await fs_extra_1.default.writeFile(filePath, JSON.stringify(fileContent));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #869b1c97606fd718 Environment-variable access.
pkgs/npm/@[email protected]/lib/index.js:60
    const env = process.env.NODE_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 #0df4e0f0b602af31 Filesystem access.
pkgs/npm/@[email protected]/lib/sidebars/index.js:50
        const content = await fs_extra_1.default.readFile(path_1.default.join(contentPath, filePath), '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 dependency Excluded from app score #42fe2fafef3c7c64 Filesystem access.
pkgs/npm/@[email protected]/src/docs.ts:58
  const content = await fs.readFile(filePath, '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 dependency Excluded from app score #55f9d027e488a9ab Environment-variable access.
pkgs/npm/@[email protected]/src/index.ts:67
  if (process.env.NODE_ENV === 'test') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3f3ef732cdad2486 Filesystem access.
pkgs/npm/@[email protected]/src/index.ts:78
  await fs.writeFile(filePath, JSON.stringify(fileContent));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5896bc9c60557b6b Environment-variable access.
pkgs/npm/@[email protected]/src/index.ts:106
  const env = process.env.NODE_ENV as DocEnv;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bc56b06b6629dfd8 Filesystem access.
pkgs/npm/@[email protected]/src/sidebars/index.ts:56
      const content = await fs.readFile(
        path.join(contentPath, filePath),
        '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.

@docusaurus/preset-classic

npm dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #9e90d1f19af0116d Environment-variable access.
pkgs/npm/@[email protected]/lib/index.js:20
    const isProd = process.env.NODE_ENV === '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 dependency Excluded from app score #e55e3710649e0005 Environment-variable access.
pkgs/npm/@[email protected]/src/index.ts:33
  const isProd = process.env.NODE_ENV === '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.

@docusaurus/theme-common

npm dependency
expand_more 6 low-confidence finding(s)
low env_fs dependency Excluded from app score #7b4cdfb1fba404aa Environment-variable access.
pkgs/npm/@[email protected]/lib/contexts/colorMode.js:151
            if (process.env.NODE_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 dependency Excluded from app score #370fe2e37447c94d Environment-variable access.
pkgs/npm/@[email protected]/lib/contexts/colorMode.js:157
            if (process.env.NODE_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 dependency Excluded from app score #084de9e8215f94d3 Environment-variable access.
pkgs/npm/@[email protected]/lib/contexts/colorMode.js:163
            if (process.env.NODE_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 dependency Excluded from app score #d68e95af21096646 Environment-variable access.
pkgs/npm/@[email protected]/src/contexts/colorMode.tsx:241
        if (process.env.NODE_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 dependency Excluded from app score #bb0ee532dc273439 Environment-variable access.
pkgs/npm/@[email protected]/src/contexts/colorMode.tsx:249
        if (process.env.NODE_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 dependency Excluded from app score #066816b3b25ed581 Environment-variable access.
pkgs/npm/@[email protected]/src/contexts/colorMode.tsx:257
        if (process.env.NODE_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.

@easyops-cn/autocomplete.js

npm dependency
expand_more 4 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #a7f358deb517beab Environment-variable access.
pkgs/npm/@[email protected]/scripts/netlify-deploy.js:8
const client = new NetlifyAPI(process.env.NETLIFY_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 #42e4f54a14dfe0a5 Environment-variable access.
pkgs/npm/@[email protected]/scripts/netlify-deploy.js:14
if (!process.env.NETLIFY_API_KEY || !process.env.NETLIFY_SITE_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 tooling Excluded from app score unknown #d92e038b8b59999f Environment-variable access.
pkgs/npm/@[email protected]/scripts/netlify-deploy.js:60
    client.deploy(process.env.NETLIFY_SITE_ID, 'netlify-dist', {

Reads environment variables or the filesystem — an inventory-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 #6dc8a9d4ef4bee9e Environment-variable access.
pkgs/npm/@[email protected]/scripts/netlify-deploy.js:62
      message: process.env.TRAVIS_COMMIT_MESSAGE || ''

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

@mistralai/mistralai

npm dependency
expand_more 41 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #f0e15345448ce874 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_audio_transcription_diarize.ts:3
const apiKey = process.env["MISTRAL_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 #201e726c6d78695c Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_audio_transcription_stream.ts:3
const apiKey = process.env["MISTRAL_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 #6a87cf9a3696c717 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_batch_jobs.ts:3
const apiKey = process.env["MISTRAL_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 #649beadf54b1abfb Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_chat_no_streaming.ts:3
const apiKey = process.env["MISTRAL_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 #f41a709b122b6ff4 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_chat_prediction.ts:3
const apiKey = process.env["MISTRAL_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 #5564870c0e5a2a7e Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_chat_streaming.ts:3
const apiKey = process.env["MISTRAL_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 #21975a80edd2b974 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_chat_with_image_no_streaming.ts:3
const apiKey = process.env["MISTRAL_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 #edd64a1b50b92d2d Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_conversation_agent.ts:3
const apiKey = process.env["MISTRAL_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 #79d52d8a4829a19e Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_embeddings.ts:3
const apiKey = process.env["MISTRAL_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 #b32b58b3c6a488c1 Filesystem access.
pkgs/npm/@[email protected]/examples/src/async_files.ts:1
import * as fs from "fs";

Reads environment variables or the filesystem — an inventory-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 #fbfbdaf5ac2c9f86 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_files.ts:6
const apiKey = process.env["MISTRAL_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 #744e966916cb3b03 Filesystem access.
pkgs/npm/@[email protected]/examples/src/async_files.ts:19
const blob = new Blob([fs.readFileSync(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 #18a7827ef5f04557 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_function_calling.ts:4
const apiKey = process.env["MISTRAL_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 #d59740fe794d7d8b Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_function_calling_streaming.ts:3
const apiKey = process.env["MISTRAL_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 #33209c65c3e75599 Filesystem access.
pkgs/npm/@[email protected]/examples/src/async_jobs.ts:1
import * as fs from "fs";

Reads environment variables or the filesystem — an inventory-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 #f4a74ffeefa6d4ce Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_jobs.ts:6
const apiKey = process.env["MISTRAL_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 #86bfa0ccb5589500 Filesystem access.
pkgs/npm/@[email protected]/examples/src/async_jobs.ts:19
const blob = new Blob([fs.readFileSync(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 #c7d484e33f21c023 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_json_format.ts:3
const apiKey = process.env["MISTRAL_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 #1e36241b4493bc07 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_list_models.ts:3
const apiKey = process.env["MISTRAL_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 #30728514246f3ce9 Filesystem access.
pkgs/npm/@[email protected]/examples/src/async_ocr_process_from_file.ts:2
import fs from "fs";

Reads environment variables or the filesystem — an inventory-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 #5a46bbdb48e1ebf2 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_ocr_process_from_file.ts:6
const apiKey = process.env.MISTRAL_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 #dbe221e8cc40b7e5 Filesystem access.
pkgs/npm/@[email protected]/examples/src/async_ocr_process_from_file.ts:16
const uploaded_file = fs.readFileSync(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 #d5d9fbb17a5928e4 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_ocr_process_from_url.ts:3
const apiKey = process.env.MISTRAL_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 #c03982ec78bb1206 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/async_structured_outputs.ts:4
const apiKey = process.env["MISTRAL_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 #e72e1c8a406479f0 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/azure/async_chat_no_streaming.ts:3
const azureAPIKey = process.env["AZURE_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 #0c2fe04f7d51686c Environment-variable access.
pkgs/npm/@[email protected]/examples/src/azure/async_chat_no_streaming.ts:8
const azureEndpoint = process.env["AZURE_ENDPOINT"];

Reads environment variables or the filesystem — an inventory-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 #ffceb6bd3943c259 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/error_handling.ts:4
const apiKey = process.env["MISTRAL_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 #2d8afe79481ba06b Environment-variable access.
pkgs/npm/@[email protected]/examples/src/gcp/async_chat_no_streaming.ts:3
const projectId = process.env["GOOGLE_PROJECT_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 tooling Excluded from app score unknown #475cb515ad4a84a8 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/prompt_lifecycle.ts:3
const apiKey = process.env["MISTRAL_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 #a050bfbd6ba60858 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/realtime_microphone.ts:38
      default: process.env["MISTRAL_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 #7217144090dcff72 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/realtime_microphone.ts:43
      default: process.env["MISTRAL_BASE_URL"] ?? "wss://api.mistral.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 tooling Excluded from app score unknown #31ef161354c71a38 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/realtime_microphone.ts:107
  const apiKey = args.apiKey ?? process.env["MISTRAL_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 #0e3ffed0381d4ae0 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/realtime_transcription.ts:46
      default: process.env["MISTRAL_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 #ffb5de390885b0f2 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/realtime_transcription.ts:51
      default: process.env["MISTRAL_BASE_URL"] ?? "https://api.mistral.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 tooling Excluded from app score unknown #633dfc561791ff4a Environment-variable access.
pkgs/npm/@[email protected]/examples/src/realtime_transcription.ts:162
  const apiKey = args.apiKey ?? process.env["MISTRAL_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 #f774377c79c5cd60 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/reasoning.ts:3
const apiKey = process.env["MISTRAL_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 #9efb88cf4faef730 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/reasoning_multi_turn.ts:14
const apiKey = process.env["MISTRAL_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 #a517142b848f8f4b Environment-variable access.
pkgs/npm/@[email protected]/examples/src/reasoning_response_shape.ts:7
const apiKey = process.env["MISTRAL_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 #5775e6f6cb1cc9bb Environment-variable access.
pkgs/npm/@[email protected]/examples/src/reasoning_with_streaming.ts:3
const apiKey = process.env["MISTRAL_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 #bc46178578ef1fa0 Environment-variable access.
pkgs/npm/@[email protected]/examples/src/skill_lifecycle.ts:3
const apiKey = process.env["MISTRAL_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 #91a504dfcfd4de53 Environment-variable access.
pkgs/npm/@[email protected]/packages/mistralai-azure/examples/chatComplete.example.ts:18
  apiKey: process.env["MISTRAL_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.

@tanstack/react-query

npm dependency
expand_more 5 low-confidence finding(s)
low env_fs dependency Excluded from app score #3b8835db93928bab Environment-variable access.
pkgs/npm/@[email protected]/src/useBaseQuery.ts:44
  if (process.env.NODE_ENV !== '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 dependency Excluded from app score #a4007ab6e4ca425a Environment-variable access.
pkgs/npm/@[email protected]/src/useBaseQuery.ts:69
  if (process.env.NODE_ENV !== '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 dependency Excluded from app score #99721b65a141b412 Environment-variable access.
pkgs/npm/@[email protected]/src/useSuspenseInfiniteQuery.ts:34
  if (process.env.NODE_ENV !== '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 dependency Excluded from app score #5a2fd22c6eb95d98 Environment-variable access.
pkgs/npm/@[email protected]/src/useSuspenseQueries.ts:194
        if (process.env.NODE_ENV !== '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 dependency Excluded from app score #c3a51e27d2e1d77b Environment-variable access.
pkgs/npm/@[email protected]/src/useSuspenseQuery.ts:17
  if (process.env.NODE_ENV !== '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.

@vscode/codicons

npm dependency
expand_more 20 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #a4445d3a5a86d073 Filesystem access.
pkgs/npm/@[email protected]/scripts/check-metadata.js:8
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-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 #0073e05dc3aaed22 Filesystem access.
pkgs/npm/@[email protected]/scripts/check-metadata.js:25
const mapping = JSON.parse(fs.readFileSync(mappingPath, 'utf8'));

Reads environment variables or the filesystem — an inventory-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 #7ba50e72347a4792 Filesystem access.
pkgs/npm/@[email protected]/scripts/check-metadata.js:26
const metadata = JSON.parse(fs.readFileSync(metadataPath, 'utf8'));

Reads environment variables or the filesystem — an inventory-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 #45966585465004c3 Filesystem access.
pkgs/npm/@[email protected]/scripts/embed-metadata.js:1
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-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 #b9368d4f4ebe3742 Filesystem access.
pkgs/npm/@[email protected]/scripts/embed-metadata.js:12
const metadata = fs.readFileSync(metadataPath, 'utf8');

Reads environment variables or the filesystem — an inventory-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 #2078403dedb9193e Filesystem access.
pkgs/npm/@[email protected]/scripts/embed-metadata.js:13
let html = fs.readFileSync(htmlPath, 'utf8');

Reads environment variables or the filesystem — an inventory-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 #09a395f137f55e81 Filesystem access.
pkgs/npm/@[email protected]/scripts/embed-metadata.js:21
    fs.writeFileSync(htmlPath, html);

Reads environment variables or the filesystem — an inventory-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 #bc84cd80a9531908 Filesystem access.
pkgs/npm/@[email protected]/scripts/embed-svg-data.js:1
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-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 #b1d6b2f189c229c7 Filesystem access.
pkgs/npm/@[email protected]/scripts/embed-svg-data.js:18
    const content = fs.readFileSync(path.join(iconsDir, file), 'utf8');

Reads environment variables or the filesystem — an inventory-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 #a31ca756d5879d3b Filesystem access.
pkgs/npm/@[email protected]/scripts/embed-svg-data.js:22
let html = fs.readFileSync(htmlPath, 'utf8');

Reads environment variables or the filesystem — an inventory-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 #d75031fe2764fd93 Filesystem access.
pkgs/npm/@[email protected]/scripts/embed-svg-data.js:27
    fs.writeFileSync(htmlPath, html);

Reads environment variables or the filesystem — an inventory-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 #4c83d7f3c29b3909 Filesystem access.
pkgs/npm/@[email protected]/scripts/export-to-ts.js:1
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-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 #799046bbc7f0c454 Filesystem access.
pkgs/npm/@[email protected]/scripts/export-to-ts.js:10
fs.readFile(opts.f, 'utf8', (err, data) => {
    if (err) {
        console.error('Error reading file:', err);
        return;
    }

    try {
        const mapping = JSON.parse(data);

        console.log("/*---------------------------------------------------------------------------------------------");
        console.log(" *  Copyright (c) Microsoft Corporation. All rights reserved.");
        console.log(" *  Licensed under the MIT License. See License.txt in the project root for license information.");
        console.log(" *--------------------------------------------------------------------------------------------*/");
        console.log("import { register } from './codiconsUtil.js';");
        console.log("");
        console.log("");
        console.log("// This file is automatically generated by (microsoft/vscode-codicons)/scripts/export-to-ts.js");
        console.log("// Please don't edit it, as your changes will be overwritten.");
        console.log("// Instead, add mappings to codiconsDerived in codicons.ts.");
        console.log("export const codiconsLibrary = {");

        // New format: mapping is { "code": ["alias1", "alias2", ...] }
        Object.entries(mapping).forEach(([code, aliases]) => {
            const codeValue = parseInt(code);
            const hexValue = decimalToHex(codeValue);
            
            // Register each alias with the same code
            aliases.forEach((name) => {
                console.log(`\t${toCamelCase(name)}: register('${name}', ${hexValue}),`);
            });
        });

        console.log("} as const;");

    } catch (error) {
        console.error('Error parsing JSON:', error);
    }
});

Reads environment variables or the filesystem — an inventory-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 #239e11c361df4a18 Filesystem access.
pkgs/npm/@[email protected]/scripts/reset.js:1
const fs = require("fs");

Reads environment variables or the filesystem — an inventory-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 #5a834ff9458f6f49 Filesystem access.
pkgs/npm/@[email protected]/scripts/svg-sprite.js:3
const fs = require("fs");

Reads environment variables or the filesystem — an inventory-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 #ce3f09efa6a74702 Filesystem access.
pkgs/npm/@[email protected]/scripts/svg-sprite.js:90
        fs.readFileSync(file, "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 tooling Excluded from app score unknown #a4320f07f202c67b Filesystem access.
pkgs/npm/@[email protected]/scripts/svg-sprite.js:118
    fs.writeFileSync(result.symbol.sprite.path, result.symbol.sprite.contents);

Reads environment variables or the filesystem — an inventory-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 #b610db63df41b058 Filesystem access.
pkgs/npm/@[email protected]/scripts/version-bump.js:3
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-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 #1fefc1fc4e5b4f87 Filesystem access.
pkgs/npm/@[email protected]/scripts/version-bump.js:13
  const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));

Reads environment variables or the filesystem — an inventory-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 #e9570b6c6b527730 Filesystem access.
pkgs/npm/@[email protected]/scripts/version-bump.js:84
  fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2) + '\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.

@vscode/ripgrep

npm dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #b2e2b2e159e9c780 Environment-variable access.
pkgs/npm/@[email protected]/lib/index.js:5
const arch = process.env.npm_config_arch || process.arch;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

ansi-to-html

npm dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #c5dd556b0763e40f Filesystem access.
pkgs/npm/[email protected]/lib/cli.js:69
  var stream = require('fs').createReadStream(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.

chokidar

npm dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #477154fbd5c7345b Environment-variable access.
pkgs/npm/[email protected]/index.js:284
        const envPoll = process.env.CHOKIDAR_USEPOLLING;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #782edd5da636b909 Environment-variable access.
pkgs/npm/[email protected]/index.js:294
        const envInterval = process.env.CHOKIDAR_INTERVAL;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

commander

npm dependency
expand_more 5 low-confidence finding(s)
low env_fs dependency Excluded from app score #7c477520ce3db978 Environment-variable access.
pkgs/npm/[email protected]/lib/command.js:1992
            this.emit(`optionEnv:${option.name()}`, process.env[option.envVar]);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e8867c7ac05c2392 Environment-variable access.
pkgs/npm/[email protected]/lib/command.js:2782
    process.env.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.

low env_fs dependency Excluded from app score #25a24fea8a3db0ba Environment-variable access.
pkgs/npm/[email protected]/lib/command.js:2783
    process.env.FORCE_COLOR === '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 #7a76adc68decfeb9 Environment-variable access.
pkgs/npm/[email protected]/lib/command.js:2784
    process.env.FORCE_COLOR === 'false'

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #15901073a22c518a Environment-variable access.
pkgs/npm/[email protected]/lib/command.js:2787
  if (process.env.FORCE_COLOR || process.env.CLICOLOR_FORCE !== undefined)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

cross-spawn

npm dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #7f01a59a48015e8f Environment-variable access.
pkgs/npm/[email protected]/lib/parse.js:58
        parsed.command = process.env.comspec || 'cmd.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 #c1bec04b48559fc3 Filesystem access.
pkgs/npm/[email protected]/lib/util/readShebang.js:3
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

exceljs

npm dependency
expand_more 6 low-confidence finding(s)
low env_fs dependency Excluded from app score #1115960bcaa6a622 Filesystem access.
pkgs/npm/[email protected]/lib/csv/csv.js:1
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #148606992b70d1f1 Filesystem access.
pkgs/npm/[email protected]/lib/stream/xlsx/workbook-reader.js:1
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #762199653fca9583 Filesystem access.
pkgs/npm/[email protected]/lib/stream/xlsx/workbook-writer.js:1
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #81629a04c2be709a Filesystem access.
pkgs/npm/[email protected]/lib/utils/utils.js:1
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f3fba8cec00d9aaa Filesystem access.
pkgs/npm/[email protected]/lib/xlsx/xlsx.js:1
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a3394e33cbf345f3 Filesystem access.
pkgs/npm/[email protected]/lib/xlsx/xlsx.js:29
    fs.readFile(filename, options, (error, data) => {
      if (error) {
        reject(error);
      } else {
        resolve(data);
      }
    });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

fast-xml-parser

npm dependency
expand_more 6 low-confidence finding(s)
low env_fs dependency Excluded from app score #1f60521d1c5b144d Filesystem access.
pkgs/npm/[email protected]/src/cli/cli.js:4
import fs from 'fs';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ddb4d6d72fdf4a99 Filesystem access.
pkgs/npm/[email protected]/src/cli/cli.js:18
  const version = JSON.parse(fs.readFileSync(packageJsonPath).toString()).version;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #91db95d1c2b8b0e2 Filesystem access.
pkgs/npm/[email protected]/src/cli/cli.js:78
      fs.readFile(fileName, function(err, data) {
        if (err) {
          throw err;
        }
        callback(data.toString());
      });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f2cf3d537a00bb56 Filesystem access.
pkgs/npm/[email protected]/src/cli/cli.js:91
  fs.writeFile(fileName, data, function(err) {
    if (err) {
      throw err;
    }
    console.log('JSON output has been written to ' + 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 #ce8c357a0c3d9625 Filesystem access.
pkgs/npm/[email protected]/src/cli/man.js:1
import fs from 'fs';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d3794d547667f045 Filesystem access.
pkgs/npm/[email protected]/src/cli/man.js:4
const version = JSON.parse(fs.readFileSync(packageJsonPath).toString()).version;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

fastest-levenshtein

npm dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #a04d0fdb0e073afe Filesystem access.
pkgs/npm/[email protected]/bench.js:8
var fs = require("fs");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0de6acd8f47fa5b4 Filesystem access.
pkgs/npm/[email protected]/bench.js:43
    fs.writeFileSync("data.json", JSON.stringify(data_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 #fad6be786d12cbbb Filesystem access.
pkgs/npm/[email protected]/bench.js:45
var data = JSON.parse(fs.readFileSync("data.json", "utf8"));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

gray-matter

npm dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #a21b146a5570a87a Filesystem access.
pkgs/npm/[email protected]/index.js:3
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b0d705739d825cf8 Filesystem access.
pkgs/npm/[email protected]/index.js:179
  const str = fs.readFileSync(filepath, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

katex

npm dependency
expand_more 4 low-confidence finding(s)
low env_fs dependency Excluded from app score #9c8a0aff54031919 Filesystem access.
pkgs/npm/[email protected]/cli.js:21
const fs = require("fs");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5434dd47ca20785f Filesystem access.
pkgs/npm/[email protected]/cli.js:44
        fs.readFile(options.macroFile, "utf-8", function(err, data) {
            if (err) {throw err;}
            splitMacros(data.toString().split('\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 #9d70929b343c1989 Filesystem access.
pkgs/npm/[email protected]/cli.js:75
        fs.readFile(options.input, "utf-8", function(err, data) {
            if (err) {throw err;}
            input = data.toString();
            writeOutput(input);
        });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2e6ada3557028c36 Filesystem access.
pkgs/npm/[email protected]/cli.js:99
        fs.writeFile(outputFile, output, function(err) {
            if (err) {
                return console.log(err);
            }
        });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

mammoth

npm dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #cc25b15830e54168 Filesystem access.
pkgs/npm/[email protected]/lib/docx/files.js:1
var fs = require("fs");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ea862923cbf55d82 Filesystem access.
pkgs/npm/[email protected]/lib/main.js:3
var fs = require("fs");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7407c3dac24d89cc Filesystem access.
pkgs/npm/[email protected]/lib/unzip.js:1
var fs = require("fs");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

monaco-vscode-textmate-theme-converter

npm dependency
expand_more 12 low-confidence finding(s)
low env_fs dependency Excluded from app score #6ade464ffb56741a Filesystem access.
pkgs/npm/[email protected]/lib/cjs/index.js:14
    var themeFile = fs.readFileSync(inputFilePath).toString();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #292e1065f3eb9b1e Filesystem access.
pkgs/npm/[email protected]/lib/cjs/index.js:19
    fs.writeFileSync(outputFilePath, JSON.stringify(convertedTheme, null, 4));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #024e9c6b468253be Filesystem access.
pkgs/npm/[email protected]/lib/cjs/index.js:36
                    return [4 /*yield*/, fs.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 dependency Excluded from app score #8a8ec4aa12abaa87 Filesystem access.
pkgs/npm/[email protected]/lib/cjs/index.js:43
                    return [4 /*yield*/, fs.writeFile(path.join(outDir, fileName), JSON.stringify(out))];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b9315f8281200d77 Filesystem access.
pkgs/npm/[email protected]/lib/umd/index.js:23
        var themeFile = fs.readFileSync(inputFilePath).toString();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3e6494062f89b8e8 Filesystem access.
pkgs/npm/[email protected]/lib/umd/index.js:28
        fs.writeFileSync(outputFilePath, JSON.stringify(convertedTheme, null, 4));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7e7f7359671fa1ac Filesystem access.
pkgs/npm/[email protected]/lib/umd/index.js:45
                        return [4 /*yield*/, fs.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 dependency Excluded from app score #8944e85fa1aef856 Filesystem access.
pkgs/npm/[email protected]/lib/umd/index.js:52
                        return [4 /*yield*/, fs.writeFile(path.join(outDir, fileName), JSON.stringify(out))];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3e70a23eed9fe8e6 Filesystem access.
pkgs/npm/[email protected]/src/index.ts:15
    let themeFile = fs.readFileSync(inputFilePath).toString();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1767e91c4ee21182 Filesystem access.
pkgs/npm/[email protected]/src/index.ts:20
    fs.writeFileSync(outputFilePath, JSON.stringify(convertedTheme, null, 4));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e66115474a24820b Filesystem access.
pkgs/npm/[email protected]/src/index.ts:31
            let themeFile: string = (await fs.readFile(filePath)).toString();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d9b9a0d241896561 Filesystem access.
pkgs/npm/[email protected]/src/index.ts:36
            await fs.writeFile(path.join(outDir, fileName), JSON.stringify(out));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

node-ipc

npm dependency
expand_more 24 low-confidence finding(s)
low env_fs dependency Excluded from app score #6ef90849e9fb2537 Filesystem access.
pkgs/npm/[email protected]/dao/client.js:5
import fs from 'fs';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2a56131b9ae9cb60 Filesystem access.
pkgs/npm/[email protected]/dao/client.js:116
                client.config.tls.key=fs.readFileSync(client.config.tls.private);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #58e1cb89936bd9f1 Filesystem access.
pkgs/npm/[email protected]/dao/client.js:119
                client.config.tls.cert=fs.readFileSync(client.config.tls.public);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #dabcc6b6c8b8aa29 Filesystem access.
pkgs/npm/[email protected]/dao/client.js:128
                        fs.readFileSync(client.config.tls.trustedConnections[i])

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #17644cae4ae57c20 Filesystem access.
pkgs/npm/[email protected]/dao/socketServer.js:4
import fs from 'fs';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3838593d92a4f425 Filesystem access.
pkgs/npm/[email protected]/dao/socketServer.js:345
        this.config.tls.key=fs.readFileSync(this.config.tls.private);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #96fb47385d9f7d5e Filesystem access.
pkgs/npm/[email protected]/dao/socketServer.js:347
        this.config.tls.key=fs.readFileSync(`${__dirname}/../local-node-ipc-certs/private/server.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 #f884657802c73c71 Filesystem access.
pkgs/npm/[email protected]/dao/socketServer.js:350
        this.config.tls.cert=fs.readFileSync(this.config.tls.public);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1733773cccbd247c Filesystem access.
pkgs/npm/[email protected]/dao/socketServer.js:352
        this.config.tls.cert=fs.readFileSync(`${__dirname}/../local-node-ipc-certs/server.pub`);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b0f74a254e83dbee Filesystem access.
pkgs/npm/[email protected]/dao/socketServer.js:355
        this.config.tls.dhparam=fs.readFileSync(this.config.tls.dhparam);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8f14ea21b6139710 Filesystem access.
pkgs/npm/[email protected]/dao/socketServer.js:364
                fs.readFileSync(this.config.tls.trustedConnections[i])

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7cc66e9753085134 Filesystem access.
pkgs/npm/[email protected]/lcov.js:2
import {writeFileSync} from 'fs';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e45a339d0ab951ef Filesystem access.
pkgs/npm/[email protected]/lcov.js:8
        writeFileSync('./coverage/lcov.svg', svgBadge);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cae04d70066124f7 Filesystem access.
pkgs/npm/[email protected]/node-ipc.cjs:265
var import_fs = __toModule(require("fs"));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #dc7809cd07155653 Filesystem access.
pkgs/npm/[email protected]/node-ipc.cjs:702
        client.config.tls.key = import_fs.default.readFileSync(client.config.tls.private);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c72d6c5df1a4a4dd Filesystem access.
pkgs/npm/[email protected]/node-ipc.cjs:705
        client.config.tls.cert = import_fs.default.readFileSync(client.config.tls.public);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b6ca7b3acb97a328 Filesystem access.
pkgs/npm/[email protected]/node-ipc.cjs:713
          client.config.tls.ca.push(import_fs.default.readFileSync(client.config.tls.trustedConnections[i]));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f1b29c2c765abd09 Filesystem access.
pkgs/npm/[email protected]/node-ipc.cjs:786
var import_fs2 = __toModule(require("fs"));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ad6f3e6fdd5e562f Filesystem access.
pkgs/npm/[email protected]/node-ipc.cjs:998
    this.config.tls.key = import_fs2.default.readFileSync(this.config.tls.private);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b67a72c93f9396ab Filesystem access.
pkgs/npm/[email protected]/node-ipc.cjs:1000
    this.config.tls.key = import_fs2.default.readFileSync(`${__dirname}/../local-node-ipc-certs/private/server.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 #463f7bb215496cf8 Filesystem access.
pkgs/npm/[email protected]/node-ipc.cjs:1003
    this.config.tls.cert = import_fs2.default.readFileSync(this.config.tls.public);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2018cf1d9f982cbb Filesystem access.
pkgs/npm/[email protected]/node-ipc.cjs:1005
    this.config.tls.cert = import_fs2.default.readFileSync(`${__dirname}/../local-node-ipc-certs/server.pub`);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9a26806f8da31bad Filesystem access.
pkgs/npm/[email protected]/node-ipc.cjs:1008
    this.config.tls.dhparam = import_fs2.default.readFileSync(this.config.tls.dhparam);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8ace9d9df17e1483 Filesystem access.
pkgs/npm/[email protected]/node-ipc.cjs:1016
      this.config.tls.ca.push(import_fs2.default.readFileSync(this.config.tls.trustedConnections[i]));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

ollama

npm dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #9b28b1eb2537a6fe Filesystem access.
pkgs/npm/[email protected]/src/index.ts:18
        const fileBuffer = await promises.readFile(resolve(image))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

openai

npm dependency
expand_more 9 low-confidence finding(s)
low egress dependency Excluded from app score #fe59d5baf437d2b0 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/auth/subject-token-providers.js:50
            const url = new URL(AZURE_IMDS_BASE_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 egress dependency Excluded from app score #aab5a5a4590b2cd3 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/auth/subject-token-providers.js:97
            const url = new URL(`http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/identity`);

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #2276d840cdaeabaf Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/auth/subject-token-providers.mjs:44
            const url = new URL(AZURE_IMDS_BASE_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 egress dependency Excluded from app score #a331a5542a55963d Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/auth/subject-token-providers.mjs:91
            const url = new URL(`http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/identity`);

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 #83219f2cd054079f Environment-variable access.
pkgs/npm/[email protected]/azure.js:44
                endpoint = process.env['AZURE_OPENAI_ENDPOINT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d6752a61f4cd768c Environment-variable access.
pkgs/npm/[email protected]/azure.mjs:40
                endpoint = process.env['AZURE_OPENAI_ENDPOINT'];

Reads environment variables or the filesystem — 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 #3c57b6caa461b459 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/src/auth/subject-token-providers.ts:81
      const url = new URL(AZURE_IMDS_BASE_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 egress dependency Excluded from app score #6ee2844700d55dd9 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/src/auth/subject-token-providers.ts:145
      const url = new URL(
        `http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/identity`,
      );

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 #ea4d0e48726a6977 Environment-variable access.
pkgs/npm/[email protected]/src/azure.ts:101
        endpoint = process.env['AZURE_OPENAI_ENDPOINT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

os-name

npm dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #bedf9fadd41f1b46 Filesystem access.
pkgs/npm/[email protected]/index.js:8
		const osRelease = fs.readFileSync('/etc/os-release', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

pdf-parse

npm dependency
expand_more 9 low-confidence finding(s)
low env_fs dependency Excluded from app score #838519e156e2c944 Filesystem access.
pkgs/npm/[email protected]/bin/cli.mjs:27
	const pkg = JSON.parse(await readFile(new URL('../package.json', import.meta.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 dependency Excluded from app score #20452bad8ef9f053 Filesystem access.
pkgs/npm/[email protected]/bin/cli.mjs:103
		const data = await 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 dependency Excluded from app score #4d1428bedbd1d3d6 Filesystem access.
pkgs/npm/[email protected]/bin/cli.mjs:156
		await writeFile(options.output, output);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4fa839b4a3910dce Filesystem access.
pkgs/npm/[email protected]/bin/cli.mjs:167
		await writeFile(options.output, output);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c9aaf76ba61fd31c Filesystem access.
pkgs/npm/[email protected]/bin/cli.mjs:179
		await writeFile(options.output, output);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b1f7a26c6c80f73b Filesystem access.
pkgs/npm/[email protected]/bin/cli.mjs:208
				await writeFile(filepath, image.data);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b2fea5e1e04c2dcc Filesystem access.
pkgs/npm/[email protected]/bin/cli.mjs:278
			await writeFile(filepath, page.data);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #77c56fc90106076a Filesystem access.
pkgs/npm/[email protected]/bin/cli.test.mjs:59
	await fs.writeFile(dummyFile, 'dummy content');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6e18ef6fe6641192 Filesystem access.
pkgs/npm/[email protected]/bin/cli.test.mjs:90
	await fs.writeFile(dummyFile, 'dummy content');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

puppeteer-chromium-resolver

npm dependency
expand_more 6 low-confidence finding(s)
low env_fs dependency Excluded from app score #6a2309be645bf73a Filesystem access.
pkgs/npm/[email protected]/lib/detect.js:1
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3efee37b93a74409 Filesystem access.
pkgs/npm/[email protected]/lib/index.js:2
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9e4cc3057add8fe8 Environment-variable access.
pkgs/npm/[email protected]/lib/index.js:18
        const defaultHosts = process.env.PUPPETEER_DEFAULT_HOST || 'https://storage.googleapis.com';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d240d9bd8f376d1d Environment-variable access.
pkgs/npm/[email protected]/lib/index.js:134
    let revision = options.revision || process.env.PUPPETEER_REVISION;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2a2f2e810d24382d Filesystem access.
pkgs/npm/[email protected]/lib/index.js:201
        fs.writeFileSync(statsPath, JSON.stringify(stats, null, 4));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7fafcdab1978fa5a Filesystem access.
pkgs/npm/[email protected]/lib/index.js:213
        stats = JSON.parse(fs.readFileSync(statsPath));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

puppeteer-core

npm dependency
expand_more 43 low-confidence finding(s)
low env_fs dependency Excluded from app score #a6e0c31f4e3af090 Filesystem access.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:3407
          await fileHandle.writeFile(value);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d8a80e7b2ba37a00 Filesystem access.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:9481
          content = await environment.value.fs.promises.readFile(path, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #71dcee5465527db9 Filesystem access.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:9536
          content = await environment.value.fs.promises.readFile(path, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #74d142d953bd8059 Filesystem access.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:11665
        await environment.value.fs.promises.writeFile(path, typedArray);

Reads environment variables or the filesystem — 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 #78eb7fcf4e9db5c1 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:23671
    let r = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #b3b912064502866d Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:23677
    let r = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #bc0bd599fb142717 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:23687
    let r = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #76c22adb4602585e Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:23693
    let r = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #6cf772a80326ce3a Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:23735
    let t = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #c289a1dfd089cc9e Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:23741
    let t = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #a849a72f2f29df28 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:23748
    let t = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #8871d023301ffe2e Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:23765
    let t = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #03ccb46d82a52706 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:23775
    let t = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #a353b04b9ec5a762 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:23781
    let t = new URL("https://example.com");

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 #a92e8ff93dc87337 Filesystem access.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:27077
        const fileContent = await environment.value.fs.promises.readFile(portPath, 'ascii');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #34a78f47dfb68905 Filesystem access.
pkgs/npm/[email protected]/lib/puppeteer/api/Frame.js:659
                content = await environment.value.fs.promises.readFile(path, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8040ae4ff1f4b72e Filesystem access.
pkgs/npm/[email protected]/lib/puppeteer/api/Frame.js:698
                content = await environment.value.fs.promises.readFile(path, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #db8fdc03f63bd52d Filesystem access.
pkgs/npm/[email protected]/lib/puppeteer/api/Page.js:835
            await environment.value.fs.promises.writeFile(path, typedArray);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1d0b82e5d9168171 Environment-variable access.
pkgs/npm/[email protected]/lib/puppeteer/bidi/Connection.js:57
        if (process.env['PUPPETEER_WEBDRIVER_BIDI_ONLY'] === '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.

low env_fs dependency Excluded from app score #65bcb6ca67e85dd9 Filesystem access.
pkgs/npm/[email protected]/lib/puppeteer/common/BrowserConnector.js:97
            const fileContent = await environment.value.fs.promises.readFile(portPath, 'ascii');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a4be34d1423d3bba Filesystem access.
pkgs/npm/[email protected]/lib/puppeteer/common/util.js:163
                await fileHandle.writeFile(value);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0d1ab13e6ac9d6e8 Environment-variable access.
pkgs/npm/[email protected]/lib/puppeteer/node/BrowserLauncher.js:241
        const bidiOnly = process.env['PUPPETEER_WEBDRIVER_BIDI_ONLY'] === '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.

low env_fs dependency Excluded from app score #df53b554a1f793a7 Environment-variable access.
pkgs/npm/[email protected]/lib/puppeteer/node/ChromeLauncher.js:121
        const turnOnExperimentalFeaturesForTesting = process.env['PUPPETEER_TEST_EXPERIMENTAL_CHROME_FEATURES'] === '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.

low env_fs dependency Excluded from app score #2ee45fad593d76d2 Environment-variable access.
pkgs/npm/[email protected]/lib/puppeteer/node/ChromeLauncher.js:191
        if (process.env['PUPPETEER_DANGEROUS_NO_SANDBOX'] === '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.

low egress dependency Excluded from app score #6927fd8f9f3855f6 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/third_party/urlpattern-polyfill/urlpattern-polyfill.js:294
  let r = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #277f915a97e13d8f Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/third_party/urlpattern-polyfill/urlpattern-polyfill.js:300
  let r = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #0a49184363cb11fd Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/third_party/urlpattern-polyfill/urlpattern-polyfill.js:310
  let r = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #47e00b7f178a34c3 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/third_party/urlpattern-polyfill/urlpattern-polyfill.js:316
  let r = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #c4f3c088a058c2ad Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/third_party/urlpattern-polyfill/urlpattern-polyfill.js:358
  let t = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #44de3af09378ca4f Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/third_party/urlpattern-polyfill/urlpattern-polyfill.js:364
  let t = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #fb390666c747dbcf Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/third_party/urlpattern-polyfill/urlpattern-polyfill.js:371
  let t = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #d6a6ef30ee9c03b5 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/third_party/urlpattern-polyfill/urlpattern-polyfill.js:388
  let t = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #9bee7fa31a4cd0b3 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/third_party/urlpattern-polyfill/urlpattern-polyfill.js:398
  let t = new URL("https://example.com");

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #4a8de21e966ba58e Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/third_party/urlpattern-polyfill/urlpattern-polyfill.js:404
  let t = new URL("https://example.com");

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 #a19d8d38e1919bf4 Filesystem access.
pkgs/npm/[email protected]/src/api/Frame.ts:934
      content = await environment.value.fs.promises.readFile(path, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ce96f31ca51578ee Filesystem access.
pkgs/npm/[email protected]/src/api/Frame.ts:1014
      content = await environment.value.fs.promises.readFile(path, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e197a78a38d1924f Filesystem access.
pkgs/npm/[email protected]/src/api/Page.ts:2462
    await environment.value.fs.promises.writeFile(path, typedArray);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b235598a91523f89 Environment-variable access.
pkgs/npm/[email protected]/src/bidi/Connection.ts:110
    if (process.env['PUPPETEER_WEBDRIVER_BIDI_ONLY'] === '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.

low env_fs dependency Excluded from app score #1e021b6e49762abb Filesystem access.
pkgs/npm/[email protected]/src/common/BrowserConnector.ts:143
      const fileContent = await environment.value.fs.promises.readFile(
        portPath,
        'ascii',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bde9abec0fb3062a Filesystem access.
pkgs/npm/[email protected]/src/common/util.ts:220
        await fileHandle.writeFile(value);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6230981ab7d71741 Environment-variable access.
pkgs/npm/[email protected]/src/node/BrowserLauncher.ts:440
    const bidiOnly = process.env['PUPPETEER_WEBDRIVER_BIDI_ONLY'] === '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.

low env_fs dependency Excluded from app score #1ca454317bc86d61 Environment-variable access.
pkgs/npm/[email protected]/src/node/ChromeLauncher.ts:180
      process.env['PUPPETEER_TEST_EXPERIMENTAL_CHROME_FEATURES'] === '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.

low env_fs dependency Excluded from app score #5183288841c6ee2e Environment-variable access.
pkgs/npm/[email protected]/src/node/ChromeLauncher.ts:262
      process.env['PUPPETEER_DANGEROUS_NO_SANDBOX'] === '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.

react

npm dependency
expand_more 14 low-confidence finding(s)
low env_fs dependency Excluded from app score #fe63cce4347d8597 Environment-variable access.
pkgs/npm/[email protected]/cjs/react-compiler-runtime.development.js:12
"production" !== process.env.NODE_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 #4a8964573159c2c2 Environment-variable access.
pkgs/npm/[email protected]/cjs/react-jsx-dev-runtime.development.js:12
"production" !== process.env.NODE_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 #5cdd24134cc844ad Environment-variable access.
pkgs/npm/[email protected]/cjs/react-jsx-dev-runtime.react-server.development.js:12
"production" !== process.env.NODE_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 #317e96d97b174d64 Environment-variable access.
pkgs/npm/[email protected]/cjs/react-jsx-runtime.development.js:12
"production" !== process.env.NODE_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 #7908a9dd278fc62d Environment-variable access.
pkgs/npm/[email protected]/cjs/react-jsx-runtime.react-server.development.js:12
"production" !== process.env.NODE_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 #addc4411d807a754 Environment-variable access.
pkgs/npm/[email protected]/cjs/react.development.js:12
"production" !== process.env.NODE_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 #059a939a5ba8f822 Environment-variable access.
pkgs/npm/[email protected]/cjs/react.react-server.development.js:12
"production" !== process.env.NODE_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 #9e72f516ebbc787e Environment-variable access.
pkgs/npm/[email protected]/compiler-runtime.js:10
if (process.env.NODE_ENV === '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 dependency Excluded from app score #69d09cbf96d8f84c Environment-variable access.
pkgs/npm/[email protected]/index.js:3
if (process.env.NODE_ENV === '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 dependency Excluded from app score #3ca142328817936d Environment-variable access.
pkgs/npm/[email protected]/jsx-dev-runtime.js:3
if (process.env.NODE_ENV === '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 dependency Excluded from app score #ba5c86f1f87dd54f Environment-variable access.
pkgs/npm/[email protected]/jsx-dev-runtime.react-server.js:3
if (process.env.NODE_ENV === '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 dependency Excluded from app score #ccccd2e929c0491e Environment-variable access.
pkgs/npm/[email protected]/jsx-runtime.js:3
if (process.env.NODE_ENV === '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 dependency Excluded from app score #65f4520a7b303235 Environment-variable access.
pkgs/npm/[email protected]/jsx-runtime.react-server.js:3
if (process.env.NODE_ENV === '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 dependency Excluded from app score #c7ac7cd2d498d8e7 Environment-variable access.
pkgs/npm/[email protected]/react.react-server.js:3
if (process.env.NODE_ENV === '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.

react-dom

npm dependency
expand_more 24 low-confidence finding(s)
low env_fs dependency Excluded from app score #16a182e669272a80 Environment-variable access.
pkgs/npm/[email protected]/cjs/react-dom-profiling.development.js:15
"production" !== process.env.NODE_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 #cd1baf9504367c21 Environment-variable access.
pkgs/npm/[email protected]/cjs/react-dom-server-legacy.browser.development.js:36
"production" !== process.env.NODE_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 #bae51c372bf5bbf9 Environment-variable access.
pkgs/npm/[email protected]/cjs/react-dom-server-legacy.node.development.js:36
"production" !== process.env.NODE_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 #4e8bdd4454c80591 Environment-variable access.
pkgs/npm/[email protected]/cjs/react-dom-server.browser.development.js:36
"production" !== process.env.NODE_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 #e7420467d9ae18dd Environment-variable access.
pkgs/npm/[email protected]/cjs/react-dom-server.edge.development.js:36
"production" !== process.env.NODE_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 #7d87b68b2f899b42 Environment-variable access.
pkgs/npm/[email protected]/cjs/react-dom-server.node.development.js:12
"production" !== process.env.NODE_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 #95c28ba364aeacb4 Environment-variable access.
pkgs/npm/[email protected]/cjs/react-dom-test-utils.development.js:12
"production" !== process.env.NODE_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 #241693e7721c3308 Environment-variable access.
pkgs/npm/[email protected]/cjs/react-dom.development.js:12
"production" !== process.env.NODE_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 #81a5963470ac2a30 Environment-variable access.
pkgs/npm/[email protected]/cjs/react-dom.react-server.development.js:12
"production" !== process.env.NODE_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 #61c491cac5f25172 Environment-variable access.
pkgs/npm/[email protected]/client.js:11
  if (process.env.NODE_ENV !== '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 dependency Excluded from app score #55c41cace3cdac0b Environment-variable access.
pkgs/npm/[email protected]/client.js:31
if (process.env.NODE_ENV === '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 dependency Excluded from app score #e0baa1e813b3a4f5 Environment-variable access.
pkgs/npm/[email protected]/index.js:11
  if (process.env.NODE_ENV !== '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 dependency Excluded from app score #6cbe40370ba13c60 Environment-variable access.
pkgs/npm/[email protected]/index.js:31
if (process.env.NODE_ENV === '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 dependency Excluded from app score #d6e3d28fddfb119d Environment-variable access.
pkgs/npm/[email protected]/profiling.js:11
  if (process.env.NODE_ENV !== '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 dependency Excluded from app score #a7724ca2b81ef8aa Environment-variable access.
pkgs/npm/[email protected]/profiling.js:31
if (process.env.NODE_ENV === '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 dependency Excluded from app score #af4eca64076f1ef4 Environment-variable access.
pkgs/npm/[email protected]/react-dom.react-server.js:3
if (process.env.NODE_ENV === '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 dependency Excluded from app score #c31fb4a45908ca73 Environment-variable access.
pkgs/npm/[email protected]/server.browser.js:4
if (process.env.NODE_ENV === '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 dependency Excluded from app score #f69b41c37f9a83da Environment-variable access.
pkgs/npm/[email protected]/server.bun.js:5
if (process.env.NODE_ENV === '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 dependency Excluded from app score #b02e6a22edc6703b Environment-variable access.
pkgs/npm/[email protected]/server.edge.js:5
if (process.env.NODE_ENV === '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 dependency Excluded from app score #2c823b398cc3655f Environment-variable access.
pkgs/npm/[email protected]/server.node.js:4
if (process.env.NODE_ENV === '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 dependency Excluded from app score #7b0015ca2b08da37 Environment-variable access.
pkgs/npm/[email protected]/static.browser.js:4
if (process.env.NODE_ENV === '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 dependency Excluded from app score #8be9b0229c4d0a49 Environment-variable access.
pkgs/npm/[email protected]/static.edge.js:4
if (process.env.NODE_ENV === '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 dependency Excluded from app score #510bf01aa54c2450 Environment-variable access.
pkgs/npm/[email protected]/static.node.js:4
if (process.env.NODE_ENV === '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 dependency Excluded from app score #79062d6fb1636f8d Environment-variable access.
pkgs/npm/[email protected]/test-utils.js:3
if (process.env.NODE_ENV === '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.

react-use

npm dependency
expand_more 30 low-confidence finding(s)
low env_fs dependency Excluded from app score #b7758f7db162a7e3 Environment-variable access.
pkgs/npm/[email protected]/esm/factory/createHTMLMediaHook.js:148
                if (process.env.NODE_ENV !== '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 dependency Excluded from app score #57cba9b7ab2baea9 Environment-variable access.
pkgs/npm/[email protected]/esm/factory/createRouter.js:10
        if (process.env.NODE_ENV !== '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 dependency Excluded from app score #b388fae56852c450 Environment-variable access.
pkgs/npm/[email protected]/esm/useAsyncRetry.js:11
            if (process.env.NODE_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 dependency Excluded from app score #b65dd07c52af0c66 Environment-variable access.
pkgs/npm/[email protected]/esm/useCopyToClipboard.js:22
                if (process.env.NODE_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 dependency Excluded from app score #a9518fb2bf0a3bd1 Environment-variable access.
pkgs/npm/[email protected]/esm/useCopyToClipboard.js:34
                if (process.env.NODE_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 dependency Excluded from app score #5b94d622855a010b Environment-variable access.
pkgs/npm/[email protected]/esm/useCustomCompareEffect.js:4
    if (process.env.NODE_ENV !== '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 dependency Excluded from app score #4718d8c8e4021fb1 Environment-variable access.
pkgs/npm/[email protected]/esm/useDeepCompareEffect.js:5
    if (process.env.NODE_ENV !== '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 dependency Excluded from app score #009c440909754ca3 Environment-variable access.
pkgs/npm/[email protected]/esm/useGetSetState.js:6
    if (process.env.NODE_ENV !== '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 dependency Excluded from app score #9ed77ba44faf9552 Environment-variable access.
pkgs/npm/[email protected]/esm/useGetSetState.js:18
        if (process.env.NODE_ENV !== '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 dependency Excluded from app score #e39b33c51d72cd77 Environment-variable access.
pkgs/npm/[email protected]/esm/useHoverDirty.js:6
    if (process.env.NODE_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 dependency Excluded from app score #69267590b945ae3a Environment-variable access.
pkgs/npm/[email protected]/esm/useMedia.js:12
    if (process.env.NODE_ENV !== '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 dependency Excluded from app score #1d30c4110834f6d8 Environment-variable access.
pkgs/npm/[email protected]/esm/useMouse.js:5
    if (process.env.NODE_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 dependency Excluded from app score #8c882ac27ad33ca3 Environment-variable access.
pkgs/npm/[email protected]/esm/useScroll.js:5
    if (process.env.NODE_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 dependency Excluded from app score #9ea3cd0373d6d3cb Environment-variable access.
pkgs/npm/[email protected]/esm/useShallowCompareEffect.js:8
    if (process.env.NODE_ENV !== '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 dependency Excluded from app score #e50c4945269f6386 Environment-variable access.
pkgs/npm/[email protected]/esm/useTween.js:9
    if (process.env.NODE_ENV !== '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 dependency Excluded from app score #a006474c1034ed17 Environment-variable access.
pkgs/npm/[email protected]/lib/factory/createHTMLMediaHook.js:150
                if (process.env.NODE_ENV !== '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 dependency Excluded from app score #437c3532a3aa7609 Environment-variable access.
pkgs/npm/[email protected]/lib/factory/createRouter.js:13
        if (process.env.NODE_ENV !== '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 dependency Excluded from app score #4a896f6aace2919c Environment-variable access.
pkgs/npm/[email protected]/lib/useAsyncRetry.js:13
            if (process.env.NODE_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 dependency Excluded from app score #ea9f89a5b2e1a0c4 Environment-variable access.
pkgs/npm/[email protected]/lib/useCopyToClipboard.js:25
                if (process.env.NODE_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 dependency Excluded from app score #012f9b01ef5b8b24 Environment-variable access.
pkgs/npm/[email protected]/lib/useCopyToClipboard.js:37
                if (process.env.NODE_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 dependency Excluded from app score #dc58de7a571711e1 Environment-variable access.
pkgs/npm/[email protected]/lib/useCustomCompareEffect.js:6
    if (process.env.NODE_ENV !== '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 dependency Excluded from app score #bd9bd6d3e9e008e8 Environment-variable access.
pkgs/npm/[email protected]/lib/useDeepCompareEffect.js:8
    if (process.env.NODE_ENV !== '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 dependency Excluded from app score #297bffe4195d1e5c Environment-variable access.
pkgs/npm/[email protected]/lib/useGetSetState.js:8
    if (process.env.NODE_ENV !== '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 dependency Excluded from app score #37ec094f4801472e Environment-variable access.
pkgs/npm/[email protected]/lib/useGetSetState.js:20
        if (process.env.NODE_ENV !== '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 dependency Excluded from app score #1e1fcf19f0efbcf0 Environment-variable access.
pkgs/npm/[email protected]/lib/useHoverDirty.js:8
    if (process.env.NODE_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 dependency Excluded from app score #423991890dca0df7 Environment-variable access.
pkgs/npm/[email protected]/lib/useMedia.js:14
    if (process.env.NODE_ENV !== '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 dependency Excluded from app score #c82d7087cdb2273f Environment-variable access.
pkgs/npm/[email protected]/lib/useMouse.js:8
    if (process.env.NODE_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 dependency Excluded from app score #1c548318b0c8e81c Environment-variable access.
pkgs/npm/[email protected]/lib/useScroll.js:8
    if (process.env.NODE_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 dependency Excluded from app score #bce2219c6a9db573 Environment-variable access.
pkgs/npm/[email protected]/lib/useShallowCompareEffect.js:11
    if (process.env.NODE_ENV !== '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 dependency Excluded from app score #8844b4269bdf4fd4 Environment-variable access.
pkgs/npm/[email protected]/lib/useTween.js:12
    if (process.env.NODE_ENV !== '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.

sanitize-filename

npm dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #cf805649a88a49b9 Filesystem access.
pkgs/npm/[email protected]/test.js:200
  fs.writeFile(filepath, "foobar", function(err) {
    t.ifError(err, "no error writing file");
    fs.readFile(filepath, function(err, data) {
      t.ifError(err, "no error reading file");
      t.equal(data.toString(), "foobar", "file contents equals");
      fs.unlink(filepath, function(err) {
        t.ifError(err, "no error unlinking file");
        t.end();
      });
    });
  });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c6d9b0275dec9af0 Filesystem access.
pkgs/npm/[email protected]/test.js:202
    fs.readFile(filepath, function(err, data) {
      t.ifError(err, "no error reading file");
      t.equal(data.toString(), "foobar", "file contents equals");
      fs.unlink(filepath, function(err) {
        t.ifError(err, "no error unlinking file");
        t.end();
      });
    });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7f461fec0b31a737 Filesystem access.
pkgs/npm/[email protected]/test.js:238
  var fs = require("fs");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

source-map

npm dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #0719091c9cb684f8 Filesystem access.
pkgs/npm/[email protected]/lib/read-wasm.js:6
const fs = require("fs");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c2c7527b140b2d39 Filesystem access.
pkgs/npm/[email protected]/lib/read-wasm.js:12
    fs.readFile(wasmPath, null, (error, data) => {
      if (error) {
        reject(error);
        return;
      }

      resolve(data.buffer);
    });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

tiktoken

npm dependency
expand_more 4 low-confidence finding(s)
low env_fs dependency Excluded from app score #14852e04a8993921 Filesystem access.
pkgs/npm/[email protected]/lite/tiktoken.cjs:5
const fs = require("fs");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f0998e2033b0080a Filesystem access.
pkgs/npm/[email protected]/lite/tiktoken.cjs:29
    bytes = fs.readFileSync(candidate);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6ebc1707b5545c63 Filesystem access.
pkgs/npm/[email protected]/tiktoken.cjs:5
const fs = require("fs");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #38bc36a98849bb2a Filesystem access.
pkgs/npm/[email protected]/tiktoken.cjs:29
    bytes = fs.readFileSync(candidate);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

tmp

npm dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #cd18a2e3d3985ff9 Filesystem access.
pkgs/npm/[email protected]/lib/tmp.js:12
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

undici

npm dependency
expand_more 12 low-confidence finding(s)
low env_fs dependency Excluded from app score #7d1a152acdc0d62b Environment-variable access.
pkgs/npm/[email protected]/lib/dispatcher/client-h1.js:67
  const llhttpWasmData = process.env.JEST_WORKER_ID ? require('../llhttp/llhttp-wasm.js') : undefined

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a3142ced802bb868 Environment-variable access.
pkgs/npm/[email protected]/lib/dispatcher/client-h1.js:74
  if (process.env.UNDICI_NO_WASM_SIMD === '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 #f29bdd6832b1abfb Environment-variable access.
pkgs/npm/[email protected]/lib/dispatcher/client-h1.js:76
  } else if (process.env.UNDICI_NO_WASM_SIMD === '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 #79eaf8aa82dcfe35 Environment-variable access.
pkgs/npm/[email protected]/lib/dispatcher/env-http-proxy-agent.js:26
    const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4db34d7e2217b8cf Environment-variable access.
pkgs/npm/[email protected]/lib/dispatcher/env-http-proxy-agent.js:33
    const HTTPS_PROXY = httpsProxy ?? process.env.https_proxy ?? process.env.HTTPS_PROXY

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ef7c65ac3de18c97 Environment-variable access.
pkgs/npm/[email protected]/lib/dispatcher/env-http-proxy-agent.js:142
    return process.env.no_proxy ?? process.env.NO_PROXY ?? ''

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #23f639a664deda1d Environment-variable access.
pkgs/npm/[email protected]/lib/mock/pending-interceptors-formatter.js:23
        colors: !disableColors && !process.env.CI

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #440ea3799454b20d Filesystem access.
pkgs/npm/[email protected]/lib/mock/snapshot-recorder.js:424
      const data = await readFile(resolve(path), 'utf8')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #00edab0d19c58409 Filesystem access.
pkgs/npm/[email protected]/lib/mock/snapshot-recorder.js:470
    await writeFile(resolvedPath, JSON.stringify(data, null, 2), { flush: 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.

low env_fs tooling Excluded from app score unknown #729ede03c52f1363 Filesystem access.
pkgs/npm/[email protected]/scripts/strip-comments.js:7
  ? transcode(readFileSync('./undici-fetch.js'), 'utf8', 'latin1')

Reads environment variables or the filesystem — an inventory-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 #70ed061df8c87623 Filesystem access.
pkgs/npm/[email protected]/scripts/strip-comments.js:8
  : readFileSync('./undici-fetch.js')

Reads environment variables or the filesystem — an inventory-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 #6e4e4e2602d73367 Filesystem access.
pkgs/npm/[email protected]/scripts/strip-comments.js:10
writeFileSync('./undici-fetch.js', buffer.toString('latin1'))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

web-tree-sitter

npm dependency
expand_more 16 low-confidence finding(s)
low env_fs dependency Excluded from app score #b86c1f87b195c604 Filesystem access.
pkgs/npm/[email protected]/debug/web-tree-sitter.cjs:79
          var fs = require("fs");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3f226ba6e8f9056d Filesystem access.
pkgs/npm/[email protected]/debug/web-tree-sitter.cjs:83
            var ret = fs.readFileSync(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 #fdb1571d96ab283a Filesystem access.
pkgs/npm/[email protected]/debug/web-tree-sitter.cjs:89
            var ret = fs.readFileSync(filename, binary2 ? void 0 : "utf8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #42bf7f94ec23a5c0 Filesystem access.
pkgs/npm/[email protected]/debug/web-tree-sitter.cjs:3757
      binary2 = await fs2.readFile(input);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a534036e2a10d34c Filesystem access.
pkgs/npm/[email protected]/debug/web-tree-sitter.js:1488
      binary2 = await fs2.readFile(input);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #139a3dc3ab40d801 Filesystem access.
pkgs/npm/[email protected]/debug/web-tree-sitter.js:1559
    var fs = require("fs");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #083daf2807540e30 Filesystem access.
pkgs/npm/[email protected]/debug/web-tree-sitter.js:1565
      var ret = fs.readFileSync(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 #10fbfa1003a49b33 Filesystem access.
pkgs/npm/[email protected]/debug/web-tree-sitter.js:1571
      var ret = fs.readFileSync(filename, binary2 ? void 0 : "utf8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8d69b913206daf84 Filesystem access.
pkgs/npm/[email protected]/web-tree-sitter.cjs:70
          var fs = require("fs");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c16c0a29dae54f8e Filesystem access.
pkgs/npm/[email protected]/web-tree-sitter.cjs:74
            var ret = fs.readFileSync(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 #bd6a88ea1ad43e60 Filesystem access.
pkgs/npm/[email protected]/web-tree-sitter.cjs:79
            var ret = fs.readFileSync(filename, binary2 ? void 0 : "utf8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #009bf1a2c27eb6bb Filesystem access.
pkgs/npm/[email protected]/web-tree-sitter.cjs:3159
      binary2 = await fs2.readFile(input);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2c07f2c3f26e266b Filesystem access.
pkgs/npm/[email protected]/web-tree-sitter.js:1488
      binary2 = await fs2.readFile(input);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #dba0f3ab018c4e75 Filesystem access.
pkgs/npm/[email protected]/web-tree-sitter.js:1550
    var fs = require("fs");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #08fd238f4b6357be Filesystem access.
pkgs/npm/[email protected]/web-tree-sitter.js:1556
      var ret = fs.readFileSync(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 #7aa4cfa238af6b03 Filesystem access.
pkgs/npm/[email protected]/web-tree-sitter.js:1561
      var ret = fs.readFileSync(filename, binary2 ? void 0 : "utf8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

zustand

npm dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #f6e9c68071660fef Environment-variable access.
pkgs/npm/[email protected]/middleware.js:66
    extensionConnector = (enabled != null ? enabled : process.env.NODE_ENV !== "production") && window.__REDUX_DEVTOOLS_EXTENSION__;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #98abad3aca097a10 Environment-variable access.
pkgs/npm/[email protected]/middleware.js:128
      if (process.env.NODE_ENV !== "production" && args[0].type === "__setState" && !didWarnAboutReservedActionType) {

Reads environment variables or the 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

  • @google/genai prod — dist-only: no readable source
  • @lmstudio/sdk prod — dist-only: no readable source
  • @modelcontextprotocol/sdk prod — dist-only: no readable source
  • @qdrant/js-client-rest prod — dist-only: no readable source
  • @roo-code/core prod — registry 404
  • @roo-code/ipc prod — registry 404
  • @roo-code/types prod — dist-only: no readable source
  • ai-sdk-provider-poe prod — dist-only: no readable source
  • fzf prod — dist-only: no readable source
  • global-agent prod — dist-only: no readable source
  • partial-json prod — dist-only: no readable source
  • pkce-challenge prod — dist-only: no readable source
  • sambanova-ai-provider prod — dist-only: no readable source
  • tree-sitter-wasms prod — no javascript source
  • vscode-material-icons prod — dist-only: no readable source
  • zhipu-ai-provider prod — dist-only: no readable source
  • @radix-ui/react-checkbox prod — dist-only: no readable source
  • @radix-ui/react-collapsible prod — dist-only: no readable source
  • @radix-ui/react-dialog prod — dist-only: no readable source
  • @radix-ui/react-dropdown-menu prod — dist-only: no readable source
  • @radix-ui/react-popover prod — dist-only: no readable source
  • @radix-ui/react-portal prod — dist-only: no readable source
  • @radix-ui/react-progress prod — dist-only: no readable source
  • @radix-ui/react-radio-group prod — dist-only: no readable source
  • @radix-ui/react-select prod — dist-only: no readable source
  • @radix-ui/react-separator prod — dist-only: no readable source
  • @radix-ui/react-slider prod — dist-only: no readable source
  • @radix-ui/react-slot prod — dist-only: no readable source
  • @radix-ui/react-tooltip prod — dist-only: no readable source
  • @tailwindcss/vite prod — dist-only: no readable source
  • class-variance-authority prod — dist-only: no readable source
  • cmdk prod — dist-only: no readable source
  • lru-cache prod — dist-only: no readable source
  • mermaid prod — dist-only: no readable source
  • react-textarea-autosize prod — dist-only: no readable source
  • react-virtuoso prod — dist-only: no readable source
  • shiki prod — dist-only: no readable source
  • tailwindcss prod — dist-only: no readable source
  • use-sound prod — dist-only: no readable source
  • vscrui prod — dist-only: no readable source
  • @roo-code/vscode-shim prod — registry 404
  • superjson prod — dist-only: no readable source
  • @easyops-cn/docusaurus-search-local prod — dist-only: no readable source
  • prism-react-renderer prod — dist-only: no readable source