Close Open Privacy Scan

bolt Snapshot: commit b867ec9
science engine v1.4
schedule 2026-07-14T03:17:25.853385+00:00
update Scan engine updated since this result

verified_user Application data leak confirmed

High-confidence data exfiltration identified in application code.

smart_toy MCP server detected: @anthropic-ai/sdk, @mistralai/mistralai, @modelcontextprotocol/sdk, @qdrant/js-client-rest +1 more — detected in dependencies, not a safety judgment.
Incomplete scan — only 46/165 dependencies were analyzed. Treat the score as provisional.

App Privacy Score

22 /100
High privacy risk — application leak confirmed

High risk · 1310 finding(s)

Dependency score: 22 (High risk)

bar_chart Score Breakdown

pii_flow −60
egress −15
env_fs −3

list Scan Summary

8 high 1 medium 1301 low
First-party packages: 10
Dependency packages: 19
Ecosystem: npm

swap_horiz Confirmed data exfiltration in application code

External domains: ai-gateway.vercel.shai.google.devaiplatformaiplatform.eu.rep.googleapis.comaiplatform.googleapis.comaiplatform.us.rep.googleapis.comapi.anthropic.comapi.deepseek.comapi.fireworks.aiapi.getunbound.aiapi.github.comapi.minimax.ioapi.minimaxi.comapi.mistral.aiapi.moonshot.aiapi.moonshot.cnapi.openai.comapi.poe.comapi.sambanova.aiapi.x.aiapi.z.aiapp.baseten.coapp.requesty.aiauth.openai.comautopush-generativelanguage.sandbox.googleapis.comaws.amazon.combar.foo.combaseten.cobedrock-agent-runtimebedrock-agent-runtime.us-west-2.amazonaws.combedrock-mantlebedrock-mantle.us-east-1.api.awsbedrock-runtimebedrock-runtime-fipsbedrock-runtime.us-east-1.amazonaws.combsky.appchat.qwen.aichatgpt.comcline.botcloud.google.comcloud.sambanova.aicode.visualstudio.comcodestral.mistral.aiconsole.anthropic.comconsole.cloud.google.comconsole.mistral.aicustom.api.comdashscope.aliyuncs.comdashscope.console.aliyun.comdevelopers.google.comdocs.anthropic.comdocs.cloud.google.comdocs.expo.devdocs.litellm.aidocs.mistral.aidummy.comfireworks.aifoo.comgateway.getunbound.aigateway.my-company.comgemini-api-demos.uc.r.appspot.comgenerativelanguage.googleapis.comgit-scm.comgithub.comgoo.glgoogle.aip.devimg.clerk.cominference.baseten.colmstudio.aimalicious.commarketplace.visualstudio.comminimax.chatnew-client.comnews.google.comoauth2.googleapis.comollama.aiontheline.trincoll.eduopen-vsx.orgopen.bigmodel.cnopenrouter.aiplatform.claude.complatform.deepseek.complatform.minimax.ioplatform.minimaxi.complatform.moonshot.aiplatform.moonshot.cnplatform.openai.compoe.compurl.oclc.orgpurl.orgraw.githubusercontent.comregistry.npmjs.orgrequesty.airoocodeinc.github.ioroomote.devrouter.requesty.aisambanova.aischemas.microsoft.comschemas.openxmlformats.orgschemas.zwobble.orgstorage.googleapis.comstuk.github.iovercel.comvpce-xxx.bedrock.region.vpce.amazonaws.comwww.allrecipes.comwww.anthropic.comwww.foodnetwork.comwww.googleapis.comwww.minimax.iowww.npmjs.comwww.unicode.orgwww.w3.orgx.aix.comyoutuz.ai

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 (6)
high @google/genai dependency User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:296 pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:305
high @modelcontextprotocol/sdk dependency User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
pkgs/npm/@[email protected]__reposrc/src/client/auth.ts:394 pkgs/npm/@[email protected]__reposrc/src/client/auth.ts:421
high @modelcontextprotocol/sdk dependency User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
pkgs/npm/@[email protected]__reposrc/src/client/auth.ts:455 pkgs/npm/@[email protected]__reposrc/src/client/auth.ts:480
high @modelcontextprotocol/sdk dependency User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
pkgs/npm/@[email protected]__reposrc/src/server/auth/providers/proxyProvider.ts:175 pkgs/npm/@[email protected]__reposrc/src/server/auth/providers/proxyProvider.ts:175
high @modelcontextprotocol/sdk dependency User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
pkgs/npm/@[email protected]__reposrc/src/server/auth/providers/proxyProvider.ts:212 pkgs/npm/@[email protected]__reposrc/src/server/auth/providers/proxyProvider.ts:212
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): src

npm first-party
high pii_flow production #ac76bfdc06ef5fff 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-iroaz4z7/repo/src/integrations/openai-codex/oauth.ts:236 → /tmp/closeopen-iroaz4z7/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 #6c8b31fb8ee4037a 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-iroaz4z7/repo/src/integrations/openai-codex/oauth.ts:287 → /tmp/closeopen-iroaz4z7/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 #3e6fb1770e823f28 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-iroaz4z7/repo/src/services/code-index/embedders/openai-compatible.ts:67 → /tmp/closeopen-iroaz4z7/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 #c8b0c582bf7d4dd9 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 #4d25151e28b6c309 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 #4ad8872747c48464 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 #2aef24b3ac01effa 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 #ab762353cae6b645 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 #dbc8985912e9fbc5 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 #b930e6a42ead51d0 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 #02a009cd4b2b2fe7 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 #60a2decfb11d5c21 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 #83b8b03ce732238b 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 #49182994291d04c7 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 #1525d21307159f58 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 #6a6ebbdd8887fa1d 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 #418a9b9498e6623e 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 #8ef04f0fbca1c620 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 #5ba0b6bc1e9eba88 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 #e098cac4afcd249d 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 #a027111c7a5451c5 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 #cb304559c57849e8 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 #e3a7e0c0e5e6469b 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 #f941ecdf118e0265 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 #61647e76a928dd2f 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 #6a374da48479f2df 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 #cfdc466e0ee74520 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 #a47de59e67429470 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 #ab59d2f4c6457506 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 #638c33f97fbf2c63 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 #dad20d2c68015a18 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 #129917fad0cdcfaa 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 #a0d14dac5c428374 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 #032e57fa32dcaffe 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 #6cf5de1a8679027f 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 #ff576c01c6dd512c 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 #e36d532e70d01194 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 #d9beeee5c7d0e0e6 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 #2e469907d424730a 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 #ebc8313e40fb692f 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 #33c6654db6c4683c 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 #d61bf69b1af4a76a 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 #694fb73f99487a2b 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 #ae46e2cf8adb4f3b 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 #7816580c2e30109b 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 #3b217de4f9afb533 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 #60bda62fe3b44f16 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 #dcc9e7081506de2e 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 #2f3c8be8f7b086a8 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 #552c9d809086ab38 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 #6c331dbaefc11f33 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 #a8dff508bdd55e57 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 #5d476d1b19047392 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 #b81ecf288e06d58a 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 #b6eac214e3b09ab6 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 #3316365a454f4145 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 #6cfe396f58dd29d6 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 #715d07f24c8c6ad7 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 #3f7c747fa524f58a 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 #bcfbf3bdb47a7ac9 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 #c75277eb45d20036 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 #5b632d220372a956 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 #9fc973f4f3b8b460 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 #d91a9474360ec734 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 #1210b6f78f7e16aa 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 #0789121b5c824bb2 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 #abb40194d102c870 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 #3e7b21c2075e842a 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 #40157e5fea662f94 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 #d1e63827c7fe9fda 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 #6b9271493a0e4d64 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 #08f843cc9d6cb20f 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 #065315836406bc9a 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 #b72dbe4b775ddad1 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 #a71f1a0a8524eb9e 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 #f7b9535b5a07ac42 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 #46b4dd64c1f4713b 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 #48a0aaa200575432 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 #c502ff8fc07ce907 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 #32fe860e30188199 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 #dc85ca95e518638e 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 #37d54c8df6fb8217 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 #95a8921ed46829fb 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 #3da5b8972281891b 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 #b94a2771c2799eed 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 #de9a456341e9aadb 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 #03d648c2d719c524 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 #717c3960d9266d97 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 #9429028115070f37 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 #38fef7fcec59c2d8 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 #1e91d18b2a5c08c5 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 #49265a3f2a7786b8 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 #226f2126c92f4816 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 #26059ce092f3b4fc 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 #2e3c47d9e940dbf3 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 #4eee1b9ca56cc2e0 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 #20711fbdaf4ff6bc 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 #f1d465b030b7cf56 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 #fb614990da24529d 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 #2d8a31a719904a83 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 #77d83e32c7de1206 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 #242d28e3eba48616 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 #7818a85135f1edc8 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 #55d43cf070ac374a 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 #3f554cbb15c9f762 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 #5d47db10c1312b85 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 #c8c9be7664edf35b 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 #5772fbc00056d963 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 #8b169b62564973e5 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 #eae680ca53bdb47a 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 #a36921ef0ad52aef 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 #4a0e7203f0add7cb 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 #d2c23b5ca9ddcc3e 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 #d4c2686e1afb69c9 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 #1202b2c1a337db88 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 #38af34a8f06ef747 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 #eed8b16047f1c07b 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 #ada04845c9c40ed4 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 #981cdfca02c24fd9 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 #36e99ef8b91df6d5 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 #e2bc7494fa2fa5aa 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 #3ada54ea668d079f 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 #a36c6fa42636e08d 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 #5ceb5dabaa2cc436 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 #9e50b095ffeb1dd7 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 #d80f8411ff31ad40 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 #61dfa534a612e2ab 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 #54d6796097c5fee6 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 #287f75a0b50c041b 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 #1fcc59630a323da0 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 #925d9dfbd7171147 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 #4a55e4f5d1896c9d 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 #c4101d73adbc86f3 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 #45e7dc8b39abc915 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 #34d9fc1b80b41bf5 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 #db2e652164a90ee9 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 #f356b0edd89afe8d 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 #8b52be859e363aa3 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 #37d5908768ff19b2 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 #a539d2e04e5ee531 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 #4a29a3c3ba73df4e 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 #adab1d4149cb44d9 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 #b6ded9ce2583b215 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 #8d12d1a707989808 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 #38f7cff3d40669b4 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 #ad886aab4b20a96c 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 #11ca205885ca7711 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 #0d71fe5d1d95ddb7 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 #8a47c1eeb19d5a07 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 #08e12f8182aa3476 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 #edaf2200cf401eea 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 #1d45386eec459a84 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 #ca6a9210eeeba8a1 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 #04131ac32d567e8c 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 #6c453f2cac2b71c1 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 #b5729ba72afb8bb5 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 #44a0d7fc16264568 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 #c03c64a1120083cf 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 #c800fb1b56787a95 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 #b035ad87454a68de 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 #a64eaa13c2aa31a4 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 #d96039c36bdf63fb 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 #d920623f209b286b 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 #84000fd46fc236bf 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 #f7d20f3045141372 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 #e320bb1e453da422 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 #1b44196843d8a2d2 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 #a60e07154938c18b 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 #fd30eb740ed6d408 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 #a52e14b726c3f104 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 #ef30f865571e2dae 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 #73b392f0149a9434 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 #76f17f7da9a5542b 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 #70ffc434c86891a8 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 #166ba36add9f7a69 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 #67d5d029ee86aa22 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 #11bbaab92651d3bf 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 #c0574682eb8ce112 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 #f9ca22d86da53f92 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 #2e47b140c2782cb3 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 #72bd3aad084df280 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 #2f20ff4679a3d085 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 #a6054ce21be5411e 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 #1ec4c4516732718a 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 #d1deadd211463a8b 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 #19e3ab7de5618564 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 #ecf10685476a7294 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 #25ac9feaea779a2d 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 #9bf05e4f53f57a4a 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 #b63fb67d4429a626 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 #abf2a8481cd13067 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 #ef7b5928a4a47291 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 #4d33b2430074daf5 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 #baa695df608d7f4a 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 #e6c23f52a040176d 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 #e374adc875c1f78a 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 #8964f204b558cd47 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 #beb750c5507f8307 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 #50250a7985d536cf 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 #094d508568f6f3ad 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 #24f2fb432e4a0497 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 #2d32f86c8012ac84 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 #4dcbd215286aa09a 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 #b0ce854ab42b8316 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 #aeb3bea962810ed6 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 #23b4d7137fef31ad 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 #5b61a3fae1cf08ca 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 #eb11e108c55374ec 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 #e82fd4608ea08fbe 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 #9ec30f950ac7411e 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 #236c23d5f43fadca 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 #0a2dd1f65c76cacc 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 #391b3a519a76ff99 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 #cec22dba9be0835d 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 #77829656be27f9c9 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 #9c41794612157eb1 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 #8033a88f83703cb0 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 #6e8abd48196eb133 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 #6bb92e417d1bdaa6 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 #f2469a4dd2dae380 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 #b576fb438de34db9 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 #c457b8d8addd2929 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 #7f02dad36682b918 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 #817f89f257f85f21 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 #04ebb6a300b9d736 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 #c449ea204b6c94a8 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 #2429c6ca3677c858 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 #1f28f14603d259f3 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 #0313bea5eed44069 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 #b91f9289146d2d4f 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 #5e538e312e13d951 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 #13d0b26c67c3ad03 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 #6e9668961f83f151 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 #0c4247f8130f9d4c 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 #c62039220aff312e 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 #216ebdf7c2fd03bd 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 #c3a19b3de66d6da5 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 #879bb934f34cea76 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 #c545bf531e737bc5 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 #8a3d35bab2f1386b 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 #bf258e41ab65614a 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 #1515faadbbc2ebef 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 #ddb4b37c8fa12e7a 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 #016169c33225f77a 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 #58b076b07b1dd7cc 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 #6834254cf2693ba3 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 #cf731ef5bdabf41e 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 #bf86302bfc0bbf45 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 #f4020bb1ba9791cb 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 #885f247f2e4aa3fb 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 #191d4c6854ec73e3 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 #991187345712504a 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 #e2484f8cdbeaf836 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 #1cb5fabf25a95f25 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 #d880b01a4cac1c5c 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 #1536554a6edb706f 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 #8a87f6df7f9575bc 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 #2d171c36d2e8d781 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 #cffaa1bcef9c7baf 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 #714b36ad8808fac0 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 #6b5c04a2c63bc86b 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 #0ccc5b94569b062a 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 #000f3ee12b981203 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 #c037e25e30d47267 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 #fcd0935c48e9e9bc 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 #48cdc0960294a961 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 #729f72191f2168c6 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 #1206ace572bd6b86 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 #c11e40d2409c9295 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 #474b4108159a5b74 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 #1ad73717a58ac720 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 #60124141af665816 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 #83a6f336be11c111 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 #017f0de3be35d75a 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 #74095b15451c2074 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 #abd990c8c9b2a697 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 #37dee24f8f37eb83 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 #9521dae8664c572d 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 #95691570d968f120 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 #2b9341a11ac94d51 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 #cfc71027c382a85a 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 #62c1f892dea04a9b 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 #7184b4dee3b615a2 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 #6351df751187822a 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 #bbe9ec5760571d40 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 #eb256076df41e5d7 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 #42f5a70f20095e20 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 #d34a1c938d202090 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 #580bf0298d1f80d2 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 #96543b673a4e04c3 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 #563060bc2b3fcd98 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 #e43accd922e5d5c9 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 #91d486bfdf5b6382 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 #4d98e24c890b78a3 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 #a3421a35dbfb5751 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 #4179919aea19adb5 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 #df76c69504a89b2b 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 #193ef95729f13a57 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 #eada480aeb960e52 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 #4c9c8907c8af07be 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 #a37ed4c789493c5a 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 #b5df815ae904092c 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 #6a16472dd194f50f 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 #c78e3a4f3db00a66 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 #674b264e44753966 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 #07ca20e9c4fc0dea 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 #bd66fb4df6e2edbf 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 #66b505e024e3a3a8 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 #4fd8090caf36b9af 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 #73185d8d489907fc 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 #fcc00d815016bd7d 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 #72aeda5f65950ebe 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 #ea463ae9c39ea56a 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 #fa01e7e81b3e4d00 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 #5fe2666a21bc4abe 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 #36d10454c0aa4eca 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 #00bd68623a8b0ac8 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 #412969c9abdd8420 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 #22016adf0db183ea 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 #ae71966975d00696 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 #be120f1193ba9751 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 #1d831fe3a1910c03 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 #4492f86e63225b22 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 #ec8e2a5c9435f409 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 #3c1e2b1cc7f03cd7 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 #c7b5970b55aedf55 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 #855511f00b165846 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 #1bfc2dc593597e9c 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 #a3ff33dbec795197 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 #64439b41affebd86 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 #ee8f24478d253178 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 #ffa5b0f7f5c9cdd9 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 #330d09ed5e654573 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 #766759943937e217 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 #fa6563662be62b5c 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 #10d6190a341fa524 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 #f657aa1750a1e8f6 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 #6c0248aad6be5659 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 #0f0cdec6cc68545c 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 #ad5c3074ec949ce2 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 #c0a88319580513e1 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 #5c64f77c71e150e5 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 #9bc49f4e6286f9de 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 #eb07e46c66488a2a 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 #18e189b0eef58665 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 #604995fa72b31090 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 #fdf5d38509c8e7ce 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 #4f8baccc00cacdb9 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 #a02a048d594aadcf 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 #e27a849569edd328 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 #6aadd5f9fefbf043 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 #af3c6df1116b34f0 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 #7e1d61e616fbe069 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 #b887d56f05786fe7 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 #6801338be2a9b91c 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 #0cc52817774ad35d 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 #05c83ae3d077d0d8 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 #0de599524d78e6f6 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 #ee8ba933c794a6c4 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 #e0541973e08fd89c 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 #92f3ffcd7bde170e 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 #752033c0feacad33 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 #91fbaefa2b8ccf99 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 #085ea46148dfc172 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 #7df43b4d09192348 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 #ec8e0be33cbdd46c 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 #24f95ff13b18d2a8 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 #a582a9779b955b09 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 #15f110b6542a475a 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 #6fc7bbb8409305b1 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 #ba6a2c74973363f8 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 #aa4ef62c2e1e562f 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 #6ac0261791ac6a05 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 #33de19c208e07269 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 #9facaf30a29141b0 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 #700a1157a7c71d30 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 #a28a5e0aa72014ce 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 #94482257d0884838 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 #8854df7a8013207c 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 #426c93e8ad6da137 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 #0a4bc98610fc1e7b 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 #b6194ae90e8ca10c 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 #f96aa44accb33fcd 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 #deb6efc058705905 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 #4dedb6c2b5efaa37 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 #3b75579f0934aecb 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 #db42cfd4a51f81ad 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 #d65b657d205ca26a 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 #e8c5fa61ec8e95d1 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 #321a92c6fb7f9831 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 #c0c1511aca57c678 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 #d72cb35e913b56ae 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 #27c5eb6cf6765bd9 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 #71ca74afc92eb9ec 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 #37c0c34efd1c2826 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 #6d6302b53c56b4b0 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 #3dbd4439460b3709 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 #e617ffb3d7cc01f4 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 #33dd61dd882644c2 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 #36ce1983d5349108 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 #665672002faedaa9 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 #000cff9b29a4a959 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 #1e30714c148d45df 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 #d41f4689f7f79882 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 #c9b9fecf78373370 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 #84bf4603a9d95fcb 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 #84c66f821f61cfa1 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 #ff654fa113e85a60 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 #9c2d026d7ec39efe 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 #c6fb43dff56825b2 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 #ed255420327108a9 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 #f1aec467d4ae68dd 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 #fa3910bb21cc968d 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 #05fa49c38009a527 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 #3419e940c4793fac 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 #c6298c37d21712e0 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 #d92f1821e58bbf47 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 #a069d1cefa732bb8 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 #04b4661671afda59 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 #5118cc857e5a6f93 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 #eeedaf03ee95133e 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 #9f60ee9b0b6fb91a 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 #532e0d91dff1efbe 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 #378b1b71f3d07f7b 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 #530823bdfaadbaa6 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 #8ebbf91ff144798e 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 #cb337da851c56530 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 #20f5262111cd512e 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 #53fae7ff5b8ec4eb 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 #1d22771a6712a48c 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 #baf9043be4b61d7f 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 #0b4b3896acdb6cab 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)

npm first-party
expand_more 12 low-confidence finding(s)
low env_fs production #b8058e450526b72b 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 #df34be64838c4859 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 #bf3a126a5902576b 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 #d09ca0ff5476b6e1 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 #1112e8aac8acfa48 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 #1e7634cb54b2b5cd 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 #ec5e33c111660834 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 #ee0e3f298d6f4c5b 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 #3e3ed89157be893f 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 #3fcb178dc02f8388 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 #0d12e6d3d0f28951 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 #8fb613631a8e3175 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.

first-party (npm): apps/cli

npm first-party
expand_more 92 low-confidence finding(s)
low env_fs production #a6c20b5776b45b05 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 #f6c9ba0baf32f769 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 #67b684eee10a4df3 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 #2ca81d7785095381 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 #8f7615f3b8669ae8 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 #07449620e5f09fd8 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 #5575feac27ce9a8b 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 #63ddedde51a23563 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 #482971b066ec9cf2 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 #1329c6e20020528a 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 #790a92d9dc300a0f 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 #32267405be7fa310 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 #3270836eb2fbcb9e 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 #c9c822ee1d8f92e1 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 #c2b3fd9566a8c91e 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 #79b84c03c53f1c44 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 #dcb2b11be571104b 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 #e2ef57b5f89428e8 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 #a9a1ae744e1f2189 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 #c4305bb82f66d6f2 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 #bf64e25b2b2ae61c 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 #c73a1e8862b401d3 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 #9481662f91a5eaaa 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 #5000746b546a1e1d 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 #b6eb5a5f654bba5b 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 #c6466ded330c3663 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 #cc269a4b0dec2291 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 #3a9be7080c182ccd 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 #7399140c1ed7be5c 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 #a0f37e9df003f151 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 #23aa3f56f4f19048 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 #9b82babf60eaa549 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 #d67fc25de13bfdd7 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 #a4ec00ab7bafd2ae 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 #aec72b4835d99439 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 #ad317c24727fed09 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 #bcafc869c0f160a8 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 #ef39a2424c60d5b8 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 #3e236dc8eb68ce0d 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 #0f9956647affff06 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 #0fd12937e94cdbcf 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 #61499bb168f09aa0 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 #e49b96d4e35d6fca 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 #6beb88bc7dcb1d85 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 #f310f47492ac97b7 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 #31e5c3d63b12abbf 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 #3c7779a6ccfe3995 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 #09d03af92f90a1f0 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 #bebe91fb871dfb26 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 #ce252b4d85965105 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 #d8fa33331566430c 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 #807081a41566130d 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 #2f5c2053d68871c9 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 #b7b6d1b8b1e77c8b 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 #e433898fe6ecf303 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 #f4917afb788a4893 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 #4e5a3f1d53f92f8f 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 #a37d3945685865e5 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 #86be5074bb8d9aa9 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 #50da8a00234e945a 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 #b27b0462f6fecdd5 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 #1d0843ec3177d418 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 #84561ae3d4637d71 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 #f2579bbb5446cb52 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 #e2b63b47f017da6b 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 #9138f9f6558155a6 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 #f2075fd9e6b06cd1 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 #b7a524ec7f154631 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 #ff3c51d1bb2eb481 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 #e0c92748003dc203 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 #cdcb3b4d7e1acf06 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 #83f80eba3a6dbe18 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 #f341b1058819f6bd 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 #3fba64c7bc7f7d63 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 #6ad6068e10d66c39 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 #d44ca763540f9c6b 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 #d8a3eb64fe48e79e 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 #03faf36e1d3f4d35 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 #7d5bb74fb11280d3 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 #18abcf520d387547 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 #8affd7cbdc8cfd6e 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 #24adc730cc856f5c 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 #b5de62825bbc4940 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 #002455e3b569c340 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 #00c69d1d287beed6 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 #e2150199c19c7fa2 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 #1f5e9c536ade5777 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 #47fc04b9173a7440 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 #d9656f7641e8d9fa 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 #c052d8c9b6b38712 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 #b686ac35cb874362 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 #56879fd285dadfcb 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 #7e167d65c23b8096 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 #b453a08019ff2e80 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 #7b7636733c6e6d4a 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 #c7d69caffe958131 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 #2cb5af10c2429cfa 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 #92b7fc56b811ddc0 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 #47e565e6871801cb 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 #16fbeb7c8fe20589 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 #8d0a04ffb362ca4f 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 #16614512bccb47bf 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 #3aacfe2ba0a355f8 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 #04e33332f66c9ffd 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 #6762ea4c3f5d702c 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 #677c0d04ea85d144 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 #20d0213f188ec05a 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 #d926a06d948504d5 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 #1181d461ae849a0f 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 #a6bac20d7547d795 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 #e0a4bd4c58332dbf 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 #7ff627f80b57d920 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 #c6b9f452a28e1223 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 #7028acbb4a9e855c 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 #6c30410b5974ab61 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 #695cb1329de23b47 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 #432f3985cb3e1fee 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 #c00a701a184c83dc 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 #898ca034c99e0ca7 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 #14000375cf405542 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 #9beab1743672ffa1 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 #513e46333aa3277a 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 #f7212bb930734493 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 #73b8a62da753dc5f 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 #5389d5ad8b845491 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 #ffe42166d74ab37d 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 #9e935d2809a80f5b 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 #21196bbbe1490a40 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 #3eed16bd035997ca 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 #b4bf726a3de62dc7 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 #809ba649fcc5154a 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 #e2db6cc435ec6929 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 #4b73774bf03cb572 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 #79e1e3e2fd650dda 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 #c04410770dd52ce5 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 #c7b9e0c557febfc0 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 #5a285562f6585f5f 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 #67b910b1326b7b34 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 #eff5ee855be83013 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 #230fa67085498cce 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 #06baa65ab1f30363 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 #63e7ea72f1b64728 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 #ea4e3325f6f826e5 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 #3e280a57231f5ba2 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 #9da85027c2f0e875 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 #02fce2d5985bd929 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 #f76e0d5ff980677d 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 #4441c3e074d9fba1 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 #c271c258e700399c 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 #99cb3f27d60a3cbc 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 #61363e7633acbe3d 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 #f4c102625a8235a4 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 #83303ffd574427f2 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 #60819957f618af49 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 #88305dbfa696dc9d 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 #c5aefb309ac42f70 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 #f1eeecb4f62685d8 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 #7e35eb8db9f1b04c 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 #9757e20876d3cb50 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 #751637c14d27135e 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 #e1a3bfda37b75d22 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 #ba7ac0285e358884 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 #65dac04c2e4d1101 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 #bd0e65def9dec696 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 #e26b6c72f648bcf0 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 #7ef6ef7f71665c17 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 #bd1731c35e365bf9 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 #9d70ddc4b11fdb90 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 #8771f538677be51b 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 #d7bfdbe0a80db099 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 #efdfff5cea00b7bf 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 #9f180f92db548595 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 #496549ad234b3a94 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 #061495be60660f12 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 #d41c46a26ab9085d 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 #28175c991f0a28e0 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 #b15733effdc7fbc6 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 #b4845b012be9b310 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 #ac32e9da04739010 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 #6dc94668d13fb4ce 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 #d7e717bd48a0c9d2 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 #a160ecefd3bc2f2d 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 #f6f19c4d9329ceb2 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 #ca02b90bacb0d48f 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 #fbd54fa06e15df0c 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 #b0613fefd69d1c50 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 #2d1708d978b4535c 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 #78f2eb8609fb209a 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 #9ebecdcb18589f5d 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 #c99fe20160e6741c 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 #b80ee3ee0be9deb6 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 #856f84c66a865837 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 #2238b79d09e7b249 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 #8bd10cd6bfaba81e 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 #964a95117f4764ca 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 #c47a51b0d77bd8a3 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 #bd8a538447d5f5f8 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 #4b3653f9d260eb08 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 #062f7d1f5631a2ae 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 #2c266bc32328782f 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 #739419115811346b 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 #a09601e7b31a7a4a 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 #8ba435dd7e5dfe63 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 #6736a0ca26a0227e 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 #90d0a100d74a5f38 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 #84ce556cbffa17ec 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 #e83db48450d74227 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 #09ddd1bdd164435b 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 #fd63e2f1c2b765cd 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 #e227259b02948e3d 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 #46f3e2d5e1633e5a 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 #b381eb869798d738 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 #f1a16d75fc3e5bd7 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 #ea3a999ff0f548ff 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 #f46b0d5481241a22 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 #0519028a8e7375e4 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 #e5c10b850b32d40a 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 #ecc8922cc8118a49 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 #35510890057be4fb 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 #d3830a564fe67cec 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 #87b3e419fc4fe521 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 #97360d7e11006396 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 #993de2514ce30cb0 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 #40f2b7f8b605bd7a 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 #5b8da7cd1dce3413 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 #4ca4c5c2805afbd0 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 #4c74dbbab2f77dd1 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 #625bbc99c3ebee47 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 #38841ab669eb0613 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 #faf6d6b6ad58019e 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 #b41d5da36482d7d3 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 #f983cfdfd594d08e 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 #c7bedcf1543a4e4b 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 #b543623565868688 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 #5021a53c4fcf688c 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 #2bcfc031a082b0ab 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 #9468d45829b0a188 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 #e2747439b4de83ec 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 #3a5cf9fc06c30e32 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 #0829ada03138e865 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 #d9aa5ae90a30ac32 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 #7d5c20cee0faa67c 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 #9e06f02b9b1bd53f 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 #2254c76014c3a78b 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 #3c0c2131b7e9db78 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 #6d8d24e967095241 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 #b3844b63af516523 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 #4233e23988c5cf0f 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 #bcb9e07e3b4f382f 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 #1309dcdda5eeb68f 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 #420549b47d19241d 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 #5371d3b00f7a4198 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 #fba2872b5a02ef6c 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 #2f83c406a34249b2 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 #c9d2e3d8cdffa1f3 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 #979c046b95724087 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 #45863032d5ae30ef 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 #dd862727a6bad54e 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 #eb5df1fa2d48b9b1 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 #29f401f31380b539 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 #5bab5cd268b49f0d 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 #36c241a0f54e702b 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 #13c6c565ae193ec3 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 #36e9cd63939866f7 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 #e85040480c64484f 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 #2780bbb72e947127 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 #d472fce062bb411c 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 #cc73655cd4c6dd84 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 #0dd9381fc2e86308 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 #b26722a15cca62d1 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 #5c410d22b6a55fdf 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 #12e616c479a31089 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 #a753d503ebe88ae6 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 #527e96f8f12f33d3 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 #f7a5d9b5b84c5998 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 #4251d966d3760963 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 #0c863470780b1a81 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 #2ee1651a39a230d2 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 #abd7b63909c4c4bb 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 #7704c2134b2dc08e 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 #403d85fc4151eda0 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 #472edbdf15e3bc0b 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 #935fb70dcef85856 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 #252bf32294f8f813 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 #3ef404020ad05218 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 #9b49e47f764ae8fa 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 #4ca0a5a78da3a77d 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 #ce3a336facc93959 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 #bec24a0829181fba 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 #ac34c665b0615c03 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 #c9d5f3dee4cc191a 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 #78371836857e6bc3 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 #92b7d5d52f3b1aef 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 #c85bade9bca48b08 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 #0eee1392a821fb42 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 #5339f8648e64918b 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 #46ccf2111bc9bc1d 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 #39b705c3ae8c3cf1 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 #e2ddcdd06e0c7223 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 #e5a99fd30f02b6d3 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 #ff4922708d02fbb1 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 #09f9e25f9c10e4e0 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 #b604d2ae456bb093 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 #7603149bed28982a 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 #17dbade2fa1d35f8 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 #a40b3cf959650dc4 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 #91a4d0e5acdcc1ec 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 #905ce3e5b9472d43 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 #5608cca2ac0887fc 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 #d246db35b2869821 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 #b3fcc112ce03b9dc 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 #f1f3b8f789d3ff80 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 #baa8bfaa8b070ab2 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 #50a2d8549b084583 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 #a99aca3b3038e822 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 #b60ee3713167e4ce 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 #9352a932420600ba 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 #c59d7f85fe105e7e 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 #8c50d3ef6fbaf703 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 #03b02313cf631273 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 #11eafa007dcf1417 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 #d611f5bd0929d0b0 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 #f3d53efe4d209aa5 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 #b521f8840b64264b 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 #9271a6c8d5f8c7a2 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 #6d440d1b3393cab5 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 #58299bcff8d2bab3 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 #71dc3a0680bdfc67 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 #24e7abb3c6eb6bd3 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 #e909fba1ced1bb62 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 #dfa36a872c465f3f 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 #8aa6fb3ac14e503a 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 #147d843b64dec14e 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 #2606f0ad98a4d365 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 #6e5f43c7d3aebb8b 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 #42e3634b1ec94335 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 #c8305e5a6dd8b04e 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 #7ee417dbb382d0d9 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

@modelcontextprotocol/sdk

npm dependency
high pii_flow dependency Excluded from app score #612ccac4ac65551e User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
pkgs/npm/@[email protected]__reposrc/src/client/auth.ts:421 · flow /tmp/closeopen-iroaz4z7/pkgs/npm/@[email protected]__reposrc/src/client/auth.ts:394 → /tmp/closeopen-iroaz4z7/pkgs/npm/@[email protected]__reposrc/src/client/auth.ts:421
  const response = await fetch(tokenUrl, {
    method: "POST",
    headers: {
      "Content-Type": "application/x-www-form-urlencoded",
    },
    body: params,
  });

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 dependency Excluded from app score #da0b033d369cba21 User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
pkgs/npm/@[email protected]__reposrc/src/client/auth.ts:480 · flow /tmp/closeopen-iroaz4z7/pkgs/npm/@[email protected]__reposrc/src/client/auth.ts:455 → /tmp/closeopen-iroaz4z7/pkgs/npm/@[email protected]__reposrc/src/client/auth.ts:480
  const response = await fetch(tokenUrl, {
    method: "POST",
    headers: {
      "Content-Type": "application/x-www-form-urlencoded",
    },
    body: params,
  });

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 dependency Excluded from app score #209b7b6eefa50c03 User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
pkgs/npm/@[email protected]__reposrc/src/server/auth/providers/proxyProvider.ts:175 · flow /tmp/closeopen-iroaz4z7/pkgs/npm/@[email protected]__reposrc/src/server/auth/providers/proxyProvider.ts:175 → /tmp/closeopen-iroaz4z7/pkgs/npm/@[email protected]__reposrc/src/server/auth/providers/proxyProvider.ts:175
    const response = await fetch(this._endpoints.tokenUrl, {
      method: "POST",
      headers: {
        "Content-Type": "application/x-www-form-urlencoded",
      },
      body: params.toString(),
    });

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 dependency Excluded from app score #31e0f137c69df626 User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
pkgs/npm/@[email protected]__reposrc/src/server/auth/providers/proxyProvider.ts:212 · flow /tmp/closeopen-iroaz4z7/pkgs/npm/@[email protected]__reposrc/src/server/auth/providers/proxyProvider.ts:212 → /tmp/closeopen-iroaz4z7/pkgs/npm/@[email protected]__reposrc/src/server/auth/providers/proxyProvider.ts:212
    const response = await fetch(this._endpoints.tokenUrl, {
      method: "POST",
      headers: {
        "Content-Type": "application/x-www-form-urlencoded",
      },
      body: params.toString(),
    });

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 18 low-confidence finding(s)
low egress dependency Excluded from app score #26b24abf1f7dd52a Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/client/auth.test.ts:31
      expect(extractResourceMetadataUrl(mockResponse)).toEqual(new URL(resourceUrl));

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 #8a3c8d7790608308 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/client/stdio.ts:70
    const value = process.env[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 #6c349e8bf7c95a66 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleOAuthClient.ts:393
  const serverUrl = process.env.MCP_SERVER_URL || DEFAULT_SERVER_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 egress dependency Excluded from app score #1bc43be5d5aaf310 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/server/auth/providers/proxyProvider.test.ts:95
      const expectedUrl = new URL("https://auth.example.com/authorize");

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 #456cb64a32016b0f Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/server/auth/router.test.ts:144
        issuerUrl: new URL('http://auth.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 #a68c0e63db3bb540 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/server/auth/router.test.ts:162
        issuerUrl: new URL('https://auth.example.com#fragment')

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 #91c07eecb1c3cb8a Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/server/auth/router.test.ts:171
        issuerUrl: new URL('https://auth.example.com?param=value')

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 #3a9e2694232ac436 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/server/auth/router.test.ts:180
        issuerUrl: new URL('https://auth.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 #b99caf3bd342dc4f Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/server/auth/router.test.ts:195
        issuerUrl: new URL('https://auth.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 #bd392e364b5c6ad0 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/server/auth/router.test.ts:196
        serviceDocumentationUrl: new URL('https://docs.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 #bedd55b5c4852c56 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/server/auth/router.test.ts:230
        issuerUrl: new URL('https://auth.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 #12a7a01c05418c8d Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/server/auth/router.test.ts:256
        issuerUrl: new URL('https://mcp.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 #0f99d4bad13bfa48 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/server/auth/router.test.ts:283
        issuerUrl: new URL('https://auth.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 #3a6664329eda459c Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/server/auth/router.test.ts:362
        issuerUrl: new URL('https://auth.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 #dc5cd1fbc740cd01 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/server/auth/router.test.ts:403
        resourceServerUrl: new URL('https://api.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 #f3bef4aaee08913e Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/server/auth/router.test.ts:417
        resourceServerUrl: new URL('https://api.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 #4777f8e4e1750c83 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/server/auth/router.test.ts:418
        serviceDocumentationUrl: new URL('https://docs.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 #a6a49179fed2fb58 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/server/auth/router.test.ts:459
        resourceServerUrl: new URL('https://api.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.

@google/genai

npm dependency
high pii_flow dependency Excluded from app score #1b79cd55ecb52b56 User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:305 · flow /tmp/closeopen-iroaz4z7/pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:296 → /tmp/closeopen-iroaz4z7/pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:305
        const response = await fetch(url, {
          method: 'POST',
          headers: {
            'x-goog-api-key': apiKey,
            'content-type': 'application/json',
          },
          body: JSON.stringify(requestBody),
        });

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 286 low-confidence finding(s)
low env_fs dependency Excluded from app score #24e120bc5b858996 Filesystem access.
pkgs/npm/@[email protected]__reposrc/rollup.config.mjs:2
import {readFileSync} 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 #4b374af35237faf9 Filesystem access.
pkgs/npm/@[email protected]__reposrc/rollup.config.mjs:6
  readFileSync(new URL('./package.json', import.meta.url), '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 #1d5ef0d379f98a8c Filesystem access.
pkgs/npm/@[email protected]__reposrc/scripts/add_docsite_license_headers.ts:7
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 #0240cf8897e6390a Filesystem access.
pkgs/npm/@[email protected]__reposrc/scripts/add_docsite_license_headers.ts:20
  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 tooling Excluded from app score unknown #423317451cf6f8f6 Filesystem access.
pkgs/npm/@[email protected]__reposrc/scripts/add_docsite_license_headers.ts:24
  fs.writeFileSync(filePath, header + 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 tooling Excluded from app score unknown #302a620d1a118cff Filesystem access.
pkgs/npm/@[email protected]__reposrc/scripts/generate_pages.ts:8
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 #2aef4072af18c320 Filesystem access.
pkgs/npm/@[email protected]__reposrc/scripts/generate_pages.ts:39
  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 tooling Excluded from app score unknown #f84c31bf44c4a763 Filesystem access.
pkgs/npm/@[email protected]__reposrc/scripts/generate_pages.ts:43
  fs.writeFileSync(filePath, HEADER + 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 tooling Excluded from app score unknown #4c50658037fc8119 Filesystem access.
pkgs/npm/@[email protected]__reposrc/scripts/generate_pages.ts:87
    const manifestContent = fs.readFileSync(manifestPath, '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 #9088d8fb630886ea Filesystem access.
pkgs/npm/@[email protected]__reposrc/scripts/ignore_missing_mcp_dep.js:7
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 #c3a0145518523888 Filesystem access.
pkgs/npm/@[email protected]__reposrc/scripts/ignore_missing_mcp_dep.js:64
    const fileContent = fs.readFileSync(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 tooling Excluded from app score unknown #15138c70f3a63522 Filesystem access.
pkgs/npm/@[email protected]__reposrc/scripts/ignore_missing_mcp_dep.js:74
      fs.writeFileSync(absolutePath, 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 tooling Excluded from app score unknown #f76df8fdc1b4bbcc Environment-variable access.
pkgs/npm/@[email protected]__reposrc/scripts/prepare.js:22
const isCI = process.env.CI === 'true' || process.env.KOKORO_JOB_TYPE !== 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 #6321f5d409ba398e Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/abort_signal.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #c770ef285fba23eb Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/abort_signal.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #cd433b5a0df82cfb Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/abort_signal.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #395fb41215f9d560 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/abort_signal.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #18b7807cf9be146c Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/api_error.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #85d527312f9c80e7 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/api_error.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #158f94be0d8823ed Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/api_error.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #adec0e08d0a50bee Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/api_error.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #f36116b1fd07ab70 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/api_version.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #88c29d48dded8410 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/api_version.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #ee65aa42bebb2c7b Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/api_version.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #c08772a4159f038f Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/api_version.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #1c52ed2a517167a6 Filesystem access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/batch_embedding_file.ts:10
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 dependency Excluded from app score #33664a0fc142d8ed Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/batch_embedding_file.ts:17
  apiKey: process.env.GEMINI_API_KEY!,

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

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

low env_fs dependency Excluded from app score #1f64c03dfb17294e Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/batch_embedding_file.ts:28
  if (process.env.GOOGLE_GENAI_USE_VERTEXAI) {

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

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

low env_fs dependency Excluded from app score #f6e1e185a2b2a7d1 Filesystem access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/batch_embedding_file.ts:71
    await fs.writeFile(tempFilePath, jsonlContent);

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

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

low env_fs dependency Excluded from app score #b90920dbe12b0a4b Filesystem access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/batch_embedding_file.ts:148
      const contentString = await fs.readFile(tempFilePath, {encoding: '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 #1c13a4c18356cac4 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/batch_embedding_inline.ts:14
  apiKey: process.env.GEMINI_API_KEY!,

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

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

low env_fs dependency Excluded from app score #81ccc18bf63db141 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/batch_embedding_inline.ts:25
  if (process.env.GOOGLE_GENAI_USE_VERTEXAI) {

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

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

low env_fs dependency Excluded from app score #24e19482664357d5 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:18
const SKIP_HTTP = process.env.SKIP_HTTP === '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 #fa2150374acaf8ee Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:26
const MODE = (process.env.MODE || 'live') as 'live' | 'record' | '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 dependency Excluded from app score #05fd978dc1d7e702 Filesystem access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:35
  const mockedData = fs.readFileSync(MOCK_FILE);

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

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

low env_fs dependency Excluded from app score #d1f13e9030594a7c Filesystem access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:92
                fs.writeFileSync(MOCK_FILE, Buffer.concat(buffers));

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

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

low env_fs dependency Excluded from app score #e513bafcaae014e5 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:296
          process.env.GCLOUD_API_KEY ||

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

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

low env_fs dependency Excluded from app score #13ef4f69b18bf5a0 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:297
          process.env.GOOGLE_API_KEY ||

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

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

low env_fs dependency Excluded from app score #a920e27f47b7402e Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:298
          process.env.GEMINI_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 egress dependency Excluded from app score #adbf82d30434bc00 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:300
        const url = new URL(
          'https://generativelanguage.googleapis.com/v1beta/interactions',
        );

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 #c309fa4f3a927c67 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:380
  delete process.env.GOOGLE_GEMINI_BASE_URL;

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

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

low env_fs dependency Excluded from app score #c3e89af1d12a6d6f Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:382
    process.env.GCLOUD_API_KEY ||

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

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

low env_fs dependency Excluded from app score #5b1cf1f0fa14b4f9 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:383
    process.env.GOOGLE_API_KEY ||

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

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

low env_fs dependency Excluded from app score #066a5b4e42a498d0 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/benchmark_streaming.ts:384
    process.env.GEMINI_API_KEY ||

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

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

low env_fs dependency Excluded from app score #7fd0dafc069435bf Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/caches.ts:8
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #76b4f6860ab39c06 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/caches.ts:9
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #5c79060d8c416a69 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/caches.ts:10
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #d241a643b0106eed Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/chat_afc.ts:12
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #cbbedf5ca93705f9 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/chat_afc.ts:13
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #1830fe58b1fe4812 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/chat_afc.ts:14
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #5a6d104e86b01604 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/chat_afc.ts:15
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #96367d882de3f07d Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/chat_afc_streaming.ts:15
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #c11dc6669481dc39 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/chat_afc_streaming.ts:16
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #b19a33e62fb5a5a5 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/chat_afc_streaming.ts:17
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #820d4d07ede39972 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/chat_afc_streaming.ts:18
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #0a66703f62565571 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/chat_afc_streaming_function_call.ts:15
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #def332cdf3a498ef Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/chat_afc_streaming_function_call.ts:16
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #c07763155184ae9b Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/chat_afc_streaming_function_call.ts:17
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #43420cf263350de4 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/chats.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #116fee17149e0bfc Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/chats.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #973c9dc76df0d346 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/chats.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #f4ed86e9620c459c Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/chats.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #4770e053c284e69c Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/count_tokens.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #5e64cec064db70d4 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/count_tokens.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #b5b2d8cab0b13253 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/count_tokens.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #82021246f76389a8 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/count_tokens.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #e5400bf53e44bfde Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/direct_url.ts:8
const client = new GoogleGenAI({apiKey: process.env.GEMINI_API_KEY});

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

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

low env_fs dependency Excluded from app score #042b9ba923b9ad0a Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/edit_image_content_reference.ts:12
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #db2b8a895fad3a23 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/edit_image_content_reference.ts:13
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #a813028be02e5939 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/edit_image_content_reference.ts:14
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #7ebcfc0c4f64ca89 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/edit_image_control_reference.ts:12
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #75aad513802c39ad Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/edit_image_control_reference.ts:13
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #90bd6cbb671db41c Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/edit_image_control_reference.ts:14
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #ab7ab067e91ee8c5 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/edit_image_mask_reference.ts:13
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #84681a0039d8ee45 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/edit_image_mask_reference.ts:14
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #0bceec8281570277 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/edit_image_mask_reference.ts:15
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #3ecb0fa721dad215 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/edit_image_style_transfer.ts:8
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #0d804783c625fd09 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/edit_image_style_transfer.ts:9
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #20838602aadd9e87 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/edit_image_style_transfer.ts:10
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #4f465c05a7f61cbc Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/edit_image_subject_reference.ts:12
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #8fa5e7a36fcee9a6 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/edit_image_subject_reference.ts:13
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #251a54f95a438a23 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/edit_image_subject_reference.ts:14
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #31f750f0e586d678 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/embed_content.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #6b3792c1f493ad17 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/embed_content.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #38d12fa1af029de5 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/embed_content.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #b932baf7266c9e79 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/embed_content.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #33fc699b7d940757 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/file_search_stores.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #9ef60cbd6c247294 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_afc_streaming.ts:16
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #3863af45ce642261 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_afc_streaming.ts:17
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #ef6c3240a4cda239 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_afc_streaming.ts:18
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #57d9012400ac96e5 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_afc_streaming.ts:19
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #2b75c36bf093369b Filesystem access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_streaming.ts:7
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 dependency Excluded from app score #b92b181fa86a5cc9 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_streaming.ts:9
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #fb387fab3f6a069b Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_streaming.ts:10
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #e23d4e78ce923165 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_streaming.ts:11
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #1fdac8f5f3b97f2a Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_streaming.ts:12
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #e7acf89697e2b64a Filesystem access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_streaming.ts:35
      fs.writeFileSync(fileName, 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 #2967f717f7abd95b Filesystem access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_streaming.ts:65
      fs.writeFileSync(fileName, 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 #d118bc8b210b7516 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_streaming_function_call.ts:12
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #228d6e337c507e3f Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_streaming_function_call.ts:13
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #48fdf0b4f3422158 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_streaming_function_call.ts:14
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #035c46ca7dd292cf Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_code_execution.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #39da3694bf501dce Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_code_execution.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #0cf68ec32545b848 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_code_execution.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #408271b417de7398 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_code_execution.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #2aa5d43c21c16620 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_file_upload.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #910f5f56d0c500eb Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_file_upload.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #cf972f80116f0fe4 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_function_calling.ts:13
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #a5c7b7e8c3d4364b Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_function_calling.ts:14
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #14cfea143e3d3650 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_function_calling.ts:15
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #273228f6bbaa9df5 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_function_calling.ts:16
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #0d95d4375df59fe5 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_function_calling_accept_json_schema.ts:10
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #c9e21c6c7331b139 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_function_calling_accept_json_schema.ts:11
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #f050dcc6efc8adcd Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_function_calling_accept_json_schema.ts:12
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #9431c24ad228d361 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_function_calling_accept_json_schema.ts:13
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #f79ee51247ab4d76 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_latlong.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #33a0831ef66b8eb8 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_latlong.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #cf34d6f0b0a726b7 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_latlong.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #c2f1a67b70c84e09 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_latlong.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #92252aaa7630f477 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_log_prob.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #aae3bdc64869acee Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_log_prob.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #8f4e5540a7b5ee89 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_log_prob.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #23279ac9047f9876 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_log_prob.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #1526d2dd808cd41c Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_model_configuration.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #d2e66b273f1f08e5 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_model_configuration.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #6f6fdb9e0022aecd Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_model_configuration.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #633e973cf41999bc Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_model_configuration.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #e1aabb75abf8c0cc Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_response_schema.ts:8
const GOOGLE_API_KEY = process.env.GOOGLE_API_KEY;

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

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

low env_fs dependency Excluded from app score #b85304c28b05d743 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_response_schema.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #d9adad1a9814b2b9 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_response_schema.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #f718eca337490615 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_response_schema.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #c74c7059dbacc527 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_response_schema_accept_json_schema.ts:9
const GOOGLE_API_KEY = process.env.GOOGLE_API_KEY;

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

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

low env_fs dependency Excluded from app score #b288f922122829eb Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_response_schema_accept_json_schema.ts:10
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #187ac06e87274114 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_response_schema_accept_json_schema.ts:11
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #7b3b3107c6d1c352 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_response_schema_accept_json_schema.ts:12
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #1d7ee0f06ba25647 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_safety_settings.ts:13
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #cd6ab3ad3ce9545e Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_safety_settings.ts:14
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #7c5c1a84a1c3fe38 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_safety_settings.ts:15
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #5fa4ea5fd85b3f8c Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_safety_settings.ts:16
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #310d01d8aa75d58b Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_search_grounding.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #f454d91676d7c77a Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_search_grounding.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #4eea04aed971003a Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_search_grounding.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #0e8f10fdfc8c6951 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_search_grounding.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #7ab99f862f1fe3e2 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_system_instructions.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #c090c294aa75fb6f Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_system_instructions.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #7d359ace33a57267 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_system_instructions.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #83c580ae2c9ce3fd Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_system_instructions.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #e535ad1e12183d63 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_text.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #d7a43ad56b4fdc70 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_text.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #5de11bc1025ab1bc Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_text.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #59e1f8a90656195c Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_text.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #aa3e55439da99f30 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_text_vertex_apikey.ts:8
const GOOGLE_API_KEY = process.env.GOOGLE_API_KEY;

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

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

low env_fs dependency Excluded from app score #b9d06947ba8a8d24 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_text_vertex_apikey.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #de1aeb465c77138d Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_url_context.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #b49437a985f0fe8e Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_content_with_url_context.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #6a07bcfc74a8ab81 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_image.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #e6df24c7246b1455 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_image.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #c7b2ed78838dd07a Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_image.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #67ed918d27fc3110 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_image.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #5d9766b5c8eedd8b Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_videos.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #f5fc3f2f2bb9c73d Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_videos.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #23614f69730dae5a Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_videos.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #0fa39930c21c7f3a Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_videos.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #637ad649bded42c2 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_videos_edit_outpaint.ts:8
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #da60ea85e4ebcec5 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_videos_edit_outpaint.ts:9
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #b4cb93b472a6aec2 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_videos_edit_outpaint.ts:10
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #172560db82cccdf7 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_videos_extension.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #dd208298d970465b Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_videos_extension.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #98de088c7f706f65 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_videos_extension.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #7a635827ed421a5b Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_videos_extension.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #d6460e5f1d3b79c1 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_videos_rai_filtered.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #c23aa680488b8af1 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_videos_rai_filtered.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #5245677d287aaf6f Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_videos_rai_filtered.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #626a80c2b07e948d Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/generate_videos_rai_filtered.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #5b7908871c90b4b0 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/get_model_info.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #df1ddf931185fbb3 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/get_model_info.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #d3048df307a02340 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/get_model_info.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #7d4b81167acd746c Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/get_model_info.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #0052a97d89bb759c Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_basic.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #170dfc8611f674df Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_basic.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #88674c7c3ec65367 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_function_calling_client_state.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #b95b13f0700056a7 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_function_calling_client_state.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #a4a805c9bdeda317 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_function_calling_server_state.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #1e450b28be0ab321 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_function_calling_server_state.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #340dabb94da902ed Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_get.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #02eca26e69754719 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_get.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #4935150398b4388d Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_input_text_and_audio.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #e346a53e90dfee53 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_input_text_and_audio.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

Reads environment variables or the filesystem — 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 #be5953554e304ec4 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_input_text_and_audio.ts:19
  const audioResponse = await fetch(audioUrl);

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 #5d275d1809c1c8c1 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_input_text_and_audio_with_generate_content.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #56a05d797d9813b2 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_input_text_and_audio_with_generate_content.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

Reads environment variables or the filesystem — 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 #8406452c057b15d2 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_input_text_and_audio_with_generate_content.ts:19
  const audioResponse = await fetch(audioUrl);

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 #208131b6f68cb56f Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_input_text_and_image.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #725582396334a967 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_input_text_and_image.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

Reads environment variables or the filesystem — 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 #574e4f781a99e085 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_input_text_and_image.ts:19
  const imageResponse = await fetch(imageUrl);

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 #7c7a4fecd05025ee Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_input_text_and_image_with_generate_content.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #d634a96b7a0dec19 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_input_text_and_image_with_generate_content.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

Reads environment variables or the filesystem — 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 #0faad76d1bc17fa3 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_input_text_and_image_with_generate_content.ts:23
  const imageResponse = await fetch(imageUrl);

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 #dba33b1ad744c836 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_response_audio.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #d7803057b7e048cf Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_response_audio.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #a097413ac0c96d0f Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_response_audio_with_generate_content.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #d6895ba5e00e592b Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_response_audio_with_generate_content.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #15962d541ab95add Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_response_image.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #9e710e74bab1bb3b Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_response_image.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #ed22ff052f82bf52 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_response_image_with_generate_content.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #8f6aad5229ab68fb Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_multimodal_response_image_with_generate_content.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #bada3ed0f3b064ff Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_stateful.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #9b52575239b1122b Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_stateful.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #280fd6e2d98d63e2 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_stateless.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #6964d48b3ad018d6 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_stateless.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #9f25db4e709078f7 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_streaming.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #4cfab96bc22ff783 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_streaming.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #116f0d9d0eb64b3e Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_structured_output_json.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #1eacce08ff3c5830 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_structured_output_json.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #ce66dfa18067b1b0 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_tool_call_with_code_execution.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #2179c040aba43a36 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_tool_call_with_code_execution.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #2e273f025512e61a Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_tool_call_with_computer_use.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #83e251ae1b318df0 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_tool_call_with_computer_use.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #7a10b02fa1557ca7 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_tool_call_with_functions.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #cb814fff22348921 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_tool_call_with_functions.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #3dca1f033a0e8d13 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_tool_call_with_google_search.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #358c1aeef8968e46 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_tool_call_with_google_search.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #a80bb75870594e62 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_tool_call_with_mcp_server.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #1fba00a28e996512 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_tool_call_with_mcp_server.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #fea2cd72c1542c79 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_tool_call_with_mime_type.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #a9891fa204e05741 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_tool_call_with_mime_type.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #d8d80f8b4ebb3948 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_tool_call_with_url_context.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #87fcbd7a908b4940 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_tool_call_with_url_context.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #a58fc047ad860c43 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_with_config.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #aa60e8946baed62e Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/interactions_with_config.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #1ce6c20532dd0dcf Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/list_models.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #fa7615642dc98346 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/list_models.ts:9
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #0c7413c30dc331db Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/list_models.ts:10
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #ef908a61f4ad403f Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/list_models.ts:11
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #35d8e86ed635b1b1 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_client_content.ts:13
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #e456fbfb75a531c8 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_client_content.ts:14
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #d5b0a2ecdf4177f9 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_client_content.ts:15
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #ce2b0e6d70557855 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_client_content.ts:16
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #c0856a820d60ec6a Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_client_content.ts:18
  process.env.GOOGLE_GENAI_MLDEV_USE_EPHEMERAL;

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

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

low env_fs dependency Excluded from app score #bb7aaa21af6bebad Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_client_content_with_url_context.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #aba6f866b6c981e4 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_client_content_with_url_context.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #2ba286061c78ef87 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_ephemeral.ts:13
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #4bb85a4369eff3ad Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_ephemeral.ts:14
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #a175ca559796175e Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_music.ts:8
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #f85bd4676ee9ea0e Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_music.ts:9
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #814bc37f03f76f06 Filesystem access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_prompt.ts:9
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 dependency Excluded from app score #5cd2130d74b963a0 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_prompt.ts:26
  const GOOGLE_API_KEY = process.env.GOOGLE_API_KEY;

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

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

low env_fs dependency Excluded from app score #774057795dc61f35 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_prompt.ts:27
  const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #d2eed4b02b420144 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_prompt.ts:28
  const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #c919c62c30a699d3 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_prompt.ts:29
  const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #fcf72b5a0d3f0ce5 Filesystem access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_prompt.ts:55
    const voiceSampleAudio = fs.readFileSync(voiceSamplePath);

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

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

low env_fs dependency Excluded from app score #f65d920619e7dc3a Filesystem access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_prompt.ts:59
      consentAudio = fs.readFileSync(voiceConsentPath);

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

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

low env_fs dependency Excluded from app score #9a8f93188717cb27 Filesystem access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_prompt.ts:166
  fs.writeFileSync(filename, fileBuffer);

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

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

low env_fs dependency Excluded from app score #b0f5984e485fb7fa Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_server.ts:25
const GOOGLE_API_KEY = process.env.GOOGLE_API_KEY;

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

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

low env_fs dependency Excluded from app score #e714ffd6aeeb5d47 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_server.ts:26
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #3881194b10428115 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_server.ts:27
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #c9599e9861eff04e Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/live_server.ts:28
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #d3f895eb92cfbd65 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/mcp_client.ts:12
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #fee90e88f36808bf Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/mcp_client.ts:13
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #1788a68253d25af4 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/mcp_client.ts:14
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #e4773e8818e2f4a9 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/mcp_client.ts:15
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #f901ffe9bde60ff6 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/mcp_client_stream.ts:12
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #97b06e0d2cbcfe25 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/mcp_client_stream.ts:13
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #1368992dc1d848f6 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/mcp_client_stream.ts:14
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #5a8f8eadbfae826c Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/mcp_client_stream.ts:15
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #244d3128774a46b5 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/recontext_image_virtual_try_on.ts:8
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #ef1a953b65c3dcd6 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/recontext_image_virtual_try_on.ts:9
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #2b8039797cf7610f Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/recontext_image_virtual_try_on.ts:10
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #eee766f1c629d5b4 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/register_files.ts:9
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;

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

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

low env_fs dependency Excluded from app score #18b36c904fee00bf Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/register_files.ts:10
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #348d1d0bb351fb86 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/segment_image.ts:8
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #d0599bca352f01ee Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/segment_image.ts:9
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #1268593eaff5cef6 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/segment_image.ts:10
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #04ffaf9f6ea7be14 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/tunings.ts:8
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #f8c3b3c3b0e63c6f Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/tunings.ts:9
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #a95122bcb7412fd6 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/tunings.ts:10
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #6aad51de4bcc4dc6 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/upscale_image.ts:8
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_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 dependency Excluded from app score #99fa1eff68f37b2f Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/upscale_image.ts:9
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION;

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

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

low env_fs dependency Excluded from app score #dddfa45bc410aea1 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/sdk-samples/upscale_image.ts:10
const GOOGLE_GENAI_USE_VERTEXAI = process.env.GOOGLE_GENAI_USE_VERTEXAI;

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

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

low env_fs dependency Excluded from app score #cbe24098983bfdd1 Filesystem access.
pkgs/npm/@[email protected]__reposrc/src/node/_node_downloader.ts:7
import {createWriteStream} 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 #20107d2486e482fa Filesystem access.
pkgs/npm/@[email protected]__reposrc/src/node/_node_downloader.ts:8
import {writeFile} 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 dependency Excluded from app score #7ed6eb33995e2834 Filesystem access.
pkgs/npm/@[email protected]__reposrc/src/node/_node_downloader.ts:39
          await writeFile(params.downloadPath, response as string, {
            encoding: 'base64',
          });

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

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

low env_fs dependency Excluded from app score #76b604d65a2fc198 Filesystem access.
pkgs/npm/@[email protected]__reposrc/src/node/_node_tokenizer_platform.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 dependency Excluded from app score #8629f9e336c851ad Filesystem access.
pkgs/npm/@[email protected]__reposrc/src/node/_node_tokenizer_platform.ts:34
      const data = 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 dependency Excluded from app score #a254c0f568e9faed Filesystem access.
pkgs/npm/@[email protected]__reposrc/src/node/_node_tokenizer_platform.ts:55
      await fs.writeFile(tmpPath, 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 #ab2e51066c77e2d2 Filesystem access.
pkgs/npm/@[email protected]__reposrc/src/node/_node_uploader.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.

axios

npm dependency
medium pii_flow dependency Excluded from app score #e77afca77f6151cb 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-iroaz4z7/pkgs/npm/[email protected]/lib/adapters/http.js:861 → /tmp/closeopen-iroaz4z7/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 #d293e6096c345df1 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 #edba7df093de8b1e 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 #0f75f01707ae5d24 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 #1677879081de8c54 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 #374906954e6d5d88 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 #e9c5b1f428f97db0 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 #544f192eeb500cd6 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 #a5f295dae78079b8 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 #8dac95bb4436ce11 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 #c968f29c1359af22 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 #f125c06facd41032 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 #255f57159fe10bf4 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 #1fe2827a8f6cd74b 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 #59f83071af5e286a 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 #4c5f917affd335d6 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 #cc9cb6b5d81ac873 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 #21a37d9df61b326e 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 #8a62dadf9e0b9dc5 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 #21eb1fbc09f02a11 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 #a8ede9d07093bfdf 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 #6881fa3c4c772d66 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 #729158e9bed4c09f 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 #b659b1a2e6e9fe2f 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 #229f0fd6ea7370f0 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 #5b09f882fdf506f1 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 #82ed8204b61095b2 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 #dbd86dcf99f241a1 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 #0881bce82d4f46a7 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 #b6b21318be2f2832 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 #bc3b1cc5082c829d 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 #aa0d8d29a6ead48a 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 #d3c28f235c83243a 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 #141fa4674796a91d 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 #1a811cfec401ec59 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 #be0da01943aa939d 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 #f7476a994fbe7edf 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 #4deddc8eb9025a80 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 #bde99ac0dc47344c 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 #5cd660d7de5ac1a1 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 #fbd3fda51472e050 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 #be1f1e465f59ea61 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 #5257501ecac408d0 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 #24afc78f7edc414d 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 #03c0c26fdaf6eb5f 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 #4c08f6c77f3ed33d 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 #529311561880816b 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 #dc31c02f841c0741 Environment-variable access.
pkgs/npm/@[email protected]/dist-cjs/index.js:246
    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 #b94ca5fd64eaa9ab 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.

@mistralai/mistralai

npm dependency
expand_more 41 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #4908e393ce04b1c0 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 #10c82c25ff41f3a8 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 #1f24eaa2627097e8 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 #769e947a1d5d1bf6 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 #e84ea9e3c24da7f8 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 #d1f13b28aa985fd2 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 #35b0357167e86343 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 #aee2f6f8cce20689 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 #1203f8b8530c89cd 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 #05c51c8832f3ab7c 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 #4b7d3c6ada9f15b2 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 #8bee8838e7a1170a 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 #dfb1cc3f6a08c1d5 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 #c374fba9b04d27ce 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 #6806187dc8ed0f79 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 #7f4d0f6f571dc46a 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 #5cc7c1e76005c79a 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 #e1dda13cbf74a0d1 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 #1a0193e0674cef70 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 #d448e6921849e97e 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 #22c3976e2e36ffbe 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 #da7b68575d2909e5 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 #2016b60c1dc6944c 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 #2ea4def3e15663d7 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 #5ede63e4b9b592cb 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 #06badd70f78a7a92 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 #05a4c44190bdae52 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 #671340096ae03503 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 #246e0c35fe318667 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 #125ab806cbea711c 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 #5396c9f8d401c758 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 #0c8f223709e7695b 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 #8cecc8d50667982e 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 #5e8683a68dc60734 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 #171d03b31db1beb5 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 #7ecb6969ffc2fabc 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 #66fe648ce0ad5aac 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 #5ff2bae39b223adb 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 #b69e85480c3642ff 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 #56d9066b6c430a90 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 #236bdf4794e5b64c 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.

@qdrant/js-client-rest

npm dependency
expand_more 6 low-confidence finding(s)
low env_fs dependency Excluded from app score #9645a448fd3965e3 Filesystem access.
pkgs/npm/@[email protected]__reposrc/rollup.config.js:5
import {writeFile} 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 dependency Excluded from app score #5fc0b551a39cfce3 Filesystem access.
pkgs/npm/@[email protected]__reposrc/rollup.config.js:9
    buildEnd: () => writeFile('dist/cjs/package.json', '{"type":"commonjs"}'),

Reads environment variables or the filesystem — an inventory-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 #fed6e488b90b5b7e Filesystem access.
pkgs/npm/@[email protected]__reposrc/scripts/generate_client_construction.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 #81eb12c50fa3262c Filesystem access.
pkgs/npm/@[email protected]__reposrc/scripts/generate_client_construction.ts:3
const openapiFile = fs.readFileSync('./src/openapi/generated_schema.ts', '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 #147a3800cb3f39d4 Filesystem access.
pkgs/npm/@[email protected]__reposrc/scripts/generate_client_construction.ts:341
fs.writeFileSync('./src/openapi/generated_client_type.ts', generatedTypeFile);

Reads environment variables or the filesystem — an inventory-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 #733f858cf70eaace Filesystem access.
pkgs/npm/@[email protected]__reposrc/scripts/generate_client_construction.ts:387
fs.writeFileSync('./src/openapi/generated_api_client.ts', generatedConstructorFile);

Reads environment variables or the 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 #e187278a48141fba 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 #97ac1e5e561ec3ad 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 #d3a9edad60d98349 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 #38362bb9218bdab0 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 #68417d91af10a487 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 #efa284610f83aba9 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 #e3c8206a3f9baf3b 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 #ddf6d1ceae74b585 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 #89434e40ba8e1aad 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 #8c317da21d78eb3e 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 #aa5f19814d9661af 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 #3fd5428376a77ea5 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 #d6a8446b747ed4b8 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 #b37534eee67c0ae7 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 #99500a75159692bd 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 #15bb9c914605f331 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 #caf1d607bbecb184 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 #fe37a29bf2143029 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 #6611294ffa22fcea 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 #3cceeecc27e43e8a 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.

ai-sdk-provider-poe

npm dependency
expand_more 21 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #ebb5e219d831a7ff Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/build.ts:2
import { readFileSync } 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 #f8297da0b98672aa Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/build.ts:5
const pkg = JSON.parse(readFileSync("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 tooling Excluded from app score unknown #e70bedadd8280195 Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/dev-models.ts:90
    readFileSync(new URL("../src/data/bundled-routing.json", import.meta.url), "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 #56b4deadf70d90e5 Environment-variable access.
pkgs/npm/[email protected]__reposrc/scripts/dev-models.ts:999
  port = Number(process.env.PORT ?? 3456),

Reads environment variables or the filesystem — an inventory-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 #0718becd939d32df Environment-variable access.
pkgs/npm/[email protected]__reposrc/scripts/probe-workarounds.ts:14
const apiKey = process.env.POE_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 #2464c2330e3b96bc Environment-variable access.
pkgs/npm/[email protected]__reposrc/scripts/probe-workarounds.ts:20
const baseURL = process.env.POE_BASE_URL ?? "https://api.poe.com/v1";

Reads environment variables or the filesystem — an inventory-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 #08da97b3d63eb00d Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/publish.ts:2
import { readFileSync, 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 tooling Excluded from app score unknown #74e616bb2cf872e6 Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/publish.ts:10
const originalPkg = readFileSync("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 tooling Excluded from app score unknown #7b60d538fee45d19 Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/publish.ts:16
  writeFileSync("package.json", JSON.stringify(pkg, 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 tooling Excluded from app score unknown #c5659a3a797b323d Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/publish.ts:20
  writeFileSync("package.json", originalPkg);

Reads environment variables or the filesystem — an inventory-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 #51a9861bd8f767ec Environment-variable access.
pkgs/npm/[email protected]__reposrc/scripts/snapshots.ts:13
  return process.env.POE_SNAPSHOT_DIR?.trim() || ".snapshots";

Reads environment variables or the filesystem — an inventory-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 #522eb5067562aaad Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/snapshots.ts:29
  const raw = await fs.readFile(accessedKeysPath, "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 egress tooling Excluded from app score unknown #8dc4bd4e17c5f465 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/scripts/update-bundled-routing.ts:15
const res = await fetch(API_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 #2d2c248aca008556 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middlewares/patch-output-text.test.ts:35
    const res = await fetch("https://api.poe.com/v1/responses", {});

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 #86f557d4d2de1b57 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middlewares/patch-output-text.test.ts:49
    const res = await fetch("https://api.poe.com/v1/responses", {});

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 #20115148aa56c3e7 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middlewares/patch-output-text.test.ts:67
    const res = await fetch("https://api.poe.com/v1/responses", {});

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 #45c208a3e83d68e4 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middlewares/patch-output-text.test.ts:77
    const res = await fetch("https://api.poe.com/v1/chat/completions", {});

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 #5559875ea67333f2 Filesystem access.
pkgs/npm/[email protected]__reposrc/src/poe-provider.openai.integration.test.ts:4
import { readFileSync } 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 #27b491620b28aa12 Filesystem access.
pkgs/npm/[email protected]__reposrc/src/poe-provider.openai.integration.test.ts:10
const bannerImage = readFileSync(
  new URL("./test/fixtures/banner.jpg", 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 egress dependency Excluded from app score #69e178c4a199f89b Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/poe-provider.openai.integration.test.ts:254
              image: new URL(
                "https://raw.githubusercontent.com/poe-platform/ai-sdk-provider-poe/refs/heads/main/tests/fixtures/banner.jpg"
              ),

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 #bce3dac1c7ce64a9 Environment-variable access.
pkgs/npm/[email protected]__reposrc/vitest.config.ts:4
const isRecordMode = process.env.POE_SNAPSHOT_MODE === "record" || cliTags.includes("snapshot:record");

Reads environment variables or the 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 #fb8d2c32e950ae9c 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 #4e691f53567a278e 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.

exceljs

npm dependency
expand_more 6 low-confidence finding(s)
low env_fs dependency Excluded from app score #b742cd6c2d8035ce 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 #6f4370e0d7bb28f4 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 #d47590ce0c8cddf9 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 #7981605735c0b181 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 #7feb2ec6bf8f4f74 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 #8445cda620a91be9 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 #f59541b3c941cb36 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 #8a720623143e2082 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 #bef324f719742a70 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 #efae3342bef0e867 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 #a83e3781d8808539 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 #865525f7c90fec34 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 #5c6d48f52181f4fa 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 #253637cad496db0f 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 #3e2ac2eafc66237b 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.

global-agent

npm dependency
expand_more 24 low-confidence finding(s)
low env_fs dependency Excluded from app score #7d42c7f01b7b262a Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/classes/Agent.ts:112
    const rejectUnauthorized = 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 dependency Excluded from app score #30cfb2f8d28cd324 Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:62
const defaultNodeTlsRejectUnauthorized = 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 dependency Excluded from app score #11f39d5fdeb0ab0d Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:136
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = defaultNodeTlsRejectUnauthorized;

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

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

low env_fs dependency Excluded from app score #800bd468b5b6743d Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:343
  process.env.GLOBAL_AGENT_FORCE_GLOBAL_AGENT = '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 #350bca16888b738c Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:359
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = 'null';

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

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

low env_fs dependency Excluded from app score #1b618e8db620db1f Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:371
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = 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 #c4cd39a778f9c223 Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:385
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = 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 #674c7de755a3d08a Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:399
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = 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 #8d40db8862064f08 Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:411
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = 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 #7373991465edcfce Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:422
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = 'yes';

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

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

low env_fs dependency Excluded from app score #7a8c48e83b27e40e Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:433
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = 'no';

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

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

low env_fs dependency Excluded from app score #986d85fc33dcdd45 Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:461
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = '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 #5de93fa2ea74a831 Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:480
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = '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 #018370aceab53232 Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:499
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = '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 #40eb36b7dfeacc73 Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:518
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = '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 #20cb05e28d66f31c Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:538
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = '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 #687db167c1f28057 Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:554
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = '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 #e6e928fcc3d8f8f4 Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:586
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = '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 #32f374ad71b8c785 Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:687
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = '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 #0c7548929ec1e6cb Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:713
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = '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 #a9518a44973dc592 Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.test.ts:745
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = '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 #0d4aa69753c6577a Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.ts:70
  proxyController.HTTP_PROXY = process.env[configuration.environmentVariableNamespace + 'HTTP_PROXY'] ?? null;

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

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

low env_fs dependency Excluded from app score #65c0aefe9cc87a89 Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.ts:73
  proxyController.HTTPS_PROXY = process.env[configuration.environmentVariableNamespace + 'HTTPS_PROXY'] ?? null;

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

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

low env_fs dependency Excluded from app score #1147d55cb58d6295 Environment-variable access.
pkgs/npm/[email protected]__reposrc/src/factories/createGlobalProxyAgent.ts:76
  proxyController.NO_PROXY = process.env[configuration.environmentVariableNamespace + 'NO_PROXY'] ?? null;

Reads environment variables or the 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 #8e0e1cd10ce2f53f 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 #dd633bf58d1510b9 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.

mammoth

npm dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #7873a25a10f76416 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 #4df0070c91236723 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 #cd92d55bb7ed0b28 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 #a0826d24696684c2 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 #0b445651650b086b 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 #31ce8963b70b4e2e 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 #6e0f90b64a2b857c 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 #90fe04874de7aab6 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 #98d0e730f1ae93f2 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 #e21ef7c39c0ba21f 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 #1c803eaf0bd03469 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 #f0b8ed05f30c8ab5 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 #f0316d39552b5f8a 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 #bc8f1d09d90641e3 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 #da22c50efb80d9db 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 #02389da07c5420cb 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 #f3a36faee4ed1a3c 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 #74cdf50fb146f584 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 #3fbf9fb0e284bf41 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 #34b21d3f0164f3ff 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 #a6dcd9e3e2f7a7a1 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 #6d39aca0c1f70603 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 #6e99d30faa5bf011 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 #d2a66af7bd752517 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 #cf81670990a4a791 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 #51c1fd6895bc9623 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 #2a01bfc85a391a35 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 #26d7ff579bf0a333 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 #9e9e6b57fd0384bd 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 #e703da170a3fcb7d 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 #72ea955ed7df3769 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 #af573f31e9122c5f 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 #2f4966cab52dc216 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 #2fd9434409bf23ea 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 #9393e3f1fa7e2de6 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 #32f935409bafe314 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 #add4e9faa6ba4524 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 #76b5e3967f1384dd 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 #da247725119c4f10 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.

Skipped dependencies

Production

  • @lmstudio/sdk prod — dist-only: no readable source
  • @roo-code/core prod — registry 404
  • @roo-code/ipc prod — registry 404
  • fzf prod — dist-only: no readable source
  • ollama prod — scan budget exceeded
  • openai prod — scan budget exceeded
  • os-name prod — scan budget exceeded
  • p-limit prod — scan budget exceeded
  • p-wait-for prod — scan budget exceeded
  • partial-json prod — scan budget exceeded
  • pdf-parse prod — scan budget exceeded
  • pkce-challenge prod — scan budget exceeded
  • pretty-bytes prod — scan budget exceeded
  • proper-lockfile prod — scan budget exceeded
  • ps-tree prod — scan budget exceeded
  • puppeteer-chromium-resolver prod — scan budget exceeded
  • puppeteer-core prod — scan budget exceeded
  • reconnecting-eventsource prod — scan budget exceeded
  • safe-stable-stringify prod — scan budget exceeded
  • sambanova-ai-provider prod — scan budget exceeded
  • sanitize-filename prod — scan budget exceeded
  • say prod — scan budget exceeded
  • semver-compare prod — scan budget exceeded
  • serialize-error prod — scan budget exceeded
  • shell-quote prod — scan budget exceeded
  • simple-git prod — scan budget exceeded
  • sound-play prod — scan budget exceeded
  • stream-json prod — scan budget exceeded
  • string-similarity prod — scan budget exceeded
  • strip-ansi prod — scan budget exceeded
  • strip-bom prod — scan budget exceeded
  • tiktoken prod — scan budget exceeded
  • tmp prod — scan budget exceeded
  • tree-sitter-wasms prod — scan budget exceeded
  • turndown prod — scan budget exceeded
  • undici prod — scan budget exceeded
  • uuid prod — scan budget exceeded
  • vscode-material-icons prod — scan budget exceeded
  • web-tree-sitter prod — scan budget exceeded
  • workerpool prod — scan budget exceeded
  • yaml prod — scan budget exceeded
  • zhipu-ai-provider prod — scan budget exceeded
  • zod prod — scan budget exceeded
  • @radix-ui/react-alert-dialog prod — scan budget exceeded
  • @radix-ui/react-checkbox prod — scan budget exceeded
  • @radix-ui/react-collapsible prod — scan budget exceeded
  • @radix-ui/react-dialog prod — scan budget exceeded
  • @radix-ui/react-dropdown-menu prod — scan budget exceeded
  • @radix-ui/react-icons prod — scan budget exceeded
  • @radix-ui/react-popover prod — scan budget exceeded
  • @radix-ui/react-portal prod — scan budget exceeded
  • @radix-ui/react-progress prod — scan budget exceeded
  • @radix-ui/react-radio-group prod — scan budget exceeded
  • @radix-ui/react-select prod — scan budget exceeded
  • @radix-ui/react-separator prod — scan budget exceeded
  • @radix-ui/react-slider prod — scan budget exceeded
  • @radix-ui/react-slot prod — scan budget exceeded
  • @radix-ui/react-tooltip prod — scan budget exceeded
  • @tailwindcss/vite prod — scan budget exceeded
  • @tanstack/react-query prod — scan budget exceeded
  • @vscode/webview-ui-toolkit prod — scan budget exceeded
  • ansi-to-html prod — scan budget exceeded
  • class-variance-authority prod — scan budget exceeded
  • clsx prod — scan budget exceeded
  • cmdk prod — scan budget exceeded
  • date-fns prod — scan budget exceeded
  • debounce prod — scan budget exceeded
  • hast-util-to-jsx-runtime prod — scan budget exceeded
  • i18next-http-backend prod — scan budget exceeded
  • katex prod — scan budget exceeded
  • knuth-shuffle-seeded prod — scan budget exceeded
  • lru-cache prod — scan budget exceeded
  • lucide-react prod — scan budget exceeded
  • mermaid prod — scan budget exceeded
  • react prod — scan budget exceeded
  • react-compiler-runtime prod — scan budget exceeded
  • react-dom prod — scan budget exceeded
  • react-i18next prod — scan budget exceeded
  • react-icons prod — scan budget exceeded
  • react-markdown prod — scan budget exceeded
  • react-remark prod — scan budget exceeded
  • react-textarea-autosize prod — scan budget exceeded
  • react-use prod — scan budget exceeded
  • react-virtuoso prod — scan budget exceeded
  • rehype-highlight prod — scan budget exceeded
  • rehype-katex prod — scan budget exceeded
  • remark-gfm prod — scan budget exceeded
  • remark-math prod — scan budget exceeded
  • remove-markdown prod — scan budget exceeded
  • shiki prod — scan budget exceeded
  • source-map prod — scan budget exceeded
  • stacktrace-js prod — scan budget exceeded
  • styled-components prod — scan budget exceeded
  • tailwind-merge prod — scan budget exceeded
  • tailwindcss prod — scan budget exceeded
  • tailwindcss-animate prod — scan budget exceeded
  • unist-util-visit prod — scan budget exceeded
  • use-sound prod — scan budget exceeded
  • vscrui prod — scan budget exceeded
  • @inkjs/ui prod — scan budget exceeded
  • @roo-code/vscode-shim prod — scan budget exceeded
  • @trpc/client prod — scan budget exceeded
  • @vscode/ripgrep prod — scan budget exceeded
  • commander prod — scan budget exceeded
  • cross-spawn prod — scan budget exceeded
  • fuzzysort prod — scan budget exceeded
  • ink prod — scan budget exceeded
  • superjson prod — scan budget exceeded
  • zustand prod — scan budget exceeded
  • @docusaurus/core prod — scan budget exceeded
  • @docusaurus/plugin-client-redirects prod — scan budget exceeded
  • @docusaurus/plugin-content-docs prod — scan budget exceeded
  • @docusaurus/plugin-sitemap prod — scan budget exceeded
  • @docusaurus/preset-classic prod — scan budget exceeded
  • @docusaurus/theme-common prod — scan budget exceeded
  • @easyops-cn/autocomplete.js prod — scan budget exceeded
  • @easyops-cn/docusaurus-search-local prod — scan budget exceeded
  • @mdx-js/react prod — scan budget exceeded
  • prism-react-renderer prod — scan budget exceeded