Close Open Privacy Scan

bolt Snapshot: commit fa97539
science engine v3
schedule 2026-07-14T00:09:29.107142+00:00
update Scan engine updated since this result

verified_user Application data leak confirmed

High-confidence data exfiltration identified in application code.

App Privacy Score

22 /100
High privacy risk — application leak confirmed

High risk · 4763 finding(s)

Dependency score: 82 (Low risk)

bar_chart Score Breakdown

pii_flow −60
egress −15
env_fs −3

list Scan Summary

6 high 1 medium 4756 low
First-party packages: 8
Dependency packages: 23
Ecosystem: npm

swap_horiz Confirmed data exfiltration in application code

External domains: auth.example.comcustom-endpoint.comelinux.orggemini.proxygithub.comjsonplaceholder.typicode.comlearn.microsoft.commarketplace.visualstudio.comnpm.pkg.github.comtest-servertest-server-httpvertex.proxywww.googleapis.comwww.raspberrypi.orgxn--tst-qla.com

high first-party (npm) User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/packages/a2a-server/src/http/app.ts:228 repo/packages/a2a-server/src/http/app.ts:263
high first-party (npm) User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/packages/a2a-server/src/http/app.ts:228 repo/packages/a2a-server/src/http/app.ts:289
high first-party (npm) User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/packages/core/src/utils/oauth-flow.ts:472 repo/packages/core/src/utils/oauth-flow.ts:472
high first-party (npm): packages/core User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/packages/core/src/utils/oauth-flow.ts:472 repo/packages/core/src/utils/oauth-flow.ts:472
high first-party (npm): packages/a2a-server User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/packages/a2a-server/src/http/app.ts:228 repo/packages/a2a-server/src/http/app.ts:263
high first-party (npm): packages/a2a-server User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/packages/a2a-server/src/http/app.ts:228 repo/packages/a2a-server/src/http/app.ts:289
hub Dependency data flows (1)
medium winston 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/winston/transports/http.js:249 pkgs/npm/[email protected]/lib/winston/transports/http.js:242

</> First-Party Code

first-party (npm)

npm first-party
high pii_flow production #3209543f99c03418 User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/packages/a2a-server/src/http/app.ts:263 · flow /tmp/closeopen-1vr2qt40/repo/packages/a2a-server/src/http/app.ts:228 → /tmp/closeopen-1vr2qt40/repo/packages/a2a-server/src/http/app.ts:263
    expressApp.post('/tasks', async (req, res) => {
      try {
        const taskId = uuidv4();
        // eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion
        const agentSettings = req.body.agentSettings as
          | AgentSettings
          | undefined;
        // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
        const contextId = req.body.contextId || uuidv4();
        const wrapper = await agentExecutor.createTask(
          taskId,
          contextId,
          agentSettings,
        );
        await taskStoreForExecutor.save(wrapper.toSDKTask());
        res.status(201).json(wrapper.id);
      } catch (error) {
        logger.error('[CoreAgent] Error creating task:', error);
        const errorMessage =
          error instanceof Error
            ? error.message
            : 'Unknown error creating task';
        res.status(500).send({ error: errorMessage });
      }
    });

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 #b174d9501c91daea User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/packages/a2a-server/src/http/app.ts:289 · flow /tmp/closeopen-1vr2qt40/repo/packages/a2a-server/src/http/app.ts:228 → /tmp/closeopen-1vr2qt40/repo/packages/a2a-server/src/http/app.ts:289
    expressApp.post('/executeCommand', (req, res) => {
      void handleExecuteCommand(req, res, context);
    });

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 #f02efecb770edee7 User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/packages/core/src/utils/oauth-flow.ts:472 · flow /tmp/closeopen-1vr2qt40/repo/packages/core/src/utils/oauth-flow.ts:472 → /tmp/closeopen-1vr2qt40/repo/packages/core/src/utils/oauth-flow.ts:472
  const response = await fetch(config.tokenUrl, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
      Accept: 'application/json, 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 2473 low-confidence finding(s)
low env_fs production #6aada3f538c34eb1 Environment-variable access.
repo/.github/scripts/apply-issue-labels.cjs:61
  const effortRaw = process.env.LABELS_OUTPUT_EFFORT;

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

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

low env_fs production #0a8d0807d5a4facd Environment-variable access.
repo/.github/scripts/apply-issue-labels.cjs:62
  const standardRaw = process.env.LABELS_OUTPUT_STANDARD;

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

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

low env_fs production #d2c7a55d526098bb Environment-variable access.
repo/.github/scripts/apply-issue-labels.cjs:63
  const genericRaw = process.env.LABELS_OUTPUT;

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

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

low env_fs production #e223fb5746a47696 Filesystem access.
repo/.github/scripts/cleanup-triage-labels.cjs:12
    const fileContent = fs.readFileSync('issues_to_cleanup.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 #521e27862fb11715 Environment-variable access.
repo/.github/scripts/gemini-lifecycle-manager.cjs:15
  const dryRun = process.env.DRY_RUN === '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 #e85538ca3bfa0322 Filesystem access.
repo/.github/scripts/sync-issue-types.cjs:88
    fs.writeFileSync(
      'no_type_issues.json',
      JSON.stringify(issuesNeedingAnalysis),
    );

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

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

low env_fs production #e4a6d354a2f68914 Environment-variable access.
repo/.github/scripts/sync-maintainer-labels.cjs:32
  process.argv.includes('--dry-run') || process.env.DRY_RUN === '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 #923034969578188f Environment-variable access.
repo/.github/scripts/sync-maintainer-labels.cjs:35
  auth: process.env.GITHUB_TOKEN,

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

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

low env_fs production #2005c7c591c54cf6 Environment-variable access.
repo/esbuild.config.js:97
      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 #3797cdf81326a168 Environment-variable access.
repo/esbuild.config.js:99
    'process.env.DEV': JSON.stringify(process.env.DEV || '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 production #45d85dd47d95cef6 Environment-variable access.
repo/esbuild.config.js:137
      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 #5532cb191ad5b955 Environment-variable access.
repo/esbuild.config.js:156
      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 #162b84f8e59fc6bf Environment-variable access.
repo/esbuild.config.js:158
    'process.env.DEV': JSON.stringify(process.env.DEV || '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 production #8aabf8c14a94e146 Environment-variable access.
repo/esbuild.config.js:166
    if (process.env.DEV === '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 #4379c074be1195ce Filesystem access.
repo/esbuild.config.js:167
      writeFileSync('./bundle/esbuild.json', JSON.stringify(metafile, 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 #c93e0a36396fb547 Filesystem access.
repo/evals/answer-vs-act.eval.ts:37
      const content = rig.readFile('app.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 production #6e4a1bea50182ef0 Filesystem access.
repo/evals/answer-vs-act.eval.ts:63
      const content = rig.readFile('app.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 production #0c5815d2b689f084 Filesystem access.
repo/evals/answer-vs-act.eval.ts:88
      const content = rig.readFile('app.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 production #a7912573607c6a0e Filesystem access.
repo/evals/answer-vs-act.eval.ts:113
      const content = rig.readFile('app.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 production #8f11002a075d993c Filesystem access.
repo/evals/answer-vs-act.eval.ts:138
      const content = rig.readFile('app.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 production #24c5e68f1ced0878 Filesystem access.
repo/evals/answer-vs-act.eval.ts:164
      const content = rig.readFile('app.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 production #fb1094e50345dbc7 Filesystem access.
repo/evals/app-test-helper.ts:95
          await fs.promises.writeFile(logFile, output);

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

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

low env_fs production #241ce6b0b87e6e66 Filesystem access.
repo/evals/auto_memory_contract.eval.ts:112
    await fsp.writeFile(
      path.join(chatsDir, filename),
      JSON.stringify(conversation, 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 #7aac9a7b3bd4f891 Filesystem access.
repo/evals/auto_memory_contract.eval.ts:147
            await fsp.readFile(path.join(dir, 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 #5d5e4e8b7947a8bb Filesystem access.
repo/evals/auto_memory_contract.eval.ts:251
      await fsp.writeFile(
        path.join(inboxPrivate, 'extraction.patch'),
        preExistingPatch,
      );

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

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

low env_fs production #a5a0218cb4e48360 Environment-variable access.
repo/evals/auto_memory_modes.eval.ts:171
        const homeDir = process.env['GEMINI_CLI_HOME'] ?? os.homedir();

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

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

low env_fs production #f6c4ef2d4c3d6e72 Filesystem access.
repo/evals/auto_memory_modes.eval.ts:178
        await fs.writeFile(
          path.join(inboxDir, 'private', 'verify-memory.patch'),
          [
            `--- /dev/null`,
            `+++ ${privateTarget}`,
            `@@ -0,0 +1,3 @@`,
            `+# Project Memory Candidate`,
            `+`,
            `+Future agents should remember that this project verifies memory changes with \`npm run verify:memory\`.`,
            ``,
          ].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 #7b68b509a221fcef Filesystem access.
repo/evals/auto_memory_modes.eval.ts:192
        await fs.writeFile(
          path.join(inboxDir, 'global', 'reply-style.patch'),
          [
            `--- /dev/null`,
            `+++ ${globalTarget}`,
            `@@ -0,0 +1,1 @@`,
            `+User prefers concise Chinese architecture plans.`,
            ``,
          ].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 #77ce3cdb1fb44ee7 Filesystem access.
repo/evals/auto_memory_modes.eval.ts:308
  await fs.writeFile(
    sessionFilePath,
    [
      {
        sessionId,
        projectHash: 'auto-memory-eval',
        summary: 'Capture durable auto memory routing behavior',
        startTime: oldTimestamp,
        lastUpdated: oldTimestamp,
        kind: 'main',
      },
      ...messages,
    ]
      .map((record) => JSON.stringify(record))
      .join('\n') + '\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 #9f99bde3167cec2e Filesystem access.
repo/evals/auto_memory_modes.eval.ts:346
    raw = await fs.readFile(statePath, 'utf-8');

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

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

low env_fs production #71f14aaee2bdb8ef Filesystem access.
repo/evals/auto_memory_modes.eval.ts:426
      await expect(fs.readFile(privatePatchPath, 'utf-8')).resolves.toContain(

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

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

low env_fs production #f9d3fe63280bc371 Filesystem access.
repo/evals/auto_memory_modes.eval.ts:429
      await expect(fs.readFile(globalPatchPath, 'utf-8')).resolves.toContain(

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

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

low env_fs production #26d37bdf65c14929 Filesystem access.
repo/evals/file_creation_behavior.eval.ts:37
      const indexContent = rig.readFile('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 production #9667c9dd80019d9d Filesystem access.
repo/evals/file_creation_behavior.eval.ts:40
      const pkgContent = rig.readFile('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 production #f255cdb8f4754f76 Filesystem access.
repo/evals/file_creation_behavior.eval.ts:44
      const loggerContent = rig.readFile('src/logger.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 production #a3e445c27e885626 Filesystem access.
repo/evals/file_creation_behavior.eval.ts:105
      const configContent = rig.readFile('config.json');

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

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

low env_fs production #c290e39b38f16fae Filesystem access.
repo/evals/file_creation_behavior.eval.ts:125
      const validatorContent = rig.readFile('src/auth/validator.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 production #e5121d10ff77fc35 Filesystem access.
repo/evals/file_creation_behavior.eval.ts:126
      const typesContent = rig.readFile('src/auth/types.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 production #119ce7771d348a7a Filesystem access.
repo/evals/generalist_agent.eval.ts:50
      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 #594c1f9f6a922377 Filesystem access.
repo/evals/redundant_casts.eval.ts:51
      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 #9f7c9166288792f4 Filesystem access.
repo/evals/skill_extraction.eval.ts:320
    await fsp.writeFile(
      path.join(chatsDir, filename),
      JSON.stringify(conversation, 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 #380a6ea16d8c359f Filesystem access.
repo/evals/skill_extraction.eval.ts:336
  const raw = await fsp.readFile(statePath, 'utf-8');

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

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

low env_fs production #d7a0d3e7b6a188e0 Filesystem access.
repo/evals/skill_extraction.eval.ts:567
  await fsp.writeFile(outputPath, `${JSON.stringify(report, 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 #80721b4423577db4 Filesystem access.
repo/evals/skill_extraction.eval.ts:583
          await fsp.readFile(
            path.join(skillsDir, entry.name, 'SKILL.md'),
            'utf-8',
          ),

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

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

low env_fs production #522dc8593a7d9ddf Environment-variable access.
repo/evals/skill_extraction.eval.ts:658
    process.env['SCRATCHPAD_STATS_TRIALS'] ?? '8',

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

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

low env_fs production #83a41ffa01bd450b Environment-variable access.
repo/evals/skill_extraction.eval.ts:860
  if (process.env['RUN_SCRATCHPAD_STATS'] === '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 #e25b30ab5f158e4f Filesystem access.
repo/evals/subagents.eval.ts:69
  return fs.readFileSync(path.join(rig.testDir!, relativePath), '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 #d513059f7ed66416 Filesystem access.
repo/evals/subtask_delegation.eval.ts:79
      const logicFile = rig.readFile('src/logic.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 production #5ec786bae4d69f34 Filesystem access.
repo/evals/subtask_delegation.eval.ts:80
      const docFile = rig.readFile('docs/logic.md');

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

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

low env_fs production #4ffb76e527155141 Filesystem access.
repo/evals/test-helper.test.ts:63
    const logContent = fs
      .readFileSync(RELIABILITY_LOG, 'utf-8')

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

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

low env_fs production #aa4e26d12988799b Filesystem access.
repo/evals/test-helper.test.ts:126
    const logContent = fs
      .readFileSync(RELIABILITY_LOG, 'utf-8')

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

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

low env_fs production #7b94637694141cee Filesystem access.
repo/evals/test-helper.test.ts:153
    const logContent = fs
      .readFileSync(RELIABILITY_LOG, 'utf-8')

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

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

low env_fs production #20882a2a54023527 Environment-variable access.
repo/evals/test-helper.ts:30
  process.env['GEMINI_MODEL'] || PREVIEW_GEMINI_FLASH_MODEL;

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

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

low env_fs production #7a12f6f9a850706a Environment-variable access.
repo/evals/test-helper.ts:129
        const originalGeminiHome = process.env['GEMINI_CLI_HOME'];

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

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

low env_fs production #4cf7ca14414525ed Environment-variable access.
repo/evals/test-helper.ts:130
        process.env['GEMINI_CLI_HOME'] = rig.homeDir!;

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

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

low env_fs production #e79f54567db68f46 Filesystem access.
repo/evals/test-helper.ts:150
          fs.writeFileSync(
            path.join(chatsDir, filename),
            JSON.stringify(conversation, 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 #199acbbdf6914a99 Environment-variable access.
repo/evals/test-helper.ts:160
            delete process.env['GEMINI_CLI_HOME'];

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

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

low env_fs production #f8e8293b738a1ad6 Environment-variable access.
repo/evals/test-helper.ts:162
            process.env['GEMINI_CLI_HOME'] = originalGeminiHome;

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

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

low env_fs production #3e08002dc3f0973a Filesystem access.
repo/evals/test-helper.ts:198
        await fs.promises.writeFile(stderrFile, rig._lastRunStderr);

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

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

low env_fs production #722a9690025f8d5e Filesystem access.
repo/evals/test-helper.ts:201
      await fs.promises.writeFile(
        logFile,
        JSON.stringify(rig.readToolLogs(), 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 #068c2ccfd481be3d Environment-variable access.
repo/evals/test-helper.ts:245
    model: process.env['GEMINI_MODEL'] || '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 #a735f53fac0e0588 Filesystem access.
repo/evals/test-helper.ts:289
    fs.writeFileSync(fullPath, 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 #4a79533837a42282 Filesystem access.
repo/evals/test-helper.ts:319
    fs.writeFileSync(ackPath, JSON.stringify(acknowledgedAgents, 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 #29407ffd75cbba01 Environment-variable access.
repo/evals/test-helper.ts:348
  const targetSuiteType = process.env['EVAL_SUITE_TYPE'];

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

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

low env_fs production #12504098d2cbde9c Environment-variable access.
repo/evals/test-helper.ts:349
  const targetSuiteName = process.env['EVAL_SUITE_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 #3225e7a4c303250d Environment-variable access.
repo/evals/test-helper.ts:363
    !process.env['RUN_EVALS'] &&

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

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

low env_fs production #d4f5207558f9d912 Filesystem access.
repo/evals/tool_output_masking.eval.ts:65
      fs.writeFileSync(
        outputFilePath,
        `Some padding...\nThe secret key is: ${secretValue}\nMore padding...`,
      );

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

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

low env_fs production #be7a367c7cc42460 Filesystem access.
repo/evals/tool_output_masking.eval.ts:128
      fs.writeFileSync(sessionFile, JSON.stringify(conversation, 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 #e1552919e68a2984 Filesystem access.
repo/evals/tool_output_masking.eval.ts:132
      fs.writeFileSync(
        path.join(settingsDir, 'trustedFolders.json'),
        JSON.stringify(
          {
            [path.resolve(rig.homeDir!)]: 'TRUST_FOLDER',
          },
          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 #9bc5deb322332332 Filesystem access.
repo/evals/tool_output_masking.eval.ts:201
      fs.writeFileSync(
        outputFilePath,
        `Full content containing ${secretValue}`,
      );

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

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

low env_fs production #0dd7b8f4bc0df331 Filesystem access.
repo/evals/tool_output_masking.eval.ts:265
      fs.writeFileSync(sessionFile, JSON.stringify(conversation, 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 #bb99c5b597e5a57b Filesystem access.
repo/evals/tool_output_masking.eval.ts:268
      fs.writeFileSync(
        path.join(settingsDir, 'trustedFolders.json'),
        JSON.stringify(
          {
            [path.resolve(rig.homeDir!)]: 'TRUST_FOLDER',
          },
          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 #945758f359d1f248 Filesystem access.
repo/evals/tracker.eval.ts:74
      const loginContent = fs.readFileSync(
        path.join(rig.testDir!, 'src/login.js'),
        'utf-8',
      );

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

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

low env_fs production #abbafa8ba0bf5b3e Filesystem access.
repo/evals/tracker.eval.ts:113
      const loginContent = fs.readFileSync(
        path.join(rig.testDir!, 'src/login.js'),
        'utf-8',
      );

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

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

low env_fs production #18f536940b22459d Filesystem access.
repo/evals/unsafe-cloning.eval.ts:45
    const content = rig.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 #240d2bedfe63ac2a Filesystem access.
repo/integration-tests/acp-env-auth.test.ts:51
      writeFileSync(
        join(projectDir, '.env'),
        'GEMINI_API_KEY=test-key-from-env\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 #a516b94dc0258add Filesystem access.
repo/integration-tests/acp-telemetry.test.ts:112
    expect(readFileSync(telemetryPath, 'utf-8')).toContain(

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

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

low env_fs production #b9f4ef9826a53e8d Environment-variable access.
repo/integration-tests/browser-agent.test.ts:47
        `${process.env['LOCALAPPDATA'] ?? ''}\\Google\\Chrome\\Application\\chrome.exe`,

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

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

low env_fs production #2415f943dd9a6091 Environment-variable access.
repo/integration-tests/browser-policy.test.ts:41
        `${process.env['LOCALAPPDATA'] ?? ''}\\Google\\Chrome\\Application\\chrome.exe`,

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

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

low env_fs production #47ecd90bc090a1da Filesystem access.
repo/integration-tests/browser-policy.test.ts:97
      writeFileSync(
        trustedFoldersPath,
        JSON.stringify(trustedFolders, 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 #6c9feb2e3c06a61c Filesystem access.
repo/integration-tests/browser-policy.test.ts:110
      writeFileSync(
        policyFile,
        `
[[rule]]
name = "Force confirm browser_agent"
toolName = "invoke_agent"
argsPattern = "\\"agent_name\\":\\\\s*\\"browser_agent\\""
decision = "ask_user"
priority = 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 production #e26699d3a7e733a1 Filesystem access.
repo/integration-tests/browser-policy.test.ts:126
          const settings = JSON.parse(readFileSync(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 #2accda98651ebc0a Filesystem access.
repo/integration-tests/browser-policy.test.ts:132
          writeFileSync(settingsPath, JSON.stringify(settings, 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 #aa8f78c007dc188a Environment-variable access.
repo/integration-tests/checkpointing.test.ts:33
    process.env['HOME'] = fakeHome;

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

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

low env_fs production #cd8f429384ccb6d8 Environment-variable access.
repo/integration-tests/checkpointing.test.ts:34
    delete process.env['GIT_CONFIG_GLOBAL'];

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

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

low env_fs production #ed518ec302409ed6 Environment-variable access.
repo/integration-tests/checkpointing.test.ts:35
    delete process.env['GIT_CONFIG_SYSTEM'];

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

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

low env_fs production #338f5c74c34cb7f7 Filesystem access.
repo/integration-tests/checkpointing.test.ts:62
    await fs.writeFile(path.join(projectRoot, 'file1.txt'), 'version 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 #797de3de5c56edd6 Filesystem access.
repo/integration-tests/checkpointing.test.ts:63
    await fs.writeFile(path.join(projectRoot, 'file2.txt'), 'permanent 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 #4469693d1a62acf4 Filesystem access.
repo/integration-tests/checkpointing.test.ts:70
    await fs.writeFile(
      path.join(projectRoot, 'file1.txt'),
      'version 2 (BAD 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 production #44b61c4e41b57f7c Filesystem access.
repo/integration-tests/checkpointing.test.ts:74
    await fs.writeFile(
      path.join(projectRoot, 'file3.txt'),
      'new file (SHOULD BE GONE)',
    );

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

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

low env_fs production #e98461a78d97a08e Filesystem access.
repo/integration-tests/checkpointing.test.ts:84
    const file1Content = await fs.readFile(
      path.join(projectRoot, 'file1.txt'),
      'utf-8',
    );

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

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

low env_fs production #dd124107874f7175 Filesystem access.
repo/integration-tests/checkpointing.test.ts:95
    const file2Content = await fs.readFile(
      path.join(projectRoot, 'file2.txt'),
      'utf-8',
    );

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

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

low env_fs production #9c610e1fcec40bb7 Filesystem access.
repo/integration-tests/checkpointing.test.ts:115
    await fs.writeFile(globalConfigPath, globalConfigContent);

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

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

low env_fs production #fcd141bb698d609f Environment-variable access.
repo/integration-tests/checkpointing.test.ts:118
    process.env['HOME'] = fakeHome;

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

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

low env_fs production #ea7141c9988d6b95 Environment-variable access.
repo/integration-tests/checkpointing.test.ts:121
    delete process.env['GIT_CONFIG_GLOBAL'];

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

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

low env_fs production #bd03687113826115 Filesystem access.
repo/integration-tests/checkpointing.test.ts:129
    await fs.writeFile(path.join(projectRoot, 'test.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 production #a3bb8b82c4bab36e Filesystem access.
repo/integration-tests/clipboard-linux.test.ts:29
    fs.writeFileSync(dummyImagePath, Buffer.from(DUMMY_PNG_BASE64, '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 production #cb86f154fc03600f Filesystem access.
repo/integration-tests/clipboard-linux.test.ts:59
        input: fs.readFileSync(dummyImagePath),

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

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

low env_fs production #2d2f514b986c345b Filesystem access.
repo/integration-tests/context-fidelity.test.ts:90
        fs.writeFileSync(
          filePath,
          mocks.map((m) => JSON.stringify(m)).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 #d34329ac7b01ae97 Filesystem access.
repo/integration-tests/context-fidelity.test.ts:110
      fs.writeFileSync(
        path.join(rig.testDir!, '.geminiignore'),
        'traces/\nresp*.json\ndebug.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 production #2ae13de46eb80fe6 Filesystem access.
repo/integration-tests/context-fidelity.test.ts:201
          return JSON.parse(fs.readFileSync(assetPath, 'utf-8'));

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

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

low env_fs production #736078e7b6b7c1c0 Filesystem access.
repo/integration-tests/context-fidelity.test.ts:206
      const log1 = fs.readFileSync(traceLog, 'utf-8');

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

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

low env_fs production #8f0497bb66d9d339 Filesystem access.
repo/integration-tests/context-fidelity.test.ts:227
      const log2 = fs.readFileSync(traceLog, 'utf-8');

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

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

low env_fs production #444fdeb0b5a5e085 Filesystem access.
repo/integration-tests/extensions-install.test.ts:34
    writeFileSync(testServerPath, extension);

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

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

low env_fs production #b018371fca5714ab Filesystem access.
repo/integration-tests/extensions-install.test.ts:48
      writeFileSync(testServerPath, extensionUpdate);

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

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

low env_fs production #f6d0e4ab1498e05c Filesystem access.
repo/integration-tests/extensions-reload.test.ts:48
    writeFileSync(testServerPath, safeJsonStringify(extension, 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 #ed1c1fa5339167f7 Filesystem access.
repo/integration-tests/extensions-reload.test.ts:70
    writeFileSync(testServerPath, safeJsonStringify(extension, 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 #a85df603ea27c076 Filesystem access.
repo/integration-tests/file-system.test.ts:88
    const fileContent = rig.readFile('test.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 production #ae14b67f23f94517 Environment-variable access.
repo/integration-tests/file-system.test.ts:111
    if (process.env['VERBOSE'] === '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 #4d5e0c1df91e591a Filesystem access.
repo/integration-tests/file-system.test.ts:136
    const newFileContent = rig.readFile(fileName);

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

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

low env_fs production #b22cf190c3c21df4 Filesystem access.
repo/integration-tests/file-system.test.ts:174
    const newFileContent = rig.readFile(fileName);

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

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

low env_fs production #eb52bd93a2295b4d Filesystem access.
repo/integration-tests/file-system.test.ts:218
    const newFileContent = rig.readFile(fileName);

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

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

low env_fs production #14573a5b46ccd746 Environment-variable access.
repo/integration-tests/globalSetup.ts:8
if (process.env['NO_COLOR'] !== 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 #db76c3ea46efe791 Environment-variable access.
repo/integration-tests/globalSetup.ts:9
  delete process.env['NO_COLOR'];

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

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

low env_fs production #34637642deedda51 Filesystem access.
repo/integration-tests/globalSetup.ts:53
        const content = await readFile(filePath);

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

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

low env_fs production #01f25bac57b80e39 Environment-variable access.
repo/integration-tests/globalSetup.ts:103
  process.env['TEST_FIXTURE_PORT'] = String(port);

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

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

low env_fs production #cce75628edbdc174 Environment-variable access.
repo/integration-tests/globalSetup.ts:123
  process.env['INTEGRATION_TEST_FILE_DIR'] = runDir;

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

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

low env_fs production #a2cb5512427728bd Environment-variable access.
repo/integration-tests/globalSetup.ts:125
  if (process.env['KEEP_OUTPUT']) {

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

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

low env_fs production #4e368cc846d15004 Environment-variable access.
repo/integration-tests/globalSetup.ts:128
  process.env['VERBOSE'] = process.env['VERBOSE'] ?? '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 production #34e4e85dec9b006b Environment-variable access.
repo/integration-tests/globalSetup.ts:148
  if (process.env['KEEP_OUTPUT'] !== 'true' && runDir) {

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

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

low env_fs production #8f50756418eae0e4 Filesystem access.
repo/integration-tests/hooks-agent-flow.test.ts:52
      writeFileSync(scriptPath, hookScript);

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

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

low env_fs production #161ca0d0401103ac Filesystem access.
repo/integration-tests/hooks-agent-flow.test.ts:255
      const countsRaw = rig.readFile('message-counts.json');

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

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

low env_fs production #2aa5ec090894af4b Filesystem access.
repo/integration-tests/hooks-system.test.ts:223
        const fileContent = rig.readFile('approved.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 production #d0c241d65edff53e Filesystem access.
repo/integration-tests/hooks-system.test.ts:328
        writeFileSync(scriptPath, hookScript);

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

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

low env_fs production #1f21795bb93fb611 Filesystem access.
repo/integration-tests/hooks-system.test.ts:390
        const modifiedContent = rig.readFile('tail-called-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 production #5049973e0c03040e Filesystem access.
repo/integration-tests/hooks-system.test.ts:1021
        const fileContent = rig.readFile('input-test.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 production #e0f73c9066e152d7 Filesystem access.
repo/integration-tests/hooks-system.test.ts:1174
        const fileContent = rig.readFile('multi-event-test.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 production #1f8d30a162580060 Filesystem access.
repo/integration-tests/hooks-system.test.ts:1226
        writeFileSync(failingPath, 'process.exit(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 #ad25f1ad77584d3b Filesystem access.
repo/integration-tests/hooks-system.test.ts:1228
        writeFileSync(
          workingPath,
          "console.log(JSON.stringify({decision: 'allow', reason: 'Working hook succeeded'}));",
        );

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

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

low env_fs production #6209f5a932122def Filesystem access.
repo/integration-tests/hooks-system.test.ts:1273
        const fileContent = rig.readFile('error-test.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 production #db2f8cc0fb97aaae Environment-variable access.
repo/integration-tests/hooks-system.test.ts:1890
        const isCI = process.env['CI'] === '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 #c4fc4975b3b8e6fb Filesystem access.
repo/integration-tests/hooks-system.test.ts:2175
        const modifiedContent = rig.readFile('modified.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 production #364e0b26bafe6c0b Filesystem access.
repo/integration-tests/hooks-system.test.ts:2181
          rig.readFile('original.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 production #c56ba5af112c85fe Filesystem access.
repo/integration-tests/hooks-system.test.ts:2299
          writeFileSync(scriptPath, hookScript);

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

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

low env_fs production #24029720ef5869ec Filesystem access.
repo/integration-tests/hooks-system.test.ts:2338
          writeFileSync(
            join(stateDir, 'state.json'),
            JSON.stringify({
              terminalSetupPromptShown: true,
              hasSeenScreenReaderNudge: true,
              tipsShown: 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 production #c231d34af36d5490 Filesystem access.
repo/integration-tests/hooks-system.test.ts:2376
          const fileContent = rig.readFile('approved.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 production #bff11e2493fa235e Filesystem access.
repo/integration-tests/hooks-system.test.ts:2403
          writeFileSync(scriptPath, hookScript);

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

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

low env_fs production #09ba6303ece043bc Filesystem access.
repo/integration-tests/hooks-system.test.ts:2441
          writeFileSync(
            join(stateDir, 'state.json'),
            JSON.stringify({
              terminalSetupPromptShown: true,
              hasSeenScreenReaderNudge: true,
              tipsShown: 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 production #0b81333f2223fb74 Filesystem access.
repo/integration-tests/mcp-resources.test.ts:36
    fs.writeFileSync(join(userGeminiDir, 'projects.json'), '{"projects":{}}');

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

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

low env_fs production #5a883744a604d858 Filesystem access.
repo/integration-tests/mcp-resources.test.ts:81
    fs.writeFileSync(scriptPath, scriptContent);

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

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

low env_fs production #a9c7541e0c09bd81 Filesystem access.
repo/integration-tests/mcp-resources.test.ts:105
    fs.writeFileSync(join(userGeminiDir, 'projects.json'), '{"projects":{}}');

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

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

low env_fs production #fcca48ee0f8bbaee Filesystem access.
repo/integration-tests/mcp-resources.test.ts:167
    fs.writeFileSync(scriptPath, scriptContent);

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

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

low env_fs production #b415755225050160 Filesystem access.
repo/integration-tests/mcp_server_cyclic_schema.test.ts:192
    writeFileSync(testServerPath, serverScript);

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

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

low env_fs production #bfd48c987d3c273a Filesystem access.
repo/integration-tests/parallel-tools.test.ts:59
      fs.writeFileSync('pty_output_failure.txt', run.output);

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

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

low env_fs production #7d727ac7db733c37 Filesystem access.
repo/integration-tests/parallel-tools.test.ts:79
    expect(fs.readFileSync(join(rig.testDir!, 'output.txt'), 'utf8')).toBe(

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

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

low env_fs production #2c1395c30231f0fb Filesystem access.
repo/integration-tests/plan-mode.test.ts:258
    writeFileSync(
      join(rig.homeDir!, GEMINI_DIR, 'state.json'),
      JSON.stringify({ terminalSetupPromptShown: 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 #9a4d4ca2ff764df3 Filesystem access.
repo/integration-tests/plan-mode.test.ts:265
    writeFileSync(join(fullPlansDir, planFilename), 'Execute echo 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 production #3ceb9e5136e99457 Environment-variable access.
repo/integration-tests/policy-headless.test.ts:209
    process.env['REGENERATE_MODEL_GOLDENS'] === 'true' ? 120000 : 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 #dfa12adc9491f558 Filesystem access.
repo/integration-tests/replace.test.ts:36
    expect(rig.readFile(fileName)).toBe(expectedContent);

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

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

low env_fs production #8e44c5a4c2fda515 Filesystem access.
repo/integration-tests/replace.test.ts:58
    expect(rig.readFile(fileName)).toBe(expectedContent);

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

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

low env_fs production #7455dc9ccf0d58ae Filesystem access.
repo/integration-tests/replace.test.ts:78
    expect(rig.readFile(fileName)).toBe(expectedContent);

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

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

low env_fs production #578d9dd8ff94cf70 Filesystem access.
repo/integration-tests/replace.test.ts:99
    expect(rig.readFile(fileName)).toBe(expectedContent);

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

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

low env_fs production #2145811af4ee3d95 Filesystem access.
repo/integration-tests/resume-gc.test.ts:74
      fs.writeFileSync(
        filePath,
        mocks.map((m) => JSON.stringify(m)).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 #ccdc11a2daebc952 Filesystem access.
repo/integration-tests/resume-gc.test.ts:145
    const traces = fs.readFileSync(traceLog, 'utf-8');

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

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

low env_fs production #68e436dd9883c631 Filesystem access.
repo/integration-tests/ripgrep-real.test.ts:68
    await fs.writeFile(path.join(tempDir, 'file1.txt'), 'hello world\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 #c5ee4e6d0665e907 Filesystem access.
repo/integration-tests/ripgrep-real.test.ts:70
    await fs.writeFile(
      path.join(tempDir, 'subdir', 'file2.txt'),
      'hello universe\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 #e543348541be7d24 Filesystem access.
repo/integration-tests/ripgrep-real.test.ts:74
    await fs.writeFile(path.join(tempDir, 'file3.txt'), 'goodbye moon\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 #b53247211b3412cb Filesystem access.
repo/integration-tests/ripgrep-real.test.ts:111
    await fs.writeFile(
      path.join(tempDir, 'script.js'),
      'console.log("hello");\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 #d45e973cb63fde14 Filesystem access.
repo/integration-tests/ripgrep-real.test.ts:131
    await fs.writeFile(
      path.join(tempDir, 'context.txt'),
      'line1\nline2\nline3 match\nline4\nline5\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 #3c15cf285e84f0a4 Environment-variable access.
repo/integration-tests/run_shell_command.test.ts:528
    process.env[varName] = varValue;

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

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

low env_fs production #17abe82e0983394a Environment-variable access.
repo/integration-tests/run_shell_command.test.ts:554
      delete process.env[varName];

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

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

low env_fs production #d5ce2b139d7e5732 Filesystem access.
repo/integration-tests/simple-mcp-server.test.ts:197
    writeFileSync(testServerPath, serverScript);

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

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

low env_fs production #1ffff7456b2a8503 Filesystem access.
repo/integration-tests/skill-creator-scripts.test.ts:68
    let content = fs.readFileSync(path.join(skillDir, 'SKILL.md'), '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 #d811f26a37de3a7d Filesystem access.
repo/integration-tests/skill-creator-scripts.test.ts:72
    fs.writeFileSync(path.join(skillDir, 'SKILL.md'), 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 #63464bfc9aa8b604 Filesystem access.
repo/integration-tests/skill-creator-scripts.test.ts:76
    let scriptContent = fs.readFileSync(exampleScriptPath, '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 #5a0818aaa60d22dd Filesystem access.
repo/integration-tests/skill-creator-scripts.test.ts:78
    fs.writeFileSync(exampleScriptPath, scriptContent);

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

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

low env_fs production #97a62594d0e00f29 Filesystem access.
repo/integration-tests/skill-creator-vulnerabilities.test.ts:97
    let content = fs.readFileSync(skillMd, '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 #2933da206813d6bf Filesystem access.
repo/integration-tests/skill-creator-vulnerabilities.test.ts:99
    fs.writeFileSync(skillMd, 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 #668746a95ba0447e Filesystem access.
repo/integration-tests/symlink-install.test.ts:61
      writeFileSync(join(realExtPath, 'gemini-extension.json'), extension);

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

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

low env_fs production #be8861f90fdd1d2e Filesystem access.
repo/integration-tests/symlink-install.test.ts:68
      writeFileSync(
        join(maliciousExtPath, 'gemini-extension.json'),
        otherExtension,
      );

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

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

low env_fs production #2d80630a292524bd Filesystem access.
repo/integration-tests/symlink-install.test.ts:118
        readFileSync(trustedFoldersPath, 'utf-8'),

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

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

low env_fs production #7c3a1abce72a8fb3 Environment-variable access.
repo/integration-tests/test-helper.ts:10
export const skipFlaky = !process.env['RUN_FLAKY_INTEGRATION'];

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

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

low env_fs production #ec79f88cf199902f Filesystem access.
repo/integration-tests/test-mcp-support.test.ts:41
    fs.writeFileSync(join(userGeminiDir, 'projects.json'), '{"projects":{}}');

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

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

low env_fs production #c35dc7b143291a67 Filesystem access.
repo/integration-tests/user-policy.test.ts:33
    fs.writeFileSync(
      join(userPoliciesDir, 'allowed-tools.toml'),
      `
[[rule]]
toolName = "run_shell_command"
commandPrefix = "ls -F"
decision = "allow"
priority = 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 production #fffc09ef348fe570 Filesystem access.
repo/integration-tests/utf-bom-encoding.test.ts:67
    writeFileSync(join(rig.testDir!, filename), 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 #a04a447367010fc5 Filesystem access.
repo/integration-tests/write_file.test.ts:58
    const newFileContent = rig.readFile(newFilePath);

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

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

low env_fs production #09bfac4d821037c6 Environment-variable access.
repo/integration-tests/write_file.test.ts:76
    if (process.env['VERBOSE'] === '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 #dc8f93e28a12d2aa Environment-variable access.
repo/memory-tests/globalSetup.ts:23
  process.env['HOME'] = runDir;

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

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

low env_fs production #79d0a9eb0fd7813b Environment-variable access.
repo/memory-tests/globalSetup.ts:25
    process.env['USERPROFILE'] = runDir;

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

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

low env_fs production #879d132dfa855007 Environment-variable access.
repo/memory-tests/globalSetup.ts:27
  process.env['GEMINI_CONFIG_DIR'] = join(runDir, '.gemini');

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

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

low env_fs production #b6540f165ee132a4 Environment-variable access.
repo/memory-tests/globalSetup.ts:53
  process.env['INTEGRATION_TEST_FILE_DIR'] = runDir;

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

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

low env_fs production #c2d7f74fb7e4fc4b Environment-variable access.
repo/memory-tests/globalSetup.ts:54
  process.env['GEMINI_CLI_INTEGRATION_TEST'] = '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 #07e5a59f26f6e1aa Environment-variable access.
repo/memory-tests/globalSetup.ts:55
  process.env['GEMINI_FORCE_FILE_STORAGE'] = '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 #dbc1a57538c1ffa7 Environment-variable access.
repo/memory-tests/globalSetup.ts:56
  process.env['TELEMETRY_LOG_FILE'] = join(runDir, 'telemetry.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 #7644acec31dab07c Environment-variable access.
repo/memory-tests/globalSetup.ts:57
  process.env['VERBOSE'] = process.env['VERBOSE'] ?? '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 production #4d33686ecdaecb24 Environment-variable access.
repo/memory-tests/globalSetup.ts:64
  if (process.env['KEEP_OUTPUT'] !== 'true' && runDir) {

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

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

low env_fs production #0d3c7d312fd9bbfa Environment-variable access.
repo/memory-tests/memory-usage.test.ts:23
const UPDATE_BASELINES = process.env['UPDATE_MEMORY_BASELINES'] === '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 #b1db215295ec6ce6 Filesystem access.
repo/memory-tests/memory-usage.test.ts:372
  const session = JSON.parse(readFileSync(sourceSessionPath, '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 #c3413d1438e844b6 Filesystem access.
repo/packages/a2a-server/src/agent/task.ts:669
      const currentContent = await fs.readFile(resolvedPath, '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 #444f8e097a6ff075 Filesystem access.
repo/packages/a2a-server/src/agent/task.ts:740
            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 #ebb96a1445ed116b Environment-variable access.
repo/packages/a2a-server/src/agent/task.ts:996
      const gcpProject = 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 production #c531b32217901083 Environment-variable access.
repo/packages/a2a-server/src/agent/task.ts:997
      const gcpCreds = process.env['GOOGLE_APPLICATION_CREDENTIALS'];

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

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

low env_fs production #d90b457982a4a242 Environment-variable access.
repo/packages/a2a-server/src/agent/task.ts:999
        delete 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 production #1394d3990cf85e71 Environment-variable access.
repo/packages/a2a-server/src/agent/task.ts:1000
        delete process.env['GOOGLE_APPLICATION_CREDENTIALS'];

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

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

low env_fs production #e9ea2e7f30b4bd1e Environment-variable access.
repo/packages/a2a-server/src/agent/task.ts:1038
          process.env['GOOGLE_CLOUD_PROJECT'] = gcpProject;

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

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

low env_fs production #83461dff3f4ea1c1 Environment-variable access.
repo/packages/a2a-server/src/agent/task.ts:1041
          process.env['GOOGLE_APPLICATION_CREDENTIALS'] = gcpCreds;

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

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

low env_fs production #c82032ac7e4744ab Environment-variable access.
repo/packages/a2a-server/src/commands/init.test.ts:63
    process.env['CODER_AGENT_WORKSPACE_PATH'] = mockWorkspacePath;

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

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

low env_fs production #645e0ecde7706c80 Filesystem access.
repo/packages/a2a-server/src/commands/init.ts:83
    fs.writeFileSync(geminiMdPath, '', '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 #8983be8d4ff594e9 Environment-variable access.
repo/packages/a2a-server/src/commands/init.ts:93
      workspacePath: process.env['CODER_AGENT_WORKSPACE_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 #0a1f1e9069b60a84 Environment-variable access.
repo/packages/a2a-server/src/commands/init.ts:139
      process.env['CODER_AGENT_WORKSPACE_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 #7af14873d3e82fc4 Filesystem access.
repo/packages/a2a-server/src/commands/restore.ts:57
        data = 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 #05dde56e8653b477 Filesystem access.
repo/packages/a2a-server/src/commands/restore.ts:131
        const data = 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 #a380039d44c29fbe Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:37
const INITIAL_FOLDER_TRUST = process.env['GEMINI_FOLDER_TRUST'];

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

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

low env_fs production #ff269aaca6b46a78 Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:49
    process.env['GEMINI_FOLDER_TRUST'] === '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 #87c4fa35527b799c Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:51
  let checkpointing = process.env['CHECKPOINTING']

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

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

low env_fs production #c7308aa94c48f443 Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:52
    ? process.env['CHECKPOINTING'] === '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 #ae26a326ac8c1b15 Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:65
    process.env['GEMINI_YOLO_MODE'] === '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 #d099f07633aaff05 Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:94
    debugMode: process.env['DEBUG'] === 'true' || 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 production #fc22853311a52c3f Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:110
        process.env['OTEL_EXPORTER_OTLP_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 production #784acc5d5319439f Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:122
        ...(process.env['CUSTOM_IGNORE_FILE_PATHS']

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

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

low env_fs production #6f6b1301e7cb0de7 Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:123
          ? process.env['CUSTOM_IGNORE_FILE_PATHS'].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 production #76a47267ca848f72 Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:199
    process.env['CODER_AGENT_WORKSPACE_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 #b9a1066c65952efb Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:264
  if (process.env['USE_CCPA']) {

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

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

low env_fs production #be5f835fd926df0c Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:279
        process.env['GEMINI_CLI_USE_COMPUTE_ADC'] === '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 #393efbf18edd62fe Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:308
      `[${logPrefix}] 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 production #5ef2168ef5c5becc Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:310
  } else if (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 production #cb7cd8ac51ebb605 Filesystem access.
repo/packages/a2a-server/src/config/extension.ts:95
    const configContent = fs.readFileSync(configFilePath, 'utf-8');

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

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

low env_fs production #daa172c0f85f9129 Filesystem access.
repo/packages/a2a-server/src/config/extension.ts:144
    const configContent = fs.readFileSync(metadataFilePath, 'utf-8');

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

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

low env_fs production #3fd1b48cbbfc8615 Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:110
    fs.writeFileSync(USER_SETTINGS_PATH, JSON.stringify(settings));

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

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

low env_fs production #2e139a0b5e6f6054 Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:125
    fs.writeFileSync(USER_SETTINGS_PATH, JSON.stringify(settings));

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

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

low env_fs production #688bc7cf275d1e25 Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:139
    fs.writeFileSync(USER_SETTINGS_PATH, JSON.stringify(userSettings));

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

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

low env_fs production #7e7a4adb00eef7cc Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:151
    fs.writeFileSync(workspaceSettingsPath, JSON.stringify(workspaceSettings));

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

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

low env_fs production #e3ba87dbef5d1e53 Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:165
      fs.writeFileSync(USER_SETTINGS_PATH, JSON.stringify(userSettings));

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

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

low env_fs production #07225e428b05295e Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:172
      fs.writeFileSync(
        workspaceSettingsPath,
        JSON.stringify(workspaceSettings),
      );

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

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

low env_fs production #3d2e59055c4b36ae Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:188
      fs.writeFileSync(USER_SETTINGS_PATH, JSON.stringify(userSettings));

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

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

low env_fs production #50224c66baf396ea Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:195
      fs.writeFileSync(
        workspaceSettingsPath,
        JSON.stringify(workspaceSettings),
      );

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

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

low env_fs production #608bb5ccff35e3be Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:213
      fs.writeFileSync(USER_SETTINGS_PATH, JSON.stringify(userSettings));

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

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

low env_fs production #91fc5b2abbb2c93b Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:224
      fs.writeFileSync(
        workspaceSettingsPath,
        JSON.stringify(workspaceSettings),
      );

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

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

low env_fs production #7b24224e0fc36eb3 Filesystem access.
repo/packages/a2a-server/src/config/settings.ts:85
      const userContent = fs.readFileSync(USER_SETTINGS_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 #7313e32f81e9a5ff Filesystem access.
repo/packages/a2a-server/src/config/settings.ts:119
        const projectContent = fs.readFileSync(workspaceSettingsPath, 'utf-8');

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

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

low env_fs production #b9032b2e2e80e1da Environment-variable access.
repo/packages/a2a-server/src/http/app.test.ts:1062
      delete process.env['CODER_AGENT_WORKSPACE_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 #4b6a41d646ea56e6 Environment-variable access.
repo/packages/a2a-server/src/http/app.test.ts:1082
      delete process.env['CODER_AGENT_WORKSPACE_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 #b4ad89807459bb47 Environment-variable access.
repo/packages/a2a-server/src/http/app.test.ts:1104
      process.env['CODER_AGENT_WORKSPACE_PATH'] = '/tmp/test-workspace';

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

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

low env_fs production #7101551571a00111 Environment-variable access.
repo/packages/a2a-server/src/http/app.ts:149
      if (!process.env['CODER_AGENT_WORKSPACE_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 #c349ef6ec854ff2b Environment-variable access.
repo/packages/a2a-server/src/http/app.ts:228
    const bucketName = process.env['GCS_BUCKET_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 #0fcb1523b5ea78df Environment-variable access.
repo/packages/a2a-server/src/http/app.ts:388
    const port = Number(process.env['CODER_AGENT_PORT'] || 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 #1295bf5b159d7ce8 Environment-variable access.
repo/packages/a2a-server/src/http/app.ts:393
      if (process.env['CODER_AGENT_PORT']) {

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

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

low env_fs production #9507e337a82069c6 Environment-variable access.
repo/packages/a2a-server/src/http/app.ts:394
        actualPort = process.env['CODER_AGENT_PORT'];

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

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

low env_fs production #82fc8138a82e03ec Environment-variable access.
repo/packages/a2a-server/src/http/server.ts:23
  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 #bf4647c887ac7e39 Filesystem access.
repo/packages/a2a-server/src/persistence/gcs.test.ts:71
        actualFs.writeFileSync(file, Buffer.from('dummy tar 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 #4eda48a57b12aa89 Environment-variable access.
repo/packages/cli/index.ts:57
      process.env['GEMINI_CLI_HOME'] || join(os.homedir(), '.gemini');

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

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

low env_fs production #2ee3dabdb9e43b83 Environment-variable access.
repo/packages/cli/index.ts:85
  if (!process.env['GEMINI_CLI_NO_RELAUNCH'] && !process.env['SANDBOX']) {

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

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

low env_fs production #099add7f92afedfe Environment-variable access.
repo/packages/cli/index.ts:175
        if (!process.env['NO_COLOR']) {

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

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

low env_fs production #3e5a01d812b86bb6 Environment-variable access.
repo/packages/cli/src/acp/acpSessionManager.ts:73
      (authDetails.baseUrl || 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 production #2069879509aed7e8 Environment-variable access.
repo/packages/cli/src/acp/acpSessionManager.ts:239
      (authDetails.baseUrl || 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 production #130bb1009b33c123 Environment-variable access.
repo/packages/cli/src/acp/commands/about.ts:29
    if (process.env['SANDBOX'] && process.env['SANDBOX'] !== 'sandbox-exec') {

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

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

low env_fs production #beac03ad70a63f5c Environment-variable access.
repo/packages/cli/src/acp/commands/about.ts:30
      sandboxEnv = process.env['SANDBOX'];

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

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

low env_fs production #5153fa8449bcff0d Environment-variable access.
repo/packages/cli/src/acp/commands/about.ts:31
    } else if (process.env['SANDBOX'] === 'sandbox-exec') {

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

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

low env_fs production #5279f727a4a685bf Environment-variable access.
repo/packages/cli/src/acp/commands/about.ts:33
        process.env['SEATBELT_PROFILE'] || '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 #ec06b824643cd7b2 Environment-variable access.
repo/packages/cli/src/acp/commands/about.ts:40
    const gcpProject = 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 production #523f1da665743807 Filesystem access.
repo/packages/cli/src/acp/commands/init.ts:40
        fs.writeFileSync(geminiMdPath, '', '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 #fdfdcc2148f6349d Filesystem access.
repo/packages/cli/src/acp/commands/restore.ts:57
        data = 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 #5a2330ab712a73ce Filesystem access.
repo/packages/cli/src/acp/commands/restore.ts:147
        const data = 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 egress production #44d1d97aad326bad Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/cli/src/commands/extensions/examples/mcp-server/example.js:23
    const apiResponse = await fetch(
      'https://jsonplaceholder.typicode.com/posts',
    );

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 #d58b1611f5b93466 Filesystem access.
repo/packages/cli/src/commands/extensions/new.ts:65
    await writeFile(
      join(args.path, 'gemini-extension.json'),
      JSON.stringify(manifest, 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 #546754160b9f55a7 Filesystem access.
repo/packages/cli/src/commands/gemma/logs.test.ts:78
    await fs.promises.writeFile(filePath, 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 #a9b7be5e20f05704 Filesystem access.
repo/packages/cli/src/commands/gemma/logs.test.ts:91
    await fs.promises.writeFile(filePath, 'line-1\nline-2\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 #d691e7223b6db0cb Filesystem access.
repo/packages/cli/src/commands/gemma/platform.ts:191
    const content = fs.readFileSync(pidPath, '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 #496720ad552d3dde Filesystem access.
repo/packages/cli/src/commands/gemma/platform.ts:210
  fs.writeFileSync(getPidFilePath(), JSON.stringify(processInfo), 'utf-8');

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

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

low env_fs production #c9c8825e7c9bf4ae Filesystem access.
repo/packages/cli/src/commands/gemma/platform.ts:228
      const output = fs.readFileSync(`/proc/${pid}/cmdline`, 'utf-8');

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

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

low env_fs production #eaf1c2d21b8d8255 Filesystem access.
repo/packages/cli/src/commands/gemma/setup.test.ts:37
    await fs.promises.writeFile(filePath, 'hello world', 'utf-8');

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

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

low env_fs production #a13b6187cf424dff Filesystem access.
repo/packages/cli/src/commands/gemma/setup.test.ts:50
    await fs.promises.writeFile(filePath, 'hello world', 'utf-8');

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

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

low env_fs production #f2499c3c976710e7 Filesystem access.
repo/packages/cli/src/commands/hooks/migrate.ts:188
      const content = fs.readFileSync(claudeLocalSettingsPath, 'utf-8');

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

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

low env_fs production #8e517ff4dd88991f Filesystem access.
repo/packages/cli/src/commands/hooks/migrate.ts:202
      const content = fs.readFileSync(claudeSettingsPath, 'utf-8');

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

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

low env_fs production #39407edb84746561 Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:150
      fs.writeFileSync(settingsPath, originalContent, 'utf-8');

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

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

low env_fs production #b9e583865d44192a Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:157
      const updatedContent = fs.readFileSync(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 #7b9ba2c5682b8829 Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:183
      fs.writeFileSync(settingsPath, originalContent, 'utf-8');

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

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

low env_fs production #216bd3b5a1c733d3 Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:190
      const updatedContent = fs.readFileSync(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 #3e256aa5f48199ee Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:208
      fs.writeFileSync(settingsPath, originalContent, 'utf-8');

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

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

low env_fs production #557ab5d4f707087a Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:215
      const updatedContent = fs.readFileSync(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 #32a51c58b1ada2fb Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:244
      fs.writeFileSync(settingsPath, originalContent, 'utf-8');

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

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

low env_fs production #58fc4ea758270667 Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:251
      const updatedContent = fs.readFileSync(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 #ef53560b38a2e2d2 Environment-variable access.
repo/packages/cli/src/config/auth.ts:22
    const key = process.env['GEMINI_API_KEY'] || (await loadApiKey());

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

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

low env_fs production #80ff0eec61fb134b Environment-variable access.
repo/packages/cli/src/config/auth.ts:34
      !!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 production #4f89b60a6a21e76f Environment-variable access.
repo/packages/cli/src/config/auth.ts:35
      !!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 production #e232691b6253b709 Environment-variable access.
repo/packages/cli/src/config/auth.ts:36
    const hasGoogleApiKey = !!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 egress production #b965d89d35118757 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/cli/src/config/config.integration.test.ts:63
    server.resetHandlers(http.post(CLEARCUT_URL, () => HttpResponse.text()));

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 #3c04e56081c760ee Environment-variable access.
repo/packages/cli/src/config/config.test.ts:140
      if (process.env['VITEST'] === '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 #ac1cd61fcc8bd8b1 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:149
        process.env['CI'] === '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 #5af88121dbcde6c7 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:150
        process.env['GITHUB_ACTIONS'] === '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 #4589bef07007929f Environment-variable access.
repo/packages/cli/src/config/config.test.ts:167
const originalGeminiModel = process.env['GEMINI_MODEL'];

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

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

low env_fs production #3bcfdbddd28c2878 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:172
  delete process.env['GEMINI_MODEL'];

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

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

low env_fs production #b901ab511de98e45 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:195
    process.env['GEMINI_MODEL'] = originalGeminiModel;

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

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

low env_fs production #403ac717e8b3d632 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:197
    delete process.env['GEMINI_MODEL'];

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

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

low env_fs production #e80aa488ec42516c Environment-variable access.
repo/packages/cli/src/config/config.test.ts:890
        originalProxyEnv[key] = 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 production #b852896ecd8e5cf1 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:891
        delete 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 production #0e0a1c5e66c2dfd3 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:898
          process.env[key] = originalProxyEnv[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 #af43d9b961e87b6c Environment-variable access.
repo/packages/cli/src/config/config.test.ts:900
          delete 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 production #a4f7d062facf7619 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:1952
    originalVitest = process.env['VITEST'];

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

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

low env_fs production #0e95071952969f92 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:1953
    originalIntegrationTest = process.env['GEMINI_CLI_INTEGRATION_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 #a5700cb10e61214f Environment-variable access.
repo/packages/cli/src/config/config.test.ts:1954
    delete process.env['VITEST'];

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

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

low env_fs production #1fa8239ac58c8217 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:1955
    delete process.env['GEMINI_CLI_INTEGRATION_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 #d421ee01a651d06d Environment-variable access.
repo/packages/cli/src/config/config.test.ts:1960
      process.env['VITEST'] = originalVitest;

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

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

low env_fs production #755ffe8ed91e2469 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:1963
      process.env['GEMINI_CLI_INTEGRATION_TEST'] = originalIntegrationTest;

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

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

low env_fs production #46501099c276aa3c Environment-variable access.
repo/packages/cli/src/config/config.ts:516
      process.env['GEMINI_CLI_TRUST_WORKSPACE'] = '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 #bec5e58fa0953e04 Environment-variable access.
repo/packages/cli/src/config/config.ts:566
    [process.env['DEBUG'], process.env['DEBUG_MODE']].some(

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

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

low env_fs production #622016ae33dd6ab5 Environment-variable access.
repo/packages/cli/src/config/config.ts:600
    process.env['GEMINI_SANDBOX'] = 'true';

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

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

low env_fs production #3b0f099fb4cc0d67 Environment-variable access.
repo/packages/cli/src/config/config.ts:608
    process.env['GEMINI_CLI_INTEGRATION_TEST'] === '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 #ab00bf3e8f2fe88d Environment-variable access.
repo/packages/cli/src/config/config.ts:609
    process.env['VITEST'] === '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 #13882e4a94ab1d75 Environment-variable access.
repo/packages/cli/src/config/config.ts:644
  const ideWorkspacePath = process.env['GEMINI_CLI_IDE_WORKSPACE_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 #3506b0ff02725ec1 Environment-variable access.
repo/packages/cli/src/config/config.ts:682
    process.env['GEMINI_CLI_EXTENSION_REGISTRY_URI'] ??

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

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

low env_fs production #d49a7270e473a568 Environment-variable access.
repo/packages/cli/src/config/config.ts:843
    argv.model || process.env['GEMINI_MODEL'] || settings.model?.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 #0ab7a03796a047bf Environment-variable access.
repo/packages/cli/src/config/config.ts:929
      (ide.name !== 'vscode' || process.env['TERM_PROGRAM'] === 'vscode')

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

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

low env_fs production #77bb5e4e7fc37dc6 Environment-variable access.
repo/packages/cli/src/config/config.ts:1028
      process.env['HTTPS_PROXY'] ||

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

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

low env_fs production #6b9e97abfe7a0159 Environment-variable access.
repo/packages/cli/src/config/config.ts:1029
      process.env['https_proxy'] ||

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

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

low env_fs production #46e31e4d4878ca97 Environment-variable access.
repo/packages/cli/src/config/config.ts:1030
      process.env['HTTP_PROXY'] ||

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

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

low env_fs production #90ffeed58e6d976b Environment-variable access.
repo/packages/cli/src/config/config.ts:1031
      process.env['http_proxy'],

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

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

low env_fs production #e5dc410caddc57f3 Environment-variable access.
repo/packages/cli/src/config/config.ts:1063
    noBrowser: !!process.env['NO_BROWSER'],

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

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

low env_fs production #a90b4891acfbb082 Filesystem access.
repo/packages/cli/src/config/extension-manager-agents.test.ts:89
    fs.writeFileSync(
      path.join(agentsDir, 'test-agent.md'),
      '---\nname: test-agent\nkind: local\ndescription: test desc\n---\nbody',
    );

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

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

low env_fs production #fc68455a6bd12c19 Filesystem access.
repo/packages/cli/src/config/extension-manager-agents.test.ts:124
    fs.writeFileSync(
      path.join(agentsDir, 'bad-agent.md'),
      '---\nname: bad-agent\nkind: local\n---\nbody',
    );

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

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

low env_fs production #6ab91b5e887f9519 Filesystem access.
repo/packages/cli/src/config/extension-manager-hydration.test.ts:107
    fs.writeFileSync(
      path.join(skillSubdir, 'SKILL.md'),
      `---
name: my-skill
description: test
---
Use key: \${MY_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 #ce1fa64ef64f05b7 Filesystem access.
repo/packages/cli/src/config/extension-manager-hydration.test.ts:157
    fs.writeFileSync(
      path.join(agentsDir, 'my-agent.md'),
      `---
name: my-agent
description: test
---
System using model: \${MODEL_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 #fac80cfd1ff752c5 Filesystem access.
repo/packages/cli/src/config/extension-manager-hydration.test.ts:213
    fs.writeFileSync(
      path.join(hooksDir, 'hooks.json'),
      JSON.stringify({
        hooks: {
          BeforeTool: [
            {
              hooks: [
                {
                  type: 'command',
                  command: 'echo $HOOK_CMD',
                },
              ],
            },
          ],
        },
      }),
    );

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

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

low env_fs production #8c9934141df7597d Filesystem access.
repo/packages/cli/src/config/extension-manager-hydration.test.ts:288
    fs.writeFileSync(
      path.join(skillSubdir, 'SKILL.md'),
      '---\nname: my-skill\ndescription: test\n---\nValue is: ${MY_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 #2ffd7d7c147adb7e Filesystem access.
repo/packages/cli/src/config/extension-manager-permissions.test.ts:50
    fs.writeFileSync(filePath, '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 production #6f241696c069d185 Filesystem access.
repo/packages/cli/src/config/extension-manager-permissions.test.ts:57
    expect(() => fs.writeFileSync(filePath, 'fail')).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 production #86fb64b0143fe6fd Filesystem access.
repo/packages/cli/src/config/extension-manager-permissions.test.ts:72
    fs.writeFileSync(destFilePath, 'writable');

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

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

low env_fs production #e07df1b05c54aed3 Filesystem access.
repo/packages/cli/src/config/extension-manager-permissions.test.ts:73
    expect(fs.readFileSync(destFilePath, 'utf-8')).toBe('writable');

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

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

low env_fs production #d6415169a095ae54 Filesystem access.
repo/packages/cli/src/config/extension-manager-permissions.test.ts:85
    fs.writeFileSync(filePath, '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 production #f0f4d88813f888b5 Filesystem access.
repo/packages/cli/src/config/extension-manager-permissions.test.ts:109
    fs.writeFileSync(symlinkTarget, '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 production #2b4582d7d4558237 Filesystem access.
repo/packages/cli/src/config/extension-manager-scope.test.ts:75
    fs.writeFileSync(
      path.join(extensionDir, 'gemini-extension.json'),
      JSON.stringify(extensionConfig),
    );

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

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

low env_fs production #632efd572bc559bc Filesystem access.
repo/packages/cli/src/config/extension-manager-scope.test.ts:85
    fs.writeFileSync(
      path.join(extensionDir, 'install-metadata.json'),
      JSON.stringify(installMetadata),
    );

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

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

low env_fs production #04a05ea6efdd3c50 Filesystem access.
repo/packages/cli/src/config/extension-manager-scope.test.ts:100
    fs.writeFileSync(userSettingsPath, 'TEST_SETTING=user-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 #20b4490ed0a13f4e Filesystem access.
repo/packages/cli/src/config/extension-manager-scope.test.ts:104
    fs.writeFileSync(workspaceSettingsPath, 'TEST_SETTING=workspace-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 #c8f4a9441eb95175 Filesystem access.
repo/packages/cli/src/config/extension-manager-scope.test.ts:141
    fs.writeFileSync(userSettingsPath, 'TEST_SETTING=user-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 #a345e8be33b666b1 Filesystem access.
repo/packages/cli/src/config/extension-manager-skills.test.ts:103
    fs.writeFileSync(path.join(skillsDir, 'not-a-skill.txt'), '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 production #b07be0cf9f4183d2 Filesystem access.
repo/packages/cli/src/config/extension-manager-skills.test.ts:130
    fs.writeFileSync(path.join(skillsDir, 'not-a-skill.txt'), '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 production #0e728dcc600b2438 Filesystem access.
repo/packages/cli/src/config/extension-manager-skills.test.ts:177
    fs.writeFileSync(
      path.join(skillSubdir, 'SKILL.md'),
      '---\nname: test-skill\ndescription: test desc\n---\nbody',
    );

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

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

low env_fs production #3febce0d6df44a19 Environment-variable access.
repo/packages/cli/src/config/extension-manager-themes.spec.ts:49
    process.env['GEMINI_CLI_HOME'] = tempHomeDir;

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

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

low env_fs production #22bdc8d8b60fb820 Environment-variable access.
repo/packages/cli/src/config/extension-manager-themes.spec.ts:73
    delete process.env['GEMINI_CLI_HOME'];

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

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

low env_fs production #42504a9a3fae3229 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:171
      fs.writeFileSync(path.join(ext1Dir, 'gemini-extension.json'), config);

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

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

low env_fs production #4b4b753c7fba7498 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:172
      fs.writeFileSync(
        path.join(ext1Dir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: ext1Dir }),
      );

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

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

low env_fs production #e72de5742197b4ee Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:177
      fs.writeFileSync(path.join(ext2Dir, 'gemini-extension.json'), config);

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

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

low env_fs production #303bbf68d15366c9 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:178
      fs.writeFileSync(
        path.join(ext2Dir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: ext2Dir }),
      );

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

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

low env_fs production #c2d231868223c920 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:204
      fs.writeFileSync(
        path.join(externalDir, 'gemini-extension.json'),
        JSON.stringify({ name: 'ext2', version: '1.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 #c5070683d37faac8 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:208
      fs.writeFileSync(
        path.join(externalDir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: externalDir }),
      );

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

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

low env_fs production #630304396afbad33 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:239
      fs.writeFileSync(
        path.join(extensionDir, 'gemini-extension.json'),
        JSON.stringify({ name: 'test-ext', version: '1.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 #5b885c2b42420487 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:393
      fs.writeFileSync(
        path.join(extDir, 'gemini-extension.json'),
        JSON.stringify({ name: oldName, version: '1.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 #2ff0d35ca5751fb3 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:397
      fs.writeFileSync(
        path.join(extDir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: extDir }),
      );

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

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

low env_fs production #8edf2cfbc6a8a482 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:408
      fs.writeFileSync(
        path.join(newSourceDir, 'gemini-extension.json'),
        JSON.stringify({ name: newName, version: '1.1.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 #816f91eb1e571f33 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:412
      fs.writeFileSync(
        path.join(newSourceDir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: newSourceDir }),
      );

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

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

low env_fs production #53e2511732b27628 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:438
      fs.writeFileSync(
        path.join(extDir, 'gemini-extension.json'),
        JSON.stringify({ name: oldName, version: '1.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 #3996cd85fda14adc Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:442
      fs.writeFileSync(
        path.join(extDir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: extDir }),
      );

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

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

low env_fs production #17d5e0d205588bd5 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:458
      fs.writeFileSync(
        path.join(newSourceDir, 'gemini-extension.json'),
        JSON.stringify({ name: newName, version: '1.1.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 #075554fcf27a7396 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:462
      fs.writeFileSync(
        path.join(newSourceDir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: newSourceDir }),
      );

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

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

low env_fs production #c046256369c55a0c Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:482
      fs.writeFileSync(
        path.join(ext1Dir, 'gemini-extension.json'),
        JSON.stringify({ name: 'ext1', version: '1.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 #39af3c675d480e59 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:486
      fs.writeFileSync(
        path.join(ext1Dir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: ext1Dir }),
      );

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

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

low env_fs production #1195b923d33b5102 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:493
      fs.writeFileSync(
        path.join(ext2Dir, 'gemini-extension.json'),
        JSON.stringify({ name: 'ext2', version: '1.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 #a14a0a8b4343a371 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:497
      fs.writeFileSync(
        path.join(ext2Dir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: ext2Dir }),
      );

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

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

low env_fs production #75874b9a1373e053 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:508
      fs.writeFileSync(
        path.join(newSourceDir, 'gemini-extension.json'),
        JSON.stringify({ name: 'ext2', version: '1.1.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 #38a5acdc3efbfde3 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:512
      fs.writeFileSync(
        path.join(newSourceDir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: newSourceDir }),
      );

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

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

low env_fs production #6a3ea67d7bccce75 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:532
      fs.writeFileSync(
        path.join(extDir, 'gemini-extension.json'),
        JSON.stringify({ name: 'integrity-ext', version: '1.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 #bc623c2ea2e54533 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:556
      fs.writeFileSync(
        path.join(extDir, 'gemini-extension.json'),
        JSON.stringify({ name: extName, version: '1.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 #1b1fffa888edaf35 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:560
      fs.writeFileSync(
        path.join(extDir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: extDir }),
      );

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

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

low env_fs production #6d6f9c1a73fd68d9 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:580
      fs.writeFileSync(
        path.join(newSourceDir, 'gemini-extension.json'),
        JSON.stringify({ name: extName, version: '1.1.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 #cd3413da7a559530 Filesystem access.
repo/packages/cli/src/config/extension-manager.ts:442
        await fs.promises.writeFile(metadataPath, metadataString);

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

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

low env_fs production #eacce774e3d71948 Filesystem access.
repo/packages/cli/src/config/extension-manager.ts:1023
      const configContent = await fs.promises.readFile(configFilePath, 'utf-8');

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

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

low env_fs production #8fffb9ea00e09a3a Filesystem access.
repo/packages/cli/src/config/extension-manager.ts:1061
      const hooksContent = await fs.promises.readFile(hooksFilePath, 'utf-8');

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

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

low env_fs production #a71feb98e7832da5 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:373
      fs.writeFileSync(path.join(sourceExtDir, 'context.md'), 'linked context');

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

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

low env_fs production #e560682d7abee14a Filesystem access.
repo/packages/cli/src/config/extension.test.ts:419
      fs.writeFileSync(
        path.join(policiesDir, 'policies.toml'),
        policiesContent,
      );

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

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

low env_fs production #6903dc388013688a Filesystem access.
repo/packages/cli/src/config/extension.test.ts:473
      fs.writeFileSync(
        path.join(policiesDir, 'policies.toml'),
        policiesContent,
      );

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

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

low env_fs production #f083daf7c3132796 Environment-variable access.
repo/packages/cli/src/config/extension.test.ts:536
      process.env['TEST_API_KEY'] = 'test-api-key-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 production #099e891cf764e8b3 Environment-variable access.
repo/packages/cli/src/config/extension.test.ts:537
      process.env['TEST_DB_URL'] = 'postgresql://localhost:5432/testdb';

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

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

low env_fs production #be17738c7de601d6 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:566
        fs.writeFileSync(configPath, JSON.stringify(extensionConfig));

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

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

low env_fs production #0e94d2e935776553 Environment-variable access.
repo/packages/cli/src/config/extension.test.ts:584
        delete process.env['TEST_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 #7b18e0421240d614 Environment-variable access.
repo/packages/cli/src/config/extension.test.ts:585
        delete process.env['TEST_DB_URL'];

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

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

low env_fs production #ab45dea14d7cf312 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:614
      fs.writeFileSync(envFilePath, 'MY_API_KEY=test-key-from-file\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 #cc5b17cfbf3c46d6 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:651
      fs.writeFileSync(
        path.join(extDir, EXTENSIONS_CONFIG_FILENAME),
        JSON.stringify(extensionConfig),
      );

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

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

low env_fs production #09d1a8c8e6bf0dda Filesystem access.
repo/packages/cli/src/config/extension.test.ts:682
      fs.writeFileSync(badConfigPath, '{ "name": "bad-ext"'); // Malformed

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

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

low env_fs production #37e46ba74877b892 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:713
      fs.writeFileSync(badConfigPath, JSON.stringify({ version: '1.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 #b4016a9da7a5a46f Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1052
        fs.writeFileSync(
          path.join(hooksDir, 'hooks.json'),
          JSON.stringify(hooksConfig),
        );

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

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

low env_fs production #52ab611274d74eb9 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1088
        fs.writeFileSync(
          path.join(hooksDir, 'hooks.json'),
          JSON.stringify({ hooks: { BeforeTool: [] }, enabled: 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 production #51b3b7bb01abd8c0 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1121
        fs.writeFileSync(
          path.join(hooksDir, 'hooks.json'),
          JSON.stringify({ hooks: {} }),
        );

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

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

low env_fs production #7eb7d26f4c9eb9c9 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1126
        fs.writeFileSync(
          path.join(sourceExtDir, 'gemini-extension.json'),
          JSON.stringify({
            name: 'hook-extension-install',
            version: '1.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 #844739c470102548 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1167
      const metadata = JSON.parse(fs.readFileSync(metadataPath, 'utf-8'));

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

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

low env_fs production #ce76201df660807a Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1216
      fs.writeFileSync(configPath, '{ "name": "bad-json", "version": "1.0.0"'); // Malformed JSON

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

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

low env_fs production #514ec51b8598b95f Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1236
      fs.writeFileSync(configPath, JSON.stringify({ version: '1.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 #24f9b84151d952ee Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1258
        fs.writeFileSync(
          path.join(mockGit.path(), destination, EXTENSIONS_CONFIG_FILENAME),
          JSON.stringify({ name: extensionName, version: '1.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 #6c720c35b2746a78 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1278
      const metadata = JSON.parse(fs.readFileSync(metadataPath, 'utf-8'));

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

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

low env_fs production #594ba0ee1809d8ca Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1308
      const metadata = JSON.parse(fs.readFileSync(metadataPath, 'utf-8'));

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

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

low env_fs production #7259f5ca88f7ad34 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1441
        fs.readFileSync(trustedFoldersPath, 'utf-8'),

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

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

low env_fs production #572ea47d2604c4e5 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1617
      const metadata = JSON.parse(fs.readFileSync(metadataPath, 'utf-8'));

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

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

low env_fs production #9ebf5acb630636e2 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1739
      let envContent = fs.readFileSync(envPath, 'utf-8');

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

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

low env_fs production #ed98c5e98237e4e0 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1780
      envContent = fs.readFileSync(envPath, 'utf-8');

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

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

low env_fs production #e9b814569929e3c6 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1864
          fs.writeFileSync(
            path.join(mockGit.path(), destination, EXTENSIONS_CONFIG_FILENAME),
            JSON.stringify({ name: extensionName, version: '1.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 #a0edf20cf2fe28df Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1904
        const metadata = JSON.parse(fs.readFileSync(metadataPath, 'utf-8'));

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

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

low env_fs production #19c52acf666ada40 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1939
        const metadata = JSON.parse(fs.readFileSync(metadataPath, 'utf-8'));

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

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

low env_fs production #c2538dff6490779d Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1995
        const metadata = JSON.parse(fs.readFileSync(metadataPath, 'utf-8'));

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

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

low env_fs production #a3769063cc59abb7 Filesystem access.
repo/packages/cli/src/config/extension.ts:62
    const configContent = fs.readFileSync(metadataFilePath, 'utf-8');

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

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

low env_fs production #ff980256376572ef Filesystem access.
repo/packages/cli/src/config/extensionRegistryClient.ts:135
          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 #a8db79ce67f1f11e Filesystem access.
repo/packages/cli/src/config/extensions/consent.test.ts:344
        await fs.writeFile(path.join(skill1Dir, 'SKILL.md'), 'body1');

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

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

low env_fs production #791012c3b4e579a6 Filesystem access.
repo/packages/cli/src/config/extensions/consent.test.ts:345
        await fs.writeFile(path.join(skill1Dir, 'extra.txt'), 'extra');

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

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

low env_fs production #9900e227b4bea42e Filesystem access.
repo/packages/cli/src/config/extensions/consent.test.ts:346
        await fs.writeFile(path.join(skill2Dir, 'SKILL.md'), 'body2');

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

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

low env_fs production #22b2c107fc606991 Filesystem access.
repo/packages/cli/src/config/extensions/consent.test.ts:427
      await fs.writeFile(path.join(skill1Dir, 'SKILL.md'), 'body1');

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

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

low env_fs production #4a00b4c3674477ee Filesystem access.
repo/packages/cli/src/config/extensions/extensionEnablement.test.ts:185
      fs.writeFileSync(configPath, 'not a json');

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

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

low env_fs production #c269e2c79c89bba9 Filesystem access.
repo/packages/cli/src/config/extensions/extensionEnablement.ts:182
      const content = fs.readFileSync(this.configFilePath, 'utf-8');

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

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

low env_fs production #ac9a6d2d862238bf Filesystem access.
repo/packages/cli/src/config/extensions/extensionEnablement.ts:208
    fs.writeFileSync(this.configFilePath, JSON.stringify(config, 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 #1de0b19a31fd8981 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:190
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

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

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

low env_fs production #60b7b033017041e9 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:223
      await fsPromises.writeFile(envPath, 'VAR1=previous-VAR1');

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

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

low env_fs production #6f46cb8aa71e1fd3 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:234
      const actualContent = await fsPromises.readFile(envPath, 'utf-8');

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

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

low env_fs production #d45977922b1f27bf Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:304
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

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

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

low env_fs production #9e11f2027ba63e2d Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:339
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

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

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

low env_fs production #0cc5141b5e95be9d Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:375
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

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

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

low env_fs production #9123eb03a10b00bb Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:397
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

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

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

low env_fs production #ae65604c22896f30 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:551
      await fsPromises.writeFile(userEnvPath, 'VAR1=user-value1');

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

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

low env_fs production #5bc8d19308de6213 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:575
      await fsPromises.writeFile(workspaceEnvPath, 'VAR1=workspace-value1');

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

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

low env_fs production #7686f4d4c6a827f7 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:633
      await fsPromises.writeFile(
        userEnvPath,
        'VAR1=user-value1\nVAR3=user-value3',
      );

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

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

low env_fs production #41509164a68f2c9b Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:647
      await fsPromises.writeFile(workspaceEnvPath, 'VAR1=workspace-value1');

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

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

low env_fs production #80d8145bec80be11 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:680
      await fsPromises.writeFile(userEnvPath, 'VAR1=value1\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 #6dc77ed6b356d599 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:701
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

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

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

low env_fs production #d1ccb25e5c31113a Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:718
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

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

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

low env_fs production #4d135a62b1ee56d7 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:785
      await fsPromises.writeFile(workspaceEnvPath, originalEnvContent);

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

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

low env_fs production #f1aa0f6c0fa9b027 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:799
      const actualContent = await fsPromises.readFile(
        workspaceEnvPath,
        'utf-8',
      );

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

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

low env_fs production #96d89812b3449307 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:845
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

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

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

low env_fs production #d46d4cc43b29f433 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:916
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

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

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

low env_fs production #6e3fa8e7967a6ff9 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:933
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

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

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

low env_fs production #204a4dd035c4d1c3 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.ts:138
  await fs.writeFile(envFilePath, envContent);

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

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

low env_fs production #80f26af26e826719 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.ts:188
      const envFile = fsSync.readFileSync(envFilePath, 'utf-8');

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

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

low env_fs production #f0b5c4d50bb1162e Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.ts:286
    envContent = await fs.readFile(envFilePath, 'utf-8');

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

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

low env_fs production #ca82cf6ea3da38eb Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.ts:308
  await fs.writeFile(envFilePath, newEnvContent);

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

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

low env_fs production #246e61669dac364d Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.ts:352
      await fs.writeFile(envFilePath, '');

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

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

low env_fs production #00dcc0be3a3af2ac Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:16
  const originalToken = process.env['GITHUB_TOKEN'];

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

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

low env_fs production #ac20384cc8831a09 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:20
      process.env['GITHUB_TOKEN'] = originalToken;

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

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

low env_fs production #d3fcb54afbada3df Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:22
      delete process.env['GITHUB_TOKEN'];

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

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

low env_fs production #a281b2f8a61d1859 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:27
    process.env['GITHUB_TOKEN'] = 'test-token';

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

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

low env_fs production #519925453e9d8591 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:32
    delete process.env['GITHUB_TOKEN'];

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

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

low env_fs production #c66c06b8f7d2a61a Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:137
    const originalToken = process.env['GITHUB_TOKEN'];

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

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

low env_fs production #fccfeb64d9f2ce72 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:140
      process.env['GITHUB_TOKEN'] = 'my-secret-token';

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

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

low env_fs production #1f3d9eacd1ab4b30 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:145
        process.env['GITHUB_TOKEN'] = originalToken;

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

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

low env_fs production #6a11ac065e707aed Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:147
        delete process.env['GITHUB_TOKEN'];

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

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

low env_fs production #42fdc6f39fe68606 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:171
    const originalToken = process.env['GITHUB_TOKEN'];

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

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

low env_fs production #f72e067463005808 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:174
      delete process.env['GITHUB_TOKEN'];

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

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

low env_fs production #c4b2249e97c91c4b Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:179
        process.env['GITHUB_TOKEN'] = originalToken;

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

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

low env_fs production #9256534b4b2b1196 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.ts:10
  return process.env['GITHUB_TOKEN'];

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

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

low env_fs production #efd38db702ceb443 Filesystem access.
repo/packages/cli/src/config/mcp/mcpServerEnablement.ts:360
      const content = await fs.readFile(this.configFilePath, 'utf-8');

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

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

low env_fs production #459db2cc2596484d Filesystem access.
repo/packages/cli/src/config/mcp/mcpServerEnablement.ts:385
    await fs.writeFile(this.configFilePath, JSON.stringify(config, 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 #e5ec91c2b3677df8 Filesystem access.
repo/packages/cli/src/config/policy.test.ts:85
    fs.writeFileSync(path.join(policiesDir, 'policy.toml'), 'rules = []');

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

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

low env_fs production #7f27a401b8811a95 Filesystem access.
repo/packages/cli/src/config/policy.test.ts:126
      fs.writeFileSync(path.join(policiesDir, 'policy.toml'), 'rules = []');

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

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

low env_fs production #310d2338eaf223fe Filesystem access.
repo/packages/cli/src/config/policy.test.ts:148
    fs.writeFileSync(path.join(policiesDir, 'policy.toml'), 'rules = []');

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

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

low env_fs production #98cbc069348e7817 Filesystem access.
repo/packages/cli/src/config/policy.test.ts:169
      fs.writeFileSync(path.join(policiesDir, 'policy.toml'), 'rules = []');

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

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

low env_fs production #3994741933b9545f Filesystem access.
repo/packages/cli/src/config/policy.test.ts:189
    fs.writeFileSync(path.join(policiesDir, 'policy.toml'), 'rules = []');

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

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

low env_fs production #7f59f2770540af97 Filesystem access.
repo/packages/cli/src/config/policy.test.ts:207
    fs.writeFileSync(path.join(policiesDir, 'policy.toml'), 'rules = []');

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

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

low env_fs production #2f955b5a73a4bb38 Filesystem access.
repo/packages/cli/src/config/policy.test.ts:224
    fs.writeFileSync(path.join(policiesDir, 'policy.toml'), 'rules = []');

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

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

low env_fs production #2d87a00339ba8a42 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:56
    delete process.env['SANDBOX'];

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

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

low env_fs production #6c9901bd20ad5591 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:57
    delete process.env['GEMINI_SANDBOX'];

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

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

low env_fs production #a106644c636aebcb Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:83
    process.env['SANDBOX'] = '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 #0362c91d8be53494 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:90
      process.env['GEMINI_SANDBOX'] = 'docker';

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

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

low env_fs production #08d50f3948715a20 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:104
      process.env['GEMINI_SANDBOX'] = 'invalid-command';

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

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

low env_fs production #0585f93db7ffbecf Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:111
      process.env['GEMINI_SANDBOX'] = 'docker';

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

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

low env_fs production #b5d041136cec6000 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:119
      process.env['GEMINI_SANDBOX'] = 'lxc';

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

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

low env_fs production #2cd5a52c6d2df1d5 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:133
      process.env['GEMINI_SANDBOX'] = 'lxc';

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

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

low env_fs production #b2ab10bb28ebd03f Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:240
      process.env['GEMINI_SANDBOX_IMAGE'] = 'env/image';

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

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

low env_fs production #0db07a2d721b58b6 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:241
      process.env['GEMINI_SANDBOX'] = 'docker';

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

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

low env_fs production #04bff71266cc0710 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:254
      process.env['GEMINI_SANDBOX'] = 'docker';

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

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

low env_fs production #30b01351dd55daea Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:268
      process.env['GEMINI_SANDBOX'] = 'docker';

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

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

low env_fs production #915eb35ce141e50e Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:422
      process.env['GEMINI_SANDBOX'] = 'runsc';

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

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

low env_fs production #5898f33771d31d8d Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:454
      process.env['GEMINI_SANDBOX'] = 'runsc';

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

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

low env_fs production #5c58c305cac623a7 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.ts:47
  if (process.env['SANDBOX']) {

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

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

low env_fs production #9f8a2148ac8080ed Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.ts:53
    process.env['GEMINI_SANDBOX']?.toLowerCase().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 #bceff8b0448cd527 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.ts:155
    process.env['GEMINI_SANDBOX_IMAGE'] ??

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

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

low env_fs production #fbfd2095530e2ae5 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.ts:156
    process.env['GEMINI_SANDBOX_IMAGE_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 production #e480b231793d3132 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:51
    delete 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 production #37ac80f23c3a543d Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:52
    delete process.env['OTHER_VAR'];

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

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

low env_fs production #e46e95cc5ca1cbe1 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:73
    expect(process.env['GEMINI_API_KEY']).toBe('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 production #da30f125547f1bc9 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:74
    delete 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 production #6b5e01428d8899f6 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:99
    expect(process.env['GEMINI_API_KEY']).toBe('home');

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

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

low env_fs production #75b5201af53a2bb6 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:100
    delete 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 production #fd05a80e4c002bbe Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:116
    expect(process.env['GEMINI_API_KEY']).toBe('gemini-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 production #a4a6c4188d131e1a Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:117
    delete 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 production #9b3b68978c5203aa Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:134
    expect(process.env['GEMINI_API_KEY']).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 production #2666cbfe2699c16a Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:151
    expect(process.env['GEMINI_API_KEY']).toBe('home');

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

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

low env_fs production #b4930808e40b258c Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:152
    delete 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 production #40b09a6b0a443cf9 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:179
    expect(process.env['GEMINI_API_KEY']).toBe('home');

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

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

low env_fs production #5913eb17f7437cde Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:180
    delete 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 production #bbdeac41afbe1b1d Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:200
    expect(process.env['GEMINI_API_KEY']).toBe('home');

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

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

low env_fs production #f312fc343fb95e93 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:201
    expect(process.env['OTHER_VAR']).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 production #a974fc7e6f228e60 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:202
    delete 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 production #485fa94ec0401933 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:219
    expect(process.env['GEMINI_API_KEY']).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 production #a065e8a03dc2fa72 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:236
    expect(process.env['GEMINI_API_KEY']).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 production #5773577802d205fe Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:515
      delete process.env['TEST_AUTO_THEME'];

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

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

low env_fs production #a3c1b2516d09a54d Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1351
      process.env['TEST_API_KEY'] = 'user_api_key_from_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 #862997a97e02034c Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1378
      delete process.env['TEST_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 #3f1ee5e5c901a623 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1382
      process.env['WORKSPACE_ENDPOINT'] = 'workspace_endpoint_from_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 #76909b43478a6058 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1410
      delete process.env['WORKSPACE_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 production #4f093346f026a878 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1414
      process.env['SYSTEM_VAR'] = 'system_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 #72b8a60e7123679d Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1415
      process.env['USER_VAR'] = 'user_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 #ed5c3774a551e837 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1416
      process.env['WORKSPACE_VAR'] = 'workspace_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 #52ed3028ce2dcde9 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1417
      process.env['SHARED_VAR'] = 'final_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 #8a3fb1bbeecceffd Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1491
      delete process.env['SYSTEM_VAR'];

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

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

low env_fs production #901f1e592d2c19fd Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1492
      delete process.env['USER_VAR'];

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

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

low env_fs production #5c00f1923fc3a262 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1493
      delete process.env['WORKSPACE_VAR'];

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

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

low env_fs production #62a84484ad008a21 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1494
      delete process.env['SHARED_VAR'];

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

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

low env_fs production #f21a0aea0cc5f6e4 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1564
      process.env['VAR_A'] = 'valueA';

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

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

low env_fs production #2ee3e4e132c1951a Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1565
      process.env['VAR_B'] = 'valueB';

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

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

low env_fs production #226707269e9f5032 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1584
      delete process.env['VAR_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 #2e77ce06415f3dbb Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1585
      delete process.env['VAR_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 production #9a778467eb67ecfe Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1589
      process.env['ITEM_1'] = 'item1_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 #ace2ba93a4e0ba68 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1590
      process.env['ITEM_2'] = 'item2_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 #9a618ec5ad40cf52 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1611
      delete process.env['ITEM_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 #97d92dc18e1189df Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1612
      delete process.env['ITEM_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 #b967307a3e41ff3e Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1616
      process.env['MY_ENV_STRING'] = 'env_string_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 #162b8aa03970d3c1 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1617
      process.env['MY_ENV_STRING_NESTED'] = 'env_string_nested_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 #9f13cd38ebef8653 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1670
      delete process.env['MY_ENV_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 #fe54fa8c501a722e Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1671
      delete process.env['MY_ENV_STRING_NESTED'];

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

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

low env_fs production #0cc073cfde9ba510 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1675
      process.env['TEST_HOST'] = 'myhost';

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

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

low env_fs production #f9af1fc8910451d1 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1676
      process.env['TEST_PORT'] = '9090';

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

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

low env_fs production #57cab315cf01aea9 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1697
      delete process.env['TEST_HOST'];

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

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

low env_fs production #e966e21a168f00ad Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1698
      delete process.env['TEST_PORT'];

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

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

low env_fs production #67f87e2da454b413 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1707
        process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #aa187d20944b2db8 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1712
        delete process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #befcd4c4cdb8dc77 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2114
      delete process.env['GEMINI_API_KEY']; // reset

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

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

low env_fs production #476e9f5e9760ef50 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2115
      delete process.env['TESTTEST']; // reset

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

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

low env_fs production #20ed6016d0e4293e Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2167
      expect(process.env['TESTTEST']).toEqual('1234');

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

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

low env_fs production #1f09946bf5590f9a Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2168
      expect(process.env['GEMINI_API_KEY']).toEqual('test-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 #1c63ff8e53c64451 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2179
      expect(process.env['TESTTEST']).not.toEqual('1234');

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

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

low env_fs production #221ff3af196e81c1 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2190
      expect(process.env['TESTTEST']).not.toEqual('1234');

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

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

low env_fs production #56b85ef40074733a Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2191
      expect(process.env['GEMINI_API_KEY']).toEqual('test-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 #d1b96fd515994343 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2195
      delete process.env['TESTTEST'];

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

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

low env_fs production #879a59da449991e8 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2206
      expect(process.env['TESTTEST']).not.toEqual('1234');

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

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

low env_fs production #8fa42a6869a4660f Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2207
      expect(process.env['GEMINI_API_KEY']).toEqual('test-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 #492c028045b2ffc8 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2218
      expect(process.env['GEMINI_API_KEY']).toEqual('test-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 #eb5d726cc78ceaee Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2220
      expect(process.env['TESTTEST']).not.toEqual('1234');

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

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

low env_fs production #1047d48838b14475 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2233
        expect(process.env['GEMINI_API_KEY']).toEqual('test-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 #9fb3ef52cce46d3e Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2234
        expect(process.env['TESTTEST']).not.toEqual('1234');

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

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

low env_fs production #7da9024040d8033d Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3143
      delete 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 production #0682f20108621d60 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3144
      delete 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 production #e51971386e727fda Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3145
      delete 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 production #7588e0b4cee22a15 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3146
      delete 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 production #0711c56c992fdda5 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3147
      delete process.env['CLOUD_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 #a4b99dd16786b0c2 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3148
      delete process.env['MALICIOUS_VAR'];

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

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

low env_fs production #2e5031135c88a143 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3149
      delete process.env['FOO'];

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

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

low env_fs production #c91f601c7c42099e Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3150
      delete process.env['_GEMINI_USER_GCP_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 production #129b1ed12ef91a76 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3178
        expect(process.env['FOO']).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 production #f368116317a2e00f Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3179
        expect(process.env['GEMINI_API_KEY']).toBe('secret');

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

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

low env_fs production #fa437fee303082ec Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3196
        expect(process.env['GEMINI_API_KEY']).toBe('secret');

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

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

low env_fs production #bce233dad8285ba6 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3215
        expect(process.env['GEMINI_API_KEY']).toEqual('secret');

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

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

low env_fs production #e26041098462a08c Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3234
        expect(process.env['GEMINI_API_KEY']).toEqual('secret');

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

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

low env_fs production #01585d0140f4f696 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3259
        expect(process.env['GEMINI_API_KEY']).toBe('secret-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 #f6a43ec5f2bcf12f Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3260
        expect(process.env['GOOGLE_API_KEY']).toBe('another-secret');

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

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

low env_fs production #52fc5db820fda243 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3261
        expect(process.env['MALICIOUS_VAR']).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 production #b52c2dbcfcde7822 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3285
        expect(process.env['GEMINI_API_KEY']).toBe('key-whoami-id-');

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

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

low env_fs production #5f807e95e0d1ec9d Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3308
        expect(process.env['GEMINI_API_KEY']).toBe(

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

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

low env_fs production #8a1649a567cdb777 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3329
        expect(process.env['FOO']).toBe('$(bar)');

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

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

low env_fs production #39b548d7db4ab278 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3351
        expect(process.env['GEMINI_API_KEY']).toBe('un-sanitized;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 #9f30ad4cd81bccda Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3352
        expect(process.env['MALICIOUS_VAR']).toBe('allowed-because-trusted');

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

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

low env_fs production #923370f281e334f3 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3365
        process.env['CLOUD_SHELL'] = '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 #9e6316f70b97e689 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3380
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe('cloudshell-gca');

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

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

low env_fs production #70e51c395c4197de Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3403
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe('my-vertex-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 production #c7cc3d493a985eb0 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3429
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe('env-vertex-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 production #9db70e7b5b22917c Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3433
        process.env['CLOUD_SHELL'] = '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 #3744c31f698b6ced Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3446
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe('cloudshell-gca');

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

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

low env_fs production #c67ca97ab10b9fe3 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3456
        expect(process.env['GOOGLE_CLOUD_PROJECT']).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 production #f3338ab63d065c08 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3460
        process.env['CLOUD_SHELL'] = '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 #1e6cdf513320493b Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3461
        process.env['GOOGLE_CLOUD_PROJECT'] = 'my-real-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 production #420d90a2c20dd62e Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3474
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe('cloudshell-gca');

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

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

low env_fs production #5925ca365d8b25c5 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3475
        expect(process.env['_GEMINI_USER_GCP_PROJECT']).toBe('my-real-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 production #9d1cebaf4aa63ec9 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3485
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe('my-real-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 production #36e924be4a779ba2 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3491
        process.env['CLOUD_SHELL'] = '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 #370175eedf122633 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3492
        process.env['GOOGLE_CLOUD_PROJECT'] = 'cloudshell-gca';

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

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

low env_fs production #c9e94b4592d4835d Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3493
        process.env['_GEMINI_USER_GCP_PROJECT'] = 'my-real-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 production #70563b630a3fd50a Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3508
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe('my-real-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 production #dc55350c416e48f2 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3512
        process.env['CLOUD_SHELL'] = '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 #444cd769c9e1160d Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3528
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe(

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

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

low env_fs production #06588357bb00d383 Environment-variable access.
repo/packages/cli/src/config/settings.ts:105
  if (process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #763081bf15ce87ed Environment-variable access.
repo/packages/cli/src/config/settings.ts:106
    return process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #0461c398ec4543b5 Environment-variable access.
repo/packages/cli/src/config/settings.ts:118
  if (process.env['GEMINI_CLI_SYSTEM_DEFAULTS_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 #fe29ab0f54613cef Environment-variable access.
repo/packages/cli/src/config/settings.ts:119
    return process.env['GEMINI_CLI_SYSTEM_DEFAULTS_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 #2393a8b684c66cbb Environment-variable access.
repo/packages/cli/src/config/settings.ts:621
  if (!process.env[USER_GCP_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 production #fbd82c1ac32deda4 Environment-variable access.
repo/packages/cli/src/config/settings.ts:622
    const current = 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 production #666502319d42dd54 Environment-variable access.
repo/packages/cli/src/config/settings.ts:624
      process.env[USER_GCP_PROJECT] = current;

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

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

low env_fs production #617637b84a0a2719 Environment-variable access.
repo/packages/cli/src/config/settings.ts:631
    value = process.env[USER_GCP_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 production #e4a7a6c7f35be63a Filesystem access.
repo/packages/cli/src/config/settings.ts:635
    const envFileContent = fs.readFileSync(envFilePath);

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

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

low env_fs production #e20d50a3930b6e80 Environment-variable access.
repo/packages/cli/src/config/settings.ts:647
    process.env['GOOGLE_CLOUD_PROJECT'] = 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 #dd23fa9a1c116533 Environment-variable access.
repo/packages/cli/src/config/settings.ts:648
  } else if (process.env['GOOGLE_CLOUD_PROJECT'] === 'cloudshell-gca') {

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

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

low env_fs production #33a6c602126c56eb Environment-variable access.
repo/packages/cli/src/config/settings.ts:649
    delete 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 production #8c32e400ce831a18 Environment-variable access.
repo/packages/cli/src/config/settings.ts:683
  if (process.env['CLOUD_SHELL'] === '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 #ee795e2b40d6bdd8 Filesystem access.
repo/packages/cli/src/config/settings.ts:697
      const envFileContent = fs.readFileSync(envFilePath, 'utf-8');

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

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

low env_fs production #08e5899ecafa4841 Environment-variable access.
repo/packages/cli/src/config/settings.ts:723
            process.env[key] = 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 #7cd3dce28014c3ce Filesystem access.
repo/packages/cli/src/config/settings.ts:784
        const 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 #5c9f23f962ae8a4a Environment-variable access.
repo/packages/cli/src/config/trustedFolders.test.ts:61
    delete process.env['GEMINI_CLI_TRUST_WORKSPACE'];

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

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

low env_fs production #21dc400370e45a9d Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:73
      fs.writeFileSync(trustedFoldersPath, '{}', 'utf-8');

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

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

low env_fs production #66d21c3659fc869a Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:91
      const content = fs.readFileSync(trustedFoldersPath, 'utf-8');

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

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

low env_fs production #f58402d828046902 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:112
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #93cd53f86b34503d Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:125
      fs.writeFileSync(trustedFoldersPath, 'invalid 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 #e66021eeaf84d68f Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:135
      fs.writeFileSync(trustedFoldersPath, 'null', 'utf-8');

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

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

low env_fs production #1e653d9bb967fd63 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:147
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #883458c71cfe2c4f Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:164
      fs.writeFileSync(trustedFoldersPath, 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 #a78d7e10f06ae65d Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:176
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #7ac8b52cc4e6897d Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:231
      fs.writeFileSync(trustedFoldersPath, '{}', 'utf-8');

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

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

low env_fs production #9d8f59b331c35b67 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:243
      const content = fs.readFileSync(trustedFoldersPath, 'utf-8');

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

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

low env_fs production #6bf5983ed18f3d29 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:249
      fs.writeFileSync(trustedFoldersPath, 'invalid 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 #3af4743093f60be2 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:271
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #e34ac4beeeb2306c Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:281
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #b4ede2278f4a43b7 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:291
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #d8c308b0ee0093c1 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:301
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #1f953c4d017795ca Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:311
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #117659e7e230c65b Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:319
      fs.writeFileSync(trustedFoldersPath, '{}', 'utf-8');

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

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

low env_fs production #7c18bddf2edee92d Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:330
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #71cacb095476abf6 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:343
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #87ca5605b62c4859 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:356
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #300c3d45c00c2610 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:368
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #bef994e000b9eb89 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:384
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #5787e1b5bac15016 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:399
      fs.writeFileSync(trustedFoldersPath, 'invalid 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 #8388e263ff07a4d4 Environment-variable access.
repo/packages/cli/src/config/trustedFolders.test.ts:437
      process.env['GEMINI_CLI_TRUST_WORKSPACE'] = '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 #31a5006480e42f6e Environment-variable access.
repo/packages/cli/src/config/trustedFolders.test.ts:444
        delete process.env['GEMINI_CLI_TRUST_WORKSPACE'];

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

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

low env_fs production #489be3e89845628f Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:453
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #cf72b4886b274bbb Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:490
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #7a4b56b7f283e7c8 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:520
        fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #6fa44edf5f81e401 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:536
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

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

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

low env_fs production #39a5f76f0fadcbcd Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:539
      fs.writeFileSync(envPath, 'GEMINI_API_KEY=secret', 'utf-8');

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

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

low env_fs production #64a3766f544bec4a Environment-variable access.
repo/packages/cli/src/config/trustedFolders.test.ts:549
      expect(process.env['GEMINI_API_KEY']).toBe('');

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

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

low env_fs production #92d7a55938587088 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:417
    delete process.env['GEMINI_CLI_NO_RELAUNCH'];

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

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

low env_fs production #3815fa61a568a6eb Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:438
    process.env['GEMINI_CLI_NO_RELAUNCH'] = '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 #4ba1a07fa0ccec5e Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:491
    originalEnvNoRelaunch = process.env['GEMINI_CLI_NO_RELAUNCH'];

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

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

low env_fs production #c8d26a18cee96641 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:492
    process.env['GEMINI_CLI_NO_RELAUNCH'] = '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 #5fd6ee2afc504552 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:512
      process.env['GEMINI_CLI_NO_RELAUNCH'] = originalEnvNoRelaunch;

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

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

low env_fs production #4a887da7972d01f4 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:514
      delete process.env['GEMINI_CLI_NO_RELAUNCH'];

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

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

low env_fs production #087b7d5a404b7738 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:701
    process.env['GEMINI_API_KEY'] = 'test-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 #a49ae802afd4450f Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:707
      delete 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 production #2916c76940fe5675 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:766
    process.env['GEMINI_API_KEY'] = 'test-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 #dfef2511927e1674 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:772
      delete 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 production #b6db0eb13b03c7e2 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:820
    process.env['GEMINI_API_KEY'] = 'test-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 #a798c1c16e1145d6 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:826
      delete 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 production #369dacb1f9e5faad Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1041
    process.env['GEMINI_API_KEY'] = 'test-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 #054c343bc018a14b Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1047
      delete 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 production #fed1fdc0cd068497 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1236
    originalEnvNoRelaunch = process.env['GEMINI_CLI_NO_RELAUNCH'];

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

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

low env_fs production #9edce8dc0b93e4e0 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1237
    process.env['GEMINI_CLI_NO_RELAUNCH'] = '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 #c5e3e545a0703156 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1249
      process.env['GEMINI_CLI_NO_RELAUNCH'] = originalEnvNoRelaunch;

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

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

low env_fs production #87238efec4e3b4db Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1251
      delete process.env['GEMINI_CLI_NO_RELAUNCH'];

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

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

low env_fs production #5be3276f8ba755f0 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1387
    process.env['GEMINI_API_KEY'] = 'test-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 #69d12f41076c104f Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1395
      delete 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 production #d2681b93cb8e8e56 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1420
    process.env['GEMINI_API_KEY'] = 'test-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 #e1f55d9c5b61f31f Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1428
      delete 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 production #19e29ce6eba27a01 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1465
    process.env['GEMINI_API_KEY'] = 'test-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 #8400fb0703a2550d Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1471
      delete 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 production #6c5903842249b3b3 Environment-variable access.
repo/packages/cli/src/gemini.tsx:138
  if (process.env['GEMINI_CLI_NO_RELAUNCH']) {

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

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

low env_fs production #9df2755e7769c00d Filesystem access.
repo/packages/cli/src/gemini.tsx:271
      await fsPromises.writeFile(
        newSessionPath,
        lines.join('\n') + '\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 #196942cb010e8652 Environment-variable access.
repo/packages/cli/src/gemini.tsx:488
      process.env['CLOUD_SHELL'] === '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 #53ee359b6d91c412 Environment-variable access.
repo/packages/cli/src/gemini.tsx:489
      process.env['GEMINI_CLI_USE_COMPUTE_ADC'] === '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 #dbcea3bb9e080bbc Environment-variable access.
repo/packages/cli/src/gemini.tsx:569
  if (!process.env['SANDBOX'] && !argv.isCommand) {

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

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

low env_fs production #4215c049d5e3dbff Environment-variable access.
repo/packages/cli/src/gemini_cleanup.test.tsx:194
    process.env['GEMINI_CLI_NO_RELAUNCH'] = '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 #112349bac4a75c0c Environment-variable access.
repo/packages/cli/src/gemini_cleanup.test.tsx:199
    delete process.env['GEMINI_CLI_NO_RELAUNCH'];

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

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

low env_fs production #812653dd53771f93 Environment-variable access.
repo/packages/cli/src/interactiveCli.tsx:99
  const isShpool = !!process.env['SHPOOL_SESSION_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 #8690805b0b30b40b Environment-variable access.
repo/packages/cli/src/interactiveCli.tsx:139
    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 #5ce48c001a3eeb1e Environment-variable access.
repo/packages/cli/src/nonInteractiveCli.ts:89
    if (process.env['GEMINI_CLI_ACTIVITY_LOG_TARGET']) {

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

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

low env_fs production #8890fc47f7fd7717 Environment-variable access.
repo/packages/cli/src/nonInteractiveCliAgentSession.ts:86
    if (process.env['GEMINI_CLI_ACTIVITY_LOG_TARGET']) {

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

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

low env_fs production #e1fd4e4b511fbc07 Environment-variable access.
repo/packages/cli/src/services/BuiltinCommandLoader.test.ts:413
    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 #b527b1814451a0eb Environment-variable access.
repo/packages/cli/src/services/BuiltinCommandLoader.test.ts:422
    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 #f02117e61090f2c8 Filesystem access.
repo/packages/cli/src/services/FileCommandLoader.ts:267
      fileContent = 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 #8296537d5cd85c7d Filesystem access.
repo/packages/cli/src/test-utils/AppRig.tsx:190
    fs.writeFileSync(
      path.join(geminiDir, 'state.json'),
      JSON.stringify({ terminalSetupPromptShown: 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 #86569add213b601b Environment-variable access.
repo/packages/cli/src/test-utils/AppRig.tsx:254
      if (!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 production #2f900276da11c221 Environment-variable access.
repo/packages/cli/src/test-utils/AppRig.tsx:316
        apiKey: process.env['GEMINI_API_KEY'] || 'test-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 #588106fcf84581f8 Filesystem access.
repo/packages/cli/src/test-utils/createExtension.ts:33
  fs.writeFileSync(
    path.join(extDir, EXTENSIONS_CONFIG_FILENAME),
    JSON.stringify({
      name,
      version,
      contextFileName,
      mcpServers,
      settings,
      themes,
    }),
  );

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

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

low env_fs production #d02a6bb0072977fa Filesystem access.
repo/packages/cli/src/test-utils/createExtension.ts:46
    fs.writeFileSync(path.join(extDir, 'GEMINI.md'), 'context');

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

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

low env_fs production #bf026b0201fd512e Filesystem access.
repo/packages/cli/src/test-utils/createExtension.ts:50
    fs.writeFileSync(path.join(extDir, contextFileName), 'context');

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

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

low env_fs production #5d196a0d531582df Filesystem access.
repo/packages/cli/src/test-utils/createExtension.ts:54
    fs.writeFileSync(
      path.join(extDir, INSTALL_METADATA_FILENAME),
      JSON.stringify(installMetadata),
    );

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

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

low env_fs production #8aa9170f21376f52 Environment-variable access.
repo/packages/cli/src/test-utils/render.tsx:58
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 #633bfee0f18eadab Environment-variable access.
repo/packages/cli/src/test-utils/render.tsx:64
  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 #63775db48118a5ee Environment-variable access.
repo/packages/cli/src/ui/IdeIntegrationNudge.tsx:47
    !!process.env['GEMINI_CLI_IDE_SERVER_PORT'] &&

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

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

low env_fs production #a17fb24301c3eee4 Environment-variable access.
repo/packages/cli/src/ui/IdeIntegrationNudge.tsx:48
    !!process.env['GEMINI_CLI_IDE_WORKSPACE_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 #57845dc3472ac543 Environment-variable access.
repo/packages/cli/src/ui/auth/AuthDialog.tsx:51
    ...(process.env['CLOUD_SHELL'] === '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 #0888f5eaaa0f86ff Environment-variable access.
repo/packages/cli/src/ui/auth/AuthDialog.tsx:59
      : process.env['GEMINI_CLI_USE_COMPUTE_ADC'] === '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 #1a64f817123c1db9 Environment-variable access.
repo/packages/cli/src/ui/auth/AuthDialog.tsx:87
  const defaultAuthTypeEnv = process.env['GEMINI_DEFAULT_AUTH_TYPE'];

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

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

low env_fs production #efec27ebda4047fb Environment-variable access.
repo/packages/cli/src/ui/auth/AuthDialog.tsx:106
    if (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 production #66b82fbec8ba8aff Environment-variable access.
repo/packages/cli/src/ui/auth/AuthDialog.tsx:125
            process.env['CLOUD_SHELL'] === '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 #cf76402f0939fa4a Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.test.tsx:39
    delete 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 production #931f5a92ba46331e Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.test.tsx:40
    delete process.env['GEMINI_DEFAULT_AUTH_TYPE'];

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

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

low env_fs production #570fb1fd919a6050 Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.test.tsx:178
      process.env['GEMINI_API_KEY'] = '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 production #9908b1b2813b9e6a Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.test.tsx:236
      process.env['GEMINI_API_KEY'] = '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 production #0a33b229672f44ec Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.test.tsx:252
      process.env['GEMINI_API_KEY'] = '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 production #7400c2cdd240fea5 Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.test.tsx:278
      process.env['GEMINI_DEFAULT_AUTH_TYPE'] = 'INVALID_TYPE';

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

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

low env_fs production #72ea5d31a65e6b4c Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.ts:69
    const envKey = 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 production #285af8d06e2a2120 Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.ts:96
        if (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 production #670f3226ad2b49cc Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.ts:124
      const defaultAuthType = process.env['GEMINI_DEFAULT_AUTH_TYPE'];

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

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

low env_fs production #e9404b154122b9b7 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.test.ts:66
    process.env['GOOGLE_CLOUD_PROJECT'] = 'test-gcp-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 production #680bc0d2ce699134 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.test.ts:87
    process.env['SANDBOX'] = '';

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

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

low env_fs production #e690fa7a5b45e808 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.test.ts:109
    process.env['SANDBOX'] = 'gemini-sandbox';

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

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

low env_fs production #4d3fe04894aec04e Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.test.ts:124
    process.env['SANDBOX'] = 'sandbox-exec';

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

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

low env_fs production #dbaee1e71a6c5e45 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.test.ts:125
    process.env['SEATBELT_PROFILE'] = 'test-profile';

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

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

low env_fs production #19ace681cd880811 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.test.ts:144
    process.env['SANDBOX'] = '';

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

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

low env_fs production #28e2c98b259f3985 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.ts:30
    if (process.env['SANDBOX'] && process.env['SANDBOX'] !== 'sandbox-exec') {

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

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

low env_fs production #e76d08610ac8958d Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.ts:31
      sandboxEnv = process.env['SANDBOX'];

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

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

low env_fs production #4877cbe96f375e58 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.ts:32
    } else if (process.env['SANDBOX'] === 'sandbox-exec') {

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

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

low env_fs production #8963f89c98b1d3b6 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.ts:34
        process.env['SEATBELT_PROFILE'] || '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 #7891cc31aa2d96cf Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.ts:42
    const gcpProject = 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 production #eb5527ed8adcad8a Environment-variable access.
repo/packages/cli/src/ui/commands/bugCommand.ts:43
    if (process.env['SANDBOX'] && process.env['SANDBOX'] !== 'sandbox-exec') {

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

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

low env_fs production #c6673837c5e00d18 Environment-variable access.
repo/packages/cli/src/ui/commands/bugCommand.ts:44
      sandboxEnv = process.env['SANDBOX'].replace(/^gemini-(?: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 #99728202fa5856c7 Environment-variable access.
repo/packages/cli/src/ui/commands/bugCommand.ts:45
    } else if (process.env['SANDBOX'] === 'sandbox-exec') {

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

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

low env_fs production #a9fcc6e07373159b Environment-variable access.
repo/packages/cli/src/ui/commands/bugCommand.ts:47
        process.env['SEATBELT_PROFILE'] || '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 #dc72818a9ff20e2d Filesystem access.
repo/packages/cli/src/ui/commands/chatCommand.ts:364
      await fsPromises.writeFile(
        filePath,
        JSON.stringify(restPayload, 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 #adaaac9227dab24a Environment-variable access.
repo/packages/cli/src/ui/commands/docsCommand.ts:24
    if (process.env['SANDBOX'] && process.env['SANDBOX'] !== 'sandbox-exec') {

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

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

low env_fs production #b8ba8f1c7ce97729 Filesystem access.
repo/packages/cli/src/ui/commands/exportSessionCommand.ts:72
      await fs.writeFile(
        targetPath,
        JSON.stringify(sessionData, null, 2),
        'utf-8',
      );

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

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

low env_fs production #2972106c252a3973 Environment-variable access.
repo/packages/cli/src/ui/commands/extensionsCommand.ts:304
  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 #92315c7556699a79 Environment-variable access.
repo/packages/cli/src/ui/commands/extensionsCommand.ts:310
    process.env['SANDBOX'] &&

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

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

low env_fs production #92174ce1372891ae Environment-variable access.
repo/packages/cli/src/ui/commands/extensionsCommand.ts:311
    process.env['SANDBOX'] !== 'sandbox-exec'

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

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

low env_fs production #f4fbe935df582cb3 Filesystem access.
repo/packages/cli/src/ui/commands/initCommand.ts:40
      fs.writeFileSync(geminiMdPath, '', '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 #53b41b85b32bdbe7 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:118
      await fs.writeFile(path.join(checkpointsDir, 'test1.json'), '{}');

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

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

low env_fs production #bb2747861aaf062b Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:119
      await fs.writeFile(path.join(checkpointsDir, 'test2.json'), '{}');

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

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

low env_fs production #b92fbfed068e65e8 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:130
      await fs.writeFile(path.join(checkpointsDir, 'test1.json'), '{}');

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

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

low env_fs production #43deb9ae498fb480 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:166
      await fs.writeFile(
        path.join(checkpointsDir, 'my-checkpoint.json'),
        JSON.stringify(toolCallData),
      );

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

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

low env_fs production #d6dbeffac20cf0d7 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:197
      await fs.writeFile(
        path.join(checkpointsDir, 'my-checkpoint.json'),
        JSON.stringify(toolCallData),
      );

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

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

low env_fs production #80228998ae72d6a7 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:218
    await fs.writeFile(
      path.join(checkpointsDir, `${checkpointName}.json`),
      JSON.stringify({ history: [] }), // An object that is valid JSON but missing the 'toolCall' property
    );

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

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

low env_fs production #237c16cb5058c241 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:248
      await fs.writeFile(path.join(checkpointsDir, 'test1.json'), '{}');

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

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

low env_fs production #ab6f34701ffa5816 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:249
      await fs.writeFile(path.join(checkpointsDir, 'test2.json'), '{}');

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

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

low env_fs production #f7b9e546be19699a Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:250
      await fs.writeFile(
        path.join(checkpointsDir, 'not-a-checkpoint.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 production #09ad842b6aa27a90 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.ts:91
    const data = 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 #c5e80d841642fc4c Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:105
      const contents = await fs.readFile(workflowFile, '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 #b22151dbfc97a5c3 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:118
      const gitignoreContent = await fs.readFile(gitignorePath, '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 #84c883d5a76ec73d Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:175
      const contents = await fs.readFile(workflowFile, '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 #e11ee0dd27c62784 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:188
      const gitignoreContent = await fs.readFile(gitignorePath, '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 #70f8ecba5e7e4bf1 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:236
    const content = await fs.readFile(gitignorePath, '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 #c3131d2b55dc6bfb Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:244
    await fs.writeFile(gitignorePath, existingContent);

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

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

low env_fs production #1e8da0262a2fd879 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:248
    const content = await fs.readFile(gitignorePath, '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 #2e242a2df8d341b7 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:258
    await fs.writeFile(gitignorePath, existingContent);

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

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

low env_fs production #af9b3648debde51d Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:262
    const content = await fs.readFile(gitignorePath, '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 #b3b4ce606bd9a9dd Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:270
    await fs.writeFile(gitignorePath, existingContent);

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

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

low env_fs production #4f1f8d8976f049db Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:274
    const content = await fs.readFile(gitignorePath, '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 #cefef3a3ac1f5af0 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:292
    await fs.writeFile(gitignorePath, existingContent);

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

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

low env_fs production #d31549dff70b2662 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:296
    const content = await fs.readFile(gitignorePath, '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 #8a6810a6185f6784 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.ts:78
      existingContent = await fs.promises.readFile(gitignorePath, '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 #77abe209ec876db9 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.ts:87
      await fs.promises.writeFile(gitignorePath, contentToWrite);

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

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

low env_fs production #f5f4ff71ee4e2a25 Environment-variable access.
repo/packages/cli/src/ui/components/Footer.tsx:81
  const sandbox = process.env['SANDBOX'];

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

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

low env_fs production #8448efa7955002fe Environment-variable access.
repo/packages/cli/src/ui/components/Footer.tsx:312
        const sandbox = process.env['SANDBOX'];

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

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

low env_fs production #9d4048376c2a3b07 Environment-variable access.
repo/packages/cli/src/ui/components/InboxDialog.tsx:186
    const homeDirs = [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 #d15becbe4b1623ed Environment-variable access.
repo/packages/cli/src/ui/components/InputPrompt.tsx:1735
  const useLineFallback = !!process.env['NO_COLOR'];

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

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

low env_fs production #5891f95a4b913588 Environment-variable access.
repo/packages/cli/src/ui/components/StatusDisplay.tsx:26
  if (process.env['GEMINI_SYSTEM_MD']) {

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

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

low env_fs production #c53a4c08dfc42c85 Environment-variable access.
repo/packages/cli/src/ui/components/shared/ScrollableList.tsx:115
      duration: number = process.env['NODE_ENV'] === 'test' ? 0 : 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 production #d8cfe8827cf258ce Environment-variable access.
repo/packages/cli/src/ui/components/shared/VirtualizedList.tsx:547
    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 #5139adc84e35dbaf Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.test.ts:1175
      fs.writeFileSync(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 #71653c6146232481 Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.test.ts:1193
      fs.writeFileSync(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 #633cb4e870cab260 Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.test.ts:1215
      fs.writeFileSync(file1, '');

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

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

low env_fs production #c7119f6301696acf Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.test.ts:1216
      fs.writeFileSync(file2, '');

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

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

low env_fs production #d0dc1a4f6519d8bc Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.test.ts:1231
      fs.writeFileSync(file1, '');

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

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

low env_fs production #384832e1db69440e Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.test.ts:1232
      fs.writeFileSync(file2, '');

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

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

low env_fs production #9dc6fe15ad68a3f6 Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.test.ts:1249
      fs.writeFileSync(validFile, '');

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

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

low env_fs production #0519a7ce7a5cee5d Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.ts:3321
    fs.writeFileSync(filePath, expandedText, '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 #03710d9b45b57c5b Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.ts:3334
      let newText = 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 #84dd3a74ac871f12 Environment-variable access.
repo/packages/cli/src/ui/contexts/KeypressContext.tsx:383
  const lang = process.env['LANG'] || '';

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

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

low env_fs production #5682475c4ee75a9a Environment-variable access.
repo/packages/cli/src/ui/contexts/KeypressContext.tsx:384
  const lcAll = process.env['LC_ALL'] || '';

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

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

low env_fs production #cf6ea3b8dd423fc7 Filesystem access.
repo/packages/cli/src/ui/hooks/atCommandProcessor.test.ts:54
    await fsPromises.writeFile(fullPath, fileContents);

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

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

low env_fs production #5d20307c8754ffa7 Filesystem access.
repo/packages/cli/src/ui/hooks/atCommandProcessor.test.ts:1478
      await fsPromises.writeFile(filePath, fileContent);

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

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

low env_fs production #95f531f4a24eea3f Filesystem access.
repo/packages/cli/src/ui/hooks/atCommandProcessor.test.ts:1692
    await fsPromises.writeFile(realFile, '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 production #bc467749325a2e8d Filesystem access.
repo/packages/cli/src/ui/hooks/shell-completions/npmProvider.ts:51
        const content = await fs.readFile(pkgJsonPath, '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 #5ead1d41586d39a8 Environment-variable access.
repo/packages/cli/src/ui/hooks/useAnimatedScrollbar.ts:45
      typeof process !== 'undefined' && 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 #3ba938adb4287998 Filesystem access.
repo/packages/cli/src/ui/hooks/useExecutionLifecycle.ts:595
            const finalPwd = fs.readFileSync(pwdFilePath, '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 #fb73dbf8341d652a Filesystem access.
repo/packages/cli/src/ui/hooks/useGeminiStream.ts:2118
              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 #a81eb92ff0089fec Filesystem access.
repo/packages/cli/src/ui/hooks/useGitBranchName.test.tsx:277
      fs.writeFileSync(GIT_HEAD_PATH, 'ref: refs/heads/develop');

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

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

low env_fs production #cb6b7b271c3ca2fe Environment-variable access.
repo/packages/cli/src/ui/hooks/useQuotaAndFallback.ts:143
            process.env['GOOGLE_CLOUD_LOCATION'] || 'your configured region';

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

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

low env_fs production #5cc424ea6b5a7fbb Environment-variable access.
repo/packages/cli/src/ui/hooks/useShellCompletion.ts:186
  const pathEnv = process.env['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 #4b41cbfaede202ed Environment-variable access.
repo/packages/cli/src/ui/hooks/useShellCompletion.ts:190
    ? (process.env['PATHEXT'] ?? '.EXE;.CMD;.BAT;.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 production #a7b747bc9847ff51 Environment-variable access.
repo/packages/cli/src/ui/hooks/useShellCompletion.ts:452
  const pathEnvRef = useRef<string>(process.env['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 #b9d7ffd4a52d334b Environment-variable access.
repo/packages/cli/src/ui/hooks/useShellCompletion.ts:482
    const currentPath = process.env['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 #32269550e5eb260e Filesystem access.
repo/packages/cli/src/ui/hooks/useShellHistory.ts:34
    const text = 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 #9eb6f63b5fb96838 Filesystem access.
repo/packages/cli/src/ui/hooks/useShellHistory.ts:67
    await fs.writeFile(filePath, history.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 #e867a2852eb58f3d Environment-variable access.
repo/packages/cli/src/ui/hooks/useThemeCommand.ts:41
    if (process.env['NO_COLOR']) {

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

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

low env_fs production #6ea23054043cc34e Environment-variable access.
repo/packages/cli/src/ui/hooks/useVoiceMode.ts:128
      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 production #12f212dbd4ef2459 Filesystem access.
repo/packages/cli/src/ui/key/keyBindings.test.ts:196
    await fs.writeFile(tempFilePath, customJson, '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 #e2ce487119c1d132 Filesystem access.
repo/packages/cli/src/ui/key/keyBindings.test.ts:214
    await fs.writeFile(tempFilePath, customJson, '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 #75867b83472815a0 Filesystem access.
repo/packages/cli/src/ui/key/keyBindings.test.ts:227
    await fs.writeFile(tempFilePath, invalidJson, '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 #5225eb3c903d26be Filesystem access.
repo/packages/cli/src/ui/key/keyBindings.test.ts:243
    await fs.writeFile(tempFilePath, mixedJson, '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 #38aa243c141c3a06 Filesystem access.
repo/packages/cli/src/ui/key/keyBindings.test.ts:260
    await fs.writeFile(tempFilePath, customJson, '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 #f3071e9188b66160 Filesystem access.
repo/packages/cli/src/ui/key/keyBindings.test.ts:273
    await fs.writeFile(tempFilePath, customJson, '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 #bfa0a6b41b32011a Filesystem access.
repo/packages/cli/src/ui/key/keyBindings.ts:727
    const content = await fs.readFile(userKeybindingsPath, '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 #9ba18b9530a6ae51 Filesystem access.
repo/packages/cli/src/ui/key/keyMatchers.test.ts:561
    await fs.writeFile(tempFilePath, customJson, '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 #60f6915c15f06ca1 Filesystem access.
repo/packages/cli/src/ui/key/keyMatchers.test.ts:573
    await fs.writeFile(tempFilePath, 'invalid 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 #91e60e5ff46e4365 Environment-variable access.
repo/packages/cli/src/ui/key/keybindingUtils.ts:78
    (process.env['FORCE_GENERIC_KEYBINDING_HINTS']

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84956063dd291f27 Environment-variable access.
repo/packages/cli/src/ui/themes/theme-manager.test.ts:8
if (process.env['NO_COLOR'] !== 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 #58f32a9ae65040a0 Environment-variable access.
repo/packages/cli/src/ui/themes/theme-manager.test.ts:9
  delete process.env['NO_COLOR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a147f2b61637443a Environment-variable access.
repo/packages/cli/src/ui/themes/theme-manager.test.ts:118
    const original = process.env['NO_COLOR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c34df9439123a73e Environment-variable access.
repo/packages/cli/src/ui/themes/theme-manager.test.ts:119
    process.env['NO_COLOR'] = '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 #55467a9d1449d823 Environment-variable access.
repo/packages/cli/src/ui/themes/theme-manager.test.ts:122
      delete process.env['NO_COLOR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4fa3cd4fe41bc3b8 Environment-variable access.
repo/packages/cli/src/ui/themes/theme-manager.test.ts:124
      process.env['NO_COLOR'] = 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 production #8f747e6cd15d24ed Environment-variable access.
repo/packages/cli/src/ui/themes/theme-manager.ts:317
    if (process.env['NO_COLOR']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2d0c6fe696f659b1 Filesystem access.
repo/packages/cli/src/ui/themes/theme-manager.ts:584
      const themeContent = this.fs.readFileSync(canonicalPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fcef8fc0b0113ba7 Environment-variable access.
repo/packages/cli/src/ui/utils/antigravityUtils.ts:23
    if (process.env['PSModulePath']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #51b6dcdcce3d1f56 Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.test.ts:113
      process.env['XDG_SESSION_TYPE'] = 'wayland';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #afb37fdd44948da0 Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.test.ts:132
      process.env['XDG_SESSION_TYPE'] = 'x11';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ccc187990f399698 Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.test.ts:157
      process.env['XDG_SESSION_TYPE'] = 'wayland';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3cdde16ea5e33a18 Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.test.ts:168
      process.env['XDG_SESSION_TYPE'] = 'wayland';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf256b51fb47d6e2 Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.test.ts:182
      process.env['XDG_SESSION_TYPE'] = 'wayland';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #28d015859663e6e7 Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.test.ts:230
      process.env['XDG_SESSION_TYPE'] = type;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #db2294245bec23f7 Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.test.ts:340
      delete process.env['XDG_SESSION_TYPE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0a21849b204a06be Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.ts:44
  const displayServer = process.env['XDG_SESSION_TYPE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #180ff3be9e1b522d Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:87
  delete process.env['TMUX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b103a7aecfaca71f Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:88
  delete process.env['STY'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0fa84836c423c954 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:89
  delete process.env['SSH_TTY'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c06d12614510b85c Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:90
  delete process.env['SSH_CONNECTION'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cb48fae26b581a07 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:91
  delete process.env['SSH_CLIENT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a091ce7d636e461c Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:92
  delete process.env['WSL_DISTRO_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 #16cd76d83fff7db6 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:93
  delete process.env['WSLENV'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #20122a1d03484729 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:94
  delete process.env['WSL_INTEROP'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #87085bf19a61ffae Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:95
  delete process.env['TERM'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #94f87e128ac032ad Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:96
  delete process.env['WT_SESSION'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0fdcf8c0978ef861 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:265
      process.env['SSH_CONNECTION'] = '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 #a2a99e1c5d9200e6 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:309
      process.env['SSH_CONNECTION'] = '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 #fe51b8b0216eb389 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:310
      process.env['TMUX'] = '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 #1ef02d60065db4ee Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:332
      process.env['SSH_CONNECTION'] = '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 #61ce1ee40911fd04 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:333
      process.env['STY'] = 'screen-session';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84308bfbf2351013 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:356
      process.env['SSH_TTY'] = '/dev/pts/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 #c35405ea614806ec Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:383
      process.env['SSH_CLIENT'] = 'client';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #87a2fd50da065fbf Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:396
      process.env['SSH_CONNECTION'] = '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 #f0c0b8749b5aa81a Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:411
      process.env['SSH_CONNECTION'] = '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 #03169f6c0140ea5e Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:450
      process.env['SSH_CONNECTION'] = '1'; // normally would trigger OSC52 on TTY

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6760ef7eaacc0429 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:476
      process.env['TMUX'] = '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 #b895c09523282ad1 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:487
      process.env['SSH_CONNECTION'] = '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 #b3cf2eba26e41610 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:512
      process.env['SSH_CONNECTION'] = '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 #5a77887b43f166e5 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:545
      process.env['WT_SESSION'] = 'some-uuid';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fdd57113576a7fa8 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:569
      process.env['WT_SESSION'] = 'some-uuid';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b993e49bf0701648 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:598
      process.env['WT_SESSION'] = 'some-uuid';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #025cb90d4404cd23 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:145
    process.env['TMUX'] || (process.env['TERM'] ?? '').startsWith('tmux'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e8d37fd0a3be4d10 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:150
    process.env['STY'] || (process.env['TERM'] ?? '').startsWith('screen'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2a3000185b840a90 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:155
    process.env['SSH_TTY'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #442557882106c0ed Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:156
      process.env['SSH_CONNECTION'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #20c53c196030cbc6 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:157
      process.env['SSH_CLIENT'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #404ce23835382dc2 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:162
    process.env['WSL_DISTRO_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 #474353c5a37d9178 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:163
      process.env['WSLENV'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #578f272dee4912d4 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:164
      process.env['WSL_INTEROP'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5021f171acb7dabf Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:168
  process.platform === 'win32' && Boolean(process.env['WT_SESSION']);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #83c59ece3c75853c Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:170
const isDumbTerm = (): boolean => (process.env['TERM'] ?? '') === 'dumb';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0f344d702a9ab9ee Environment-variable access.
repo/packages/cli/src/ui/utils/editorUtils.ts:81
    const envCommand = process.env['VISUAL'] ?? process.env['EDITOR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6ec83071911e5cb6 Filesystem access.
repo/packages/cli/src/ui/utils/historyExportUtils.ts:80
  await fsPromises.writeFile(filePath, 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 #1a14c9df7a6818e5 Filesystem access.
repo/packages/cli/src/ui/utils/rewindFileOps.ts:175
              currentContent = 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 #f055f4d8be263ea0 Filesystem access.
repo/packages/cli/src/ui/utils/rewindFileOps.ts:198
                await fs.writeFile(filePath, originalContent ?? '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a18600bbed29661d Filesystem access.
repo/packages/cli/src/ui/utils/rewindFileOps.ts:223
                  await fs.writeFile(filePath, patchedContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5ce767cb2a584d10 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:87
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f7dac577bdcb4734 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:93
      process.env['CURSOR_TRACE_ID'] = 'some-id';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8541ea314d01e873 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:99
      process.env['VSCODE_GIT_ASKPASS_MAIN'] = '/path/to/windsurf/askpass';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #948f89a938f4a688 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:117
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4b45c6015078dd69 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:130
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7f09397eadc99501 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:141
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0f02eccc40f7f45a Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:183
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ee1c13559eb446b6 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:193
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #44a1113200caaeb0 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:218
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c6145080658bf810 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:242
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3873fbbb4131a72b Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:115
  const termProgram = process.env['TERM_PROGRAM'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0788debcf1eb9093 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:120
    process.env['CURSOR_TRACE_ID'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #baf852de66308a25 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:121
    process.env['VSCODE_GIT_ASKPASS_MAIN']?.toLowerCase().includes('cursor')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2438daa2d2309eb4 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:127
    process.env['VSCODE_GIT_ASKPASS_MAIN']?.toLowerCase().includes('windsurf')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #43f0d4974079f6cd Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:133
    process.env['VSCODE_GIT_ASKPASS_MAIN']

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6ddca948c55f2a2e Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:140
  if (termProgram === 'vscode' || process.env['VSCODE_GIT_IPC_HANDLE']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #31a0db8dbb0b4492 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:205
    if (!process.env['APPDATA']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0dbfcf9b41103d05 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:208
    return path.join(process.env['APPDATA'], appName, 'User');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a147c3e3c99fad38 Filesystem access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:235
      const content = await fs.readFile(keybindingsFile, '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 #544088002339853d Filesystem access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:352
    await fs.writeFile(keybindingsFile, JSON.stringify(keybindings, 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 production #0174cebf0af6539d Filesystem access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:403
    const content = await fs.readFile(keybindingsFile, '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 #bb37dc3509c81ca3 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalUtils.ts:34
  cachedIsITerm2 = process.env['TERM_PROGRAM'] === 'iTerm.app';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #50fa7871ecff25e1 Environment-variable access.
repo/packages/cli/src/ui/utils/updateCheck.test.ts:51
    delete process.env['DEV'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #36550720ff91236f Environment-variable access.
repo/packages/cli/src/ui/utils/updateCheck.test.ts:76
    process.env['DEV'] = '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 #39121b190acfd362 Environment-variable access.
repo/packages/cli/src/ui/utils/updateCheck.ts:64
    if (process.env['DEV'] === 'true') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low egress production #28e180e29c5c7f71 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/cli/src/ui/utils/urlSecurityUtils.test.ts:19
      const urlObj = new URL('https://xn--tst-qla.com/path');

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 #2567cdb280ea871f Environment-variable access.
repo/packages/cli/src/utils/cleanup.test.ts:298
      const originalSandbox = process.env['SANDBOX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f6924020350bf0f0 Environment-variable access.
repo/packages/cli/src/utils/cleanup.test.ts:299
      process.env['SANDBOX'] = 'true';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f08348eccb142277 Environment-variable access.
repo/packages/cli/src/utils/cleanup.test.ts:316
      process.env['SANDBOX'] = originalSandbox;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #740a48a26839eed0 Environment-variable access.
repo/packages/cli/src/utils/cleanup.ts:160
    if (process.env['SANDBOX']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2974a37f059af0ee Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:48
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ad0cca65a304255f Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:57
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e3c3344a687a4b8d Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:73
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #75fd7d8789646b36 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:82
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c72a766134128356 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:93
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #08565c08278386ca Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:100
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aa0320d7ea52047a Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:111
      const content = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #da3eb36f59744125 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:129
      fs.writeFileSync(testFilePath, complexContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #02112ec0f14a09bb Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:145
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c6329dcb8661ca82 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:166
      fs.writeFileSync(testFilePath, corruptedContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #588e80c3283ddad9 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:180
      const unchangedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #49be07508b0d22c8 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:194
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9bdcb976dc11faeb Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:200
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b053cdcdae265642 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:218
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #758abdff6416ba22 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:228
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #34e59f59028a46c5 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:253
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1c24644c15b665f4 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:265
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9b2cc38e56a2e0a0 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:294
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7b81c97233efcba7 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:300
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #03ad03ce6bda044d Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:313
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #16f40496db0d7560 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:319
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ba7c7cab7b84fec3 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:346
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #629fe354f361e8e8 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:357
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #96347008d0ee15ef Filesystem access.
repo/packages/cli/src/utils/commentJson.ts:24
    fs.writeFileSync(filePath, JSON.stringify(updates, null, 2), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46e07e5b805dcbfa Filesystem access.
repo/packages/cli/src/utils/commentJson.ts:28
  const originalContent = 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 #afc80f6b495bd226 Filesystem access.
repo/packages/cli/src/utils/commentJson.ts:46
  fs.writeFileSync(filePath, updatedContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3157c277a3c65cce Environment-variable access.
repo/packages/cli/src/utils/devtoolsService.test.ts:122
    delete process.env['GEMINI_CLI_ACTIVITY_LOG_TARGET'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8517a72c44d19d09 Environment-variable access.
repo/packages/cli/src/utils/devtoolsService.test.ts:139
      process.env['GEMINI_CLI_ACTIVITY_LOG_TARGET'] = '/tmp/test.jsonl';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd92f75823653820 Environment-variable access.
repo/packages/cli/src/utils/devtoolsService.test.ts:152
      process.env['GEMINI_CLI_ACTIVITY_LOG_TARGET'] = '/tmp/test.jsonl';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7d96af5f702e76ac Environment-variable access.
repo/packages/cli/src/utils/devtoolsService.ts:122
  const target = process.env['GEMINI_CLI_ACTIVITY_LOG_TARGET'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #08b55df3c307c4dd Environment-variable access.
repo/packages/cli/src/utils/envVarResolver.ts:48
        const val = process.env[varName];

Reads environment variables or the filesystem — 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 #a919abbc2246f3ab Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/cli/src/utils/gitUtils.ts:64
    const response = await fetch(endpoint, {
      method: 'GET',
      headers: {
        Accept: 'application/vnd.github+json',
        'Content-Type': 'application/json',
        'X-GitHub-Api-Version': '2022-11-28',
      },
      dispatcher: proxy ? new ProxyAgent(proxy) : undefined,
      /* eslint-disable @typescript-eslint/no-unsafe-type-assertion */
      signal: (
        AbortSignal as unknown as {
          any: (signals: AbortSignal[]) => AbortSignal;
        }
      ).any([AbortSignal.timeout(30_000), controller.signal]),
      /* eslint-enable @typescript-eslint/no-unsafe-type-assertion */
    } as RequestInit);

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 #e3ea4bed4a63f76a Environment-variable access.
repo/packages/cli/src/utils/installationInfo.ts:13
export const isDevelopment = 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 #c01c24f7d6b69231 Environment-variable access.
repo/packages/cli/src/utils/installationInfo.ts:47
    if (process.env['IS_BINARY'] === '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 #7c6869c7c716f228 Filesystem access.
repo/packages/cli/src/utils/persistentState.ts:41
        const 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 #c2c89a3197180a11 Filesystem access.
repo/packages/cli/src/utils/persistentState.ts:63
      fs.writeFileSync(filePath, JSON.stringify(this.cache, 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 #7739175e3ad77072 Environment-variable access.
repo/packages/cli/src/utils/processUtils.ts:46
    (process.env['IS_BINARY'] === '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 #4c3e84c9ff534791 Environment-variable access.
repo/packages/cli/src/utils/processUtils.ts:65
    process.env['IS_BINARY'] === '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 #9211d508482168c3 Environment-variable access.
repo/packages/cli/src/utils/processUtils.ts:103
      const existingNodeOptions = process.env['NODE_OPTIONS'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0332b3e9928fbd6e Environment-variable access.
repo/packages/cli/src/utils/relaunch.ts:43
  if (process.env['GEMINI_CLI_NO_RELAUNCH']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0a9d012f155b6e33 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:66
            const output = process.env['TEST_LXC_LIST_OUTPUT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5860d55bac076e0d Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:375
      process.env['GEMINI_CLI_INTEGRATION_TEST'] = '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 #492617d800d79792 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:534
      process.env['SANDBOX_MOUNTS'] = '/host/path:/container/path:ro';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d4fad2dd206261d7 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:710
      process.env['GOOGLE_GEMINI_BASE_URL'] = 'http://gemini.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 production #4fba885fc9b7d8eb Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:711
      process.env['GOOGLE_VERTEX_BASE_URL'] = 'http://vertex.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 production #4dd2eb4608a2ee45 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:757
      process.env['SANDBOX_SET_UID_GID'] = '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 #5092340d07564708 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:818
      process.env['SANDBOX_SET_UID_GID'] = '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 #26a88ff7c35f9407 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:928
        delete process.env['TEST_LXC_LIST_OUTPUT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f88e43bb7f3ef038 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:932
        process.env['TEST_LXC_LIST_OUTPUT'] = LXC_RUNNING;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #627bc172b9ce59fc Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:966
        process.env['TEST_LXC_LIST_OUTPUT'] = 'throw';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #552979cab1e9a735 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:978
        process.env['TEST_LXC_LIST_OUTPUT'] = LXC_STOPPED;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #323eaa1a87fad149 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:988
        process.env['TEST_LXC_LIST_OUTPUT'] = '[]';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #959ddead3b0b34de Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:53
    debugMode: cliConfig?.getDebugMode() || !!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 #5bfaca67ac910813 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:63
      if (process.env['BUILD_SANDBOX']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0ddaf7a097fc7f71 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:69
      const profile = (process.env['SEATBELT_PROFILE'] ??= 'permissive-open');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3d6e293d60399196 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:93
        ...(process.env['DEBUG'] ? ['--inspect-brk'] : []),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #beb2eb286b38a08e Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:167
      const proxyCommand = process.env['GEMINI_SANDBOX_PROXY_COMMAND'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #55bf6d1fb942566f Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:173
          process.env['HTTPS_PROXY'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e17e7988b41ad430 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:174
          process.env['https_proxy'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3b91bf3a09eb209 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:175
          process.env['HTTP_PROXY'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c18fb313d1c2274f Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:176
          process.env['http_proxy'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8c9def94ae1ce873 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:182
        const noProxy = process.env['NO_PROXY'] || process.env['no_proxy'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0d6017e75808c299 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:270
    if (process.env['BUILD_SANDBOX']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1ec59529a4943abe Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:327
    if (process.env['SANDBOX_FLAGS']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #690217d7e92c8aba Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:328
      const flags = parse(process.env['SANDBOX_FLAGS'], process.env).filter(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4c29a3657f2963e0 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:392
    if (process.env['GOOGLE_APPLICATION_CREDENTIALS']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #57334791fb5ce900 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:393
      const adcFile = process.env['GOOGLE_APPLICATION_CREDENTIALS'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0755c6dcef54fd71 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:404
    if (process.env['SANDBOX_MOUNTS']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #35cc45568b9d59b1 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:405
      for (let mount of process.env['SANDBOX_MOUNTS'].split(',')) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8fe5ed04cb047f2f Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:447
    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 #de3ca7b9fe7e1eab Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:448
      const debugPort = process.env['DEBUG_PORT'] || '9229';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #78e73691a78028a9 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:455
    const proxyCommand = process.env['GEMINI_SANDBOX_PROXY_COMMAND'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fce5b6f9726449aa Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:459
        process.env['HTTPS_PROXY'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6a3fbb5d1d10f035 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:460
        process.env['https_proxy'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #59ce1b5c9a54b426 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:461
        process.env['HTTP_PROXY'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8f7a5214b5bd542a Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:462
        process.env['http_proxy'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7f2d3ed088c9b29 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:471
      const noProxy = process.env['NO_PROXY'] || process.env['no_proxy'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bb403482027ba2eb Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:504
      process.env['GEMINI_CLI_INTEGRATION_TEST'] === '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 #913a07e98f2ef349 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:515
    if (process.env['GEMINI_CLI_TEST_VAR']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d3b564fcc3571c61 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:518
        `GEMINI_CLI_TEST_VAR=${process.env['GEMINI_CLI_TEST_VAR']}`,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46df13552c4e4975 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:523
    if (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 production #6af6aa2e0c25e929 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:524
      args.push('--env', `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 production #b90bc38f77fd8101 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:526
    if (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 production #f4ab013825726eab Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:527
      args.push('--env', `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 production #bbed00b1e9ff6df5 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:531
    if (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 production #4868eb2ec0289d7c Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:534
        `GOOGLE_GEMINI_BASE_URL=${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 production #27c169cee1dc8499 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:537
    if (process.env['GOOGLE_VERTEX_BASE_URL']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d5f9fd02b33cb5d1 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:540
        `GOOGLE_VERTEX_BASE_URL=${process.env['GOOGLE_VERTEX_BASE_URL']}`,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a1b21f1feda8b38e Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:545
    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 production #978d1f71180b18b5 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:548
        `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 production #f2890e2f2b72631b Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:553
    if (process.env['GOOGLE_GENAI_USE_GCA']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a1b125b2ca4b519f Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:556
        `GOOGLE_GENAI_USE_GCA=${process.env['GOOGLE_GENAI_USE_GCA']}`,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b3b958be53a083a4 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:561
    if (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 production #988c11b05d3d221f Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:564
        `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 production #7c5e221466dca8c1 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:569
    if (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 production #8e42b67fbbc04765 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:572
        `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 production #bce0815b228915b4 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:577
    if (process.env['GEMINI_MODEL']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6886d68f5a75b8d0 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:578
      args.push('--env', `GEMINI_MODEL=${process.env['GEMINI_MODEL']}`);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bd77203eefb868e8 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:582
    if (process.env['TERM']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e354383cdb587dd8 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:583
      args.push('--env', `TERM=${process.env['TERM']}`);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6add84e6b3bf8483 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:585
    if (process.env['COLORTERM']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2d4dae6345c5c2a4 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:586
      args.push('--env', `COLORTERM=${process.env['COLORTERM']}`);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #372ca88380016dd0 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:595
      if (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 #93ffb8c74d1093ab Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:596
        args.push('--env', `${envVar}=${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 #0cc69aacf5488532 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:605
      process.env['VIRTUAL_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 #6d3f1756712a9758 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:615
        `${sandboxVenvPath}:${getContainerPath(process.env['VIRTUAL_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 #d6cf50f36020b9ae Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:619
        `VIRTUAL_ENV=${getContainerPath(process.env['VIRTUAL_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 #edce1970fd7476ff Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:624
    if (process.env['SANDBOX_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 #3cbb0d404a495cfd Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:625
      for (let env of process.env['SANDBOX_ENV'].split(',')) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #37a8a6a5ea13d2c0 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:640
    const existingNodeOptions = process.env['NODE_OPTIONS'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3ae98af472b79b98 Filesystem access.
repo/packages/cli/src/utils/sandbox.ts:656
      fs.writeFileSync(emptyAuthFilePath, '{}', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f86579fbd6ed1971 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:665
    if (process.env['GEMINI_CLI_INTEGRATION_TEST'] === '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 #3add5d790d7edd12 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:987
      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 production #0daf7e0fcbb1b069 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:988
      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 production #51c4a868b4dd85a0 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:989
      GOOGLE_GEMINI_BASE_URL: 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 production #98b22d03fcbc9405 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:990
      GOOGLE_VERTEX_BASE_URL: process.env['GOOGLE_VERTEX_BASE_URL'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff34fcbfe91d96aa Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:991
      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 production #102916ffd16de01d Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:992
      GOOGLE_GENAI_USE_GCA: process.env['GOOGLE_GENAI_USE_GCA'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e69f4f4b28838b8b Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:993
      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 production #4d0216a73d74baac Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:994
      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 production #d157e2ab8280c526 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:995
      GEMINI_MODEL: process.env['GEMINI_MODEL'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc84ab3c1a572c97 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:996
      TERM: process.env['TERM'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8bb72735aef45fa8 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:997
      COLORTERM: process.env['COLORTERM'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6ce4bc0797e6f7d4 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:998
      GEMINI_CLI_IDE_SERVER_PORT: process.env['GEMINI_CLI_IDE_SERVER_PORT'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #60c76116c7ab8c74 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:1000
        process.env['GEMINI_CLI_IDE_WORKSPACE_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 #56abf0a47441d474 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:1001
      TERM_PROGRAM: process.env['TERM_PROGRAM'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed75a319e51a812b Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:1010
    if (process.env['SANDBOX_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 #c0ba6c560aa26587 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:1011
      for (let env of process.env['SANDBOX_ENV'].split(',')) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bc1b382ebd71d87c Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:1025
    const existingNodeOptions = process.env['NODE_OPTIONS'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf942a1538557a8d Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:1124
      if (cliConfig?.getDebugMode() || 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 #358abf589b01090b Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:37
    delete 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 #0746c1afdf0197b7 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:38
    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 production #a8e1b189981d305c Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:80
      delete process.env['SANDBOX_PORTS'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5e360f9accb18821 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:85
      process.env['SANDBOX_PORTS'] = '8080, 3000 , 9000';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c737b6487fa6efcc Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:102
      process.env['PATH'] = '/work/bin:/usr/bin';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ad19c0e386f71abe Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:103
      process.env['PYTHONPATH'] = '/work/lib';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2b87eacf24c6ab00 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:116
      process.env['SANDBOX_PORTS'] = '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 production #aa3fec8a2195d124 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:122
      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 #8be007d50fe5d4e3 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:130
      process.env['SANDBOX_SET_UID_GID'] = '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 #dbb5b2c68660be08 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:135
      process.env['SANDBOX_SET_UID_GID'] = '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 #cc6a072089a6dd16 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:140
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ba4ab762936d01eb Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:147
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #295d5ddf84642922 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:154
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a1afbc6b907c2d26 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:161
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a21df32958c888e4 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:168
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74ab2ca81476b7c4 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:175
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b3ff529f093cd7a8 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:196
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #102a96c3811ea80e Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:205
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ae407f442552293d Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:224
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #45f7de0d7426e240 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:236
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a6f435c260a6ca6f Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:39
  const envVar = process.env['SANDBOX_SET_UID_GID']?.toLowerCase().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 #3d4e2ac33bc30b98 Filesystem access.
repo/packages/cli/src/utils/sandboxUtils.ts:51
      const osReleaseContent = await readFile('/etc/os-release', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1d44c9083997f1b Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:94
  return (process.env['SANDBOX_PORTS'] ?? '')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8c8ed4bac9875bd3 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:107
  if (process.env['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 #3f6750f80d0aba39 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:108
    const paths = process.env['PATH'].split(pathSeparator);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #409296add9301441 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:123
  if (process.env['PYTHONPATH']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b232836ec6e1cea4 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:124
    const paths = process.env['PYTHONPATH'].split(pathSeparator);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #08e661bbbdaff112 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:151
    process.env['DEBUG'] === 'true' || process.env['DEBUG'] === '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 #efb705485f1ffb34 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:153
    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 #bbc360e6c19af316 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:158
        ? `node --inspect-brk=0.0.0.0:${process.env['DEBUG_PORT'] || '9229'} $(which gemini)`

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1e7216413865e4fa Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:85
    await fs.writeFile(
      sessionFile,
      JSON.stringify({
        sessionId: 'test123',
        messages: [],
        startTime: oldDate.toISOString(),
        lastUpdated: oldDate.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 #dabffa365f11036a Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:169
    await fs.writeFile(
      oldSessionFile,
      JSON.stringify({
        sessionId: 'old12345',
        messages: [{ type: 'user', content: 'test message' }],
        startTime: oldDate.toISOString(),
        lastUpdated: oldDate.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 #c32673fa02565391 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:184
    await fs.writeFile(
      recentSessionFile,
      JSON.stringify({
        sessionId: 'recent789',
        messages: [{ type: 'user', content: 'test message' }],
        startTime: recentDate.toISOString(),
        lastUpdated: recentDate.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 #19d3fb9831907bc3 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:199
    await fs.writeFile(
      currentSessionFile,
      JSON.stringify({
        sessionId: 'current123',
        messages: [{ type: 'user', content: 'test message' }],
        startTime: now.toISOString(),
        lastUpdated: now.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 #b641635ad5b0929b Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:282
    await fs.writeFile(
      parentFile,
      JSON.stringify({
        sessionId: parentSessionId,
        messages: [],
        startTime: oldDate.toISOString(),
        lastUpdated: oldDate.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 #053c957103302039 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:297
    await fs.writeFile(
      subagentFile,
      JSON.stringify({
        sessionId: subagentSessionId,
        messages: [],
        startTime: oldDate.toISOString(),
        lastUpdated: oldDate.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 #7724183d641cda99 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:311
    await fs.writeFile(parentLogFile, '{"log": "parent"}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e3d2d288360a746b Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:318
    await fs.writeFile(
      path.join(parentToolOutputsDir, 'some-output.txt'),
      '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 production #a8b32c8c790e7b6b Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:327
    await fs.writeFile(subagentLogFile, '{"log": "subagent"}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4cea9fd00322ee64 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:334
    await fs.writeFile(
      path.join(subagentToolOutputsDir, 'some-output.txt'),
      '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 production #d1e349a6fa4ebe51 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:344
    await fs.writeFile(
      currentFile,
      JSON.stringify({
        sessionId: 'current-session',
        messages: [
          {
            type: 'user',
            content: [{ type: 'text', text: 'hello' }],
            timestamp: now.toISOString(),
          },
        ],
        startTime: now.toISOString(),
        lastUpdated: now.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 #3d79cad261a5bb46 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:84
    await fs.writeFile(
      filePath,
      JSON.stringify({
        sessionId: session.id,
        lastUpdated: session.lastUpdated,
        startTime: session.lastUpdated,
        messages: [{ type: 'user', content: '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 production #c5abbff1fc34e6f7 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:97
    await fs.writeFile(
      path.join(logsDir, `session-${sessionId}.jsonl`),
      'log 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 #74d89a7d341c0053 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:104
    await fs.writeFile(
      path.join(sessionOutputDir, 'output.txt'),
      'tool output',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3baf182e4e0131d2 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:291
      await fs.writeFile(
        filePath,
        JSON.stringify(
          {
            sessionId,
            lastUpdated: twoWeeksAgo.toISOString(),
            startTime: twoWeeksAgo.toISOString(),
            messages: [{ type: 'user', content: 'hello legacy' }],
          },
          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 #220af8110d2054a5 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:337
      await fs.writeFile(
        filePath,
        JSON.stringify(metadata) + '\n' + JSON.stringify(message) + '\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 #233aee25fb988c68 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:364
      await fs.writeFile(filePath, 'completely invalid json');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #619a5931af998345 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:495
      await fs.writeFile(corruptPath, 'invalid json');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5dcf673dcea5ede3 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:515
      await fs.writeFile(badJsonPath, 'This is raw text, not JSON');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8ed7c4c81310cfc6 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:532
      await fs.writeFile(
        legacyPath,
        JSON.stringify({
          sessionId: 'legacy-session-id',
          lastUpdated: '2024-12-25T00:00:00.000Z',
          messages: [],
        }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1633436760980606 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:735
      await fs.writeFile(targetFile, JSON.stringify({ sessionId: '../../..' }));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ce559662de2d5d52 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:964
      await fs.writeFile(file1, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #21ac3139c1db5fbe Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:967
      await fs.writeFile(file2, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #40027fb440e01899 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.ts:206
                  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 #16c6689289343de7 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:54
      await fs.writeFile(
        path.join(
          chatsDir,
          `session-20240101T000000-${sessionId.slice(0, 8)}.jsonl`,
        ),
        JSON.stringify({ sessionId }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e6ceb9526e6acf59 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:71
      await fs.writeFile(
        path.join(chatsDir, `session-different-uuid-20240101.jsonl`),
        '{}',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c509390a99e1952f Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:128
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionId1.slice(0, 8)}.json`,
      ),
      JSON.stringify(session1, 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 #b01e85d3675535df Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:136
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T11-00-${sessionId2.slice(0, 8)}.json`,
      ),
      JSON.stringify(session2, 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 #8a119db08cdc99d1 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:194
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionId1.slice(0, 8)}.json`,
      ),
      JSON.stringify(session1, 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 #60b2c168f99bdf42 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:202
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T11-00-${sessionId2.slice(0, 8)}.json`,
      ),
      JSON.stringify(session2, 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 #a3a7259eaf80acdf Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:258
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionId1.slice(0, 8)}.json`,
      ),
      JSON.stringify(session1, 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 #54acc8c7f9a964ba Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:266
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T11-00-${sessionId2.slice(0, 8)}.json`,
      ),
      JSON.stringify(session2, 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 #ce0a2dc87ab2bd9c Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:303
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionId.slice(0, 8)}.json`,
      ),
      JSON.stringify(session, 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 #4355f03a8723cde4 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:357
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionId.slice(0, 8)}.json`,
      ),
      JSON.stringify(sessionOriginal, 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 #3f2e7f2817a19ae6 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:366
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T11-00-${sessionId.slice(0, 8)}.json`,
      ),
      JSON.stringify(sessionDuplicate, 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 #e02722652cd99b8f Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:405
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionId1.slice(0, 8)}.json`,
      ),
      JSON.stringify(session1, 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 #efdd88632e343b5d Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:490
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionIdWithUser.slice(0, 8)}.json`,
      ),
      JSON.stringify(sessionWithUser, 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 #71c5e087bbc019ca Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:498
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T11-00-${sessionIdSystemOnly.slice(0, 8)}.json`,
      ),
      JSON.stringify(sessionSystemOnly, 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 #469f9804802c5763 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:533
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${commandOnlySessionId.slice(0, 8)}.jsonl`,
      ),
      `${JSON.stringify(metadata)}\n${JSON.stringify(commandMessage)}\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 #c89b366621b60446 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:572
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionId.slice(0, 8)}.jsonl`,
      ),
      `${JSON.stringify(metadata)}\n${JSON.stringify(commandMessage)}\n${JSON.stringify(realMessage)}\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 #91cab85b90a90b32 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:611
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionIdGeminiOnly.slice(0, 8)}.json`,
      ),
      JSON.stringify(sessionGeminiOnly, 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 #00621b5c4f54c779 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:669
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${mainSessionId.slice(0, 8)}.json`,
      ),
      JSON.stringify(mainSession, 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 #da619da8620d4443 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:677
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T11-00-${subagentSessionId.slice(0, 8)}.json`,
      ),
      JSON.stringify(subagentSession, 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 #93e0f050dd3c672c Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:716
    await fs.writeFile(filePath, JSON.stringify(session, 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 #2bd7b901d3ca05ce Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:752
    await fs.writeFile(filePath, JSON.stringify(session, 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 #b1db3e4055389ab0 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:788
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${existingSessionId.slice(0, 8)}.json`,
      ),
      JSON.stringify(session, 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 #e4e23f0e23c17b32 Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:35
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: test-skill\ndescription: test\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #87772a149d549853 Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:56
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: test-skill\ndescription: test\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #95c3a16c495aa25d Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:77
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: test-skill\ndescription: test\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ba252394d5b8fb4f Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:102
      await fs.writeFile(
        path.join(skillDir1, 'SKILL.md'),
        '---\nname: duplicate-skill\ndescription: desc1\n---\nbody1',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6a002f1675b5354e Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:106
      await fs.writeFile(
        path.join(skillDir2, 'SKILL.md'),
        '---\nname: duplicate-skill\ndescription: desc2\n---\nbody2',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b8da0c52b36e97ca Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:153
    await fs.writeFile(
      path.join(skillSubDir, 'SKILL.md'),
      '---\nname: test-skill\ndescription: test\n---\nbody',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bb5fb1c65239ffa6 Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:176
    await fs.writeFile(
      path.join(skillSubDir, 'SKILL.md'),
      '---\nname: test-skill\ndescription: test\n---\nbody',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #880e196414bd5965 Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:206
      await fs.writeFile(
        path.join(skillDir, 'SKILL.md'),
        '---\nname: test-skill\ndescription: test\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a68ab2ce88e2e343 Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:228
      await fs.writeFile(
        skillMdPath,
        '---\nname: original-name\ndescription: test\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eb17c67c06cd5a4a Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:244
      await fs.writeFile(
        skillMdPath,
        '---\nname: updated-name\ndescription: test\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aad8eee634c9facb Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:299
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: ..\ndescription: exploit\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e96ad2508962df8b Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:313
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: ..\ndescription: exploit\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74c77f48c19218aa Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:337
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: /tmp/exploit\ndescription: exploit\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d793cfcd4ec74c8f Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:360
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: " ../../exploit "\ndescription: exploit\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2e8e2c560408b4a0 Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:383
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: ..-foo\ndescription: safe skill name starting with double dots\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9388ffee564f22ab Filesystem access.
repo/packages/cli/src/utils/startupWarnings.ts:17
    const warningsContent = await fs.readFile(warningsFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #704f3c28776da82a Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:101
      await fs.writeFile(recentFile, 'recent 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 #bd090b78b078d3f1 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:102
      await fs.writeFile(oldFile, '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 production #575fbb452d40c651 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:145
      await fs.writeFile(file1, 'content 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 #30e580f1928f2a59 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:146
      await fs.writeFile(file2, 'content 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 #b9e224ae7c741347 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:147
      await fs.writeFile(file3, 'content 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 production #b3bc587960784885 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:218
      await fs.writeFile(file1, 'content 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 #0ded4812e41d859e Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:219
      await fs.writeFile(file2, 'content 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 #17d7cf859313cb9f Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:220
      await fs.writeFile(file3, 'content 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 production #1734fc312f0bc5b8 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:221
      await fs.writeFile(file4, 'content 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 production #3128772568e43eb5 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:222
      await fs.writeFile(file5, 'content 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 #6ec09933759c78d6 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:269
      await fs.writeFile(oldFile, '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 production #754d06972e606017 Environment-variable access.
repo/packages/cli/src/utils/windowTitle.ts:44
  let displayContext = process.env['CLI_TITLE'] || folderName;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1de30014ad7c5d6d Environment-variable access.
repo/packages/cli/src/utils/worktreeSetup.test.ts:82
    expect(process.env['GEMINI_CLI_WORKTREE_HANDLED']).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 production #dd918ec17f7b348e Environment-variable access.
repo/packages/cli/src/utils/worktreeSetup.test.ts:98
    process.env['GEMINI_CLI_WORKTREE_HANDLED'] = '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 #d8e173326217abc5 Environment-variable access.
repo/packages/cli/src/utils/worktreeSetup.ts:24
  if (process.env['GEMINI_CLI_WORKTREE_HANDLED'] === '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 #707acd678a1d2306 Environment-variable access.
repo/packages/cli/src/utils/worktreeSetup.ts:35
    process.env['GEMINI_CLI_WORKTREE_HANDLED'] = '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 #4ae8c8be35d52955 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:45
    originalEnvGeminiApiKey = 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 production #661b8172775f1af4 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:46
    originalEnvVertexAi = 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 production #44d70fd2c6e7f6d9 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:47
    originalEnvGcp = process.env['GOOGLE_GENAI_USE_GCA'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b5c0090121cc4c92 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:48
    delete 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 production #2d3fac41d1d9a9b0 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:49
    delete 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 production #f15e8e2df5d861ec Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:50
    delete process.env['GOOGLE_GENAI_USE_GCA'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b96f6ad6dbfa3670 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:86
      process.env['GEMINI_API_KEY'] = originalEnvGeminiApiKey;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d0c2342c397e9f90 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:88
      delete 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 production #92cdf6a8d9da86fa Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:91
      process.env['GOOGLE_GENAI_USE_VERTEXAI'] = originalEnvVertexAi;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc1846f244e6945d Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:93
      delete 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 production #47e997ae709c9ced Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:96
      process.env['GOOGLE_GENAI_USE_GCA'] = originalEnvGcp;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2900c5e472ca60fa Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:98
      delete process.env['GOOGLE_GENAI_USE_GCA'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #91b1bd3ccdb4b523 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:132
    process.env['GOOGLE_GENAI_USE_GCA'] = '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 #d8c998f5de5f36d3 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:145
    process.env['GEMINI_API_KEY'] = 'fake-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 #46e49606ab7f2ed4 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:158
    process.env['GOOGLE_GENAI_USE_VERTEXAI'] = '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 #682ffc4c7f416404 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:159
    process.env['GOOGLE_CLOUD_PROJECT'] = 'test-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 production #1f42e83dc36ac1f2 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:160
    process.env['GOOGLE_CLOUD_LOCATION'] = 'us-central1';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f34280434b16ef05 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:173
    process.env['GOOGLE_GENAI_USE_VERTEXAI'] = '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 #fcb6c4db0fe1f6dd Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:174
    process.env['GOOGLE_API_KEY'] = 'vertex-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 #3abf9e4012ebd351 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:187
    process.env['GOOGLE_GENAI_USE_GCA'] = '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 #c61ea06ce6397384 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:188
    process.env['GEMINI_API_KEY'] = 'fake-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 #7e7e7197263d99ca Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:189
    process.env['GOOGLE_GENAI_USE_VERTEXAI'] = '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 #27ff3a5b1cbcbc7c Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:190
    process.env['GOOGLE_CLOUD_PROJECT'] = 'test-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 production #760d6c3f8cc6d70b Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:191
    process.env['GOOGLE_CLOUD_LOCATION'] = 'us-central1';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f9c8010fe078e4b3 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:204
    process.env['GEMINI_API_KEY'] = 'fake-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 #e04dfb7e76680593 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:205
    process.env['GOOGLE_GENAI_USE_VERTEXAI'] = '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 #ca1d05338441db01 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:206
    process.env['GOOGLE_CLOUD_PROJECT'] = 'test-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 production #ad1a92093296c905 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:207
    process.env['GOOGLE_CLOUD_LOCATION'] = 'us-central1';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #304039363fb52e3a Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:220
    process.env['GOOGLE_GENAI_USE_VERTEXAI'] = '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 production #ee019ec63643d65b Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:221
    process.env['GEMINI_API_KEY'] = 'fake-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 #e83f79127c1d67b4 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:222
    process.env['GOOGLE_CLOUD_PROJECT'] = 'test-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 production #284f063ac0b2561d Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:223
    process.env['GOOGLE_CLOUD_LOCATION'] = 'us-central1';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4940b7512ee4e366 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:236
    process.env['GEMINI_API_KEY'] = 'fake-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 #d8f8c3e8f3dced4c Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:299
    process.env['GEMINI_API_KEY'] = 'fake-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 #04d4c0dff19deb9e Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:339
    process.env['GEMINI_API_KEY'] = 'fake-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 #8ec330eeffd9fb89 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:436
      process.env['GEMINI_API_KEY'] = 'fake-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 #e79fc570ac1b44b4 Environment-variable access.
repo/packages/cli/test-setup.ts:17
if (process.env.CI !== 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 #0988a7270c773cfd Environment-variable access.
repo/packages/cli/test-setup.ts:18
  delete process.env.CI;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a441c67809bf9e72 Environment-variable access.
repo/packages/cli/test-setup.ts:27
if (process.env.NO_COLOR !== 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 #6dc3af4acdd27b88 Environment-variable access.
repo/packages/cli/test-setup.ts:28
  delete process.env.NO_COLOR;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4a890c08b3f103a1 Environment-variable access.
repo/packages/cli/test-setup.ts:32
process.env.FORCE_COLOR = '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 production #9d95b1333fac68d6 Environment-variable access.
repo/packages/cli/test-setup.ts:35
process.env.FORCE_GENERIC_KEYBINDING_HINTS = '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 #fa478466bd297688 Environment-variable access.
repo/packages/cli/test-setup.ts:38
process.env.TERM_PROGRAM = 'generic';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7ce35c7413b1d44b Environment-variable access.
repo/packages/cli/test-setup.ts:41
process.env.COLORTERM = 'truecolor';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7c26d02920bcae3 Filesystem access.
repo/packages/core/scripts/bundle-browser-mcp.mjs:12
const manifest = JSON.parse(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 production #1ca4d4ec79c9780b Environment-variable access.
repo/packages/core/scripts/compile-windows-sandbox.js:54
  const systemRoot = process.env['SystemRoot'] || 'C:\\Windows';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6476ede70dbe76f1 Environment-variable access.
repo/packages/core/src/agents/acknowledgedAgents.test.ts:23
    originalGeminiCliHome = process.env['GEMINI_CLI_HOME'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4b66cb73b6cf4fc3 Environment-variable access.
repo/packages/core/src/agents/acknowledgedAgents.test.ts:24
    process.env['GEMINI_CLI_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 production #6de8235ef0c8b616 Environment-variable access.
repo/packages/core/src/agents/acknowledgedAgents.test.ts:30
      process.env['GEMINI_CLI_HOME'] = originalGeminiCliHome;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e0a593c41b713b9b Environment-variable access.
repo/packages/core/src/agents/acknowledgedAgents.test.ts:32
      delete process.env['GEMINI_CLI_HOME'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8ff182f68a9dc849 Filesystem access.
repo/packages/core/src/agents/acknowledgedAgents.test.ts:46
    const content = await fs.readFile(ackPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #98d32bafea165c3c Filesystem access.
repo/packages/core/src/agents/acknowledgedAgents.test.ts:76
    await fs.writeFile(ackPath, JSON.stringify(data), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #05d770e42a663a55 Filesystem access.
repo/packages/core/src/agents/acknowledgedAgents.ts:29
      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 #defa736432d65999 Filesystem access.
repo/packages/core/src/agents/acknowledgedAgents.ts:50
      await fs.writeFile(
        filePath,
        JSON.stringify(this.acknowledgedAgents, null, 2),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dd03567b9a3d7257 Filesystem access.
repo/packages/core/src/agents/agentLoader.test.ts:42
    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 #c91b9c718ff5b0e9 Filesystem access.
repo/packages/core/src/agents/agentLoader.test.ts:677
      await fs.writeFile(path.join(tempDir, 'other.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 production #850c7e6fbcf952c1 Filesystem access.
repo/packages/core/src/agents/agentLoader.ts:338
      fileContent = 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 #e0c84a1ae1d2c81a Filesystem access.
repo/packages/core/src/agents/agentLoader.ts:675
      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 #e24cad385f4f4f20 Environment-variable access.
repo/packages/core/src/agents/auth-provider/http-provider.test.ts:30
      process.env['TEST_TOKEN'] = 'env-token';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #43c8d5e71120d9fd Environment-variable access.
repo/packages/core/src/agents/auth-provider/http-provider.test.ts:41
      delete process.env['TEST_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d13ba319d9a101c4 Environment-variable access.
repo/packages/core/src/agents/auth-provider/http-provider.test.ts:99
      process.env['DYNAMIC_TOKEN'] = 'first';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e237929052b926f2 Environment-variable access.
repo/packages/core/src/agents/auth-provider/http-provider.test.ts:103
      process.env['DYNAMIC_TOKEN'] = 'second';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0b236617ddd4d2f4 Environment-variable access.
repo/packages/core/src/agents/auth-provider/http-provider.test.ts:111
      delete process.env['DYNAMIC_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c0f36de43d94a54e Environment-variable access.
repo/packages/core/src/agents/auth-provider/value-resolver.ts:36
    const resolved = 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 #ac537e1cd3b34454 Environment-variable access.
repo/packages/core/src/agents/browser/browserManager.ts:586
    const sandboxType = process.env['SANDBOX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ae6ae138cce97358 Environment-variable access.
repo/packages/core/src/agents/registry.ts:296
      const sandboxType = process.env['SANDBOX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eaa14bad7c1ec643 Environment-variable access.
repo/packages/core/src/agents/registry_acknowledgement.test.ts:53
    originalGeminiCliHome = process.env['GEMINI_CLI_HOME'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed141447e0d3dadb Environment-variable access.
repo/packages/core/src/agents/registry_acknowledgement.test.ts:54
    process.env['GEMINI_CLI_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 production #6083811c31ed8e20 Environment-variable access.
repo/packages/core/src/agents/registry_acknowledgement.test.ts:97
      process.env['GEMINI_CLI_HOME'] = originalGeminiCliHome;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #adf40d0e466dc227 Environment-variable access.
repo/packages/core/src/agents/registry_acknowledgement.test.ts:99
      delete process.env['GEMINI_CLI_HOME'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7098018a3ad4924e Environment-variable access.
repo/packages/core/src/code_assist/experiments/client_metadata.test.ts:27
  const originalCliVersion = process.env['CLI_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 #74948827ca71f8f9 Environment-variable access.
repo/packages/core/src/code_assist/experiments/client_metadata.test.ts:44
    process.env['CLI_VERSION'] = originalCliVersion;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e167c72451c10b80 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments.test.ts:22
    delete process.env['GEMINI_EXP'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bd52b3052d0f91d8 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments.ts:33
    if (process.env['GEMINI_EXP']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #72e34ec96d62b1f6 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments.ts:35
        const expPath = process.env['GEMINI_EXP'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4dc9a3fe07a33d5f Filesystem access.
repo/packages/core/src/code_assist/experiments/experiments.ts:37
        const content = await fs.promises.readFile(expPath, '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 #3089997aa0ce17f0 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments_local.test.ts:38
    process.env['GEMINI_EXP'] = ''; // Clear env var

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ea08aecf026c7376 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments_local.test.ts:48
    delete process.env['GEMINI_EXP'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #730e58f35367cbc4 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments_local.test.ts:52
    process.env['GEMINI_EXP'] = '/tmp/experiments.json';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #72a37e67a912bf67 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments_local.test.ts:75
    process.env['GEMINI_EXP'] = '/tmp/missing.json';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6fe5ed0f6f8d3ac0 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments_local.test.ts:101
    process.env['GEMINI_EXP'] = '/tmp/experiments.json';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #16798248204aeb27 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments_local.test.ts:125
    process.env['GEMINI_EXP'] = '/tmp/invalid.json';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9abc475be698450a Filesystem access.
repo/packages/core/src/code_assist/oauth-credential-storage.ts:117
      credsJson = await fs.readFile(oldFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1cb090cf0d7c338 Environment-variable access.
repo/packages/core/src/code_assist/oauth2.test.ts:137
      process.env[FORCE_ENCRYPTED_FILE_ENV_VAR] = '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 production #397500887967037e Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:271
      const cachedGoogleAccount = fs.readFileSync(googleAccountPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5da9806f3d6aac1c Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:289
      await fs.promises.writeFile(credsPath, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #513ee1124ccb22d4 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:300
      await fs.promises.writeFile(credsPath, JSON.stringify(cachedCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #db2c85415a90f242 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:482
        const cachedGoogleAccount = fs.readFileSync(googleAccountPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f30ab8fc1899951c Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:515
        await fs.promises.writeFile(credsPath, JSON.stringify(cachedCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5e99321fa33b4452 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:588
        await fs.promises.writeFile(
          defaultCredsPath,
          JSON.stringify(defaultCreds),
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0744c43259f08abf Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:596
        await fs.promises.writeFile(envCredsPath, JSON.stringify(envCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #691e69cf78d58c28 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:620
        await fs.promises.writeFile(envCredsPath, JSON.stringify(envCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7994c2a786d35ec8 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:646
        await fs.promises.writeFile(
          envCredsPath,
          JSON.stringify(byoidCredentials),
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aefe962016cd76f7 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:736
        const cachedContent = fs.readFileSync(googleAccountPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e12e1f324bccd451 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:767
        await fs.promises.writeFile(credsPath, JSON.stringify(cachedCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ad158e4191f3b8d6 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:800
        await fs.promises.writeFile(credsPath, JSON.stringify(cachedCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3fb8cdf258cbbdbe Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:1538
        await fs.promises.writeFile(credsPath, JSON.stringify(cachedCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #81ed9d287bd6887f Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:1546
        await fs.promises.writeFile(
          googleAccountPath,
          JSON.stringify(accountData),
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d38dd337578d4cd7 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:1562
          fs.readFileSync(googleAccountPath, 'utf-8'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bbf856f1e1dd4d5e Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:1589
        await fs.promises.writeFile(
          credsPath,
          JSON.stringify({ refresh_token: 'token' }),
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #908635cd9b55c11c Environment-variable access.
repo/packages/core/src/code_assist/oauth2.test.ts:1614
      process.env[FORCE_ENCRYPTED_FILE_ENV_VAR] = '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 #36cfb62cd22b7b98 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:1745
      await fs.promises.writeFile(credsPath, JSON.stringify(unencryptedCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3c88eae0f0bc158f Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:1777
      await fs.promises.writeFile(credsPath, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9719f1378b39eb8e Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:64
      process.env['GOOGLE_CLOUD_QUOTA_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 production #9df2ef85894e4ea7 Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:65
      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 production #6508da0ce9a9e16a Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:66
      process.env['GOOGLE_CLOUD_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 production #a660b0befb6022cc Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:113
  return process.env[FORCE_ENCRYPTED_FILE_ENV_VAR] === '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 #c005bc81c2e13a61 Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:153
    process.env['GOOGLE_GENAI_USE_GCA'] &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1b5c0a6f68c2f575 Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:154
    process.env['GOOGLE_CLOUD_ACCESS_TOKEN']

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9425cc0422c53d34 Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:157
      access_token: process.env['GOOGLE_CLOUD_ACCESS_TOKEN'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f3a3526ee1b939a9 Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:511
  const host = process.env['OAUTH_CALLBACK_HOST'] || '127.0.0.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 #5767ddfa25755fd6 Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:637
      const portStr = process.env['OAUTH_CALLBACK_PORT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #124f386da6a0716d Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:676
    process.env['GOOGLE_APPLICATION_CREDENTIALS'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5b73891f81c2b3d9 Filesystem access.
repo/packages/core/src/code_assist/oauth2.ts:681
      const keyFileString = 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 #df12c88089b42db0 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/code_assist/oauth2.ts:729
    const response = await fetch(
      'https://www.googleapis.com/oauth2/v2/userinfo',
      {
        headers: {
          Authorization: `Bearer ${token}`,
        },
      },
    );

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 #bed70edcbab56868 Filesystem access.
repo/packages/core/src/code_assist/oauth2.ts:765
  await fs.writeFile(filePath, credString, { 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 production #353ae318e8e49838 Environment-variable access.
repo/packages/core/src/code_assist/server.test.ts:358
      process.env['CODE_ASSIST_ENDPOINT'] = 'https://custom-endpoint.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 production #e1d17b41b0f8d2ad Environment-variable access.
repo/packages/core/src/code_assist/server.test.ts:365
      process.env['CODE_ASSIST_API_VERSION'] = 'v2beta';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a02e4aa32f03b4cd Environment-variable access.
repo/packages/core/src/code_assist/server.test.ts:372
      process.env['CODE_ASSIST_API_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 #e9b4ad3c31ee9e5c Environment-variable access.
repo/packages/core/src/code_assist/server.ts:522
      process.env['CODE_ASSIST_ENDPOINT'] ?? CODE_ASSIST_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 production #4a882c61f2d5b347 Environment-variable access.
repo/packages/core/src/code_assist/server.ts:524
      process.env['CODE_ASSIST_API_VERSION'] || CODE_ASSIST_API_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 #f51351742915bcb5 Environment-variable access.
repo/packages/core/src/code_assist/setup.ts:130
    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 production #d450b6380b893d41 Environment-variable access.
repo/packages/core/src/code_assist/setup.ts:131
    process.env['GOOGLE_CLOUD_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 production #70902550a286d62a Filesystem access.
repo/packages/core/src/commands/memory.test.ts:185
      await fs.writeFile(
        path.join(dir, 'SKILL.md'),
        `---\nname: ${name}\ndescription: ${description}\n---\nBody content here\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 #155dbfb554011332 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:229
      await fs.writeFile(
        path.join(memoryTempDir, '.extraction-state.json'),
        stateContent,
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #79faa49893d8bc1c Filesystem access.
repo/packages/core/src/commands/memory.test.ts:362
      await fs.writeFile(target, '- old\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 #149928a42770af8d Filesystem access.
repo/packages/core/src/commands/memory.test.ts:366
      await fs.writeFile(
        path.join(patchDir, 'a-update.patch'),
        buildUpdatePatch(target, '- old\n', '- new\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 #4c87f651a43126a6 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:372
      await fs.writeFile(sibling, 'topic A\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 #1ff7b33158b59737 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:373
      await fs.writeFile(
        path.join(patchDir, 'b-topic.patch'),
        buildUpdatePatch(sibling, 'topic A\n', 'topic B\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 #4c584a61b7474d85 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:405
      await fs.writeFile(
        path.join(patchDir, 'escape.patch'),
        buildCreationPatch(path.join(projectRoot, 'GEMINI.md'), 'Hi.\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 #9712e58ef23dbb53 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:443
        await fs.writeFile(
          path.join(patchDir, fileName),
          buildCreationPatch(targetPath, 'rejected\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 #dcd6ebf9b39b5801 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:472
      await fs.writeFile(
        path.join(patchDir, 'wrong-name.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'memory.md'),
          'rejected\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 #08f6bdfd2c070035 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:479
      await fs.writeFile(
        path.join(patchDir, 'sibling.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'notes.md'),
          'rejected\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 #2e23d1942f15c7bf Filesystem access.
repo/packages/core/src/commands/memory.test.ts:486
      await fs.writeFile(
        path.join(patchDir, 'settings.patch'),
        buildCreationPatch(path.join(globalMemoryDir, 'settings.json'), '{}\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 #517bf85ddee4db3d Filesystem access.
repo/packages/core/src/commands/memory.test.ts:490
      await fs.writeFile(
        path.join(patchDir, 'nested.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'GEMINI.md', 'nested.md'),
          'rejected\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 #702e42679de136a8 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:504
      await fs.writeFile(target, '- old\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 #8e9809af54fde7b7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:508
      await fs.writeFile(
        path.join(patchDir, 'MEMORY.patch'),
        buildUpdatePatch(target, '- old\n', '- accepted\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 #fb416df5f48c9a63 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:520
      await expect(fs.readFile(target, 'utf-8')).resolves.toBe('- accepted\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 #0fe00c1202e56f69 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:530
        await fs.writeFile(target, '- old\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 #39218c75a2bfff52 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:534
        await fs.writeFile(
          path.join(patchDir, 'MEMORY.patch'),
          buildUpdatePatch(
            swapAsciiPathCase(target),
            '- old\n',
            '- accepted\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 #b06ebbf425a3fc04 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:553
        await expect(fs.readFile(target, 'utf-8')).resolves.toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #65d56523c6649f4f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:564
      await fs.writeFile(memoryMd, '# Project Memory\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 #b303ed105502377d Filesystem access.
repo/packages/core/src/commands/memory.test.ts:578
      await fs.writeFile(path.join(patchDir, 'topic.patch'), multiHunkPatch);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a991a35f40541e42 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:587
      await expect(fs.readFile(target, 'utf-8')).resolves.toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3454f19a3728fbea Filesystem access.
repo/packages/core/src/commands/memory.test.ts:590
      await expect(fs.readFile(memoryMd, 'utf-8')).resolves.toContain(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2a96cd17c9d40fd1 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:603
      await fs.writeFile(memoryMd, '# Project Memory\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 #231976a27e66bc16 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:608
      await fs.writeFile(
        path.join(patchDir, 'orphan-topic.patch'),
        buildCreationPatch(target, '# Orphan Topic\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 #3ca90d3bee2e27c0 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:623
      await expect(fs.readFile(target, 'utf-8')).resolves.toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3b11035ed3b5814a Filesystem access.
repo/packages/core/src/commands/memory.test.ts:632
      const memoryAfter = await fs.readFile(memoryMd, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8e78b256b5d33fc1 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:654
      await fs.writeFile(
        path.join(patchDir, 'fresh-topic.patch'),
        buildCreationPatch(target, '# Fresh Topic\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 #f032367b0c0957d7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:667
      const memoryAfter = await fs.readFile(memoryMd, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e990778dfa372543 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:677
      await fs.writeFile(
        memoryMd,
        '# Project Memory\n- See later-topic.md for details.\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 #99082a5397ac8ff7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:685
      await fs.writeFile(
        path.join(patchDir, 'later-topic.patch'),
        buildCreationPatch(target, '# Later Topic\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 #29f99a1d15fb01f4 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:697
      await expect(fs.readFile(target, 'utf-8')).resolves.toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc08e806f479ae11 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:709
      await fs.writeFile(
        path.join(patchDir, 'GEMINI.patch'),
        buildCreationPatch(target, '# Personal preferences\n- prefer X\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 #5b8e0e01ad34fd30 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:721
      await expect(fs.readFile(target, 'utf-8')).resolves.toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3f854404d1375ea7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:731
      await fs.writeFile(target, '- prefer X\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 #992db8223e4e8df6 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:735
      await fs.writeFile(
        path.join(patchDir, 'GEMINI.patch'),
        buildUpdatePatch(target, '- prefer X\n', '- prefer Y\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 #deabfe548af06f3e Filesystem access.
repo/packages/core/src/commands/memory.test.ts:747
      await expect(fs.readFile(target, 'utf-8')).resolves.toBe('- prefer Y\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 #0a9b6aecd633395b Filesystem access.
repo/packages/core/src/commands/memory.test.ts:757
        await fs.writeFile(target, '- prefer X\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 #16266c5249aa95f0 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:761
        await fs.writeFile(
          path.join(patchDir, 'GEMINI.patch'),
          buildUpdatePatch(
            swapAsciiPathCase(target),
            '- prefer X\n',
            '- prefer Y\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 #ba6fd5cb4e6f526a Filesystem access.
repo/packages/core/src/commands/memory.test.ts:780
        await expect(fs.readFile(target, 'utf-8')).resolves.toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8b953590485208aa Filesystem access.
repo/packages/core/src/commands/memory.test.ts:789
      await fs.writeFile(
        path.join(patchDir, 'GEMINI.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'GEMINI.md'),
          'Prefer concise.\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 #9c83ac78cb6b294f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:814
      await fs.writeFile(memoryMd, '- old\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 #e12eba0603799be8 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:816
      await fs.writeFile(sibling, 'topic A\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 #3db81fafcac3e5b9 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:820
      await fs.writeFile(
        path.join(patchDir, 'a-update.patch'),
        buildUpdatePatch(memoryMd, '- old\n', '- new\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 #1ff942e96648188b Filesystem access.
repo/packages/core/src/commands/memory.test.ts:824
      await fs.writeFile(
        path.join(patchDir, 'b-topic.patch'),
        buildUpdatePatch(sibling, 'topic A\n', 'topic B\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 #af9c1217568fbb09 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:839
      await expect(fs.readFile(memoryMd, 'utf-8')).resolves.toBe('- new\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 #808aebf06ea1f04e Filesystem access.
repo/packages/core/src/commands/memory.test.ts:840
      await expect(fs.readFile(sibling, 'utf-8')).resolves.toBe('topic B\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 #c2d2e81d68058982 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:851
      await fs.writeFile(memoryMd, '- old\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 #a320c963972b067d Filesystem access.
repo/packages/core/src/commands/memory.test.ts:856
      await fs.writeFile(
        path.join(patchDir, 'a-good.patch'),
        buildUpdatePatch(memoryMd, '- old\n', '- new\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 #b710981e073501c3 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:861
      await fs.writeFile(
        path.join(patchDir, 'b-stale.patch'),
        buildUpdatePatch(memoryMd, '- never existed\n', '- attempted\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 #7a3e7f8ce392d569 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:880
      await expect(fs.readFile(memoryMd, 'utf-8')).resolves.toBe('- new\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 #680c5dab737d00b3 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:892
      await fs.writeFile(
        path.join(patchDir, 'a.patch'),
        buildCreationPatch(path.join(memoryTempDir, 'a.md'), 'a\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 #f59480e637974883 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:896
      await fs.writeFile(
        path.join(patchDir, 'b.patch'),
        buildCreationPatch(path.join(memoryTempDir, 'b.md'), 'b\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 #cfa53a5359f037ac Filesystem access.
repo/packages/core/src/commands/memory.test.ts:918
      await fs.writeFile(
        path.join(patchDir, 'wrong-name.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'memory.md'),
          'Should be rejected.\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 #de33ee893e9e186f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:927
      await fs.writeFile(
        path.join(patchDir, 'sibling.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'notes.md'),
          'Should be rejected.\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 #e004ba98471a03fc Filesystem access.
repo/packages/core/src/commands/memory.test.ts:936
      await fs.writeFile(
        path.join(patchDir, 'settings.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'settings.json'),
          '{"foo": 1}\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 #024f0525fae39c29 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:945
      await fs.writeFile(
        path.join(patchDir, 'nested.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'GEMINI.md', 'nested.md'),
          'Should be rejected.\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 #cece455f5213dc52 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:992
      await fs.writeFile(target, 'pre-existing\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 #fbcefde118b91dd3 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:996
      await fs.writeFile(
        path.join(patchDir, 'MEMORY.patch'),
        buildCreationPatch(target, 'replacement\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 #9ce7173e9e3121d4 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1009
      await expect(fs.readFile(target, 'utf-8')).resolves.toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7809b8a55398b82e Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1032
      await fs.writeFile(
        path.join(dir, 'SKILL.md'),
        `---\nname: ${name}\ndescription: ${description}\n---\nBody content here\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 #ccd422940ab02b85 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1068
      const targetSkill = await fs.readFile(
        path.join(globalSkillsDir, 'my-skill', 'SKILL.md'),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7716283c01c39f1d Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1089
      const targetSkill = await fs.readFile(
        path.join(projectSkillsDir, 'my-skill', 'SKILL.md'),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a21d02eeb83f5f57 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1121
      await fs.writeFile(path.join(targetDir, 'SKILL.md'), 'existing 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 #eb13f281172afc7f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1141
      await fs.writeFile(
        path.join(
          globalSkillsDir,
          'existing-gke-prs-troubleshooter',
          'SKILL.md',
        ),
        [
          '---',
          'name: gke-prs-troubleshooter',
          'description: Existing skill',
          '---',
          'Existing body content',
          '',
        ].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 #c2bca895df14ca27 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1184
      await fs.writeFile(
        path.join(dir, 'SKILL.md'),
        `---\nname: ${name}\ndescription: ${description}\n---\nBody content here\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 #dbba78e4faabb7c9 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1290
      await fs.writeFile(
        path.join(skillsDir, 'update-skill.patch'),
        patchContent,
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d080c605b1dd7028 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1311
      await fs.writeFile(
        path.join(memoryTempDir, '.extraction-state.json'),
        JSON.stringify({
          runs: [
            {
              runAt: '2025-02-01T00:00:00Z',
              sessionIds: ['later-run'],
              skillsCreated: [],
            },
          ],
        }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cc55fffc77d10fb7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1324
      await fs.writeFile(
        path.join(skillsDir, 'first.patch'),
        [
          `--- ${firstTarget}`,
          `+++ ${firstTarget}`,
          '@@ -1,1 +1,1 @@',
          '-before',
          '+after',
          '',
        ].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 #f09a2917ea655f0c Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1335
      await fs.writeFile(
        path.join(skillsDir, 'second.patch'),
        [
          `--- ${secondTarget}`,
          `+++ ${secondTarget}`,
          '@@ -1,1 +1,1 @@',
          '-before',
          '+after',
          '',
        ].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 #610a1d8373d910db Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1371
      await fs.writeFile(
        path.join(skillsDir, 'empty.patch'),
        'not a valid patch',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c3bd6c259b537cb7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1418
      await fs.writeFile(targetFile, 'line1\nline2\nline3\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 #08993a9affb183d8 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1431
      await fs.writeFile(patchPath, patchContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e81341a355f7a9cb Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1439
      const modified = await fs.readFile(targetFile, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ca6d88fe7292f96a Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1449
      await fs.writeFile(file1, 'aaa\nbbb\nccc\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 #3535b4ec89c38163 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1450
      await fs.writeFile(file2, 'xxx\nyyy\nzzz\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 #a14be1470cdd0ed6 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1469
      await fs.writeFile(path.join(skillsDir, 'multi.patch'), patchContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4ff4a9818873b53e Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1476
      expect(await fs.readFile(file1, 'utf-8')).toContain('bbb2');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0e188016d27ff48d Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1477
      expect(await fs.readFile(file2, 'utf-8')).toContain('yyy2');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2d4927bfb5c7035b Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1482
      await fs.writeFile(targetFile, 'alpha\nbeta\ngamma\ndelta\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 #36adaec2b818d20f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1484
      await fs.writeFile(
        path.join(skillsDir, 'multi-section.patch'),
        [
          `--- ${targetFile}`,
          `+++ ${targetFile}`,
          '@@ -1,4 +1,5 @@',
          ' alpha',
          ' beta',
          '+beta2',
          ' gamma',
          ' delta',
          `--- ${targetFile}`,
          `+++ ${targetFile}`,
          '@@ -2,4 +2,5 @@',
          ' beta',
          ' beta2',
          ' gamma',
          '+gamma2',
          ' delta',
          '',
        ].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 #0414e4cfe55a5e35 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1511
      expect(await fs.readFile(targetFile, 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5988561c79b2abbc Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1518
      await fs.writeFile(targetFile, 'original content\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 #d7ecbd85f0a12c23 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1521
      await fs.writeFile(
        patchPath,
        [
          '--- /dev/null',
          `+++ ${targetFile}`,
          '@@ -0,0 +1 @@',
          '+replacement content',
          '',
        ].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 #c2646fac5ffc69a7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1536
      expect(await fs.readFile(targetFile, 'utf-8')).toBe('original content\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 #40f3105ce45765e9 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1549
      await fs.writeFile(outsidePatch, 'outside patch 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 #2779335a5ba910ad Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1570
      await fs.writeFile(
        path.join(skillsDir, 'bad-target.patch'),
        patchContent,
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #20662c0814f49f31 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1583
      await fs.writeFile(outsideFile, 'line1\nline2\nline3\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 #b959d1974d32fd16 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1596
      await fs.writeFile(patchPath, patchContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4c2ef7a75074336f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1604
      expect(await fs.readFile(outsideFile, 'utf-8')).not.toContain('line2.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 #45fe125ff3fc5902 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1619
      await fs.writeFile(outsideFile, 'line1\nline2\nline3\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 #ae7e9fc2ab92c069 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1622
      await fs.writeFile(
        patchPath,
        [
          `--- ${path.join(linkDir, 'escaped.md')}`,
          `+++ ${path.join(linkDir, 'escaped.md')}`,
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #51f2192bb29eeb7f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1642
      expect(await fs.readFile(outsideFile, 'utf-8')).not.toContain('line2.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 #3a6274fd2fbdf5b4 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1647
      await fs.writeFile(
        path.join(skillsDir, 'empty.patch'),
        [
          `--- ${path.join(projectSkillsDir, 'target.md')}`,
          `+++ ${path.join(projectSkillsDir, 'target.md')}`,
          '',
        ].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 #ef719add6b7a9cf1 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1664
      await fs.writeFile(targetFile, 'line1\nline2\nline3\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 #49a5281b0de5ba3b Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1667
      await fs.writeFile(
        patchPath,
        [
          `--- ${targetFile}`,
          `+++ ${targetFile}`,
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #aed6224d5169bf01 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1691
      expect(await fs.readFile(targetFile, 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4d248680dc77aad0 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1712
      await fs.writeFile(targetFile, 'line1\nline2\nline3\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 #07cfcbc94ca0822c Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1715
      await fs.writeFile(
        patchPath,
        [
          `--- ${targetFile}`,
          `+++ ${targetFile}`,
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #b4b4c1c27d4f749f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1742
      expect(await fs.readFile(targetFile, 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f177b7c400856bed Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1751
      await fs.writeFile(sourceFile, 'aaa\nbbb\nccc\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 #836202ad7c31dc53 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1752
      await fs.writeFile(targetFile, 'xxx\nyyy\nzzz\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 #b1df215c053cfa12 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1755
      await fs.writeFile(
        patchPath,
        [
          `--- ${sourceFile}`,
          `+++ ${targetFile}`,
          '@@ -1,3 +1,4 @@',
          ' xxx',
          ' yyy',
          '+yyy2',
          ' zzz',
          '',
        ].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 #14cb9e188e646990 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1776
      expect(await fs.readFile(sourceFile, 'utf-8')).toBe('aaa\nbbb\nccc\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 #d491d01365afbd01 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1777
      expect(await fs.readFile(targetFile, 'utf-8')).toBe('xxx\nyyy\nzzz\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 #d7134b546e61631c Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1783
      await fs.writeFile(targetFile, 'line1\nline2\nline3\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 #4b7da963d924c448 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1786
      await fs.writeFile(
        patchPath,
        [
          `--- a/${targetFile}`,
          `+++ b/${targetFile}`,
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #548834b1725ecb4e Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1804
      expect(await fs.readFile(targetFile, 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #45ad2d77de4e8460 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1812
      await fs.writeFile(file1, 'aaa\nbbb\nccc\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 #78f6076a2b7fa509 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1832
      await fs.writeFile(path.join(skillsDir, 'partial.patch'), patchContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d401f3a535c676a3 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1838
      const content = await fs.readFile(file1, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #78434277b686e072 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1844
      await fs.writeFile(file1, 'aaa\nbbb\nccc\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 #ededdd2044f082c2 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1850
      await fs.writeFile(
        patchPath,
        [
          `--- ${file1}`,
          `+++ ${file1}`,
          '@@ -1,3 +1,4 @@',
          ' aaa',
          ' bbb',
          '+bbb2',
          ' ccc',
          '--- /dev/null',
          `+++ ${conflictPath}`,
          '@@ -0,0 +1 @@',
          '+new file content',
          '--- /dev/null',
          `+++ ${nestedNewFile}`,
          '@@ -0,0 +1 @@',
          '+nested new file content',
          '',
        ].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 #28e49167a83543ac Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1876
      expect(await fs.readFile(file1, 'utf-8')).toBe('aaa\nbbb\nccc\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 #577563bb66f6e85a Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1906
      await fs.writeFile(patchPath, 'some patch 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 #1b52820f1b3c80b7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1927
      await fs.writeFile(outsidePatch, 'outside patch 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 #f40aced331b67ceb Filesystem access.
repo/packages/core/src/commands/memory.ts:156
      content = await fs.readFile(skillPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #461db4c22d67456c Filesystem access.
repo/packages/core/src/commands/memory.ts:469
        content = await fs.readFile(sourcePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff1c015b84ce59fc Filesystem access.
repo/packages/core/src/commands/memory.ts:730
      originalContent = await fs.readFile(memoryMdPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5e4ddf4bd29cb50b Filesystem access.
repo/packages/core/src/commands/memory.ts:790
    content = await fs.readFile(patchPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dedd9e29f5d4f494 Filesystem access.
repo/packages/core/src/commands/memory.ts:1042
    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 production #2032f56d0e9c40ff Filesystem access.
repo/packages/core/src/commands/memory.ts:1162
      const content = await fs.readFile(patchPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e4eccbd555192e38 Filesystem access.
repo/packages/core/src/commands/memory.ts:1205
    content = await fs.readFile(patchPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e47257dd5a2ed619 Filesystem access.
repo/packages/core/src/config/config-agents-reload.test.ts:58
    await fs.writeFile(agentPath, agentContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #70d95534115afec9 Filesystem access.
repo/packages/core/src/config/config-agents-reload.test.ts:118
    await fs.writeFile(agentPath, agentContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3f631de57879a574 Filesystem access.
repo/packages/core/src/config/config-agents-reload.test.ts:160
    await fs.writeFile(agentPath, agentContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ccf55b5574910ab9 Filesystem access.
repo/packages/core/src/config/config-agents-reload.test.ts:202
    await fs.writeFile(agentPath, agentContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #25c7691ab4cae0bf Environment-variable access.
repo/packages/core/src/config/config.ts:2162
    const seatbeltProfile = process.env['SEATBELT_PROFILE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #574a046ee3f4680b Environment-variable access.
repo/packages/core/src/config/config.ts:3844
      process.env['GEMINI_CLI_EXP_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 production #6a6367b9d734e007 Environment-variable access.
repo/packages/core/src/config/config.ts:3851
      process.env['GEMINI_CLI_EXP_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 production #8ecbee53072a481c Filesystem access.
repo/packages/core/src/config/extensions/integrity.ts:88
      const key = await fs.promises.readFile(this.fallbackKeyPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8f2bda6db2e9f81e Filesystem access.
repo/packages/core/src/config/extensions/integrity.ts:100
        await fs.promises.writeFile(this.fallbackKeyPath, key, { 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 production #1badabe8e172ea74 Filesystem access.
repo/packages/core/src/config/extensions/integrity.ts:127
      content = await fs.promises.readFile(this.integrityStorePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #718d3209ac525560 Filesystem access.
repo/packages/core/src/config/extensions/integrity.ts:183
    await fs.promises.writeFile(tmpPath, JSON.stringify(finalData, 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 production #d0b84fad647c2409 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:92
    const data = JSON.parse(fs.readFileSync(registryPath, '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 #d1c3692d4a9a7ffd Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:121
    expect(normalizePath(fs.readFileSync(marker1, 'utf8'))).toBe(projectPath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fdf27f82f3c4b12c Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:122
    expect(normalizePath(fs.readFileSync(marker2, 'utf8'))).toBe(projectPath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d0fae5db8abd2e96 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:131
    fs.writeFileSync(path.join(slugDir, '.project_root'), projectPath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #49a02e1fca0a712e Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:143
    expect(normalizePath(fs.readFileSync(marker2, 'utf8'))).toBe(projectPath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #37f51e0e46c7e405 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:152
    fs.writeFileSync(path.join(slugDir, '.project_root'), projectY);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ad19e43d68242c7e Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:168
    fs.writeFileSync(
      registryPath,
      JSON.stringify({
        projects: {
          [projectPath]: 'my-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 production #e8aabd48cc4ca956 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:180
    fs.writeFileSync(
      path.join(slugDir, '.project_root'),
      normalizePath(path.join(tempDir, 'project-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 production #1112586b1c57c58c Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:203
    fs.writeFileSync(path.join(slugDir1, '.project_root'), projectPath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f9189a4f06d59e2a Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:214
    expect(normalizePath(fs.readFileSync(marker2, 'utf8'))).toBe(projectPath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a88255220e895825 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:222
    fs.writeFileSync(
      registryPath,
      JSON.stringify({
        projects: {
          [projectPath]: slug,
        },
      }),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c3df23d60516878c Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:247
        fs.readFileSync(path.join(baseDir1, slug, '.project_root'), '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 #140f5a990bf0f6ff Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:259
    fs.writeFileSync(
      path.join(slugDir, '.project_root'),
      normalizePath(path.join(tempDir, 'something-else')),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #370685a83b69ef6e Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:265
    fs.writeFileSync(
      registryPath,
      JSON.stringify({
        projects: {
          [projectPath]: slug,
        },
      }),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #345dc5c54fc88b0b Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:331
    const data = JSON.parse(fs.readFileSync(registryPath, '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 #b6c9f85f138581ed Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:359
    fs.writeFileSync(
      registryPath,
      JSON.stringify({ projects: { '/foo': 'bar' } }),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e12a36a9a05c8240 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:380
    fs.writeFileSync(registryPath, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e3835e3fde1f0e4d Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:392
    const data = JSON.parse(fs.readFileSync(registryPath, '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 #d96bb1cacfa2d2ed Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:399
    fs.writeFileSync(registryPath, JSON.stringify({ projects: [] }));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ac0910dfd675d965 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:411
    const data = JSON.parse(fs.readFileSync(registryPath, '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 #044c88a67efe6f68 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:419
    fs.writeFileSync(
      registryPath,
      JSON.stringify({ projects: { '/some/path': '../../etc/passwd' } }),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #636ee0fb2c07365e Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:434
    const data = JSON.parse(fs.readFileSync(registryPath, '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 #e829664b44e8c553 Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:64
      const content = await fs.promises.readFile(this.registryPath, '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 #d899c26ac588f6dc Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:117
      await fs.promises.writeFile(tmpPath, content, '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 #f835e35b897c9b1c Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:249
        const owner = (await fs.promises.readFile(markerPath, '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 #f3d0e38831db2b1b Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:287
              await fs.promises.readFile(markerPath, '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 #0fcd243506c877d3 Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:330
              await fs.promises.readFile(markerPath, '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 #4972610b60914771 Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:384
        const owner = (await fs.promises.readFile(markerPath, '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 #c6b94daffde6d239 Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:397
        await fs.promises.writeFile(markerPath, normalizedProject, {
          encoding: 'utf8',
          flag: 'wx',
        });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5051a1a8c2a9b530 Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:404
          const owner = (await fs.promises.readFile(markerPath, '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 #eb24ba2c91eb14f9 Environment-variable access.
repo/packages/core/src/config/storage.test.ts:409
  const originalEnv = process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #701f5c86286f442d Environment-variable access.
repo/packages/core/src/config/storage.test.ts:413
      process.env['GEMINI_CLI_SYSTEM_SETTINGS_PATH'] = 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 production #3640e6ecdd128d04 Environment-variable access.
repo/packages/core/src/config/storage.test.ts:415
      delete process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #47ad7bc44cc840ba Environment-variable access.
repo/packages/core/src/config/storage.test.ts:420
    delete process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #79c903713c18307f Environment-variable access.
repo/packages/core/src/config/storage.test.ts:438
    process.env['GEMINI_CLI_SYSTEM_SETTINGS_PATH'] = customPath;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #077140bcc76d3164 Environment-variable access.
repo/packages/core/src/config/storage.test.ts:443
    process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #c01685c5126c534e Environment-variable access.
repo/packages/core/src/config/storage.ts:91
    if (process.env['GEMINI_CLI_TRUSTED_FOLDERS_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 #4b8a06690719e8e4 Environment-variable access.
repo/packages/core/src/config/storage.ts:92
      return process.env['GEMINI_CLI_TRUSTED_FOLDERS_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 #9db4be4abf0a3098 Environment-variable access.
repo/packages/core/src/config/storage.ts:144
    if (process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #1b3d56b9c675e30a Environment-variable access.
repo/packages/core/src/config/storage.ts:145
      return process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #c100a9a1f7209331 Filesystem access.
repo/packages/core/src/config/storage.ts:404
      const content = await fs.promises.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 #2bd9bf962a6fbe41 Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:32
    fs.writeFileSync(path.join(oldPath, 'test.txt'), '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 production #b7c80dd31a014afd Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:38
    expect(fs.readFileSync(path.join(newPath, 'test.txt'), 'utf8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5188d5e06612efdb Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:57
    fs.writeFileSync(path.join(oldPath, 'old.txt'), 'old');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0df38af7e5fc72f6 Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:58
    fs.writeFileSync(path.join(newPath, 'new.txt'), 'new');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e63ac868d3b4c3d8 Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:72
    fs.writeFileSync(path.join(oldPath, 'history.db'), '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 production #ecf2883e0355e28a Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:73
    fs.writeFileSync(path.join(newPath, '.project_root'), '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 #9847e9b8c5f2cdd8 Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:78
    expect(fs.readFileSync(path.join(newPath, 'history.db'), 'utf8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5ccda1b4bd1ce57a Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:81
    expect(fs.readFileSync(path.join(newPath, '.project_root'), 'utf8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #60bebd3c5075d7c7 Filesystem access.
repo/packages/core/src/context/config/configLoader.test.ts:45
    await fs.writeFile(sidecarPath, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dea596c296430253 Filesystem access.
repo/packages/core/src/context/config/configLoader.test.ts:60
    await fs.writeFile(sidecarPath, JSON.stringify(validConfig));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ca900d3eed6affce Filesystem access.
repo/packages/core/src/context/config/configLoader.test.ts:76
    await fs.writeFile(sidecarPath, JSON.stringify(invalidConfig));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0d2f16aae3e4e2e7 Filesystem access.
repo/packages/core/src/context/config/configLoader.test.ts:83
    await fs.writeFile(sidecarPath, '   \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 #40f1f98d9d4b1f59 Filesystem access.
repo/packages/core/src/context/config/configLoader.ts:29
  const fileContent = await fs.readFile(sidecarPath, '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 #9caca31f3e966cf4 Filesystem access.
repo/packages/core/src/context/contextCompressionService.ts:64
        const data = await fs.readFile(this.stateFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9ff81984d7b73006 Filesystem access.
repo/packages/core/src/context/contextCompressionService.ts:98
      await fs.writeFile(
        this.stateFilePath,
        JSON.stringify(obj, null, 2),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e3e61fb883abc8d0 Environment-variable access.
repo/packages/core/src/context/initializer.ts:84
    enabled: !!process.env['GEMINI_CONTEXT_TRACE_DIR'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9c0a524dcc2a1ffa Environment-variable access.
repo/packages/core/src/context/initializer.ts:130
        !!process.env['GEMINI_CONTEXT_CALIBRATE_TOKEN_CALCULATIONS'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1bb03c07fd1b2f6 Filesystem access.
repo/packages/core/src/context/processors/blobDegradationProcessor.ts:70
          await fs.writeFile(filePath, buffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1ebf2640a5c3bee7 Filesystem access.
repo/packages/core/src/context/processors/toolMaskingProcessor.ts:126
        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 #539d38196e832b6b Filesystem access.
repo/packages/core/src/context/toolOutputMaskingService.ts:190
      await fsPromises.writeFile(filePath, 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 #675d9304ff9afb2e Filesystem access.
repo/packages/core/src/context/tracer.test.ts:54
    const initTraceLog = readFileSync(traceLogPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #24ee2733e69d15f5 Filesystem access.
repo/packages/core/src/context/tracer.test.ts:61
    const smallTraceLog = readFileSync(traceLogPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #753b9fe7d5cbbe62 Filesystem access.
repo/packages/core/src/context/tracer.test.ts:79
    const largeTraceLog = readFileSync(traceLogPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #97d27ce0c59be06f Environment-variable access.
repo/packages/core/src/context/tracer.ts:29
      process.env['GEMINI_CONTEXT_TRACE_DIR'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fca449be23249c3e Filesystem access.
repo/packages/core/src/context/tracer.ts:94
      fsSync.writeFileSync(assetPath, JSON.stringify(data, null, 2), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9481f1230dc6e08d Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:81
  if (process.env['GOOGLE_GENAI_USE_GCA'] === '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 #42369f93d912745b Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:84
  if (process.env['GOOGLE_GENAI_USE_VERTEXAI'] === '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 #bfd7215c7e730fb0 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:87
  if (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 production #9efdf00567f7e01d Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:90
  if (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 production #4c74b9e7e8b51d64 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:94
    process.env['CLOUD_SHELL'] === '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 #c2642ba7227d1558 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:95
    process.env['GEMINI_CLI_USE_COMPUTE_ADC'] === '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 #6ee6618c720c3b8f Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:169
    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 production #bab2203e8dd0d230 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:172
  const googleApiKey = process.env['GOOGLE_API_KEY'] || 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 #f44d9f82b32fa68c Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:174
    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 production #ce70e17f44850ad6 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:175
    process.env['GOOGLE_CLOUD_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 production #8adb96e463b8fa8b Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:177
  const googleCloudLocation = process.env['GOOGLE_CLOUD_LOCATION'] || 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 #9a04871b89f3d187 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:198
      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 production #9d5660b8876dc32c Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:238
      process.env['GEMINI_CLI_CUSTOM_HEADERS'] || 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 #ed5f57e4dac757d7 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:256
      const vscodeVersion = process.env['TERM_PROGRAM_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 #107ed4c649afdb21 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:260
          process.env['CLOUD_SHELL_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 #cee858e014fcce40 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:274
      process.env['GEMINI_API_KEY_AUTH_MECHANISM'] || 'x-goog-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 #93c9457f8ec1085a Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:275
    const apiVersionEnv = process.env['GOOGLE_GENAI_API_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 #e2de8370b7fbb2a5 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:348
            ? process.env['GOOGLE_VERTEX_BASE_URL']

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9cc7b4098c2afa4a Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:349
            : 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 production #eb887bf747584072 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:354
          const 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 production #f8b1d18d6dc0433b Filesystem access.
repo/packages/core/src/core/fakeContentGenerator.ts:74
    const fileContent = await promises.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 #0dec3283e2eb79b1 Filesystem access.
repo/packages/core/src/core/logger.test.ts:60
    const content = await fs.readFile(TEST_LOG_FILE_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 #982eb1203e45a57c Filesystem access.
repo/packages/core/src/core/logger.test.ts:149
      await fs.writeFile(
        TEST_LOG_FILE_PATH,
        JSON.stringify(existingLogs, 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 #c781f8ecfb91ad0a Filesystem access.
repo/packages/core/src/core/logger.test.ts:173
      await fs.writeFile(
        TEST_LOG_FILE_PATH,
        JSON.stringify(existingLogs, 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 #dee163108a8ef0a9 Filesystem access.
repo/packages/core/src/core/logger.test.ts:197
      await fs.writeFile(TEST_LOG_FILE_PATH, 'invalid json');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #709d1b6358c91735 Filesystem access.
repo/packages/core/src/core/logger.test.ts:222
      await fs.writeFile(
        TEST_LOG_FILE_PATH,
        JSON.stringify({ not: 'an array' }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e61c39afdca95603 Filesystem access.
repo/packages/core/src/core/logger.test.ts:447
      const fileContent = await fs.readFile(taggedFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f8605d4c89d57669 Filesystem access.
repo/packages/core/src/core/logger.test.ts:480
      await fs.writeFile(
        TEST_CHECKPOINT_FILE_PATH,
        JSON.stringify(conversation, 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 #4d0ecee92af91fa8 Filesystem access.
repo/packages/core/src/core/logger.test.ts:516
      await fs.writeFile(
        taggedFilePath,
        JSON.stringify(taggedConversation, 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 #78fc1751b0c5c700 Filesystem access.
repo/packages/core/src/core/logger.test.ts:534
      await fs.writeFile(taggedFilePath, JSON.stringify(conversation, 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 #b79b61fc0b8d0eb1 Filesystem access.
repo/packages/core/src/core/logger.test.ts:558
      await fs.writeFile(taggedFilePath, 'invalid json');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bafbc3deefcaaee8 Filesystem access.
repo/packages/core/src/core/logger.test.ts:601
      await fs.writeFile(taggedFilePath, JSON.stringify(conversation));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #85f70baf6d648606 Filesystem access.
repo/packages/core/src/core/logger.test.ts:621
      await fs.writeFile(oldStylePath, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #679ec257f5f13c18 Filesystem access.
repo/packages/core/src/core/logger.test.ts:622
      await fs.writeFile(newStylePath, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #67ce783c32e6362b Filesystem access.
repo/packages/core/src/core/logger.test.ts:692
      await fs.writeFile(taggedFilePath, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b2c2b2f500678680 Filesystem access.
repo/packages/core/src/core/logger.test.ts:749
      await fs.writeFile(
        taggedFilePath,
        JSON.stringify(taggedConversation, 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 #d0596c271cc5f28b Filesystem access.
repo/packages/core/src/core/logger.ts:90
      const fileContent = await fs.readFile(this.logFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0c15fe12bf59f528 Filesystem access.
repo/packages/core/src/core/logger.ts:161
        await fs.writeFile(this.logFilePath, '[]', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84ddcac2247f49b4 Filesystem access.
repo/packages/core/src/core/logger.ts:230
      await fs.writeFile(
        this.logFilePath,
        JSON.stringify(currentLogsOnDisk, null, 2),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #13388ee23e814505 Filesystem access.
repo/packages/core/src/core/logger.ts:339
      await fs.writeFile(path, JSON.stringify(checkpoint, null, 2), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fb19975d98af10b0 Filesystem access.
repo/packages/core/src/core/logger.ts:355
      const fileContent = await fs.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 production #d404408863cbcffe Environment-variable access.
repo/packages/core/src/core/loggingContentGenerator.ts:216
      const 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 production #1d1bace7775775d1 Filesystem access.
repo/packages/core/src/hooks/trustedHooks.ts:37
        const content = fs.readFileSync(this.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 #6270d5b23b762f46 Filesystem access.
repo/packages/core/src/hooks/trustedHooks.ts:53
      fs.writeFileSync(
        this.configPath,
        JSON.stringify(this.trustedHooks, 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 #f15480d39d0ae61e Environment-variable access.
repo/packages/core/src/ide/detect-ide.test.ts:39
    delete process.env['CURSOR_TRACE_ID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf5a8385ca341288 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:40
  return !!(process.env['EDITOR_IN_CLOUD_SHELL'] || process.env['CLOUD_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 #a80b34105db78d4a Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:44
  return !!process.env['TERMINAL_EMULATOR']

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bef6f4a7edafcf22 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:50
  if (process.env['ANTIGRAVITY_CLI_ALIAS']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #98a659514819d4df Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:53
  if (process.env['__COG_BASHRC_SOURCED']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b140774e389edd61 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:56
  if (process.env['REPLIT_USER']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0b47e7d8cb9f7f19 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:59
  if (process.env['CURSOR_TRACE_ID']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1d879eba8d5ec713 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:62
  if (process.env['CODESPACES']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ef37f58b63b8bd4d Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:68
  if (process.env['TERM_PRODUCT'] === 'Trae') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #add2d8b4af7174ca Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:71
  if (process.env['MONOSPACE_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 #c64f1b003996cebe Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:74
  if (process.env['POSITRON'] === '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 #94b7d9ca6bb9e3fd Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:77
  if (process.env['TERM_PROGRAM'] === 'sublime') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #88afa72e4d6cc138 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:80
  if (process.env['ZED_SESSION_ID'] || process.env['TERM_PROGRAM'] === 'Zed') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #01529e2c0fd799e9 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:83
  if (process.env['XCODE_VERSION_ACTUAL']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7a1201c4866e0587 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:160
    process.env['TERM_PROGRAM'] !== 'vscode' &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0067ec66a8c27803 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:161
    process.env['TERM_PROGRAM'] !== 'sublime' &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b4c0edb0b1487b9a Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:162
    process.env['TERM_PROGRAM'] !== 'Zed' &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a28bd5ce84b4b0cc Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:163
    !process.env['ZED_SESSION_ID'] &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b3d30649105975fd Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:164
    !process.env['XCODE_VERSION_ACTUAL'] &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9905785cd8ef5783 Environment-variable access.
repo/packages/core/src/ide/ide-client.test.ts:65
    process.env['GEMINI_CLI_IDE_WORKSPACE_PATH'] = '/test/workspace';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b7b85eb9856d98e1 Environment-variable access.
repo/packages/core/src/ide/ide-client.test.ts:66
    delete process.env['GEMINI_CLI_IDE_SERVER_PORT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4d4b019aad15d49d Environment-variable access.
repo/packages/core/src/ide/ide-client.test.ts:67
    delete process.env['GEMINI_CLI_IDE_SERVER_STDIO_COMMAND'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3989c686c52dcf31 Environment-variable access.
repo/packages/core/src/ide/ide-client.test.ts:68
    delete process.env['GEMINI_CLI_IDE_SERVER_STDIO_ARGS'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed77d1517518a381 Environment-variable access.
repo/packages/core/src/ide/ide-client.test.ts:69
    delete process.env['GEMINI_CLI_IDE_AUTH_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #694ce1f56205302d Environment-variable access.
repo/packages/core/src/ide/ide-client.test.ts:589
      process.env['GEMINI_CLI_IDE_AUTH_TOKEN'] = 'env-auth-token';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #47686da829cebf82 Environment-variable access.
repo/packages/core/src/ide/ide-client.ts:142
      connectionConfig?.authToken ?? process.env['GEMINI_CLI_IDE_AUTH_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9bc40fcc067a77d5 Environment-variable access.
repo/packages/core/src/ide/ide-client.ts:146
      process.env['GEMINI_CLI_IDE_WORKSPACE_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 #c64b060804168096 Environment-variable access.
repo/packages/core/src/ide/ide-connection-utils.ts:75
  const port = process.env['GEMINI_CLI_IDE_SERVER_PORT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bc7d540ae8b19a26 Environment-variable access.
repo/packages/core/src/ide/ide-connection-utils.ts:83
  const command = process.env['GEMINI_CLI_IDE_SERVER_STDIO_COMMAND'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #63b64082dfce0eb8 Environment-variable access.
repo/packages/core/src/ide/ide-connection-utils.ts:88
  const argsStr = process.env['GEMINI_CLI_IDE_SERVER_STDIO_ARGS'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #97a975a15bc1ad9f Filesystem access.
repo/packages/core/src/ide/ide-connection-utils.ts:125
    const portFileContents = await fs.promises.readFile(portFile, '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 #e87eb882a3954a3f Filesystem access.
repo/packages/core/src/ide/ide-connection-utils.ts:171
        fs.promises.readFile(path.join(portFileDir, 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 production #b78c26da9f95cdbb Environment-variable access.
repo/packages/core/src/ide/ide-connection-utils.ts:310
  const existingNoProxy = process.env['NO_PROXY'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f1a07e9847179bc6 Environment-variable access.
repo/packages/core/src/ide/ide-connection-utils.ts:356
  return !!process.env['SSH_CONNECTION'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #89498b1de2395375 Environment-variable access.
repo/packages/core/src/ide/ide-connection-utils.ts:361
    process.env['VSCODE_REMOTE_CONTAINERS_SESSION'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fe52ce69be968c6a Environment-variable access.
repo/packages/core/src/ide/ide-connection-utils.ts:362
    process.env['REMOTE_CONTAINERS']

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d6d4309cf9e440f8 Environment-variable access.
repo/packages/core/src/ide/ide-installer.ts:120
            process.env['ProgramFiles'] || 'C:\\Program Files',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dcef379370302d00 Environment-variable access.
repo/packages/core/src/ide/ide-installer.ts:255
    const envCommand = process.env['ANTIGRAVITY_CLI_ALIAS'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c25762184b1adacf Environment-variable access.
repo/packages/core/src/ide/process-utils.ts:229
  if (process.env['GEMINI_CLI_IDE_PID']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ef2ed6c9af7c8686 Environment-variable access.
repo/packages/core/src/ide/process-utils.ts:230
    const idePid = parseInt(process.env['GEMINI_CLI_IDE_PID'], 10);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low egress production #a0b4433acfa7ce7d Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/mcp/mcp-oauth-provider.test.ts:63
      const authUrl = new URL('http://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 env_fs production #9862e37fc74206f0 Environment-variable access.
repo/packages/core/src/mcp/oauth-token-storage.ts:31
    process.env[FORCE_ENCRYPTED_FILE_ENV_VAR] === '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 #c59693c986f01aa0 Filesystem access.
repo/packages/core/src/mcp/oauth-token-storage.ts:72
      const data = await fs.readFile(tokenFile, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8c146b374ad858ac Filesystem access.
repo/packages/core/src/mcp/oauth-token-storage.ts:113
      await fs.writeFile(
        tokenFile,
        JSON.stringify(tokenArray, null, 2),
        { mode: 0o600 }, // Restrict file permissions
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7a89110cd9e276d5 Filesystem access.
repo/packages/core/src/mcp/oauth-token-storage.ts:204
          await fs.writeFile(tokenFile, JSON.stringify(tokenArray, 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 production #3ce7298ffe45faa8 Environment-variable access.
repo/packages/core/src/mcp/token-storage/hybrid-token-storage.ts:28
    const forceFileStorage = process.env[FORCE_FILE_STORAGE_ENV_VAR] === '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 #c625599722616d28 Filesystem access.
repo/packages/core/src/policy/config.test.ts:119
      return (
        await vi.importActual<typeof import('node:fs/promises')>(
          'node:fs/promises',
        )
      ).readFile(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 production #a2769d7964c27697 Filesystem access.
repo/packages/core/src/policy/config.ts:808
              const fileContent = await fs.readFile(policyFile, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #508813f29fefc50f Filesystem access.
repo/packages/core/src/policy/config.ts:892
              await handle.writeFile(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 #6004fb7b2e318549 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:39
      await fs.writeFile(path.join(policyDir, 'a.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2a72d1dd300cfe71 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:55
      await fs.writeFile(path.join(policyDir, 'a.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4b64e68476f64cd5 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:66
      await fs.writeFile(
        integrityStoragePath,
        JSON.stringify({ 'workspace:id': currentHash }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #93494a44f09561a1 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:83
      await fs.writeFile(path.join(policyDir, 'a.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eeb91e85582bcc53 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:93
      await fs.writeFile(
        integrityStoragePath,
        JSON.stringify({ 'workspace:id': 'different_hash' }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cff99364570f5737 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:110
      await fs.writeFile(path.join(policyDir1, 'a.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff13aefc40843265 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:120
      await fs.writeFile(path.join(policyDir2, 'b.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2d3e4424f328db4b Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:135
      await fs.writeFile(path.join(policyDir, 'a.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8b205979bf0984f7 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:142
      await fs.writeFile(path.join(policyDir, 'a.toml'), 'contentB');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4b044f9fe27e41b0 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:155
      await fs.writeFile(path.join(policyDir1, 'a.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d14021ac9e3b4c99 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:156
      await fs.writeFile(path.join(policyDir1, 'b.toml'), 'contentB');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b15a7f763f536796 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:178
      await fs.writeFile(path.join(dirA, 'p.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eb8a249200765525 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:182
      await fs.writeFile(path.join(dirB, 'p.toml'), 'contentB');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #59c367cdb5dc1905 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:196
      await fs.writeFile(
        integrityStoragePath,
        JSON.stringify({
          'workspace:idA': hashA,
          'workspace:idB': 'oldHashB',
        }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f569e46f6546df6c Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:229
        await fs.readFile(integrityStoragePath, 'utf-8'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eb2b3f4442aef41a Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:235
      await fs.writeFile(
        integrityStoragePath,
        JSON.stringify({ 'other:id': 'otherhash' }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5d87808b5b0437a9 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:243
        await fs.readFile(integrityStoragePath, 'utf-8'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3909341a19281f63 Filesystem access.
repo/packages/core/src/policy/integrity.ts:123
      const content = await fs.readFile(storagePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #07c3a3bcdacc7382 Filesystem access.
repo/packages/core/src/policy/integrity.ts:148
      await fs.writeFile(storagePath, JSON.stringify(data, null, 2), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46a2be820e9ac7d2 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:76
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #88dadc76563e7e43 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:98
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #8173845bc8d4502e Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:129
    memfs.writeFileSync(policyFile, existingContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #32443786fd44d247 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:139
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #9ceba8a5660b5e97 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:161
    memfs.writeFileSync(policyFile, existingContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4c7fee7caea0ddd1 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:171
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #5eb43e53d33ef3a2 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:192
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #9bef24f4bb0fb830 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:211
    const writtenContent = memfs.readFileSync(policyFile, 'utf-8') as 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 #5b639ecb16c0e555 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:251
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #178d12c5d0225c66 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:411
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #a50a4a5c0499c9b9 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:430
    memfs.writeFileSync(policyFile, existingContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a00ffbafb5cfd8c5 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:442
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #e161545515a27827 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:501
    memfs.writeFileSync(policyFile, 'this is not valid toml ][[[');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c079a1a19eb23d73 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:519
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #675cb7df042e1dbb Filesystem access.
repo/packages/core/src/policy/sandboxPolicyManager.ts:59
        const content = fs.readFileSync(defaultPath, '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 #cfe4ae65b05058b8 Filesystem access.
repo/packages/core/src/policy/sandboxPolicyManager.ts:118
      const content = fs.readFileSync(this.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 #e886d5af191a7e78 Filesystem access.
repo/packages/core/src/policy/sandboxPolicyManager.ts:134
      fs.writeFileSync(this.configPath, 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 #03077c4fcbb28b42 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:59
    await fs.writeFile(path.join(tempDir, fileName), tomlContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7b47b10327fc2082 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:312
      await fs.writeFile(
        path.join(tempDir, 'tier4.toml'),
        `
[[rule]]
toolName = "tier4-tool"
decision = "allow"
priority = 100
modes = ["autoEdit"]
`,
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #065323af32d6b791 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:433
      await fs.writeFile(
        path.join(tempDir, 'valid.toml'),
        `
[[rule]]
toolName = "glob"
decision = "allow"
priority = 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 production #0ed1e4ca20639669 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:443
      await fs.writeFile(
        path.join(tempDir, 'invalid.toml'),
        `
[[rule]]
toolName = "grep"
decision = "allow"
priority = -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 #1417ebfbe43f0ed8 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:661
      await fs.writeFile(
        filePath,
        '[[rule]]\ntoolName = "test-tool"\ndecision = "allow"\npriority = 500\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 #10b61b7bf06b82dc Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:864
      const fileContent = await fs.readFile(planTomlPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #216ed8005b084631 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:869
        await fs.writeFile(path.join(tempPolicyDir, 'plan.toml'), fileContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #972314854d9f2096 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:982
      const planContent = await fs.readFile(planTomlPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c6744ecc7f67f82 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:983
      const readOnlyContent = await fs.readFile(readOnlyTomlPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #554820af4c0279f3 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:989
        await fs.writeFile(path.join(tempPolicyDir, 'plan.toml'), planContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fad572993f6e8b7e Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:990
        await fs.writeFile(
          path.join(tempPolicyDir, 'read-only.toml'),
          readOnlyContent,
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7757874cf41a6350 Filesystem access.
repo/packages/core/src/policy/toml-loader.ts:187
    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 #02c56068166da956 Environment-variable access.
repo/packages/core/src/prompts/promptProvider.ts:54
      process.env['GEMINI_SYSTEM_MD'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6b40362fb655c6ff Filesystem access.
repo/packages/core/src/prompts/promptProvider.ts:119
      basePrompt = fs.readFileSync(systemMdPath, '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 #2e784fa3d64618ae Environment-variable access.
repo/packages/core/src/prompts/promptProvider.ts:326
      process.env['GEMINI_WRITE_SYSTEM_MD'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c7ab6eec1e8d17f4 Filesystem access.
repo/packages/core/src/prompts/promptProvider.ts:333
      fs.writeFileSync(writePath, basePrompt);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #545e3cfc69bea05e Environment-variable access.
repo/packages/core/src/prompts/promptProvider.ts:345
  if (process.env['SANDBOX'] === 'sandbox-exec') return 'macos-seatbelt';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6990a46dcc60060a Environment-variable access.
repo/packages/core/src/prompts/promptProvider.ts:346
  if (process.env['SANDBOX']) return 'generic';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2faa5a4c6d026cb2 Environment-variable access.
repo/packages/core/src/prompts/utils.ts:110
  const envVar = process.env[`GEMINI_PROMPT_${key.toUpperCase()}`];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #58b5d13312d2134d Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:57
    await fs.writeFile(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 production #9a8446cf92d6dcf7 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:67
    await fs.writeFile(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 production #15298a08c3d0ed13 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:78
    await fs.writeFile(outsidePath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9d1f8f80d4fc9b93 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:87
    await fs.writeFile(secretPath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3f0fd0e449ca0b2d Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:98
    await fs.writeFile(passwdPath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bd68c502e342b47d Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:100
    await fs.writeFile(srcPath, 'source 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 #1806f02469f7c002 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:123
    await fs.writeFile(targetPath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3d1961d4a86adbe5 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:139
    await fs.writeFile(realFilePath, 'real 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 #faf8d12688429b79 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:152
    await fs.writeFile(outsidePath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #db916f3d66c3f653 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:165
    await fs.writeFile(outsidePath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bfbd7df1684233cd Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:178
    await fs.writeFile(outsidePath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74feaecf9e5a16fd Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:198
    await fs.writeFile(outsidePath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6073849e08dc8391 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:213
    await fs.writeFile(outsidePath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #008b69a832843bc0 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:231
    await fs.writeFile(outsidePath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ec3c6f35322ec13b Filesystem access.
repo/packages/core/src/sandbox/linux/LinuxSandboxManager.ts:102
  fs.writeFileSync(bpfPath, buf);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c8c8c4ca09d9a7c6 Filesystem access.
repo/packages/core/src/sandbox/linux/LinuxSandboxManager.ts:192
    fs.writeFileSync(maskPath, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aacc8b3fec4a9ece Filesystem access.
repo/packages/core/src/sandbox/linux/LinuxSandboxManager.ts:346
    fs.writeFileSync(tempFile, content, { 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 production #a329d2a36b3962a5 Filesystem access.
repo/packages/core/src/sandbox/macos/MacOsSandboxManager.test.ts:82
      expect(fs.readFileSync(tempFile, 'utf8')).toBe('(mock profile)');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b2bd46ae409b004e Filesystem access.
repo/packages/core/src/sandbox/macos/MacOsSandboxManager.ts:200
    fs.writeFileSync(tempFile, profile, { 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 production #b4ded3bc275747c1 Environment-variable access.
repo/packages/core/src/sandbox/macos/seatbeltArgsBuilder.ts:116
  if (process.env['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 #81ca9cf3dc9be61f Environment-variable access.
repo/packages/core/src/sandbox/macos/seatbeltArgsBuilder.ts:117
    const paths = process.env['PATH'].split(':');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c49d143059b0435b Filesystem access.
repo/packages/core/src/sandbox/utils/fsUtils.ts:23
      const gitContent = await fs.readFile(gitPath, '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 #b443080278ffcabc Filesystem access.
repo/packages/core/src/sandbox/utils/fsUtils.ts:36
          const backlink = (await fs.readFile(backlinkPath, '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 #05124ab57c024be5 Filesystem access.
repo/packages/core/src/sandbox/utils/fsUtils.ts:45
            const config = 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 #e9b25ade2c25800f Environment-variable access.
repo/packages/core/src/sandbox/utils/proactivePermissions.ts:130
    const appData = process.env['AppData'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3fe83f4bcbb35e3c Environment-variable access.
repo/packages/core/src/sandbox/utils/proactivePermissions.ts:131
    const localAppData = process.env['LocalAppData'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #996fa5ee1f9e37f7 Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.test.ts:54
    const forbidden = fs
      .readFileSync(forbiddenPath, '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 #845fc1dfd50a1106 Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.test.ts:58
    const allowed = fs
      .readFileSync(allowedPath, '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 #7c2dcc9bd0beb43c Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.test.ts:380
      fs.writeFileSync(longPath, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bf6b4d8f1b8ec123 Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.test.ts:381
      fs.writeFileSync(devicePath, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7843f3cdd64feea6 Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.test.ts:490
    fs.writeFileSync(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 #69326bd602a9986d Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.test.ts:507
    fs.writeFileSync(maliciousPath, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #801af0d0fe524729 Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.test.ts:524
    fs.writeFileSync(filePath, '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 production #19b2cd80b3cd6737 Environment-variable access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.ts:124
          const systemRoot = process.env['SystemRoot'] || 'C:\\Windows';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0a447ea714f4b89d Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.ts:425
    await fs.promises.writeFile(
      forbiddenManifestPath,
      Array.from(forbiddenManifest).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 #907c6ec30aba0a66 Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.ts:431
    await fs.promises.writeFile(
      allowedManifestPath,
      Array.from(allowedManifest).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 #94db85f72ac73541 Environment-variable access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.ts:468
    const systemRoot = process.env['SystemRoot'] || 'C:\\Windows';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8ce598ebe18324e6 Environment-variable access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.ts:469
    const programFiles = process.env['ProgramFiles'] || 'C:\\Program Files';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #35f4f844d2f03b12 Environment-variable access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.ts:471
      process.env['ProgramFiles(x86)'] || 'C:\\Program Files (x86)';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9702f30aaeacbb23 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:35
    await fs.writeFile(
      path.join(commandsDir, 'test-cmd.toml'),
      'prompt = "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 #f52c5b1ce58c6e7b Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:43
    await fs.writeFile(path.join(skillsDir, 'test-skill', 'SKILL.md'), 'body');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #90b9eb88b9ad8b63 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:48
    await fs.writeFile(path.join(agentsDir, 'test-agent.md'), 'body');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e4f9517dbd4c314e Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:61
    await fs.writeFile(
      path.join(geminiDir, 'settings.json'),
      JSON.stringify(settings),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #43141dac78eb29b3 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:94
    await fs.writeFile(
      path.join(geminiDir, 'settings.json'),
      JSON.stringify(settings),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #65c83a6517e24539 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:124
    await fs.writeFile(path.join(geminiDir, 'settings.json'), 'invalid json');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ca4e129544f1aa02 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:135
    await fs.writeFile(path.join(geminiDir, 'settings.json'), '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 production #e7bb4c5f26e742e4 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:145
    await fs.writeFile(path.join(geminiDir, 'settings.json'), '[]');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #78b18fba0eb8308c Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:155
    await fs.writeFile(path.join(geminiDir, 'settings.json'), '"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 #baa74cec8b019085 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:168
    await fs.writeFile(path.join(agentsDir, 'test-agent.md'), 'body');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #65a91e03db46d2e2 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.ts:141
      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 #8495ce3abb40f7a4 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:289
      fs.writeFileSync(
        sessionFile,
        JSON.stringify({ ...initialData, messages: undefined }) +
          '\n' +
          (initialData.messages || [])
            .map((m: unknown) => JSON.stringify(m))
            .join('\n') +
          '\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 #3d6fde2be435b70e Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:661
      fs.writeFileSync(sessionFile, JSON.stringify({ sessionId }) + '\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 #5d78eaf40dfd5c64 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:664
      fs.writeFileSync(logFile, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dd129d83e065b9a7 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:692
      fs.writeFileSync(
        sessionFile,
        JSON.stringify({ sessionId, messages: [] }, 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 #23d97dd516ad88c9 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:699
      fs.writeFileSync(path.join(toolOutputDir, 'output.txt'), '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 production #a77fcf0dea383e3f Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:717
      fs.writeFileSync(sessionFile, 'not-json');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8c76ed8c9a528a8c Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:741
      fs.writeFileSync(
        parentFile,
        JSON.stringify({ sessionId: parentSessionId }) + '\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 #21344208bffeaefe Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:750
      fs.writeFileSync(
        subagentFile,
        JSON.stringify({ sessionId: subagentSessionId, kind: 'subagent' }) +
          '\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 #a009f88782f98091 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:758
      fs.writeFileSync(parentLog, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3ef27b470c256950 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:763
      fs.writeFileSync(subagentLog, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84765f02a127d460 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:804
      fs.writeFileSync(
        parentFile,
        JSON.stringify({ sessionId: parentSessionId }) + '\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 #bb430286a39d4f3c Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:814
      fs.writeFileSync(
        subagentFile,
        JSON.stringify({ sessionId: subagentSessionId, kind: 'subagent' }) +
          '\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 #f8a84cb931a79b51 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:838
      fs.writeFileSync(sessionFile, JSON.stringify({ sessionId }) + '\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 #5271376a39205f50 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:841
      fs.writeFileSync(logFile, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f25426af684a914b Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:878
      fs.writeFileSync(path.join(toolOutputDir, 'output.txt'), '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 production #27bf62ba709cfd8c Filesystem access.
repo/packages/core/src/services/chatRecordingService.ts:978
    const fileContent = await fs.promises.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 #61b3f368c85007f7 Filesystem access.
repo/packages/core/src/services/fileDiscoveryService.test.ts:21
    await fs.writeFile(fullPath, 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 #2fe1baa48215e7cb Filesystem access.
repo/packages/core/src/services/fileKeychain.ts:71
      const data = await fs.readFile(this.tokenFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #37f18d5b125a0136 Filesystem access.
repo/packages/core/src/services/fileKeychain.ts:102
    await fs.writeFile(this.tokenFilePath, encrypted, { 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 production #39da516b341fa48e Filesystem access.
repo/packages/core/src/services/fileSystemService.ts:35
    return 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 #abb9a7a4e059db0e Filesystem access.
repo/packages/core/src/services/fileSystemService.ts:39
    await fs.writeFile(filePath, 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 #2acbaf68c70fa27d Filesystem access.
repo/packages/core/src/services/gitService.test.ts:200
      const actualConfigContent = await fs.readFile(gitConfigPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2229aa6b8eb5a9cd Filesystem access.
repo/packages/core/src/services/gitService.test.ts:225
      await fs.writeFile(visibleGitIgnorePath, 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 production #9b9c6d73c60ecbcc Filesystem access.
repo/packages/core/src/services/gitService.test.ts:231
      const copiedContent = await fs.readFile(hiddenGitIgnorePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7f18d78a84e79b5c Filesystem access.
repo/packages/core/src/services/gitService.test.ts:241
      const content = await fs.readFile(hiddenGitIgnorePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f543f3721250eaf9 Filesystem access.
repo/packages/core/src/services/gitService.test.ts:304
      const systemConfigContent = await fs.readFile(
        path.join(repoDir, '.gitconfig_system_empty'),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d9ac7fffbd7518ef Filesystem access.
repo/packages/core/src/services/gitService.ts:140
    await fs.writeFile(gitConfigPath, gitConfigContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5efa4a2d41428e02 Filesystem access.
repo/packages/core/src/services/gitService.ts:143
    await fs.writeFile(shadowRepoEnv.GIT_CONFIG_SYSTEM, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3b1d721bd523153 Filesystem access.
repo/packages/core/src/services/gitService.ts:169
      userGitIgnoreContent = await fs.readFile(userGitIgnorePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7233d85ddd61d94d Filesystem access.
repo/packages/core/src/services/gitService.ts:176
    await fs.writeFile(shadowGitIgnorePath, userGitIgnoreContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #02cc86bacd07ebe3 Environment-variable access.
repo/packages/core/src/services/keychainService.test.ts:201
      process.env['GEMINI_FORCE_FILE_STORAGE'] = '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 #fa7364813401ae3c Environment-variable access.
repo/packages/core/src/services/keychainService.ts:101
    const forceFileStorage = process.env[FORCE_FILE_STORAGE_ENV_VAR] === '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 #53f68eacb324b4f8 Filesystem access.
repo/packages/core/src/services/memoryPatchUtils.ts:536
    content = await fs.readFile(sourcePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2ed30164c9f4f4d8 Filesystem access.
repo/packages/core/src/services/memoryPatchUtils.ts:744
        source = await fs.readFile(resolvedTargetPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7a2a4b459c1eacf3 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:137
  await fs.writeFile(
    filePath,
    records.map((record) => JSON.stringify(record)).join('\n') + '\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 #2a301bb5dcd99c66 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:173
      const content = JSON.parse(await fs.readFile(lockPath, 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7affc0a7f806120 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:187
      await fs.writeFile(lockPath, JSON.stringify(lockInfo));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #56cfb9b9bfe54f8c Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:203
      await fs.writeFile(lockPath, JSON.stringify(lockInfo));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5b4606fbcaad3c54 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:208
      const content = JSON.parse(await fs.readFile(lockPath, 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0060210a0a541ad5 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:222
      await fs.writeFile(lockPath, JSON.stringify(lockInfo));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c7f90488a90d108b Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:227
      const content = JSON.parse(await fs.readFile(lockPath, 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #14275f3ab2c266e8 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:244
      await fs.writeFile(lockPath, JSON.stringify(lockInfo));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff21437f44abb30e Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:258
      await fs.writeFile(lockPath, JSON.stringify(lockInfo));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #03b56658cf5b6075 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:271
      await fs.writeFile(lockPath, JSON.stringify(lockInfo));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ae39ab3f0ebf5bfe Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:290
      await fs.writeFile(lockPath, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #07d14b28d2363b78 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:329
      await fs.writeFile(statePath, JSON.stringify(existingState));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #77f54a6990200afe Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:378
      await fs.writeFile(
        lockPath,
        JSON.stringify({
          pid: process.pid,
          startedAt: 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 #e19350a950a25a25 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:461
      await fs.writeFile(
        path.join(chatsDir, 'session-2025-01-01T00-00-err00001.json'),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #183de46e62758f43 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:522
      await fs.writeFile(
        path.join(chatsDir, 'session-2025-01-01T00-00-skill001.json'),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bd71dd841f46f7f8 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:533
          await fs.writeFile(
            path.join(newSkillDir, 'SKILL.md'),
            '# My New Skill',
          );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d33e33a9f0be30fa Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:596
      await fs.writeFile(
        path.join(chatsDir, 'session-2025-01-01T00-00-inbox001.json'),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5e55fcf6a389530a Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:606
          await fs.writeFile(
            path.join(inboxDir, 'private', 'MEMORY.patch'),
            [
              `--- /dev/null`,
              `+++ ${path.join(memoryDir, 'MEMORY.md')}`,
              `@@ -0,0 +1,1 @@`,
              `+- new project fact`,
              ``,
            ].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 #1a71d853c1972842 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:616
          await fs.writeFile(
            path.join(inboxDir, 'global', 'reply-style.patch'),
            [
              `--- /dev/null`,
              `+++ ${path.join(globalMemoryDir, 'GEMINI.md')}`,
              `@@ -0,0 +1,1 @@`,
              `+Prefer concise architecture summaries.`,
              ``,
            ].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 #89d9d68eb2ce7d28 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:699
      await fs.writeFile(
        path.join(chatsDir, 'session-2025-01-01T00-00-malformed.json'),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b873cc1aef8e7b48 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:715
          await fs.writeFile(
            malformedPatchPath,
            [
              `--- /dev/null`,
              `+++ ${path.join(memoryDir, 'MEMORY.md')}`,
              `@@ -0,0 +1,1 @@`,
              `+First extracted fact.`,
              `+Second extracted fact exceeds the declared hunk count.`,
              ``,
            ].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 #b200efae90d53751 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1142
      await fs.writeFile(
        path.join(
          chatsDir,
          `${SESSION_FILE_PREFIX}2025-01-01T00-00-brandnew.json`,
        ),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9493e137eae7ad1c Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1164
      await fs.writeFile(
        path.join(
          chatsDir,
          `${SESSION_FILE_PREFIX}2025-01-01T00-00-oldsess1.json`,
        ),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9248ac49edf645b6 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1197
      await fs.writeFile(
        path.join(
          chatsDir,
          `${SESSION_FILE_PREFIX}2025-01-01T00-00-resumed01.json`,
        ),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a41fb9d25e5b674a Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1230
      await fs.writeFile(
        path.join(chatsDir, fileName),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bb022c619d269040 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1421
      await fs.writeFile(
        path.join(
          chatsDir,
          `${SESSION_FILE_PREFIX}2025-01-01T00-00-sub00001.json`,
        ),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #94f40bab427f1c11 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1443
      await fs.writeFile(
        path.join(
          chatsDir,
          `${SESSION_FILE_PREFIX}2025-01-01T00-00-short001.json`,
        ),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #30740f45463ffabc Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1468
        await fs.writeFile(
          path.join(
            chatsDir,
            `${SESSION_FILE_PREFIX}2025-01-0${i + 1}T00-00-cap${paddedIndex}.json`,
          ),
          JSON.stringify(conversation),
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #169941e2e678c19e Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1493
      await fs.writeFile(
        path.join(
          chatsDir,
          `${SESSION_FILE_PREFIX}2025-01-01T00-00-proc0001.json`,
        ),
        JSON.stringify(oldConv),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #86a3aca4db375de8 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1506
      await fs.writeFile(
        path.join(
          chatsDir,
          `${SESSION_FILE_PREFIX}2025-01-02T00-00-fres0001.json`,
        ),
        JSON.stringify(newConv),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cd6af8315574ff41 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1582
        await fs.writeFile(
          path.join(
            chatsDir,
            `${SESSION_FILE_PREFIX}2025-01-${day}T00-00-backlog${i}.json`,
          ),
          JSON.stringify(conversation),
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3bfa3ab32db17d28 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1630
        await fs.writeFile(filePath, JSON.stringify(conversation));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ffa3f92addebf409 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1693
      await fs.writeFile(statePath, JSON.stringify(state));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #302ef811b6c5424b Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1778
      await fs.writeFile(
        statePath,
        JSON.stringify({ lastProcessed: '2025-01-01' }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fbc68d65d3b334dc Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1813
      await fs.writeFile(path.join(skillsDir, 'some-file.txt'), '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 production #e4bfc976e9ebdcfa Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1838
      await fs.writeFile(patchPath, 'this is not a valid patch');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2ad2a32054175cfe Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1855
      await fs.writeFile(targetFile, 'line1\nline2\nline3\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 #705d737c1f14f0b0 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1869
      await fs.writeFile(patchPath, patchContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #82b68af7c7870c60 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1885
      await fs.writeFile(targetFile, 'alpha\nbeta\ngamma\ndelta\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 #7f0c2e8899c83e4a Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1888
      await fs.writeFile(
        patchPath,
        [
          `--- ${targetFile}`,
          `+++ ${targetFile}`,
          '@@ -1,4 +1,5 @@',
          ' alpha',
          ' beta',
          '+beta2',
          ' gamma',
          ' delta',
          `--- ${targetFile}`,
          `+++ ${targetFile}`,
          '@@ -2,4 +2,5 @@',
          ' beta',
          ' beta2',
          ' gamma',
          '+gamma2',
          ' delta',
          '',
        ].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 #e9d5295bd22b4c9d Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1924
      await fs.writeFile(targetFile, 'original content\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 #73781c3af0ed1649 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1927
      await fs.writeFile(
        patchPath,
        [
          '--- /dev/null',
          `+++ ${targetFile}`,
          '@@ -0,0 +1 @@',
          '+replacement content',
          '',
        ].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 #2a34d6cd2a9ece4d Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1942
      expect(await fs.readFile(targetFile, 'utf-8')).toBe('original content\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 #a7603b0b83fcc3f6 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1952
      await fs.writeFile(targetFile, 'line1\nline2\nline3\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 #74d8b4a1630b4ca7 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1955
      await fs.writeFile(
        patchPath,
        [
          `--- ${targetFile}`,
          '+++ .gemini/skills/foo/SKILL.md',
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #46847456c4aef8d8 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1973
      expect(await fs.readFile(targetFile, 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3c1680113fe154b Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1983
      await fs.writeFile(
        patchPath,
        [
          `--- ${path.join(projectSkillsDir, 'target.md')}`,
          `+++ ${path.join(projectSkillsDir, 'target.md')}`,
          '',
        ].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 #fee60a0e07bd1cff Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2003
      await fs.writeFile(outsideFile, 'line1\nline2\nline3\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 #ba8bce6579dfa067 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2006
      await fs.writeFile(
        patchPath,
        [
          `--- ${outsideFile}`,
          `+++ ${outsideFile}`,
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #27ea597718e60a83 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2042
      await fs.writeFile(outsideFile, 'line1\nline2\nline3\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 #f19ee9cb708f5e21 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2045
      await fs.writeFile(
        patchPath,
        [
          `--- ${path.join(linkedDir, 'escaped.md')}`,
          `+++ ${path.join(linkedDir, 'escaped.md')}`,
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #048eeb02968619e5 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2063
      expect(await fs.readFile(outsideFile, 'utf-8')).not.toContain('line2.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 #68cdb745d91f0a9b Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2088
      await fs.writeFile(existingSkill, 'line1\nline2\nline3\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 #aba8415cb53bb1f8 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2094
      await fs.writeFile(
        path.join(chatsDir, 'session-2025-01-01T00-00-patchonly.json'),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1b31b86410d993ba Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2105
          await fs.writeFile(
            patchPath,
            [
              `--- ${existingSkill}`,
              `+++ ${existingSkill}`,
              '@@ -1,3 +1,4 @@',
              ' line1',
              ' line2',
              '+line2.5',
              ' line3',
              '',
            ].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 #b2ba257734d481ef Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2172
      await fs.writeFile(existingSkill, 'line1\nline2\nline3\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 #d4ea546d25a09602 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2173
      await fs.writeFile(
        path.join(skillsDir, 'existing-skill.patch'),
        [
          `--- ${existingSkill}`,
          `+++ ${existingSkill}`,
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #5d0795d81bb6e473 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2191
      await fs.writeFile(
        path.join(chatsDir, 'session-2025-01-01T00-00-oldpatch.json'),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f6fe89ba09071c48 Filesystem access.
repo/packages/core/src/services/memoryService.ts:436
      await fd.writeFile(JSON.stringify(lockInfo));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b2e3db57b0349c70 Filesystem access.
repo/packages/core/src/services/memoryService.ts:463
    const content = await fs.readFile(lockPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4d03c8948d781eaf Filesystem access.
repo/packages/core/src/services/memoryService.ts:514
    const content = await fs.readFile(statePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #50cf04bc635ca0f5 Filesystem access.
repo/packages/core/src/services/memoryService.ts:545
  await fs.writeFile(tmpPath, JSON.stringify(state, 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 #d6251d9eee083632 Filesystem access.
repo/packages/core/src/services/memoryService.ts:744
        const content = await fs.readFile(skillPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #95b5ac748055a345 Filesystem access.
repo/packages/core/src/services/memoryService.ts:876
      const patchContent = await fs.readFile(patchPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1d1b3d5e92747ae3 Filesystem access.
repo/packages/core/src/services/memoryService.ts:970
        snapshot.set(relativePath, 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 #b5fe26e17372529c Filesystem access.
repo/packages/core/src/services/memoryService.ts:1053
        content = 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 production #a477fc19331eb141 Filesystem access.
repo/packages/core/src/services/memoryService.ts:1218
              await fs.readFile(path.join(skillsDir, e), 'utf-8'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2c511fe610000464 Filesystem access.
repo/packages/core/src/services/memoryService.ts:1355
        currentContent = await fs.readFile(patchPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #08aaa0058befd7df Environment-variable access.
repo/packages/core/src/services/modelConfig.golden.test.ts:41
    if (process.env['UPDATE_GOLDENS']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9dda27c6c3e89bac Filesystem access.
repo/packages/core/src/services/modelConfig.golden.test.ts:43
      await fs.writeFile(
        GOLDEN_FILE_PATH,
        JSON.stringify(resolvedAliases, null, 2),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b8ae8f20d53ea58a Filesystem access.
repo/packages/core/src/services/modelConfig.golden.test.ts:54
      goldenContent = await fs.readFile(GOLDEN_FILE_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 #4f407ed59e92a097 Environment-variable access.
repo/packages/core/src/services/modelConfig.golden.test.ts:86
    if (process.env['UPDATE_GOLDENS']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2dfb3cefd2458243 Filesystem access.
repo/packages/core/src/services/modelConfig.golden.test.ts:88
      await fs.writeFile(
        RETRY_GOLDEN_FILE_PATH,
        JSON.stringify(resolvedAliases, null, 2),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c3b6771b26f4dc9 Filesystem access.
repo/packages/core/src/services/modelConfig.golden.test.ts:99
      goldenContent = await fs.readFile(RETRY_GOLDEN_FILE_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 #a266534093f83e97 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:233
        fs.writeFileSync(testFile, 'virtual read success');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a99c990a4d78e405 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:542
          fs.writeFileSync(testFile, 'secret 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 production #d6236f1df79dfd18 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:593
        fs.writeFileSync(nestedFile, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5818130069dd9bfc Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:699
        fs.writeFileSync(targetFile, 'secret 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 production #9ce395875685843a Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:778
        fs.writeFileSync(
          path.join(mainGitDir, 'config'),
          '[core]\n\trepositoryformatversion = 0\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 #0026f33fb8ce01f1 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:791
        fs.writeFileSync(
          path.join(worktreeDir, '.git'),
          `gitdir: ${worktreeGitDir}\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 #0c07216d1607f98f Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:798
        fs.writeFileSync(backlinkPath, path.join(worktreeDir, '.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 production #d4699125f3111842 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:802
        fs.writeFileSync(secretFile, 'git-secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fa6cf6e4637863a1 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:836
        fs.writeFileSync(
          path.join(worktreeDir, '.git'),
          `gitdir: ${worktreeGitDir}\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 #5fdb39be4996cdb1 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:840
        fs.writeFileSync(
          path.join(worktreeGitDir, 'gitdir'),
          path.join(worktreeDir, '.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 production #afc08c0f91e2380f Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:928
      fs.writeFileSync(
        path.join(mainGitDir, 'config'),
        '[core]\n\trepositoryformatversion = 0\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 #a20a33a17daa5d70 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:941
      fs.writeFileSync(
        path.join(worktreeDir, '.git'),
        `gitdir: ${worktreeGitDir}\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 #0a24bb0a267ecc0a Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:948
      fs.writeFileSync(backlinkPath, path.join(worktreeDir, '.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 production #542f8bc91c012451 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:952
      fs.writeFileSync(secretFile, 'git-secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #60296ddf375fe67e Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:986
      fs.writeFileSync(
        path.join(worktreeDir, '.git'),
        `gitdir: ${worktreeGitDir}\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 #ca210053a29a4e27 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:990
      fs.writeFileSync(
        path.join(worktreeGitDir, 'gitdir'),
        path.join(worktreeDir, '.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 production #7ccd594d3d48d312 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:1030
      fs.writeFileSync(
        path.join(worktreeDir, '.git'),
        `gitdir: ${worktreeGitDir}\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 #5e39c9462944bd89 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:1034
      fs.writeFileSync(
        path.join(worktreeGitDir, 'gitdir'),
        path.join(worktreeDir, '.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 production #2a972f166004572f Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:1073
      fs.writeFileSync(
        path.join(worktreeDir, '.git'),
        `gitdir: ${worktreeGitDir}\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 #efe061cf07ac03d5 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:1077
      fs.writeFileSync(
        path.join(worktreeGitDir, 'gitdir'),
        path.join(worktreeDir, '.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 production #6e6802ea5d25aedd Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:1111
      fs.writeFileSync(
        path.join(workspaceDir, '.git'),
        `gitdir: ${externalGitDir}\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 #b8166638f5d31c45 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:1143
      fs.writeFileSync(testFile, 'initial');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2584a4ce1cdac8d4 Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.test.ts:105
  await fs.writeFile(filePath, 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 production #8b731eb40f2815b7 Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.test.ts:408
      const written = 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 #f37685291b7a9266 Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.test.ts:436
      const lines = (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 #cf5ba90cb694d3db Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.test.ts:463
      const lines = (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 #b64c3710c2110d49 Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.test.ts:651
      const lines = (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 #9af4462f47141544 Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.test.ts:689
      const previousLines = (await fs.readFile(previousPath, 'utf-8'))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5a5b7b3163ec13d5 Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.test.ts:701
      const currentLines = (await fs.readFile(currentPath, 'utf-8'))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f16c5910535f4921 Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.ts:438
    await fs.writeFile(
      sessionPath,
      JSON.stringify(
        {
          ...freshConversation,
          ...metadataUpdate,
          lastUpdated,
        },
        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 #d936a57854b72ce8 Environment-variable access.
repo/packages/core/src/services/shellExecutionService.test.ts:213
    process.env['PATH'] = '/test/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 #20980fb6884ff4eb Environment-variable access.
repo/packages/core/src/services/shellExecutionService.ts:496
        baseEnv[key] = 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 production #529987f92f1413d7 Filesystem access.
repo/packages/core/src/services/trackerService.ts:74
      const content = 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 #3284838dec2ff3d5 Filesystem access.
repo/packages/core/src/services/trackerService.ts:182
    await fs.writeFile(taskPath, JSON.stringify(task, null, 2), '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 #ef73c0bd928bbf39 Filesystem access.
repo/packages/core/src/skills/builtin/skill-creator/scripts/init_skill.cjs:211
    fs.writeFileSync(
      path.join(skillDir, 'SKILL.md'),
      SKILL_TEMPLATE.replace(/{skill_name}/g, skillName).replace(
        /{skill_title}/g,
        skillTitle,
      ),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e53b3560a86c7f3e Filesystem access.
repo/packages/core/src/skills/builtin/skill-creator/scripts/init_skill.cjs:218
    fs.writeFileSync(
      path.join(skillDir, 'scripts/example_script.cjs'),
      EXAMPLE_SCRIPT.replace(/{skill_name}/g, skillName),
      { 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 production #886103be747d070f Filesystem access.
repo/packages/core/src/skills/builtin/skill-creator/scripts/init_skill.cjs:223
    fs.writeFileSync(
      path.join(skillDir, 'references/example_reference.md'),
      EXAMPLE_REFERENCE.replace(/{skill_title}/g, skillTitle),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e349f326535c2f2d Filesystem access.
repo/packages/core/src/skills/builtin/skill-creator/scripts/init_skill.cjs:227
    fs.writeFileSync(
      path.join(skillDir, 'assets/example_asset.txt'),
      'Placeholder for assets.',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4706f320478cc46e Filesystem access.
repo/packages/core/src/skills/builtin/skill-creator/scripts/validate_skill.cjs:25
  const content = fs.readFileSync(skillMdPath, '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 #7b1e30b1fc38e4b6 Filesystem access.
repo/packages/core/src/skills/builtin/skill-creator/scripts/validate_skill.cjs:78
    const fileContent = fs.readFileSync(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 production #0c8c87111a7688d0 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:35
    await fs.writeFile(
      skillFile,
      `---\nname: my-skill\ndescription: A test skill\n---\n# Instructions\nDo something.\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 #06e9b4f9fec03e93 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:53
    await fs.writeFile(path.join(notASkillDir, 'some-file.txt'), '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 production #b9375132f6e2f403 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:88
    await fs.writeFile(skillFile, '# No frontmatter here');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d3ccc51fff0cc31f Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:108
    await fs.writeFile(
      skillFile,
      `---
name: foo
description: Simple story generation assistant for fiction writing. Use for creating characters, scenes, storylines, and prose. Trigger words: character, scene, storyline, story, prose, fiction, writing.
---
# Instructions
Do something.
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eec98e6499f7c070 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:130
    await fs.writeFile(
      skillFile,
      `---
name: multi-colon
description: Use this for tasks like: coding, reviewing, testing. Keywords: async, await, promise.
---
# Instructions
Do something.
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e528624a03c731a3 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:153
    await fs.writeFile(
      skillFile,
      `---
name: quoted-skill
description: "A skill with colons: like this one: and another."
---
# Instructions
Do something.
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #972b7e1fefc89662 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:177
    await fs.writeFile(
      skillFile,
      `---
name: multiline-skill
description:
  Expertise in reviewing code for style, security, and performance. Use when the
  user asks for "feedback," a "review," or to "check" their changes.
---
# Instructions
Do something.
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ee858f42c2cc9120 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:202
    await fs.writeFile(
      skillFile,
      `---
name: 
description: 
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8af5b33b84caa4f3 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:222
    await fs.writeFile(
      skillFile,
      `---
  name: indented-name
  description: indented-desc
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cc2256774fbaf0e3 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:242
    await fs.writeFile(
      skillFile,
      `---
name:no-space-name
description:no-space-desc
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #363c3099575885ba Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:260
    await fs.writeFile(
      skillFile,
      `---
name: gke:prs-troubleshooter
description: Test sanitization
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #49007f8e74f1c20d Filesystem access.
repo/packages/core/src/skills/skillLoader.ts:168
    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 #c7c9f1c68a3ee03b Filesystem access.
repo/packages/core/src/skills/skillManager.test.ts:46
    await fs.writeFile(
      path.join(userDir, 'skill-a', 'SKILL.md'),
      `---
name: skill-user
description: user-desc
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7aaa93ff3bfb2a93 Filesystem access.
repo/packages/core/src/skills/skillManager.test.ts:54
    await fs.writeFile(
      path.join(projectDir, 'skill-b', 'SKILL.md'),
      `---
name: skill-project
description: project-desc
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d23837410967ec60 Filesystem access.
repo/packages/core/src/skills/skillManager.test.ts:109
    await fs.writeFile(
      path.join(userDir, 'skill', 'SKILL.md'),
      `---
name: same-name
description: user-desc
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a090dffae503ec4e Filesystem access.
repo/packages/core/src/skills/skillManager.test.ts:117
    await fs.writeFile(
      path.join(projectDir, 'skill', 'SKILL.md'),
      `---
name: same-name
description: project-desc
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f222b8174eebba56 Filesystem access.
repo/packages/core/src/skills/skillManager.test.ts:200
    await fs.writeFile(
      path.join(skillDir, 'SKILL.md'),
      `---
name: skill1
description: desc1
---
body1`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a1ed6f51627401b0 Filesystem access.
repo/packages/core/src/skills/skillManager.test.ts:234
    await fs.writeFile(
      path.join(projectDir, 'skill-project', 'SKILL.md'),
      `---
name: skill-project
description: project-desc
---
`,
    );

Reads environment variables or the filesystem — 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 #8f5c303c6bc715da Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.test.ts:221
      http.post(CLEARCUT_URL, () => HttpResponse.text(EXAMPLE_RESPONSE)),

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 #5f20edf0cec062e4 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.test.ts:913
      server.resetHandlers(http.post(CLEARCUT_URL, () => HttpResponse.error()));

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 #926bd0fad202e195 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.test.ts:932
        http.post(CLEARCUT_URL, () =>
          HttpResponse.json(
            { 'the system is down': true },
            {
              status: 500,
            },
          ),
        ),

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 #7de1e1b9187d6ca3 Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:186
  if (process.env['SURFACE']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #592146eb46f36fe6 Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:187
    return process.env['SURFACE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #00911099783ce91d Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:190
  } else if (process.env['GITHUB_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 production #e5164934ab52743c Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:192
  } else if (process.env['TERM_PROGRAM'] === 'vscode') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #21959975d0c53829 Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:203
  return process.env['GH_WORKFLOW_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 #70a45745cf57a786 Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:210
  return process.env['GITHUB_REPOSITORY'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1ecb43907fd7966 Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:217
  return process.env['GITHUB_EVENT_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 #48c630c01c9ef93d Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:224
  return process.env['GH_PR_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 #33c170eaeeefeabb Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:231
  return process.env['GH_ISSUE_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 #2cc4aee7477e0076 Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:238
  return process.env['GH_CUSTOM_TRACKING_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 egress production #f0959da8198cc652 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:557
      const response = await fetch(CLEARCUT_URL, {
        method: 'POST',
        body: safeJsonStringify(request),
        headers: {
          'Content-Type': 'application/json',
        },
      });

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 #5756ca240bbc9158 Environment-variable access.
repo/packages/core/src/telemetry/event-loop-monitor.ts:22
      process.env['GEMINI_EVENT_LOOP_MONITOR_ENABLED'] === '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 #64eab889564d1329 Environment-variable access.
repo/packages/core/src/telemetry/gcp-exporters.ts:61
          process.env['GEMINI_STRICT_TELEMETRY_LIMITS'] === '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 #3047fc1e9ad3d569 Environment-variable access.
repo/packages/core/src/telemetry/gcp-exporters.ts:124
          process.env['GEMINI_STRICT_TELEMETRY_LIMITS'] === '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 #7ee9de03ac0f37a8 Environment-variable access.
repo/packages/core/src/telemetry/metrics.ts:1135
      process.env['GEMINI_STRICT_TELEMETRY_LIMITS'] === '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 #be2d5ea77569c885 Environment-variable access.
repo/packages/core/src/telemetry/metrics.ts:1153
      process.env['GEMINI_STRICT_TELEMETRY_LIMITS'] === '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 #57237fe2afee3746 Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:156
    const originalEnv = process.env['OTLP_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 production #53d2d02bad38adf9 Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:157
    process.env['OTLP_GOOGLE_CLOUD_PROJECT'] = 'test-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 production #5efca7d892575e6f Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:168
        process.env['OTLP_GOOGLE_CLOUD_PROJECT'] = 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 production #beb2f77c5e9de90a Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:170
        delete process.env['OTLP_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 production #c971c2ad794eca4c Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:205
    const originalOtlpEnv = process.env['OTLP_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 production #c7633eac7d056a9f Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:206
    const originalGoogleEnv = 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 production #ecb9adc553f95f3b Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:207
    delete process.env['OTLP_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 production #d147c9c1be057b3f Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:208
    delete 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 production #4c80410dfc57a0bc Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:219
        process.env['OTLP_GOOGLE_CLOUD_PROJECT'] = originalOtlpEnv;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1fc254bee72e59ca Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:222
        process.env['GOOGLE_CLOUD_PROJECT'] = originalGoogleEnv;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e6a682fd3c368565 Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:235
    const originalOtlpEnv = process.env['OTLP_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 production #3bf50ff86a589ee3 Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:236
    const originalGoogleEnv = 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 production #c23ad4ce9074ff69 Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:237
    delete process.env['OTLP_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 production #8e70fef887062728 Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:238
    process.env['GOOGLE_CLOUD_PROJECT'] = 'fallback-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 production #4fba2d4a712bd429 Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:258
        process.env['OTLP_GOOGLE_CLOUD_PROJECT'] = originalOtlpEnv;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9f1eacdd8f2d263b Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:261
        process.env['GOOGLE_CLOUD_PROJECT'] = originalGoogleEnv;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2127a3fb65a9945a Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:263
        delete 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 production #55a818f81b0f36a2 Environment-variable access.
repo/packages/core/src/telemetry/sdk.ts:250
    process.env['OTLP_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 production #c70cbd3a861ae668 Environment-variable access.
repo/packages/core/src/telemetry/sdk.ts:251
    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 production #bb42cf3c012d5fda Environment-variable access.
repo/packages/core/src/telemetry/sdk.ts:356
    const monitorInterval = process.env['GEMINI_MEMORY_MONITOR_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.

low env_fs production #8e979c8bce38b65e Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:84
    await fsp.writeFile(
      path.join(tempRootDir, 'policies', 'new-policies.txt'),
      '[[rule]]\ntoolName = "run_shell_command"\ndecision = "allow"\n',
      '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 #b5619972bca72bef Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:160
    const updatedContent = await fsp.readFile(correctFilePath, '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 #674580d1cade1bd9 Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:194
    const createdContent = await fsp.readFile(correctFilePath, '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 #10df0e4a0c66e702 Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:230
    const createdContent = await fsp.readFile(correctFilePath, '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 #3a4b861506b3b871 Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:269
    const createdContent = await fsp.readFile(correctFilePath, '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 #a65b22e86cc4af1e Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:310
    const createdContent = await fsp.readFile(correctFilePath, '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 #f188caf1a6468299 Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:362
    const createdContent = await fsp.readFile(correctFilePath, '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 #d099680f6930c05a Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:455
    await fsp.writeFile(
      path.join(plansDir, 'plan-file.txt'),
      'plan content',
      '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 #1375dbaef4e17f8d Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:500
    const updatedContent = await fsp.readFile(correctFilePath, '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 #07d74afcd65cbb99 Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:533
    const createdContent = await fsp.readFile(correctFilePath, '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 #a5899015ef1e548a Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:571
    const createdContent = await fsp.readFile(correctFilePath, '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 #be413b2e3f0c0597 Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:611
    const createdContent = await fsp.readFile(correctFilePath, '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 #ebd0d0016a5d7612 Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:662
    const createdContent = await fsp.readFile(correctFilePath, '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 #d921c9e430eda87b Filesystem access.
repo/packages/core/src/tools/confirmation-policy.test.ts:59
            return fs.readFileSync(p, '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 #ebf65890d60bbb3c Filesystem access.
repo/packages/core/src/tools/confirmation-policy.test.ts:64
          fs.writeFileSync(p, 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 production #6b2c8ca76a4ca7b4 Filesystem access.
repo/packages/core/src/tools/confirmation-policy.test.ts:163
          fs.writeFileSync(fullPath, 'existing 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 #9e6eb249246d895f Filesystem access.
repo/packages/core/src/tools/edit.test.ts:772
      fs.writeFileSync(filePath, initialContent, '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 #62a013606e2cea1a Filesystem access.
repo/packages/core/src/tools/edit.test.ts:797
      expect(fs.readFileSync(filePath, 'utf8')).toBe(newContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #98f40c8a1779022e Filesystem access.
repo/packages/core/src/tools/edit.test.ts:805
      fs.writeFileSync(filePath, 'Some content.', '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 #3184655a0066acd8 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:830
      fs.writeFileSync(filePath, initialContent, '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 #19b1ce353f389918 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:856
      expect(fs.readFileSync(filePath, 'utf8')).toBe(finalContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0973d70393083774 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:863
      fs.writeFileSync(filePath, initialContent, '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 #58bc8fffa1dfc55c Filesystem access.
repo/packages/core/src/tools/edit.test.ts:874
      const finalContent = 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 #67ec17b21c656d8f Filesystem access.
repo/packages/core/src/tools/edit.test.ts:890
      const finalContent = 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 #c52c339ce0f59e86 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:896
      fs.writeFileSync(filePath, initialContent, '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 #aca999e3ed65a42a Filesystem access.
repo/packages/core/src/tools/edit.test.ts:926
      expect(fs.readFileSync(filePath, 'utf8')).toBe(initialContent); // File is unchanged

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #692cfe1625651e60 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:942
      fs.writeFileSync(filePath, initialContent, '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 #6c5a689dc434b388 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:999
        setup: (fp: string) => fs.writeFileSync(fp, 'existing content', '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 #f127710124a6d19e Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1005
        setup: (fp: string) => fs.writeFileSync(fp, 'content', '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 #580ba3388217287a Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1011
        setup: (fp: string) => fs.writeFileSync(fp, 'one one two', '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 #29dd57974f755f01 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1099
        fs.writeFileSync(filePath, content, '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 #58acb28112cb560b Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1115
            expect(fs.readFileSync(filePath, 'utf8')).toBe(finalContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cd1a4e02fab63541 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1142
      fs.writeFileSync(filePath, initialContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b8687ff430f72f38 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1234
        fs.writeFileSync(filePath, content, '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 #c5d0c465fd0ff6a5 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1272
        const finalContent = fs.readFileSync(file.path, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #51b2f73f6d821c3a Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1294
      fs.writeFileSync(filePath, 'Some content.', '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 #afcc930f1be823d3 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1317
      fs.writeFileSync(filePath, 'Some content.', '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 #54925e632201ab2d Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1337
      fs.writeFileSync(filePath, '{"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 production #70966f78329c8717 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1356
      fs.writeFileSync(filePath, '{"cells": []}', '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 #8d1e387608e03fe5 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1387
      fs.writeFileSync(filePath, initialContent, '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 #edd07437d665b862 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1418
      fs.writeFileSync(filePath, initialContent, '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 #0818149029e79095 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1455
      fs.writeFileSync(planFilePath, initialContent, '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 #5a042dbb5e98398b Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1472
      expect(fs.readFileSync(planFilePath, 'utf8')).toBe('some 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 production #94907cb67b9ae0bb Filesystem access.
repo/packages/core/src/tools/exit-plan-mode.test.ts:78
    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 production #4bd66ded8a23dfdb Filesystem access.
repo/packages/core/src/tools/exit-plan-mode.test.ts:498
      fs.writeFileSync(outsideFile, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4f8ca2c1c447a0cd Filesystem access.
repo/packages/core/src/tools/get-internal-docs.test.ts:45
    const expectedContent = await fs.readFile(expectedDocsPath, '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 #58e8d230f9b98630 Filesystem access.
repo/packages/core/src/tools/get-internal-docs.ts:131
      const content = await fs.readFile(resolvedPath, '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 #625dd46f0906acb0 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:44
    await fs.writeFile(path.join(tempRootDir, '.git'), ''); // Fake git 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 production #36132c597ae5de60 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:85
    await fs.writeFile(path.join(tempRootDir, 'fileA.txt'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a40d9233e5b1496d Filesystem access.
repo/packages/core/src/tools/glob.test.ts:86
    await fs.writeFile(path.join(tempRootDir, 'FileB.TXT'), 'contentB'); // Different case for testing

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8e6d4404332fb6e6 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:90
    await fs.writeFile(path.join(tempRootDir, 'sub', 'fileC.md'), 'contentC');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #217afbff6bc230ca Filesystem access.
repo/packages/core/src/tools/glob.test.ts:91
    await fs.writeFile(path.join(tempRootDir, 'sub', 'FileD.MD'), 'contentD'); // Different case

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c22e10385fc18b9d Filesystem access.
repo/packages/core/src/tools/glob.test.ts:95
    await fs.writeFile(
      path.join(tempRootDir, 'sub', 'deep', 'fileE.log'),
      'contentE',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a931cffe146aabd2 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:101
    await fs.writeFile(path.join(tempRootDir, 'older.sortme'), 'older_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 #fb8671c24cc63046 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:104
    await fs.writeFile(path.join(tempRootDir, 'newer.sortme'), 'newer_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 #ff7294b65ade2fff Filesystem access.
repo/packages/core/src/tools/glob.test.ts:204
      await fs.writeFile(path.join(tempRootDir, 'file[1].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 production #f6b9b2eab6667c28 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:220
      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 #6eca60dc8b339d4e Filesystem access.
repo/packages/core/src/tools/glob.test.ts:333
      await fs.writeFile(path.join(tempRootDir, 'not-a-dir'), '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 #62645876424f9baf Filesystem access.
repo/packages/core/src/tools/glob.test.ts:380
      await fs.writeFile(
        path.join(tempRootDir, '.gitignore'),
        'ignored_test.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 production #3bcdb5bb2bb626f8 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:384
      await fs.writeFile(path.join(tempRootDir, 'ignored_test.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 production #058af6b1ac93e35a Filesystem access.
repo/packages/core/src/tools/glob.test.ts:385
      await fs.writeFile(path.join(tempRootDir, 'visible_test.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 production #3e3d9405576d820b Filesystem access.
repo/packages/core/src/tools/glob.test.ts:397
      await fs.writeFile(
        path.join(tempRootDir, GEMINI_IGNORE_FILE_NAME),
        'gemini-ignored_test.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 production #3cfdf9893c25e5a0 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:401
      await fs.writeFile(
        path.join(tempRootDir, 'gemini-ignored_test.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 production #19c316a98cde6613 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:405
      await fs.writeFile(path.join(tempRootDir, 'visible_test.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 production #6357838bf69e3be4 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:417
      await fs.writeFile(
        path.join(tempRootDir, '.gitignore'),
        'ignored_test.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 production #816f8728a298b5a4 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:421
      await fs.writeFile(path.join(tempRootDir, 'ignored_test.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 production #3c54d4388961b254 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:435
      await fs.writeFile(
        path.join(tempRootDir, GEMINI_IGNORE_FILE_NAME),
        'gemini-ignored_test.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 production #40c3c53825c45142 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:439
      await fs.writeFile(
        path.join(tempRootDir, 'gemini-ignored_test.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 production #8850d4d7bbb3058e Filesystem access.
repo/packages/core/src/tools/grep-utils.ts:53
    const content = await fsPromises.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 #f69a7596c652e5f1 Filesystem access.
repo/packages/core/src/tools/grep.test.ts:89
    await fs.writeFile(
      path.join(tempRootDir, 'fileA.txt'),
      'hello world\nsecond line with 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 #9f207907f9c0929b Filesystem access.
repo/packages/core/src/tools/grep.test.ts:93
    await fs.writeFile(
      path.join(tempRootDir, 'fileB.js'),
      'const foo = "bar";\nfunction baz() { return "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 production #6e4c24480e4019d2 Filesystem access.
repo/packages/core/src/tools/grep.test.ts:98
    await fs.writeFile(
      path.join(tempRootDir, 'sub', 'fileC.txt'),
      'another world in sub dir',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9d2fb8730209be7f Filesystem access.
repo/packages/core/src/tools/grep.test.ts:102
    await fs.writeFile(
      path.join(tempRootDir, 'sub', 'fileD.md'),
      '# Markdown file\nThis is a 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 #54f336fea622e075 Filesystem access.
repo/packages/core/src/tools/grep.test.ts:196
      await fs.writeFile(path.join(tempRootDir, '..env'), 'world in ..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 #fde5e753731c888a Filesystem access.
repo/packages/core/src/tools/grep.test.ts:258
      await fs.writeFile(
        path.join(tempRootDir, 'sub', 'another.js'),
        '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 production #a4c2ef128608ae9a Filesystem access.
repo/packages/core/src/tools/grep.test.ts:368
      await fs.writeFile(
        path.join(secondDir, 'other.txt'),
        'hello from second directory\nworld in second',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5fececa9a27aa5bc Filesystem access.
repo/packages/core/src/tools/grep.test.ts:372
      await fs.writeFile(
        path.join(secondDir, 'another.js'),
        'function world() { return "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 #254cc0909401ffee Filesystem access.
repo/packages/core/src/tools/grep.test.ts:456
      await fs.writeFile(
        path.join(secondDir, 'sub', 'test.txt'),
        'hello from second sub 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 #7f86070b65c3bb6c Filesystem access.
repo/packages/core/src/tools/grep.test.ts:585
      await fs.writeFile(
        path.join(tempRootDir, 'copyright.txt'),
        'Copyright 2025 Google LLC\nCopyright 2026 Google LLC',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5d607543083f1e03 Filesystem access.
repo/packages/core/src/tools/grep.test.ts:609
      await fs.writeFile(
        path.join(tempRootDir, 'context.txt'),
        lines.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 #b7ba2e1079626f99 Filesystem access.
repo/packages/core/src/tools/grep.test.ts:631
      await fs.writeFile(
        path.join(tempRootDir, 'longline.txt'),
        `Target match ${longString}`,
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d13445d1b31260c2 Filesystem access.
repo/packages/core/src/tools/grep.ts:600
          const content = await fsPromises.readFile(fileAbsolutePath, '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 #3b507517f421976d Filesystem access.
repo/packages/core/src/tools/line-endings.test.ts:172
      fs.writeFileSync(filePath, originalContent); // Write with CRLF (or however Node writes binary buffer)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3e7982a5a7fbfe7f Filesystem access.
repo/packages/core/src/tools/line-endings.test.ts:174
      fs.writeFileSync(filePath, Buffer.from('line1\r\nline2\r\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 #59400ddbcac301d6 Filesystem access.
repo/packages/core/src/tools/line-endings.test.ts:197
      const writtenContent = 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 #44f42cbea34fd8b9 Filesystem access.
repo/packages/core/src/tools/line-endings.test.ts:222
      const writtenContent = 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 #82b67f8edda4160b Filesystem access.
repo/packages/core/src/tools/line-endings.test.ts:245
      fs.writeFileSync(filePath, Buffer.from(originalContent));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7f8bc46d1619d082 Filesystem access.
repo/packages/core/src/tools/line-endings.test.ts:270
      const writtenContent = 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 #cae53eb449fa0201 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:122
      await fs.writeFile(path.join(tempRootDir, 'file1.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bbb77d9c1e0626a7 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:124
      await fs.writeFile(
        path.join(tempSecondaryDir, 'secondary-file.txt'),
        'secondary',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #283e3c9573c9d8cd Filesystem access.
repo/packages/core/src/tools/ls.test.ts:141
      await fs.writeFile(path.join(tempRootDir, 'file1.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #87b1c223afeaca44 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:143
      await fs.writeFile(
        path.join(tempSecondaryDir, 'secondary-file.txt'),
        'secondary',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c23056cc216fc7a7 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:169
      await fs.writeFile(path.join(tempRootDir, 'file1.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8410646837dba200 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:170
      await fs.writeFile(path.join(tempRootDir, 'file2.log'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3860db1592394cfb Filesystem access.
repo/packages/core/src/tools/ls.test.ts:187
      await fs.writeFile(path.join(tempRootDir, 'file1.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6de4c6b1abb3a31d Filesystem access.
repo/packages/core/src/tools/ls.test.ts:188
      await fs.writeFile(path.join(tempRootDir, 'file2.log'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eea36b8b58abe251 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:189
      await fs.writeFile(path.join(tempRootDir, '.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 production #29ae50eee48cf0a9 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:190
      await fs.writeFile(path.join(tempRootDir, '.gitignore'), '*.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 #fe58cd61d17d3954 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:203
      await fs.writeFile(path.join(tempRootDir, 'file1.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #593c63c4707070f9 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:204
      await fs.writeFile(path.join(tempRootDir, 'file2.log'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5e01b8f7839fcfb8 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:205
      await fs.writeFile(
        path.join(tempRootDir, GEMINI_IGNORE_FILE_NAME),
        '*.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 #cdfccd0371fe5036 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:221
      await fs.writeFile(testPath, 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #936226ff18d8620b Filesystem access.
repo/packages/core/src/tools/ls.test.ts:242
      await fs.writeFile(path.join(tempRootDir, 'a-file.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #400786a8254d4fe2 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:243
      await fs.writeFile(path.join(tempRootDir, 'b-file.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #10f173c53c3354ad Filesystem access.
repo/packages/core/src/tools/ls.test.ts:282
      await fs.writeFile(path.join(tempRootDir, 'file1.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d311299d69ba764c Filesystem access.
repo/packages/core/src/tools/ls.test.ts:284
      await fs.writeFile(problematicFile, 'content2');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #27bd056398414be7 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:357
      await fs.writeFile(
        path.join(tempSecondaryDir, 'secondary-file.txt'),
        'secondary',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3abf6653951ad190 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:378
      await fs.writeFile(path.join(tempRootDir, 'jit-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 production #ed42fe641b6750f5 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:392
      await fs.writeFile(
        path.join(tempRootDir, 'jit-disabled-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 egress production #82069ca279cf5585 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2242
          _url: new URL('http://test-server'),

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 #5e3cf061ea7f444c Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2260
          _url: new URL('http://test-server'),

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 #dfc9402b501d8bf7 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2280
          _url: new URL('http://test-server'),

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 #0cb2ef286cd27fc2 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2298
          _url: new URL('http://test-server'),

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 #8a4007f0f1d6e959 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2315
          _url: new URL('http://test-server'),

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 #69f8f284cb57afd4 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2334
          _url: new URL('http://test-server'),

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 #5abcc085610c7318 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2355
          _url: new URL('http://test-server'),

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 #b974b14d1f246b83 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2376
          _url: new URL('http://test-server-http'),

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 #b6ba16ab260bd710 Environment-variable access.
repo/packages/core/src/tools/mcp-client.ts:2192
  const noProxy = process.env['NO_PROXY'] || process.env['no_proxy'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a4973ef971dd6be8 Filesystem access.
repo/packages/core/src/tools/modifiable-tool.test.ts:82
      await fsp.writeFile(newPath, modifiedContent, '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 #384af5603ddbaa64 Filesystem access.
repo/packages/core/src/tools/modifiable-tool.test.ts:168
        await fsp.writeFile(newPath, modifiedContent, '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 #5e1012e46726451c Filesystem access.
repo/packages/core/src/tools/modifiable-tool.test.ts:187
      await fsp.writeFile(newPath, modifiedContent, '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 #865d3f5bd418bb7f Filesystem access.
repo/packages/core/src/tools/modifiable-tool.ts:93
  fs.writeFileSync(tempOldPath, currentContent, {
    encoding: 'utf8',
    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 production #543a5bbe6dc919f7 Filesystem access.
repo/packages/core/src/tools/modifiable-tool.ts:97
  fs.writeFileSync(tempNewPath, proposedContent, {
    encoding: 'utf8',
    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 production #93068f7ae5580f23 Filesystem access.
repo/packages/core/src/tools/modifiable-tool.ts:115
    oldContent = fs.readFileSync(tmpOldPath, '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 #e0aa7345c47318de Filesystem access.
repo/packages/core/src/tools/modifiable-tool.ts:122
    newContent = fs.readFileSync(tempNewPath, '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 #fe8aaf4b17c76e84 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:238
      await fsp.writeFile(filePath, fileContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #53afa7331e6969d7 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:276
      await fsp.writeFile(filePath, fileContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c1a5d2a61a72c4fb Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:316
      await fsp.writeFile(filePath, largeContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ef30e8ed2250efc3 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:332
      await fsp.writeFile(filePath, fileContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0696002923abbcbd Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:350
      await fsp.writeFile(imagePath, pngHeader);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3de405cd69e705e6 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:368
      await fsp.writeFile(pdfPath, pdfHeader);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8f2c2f6ff41b0073 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:386
      await fsp.writeFile(binPath, binaryData);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c9122830417d0722 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:400
      await fsp.writeFile(svgPath, svgContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4ba164869901fcb9 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:413
      await fsp.writeFile(svgPath, largeContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #90f885bcc8f1f628 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:428
      await fsp.writeFile(emptyPath, '', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e404bc769b0f01d1 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:441
      await fsp.writeFile(filePath, fileContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #134262a09765282d Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:470
      await fsp.writeFile(tempFilePath, tempFileContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8aada13e7ddf10ef Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:482
        await fsp.writeFile(
          path.join(tempRootDir, GEMINI_IGNORE_FILE_NAME),
          ['foo.*', 'ignored/'].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 #ecec82b9c626626f Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:525
        await fsp.writeFile(ignoredFilePath, '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 #04a6e11e3e0005a9 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:537
        await fsp.writeFile(ignoredFilePath, '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 #31d5b424d9270198 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:547
        await fsp.writeFile(allowedFilePath, '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 #392461da8821b8b3 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:557
        await fsp.writeFile(ignoredFilePath, '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 #3f087659d5215fbf Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:642
      await fsp.writeFile(filePath, fileContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf2c4327409f6404 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:658
      await fsp.writeFile(filePath, fileContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #22eb7c3936736832 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:684
      await fsp.writeFile(filePath, pngHeader);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e24cb1b95aad40c8 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:92
    fs.writeFileSync(path.join(tempRootDir, GEMINI_IGNORE_FILE_NAME), 'foo.*');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2f3d746aa32385c4 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:150
          return originalFs.promises.readFile(fp, options);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2187bdd71a3b7481 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:263
      fs.writeFileSync(fullPath, 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 #0d81f5d9dce90cf4 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:268
      fs.writeFileSync(fullPath, 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 production #cded557dd1746ce9 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:606
      fs.writeFileSync(path.join(tempDir1, 'file1.txt'), 'Content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5ec633ab93f77e2a Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:607
      fs.writeFileSync(path.join(tempDir2, 'file2.txt'), 'Content2');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #77b34e756877b11e Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:752
      fs.writeFileSync(fullPath, 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 #63b4b351011e07b9 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:876
      fs.writeFileSync(
        path.join(tempRootDir, 'jit-test.ts'),
        'const x = 1;',
        '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 #ff9bd6c9aa649b75 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:899
      fs.writeFileSync(
        path.join(tempRootDir, 'jit-disabled-test.ts'),
        'const y = 2;',
        '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 #816b41496745e594 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:938
      fs.writeFileSync(
        path.join(tempRootDir, 'subA', 'a.ts'),
        'const a = 1;',
        '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 #9970fc5c541e053a Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:943
      fs.writeFileSync(
        path.join(tempRootDir, 'subB', 'b.ts'),
        'const b = 2;',
        '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 #e6db6cba9de8a46d Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:171
    await fs.writeFile(
      path.join(tempRootDir, 'fileA.txt'),
      'hello world\nsecond line with 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 #8f5618bc42448f43 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:175
    await fs.writeFile(
      path.join(tempRootDir, 'fileB.js'),
      'const foo = "bar";\nfunction baz() { return "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 production #23d1e5f0b2ceff77 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:180
    await fs.writeFile(
      path.join(tempRootDir, 'sub', 'fileC.txt'),
      'another world in sub dir',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f1611b708750a10f Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:184
    await fs.writeFile(
      path.join(tempRootDir, 'sub', 'fileD.md'),
      '# Markdown file\nThis is a 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 #da69c0650f62821c Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:407
      await fs.writeFile(
        path.join(tempRootDir, 'sub', 'another.js'),
        '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 production #7c418b79c6da61cf Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:561
      await fs.writeFile(
        path.join(tempRootDir, GEMINI_IGNORE_FILE_NAME),
        'ignored.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 production #4001c85112cf3235 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:707
      await fs.writeFile(
        path.join(secondDir, 'other.txt'),
        'hello from second directory\nworld in second',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7ecd2d64a0c1cf21 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:711
      await fs.writeFile(
        path.join(secondDir, 'another.js'),
        'function world() { return "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 #648eb8d2086600cd Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:792
      await fs.writeFile(
        path.join(secondDir, 'sub', 'test.txt'),
        'hello from second sub 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 #a24a3a48a735c85e Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:900
          await fs.writeFile(path.join(tempRootDir, 'empty.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 production #4f322e78e5e3ca81 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:916
      await fs.writeFile(
        path.join(tempRootDir, specialFileName),
        'hello world with special chars',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0d46289573ac4ece Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:947
      await fs.writeFile(
        path.join(deepPath, 'deep.txt'),
        'content in deep 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 #a01cb6cfe4f62347 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:978
      await fs.writeFile(
        path.join(tempRootDir, 'code.js'),
        'function getName() { return "test"; }\nconst getValue = () => "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 #44475732e417cece Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1010
      await fs.writeFile(
        path.join(tempRootDir, 'case.txt'),
        'Hello World\nhello world\nHELLO 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 #1c34c8e419c64f69 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1059
      await fs.writeFile(
        path.join(tempRootDir, 'special.txt'),
        'Price: $19.99\nRegex: [a-z]+ pattern\nEmail: [email protected]',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a751aac42b903772 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1093
      await fs.writeFile(
        path.join(tempRootDir, 'test.ts'),
        'typescript 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 #e16f435605f9ec40 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1097
      await fs.writeFile(path.join(tempRootDir, 'test.tsx'), 'tsx 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 #ab8bd5fcb3c1b6ba Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1098
      await fs.writeFile(
        path.join(tempRootDir, 'test.js'),
        'javascript 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 #747b56a62ae6016f Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1102
      await fs.writeFile(path.join(tempRootDir, 'test.txt'), 'text 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 #b0109711197a7b55 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1144
      await fs.writeFile(
        path.join(tempRootDir, 'src', 'main.ts'),
        'source 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 #8c81eea3c00fcecb Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1148
      await fs.writeFile(path.join(tempRootDir, 'other.ts'), 'other 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 #4828d79f7c78bc1f Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1357
      await fs.writeFile(geminiIgnorePath, 'ignored.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 #4f05b7538cc7f07b Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1403
      await fs.writeFile(geminiIgnorePath, 'ignored.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 #0f2c6d4b6fbb92e6 Environment-variable access.
repo/packages/core/src/tools/shell.test.ts:90
const originalComSpec = 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 production #687102734cd76ee0 Environment-variable access.
repo/packages/core/src/tools/shell.test.ts:204
    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 production #40b94dacce3179d4 Environment-variable access.
repo/packages/core/src/tools/shell.test.ts:250
      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 production #e425e3de32bce297 Environment-variable access.
repo/packages/core/src/tools/shell.test.ts:252
      process.env['ComSpec'] = originalComSpec;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2f43891453d2f50c Filesystem access.
repo/packages/core/src/tools/shell.test.ts:317
      fs.writeFileSync(extractedTmpFile, `54321${os.EOL}54322${os.EOL}`);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7b9c3cb7a5e6104 Filesystem access.
repo/packages/core/src/tools/shell.test.ts:352
      fs.writeFileSync(extractedTmpFile, `67890${os.EOL}`);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a32a567fed9a90db Filesystem access.
repo/packages/core/src/tools/shell.test.ts:353
      expect(fs.readFileSync(extractedTmpFile, 'utf8').trim()).toBe('67890');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #44fd98fcbebfd973 Filesystem access.
repo/packages/core/src/tools/shell.test.ts:660
          fs.writeFileSync(extractedTmpFile, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #58fddb3a511db5ed Environment-variable access.
repo/packages/core/src/tools/shell.ts:209
      const systemRoot = process.env['SystemRoot'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b4ab22a570a50e0c Environment-variable access.
repo/packages/core/src/tools/shell.ts:214
      const programFiles = process.env['ProgramFiles'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #230202dccaffb580 Environment-variable access.
repo/packages/core/src/tools/shell.ts:216
      const programFilesX86 = process.env['ProgramFiles(x86)'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #45ab0155c0cb79ff Filesystem access.
repo/packages/core/src/tools/shell.ts:741
          const backgroundPIDContent = await fsPromises.readFile(
            tempFilePath,
            '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 #49096c81091b49b4 Filesystem access.
repo/packages/core/src/tools/shellBackgroundTools.integration.test.ts:54
    fs.writeFileSync(
      scriptPath,
      "setInterval(() => console.log('Log line'), 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 production #d74a3473fb8f1bd9 Filesystem access.
repo/packages/core/src/tools/shellBackgroundTools.test.ts:152
    fs.writeFileSync(logPath, 'line 1\nline 2\nline 3\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 #a6016ab0e4558381 Filesystem access.
repo/packages/core/src/tools/shellBackgroundTools.test.ts:211
    fs.writeFileSync(logPath, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #33532fb015976c56 Filesystem access.
repo/packages/core/src/tools/shellBackgroundTools.test.ts:243
    fs.writeFileSync(logPath, 'dummy content');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0115192125c3b04b Filesystem access.
repo/packages/core/src/tools/shellBackgroundTools.test.ts:281
    fs.writeFileSync(logPath, 'dummy content');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9864fce6127b33c9 Filesystem access.
repo/packages/core/src/tools/shellBackgroundTools.test.ts:320
    fs.writeFileSync(logPath, 'line1\nline2\nline3\nline4\nline5');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #755e79f887f3cbe1 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:406
      fs.writeFileSync(filePath, originalContent, '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 #d858347058d76ec2 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:468
      fs.writeFileSync(filePath, 'content', { mode: 0o000 });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c1e130d26fbb544c Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:503
      fs.writeFileSync(filePath, 'original', { mode: 0o000 });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fe6bd2ff29710785 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:557
      fs.writeFileSync(filePath, originalContent, '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 #78973b4bbdc31f24 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:738
      fs.writeFileSync(filePath, 'original', { mode: 0o000 });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #40ddcae88300c053 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:807
      fs.writeFileSync(filePath, initialContent, '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 #12346db0f0fed35c Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:854
      expect(fs.readFileSync(filePath, 'utf8')).toBe(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 #18e5583c5e4fe0e7 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:914
      fs.writeFileSync(filePath, originalContent, '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 #9774516f7c9faccd Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:1104
      fs.writeFileSync(filePath, originalContent, '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 #5ca3c6b2bb8efe89 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:1186
      expect(fs.readFileSync(expectedWritePath, 'utf8')).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 production #0f8658a0caeff782 Filesystem access.
repo/packages/core/src/utils/bfsFileSearch.test.ts:27
    await fsPromises.writeFile(fullPath, 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 #3d7f8e3f50b50c90 Filesystem access.
repo/packages/core/src/utils/bfsFileSearch.test.ts:250
    await fsPromises.writeFile(fullPath, 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 #b3a91b9f5aaff1b2 Environment-variable access.
repo/packages/core/src/utils/browser.ts:18
  const browserEnv = process.env['BROWSER'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #30c33552024c877f Environment-variable access.
repo/packages/core/src/utils/browser.ts:24
    process.env['CI'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a7c1fa7d4e438ec1 Environment-variable access.
repo/packages/core/src/utils/browser.ts:25
    process.env['DEBIAN_FRONTEND'] === 'noninteractive'

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c553f5d1432c28fb Environment-variable access.
repo/packages/core/src/utils/browser.ts:33
  const isSSH = !!process.env['SSH_CONNECTION'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d17987abc1e870a3 Environment-variable access.
repo/packages/core/src/utils/browser.ts:40
    const hasDisplay = displayVariables.some((v) => !!process.env[v]);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e909085f29f65496 Filesystem access.
repo/packages/core/src/utils/browserConsent.ts:86
    await fs.writeFile(
      consentFilePath,
      `Browser privacy consent acknowledged at ${new Date().toISOString()}\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 #2cfe7ffd0a16a0b2 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:40
  return !!process.env['TMUX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #27fed28a71e1e5d6 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:47
  return !!process.env['STY'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a872b944c3823427 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:54
  const term = process.env['TERM'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #49bed8a2946ae43e Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:55
  return isTmux() && term.startsWith('screen') && !process.env['COLORTERM'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #daacb90b7d0019f4 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:62
  const term = process.env['TERM'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3708042f8f0d964b Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:70
  return process.env['TERM_PROGRAM'] === 'Apple_Terminal';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3bdd60281daf3c65 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:83
  const term = process.env['TERM'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c6dc321802119a38 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:102
    process.env['COLORTERM'] === 'truecolor' ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2813cc8062b864b2 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:103
    process.env['COLORTERM'] === '24bit' ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #15f828c7cdad932e Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:104
    process.env['COLORTERM'] === 'kmscon'

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #93706bf702110e87 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:173
    const term = process.env['TERM'] || 'dumb';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74d9268160474f92 Environment-variable access.
repo/packages/core/src/utils/debugLogger.ts:27
    this.logStream = process.env['GEMINI_DEBUG_LOG_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 #c1b8f21386b3649b Environment-variable access.
repo/packages/core/src/utils/debugLogger.ts:28
      ? fs.createWriteStream(process.env['GEMINI_DEBUG_LOG_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 #5a6aa4f61b17fd68 Environment-variable access.
repo/packages/core/src/utils/editor.ts:263
  const notUsingSandbox = !process.env['SANDBOX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #458010c6dd617ad9 Filesystem access.
repo/packages/core/src/utils/errorReporting.test.ts:52
    const reportContent = await fs.readFile(expectedReportPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b6488b5a1ab70bb8 Filesystem access.
repo/packages/core/src/utils/errorReporting.test.ts:75
    const reportContent = await fs.readFile(expectedReportPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3f4cb9a0da62348e Filesystem access.
repo/packages/core/src/utils/errorReporting.test.ts:96
    const reportContent = await fs.readFile(expectedReportPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #400eecc6b79c0c86 Filesystem access.
repo/packages/core/src/utils/errorReporting.test.ts:171
    const reportContent = await fs.readFile(expectedMinimalReportPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b56f6b33223b96bf Filesystem access.
repo/packages/core/src/utils/errorReporting.test.ts:192
    const reportContent = await fs.readFile(expectedReportPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ba696895750a7855 Filesystem access.
repo/packages/core/src/utils/errorReporting.ts:81
      await fs.writeFile(reportPath, stringifiedReportContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4140236aba88f315 Filesystem access.
repo/packages/core/src/utils/errorReporting.ts:96
    await fs.writeFile(reportPath, stringifiedReportContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #edd1fc4fec80543b Environment-variable access.
repo/packages/core/src/utils/fetch.ts:177
    process.env['NO_PROXY'] ??

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0d498067811e1217 Environment-variable access.
repo/packages/core/src/utils/fetch.ts:178
    process.env['no_proxy'] ??

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #83cf63e16cb05ec0 Environment-variable access.
repo/packages/core/src/utils/fetch.ts:236
    process.env['NO_PROXY'] ??

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #55ac482ee952d4c5 Environment-variable access.
repo/packages/core/src/utils/fetch.ts:237
    process.env['no_proxy'] ??

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7823db52b9537107 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:100
        await fsPromises.readFile(wasmFixturePath),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d4d91c1401f371ca Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:183
      actualNodeFs.writeFileSync(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 production #e3937981229d7810 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:195
      actualNodeFs.writeFileSync(targetFile, '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 #e8deb5edc42ea466 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:205
      actualNodeFs.writeFileSync(testFile, 'some 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 #c77f756f6f47302c Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:211
      actualNodeFs.writeFileSync(testFile, '   ');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #11fcb451a1d00e16 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:224
      actualNodeFs.writeFileSync(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 production #2c7a77eb04774820 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:254
      actualNodeFs.writeFileSync(filePathForBinaryTest, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74107797eff9a584 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:259
      actualNodeFs.writeFileSync(
        filePathForBinaryTest,
        'Hello, world!\nThis is a test file with normal text 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 #8b1ac2c674f54443 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:270
      actualNodeFs.writeFileSync(filePathForBinaryTest, binaryContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0a21bd8b83503aba Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:278
      actualNodeFs.writeFileSync(filePathForBinaryTest, binaryContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3643c224c6fb7e73 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:293
      actualNodeFs.writeFileSync(filePathForBinaryTest, content, '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 #d114176fd23a41f7 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:299
      actualNodeFs.writeFileSync(filePathForBinaryTest, content, '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 #4c29ca9b033b72fe Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:305
      actualNodeFs.writeFileSync(filePathForBinaryTest, binaryContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a4a6fbaf8957c319 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:392
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f0baf2c0eb52060f Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:405
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d3466b025d7e6610 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:435
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0ab327b570ec7ad8 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:460
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b842c8328cc319e5 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:485
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #783ba31c243ea667 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:494
        await fsPromises.writeFile(filePath, content, '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 #1cc5b7b60819377d Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:502
        await fsPromises.writeFile(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 #e92e13a2c7a6f214 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:517
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8088e0a0345c3b9d Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:530
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e33099af308b33a2 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:570
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b86a65ff8864fadc Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:603
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1054ba964e800409 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:636
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7554215c3cef0f2b Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:652
        await fsPromises.writeFile(filePath, fullContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c43dc34eaeaf47b0 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:663
        await fsPromises.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 #8964195c13b00f05 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:677
      actualNodeFs.writeFileSync(filePathForDetectTest, 'Plain text 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 #3a6d9489ee4982e9 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:720
        actualNodeFs.writeFileSync(filePath, binaryContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1bd737709e567e5d Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:731
      actualNodeFs.writeFileSync(
        filePath,
        Buffer.from([0x66, 0x4c, 0x61, 0x43, 0x00, 0x00, 0x00, 0x22]),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ee580f9efe55bcbd Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:753
      actualNodeFs.writeFileSync(filePathForDetectTest, binaryContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #41b3c9b6a21bd994 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:773
      actualNodeFs.writeFileSync(adpFilePath, xmlContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #26f0e872832db680 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:801
      actualNodeFs.writeFileSync(testTextFilePath, 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 #1edd9ad45abb17be Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:823
      actualNodeFs.writeFileSync(testTextFilePath, 'content'); // File must exist for initial statSync

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #998131eb24161523 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:837
      actualNodeFs.writeFileSync(testImageFilePath, 'content'); // File must exist

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7807f87fc7509e46 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:853
      actualNodeFs.writeFileSync(testImageFilePath, fakePngData);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #079f420528fc2efc Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:875
      actualNodeFs.writeFileSync(testPdfFilePath, fakePdfData);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #047d1a17bfde9df6 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:900
      actualNodeFs.writeFileSync(testAudioFilePath, fakeMp3Data);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #195fc8a3464c6fc0 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:925
      actualNodeFs.writeFileSync(wavFilePath, fakeWavData);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ffc912d5625843ac Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:942
      actualNodeFs.writeFileSync(
        unsupportedAudioPath,
        Buffer.from([0x00, 0x01, 0x02, 0x03]),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1d4cbc5728a3a0b9 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:964
      actualNodeFs.writeFileSync(testVideoFilePath, fakeMp4Data);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5d8dfaae74845fd6 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:991
      actualNodeFs.writeFileSync(testSvgFilePath, svgContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b4f3163e51c2c498 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1006
      actualNodeFs.writeFileSync(
        testBinaryFilePath,
        Buffer.from([0x00, 0x01, 0x02]),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #576cfce291bca810 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1036
      actualNodeFs.writeFileSync(testTextFilePath, lines.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 #f7c563bff74f910a Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1056
      actualNodeFs.writeFileSync(testTextFilePath, lines.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 #3ea44d42ed87fa59 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1077
      actualNodeFs.writeFileSync(testTextFilePath, lines.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 #94c607c450438585 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1097
      actualNodeFs.writeFileSync(
        testTextFilePath,
        `Short line\n${longLine}\nAnother short line`,
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ac57c9ce8e2e1e7e Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1121
      actualNodeFs.writeFileSync(testTextFilePath, lines.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 #6acdd132424ec19c Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1141
      actualNodeFs.writeFileSync(testTextFilePath, lines.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 #1a28cf5bb0ab5af3 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1164
      actualNodeFs.writeFileSync(
        testTextFilePath,
        linesWithLongInMiddle.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 #ffd4ee374d948399 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1185
      actualNodeFs.writeFileSync(testTextFilePath, '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 production #46bb0f07cf2146a1 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1231
      const savedContent = await fsPromises.readFile(
        expectedOutputFile,
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #327d0b801a633ee1 Filesystem access.
repo/packages/core/src/utils/fileUtils.ts:31
  const buffer = await fsPromises.readFile(resolvedPath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a530eafa466a3440 Filesystem access.
repo/packages/core/src/utils/fileUtils.ts:168
  const full = await fs.promises.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 #b4f1791440e37f5e Filesystem access.
repo/packages/core/src/utils/fileUtils.ts:587
        const contentBuffer = await fs.promises.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 #e48507af977ea15d Filesystem access.
repo/packages/core/src/utils/fileUtils.ts:604
        const contentBuffer = await fs.promises.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 #9ac288c6e4cdff9a Filesystem access.
repo/packages/core/src/utils/fileUtils.ts:709
  await fsPromises.writeFile(outputFile, 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 #17505da8a6a9306a Filesystem access.
repo/packages/core/src/utils/filesearch/crawler.test.ts:410
      await fs.writeFile(path.join(tmpDir, '.gitignore'), 'b.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 production #de178781c15533af Filesystem access.
repo/packages/core/src/utils/filesearch/fileSearch.test.ts:205
    await fs.writeFile(filePath, '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 production #5b7f16b2a25c3d02 Filesystem access.
repo/packages/core/src/utils/filesearch/fileWatcher.test.ts:54
    await fs.writeFile(filePath, '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 production #bd0628a89826578c Filesystem access.
repo/packages/core/src/utils/filesearch/fileWatcher.test.ts:87
    await fs.writeFile(path.join(tmpDir, 'ignored.txt'), 'x');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ac579bebf1b3a84f Filesystem access.
repo/packages/core/src/utils/filesearch/fileWatcher.test.ts:88
    await fs.writeFile(path.join(tmpDir, 'kept.txt'), 'x');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a6a35cc9e2e900b8 Filesystem access.
repo/packages/core/src/utils/filesearch/fileWatcher.test.ts:146
    await fs.writeFile(path.join(tmpDir, 'nested', 'file.txt'), '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 production #742b8c5b01619543 Filesystem access.
repo/packages/core/src/utils/filesearch/fileWatcher.test.ts:179
    await fs.writeFile(beforeStopFile, 'x');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f66ce4b766ffc2e0 Filesystem access.
repo/packages/core/src/utils/filesearch/fileWatcher.test.ts:189
    await fs.writeFile(path.join(tmpDir, 'after-stop.txt'), 'x');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9f40d1817cb63ac1 Filesystem access.
repo/packages/core/src/utils/filesearch/fileWatcher.test.ts:208
    await fs.writeFile(path.join(tmpDir, 'idempotent.txt'), 'x');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c9067b292e6826b0 Filesystem access.
repo/packages/core/src/utils/filesearch/ignore.ts:26
      ignorer.add(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 #ab2857ddc75ee4bd Filesystem access.
repo/packages/core/src/utils/getFolderStructure.test.ts:27
    await fsPromises.writeFile(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 #35456536fc765d45 Filesystem access.
repo/packages/core/src/utils/getFolderStructure.test.ts:252
      await fsPromises.writeFile(
        path.join(testRootDir, '.gitignore'),
        'ignored.txt\nnode_modules/\n.gemini/*\n!/.gemini/config.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 #657aeefa7dde4d14 Filesystem access.
repo/packages/core/src/utils/getFolderStructure.test.ts:275
      await fsPromises.writeFile(
        path.join(testRootDir, '.gitignore'),
        'ignored.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 production #6ba166a84b83a570 Filesystem access.
repo/packages/core/src/utils/getFolderStructure.test.ts:299
      await fsPromises.writeFile(
        path.join(testRootDir, GEMINI_IGNORE_FILE_NAME),
        'ignored.txt\nnode_modules/\n.gemini/\n!/.gemini/config.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 #66db31966d0fd73a Filesystem access.
repo/packages/core/src/utils/getFolderStructure.test.ts:319
      await fsPromises.writeFile(
        path.join(testRootDir, GEMINI_IGNORE_FILE_NAME),
        'ignored.txt\nnode_modules/\n.gemini/\n!/.gemini/config.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 #5426afe039c46d44 Environment-variable access.
repo/packages/core/src/utils/getPty.ts:21
  if (process.env['GEMINI_PTY_INFO'] === 'child_process') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed8c8f5d70dc0975 Filesystem access.
repo/packages/core/src/utils/gitIgnoreParser.test.ts:20
    await fs.writeFile(fullPath, 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 #8ccbd9a4d6802e71 Filesystem access.
repo/packages/core/src/utils/gitIgnoreParser.ts:42
      content = fs.readFileSync(patternsFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d9e02188bce8f108 Environment-variable access.
repo/packages/core/src/utils/headless.ts:31
  if (process.env['GEMINI_CLI_INTEGRATION_TEST'] !== '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 #61721a708a18fe79 Environment-variable access.
repo/packages/core/src/utils/headless.ts:33
      process.env['CI'] === 'true' || process.env['GITHUB_ACTIONS'] === '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 #647c21e008978d32 Filesystem access.
repo/packages/core/src/utils/ignoreFileParser.test.ts:20
    await fs.writeFile(fullPath, 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 #05ed7052fe15d879 Filesystem access.
repo/packages/core/src/utils/ignoreFileParser.ts:65
      content = fs.readFileSync(patternsFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7d1ed99e291cdd9 Filesystem access.
repo/packages/core/src/utils/installationManager.test.ts:86
      expect(fs.readFileSync(installationIdFile(), 'utf-8')).toBe(newId);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0417904e8085f27d Filesystem access.
repo/packages/core/src/utils/installationManager.test.ts:92
      fs.writeFileSync(installationIdFile(), existingId);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6e53307bd5e95ab8 Filesystem access.
repo/packages/core/src/utils/installationManager.ts:21
      const installationid = fs
        .readFileSync(installationIdFile, 'utf-8')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b28217a4a4eed2d7 Filesystem access.
repo/packages/core/src/utils/installationManager.ts:33
    fs.writeFileSync(installationIdFile, installationId, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #149161a13c5de4b6 Filesystem access.
repo/packages/core/src/utils/memoryDiscovery.test.ts:65
    await fsPromises.writeFile(fullPath, fileContents);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0181457188ddad10 Environment-variable access.
repo/packages/core/src/utils/memoryDiscovery.ts:184
          process.env['NODE_ENV'] === 'test' || process.env['VITEST'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ae83adbbe7b2ce0a Filesystem access.
repo/packages/core/src/utils/memoryDiscovery.ts:223
          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 #322cbe7badf68dad Environment-variable access.
repo/packages/core/src/utils/memoryDiscovery.ts:258
              process.env['NODE_ENV'] === 'test' || process.env['VITEST'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cbb8e0f76571589f Filesystem access.
repo/packages/core/src/utils/memoryImportProcessor.test.ts:884
        fsSync.writeFileSync(path.join(outsideDir, 'sensitive.md'), 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed71893d92ea959f Filesystem access.
repo/packages/core/src/utils/memoryImportProcessor.ts:278
          const importedContent = 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 production #c22c40bfd6306d52 Filesystem access.
repo/packages/core/src/utils/memoryImportProcessor.ts:347
      const fileContent = 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 production #4c257fd6e3292396 Environment-variable access.
repo/packages/core/src/utils/oauth-flow.ts:200
      const portStr = process.env['OAUTH_CALLBACK_PORT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3b5e295e71c75f74 Filesystem access.
repo/packages/core/src/utils/pathCorrector.test.ts:51
    fs.writeFileSync(path.join(rootDir, 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 production #fe29a1a588effe5b Filesystem access.
repo/packages/core/src/utils/pathCorrector.test.ts:66
    fs.writeFileSync(fullPath, '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 #3f5b598f94443684 Filesystem access.
repo/packages/core/src/utils/pathCorrector.test.ts:94
    fs.writeFileSync(path.join(subDir1, ambiguousFile), 'content 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 #c9a34c6f53cc0513 Filesystem access.
repo/packages/core/src/utils/pathCorrector.test.ts:95
    fs.writeFileSync(path.join(subDir2, ambiguousFile), 'content 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 #0cf3ab327d37f22a Environment-variable access.
repo/packages/core/src/utils/paths.ts:23
  const envHome = process.env['GEMINI_CLI_HOME'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a7b8e19564a470c7 Environment-variable access.
repo/packages/core/src/utils/paths.ts:532
    !!process.env['TEST_SRCDIR'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cc836f198bfea048 Environment-variable access.
repo/packages/core/src/utils/paths.ts:533
    !!process.env['TEST_WORKSPACE'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #75cd042a0bd15eda Environment-variable access.
repo/packages/core/src/utils/paths.ts:534
    !!process.env['BAZEL_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 #75c8649f7e9993c6 Environment-variable access.
repo/packages/core/src/utils/paths.ts:535
    !!process.env['RUNFILES_DIR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a27a098e4470483f Environment-variable access.
repo/packages/core/src/utils/paths.ts:547
      process.env['SystemRoot'] || 'C:\\Windows',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6413e28566fec75a Environment-variable access.
repo/packages/core/src/utils/paths.ts:548
      process.env['ProgramFiles'] || 'C:\\Program Files',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c8de4efb28668bf8 Environment-variable access.
repo/packages/core/src/utils/paths.ts:549
      process.env['ProgramFiles(x86)'] || 'C:\\Program Files (x86)',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4e72c98e606c0e26 Filesystem access.
repo/packages/core/src/utils/planUtils.test.ts:36
      fs.writeFileSync(fullPath, '# My Plan');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d6220232de32b9ab Filesystem access.
repo/packages/core/src/utils/planUtils.test.ts:54
      fs.writeFileSync(outsideFile, 'secret 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 #70e919e53ef8d93f Filesystem access.
repo/packages/core/src/utils/planUtils.test.ts:71
      fs.writeFileSync(planPath, 'some 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 #f807be56db0e9049 Filesystem access.
repo/packages/core/src/utils/planUtils.test.ts:78
      fs.writeFileSync(planPath, '   ');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c43a0d20659e6d91 Environment-variable access.
repo/packages/core/src/utils/retry.ts:230
      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 production #148068a89a4aaa04 Environment-variable access.
repo/packages/core/src/utils/retry.ts:231
      process.env['GOOGLE_CLOUD_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 production #fb101057ad5a7f03 Environment-variable access.
repo/packages/core/src/utils/secure-browser-launcher.ts:154
  const browserEnv = process.env['BROWSER'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #295ca62dd26393ee Environment-variable access.
repo/packages/core/src/utils/secure-browser-launcher.ts:161
    process.env['CI'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b471cac87e27985d Environment-variable access.
repo/packages/core/src/utils/secure-browser-launcher.ts:162
    process.env['DEBIAN_FRONTEND'] === 'noninteractive'

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3587451950207455 Environment-variable access.
repo/packages/core/src/utils/secure-browser-launcher.ts:170
  const isSSH = !!process.env['SSH_CONNECTION'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c709fe333e272c0 Environment-variable access.
repo/packages/core/src/utils/secure-browser-launcher.ts:176
    const hasDisplay = displayVariables.some((v) => !!process.env[v]);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #67ce022aa74a5a6c Filesystem access.
repo/packages/core/src/utils/sessionOperations.test.ts:71
      await fs.writeFile(logFile, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9f6ec3b66d26efec Filesystem access.
repo/packages/core/src/utils/sessionOperations.test.ts:100
      await fs.writeFile(path.join(subDir, 'sub1.json'), '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc1e955245dd0024 Filesystem access.
repo/packages/core/src/utils/sessionOperations.test.ts:101
      await fs.writeFile(path.join(subDir, 'sub2.json'), '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8cbbdf6836b784d1 Filesystem access.
repo/packages/core/src/utils/sessionOperations.test.ts:105
      await fs.writeFile(path.join(logsDir, 'session-sub1.jsonl'), '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #66760634a493fab7 Filesystem access.
repo/packages/core/src/utils/sessionOperations.test.ts:106
      await fs.writeFile(path.join(logsDir, 'session-sub2.jsonl'), '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3481784ddcb3e821 Filesystem access.
repo/packages/core/src/utils/sessionOperations.ts:256
        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 #000427a52ca5db20 Environment-variable access.
repo/packages/core/src/utils/shell-utils.test.ts:294
  const originalComSpec = 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 production #28db21fa640d755d Environment-variable access.
repo/packages/core/src/utils/shell-utils.test.ts:298
    const systemRoot = process.env['SystemRoot'] || 'C:\\\\Windows';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ce28c694e0fa2fbc Environment-variable access.
repo/packages/core/src/utils/shell-utils.test.ts:299
    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 production #c426ac8202819d99 Environment-variable access.
repo/packages/core/src/utils/shell-utils.test.ts:305
      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 production #a3b6f7921ef67c57 Environment-variable access.
repo/packages/core/src/utils/shell-utils.test.ts:307
      process.env['ComSpec'] = originalComSpec;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2748fcb94c78db2d Environment-variable access.
repo/packages/core/src/utils/shell-utils.test.ts:580
    process.env['ComSpec'] = 'powershell.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 production #cb6aef2d757d3e39 Environment-variable access.
repo/packages/core/src/utils/shell-utils.ts:92
  const pathEnv = process.env['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 #e444d0150adc5295 Environment-variable access.
repo/packages/core/src/utils/shell-utils.ts:665
    const comSpec = 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 production #bb51feee8fa7f936 Environment-variable access.
repo/packages/core/src/utils/surface.ts:25
    process.env['GEMINI_CLI_SURFACE'] || process.env['SURFACE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #175039148facda77 Environment-variable access.
repo/packages/core/src/utils/surface.ts:43
  if (process.env['TERM_PROGRAM'] === 'vscode' || process.env['VSCODE_PID']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6f278605b9205134 Environment-variable access.
repo/packages/core/src/utils/surface.ts:49
  if (process.env['GITHUB_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 production #f16b4b0ccd5f07f2 Environment-variable access.
repo/packages/core/src/utils/trust.test.ts:48
    delete process.env['GEMINI_CLI_TRUST_WORKSPACE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5582962c34c3d4a0 Filesystem access.
repo/packages/core/src/utils/trust.test.ts:66
    fs.writeFileSync(trustedFoldersPath, JSON.stringify(config));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3b5638f911355889 Filesystem access.
repo/packages/core/src/utils/trust.test.ts:83
    fs.writeFileSync(trustedFoldersPath, JSON.stringify(config));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6c8ac57ca682bd29 Filesystem access.
repo/packages/core/src/utils/trust.test.ts:97
    fs.writeFileSync(trustedFoldersPath, JSON.stringify(config));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #09e7678c785d5e1d Filesystem access.
repo/packages/core/src/utils/trust.test.ts:113
      fs.readFileSync(trustedFoldersPath, 'utf-8'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #818394a5facdcd16 Filesystem access.
repo/packages/core/src/utils/trust.test.ts:129
    fs.writeFileSync(trustedFoldersPath, 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 #6370c8670ce1be99 Filesystem access.
repo/packages/core/src/utils/trust.test.ts:168
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1766a8706c2c3427 Filesystem access.
repo/packages/core/src/utils/trust.test.ts:192
      fs.writeFileSync(trustedFoldersPath, '{}', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7909e8164779f3b Filesystem access.
repo/packages/core/src/utils/trust.test.ts:195
      fs.writeFileSync(trustedFoldersPath, 'invalid 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 #e07fbdefa2d63202 Environment-variable access.
repo/packages/core/src/utils/trust.ts:47
  if (process.env['GEMINI_CLI_TRUST_WORKSPACE'] === '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 #36054f1fad14356b Filesystem access.
repo/packages/core/src/utils/trust.ts:209
      await fs.promises.writeFile(this.user.path, JSON.stringify({}, null, 2), {
        // Restrict file access to read/write for the owner only
        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 production #1dc9c9f537fbc858 Filesystem access.
repo/packages/core/src/utils/trust.ts:227
      const content = await fs.promises.readFile(this.user.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 #8cb2c4fd701686fb Filesystem access.
repo/packages/core/src/utils/trust.ts:289
      const content = fs.readFileSync(userPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd4e3c50f4d478ec Filesystem access.
repo/packages/core/src/utils/trust.ts:339
    fs.writeFileSync(tempPath, content, {
      encoding: 'utf-8',
      // Restrict file access to read/write for the owner only
      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 production #861ce5e8fd099c60 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:57
      expect(fs.readFileSync(accountsFile(), 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a11bc102000e6039 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:64
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify(
          { active: '[email protected]', old: ['[email protected]'] },
          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 #2a0a51cf331298a6 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:75
      expect(fs.readFileSync(accountsFile(), 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e5395f928d668194 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:89
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify(
          { active: '[email protected]', old: ['[email protected]'] },
          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 #997531105dc014a4 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:100
      expect(fs.readFileSync(accountsFile(), 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9ee492ad5b082a36 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:111
      fs.writeFileSync(accountsFile(), '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 production #3e919f61e19c3eea Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:119
      expect(JSON.parse(fs.readFileSync(accountsFile(), 'utf-8'))).toEqual({

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b161184a77f5ffe3 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:127
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({ active: '[email protected]', old: 'not-an-array' }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ec830fdf62fd2bea Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:138
      expect(JSON.parse(fs.readFileSync(accountsFile(), 'utf-8'))).toEqual({

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cc012c2c2570cf58 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:148
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({ active: '[email protected]', old: [] }, 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 #5d4a1feee9d50481 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:163
      fs.writeFileSync(accountsFile(), '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e4b832e1e9f8ac28 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:170
      fs.writeFileSync(accountsFile(), '{ "active": "[email protected]"'); // Invalid JSON

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #909b7d0d4f9743f6 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:183
      fs.writeFileSync(accountsFile(), JSON.stringify({ old: [] }));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5d0767584a442f8a Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:192
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify(
          { active: '[email protected]', old: ['[email protected]'] },
          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 #9d1a141f1baa9f00 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:203
      const stored = JSON.parse(fs.readFileSync(accountsFile(), 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1c2185e0e3e0abf5 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:210
      fs.writeFileSync(accountsFile(), '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cdb97dd88c9ea3cf Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:212
      const stored = JSON.parse(fs.readFileSync(accountsFile(), 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f05a89dfb1d99612 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:219
      fs.writeFileSync(accountsFile(), '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 production #626b944ab3aabec0 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:227
      const stored = JSON.parse(fs.readFileSync(accountsFile(), 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ea3038a4f03d83e5 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:234
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({ active: null, old: ['[email protected]'] }, 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 #2802865a2b527468 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:241
      const stored = JSON.parse(fs.readFileSync(accountsFile(), 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dee39c906f88b374 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:248
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify(
          {
            active: '[email protected]',
            old: ['[email protected]'],
          },
          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 #5c8dc0fc2637fadf Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:262
      const stored = JSON.parse(fs.readFileSync(accountsFile(), 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0052d78a65f06519 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:275
      fs.writeFileSync(accountsFile(), '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #297a231cebb45423 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:281
      fs.writeFileSync(accountsFile(), 'invalid json');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c3fb68d4c56a0d5d Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:292
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({ active: '[email protected]', old: [] }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #79948ac828b0b204 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:301
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({
          active: null,
          old: ['[email protected]', '[email protected]'],
        }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #90a3a09da52d4af6 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:313
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({
          active: '[email protected]',
          old: ['[email protected]', '[email protected]'],
        }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c0794df63b4d07fe Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:325
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({ active: null, old: 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 #0385f3c819e832c8 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:339
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({
          active: '[email protected]',
          old: ['[email protected]', '[email protected]'],
        }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d4daffce173c9488 Filesystem access.
repo/packages/core/src/utils/userAccountManager.ts:64
      const content = 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 #d0fc8053acf56104 Filesystem access.
repo/packages/core/src/utils/userAccountManager.ts:85
      const content = await fsp.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 #8a0d5933c9bb2f10 Filesystem access.
repo/packages/core/src/utils/userAccountManager.ts:116
    await fsp.writeFile(filePath, JSON.stringify(accounts, null, 2), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bda463cb62327d41 Filesystem access.
repo/packages/core/src/utils/userAccountManager.ts:146
    await fsp.writeFile(filePath, JSON.stringify(accounts, null, 2), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #81b2850e19aa610f Environment-variable access.
repo/packages/core/src/utils/version.test.ts:31
    process.env['CLI_VERSION'] = '2.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 #c302c5252529eb4c Environment-variable access.
repo/packages/core/src/utils/version.test.ts:37
    delete process.env['CLI_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 #0486e708a0d9bbed Environment-variable access.
repo/packages/core/src/utils/version.test.ts:43
    delete process.env['CLI_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 #addbb13e045bb9f7 Environment-variable access.
repo/packages/core/src/utils/version.test.ts:50
    delete process.env['CLI_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 #896df71e261b575e Environment-variable access.
repo/packages/core/src/utils/version.ts:22
    return process.env['CLI_VERSION'] || pkgJson?.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 #f4b1575e9031bbb5 Filesystem access.
repo/packages/core/src/utils/workspaceContext.test.ts:111
      fs.writeFileSync(validPath1, '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 #4fccf3291c687518 Filesystem access.
repo/packages/core/src/utils/workspaceContext.test.ts:113
      fs.writeFileSync(validPath2, '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 #05bf1fab3de862aa Filesystem access.
repo/packages/core/src/utils/workspaceContext.test.ts:248
        fs.writeFileSync(realFile, '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 #20a004e321580396 Environment-variable access.
repo/packages/core/test-setup.ts:8
if (process.env.NO_COLOR !== 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 #0ca214fb70b3ea6f Environment-variable access.
repo/packages/core/test-setup.ts:9
  delete process.env.NO_COLOR;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cfbbe0fa2d467fd0 Filesystem access.
repo/packages/devtools/esbuild.client.js:27
const indexHtml = readFileSync('client/index.html', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dba74cad639f834d Filesystem access.
repo/packages/devtools/esbuild.client.js:28
const clientJs = readFileSync('dist/client/main.js', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #05a46d89136df6b0 Filesystem access.
repo/packages/devtools/esbuild.client.js:30
writeFileSync(
  'src/_client-assets.ts',
  `/**\n * @license\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n// Auto-generated by esbuild.client.js — do not edit\nexport const INDEX_HTML = ${JSON.stringify(indexHtml)};\nexport const CLIENT_JS = ${JSON.stringify(clientJs)};\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 #f44f5ba0db5c666a Filesystem access.
repo/packages/sdk/examples/session-context.ts:30
        fileContent = await context.fs.readFile('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 production #a3cb4f45f1c2ccdd Environment-variable access.
repo/packages/sdk/src/agent.integration.test.ts:16
const RECORD_MODE = process.env['RECORD_NEW_RESPONSES'] === '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 #f947e52ca6e9c906 Filesystem access.
repo/packages/sdk/src/fs.ts:29
      return await fs.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 production #aa5d0033c2a9f00e Filesystem access.
repo/packages/sdk/src/fs.ts:40
    await fs.writeFile(path, 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 #5d44eb76b6c21652 Environment-variable access.
repo/packages/sdk/src/skills.integration.test.ts:17
const RECORD_MODE = process.env['RECORD_NEW_RESPONSES'] === '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 #655cb62e7d36a33a Environment-variable access.
repo/packages/sdk/src/tool.integration.test.ts:18
const RECORD_MODE = process.env['RECORD_NEW_RESPONSES'] === '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 #f89badf965abdcd0 Environment-variable access.
repo/packages/test-utils/src/env-setup.ts:18
  process.env['HOME'] = runDir;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5f14ed4252b6eaf6 Environment-variable access.
repo/packages/test-utils/src/env-setup.ts:20
    process.env['USERPROFILE'] = runDir;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #23bfbac44c0c93b7 Environment-variable access.
repo/packages/test-utils/src/env-setup.ts:25
  process.env['GEMINI_CONFIG_DIR'] = join(runDir, '.gemini');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4680cebc7bbc43df Environment-variable access.
repo/packages/test-utils/src/env-setup.ts:28
  process.env['GEMINI_FORCE_FILE_STORAGE'] = '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 #33a75c098954ae9e Environment-variable access.
repo/packages/test-utils/src/env-setup.ts:31
  process.env['GEMINI_CLI_INTEGRATION_TEST'] = '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 #bc6527367e2be214 Environment-variable access.
repo/packages/test-utils/src/env-setup.ts:34
  process.env['TELEMETRY_LOG_FILE'] = join(runDir, 'telemetry.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 #f2221dad5191edcf Filesystem access.
repo/packages/test-utils/src/file-system-test-helpers.ts:62
      await fs.writeFile(newPath, 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 #6ba9469925f5d994 Filesystem access.
repo/packages/test-utils/src/file-system-test-helpers.ts:67
          await fs.writeFile(path.join(newPath, 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 production #dbc56879ea665304 Filesystem access.
repo/packages/test-utils/src/memory-baselines.ts:42
  const content = readFileSync(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 #e3859b6d8b89ed5c Filesystem access.
repo/packages/test-utils/src/memory-baselines.ts:54
  writeFileSync(path, JSON.stringify(baselines, 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 #93536d8cd8862609 Filesystem access.
repo/packages/test-utils/src/perf-test-harness.ts:503
  const content = readFileSync(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 #417757523ab28f4d Filesystem access.
repo/packages/test-utils/src/perf-test-harness.ts:515
  writeFileSync(path, JSON.stringify(baselines, 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 #02337e53ff384c40 Filesystem access.
repo/packages/test-utils/src/test-mcp-server-template.mjs: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 #e5698d17b986766e Filesystem access.
repo/packages/test-utils/src/test-mcp-server-template.mjs:21
const config = JSON.parse(fs.readFileSync(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 #d307765bb6ebcc85 Environment-variable access.
repo/packages/test-utils/src/test-rig.ts:405
      if (process.env['REGENERATE_MODEL_GOLDENS'] !== '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 #c4298bf1a8b06b68 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:496
    writeFileSync(
      join(projectGeminiDir, 'settings.json'),
      JSON.stringify(settings, 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 #d28dcf8e2dd9c984 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:500
    writeFileSync(
      join(userGeminiDir, 'settings.json'),
      JSON.stringify(settings, 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 #1ce62fb62f396d4b Filesystem access.
repo/packages/test-utils/src/test-rig.ts:518
    writeFileSync(
      join(userGeminiDir, 'state.json'),
      JSON.stringify(state, 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 #c114b5586546fc72 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:526
    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 production #1d9b647b83c8d97f Environment-variable access.
repo/packages/test-utils/src/test-rig.ts:563
      if (process.env['REGENERATE_MODEL_GOLDENS'] === '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 #6e50c61ef12ea791 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:581
    writeFileSync(scriptPath, 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 #28377ae6926bec68 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:606
      testConfig = JSON.parse(fs.readFileSync(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 #c649ccd1d59d1173 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:619
    fs.writeFileSync(configFilePath, JSON.stringify(testConfig, 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 #13bd8557183e79aa Filesystem access.
repo/packages/test-utils/src/test-rig.ts:649
        settings = JSON.parse(fs.readFileSync(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 #1ae87327a4c7b012 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:664
      fs.writeFileSync(settingsPath, JSON.stringify(settings, 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 #06e2d7476db4bbbf Filesystem access.
repo/packages/test-utils/src/test-rig.ts:989
    const content = 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 #9521a387f0b6fa94 Environment-variable access.
repo/packages/test-utils/src/test-rig.ts:1039
      process.env['REGENERATE_MODEL_GOLDENS'] === '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 #045ab3794f366207 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:1078
          const content = readFileSync(logFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a865ccc0becd645d Filesystem access.
repo/packages/test-utils/src/test-rig.ts:1340
    const content = readFileSync(logFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f3939226b8ab48d7 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:1380
          const content = readFileSync(logFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b2b07f2d4fa72930 Environment-variable access.
repo/packages/test-utils/src/test-rig.ts:1652
        if (process.env[v] && !envVars[v]) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ace71548d9b9ef8e Environment-variable access.
repo/packages/test-utils/src/test-rig.ts:1653
          envVars[v] = process.env[v]!;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #31d1d66e17720d07 Filesystem access.
repo/packages/vscode-ide-companion/scripts/generate-notices.js:44
    const depPackageJsonContent = await fs.readFile(
      depPackageJsonPath,
      'utf-8',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1b60e41de5dd9f24 Filesystem access.
repo/packages/vscode-ide-companion/scripts/generate-notices.js:74
        licenseContent = await fs.readFile(licenseFile, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b826d1ab74b67bd8 Filesystem access.
repo/packages/vscode-ide-companion/scripts/generate-notices.js:140
    const packageJsonContent = await fs.readFile(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 #ee8f9f92f33c4c1c Filesystem access.
repo/packages/vscode-ide-companion/scripts/generate-notices.js:144
    const packageLockJsonContent = await fs.readFile(
      packageLockJsonPath,
      'utf-8',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #008c1edd9fd8f721 Filesystem access.
repo/packages/vscode-ide-companion/scripts/generate-notices.js:182
    await fs.writeFile(noticeFilePath, noticeText);

Reads environment variables or the filesystem — 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 #e32788fae85c238a Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/vscode-ide-companion/src/extension.ts:45
    const response = 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, // Corresponds to ExtensionName
                  value: CLI_IDE_COMPANION_IDENTIFIER,
                },
              ],
            },
          ],
          // See: https://learn.microsoft.com/en-us/azure/devops/extend/gallery/apis/hyper-linking?view=azure-devops
          // 946 = IncludeVersions | IncludeFiles | IncludeCategoryAndTags |
          //       IncludeShortDescription | IncludePublisher | IncludeStatistics
          flags: 946,
        }),
      },
    );

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 #bdbc3c44396bfa33 Filesystem access.
repo/packages/vscode-ide-companion/src/ide-server.ts:91
    await fs.writeFile(portFile, content).then(() => fs.chmod(portFile, 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 production #7253ca51a7f51452 Environment-variable access.
repo/perf-tests/globalSetup.ts:52
  process.env['INTEGRATION_TEST_FILE_DIR'] = runDir;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ad03dca376f0e506 Environment-variable access.
repo/perf-tests/globalSetup.ts:53
  process.env['VERBOSE'] = process.env['VERBOSE'] ?? '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 production #54ac56983268b855 Environment-variable access.
repo/perf-tests/globalSetup.ts:60
  if (process.env['KEEP_OUTPUT'] !== 'true' && runDir) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #699739fbb9e57593 Environment-variable access.
repo/perf-tests/perf-usage.test.ts:25
const UPDATE_BASELINES = process.env['UPDATE_PERF_BASELINES'] === '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 #0f928fcf0ebfbb53 Environment-variable access.
repo/perf-tests/perf-usage.test.ts:29
const SAMPLE_COUNT = process.env['CI'] ? 5 : 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 production #e84167f16f5c6cf2 Filesystem access.
repo/perf-tests/perf-usage.test.ts:229
              const content = readFileSync(logFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2c2bdc1b98efd53b Filesystem access.
repo/perf-tests/perf-usage.test.ts:336
      writeFileSync(
        join(geminiDir, 'projects.json'),
        JSON.stringify({
          projects: { [rig.testDir!]: identifier },
        }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aefdc8b88ee7765f Filesystem access.
repo/perf-tests/perf-usage.test.ts:342
      writeFileSync(join(projectTempDir, '.project_root'), rig.testDir!);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f7aa05a576f0557b Filesystem access.
repo/perf-tests/perf-usage.test.ts:464
          writeFileSync(
            settingsPath,
            JSON.stringify({
              security: { folderTrust: { enabled: false } },
              ui: { terminalBuffer: 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 #0cdd98018e12289a Filesystem access.
repo/perf-tests/perf-usage.test.ts:565
          writeFileSync(
            settingsPath,
            JSON.stringify({
              security: { folderTrust: { enabled: false } },
              ui: { useAlternateBuffer: 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 #dc88a28347a62c66 Filesystem access.
repo/scripts/aggregate_evals.js:62
      const content = fs.readFileSync(reportPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6b3e526b3aecc847 Environment-variable access.
repo/scripts/aggregate_evals.js:101
    const currentRunId = process.env.GITHUB_RUN_ID;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #41ccac047378a8be Environment-variable access.
repo/scripts/build.js:36
if (process.env.CI) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f7f6dec7f6b134a3 Environment-variable access.
repo/scripts/build.js:70
    process.env.BUILD_SANDBOX === '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 #42c19d2408273179 Environment-variable access.
repo/scripts/build.js:71
    process.env.BUILD_SANDBOX === 'true'

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2beb58a54e7e4660 Environment-variable access.
repo/scripts/build_binary.js:102
  if (process.env.SKIP_SIGNING === '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 #cd675ce5a724faf3 Environment-variable access.
repo/scripts/build_binary.js:110
    const identity = process.env.APPLE_IDENTITY || '-';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2da9cd51f2257561 Environment-variable access.
repo/scripts/build_binary.js:132
    if (process.env.WINDOWS_PFX_FILE && process.env.WINDOWS_PFX_PASSWORD) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7967ab16f4114d7f Environment-variable access.
repo/scripts/build_binary.js:135
        process.env.WINDOWS_PFX_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 #10b3ae9bac47f0fe Environment-variable access.
repo/scripts/build_binary.js:137
        process.env.WINDOWS_PFX_PASSWORD,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #609fa3296cc1d4b0 Environment-variable access.
repo/scripts/build_binary.js:158
      if (process.env.WINDOWS_PFX_PASSWORD) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8e521157ff8c1644 Environment-variable access.
repo/scripts/build_binary.js:159
        msg = msg.replaceAll(process.env.WINDOWS_PFX_PASSWORD, '******');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4e43466b21689309 Environment-variable access.
repo/scripts/build_binary.js:210
const includeNativeModules = process.env.BUNDLE_NATIVE_MODULES !== '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 production #b036cbd7860173f0 Filesystem access.
repo/scripts/build_binary.js:265
  readFileSync(join(root, '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 #23f701f51165b843 Filesystem access.
repo/scripts/build_binary.js:286
  const content = readFileSync(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 #acb3414aa025d71a Filesystem access.
repo/scripts/build_binary.js:312
    const content = readFileSync(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 #4f9979b6dccfc93e Filesystem access.
repo/scripts/build_binary.js:324
  const content = readFileSync(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 #e712c2706757766c Filesystem access.
repo/scripts/build_binary.js:337
    const content = readFileSync(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 #6afa55e12a562498 Filesystem access.
repo/scripts/build_binary.js:356
    const content = readFileSync(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 #6170ed6f9b2e0d50 Filesystem access.
repo/scripts/build_binary.js:370
writeFileSync(manifestPath, JSON.stringify(manifest, 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 #a625069ea7f88ac4 Filesystem access.
repo/scripts/build_binary.js:379
writeFileSync(seaConfigPath, JSON.stringify(seaConfig, 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 #40b37702570e2944 Filesystem access.
repo/scripts/build_package.js:57
writeFileSync(join(process.cwd(), 'dist', '.last_build'), '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #02cbafd3b20f0896 Environment-variable access.
repo/scripts/build_sandbox.js:67
  process.exit(process.env.CI ? 1 : 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 #a9b1e09ff0373754 Filesystem access.
repo/scripts/build_sandbox.js:114
  readFileSync(join(process.cwd(), '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 #d18e4dced2a95484 Environment-variable access.
repo/scripts/build_sandbox.js:126
const buildStdout = process.env.VERBOSE ? 'inherit' : 'ignore';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #71c89a8f81e871c4 Filesystem access.
repo/scripts/build_sandbox.js:143
      writeFileSync(tempAuthFile, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ee5669d24c6aae06 Filesystem access.
repo/scripts/build_sandbox.js:152
    readFileSync(join(process.cwd(), '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 #473fbe8378305006 Environment-variable access.
repo/scripts/build_sandbox.js:156
    process.env.GEMINI_SANDBOX_IMAGE_TAG || imageName.split(':')[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 #c1e02b603b09ceeb Environment-variable access.
repo/scripts/build_sandbox.js:162
        process.env.BUILD_SANDBOX_FLAGS || ''

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #793152a5a86cff43 Filesystem access.
repo/scripts/build_sandbox.js:180
      writeFileSync(argv.outputFile, finalImageName);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bdc7a62d5aea7dd6 Environment-variable access.
repo/scripts/changed_prompt.js:24
  const targetBranch = process.env.GITHUB_BASE_REF || 'main';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d15ff227a6f9873f Environment-variable access.
repo/scripts/changed_prompt.js:29
    const remoteUrl = process.env.GITHUB_REPOSITORY

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #925d3b6fe2dee92e Environment-variable access.
repo/scripts/changed_prompt.js:30
      ? `https://github.com/${process.env.GITHUB_REPOSITORY}.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 production #a14fe44215b4ca32 Environment-variable access.
repo/scripts/changed_prompt.js:39
    const head = process.env.PR_HEAD_SHA || '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 production #f6392711b3c39526 Filesystem access.
repo/scripts/check-build-status.js:72
    fs.writeFileSync(warningsFilePath, errorMessage);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3dd9036f851f6de3 Filesystem access.
repo/scripts/check-build-status.js:128
    fs.writeFileSync(warningsFilePath, warningMessages.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 #4c24bd9436029f7d Filesystem access.
repo/scripts/check-lockfile.js:17
    const fileContent = 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 #9da4cc1e4a4408f9 Filesystem access.
repo/scripts/clean.js:38
  readFileSync(join(root, '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 #3411723ef5325923 Environment-variable access.
repo/scripts/close_duplicate_issues.js:11
if (!process.env.GITHUB_TOKEN) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc6d0c585105c833 Environment-variable access.
repo/scripts/close_duplicate_issues.js:61
  auth: process.env.GITHUB_TOKEN,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e224ca8b1a572ff8 Filesystem access.
repo/scripts/compare_evals.js:36
  const prReport = JSON.parse(fs.readFileSync(prReportPath, 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #18dd0a3af1a06261 Filesystem access.
repo/scripts/deflake.js:87
    await fs.writeFile(dockerIgnorePath, DOCKERIGNORE_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 #df523df4f2430c23 Filesystem access.
repo/scripts/eval_utils.js:67
      const content = fs.readFileSync(reportPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4e13de4bc1a3bd05 Environment-variable access.
repo/scripts/generate-git-commit-info.js:47
  const envCommit = process.env.GIT_COMMIT;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5ec034c0e683329f Filesystem access.
repo/scripts/generate-git-commit-info.js:76
writeFileSync(cliGitCommitFile, fileContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fce6f7fc60a1fb8d Filesystem access.
repo/scripts/generate-git-commit-info.js:77
writeFileSync(coreGitCommitFile, fileContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ba729995dd354d81 Filesystem access.
repo/scripts/generate-keybindings-doc.ts:54
  const currentDoc = await readFile(docPath, '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 #5ccf6f49d755c633 Filesystem access.
repo/scripts/generate-keybindings-doc.ts:80
  await writeFile(docPath, updatedDoc, '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 #2c9b056e12655fae Filesystem access.
repo/scripts/generate-settings-doc.ts:72
  const doc = 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 #0ef44adaa76abc2e Filesystem access.
repo/scripts/generate-settings-doc.ts:102
  await writeFile(filePath, formattedDoc);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4c66838110136091 Filesystem access.
repo/scripts/generate-settings-schema.ts:73
    existing = await readFile(outputPath, '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 #d216715af7ff5501 Filesystem access.
repo/scripts/generate-settings-schema.ts:98
  await writeFile(outputPath, formatted);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4e7d7e6c2a1f27e9 Filesystem access.
repo/scripts/get-release-version.js:21
  return JSON.parse(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 #b99542d75aee66a1 Environment-variable access.
repo/scripts/lint.js:25
  process.env.GEMINI_LINT_TEMP_DIR || join(tmpdir(), 'gemini-cli-linters');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #751c8556095d7e8d Environment-variable access.
repo/scripts/lint.js:187
  if (!process.env.GEMINI_LINT_TEMP_DIR) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #72f2aa76838f863b Environment-variable access.
repo/scripts/lint.js:259
    const baseRef = process.env.GITHUB_BASE_REF || 'main';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a5ea9341fa5adfe3 Filesystem access.
repo/scripts/lint.js:293
    const content = 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 production #0186806ba42b0f76 Filesystem access.
repo/scripts/lint.js:358
      const content = readFileSync(tsconfigPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6e2c09fac505bcb1 Filesystem access.
repo/scripts/lint.js:423
    const content = 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 production #285f97de31b3a93e Filesystem access.
repo/scripts/local_telemetry.js:142
  fs.writeFileSync(OTEL_CONFIG_FILE, OTEL_CONFIG_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 #806df1aca2e6679f Filesystem access.
repo/scripts/local_telemetry.js:165
      console.error(fs.readFileSync(JAEGER_LOG_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 production #c998923e4be7552e Filesystem access.
repo/scripts/local_telemetry.js:190
      console.error(fs.readFileSync(OTEL_LOG_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 production #cca17860f52d37fb Filesystem access.
repo/scripts/prepare-github-release.js:14
  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 #1e5e7f878f3651a6 Filesystem access.
repo/scripts/prepare-github-release.js:16
  fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, 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 #96bd226900637615 Filesystem access.
repo/scripts/prepare-github-release.js:36
fs.writeFileSync(
  coreNpmrcPath,
  '@google-gemini:registry=https://npm.pkg.github.com/',
);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #06a6ca6310f6dbc4 Filesystem access.
repo/scripts/prepare-npm-release.js:13
  return JSON.parse(fs.readFileSync(path.resolve(rootDir, 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 #f1dc4863556a1f42 Filesystem access.
repo/scripts/prepare-npm-release.js:17
  fs.writeFileSync(
    path.resolve(rootDir, filePath),
    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 production #aaa07cecbacd4dc0 Environment-variable access.
repo/scripts/releasing/patch-comment.js:22
      demandOption: !process.env.GITHUB_ACTIONS,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ab507fb76b85b6fe Environment-variable access.
repo/scripts/releasing/patch-comment.js:31
      demandOption: !process.env.GITHUB_ACTIONS,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #24e914a582e8ade7 Environment-variable access.
repo/scripts/releasing/patch-comment.js:67
  const testMode = argv.test || process.env.TEST_MODE === '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 #28f13e24c85c1c38 Environment-variable access.
repo/scripts/releasing/patch-comment.js:74
      auth: process.env.GITHUB_TOKEN,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d9f6e555b07fd18b Environment-variable access.
repo/scripts/releasing/patch-comment.js:79
    owner: process.env.GITHUB_REPOSITORY_OWNER || 'google-gemini',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #55018163a6c937f5 Environment-variable access.
repo/scripts/releasing/patch-comment.js:80
    repo: process.env.GITHUB_REPOSITORY_NAME || 'gemini-cli',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4ab9d4d0ec880b85 Environment-variable access.
repo/scripts/releasing/patch-comment.js:84
  const originalPr = argv.originalPr || process.env.ORIGINAL_PR;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #842e65da08a13f7c Environment-variable access.
repo/scripts/releasing/patch-comment.js:86
    argv.success !== undefined ? argv.success : process.env.SUCCESS === '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 #094fe150ebc5507a Environment-variable access.
repo/scripts/releasing/patch-comment.js:87
  const releaseVersion = argv.releaseVersion || process.env.RELEASE_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 #52981e2baab850a2 Environment-variable access.
repo/scripts/releasing/patch-comment.js:90
    process.env.RELEASE_TAG ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dd9fdce717ba05ca Environment-variable access.
repo/scripts/releasing/patch-comment.js:94
    process.env.NPM_TAG ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #56f807838e0f06be Environment-variable access.
repo/scripts/releasing/patch-comment.js:96
  const channel = argv.channel || process.env.CHANNEL || 'stable';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9077afb7f6078d6b Environment-variable access.
repo/scripts/releasing/patch-comment.js:97
  const dryRun = argv.dryRun || process.env.DRY_RUN === '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 #21c4f71391a1c834 Environment-variable access.
repo/scripts/releasing/patch-comment.js:98
  const runId = process.env.GITHUB_RUN_ID || '12345678';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #31025cb356abd9d0 Environment-variable access.
repo/scripts/releasing/patch-comment.js:99
  const raceConditionFailure = process.env.RACE_CONDITION_FAILURE === '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 #367d3d75cab7b5d4 Environment-variable access.
repo/scripts/releasing/patch-comment.js:102
  const currentReleaseVersion = process.env.CURRENT_RELEASE_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 #048fc1cf1eafcdad Environment-variable access.
repo/scripts/releasing/patch-comment.js:103
  const currentReleaseTag = process.env.CURRENT_RELEASE_TAG;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7e448c9c5a63ce04 Environment-variable access.
repo/scripts/releasing/patch-comment.js:104
  const currentPreviousTag = process.env.CURRENT_PREVIOUS_TAG;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ea7e5d066ac2f346 Environment-variable access.
repo/scripts/releasing/patch-create-comment.js:22
      demandOption: !process.env.GITHUB_ACTIONS,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0693c2918ef33f6b Environment-variable access.
repo/scripts/releasing/patch-create-comment.js:27
      demandOption: !process.env.GITHUB_ACTIONS,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #285bba82e6478bf8 Environment-variable access.
repo/scripts/releasing/patch-create-comment.js:32
      demandOption: !process.env.GITHUB_ACTIONS,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #450a7703c1dc8062 Environment-variable access.
repo/scripts/releasing/patch-create-comment.js:38
      demandOption: !process.env.GITHUB_ACTIONS,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #159d818fd93eb78e Environment-variable access.
repo/scripts/releasing/patch-create-comment.js:43
      demandOption: !process.env.GITHUB_ACTIONS,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c32f71cbe8495d29 Environment-variable access.
repo/scripts/releasing/patch-create-comment.js:52
      default: process.env.ENVIRONMENT || 'prod',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7f41d0c611509692 Environment-variable access.
repo/scripts/releasing/patch-create-comment.js:70
  const testMode = argv.test || process.env.TEST_MODE === '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 #8e9f316c697c9a1b Environment-variable access.
repo/scripts/releasing/patch-create-comment.js:76
  const originalPr = argv.originalPr || process.env.ORIGINAL_PR;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3a8de33e40039102 Environment-variable access.
repo/scripts/releasing/patch-create-comment.js:80
      : parseInt(process.env.EXIT_CODE || '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 #0e1febc57d7ab6fe Environment-variable access.
repo/scripts/releasing/patch-create-comment.js:81
  const commit = argv.commit || process.env.COMMIT;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5e4fb12e2e283dff Environment-variable access.
repo/scripts/releasing/patch-create-comment.js:82
  const channel = argv.channel || process.env.CHANNEL;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2cb09d1c1b367e7a Environment-variable access.
repo/scripts/releasing/patch-create-comment.js:85
    argv.repository || process.env.REPOSITORY || 'google-gemini/gemini-cli';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a205024a608a7323 Environment-variable access.
repo/scripts/releasing/patch-create-comment.js:86
  const runId = argv.runId || process.env.GITHUB_RUN_ID || '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 #2a0e650bb7af6c4b Environment-variable access.
repo/scripts/releasing/patch-create-comment.js:122
  if (testMode && !process.env.LOG_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 #ddc81651f45443ec Environment-variable access.
repo/scripts/releasing/patch-create-comment.js:131
    logContent = process.env.LOG_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 #92e2845dc4ed1518 Environment-variable access.
repo/scripts/releasing/patch-trigger.js:62
      demandOption: !process.env.GITHUB_ACTIONS,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f6e5c331b9bc854d Environment-variable access.
repo/scripts/releasing/patch-trigger.js:87
      default: process.env.ENVIRONMENT || 'prod',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d289986460f9afc4 Environment-variable access.
repo/scripts/releasing/patch-trigger.js:100
  const testMode = argv.test || process.env.TEST_MODE === '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 #6f17012617415517 Environment-variable access.
repo/scripts/releasing/patch-trigger.js:103
    eventName: process.env.GITHUB_EVENT_NAME || 'pull_request',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #31a4f336b30ca775 Environment-variable access.
repo/scripts/releasing/patch-trigger.js:105
      owner: process.env.GITHUB_REPOSITORY_OWNER || 'google-gemini',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bec3941ebff0a153 Environment-variable access.
repo/scripts/releasing/patch-trigger.js:106
      repo: process.env.GITHUB_REPOSITORY_NAME || 'gemini-cli',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dacd89da46b8acbd Environment-variable access.
repo/scripts/releasing/patch-trigger.js:108
    payload: JSON.parse(process.env.GITHUB_EVENT_PAYLOAD || '{}'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #64ab16d48ddc3cfa Environment-variable access.
repo/scripts/releasing/patch-trigger.js:112
  const headRef = argv.headRef || process.env.HEAD_REF;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f43bd30efbacff0a Environment-variable access.
repo/scripts/releasing/patch-trigger.js:114
  const body = argv.prBody || process.env.PR_BODY || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6bed3e8fb367999d Environment-variable access.
repo/scripts/releasing/patch-trigger.js:117
    argv.forceSkipTests || process.env.FORCE_SKIP_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 production #b5c1fb4ba8b19cac Environment-variable access.
repo/scripts/releasing/patch-trigger.js:118
  const runId = process.env.GITHUB_RUN_ID || '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 #851ee8b77fde8bb4 Environment-variable access.
repo/scripts/releasing/patch-trigger.js:163
          env: { ...process.env, GH_TOKEN: process.env.GITHUB_TOKEN },

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2c3591755f485204 Environment-variable access.
repo/scripts/releasing/patch-trigger.js:193
      : process.env.WORKFLOW_ID || 'release-patch-3-release.yml';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c406ddaee79feb2 Environment-variable access.
repo/scripts/releasing/patch-trigger.js:245
        env: { ...process.env, GH_TOKEN: process.env.GITHUB_TOKEN },

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c52d1c3ec3c73c4f Environment-variable access.
repo/scripts/releasing/patch-trigger.js:301
            env: { ...process.env, GH_TOKEN: process.env.GITHUB_TOKEN },

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9d162275b62836da Environment-variable access.
repo/scripts/run_eval_regression.js:23
  const modelList = process.env.MODEL_LIST || 'gemini-3-flash-preview';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c5300e170308b7b0 Filesystem access.
repo/scripts/run_eval_regression.js:86
    fs.writeFileSync('eval_regression_report.md', combinedReport);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #96e4719d5d0f66c8 Filesystem access.
repo/scripts/run_regression_check.js:51
    ? JSON.parse(fs.readFileSync(reportPath, 'utf-8'))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b1a1b1f71269658e Filesystem access.
repo/scripts/run_regression_check.js:275
  fs.writeFileSync(
    'evals/logs/pr_final_report.json',
    JSON.stringify(finalReport, 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 #5399cee5c91abaff Environment-variable access.
repo/scripts/sandbox_command.js:36
const homedir = () => process.env['GEMINI_CLI_HOME'] || os.homedir();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf76bf13fa8312c8 Environment-variable access.
repo/scripts/sandbox_command.js:38
let geminiSandbox = process.env.GEMINI_SANDBOX;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3de9d64bdbee82fb Filesystem access.
repo/scripts/sandbox_command.js:44
      stripJsonComments(readFileSync(userSettingsFile, 'utf-8')),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d5d61ea84b9ea35b Environment-variable access.
repo/scripts/sandbox_command.js:70
  geminiSandbox = process.env.GEMINI_SANDBOX;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f2ec21c6709083e6 Environment-variable access.
repo/scripts/sandbox_command.js:115
  if (os.platform() === 'darwin' && process.env.SEATBELT_PROFILE !== 'none') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #86199eb3ab5c9b5a Filesystem access.
repo/scripts/seed-test-inbox.js:70
  await fs.writeFile(filePath, 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 #4693323271d992aa Filesystem access.
repo/scripts/seed-test-inbox.js:118
  existingGlobalGemini = await fs.readFile(globalGeminiMd, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ebc9e539870f11d3 Filesystem access.
repo/scripts/start.js:27
const pkg = JSON.parse(readFileSync(join(root, '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 #7e892ada12b76d23 Environment-variable access.
repo/scripts/start.js:49
const isInDebugMode = process.env.DEBUG === '1' || 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 production #f9e5a71e515be638 Environment-variable access.
repo/scripts/start.js:52
  if (process.env.SANDBOX) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #82223bd25a4ff4dd Environment-variable access.
repo/scripts/start.js:53
    const port = process.env.DEBUG_PORT || '9229';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #89faa2e571c9b25a Environment-variable access.
repo/scripts/start.js:70
  process.env.GEMINI_KEEP_CI_ENV === '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 #077c52b51c9c4ba9 Environment-variable access.
repo/scripts/start.js:71
  process.env.GEMINI_KEEP_CI_ENV === '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 #ba61a0f4d43e4e7f Environment-variable access.
repo/scripts/telemetry.js:17
  process.env.HOME || process.env.USERPROFILE || process.env.HOMEPATH || '',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #427c60b6a9b05411 Filesystem access.
repo/scripts/telemetry.js:28
      const content = 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 #4b1ee991ccf150ef Environment-variable access.
repo/scripts/telemetry_gcp.js:81
  const projectId = process.env.OTLP_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 production #6c4fa94684bda5b8 Filesystem access.
repo/scripts/telemetry_gcp.js:132
  fs.writeFileSync(OTEL_CONFIG_FILE, getOtelConfigContent(projectId));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #758f45be52291be5 Filesystem access.
repo/scripts/telemetry_gcp.js:159
      console.error(fs.readFileSync(OTEL_LOG_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 production #05d04e6f5aa922f1 Environment-variable access.
repo/scripts/telemetry_utils.js:28
const homedir = () => process.env['GEMINI_CLI_HOME'] || os.homedir();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d31432beeeb21e9b Filesystem access.
repo/scripts/telemetry_utils.js:59
    const content = fs.readFileSync(tmpFile, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e8f0cfa5b00a8696 Filesystem access.
repo/scripts/telemetry_utils.js:113
  const 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 #55899b3854e76c85 Filesystem access.
repo/scripts/telemetry_utils.js:123
  fs.writeFileSync(filePath, 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 production #820bfe48bddb26c5 Filesystem access.
repo/scripts/utils/eval-inventory.ts:74
    const sourceText = await fs.promises.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 #e8eb8cecd583bf21 Environment-variable access.
repo/scripts/utils/eval-inventory.ts:259
  if (!generatedDate && process.env.SOURCE_DATE_EPOCH) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2adb3aeff2783114 Environment-variable access.
repo/scripts/utils/eval-inventory.ts:260
    const epoch = parseInt(process.env.SOURCE_DATE_EPOCH, 10);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9f6c6c3797c8a403 Environment-variable access.
repo/scripts/utils/eval-inventory.ts:267
    (process.env.EVAL_INVENTORY_STABLE_DATE ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #539caeb388eab65c Environment-variable access.
repo/scripts/utils/eval-inventory.ts:268
      process.env.EVAL_INVENTORY_DETERMINISTIC)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8b39e9171d03694e Filesystem access.
repo/scripts/version.js:19
  return JSON.parse(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 #fd8e825666d32a5e Filesystem access.
repo/scripts/version.js:23
  writeFileSync(filePath, JSON.stringify(data, 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 #f8846f82960e424e Filesystem access.
repo/sea/sea-launch.cjs:178
        fsMod.writeFileSync(destPath, new Uint8Array(content), {
          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 production #6fb1ddea4e967113 Environment-variable access.
repo/sea/sea-launch.cjs:228
  process.env.IS_BINARY = '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 #59f7cc53a0bff25a Environment-variable access.
repo/third_party/get-ripgrep/src/downloadRipGrep.js:25
const VERSION = process.env.RIPGREP_VERSION || 'v13.0.0-10'

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #afdeed7c8e8ea6ef Environment-variable access.
repo/third_party/get-ripgrep/src/downloadRipGrep.js:30
  const arch = process.env.npm_config_arch || os.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 production #1fa6fb43fb7b9a57 Environment-variable access.
repo/third_party/get-ripgrep/src/downloadRipGrep.js:31
  const platform = process.env.platform || os.platform()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd34f37d1a8a684a Environment-variable access.
repo/tools/caretaker-agent/cloudrun/egress-service/src/actions/github.ts:12
  const value = process.env[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 #eb3bb50636a068e8 Environment-variable access.
repo/tools/caretaker-agent/cloudrun/egress-service/src/app.ts:21
    service: process.env.K_SERVICE || 'caretaker-egress-service',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e4f1b630759e676a Environment-variable access.
repo/tools/caretaker-agent/cloudrun/egress-service/src/app.ts:22
    revision: process.env.K_REVISION || '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 production #28fb13dfaccb50a0 Environment-variable access.
repo/tools/caretaker-agent/cloudrun/egress-service/src/server.ts:9
const port = process.env.PORT || 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 production #7f003fab914204de Environment-variable access.
repo/tools/caretaker-agent/cloudrun/ingestion-service/app.ts:24
  const value = process.env[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 #0eb1c49a3610e8e7 Environment-variable access.
repo/tools/caretaker-agent/cloudrun/ingestion-service/app.ts:60
    service: process.env.K_SERVICE || 'caretaker-ingestion-service',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #977e2730994d7aab Environment-variable access.
repo/tools/caretaker-agent/cloudrun/ingestion-service/app.ts:61
    revision: process.env.K_REVISION || '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 production #cc62cfd45cc27267 Environment-variable access.
repo/tools/caretaker-agent/cloudrun/ingestion-service/server.ts:9
const port = parseInt(process.env.PORT || '8080', 10);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff0da7ba6e53a32a Filesystem access.
repo/tools/gemini-cli-bot/history/sync.ts:84
      writeFileSync(
        join(HISTORY_DIR, 'metrics-timeseries.csv'),
        readFileSync(tsFile),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4ba0cb22b023be92 Filesystem access.
repo/tools/gemini-cli-bot/history/sync.ts:86
        readFileSync(tsFile),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd5bd373439d66cd Filesystem access.
repo/tools/gemini-cli-bot/history/sync.ts:100
      writeFileSync(
        join(HISTORY_DIR, 'metrics-before-prev.csv'),
        readFileSync(mbFile),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #35e235fc4dc6c04d Filesystem access.
repo/tools/gemini-cli-bot/history/sync.ts:102
        readFileSync(mbFile),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7652349d85ba91fe Filesystem access.
repo/tools/gemini-cli-bot/metrics/history-helper.ts:28
    const content = readFileSync(TIMESERIES_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 production #d1973a7e84e622ec Filesystem access.
repo/tools/gemini-cli-bot/metrics/index.ts:133
  writeFileSync(OUTPUT_FILE, results.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 #013b43a2131bf23b Filesystem access.
repo/tools/gemini-cli-bot/metrics/index.ts:140
    timeseriesLines = readFileSync(TIMESERIES_FILE, 'utf-8').trim().split('\n');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #754ed36efef922ed Filesystem access.
repo/tools/gemini-cli-bot/metrics/index.ts:155
    writeFileSync(TIMESERIES_FILE, timeseriesLines.join('\n') + '\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.

first-party (npm): packages/a2a-server

npm first-party
high pii_flow production #3209543f99c03418 User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/packages/a2a-server/src/http/app.ts:263 · flow /tmp/closeopen-1vr2qt40/repo/packages/a2a-server/src/http/app.ts:228 → /tmp/closeopen-1vr2qt40/repo/packages/a2a-server/src/http/app.ts:263
    expressApp.post('/tasks', async (req, res) => {
      try {
        const taskId = uuidv4();
        // eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion
        const agentSettings = req.body.agentSettings as
          | AgentSettings
          | undefined;
        // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
        const contextId = req.body.contextId || uuidv4();
        const wrapper = await agentExecutor.createTask(
          taskId,
          contextId,
          agentSettings,
        );
        await taskStoreForExecutor.save(wrapper.toSDKTask());
        res.status(201).json(wrapper.id);
      } catch (error) {
        logger.error('[CoreAgent] Error creating task:', error);
        const errorMessage =
          error instanceof Error
            ? error.message
            : 'Unknown error creating task';
        res.status(500).send({ error: errorMessage });
      }
    });

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 #b174d9501c91daea User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/packages/a2a-server/src/http/app.ts:289 · flow /tmp/closeopen-1vr2qt40/repo/packages/a2a-server/src/http/app.ts:228 → /tmp/closeopen-1vr2qt40/repo/packages/a2a-server/src/http/app.ts:289
    expressApp.post('/executeCommand', (req, res) => {
      void handleExecuteCommand(req, res, context);
    });

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 52 low-confidence finding(s)
low env_fs production #c3413d1438e844b6 Filesystem access.
repo/packages/a2a-server/src/agent/task.ts:669
      const currentContent = await fs.readFile(resolvedPath, '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 #444f8e097a6ff075 Filesystem access.
repo/packages/a2a-server/src/agent/task.ts:740
            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 #ebb96a1445ed116b Environment-variable access.
repo/packages/a2a-server/src/agent/task.ts:996
      const gcpProject = 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 production #c531b32217901083 Environment-variable access.
repo/packages/a2a-server/src/agent/task.ts:997
      const gcpCreds = process.env['GOOGLE_APPLICATION_CREDENTIALS'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d90b457982a4a242 Environment-variable access.
repo/packages/a2a-server/src/agent/task.ts:999
        delete 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 production #1394d3990cf85e71 Environment-variable access.
repo/packages/a2a-server/src/agent/task.ts:1000
        delete process.env['GOOGLE_APPLICATION_CREDENTIALS'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e9ea2e7f30b4bd1e Environment-variable access.
repo/packages/a2a-server/src/agent/task.ts:1038
          process.env['GOOGLE_CLOUD_PROJECT'] = gcpProject;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #83461dff3f4ea1c1 Environment-variable access.
repo/packages/a2a-server/src/agent/task.ts:1041
          process.env['GOOGLE_APPLICATION_CREDENTIALS'] = gcpCreds;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c82032ac7e4744ab Environment-variable access.
repo/packages/a2a-server/src/commands/init.test.ts:63
    process.env['CODER_AGENT_WORKSPACE_PATH'] = mockWorkspacePath;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #645e0ecde7706c80 Filesystem access.
repo/packages/a2a-server/src/commands/init.ts:83
    fs.writeFileSync(geminiMdPath, '', '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 #8983be8d4ff594e9 Environment-variable access.
repo/packages/a2a-server/src/commands/init.ts:93
      workspacePath: process.env['CODER_AGENT_WORKSPACE_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 #0a1f1e9069b60a84 Environment-variable access.
repo/packages/a2a-server/src/commands/init.ts:139
      process.env['CODER_AGENT_WORKSPACE_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 #7af14873d3e82fc4 Filesystem access.
repo/packages/a2a-server/src/commands/restore.ts:57
        data = 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 #05dde56e8653b477 Filesystem access.
repo/packages/a2a-server/src/commands/restore.ts:131
        const data = 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 #a380039d44c29fbe Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:37
const INITIAL_FOLDER_TRUST = process.env['GEMINI_FOLDER_TRUST'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff269aaca6b46a78 Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:49
    process.env['GEMINI_FOLDER_TRUST'] === '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 #87c4fa35527b799c Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:51
  let checkpointing = process.env['CHECKPOINTING']

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c7308aa94c48f443 Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:52
    ? process.env['CHECKPOINTING'] === '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 #ae26a326ac8c1b15 Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:65
    process.env['GEMINI_YOLO_MODE'] === '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 #d099f07633aaff05 Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:94
    debugMode: process.env['DEBUG'] === 'true' || 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 production #fc22853311a52c3f Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:110
        process.env['OTEL_EXPORTER_OTLP_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 production #784acc5d5319439f Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:122
        ...(process.env['CUSTOM_IGNORE_FILE_PATHS']

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6f6b1301e7cb0de7 Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:123
          ? process.env['CUSTOM_IGNORE_FILE_PATHS'].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 production #76a47267ca848f72 Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:199
    process.env['CODER_AGENT_WORKSPACE_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 #b9a1066c65952efb Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:264
  if (process.env['USE_CCPA']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #be5f835fd926df0c Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:279
        process.env['GEMINI_CLI_USE_COMPUTE_ADC'] === '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 #393efbf18edd62fe Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:308
      `[${logPrefix}] 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 production #5ef2168ef5c5becc Environment-variable access.
repo/packages/a2a-server/src/config/config.ts:310
  } else if (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 production #cb7cd8ac51ebb605 Filesystem access.
repo/packages/a2a-server/src/config/extension.ts:95
    const configContent = fs.readFileSync(configFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #daa172c0f85f9129 Filesystem access.
repo/packages/a2a-server/src/config/extension.ts:144
    const configContent = fs.readFileSync(metadataFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3fd1b48cbbfc8615 Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:110
    fs.writeFileSync(USER_SETTINGS_PATH, JSON.stringify(settings));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2e139a0b5e6f6054 Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:125
    fs.writeFileSync(USER_SETTINGS_PATH, JSON.stringify(settings));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #688bc7cf275d1e25 Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:139
    fs.writeFileSync(USER_SETTINGS_PATH, JSON.stringify(userSettings));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7e7a4adb00eef7cc Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:151
    fs.writeFileSync(workspaceSettingsPath, JSON.stringify(workspaceSettings));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e3ba87dbef5d1e53 Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:165
      fs.writeFileSync(USER_SETTINGS_PATH, JSON.stringify(userSettings));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #07225e428b05295e Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:172
      fs.writeFileSync(
        workspaceSettingsPath,
        JSON.stringify(workspaceSettings),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3d2e59055c4b36ae Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:188
      fs.writeFileSync(USER_SETTINGS_PATH, JSON.stringify(userSettings));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #50224c66baf396ea Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:195
      fs.writeFileSync(
        workspaceSettingsPath,
        JSON.stringify(workspaceSettings),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #608bb5ccff35e3be Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:213
      fs.writeFileSync(USER_SETTINGS_PATH, JSON.stringify(userSettings));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #91fc5b2abbb2c93b Filesystem access.
repo/packages/a2a-server/src/config/settings.test.ts:224
      fs.writeFileSync(
        workspaceSettingsPath,
        JSON.stringify(workspaceSettings),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7b24224e0fc36eb3 Filesystem access.
repo/packages/a2a-server/src/config/settings.ts:85
      const userContent = fs.readFileSync(USER_SETTINGS_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 #7313e32f81e9a5ff Filesystem access.
repo/packages/a2a-server/src/config/settings.ts:119
        const projectContent = fs.readFileSync(workspaceSettingsPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b9032b2e2e80e1da Environment-variable access.
repo/packages/a2a-server/src/http/app.test.ts:1062
      delete process.env['CODER_AGENT_WORKSPACE_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 #4b6a41d646ea56e6 Environment-variable access.
repo/packages/a2a-server/src/http/app.test.ts:1082
      delete process.env['CODER_AGENT_WORKSPACE_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 #b4ad89807459bb47 Environment-variable access.
repo/packages/a2a-server/src/http/app.test.ts:1104
      process.env['CODER_AGENT_WORKSPACE_PATH'] = '/tmp/test-workspace';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7101551571a00111 Environment-variable access.
repo/packages/a2a-server/src/http/app.ts:149
      if (!process.env['CODER_AGENT_WORKSPACE_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 #c349ef6ec854ff2b Environment-variable access.
repo/packages/a2a-server/src/http/app.ts:228
    const bucketName = process.env['GCS_BUCKET_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 #0fcb1523b5ea78df Environment-variable access.
repo/packages/a2a-server/src/http/app.ts:388
    const port = Number(process.env['CODER_AGENT_PORT'] || 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 #1295bf5b159d7ce8 Environment-variable access.
repo/packages/a2a-server/src/http/app.ts:393
      if (process.env['CODER_AGENT_PORT']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9507e337a82069c6 Environment-variable access.
repo/packages/a2a-server/src/http/app.ts:394
        actualPort = process.env['CODER_AGENT_PORT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #82fc8138a82e03ec Environment-variable access.
repo/packages/a2a-server/src/http/server.ts:23
  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 #bf4647c887ac7e39 Filesystem access.
repo/packages/a2a-server/src/persistence/gcs.test.ts:71
        actualFs.writeFileSync(file, Buffer.from('dummy tar 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.

first-party (npm): packages/core

npm first-party
high pii_flow production #f02efecb770edee7 User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
repo/packages/core/src/utils/oauth-flow.ts:472 · flow /tmp/closeopen-1vr2qt40/repo/packages/core/src/utils/oauth-flow.ts:472 → /tmp/closeopen-1vr2qt40/repo/packages/core/src/utils/oauth-flow.ts:472
  const response = await fetch(config.tokenUrl, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
      Accept: 'application/json, 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 1110 low-confidence finding(s)
low env_fs production #e7c26d02920bcae3 Filesystem access.
repo/packages/core/scripts/bundle-browser-mcp.mjs:12
const manifest = JSON.parse(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 production #1ca4d4ec79c9780b Environment-variable access.
repo/packages/core/scripts/compile-windows-sandbox.js:54
  const systemRoot = process.env['SystemRoot'] || 'C:\\Windows';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6476ede70dbe76f1 Environment-variable access.
repo/packages/core/src/agents/acknowledgedAgents.test.ts:23
    originalGeminiCliHome = process.env['GEMINI_CLI_HOME'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4b66cb73b6cf4fc3 Environment-variable access.
repo/packages/core/src/agents/acknowledgedAgents.test.ts:24
    process.env['GEMINI_CLI_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 production #6de8235ef0c8b616 Environment-variable access.
repo/packages/core/src/agents/acknowledgedAgents.test.ts:30
      process.env['GEMINI_CLI_HOME'] = originalGeminiCliHome;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e0a593c41b713b9b Environment-variable access.
repo/packages/core/src/agents/acknowledgedAgents.test.ts:32
      delete process.env['GEMINI_CLI_HOME'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8ff182f68a9dc849 Filesystem access.
repo/packages/core/src/agents/acknowledgedAgents.test.ts:46
    const content = await fs.readFile(ackPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #98d32bafea165c3c Filesystem access.
repo/packages/core/src/agents/acknowledgedAgents.test.ts:76
    await fs.writeFile(ackPath, JSON.stringify(data), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #05d770e42a663a55 Filesystem access.
repo/packages/core/src/agents/acknowledgedAgents.ts:29
      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 #defa736432d65999 Filesystem access.
repo/packages/core/src/agents/acknowledgedAgents.ts:50
      await fs.writeFile(
        filePath,
        JSON.stringify(this.acknowledgedAgents, null, 2),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dd03567b9a3d7257 Filesystem access.
repo/packages/core/src/agents/agentLoader.test.ts:42
    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 #c91b9c718ff5b0e9 Filesystem access.
repo/packages/core/src/agents/agentLoader.test.ts:677
      await fs.writeFile(path.join(tempDir, 'other.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 production #850c7e6fbcf952c1 Filesystem access.
repo/packages/core/src/agents/agentLoader.ts:338
      fileContent = 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 #e0c84a1ae1d2c81a Filesystem access.
repo/packages/core/src/agents/agentLoader.ts:675
      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 #e24cad385f4f4f20 Environment-variable access.
repo/packages/core/src/agents/auth-provider/http-provider.test.ts:30
      process.env['TEST_TOKEN'] = 'env-token';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #43c8d5e71120d9fd Environment-variable access.
repo/packages/core/src/agents/auth-provider/http-provider.test.ts:41
      delete process.env['TEST_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d13ba319d9a101c4 Environment-variable access.
repo/packages/core/src/agents/auth-provider/http-provider.test.ts:99
      process.env['DYNAMIC_TOKEN'] = 'first';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e237929052b926f2 Environment-variable access.
repo/packages/core/src/agents/auth-provider/http-provider.test.ts:103
      process.env['DYNAMIC_TOKEN'] = 'second';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0b236617ddd4d2f4 Environment-variable access.
repo/packages/core/src/agents/auth-provider/http-provider.test.ts:111
      delete process.env['DYNAMIC_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c0f36de43d94a54e Environment-variable access.
repo/packages/core/src/agents/auth-provider/value-resolver.ts:36
    const resolved = 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 #ac537e1cd3b34454 Environment-variable access.
repo/packages/core/src/agents/browser/browserManager.ts:586
    const sandboxType = process.env['SANDBOX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ae6ae138cce97358 Environment-variable access.
repo/packages/core/src/agents/registry.ts:296
      const sandboxType = process.env['SANDBOX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eaa14bad7c1ec643 Environment-variable access.
repo/packages/core/src/agents/registry_acknowledgement.test.ts:53
    originalGeminiCliHome = process.env['GEMINI_CLI_HOME'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed141447e0d3dadb Environment-variable access.
repo/packages/core/src/agents/registry_acknowledgement.test.ts:54
    process.env['GEMINI_CLI_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 production #6083811c31ed8e20 Environment-variable access.
repo/packages/core/src/agents/registry_acknowledgement.test.ts:97
      process.env['GEMINI_CLI_HOME'] = originalGeminiCliHome;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #adf40d0e466dc227 Environment-variable access.
repo/packages/core/src/agents/registry_acknowledgement.test.ts:99
      delete process.env['GEMINI_CLI_HOME'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7098018a3ad4924e Environment-variable access.
repo/packages/core/src/code_assist/experiments/client_metadata.test.ts:27
  const originalCliVersion = process.env['CLI_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 #74948827ca71f8f9 Environment-variable access.
repo/packages/core/src/code_assist/experiments/client_metadata.test.ts:44
    process.env['CLI_VERSION'] = originalCliVersion;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e167c72451c10b80 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments.test.ts:22
    delete process.env['GEMINI_EXP'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bd52b3052d0f91d8 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments.ts:33
    if (process.env['GEMINI_EXP']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #72e34ec96d62b1f6 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments.ts:35
        const expPath = process.env['GEMINI_EXP'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4dc9a3fe07a33d5f Filesystem access.
repo/packages/core/src/code_assist/experiments/experiments.ts:37
        const content = await fs.promises.readFile(expPath, '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 #3089997aa0ce17f0 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments_local.test.ts:38
    process.env['GEMINI_EXP'] = ''; // Clear env var

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ea08aecf026c7376 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments_local.test.ts:48
    delete process.env['GEMINI_EXP'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #730e58f35367cbc4 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments_local.test.ts:52
    process.env['GEMINI_EXP'] = '/tmp/experiments.json';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #72a37e67a912bf67 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments_local.test.ts:75
    process.env['GEMINI_EXP'] = '/tmp/missing.json';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6fe5ed0f6f8d3ac0 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments_local.test.ts:101
    process.env['GEMINI_EXP'] = '/tmp/experiments.json';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #16798248204aeb27 Environment-variable access.
repo/packages/core/src/code_assist/experiments/experiments_local.test.ts:125
    process.env['GEMINI_EXP'] = '/tmp/invalid.json';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9abc475be698450a Filesystem access.
repo/packages/core/src/code_assist/oauth-credential-storage.ts:117
      credsJson = await fs.readFile(oldFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1cb090cf0d7c338 Environment-variable access.
repo/packages/core/src/code_assist/oauth2.test.ts:137
      process.env[FORCE_ENCRYPTED_FILE_ENV_VAR] = '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 production #397500887967037e Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:271
      const cachedGoogleAccount = fs.readFileSync(googleAccountPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5da9806f3d6aac1c Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:289
      await fs.promises.writeFile(credsPath, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #513ee1124ccb22d4 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:300
      await fs.promises.writeFile(credsPath, JSON.stringify(cachedCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #db2c85415a90f242 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:482
        const cachedGoogleAccount = fs.readFileSync(googleAccountPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f30ab8fc1899951c Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:515
        await fs.promises.writeFile(credsPath, JSON.stringify(cachedCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5e99321fa33b4452 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:588
        await fs.promises.writeFile(
          defaultCredsPath,
          JSON.stringify(defaultCreds),
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0744c43259f08abf Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:596
        await fs.promises.writeFile(envCredsPath, JSON.stringify(envCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #691e69cf78d58c28 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:620
        await fs.promises.writeFile(envCredsPath, JSON.stringify(envCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7994c2a786d35ec8 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:646
        await fs.promises.writeFile(
          envCredsPath,
          JSON.stringify(byoidCredentials),
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aefe962016cd76f7 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:736
        const cachedContent = fs.readFileSync(googleAccountPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e12e1f324bccd451 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:767
        await fs.promises.writeFile(credsPath, JSON.stringify(cachedCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ad158e4191f3b8d6 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:800
        await fs.promises.writeFile(credsPath, JSON.stringify(cachedCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3fb8cdf258cbbdbe Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:1538
        await fs.promises.writeFile(credsPath, JSON.stringify(cachedCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #81ed9d287bd6887f Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:1546
        await fs.promises.writeFile(
          googleAccountPath,
          JSON.stringify(accountData),
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d38dd337578d4cd7 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:1562
          fs.readFileSync(googleAccountPath, 'utf-8'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bbf856f1e1dd4d5e Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:1589
        await fs.promises.writeFile(
          credsPath,
          JSON.stringify({ refresh_token: 'token' }),
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #908635cd9b55c11c Environment-variable access.
repo/packages/core/src/code_assist/oauth2.test.ts:1614
      process.env[FORCE_ENCRYPTED_FILE_ENV_VAR] = '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 #36cfb62cd22b7b98 Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:1745
      await fs.promises.writeFile(credsPath, JSON.stringify(unencryptedCreds));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3c88eae0f0bc158f Filesystem access.
repo/packages/core/src/code_assist/oauth2.test.ts:1777
      await fs.promises.writeFile(credsPath, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9719f1378b39eb8e Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:64
      process.env['GOOGLE_CLOUD_QUOTA_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 production #9df2ef85894e4ea7 Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:65
      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 production #6508da0ce9a9e16a Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:66
      process.env['GOOGLE_CLOUD_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 production #a660b0befb6022cc Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:113
  return process.env[FORCE_ENCRYPTED_FILE_ENV_VAR] === '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 #c005bc81c2e13a61 Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:153
    process.env['GOOGLE_GENAI_USE_GCA'] &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1b5c0a6f68c2f575 Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:154
    process.env['GOOGLE_CLOUD_ACCESS_TOKEN']

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9425cc0422c53d34 Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:157
      access_token: process.env['GOOGLE_CLOUD_ACCESS_TOKEN'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f3a3526ee1b939a9 Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:511
  const host = process.env['OAUTH_CALLBACK_HOST'] || '127.0.0.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 #5767ddfa25755fd6 Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:637
      const portStr = process.env['OAUTH_CALLBACK_PORT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #124f386da6a0716d Environment-variable access.
repo/packages/core/src/code_assist/oauth2.ts:676
    process.env['GOOGLE_APPLICATION_CREDENTIALS'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5b73891f81c2b3d9 Filesystem access.
repo/packages/core/src/code_assist/oauth2.ts:681
      const keyFileString = 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 #df12c88089b42db0 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/code_assist/oauth2.ts:729
    const response = await fetch(
      'https://www.googleapis.com/oauth2/v2/userinfo',
      {
        headers: {
          Authorization: `Bearer ${token}`,
        },
      },
    );

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 #bed70edcbab56868 Filesystem access.
repo/packages/core/src/code_assist/oauth2.ts:765
  await fs.writeFile(filePath, credString, { 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 production #353ae318e8e49838 Environment-variable access.
repo/packages/core/src/code_assist/server.test.ts:358
      process.env['CODE_ASSIST_ENDPOINT'] = 'https://custom-endpoint.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 production #e1d17b41b0f8d2ad Environment-variable access.
repo/packages/core/src/code_assist/server.test.ts:365
      process.env['CODE_ASSIST_API_VERSION'] = 'v2beta';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a02e4aa32f03b4cd Environment-variable access.
repo/packages/core/src/code_assist/server.test.ts:372
      process.env['CODE_ASSIST_API_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 #e9b4ad3c31ee9e5c Environment-variable access.
repo/packages/core/src/code_assist/server.ts:522
      process.env['CODE_ASSIST_ENDPOINT'] ?? CODE_ASSIST_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 production #4a882c61f2d5b347 Environment-variable access.
repo/packages/core/src/code_assist/server.ts:524
      process.env['CODE_ASSIST_API_VERSION'] || CODE_ASSIST_API_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 #f51351742915bcb5 Environment-variable access.
repo/packages/core/src/code_assist/setup.ts:130
    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 production #d450b6380b893d41 Environment-variable access.
repo/packages/core/src/code_assist/setup.ts:131
    process.env['GOOGLE_CLOUD_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 production #70902550a286d62a Filesystem access.
repo/packages/core/src/commands/memory.test.ts:185
      await fs.writeFile(
        path.join(dir, 'SKILL.md'),
        `---\nname: ${name}\ndescription: ${description}\n---\nBody content here\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 #155dbfb554011332 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:229
      await fs.writeFile(
        path.join(memoryTempDir, '.extraction-state.json'),
        stateContent,
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #79faa49893d8bc1c Filesystem access.
repo/packages/core/src/commands/memory.test.ts:362
      await fs.writeFile(target, '- old\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 #149928a42770af8d Filesystem access.
repo/packages/core/src/commands/memory.test.ts:366
      await fs.writeFile(
        path.join(patchDir, 'a-update.patch'),
        buildUpdatePatch(target, '- old\n', '- new\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 #4c87f651a43126a6 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:372
      await fs.writeFile(sibling, 'topic A\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 #1ff7b33158b59737 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:373
      await fs.writeFile(
        path.join(patchDir, 'b-topic.patch'),
        buildUpdatePatch(sibling, 'topic A\n', 'topic B\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 #4c584a61b7474d85 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:405
      await fs.writeFile(
        path.join(patchDir, 'escape.patch'),
        buildCreationPatch(path.join(projectRoot, 'GEMINI.md'), 'Hi.\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 #9712e58ef23dbb53 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:443
        await fs.writeFile(
          path.join(patchDir, fileName),
          buildCreationPatch(targetPath, 'rejected\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 #dcd6ebf9b39b5801 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:472
      await fs.writeFile(
        path.join(patchDir, 'wrong-name.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'memory.md'),
          'rejected\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 #08f6bdfd2c070035 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:479
      await fs.writeFile(
        path.join(patchDir, 'sibling.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'notes.md'),
          'rejected\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 #2e23d1942f15c7bf Filesystem access.
repo/packages/core/src/commands/memory.test.ts:486
      await fs.writeFile(
        path.join(patchDir, 'settings.patch'),
        buildCreationPatch(path.join(globalMemoryDir, 'settings.json'), '{}\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 #517bf85ddee4db3d Filesystem access.
repo/packages/core/src/commands/memory.test.ts:490
      await fs.writeFile(
        path.join(patchDir, 'nested.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'GEMINI.md', 'nested.md'),
          'rejected\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 #702e42679de136a8 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:504
      await fs.writeFile(target, '- old\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 #8e9809af54fde7b7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:508
      await fs.writeFile(
        path.join(patchDir, 'MEMORY.patch'),
        buildUpdatePatch(target, '- old\n', '- accepted\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 #fb416df5f48c9a63 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:520
      await expect(fs.readFile(target, 'utf-8')).resolves.toBe('- accepted\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 #0fe00c1202e56f69 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:530
        await fs.writeFile(target, '- old\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 #39218c75a2bfff52 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:534
        await fs.writeFile(
          path.join(patchDir, 'MEMORY.patch'),
          buildUpdatePatch(
            swapAsciiPathCase(target),
            '- old\n',
            '- accepted\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 #b06ebbf425a3fc04 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:553
        await expect(fs.readFile(target, 'utf-8')).resolves.toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #65d56523c6649f4f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:564
      await fs.writeFile(memoryMd, '# Project Memory\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 #b303ed105502377d Filesystem access.
repo/packages/core/src/commands/memory.test.ts:578
      await fs.writeFile(path.join(patchDir, 'topic.patch'), multiHunkPatch);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a991a35f40541e42 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:587
      await expect(fs.readFile(target, 'utf-8')).resolves.toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3454f19a3728fbea Filesystem access.
repo/packages/core/src/commands/memory.test.ts:590
      await expect(fs.readFile(memoryMd, 'utf-8')).resolves.toContain(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2a96cd17c9d40fd1 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:603
      await fs.writeFile(memoryMd, '# Project Memory\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 #231976a27e66bc16 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:608
      await fs.writeFile(
        path.join(patchDir, 'orphan-topic.patch'),
        buildCreationPatch(target, '# Orphan Topic\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 #3ca90d3bee2e27c0 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:623
      await expect(fs.readFile(target, 'utf-8')).resolves.toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3b11035ed3b5814a Filesystem access.
repo/packages/core/src/commands/memory.test.ts:632
      const memoryAfter = await fs.readFile(memoryMd, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8e78b256b5d33fc1 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:654
      await fs.writeFile(
        path.join(patchDir, 'fresh-topic.patch'),
        buildCreationPatch(target, '# Fresh Topic\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 #f032367b0c0957d7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:667
      const memoryAfter = await fs.readFile(memoryMd, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e990778dfa372543 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:677
      await fs.writeFile(
        memoryMd,
        '# Project Memory\n- See later-topic.md for details.\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 #99082a5397ac8ff7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:685
      await fs.writeFile(
        path.join(patchDir, 'later-topic.patch'),
        buildCreationPatch(target, '# Later Topic\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 #29f99a1d15fb01f4 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:697
      await expect(fs.readFile(target, 'utf-8')).resolves.toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc08e806f479ae11 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:709
      await fs.writeFile(
        path.join(patchDir, 'GEMINI.patch'),
        buildCreationPatch(target, '# Personal preferences\n- prefer X\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 #5b8e0e01ad34fd30 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:721
      await expect(fs.readFile(target, 'utf-8')).resolves.toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3f854404d1375ea7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:731
      await fs.writeFile(target, '- prefer X\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 #992db8223e4e8df6 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:735
      await fs.writeFile(
        path.join(patchDir, 'GEMINI.patch'),
        buildUpdatePatch(target, '- prefer X\n', '- prefer Y\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 #deabfe548af06f3e Filesystem access.
repo/packages/core/src/commands/memory.test.ts:747
      await expect(fs.readFile(target, 'utf-8')).resolves.toBe('- prefer Y\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 #0a9b6aecd633395b Filesystem access.
repo/packages/core/src/commands/memory.test.ts:757
        await fs.writeFile(target, '- prefer X\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 #16266c5249aa95f0 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:761
        await fs.writeFile(
          path.join(patchDir, 'GEMINI.patch'),
          buildUpdatePatch(
            swapAsciiPathCase(target),
            '- prefer X\n',
            '- prefer Y\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 #ba6fd5cb4e6f526a Filesystem access.
repo/packages/core/src/commands/memory.test.ts:780
        await expect(fs.readFile(target, 'utf-8')).resolves.toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8b953590485208aa Filesystem access.
repo/packages/core/src/commands/memory.test.ts:789
      await fs.writeFile(
        path.join(patchDir, 'GEMINI.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'GEMINI.md'),
          'Prefer concise.\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 #9c83ac78cb6b294f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:814
      await fs.writeFile(memoryMd, '- old\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 #e12eba0603799be8 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:816
      await fs.writeFile(sibling, 'topic A\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 #3db81fafcac3e5b9 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:820
      await fs.writeFile(
        path.join(patchDir, 'a-update.patch'),
        buildUpdatePatch(memoryMd, '- old\n', '- new\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 #1ff942e96648188b Filesystem access.
repo/packages/core/src/commands/memory.test.ts:824
      await fs.writeFile(
        path.join(patchDir, 'b-topic.patch'),
        buildUpdatePatch(sibling, 'topic A\n', 'topic B\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 #af9c1217568fbb09 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:839
      await expect(fs.readFile(memoryMd, 'utf-8')).resolves.toBe('- new\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 #808aebf06ea1f04e Filesystem access.
repo/packages/core/src/commands/memory.test.ts:840
      await expect(fs.readFile(sibling, 'utf-8')).resolves.toBe('topic B\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 #c2d2e81d68058982 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:851
      await fs.writeFile(memoryMd, '- old\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 #a320c963972b067d Filesystem access.
repo/packages/core/src/commands/memory.test.ts:856
      await fs.writeFile(
        path.join(patchDir, 'a-good.patch'),
        buildUpdatePatch(memoryMd, '- old\n', '- new\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 #b710981e073501c3 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:861
      await fs.writeFile(
        path.join(patchDir, 'b-stale.patch'),
        buildUpdatePatch(memoryMd, '- never existed\n', '- attempted\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 #7a3e7f8ce392d569 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:880
      await expect(fs.readFile(memoryMd, 'utf-8')).resolves.toBe('- new\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 #680c5dab737d00b3 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:892
      await fs.writeFile(
        path.join(patchDir, 'a.patch'),
        buildCreationPatch(path.join(memoryTempDir, 'a.md'), 'a\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 #f59480e637974883 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:896
      await fs.writeFile(
        path.join(patchDir, 'b.patch'),
        buildCreationPatch(path.join(memoryTempDir, 'b.md'), 'b\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 #cfa53a5359f037ac Filesystem access.
repo/packages/core/src/commands/memory.test.ts:918
      await fs.writeFile(
        path.join(patchDir, 'wrong-name.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'memory.md'),
          'Should be rejected.\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 #de33ee893e9e186f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:927
      await fs.writeFile(
        path.join(patchDir, 'sibling.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'notes.md'),
          'Should be rejected.\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 #e004ba98471a03fc Filesystem access.
repo/packages/core/src/commands/memory.test.ts:936
      await fs.writeFile(
        path.join(patchDir, 'settings.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'settings.json'),
          '{"foo": 1}\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 #024f0525fae39c29 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:945
      await fs.writeFile(
        path.join(patchDir, 'nested.patch'),
        buildCreationPatch(
          path.join(globalMemoryDir, 'GEMINI.md', 'nested.md'),
          'Should be rejected.\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 #cece455f5213dc52 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:992
      await fs.writeFile(target, 'pre-existing\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 #fbcefde118b91dd3 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:996
      await fs.writeFile(
        path.join(patchDir, 'MEMORY.patch'),
        buildCreationPatch(target, 'replacement\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 #9ce7173e9e3121d4 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1009
      await expect(fs.readFile(target, 'utf-8')).resolves.toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7809b8a55398b82e Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1032
      await fs.writeFile(
        path.join(dir, 'SKILL.md'),
        `---\nname: ${name}\ndescription: ${description}\n---\nBody content here\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 #ccd422940ab02b85 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1068
      const targetSkill = await fs.readFile(
        path.join(globalSkillsDir, 'my-skill', 'SKILL.md'),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7716283c01c39f1d Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1089
      const targetSkill = await fs.readFile(
        path.join(projectSkillsDir, 'my-skill', 'SKILL.md'),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a21d02eeb83f5f57 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1121
      await fs.writeFile(path.join(targetDir, 'SKILL.md'), 'existing 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 #eb13f281172afc7f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1141
      await fs.writeFile(
        path.join(
          globalSkillsDir,
          'existing-gke-prs-troubleshooter',
          'SKILL.md',
        ),
        [
          '---',
          'name: gke-prs-troubleshooter',
          'description: Existing skill',
          '---',
          'Existing body content',
          '',
        ].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 #c2bca895df14ca27 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1184
      await fs.writeFile(
        path.join(dir, 'SKILL.md'),
        `---\nname: ${name}\ndescription: ${description}\n---\nBody content here\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 #dbba78e4faabb7c9 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1290
      await fs.writeFile(
        path.join(skillsDir, 'update-skill.patch'),
        patchContent,
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d080c605b1dd7028 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1311
      await fs.writeFile(
        path.join(memoryTempDir, '.extraction-state.json'),
        JSON.stringify({
          runs: [
            {
              runAt: '2025-02-01T00:00:00Z',
              sessionIds: ['later-run'],
              skillsCreated: [],
            },
          ],
        }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cc55fffc77d10fb7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1324
      await fs.writeFile(
        path.join(skillsDir, 'first.patch'),
        [
          `--- ${firstTarget}`,
          `+++ ${firstTarget}`,
          '@@ -1,1 +1,1 @@',
          '-before',
          '+after',
          '',
        ].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 #f09a2917ea655f0c Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1335
      await fs.writeFile(
        path.join(skillsDir, 'second.patch'),
        [
          `--- ${secondTarget}`,
          `+++ ${secondTarget}`,
          '@@ -1,1 +1,1 @@',
          '-before',
          '+after',
          '',
        ].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 #610a1d8373d910db Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1371
      await fs.writeFile(
        path.join(skillsDir, 'empty.patch'),
        'not a valid patch',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c3bd6c259b537cb7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1418
      await fs.writeFile(targetFile, 'line1\nline2\nline3\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 #08993a9affb183d8 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1431
      await fs.writeFile(patchPath, patchContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e81341a355f7a9cb Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1439
      const modified = await fs.readFile(targetFile, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ca6d88fe7292f96a Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1449
      await fs.writeFile(file1, 'aaa\nbbb\nccc\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 #3535b4ec89c38163 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1450
      await fs.writeFile(file2, 'xxx\nyyy\nzzz\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 #a14be1470cdd0ed6 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1469
      await fs.writeFile(path.join(skillsDir, 'multi.patch'), patchContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4ff4a9818873b53e Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1476
      expect(await fs.readFile(file1, 'utf-8')).toContain('bbb2');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0e188016d27ff48d Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1477
      expect(await fs.readFile(file2, 'utf-8')).toContain('yyy2');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2d4927bfb5c7035b Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1482
      await fs.writeFile(targetFile, 'alpha\nbeta\ngamma\ndelta\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 #36adaec2b818d20f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1484
      await fs.writeFile(
        path.join(skillsDir, 'multi-section.patch'),
        [
          `--- ${targetFile}`,
          `+++ ${targetFile}`,
          '@@ -1,4 +1,5 @@',
          ' alpha',
          ' beta',
          '+beta2',
          ' gamma',
          ' delta',
          `--- ${targetFile}`,
          `+++ ${targetFile}`,
          '@@ -2,4 +2,5 @@',
          ' beta',
          ' beta2',
          ' gamma',
          '+gamma2',
          ' delta',
          '',
        ].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 #0414e4cfe55a5e35 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1511
      expect(await fs.readFile(targetFile, 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5988561c79b2abbc Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1518
      await fs.writeFile(targetFile, 'original content\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 #d7ecbd85f0a12c23 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1521
      await fs.writeFile(
        patchPath,
        [
          '--- /dev/null',
          `+++ ${targetFile}`,
          '@@ -0,0 +1 @@',
          '+replacement content',
          '',
        ].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 #c2646fac5ffc69a7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1536
      expect(await fs.readFile(targetFile, 'utf-8')).toBe('original content\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 #40f3105ce45765e9 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1549
      await fs.writeFile(outsidePatch, 'outside patch 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 #2779335a5ba910ad Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1570
      await fs.writeFile(
        path.join(skillsDir, 'bad-target.patch'),
        patchContent,
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #20662c0814f49f31 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1583
      await fs.writeFile(outsideFile, 'line1\nline2\nline3\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 #b959d1974d32fd16 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1596
      await fs.writeFile(patchPath, patchContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4c2ef7a75074336f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1604
      expect(await fs.readFile(outsideFile, 'utf-8')).not.toContain('line2.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 #45fe125ff3fc5902 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1619
      await fs.writeFile(outsideFile, 'line1\nline2\nline3\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 #ae7e9fc2ab92c069 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1622
      await fs.writeFile(
        patchPath,
        [
          `--- ${path.join(linkDir, 'escaped.md')}`,
          `+++ ${path.join(linkDir, 'escaped.md')}`,
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #51f2192bb29eeb7f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1642
      expect(await fs.readFile(outsideFile, 'utf-8')).not.toContain('line2.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 #3a6274fd2fbdf5b4 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1647
      await fs.writeFile(
        path.join(skillsDir, 'empty.patch'),
        [
          `--- ${path.join(projectSkillsDir, 'target.md')}`,
          `+++ ${path.join(projectSkillsDir, 'target.md')}`,
          '',
        ].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 #ef719add6b7a9cf1 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1664
      await fs.writeFile(targetFile, 'line1\nline2\nline3\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 #49a5281b0de5ba3b Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1667
      await fs.writeFile(
        patchPath,
        [
          `--- ${targetFile}`,
          `+++ ${targetFile}`,
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #aed6224d5169bf01 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1691
      expect(await fs.readFile(targetFile, 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4d248680dc77aad0 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1712
      await fs.writeFile(targetFile, 'line1\nline2\nline3\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 #07cfcbc94ca0822c Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1715
      await fs.writeFile(
        patchPath,
        [
          `--- ${targetFile}`,
          `+++ ${targetFile}`,
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #b4b4c1c27d4f749f Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1742
      expect(await fs.readFile(targetFile, 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f177b7c400856bed Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1751
      await fs.writeFile(sourceFile, 'aaa\nbbb\nccc\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 #836202ad7c31dc53 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1752
      await fs.writeFile(targetFile, 'xxx\nyyy\nzzz\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 #b1df215c053cfa12 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1755
      await fs.writeFile(
        patchPath,
        [
          `--- ${sourceFile}`,
          `+++ ${targetFile}`,
          '@@ -1,3 +1,4 @@',
          ' xxx',
          ' yyy',
          '+yyy2',
          ' zzz',
          '',
        ].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 #14cb9e188e646990 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1776
      expect(await fs.readFile(sourceFile, 'utf-8')).toBe('aaa\nbbb\nccc\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 #d491d01365afbd01 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1777
      expect(await fs.readFile(targetFile, 'utf-8')).toBe('xxx\nyyy\nzzz\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 #d7134b546e61631c Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1783
      await fs.writeFile(targetFile, 'line1\nline2\nline3\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 #4b7da963d924c448 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1786
      await fs.writeFile(
        patchPath,
        [
          `--- a/${targetFile}`,
          `+++ b/${targetFile}`,
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #548834b1725ecb4e Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1804
      expect(await fs.readFile(targetFile, 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #45ad2d77de4e8460 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1812
      await fs.writeFile(file1, 'aaa\nbbb\nccc\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 #78f6076a2b7fa509 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1832
      await fs.writeFile(path.join(skillsDir, 'partial.patch'), patchContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d401f3a535c676a3 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1838
      const content = await fs.readFile(file1, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #78434277b686e072 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1844
      await fs.writeFile(file1, 'aaa\nbbb\nccc\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 #ededdd2044f082c2 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1850
      await fs.writeFile(
        patchPath,
        [
          `--- ${file1}`,
          `+++ ${file1}`,
          '@@ -1,3 +1,4 @@',
          ' aaa',
          ' bbb',
          '+bbb2',
          ' ccc',
          '--- /dev/null',
          `+++ ${conflictPath}`,
          '@@ -0,0 +1 @@',
          '+new file content',
          '--- /dev/null',
          `+++ ${nestedNewFile}`,
          '@@ -0,0 +1 @@',
          '+nested new file content',
          '',
        ].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 #28e49167a83543ac Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1876
      expect(await fs.readFile(file1, 'utf-8')).toBe('aaa\nbbb\nccc\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 #577563bb66f6e85a Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1906
      await fs.writeFile(patchPath, 'some patch 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 #1b52820f1b3c80b7 Filesystem access.
repo/packages/core/src/commands/memory.test.ts:1927
      await fs.writeFile(outsidePatch, 'outside patch 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 #f40aced331b67ceb Filesystem access.
repo/packages/core/src/commands/memory.ts:156
      content = await fs.readFile(skillPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #461db4c22d67456c Filesystem access.
repo/packages/core/src/commands/memory.ts:469
        content = await fs.readFile(sourcePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff1c015b84ce59fc Filesystem access.
repo/packages/core/src/commands/memory.ts:730
      originalContent = await fs.readFile(memoryMdPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5e4ddf4bd29cb50b Filesystem access.
repo/packages/core/src/commands/memory.ts:790
    content = await fs.readFile(patchPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dedd9e29f5d4f494 Filesystem access.
repo/packages/core/src/commands/memory.ts:1042
    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 production #2032f56d0e9c40ff Filesystem access.
repo/packages/core/src/commands/memory.ts:1162
      const content = await fs.readFile(patchPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e4eccbd555192e38 Filesystem access.
repo/packages/core/src/commands/memory.ts:1205
    content = await fs.readFile(patchPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e47257dd5a2ed619 Filesystem access.
repo/packages/core/src/config/config-agents-reload.test.ts:58
    await fs.writeFile(agentPath, agentContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #70d95534115afec9 Filesystem access.
repo/packages/core/src/config/config-agents-reload.test.ts:118
    await fs.writeFile(agentPath, agentContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3f631de57879a574 Filesystem access.
repo/packages/core/src/config/config-agents-reload.test.ts:160
    await fs.writeFile(agentPath, agentContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ccf55b5574910ab9 Filesystem access.
repo/packages/core/src/config/config-agents-reload.test.ts:202
    await fs.writeFile(agentPath, agentContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #25c7691ab4cae0bf Environment-variable access.
repo/packages/core/src/config/config.ts:2162
    const seatbeltProfile = process.env['SEATBELT_PROFILE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #574a046ee3f4680b Environment-variable access.
repo/packages/core/src/config/config.ts:3844
      process.env['GEMINI_CLI_EXP_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 production #6a6367b9d734e007 Environment-variable access.
repo/packages/core/src/config/config.ts:3851
      process.env['GEMINI_CLI_EXP_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 production #8ecbee53072a481c Filesystem access.
repo/packages/core/src/config/extensions/integrity.ts:88
      const key = await fs.promises.readFile(this.fallbackKeyPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8f2bda6db2e9f81e Filesystem access.
repo/packages/core/src/config/extensions/integrity.ts:100
        await fs.promises.writeFile(this.fallbackKeyPath, key, { 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 production #1badabe8e172ea74 Filesystem access.
repo/packages/core/src/config/extensions/integrity.ts:127
      content = await fs.promises.readFile(this.integrityStorePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #718d3209ac525560 Filesystem access.
repo/packages/core/src/config/extensions/integrity.ts:183
    await fs.promises.writeFile(tmpPath, JSON.stringify(finalData, 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 production #d0b84fad647c2409 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:92
    const data = JSON.parse(fs.readFileSync(registryPath, '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 #d1c3692d4a9a7ffd Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:121
    expect(normalizePath(fs.readFileSync(marker1, 'utf8'))).toBe(projectPath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fdf27f82f3c4b12c Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:122
    expect(normalizePath(fs.readFileSync(marker2, 'utf8'))).toBe(projectPath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d0fae5db8abd2e96 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:131
    fs.writeFileSync(path.join(slugDir, '.project_root'), projectPath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #49a02e1fca0a712e Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:143
    expect(normalizePath(fs.readFileSync(marker2, 'utf8'))).toBe(projectPath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #37f51e0e46c7e405 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:152
    fs.writeFileSync(path.join(slugDir, '.project_root'), projectY);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ad19e43d68242c7e Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:168
    fs.writeFileSync(
      registryPath,
      JSON.stringify({
        projects: {
          [projectPath]: 'my-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 production #e8aabd48cc4ca956 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:180
    fs.writeFileSync(
      path.join(slugDir, '.project_root'),
      normalizePath(path.join(tempDir, 'project-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 production #1112586b1c57c58c Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:203
    fs.writeFileSync(path.join(slugDir1, '.project_root'), projectPath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f9189a4f06d59e2a Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:214
    expect(normalizePath(fs.readFileSync(marker2, 'utf8'))).toBe(projectPath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a88255220e895825 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:222
    fs.writeFileSync(
      registryPath,
      JSON.stringify({
        projects: {
          [projectPath]: slug,
        },
      }),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c3df23d60516878c Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:247
        fs.readFileSync(path.join(baseDir1, slug, '.project_root'), '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 #140f5a990bf0f6ff Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:259
    fs.writeFileSync(
      path.join(slugDir, '.project_root'),
      normalizePath(path.join(tempDir, 'something-else')),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #370685a83b69ef6e Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:265
    fs.writeFileSync(
      registryPath,
      JSON.stringify({
        projects: {
          [projectPath]: slug,
        },
      }),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #345dc5c54fc88b0b Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:331
    const data = JSON.parse(fs.readFileSync(registryPath, '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 #b6c9f85f138581ed Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:359
    fs.writeFileSync(
      registryPath,
      JSON.stringify({ projects: { '/foo': 'bar' } }),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e12a36a9a05c8240 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:380
    fs.writeFileSync(registryPath, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e3835e3fde1f0e4d Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:392
    const data = JSON.parse(fs.readFileSync(registryPath, '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 #d96bb1cacfa2d2ed Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:399
    fs.writeFileSync(registryPath, JSON.stringify({ projects: [] }));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ac0910dfd675d965 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:411
    const data = JSON.parse(fs.readFileSync(registryPath, '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 #044c88a67efe6f68 Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:419
    fs.writeFileSync(
      registryPath,
      JSON.stringify({ projects: { '/some/path': '../../etc/passwd' } }),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #636ee0fb2c07365e Filesystem access.
repo/packages/core/src/config/projectRegistry.test.ts:434
    const data = JSON.parse(fs.readFileSync(registryPath, '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 #e829664b44e8c553 Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:64
      const content = await fs.promises.readFile(this.registryPath, '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 #d899c26ac588f6dc Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:117
      await fs.promises.writeFile(tmpPath, content, '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 #f835e35b897c9b1c Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:249
        const owner = (await fs.promises.readFile(markerPath, '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 #f3d0e38831db2b1b Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:287
              await fs.promises.readFile(markerPath, '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 #0fcd243506c877d3 Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:330
              await fs.promises.readFile(markerPath, '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 #4972610b60914771 Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:384
        const owner = (await fs.promises.readFile(markerPath, '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 #c6b94daffde6d239 Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:397
        await fs.promises.writeFile(markerPath, normalizedProject, {
          encoding: 'utf8',
          flag: 'wx',
        });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5051a1a8c2a9b530 Filesystem access.
repo/packages/core/src/config/projectRegistry.ts:404
          const owner = (await fs.promises.readFile(markerPath, '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 #eb24ba2c91eb14f9 Environment-variable access.
repo/packages/core/src/config/storage.test.ts:409
  const originalEnv = process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #701f5c86286f442d Environment-variable access.
repo/packages/core/src/config/storage.test.ts:413
      process.env['GEMINI_CLI_SYSTEM_SETTINGS_PATH'] = 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 production #3640e6ecdd128d04 Environment-variable access.
repo/packages/core/src/config/storage.test.ts:415
      delete process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #47ad7bc44cc840ba Environment-variable access.
repo/packages/core/src/config/storage.test.ts:420
    delete process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #79c903713c18307f Environment-variable access.
repo/packages/core/src/config/storage.test.ts:438
    process.env['GEMINI_CLI_SYSTEM_SETTINGS_PATH'] = customPath;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #077140bcc76d3164 Environment-variable access.
repo/packages/core/src/config/storage.test.ts:443
    process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #c01685c5126c534e Environment-variable access.
repo/packages/core/src/config/storage.ts:91
    if (process.env['GEMINI_CLI_TRUSTED_FOLDERS_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 #4b8a06690719e8e4 Environment-variable access.
repo/packages/core/src/config/storage.ts:92
      return process.env['GEMINI_CLI_TRUSTED_FOLDERS_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 #9db4be4abf0a3098 Environment-variable access.
repo/packages/core/src/config/storage.ts:144
    if (process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #1b3d56b9c675e30a Environment-variable access.
repo/packages/core/src/config/storage.ts:145
      return process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #c100a9a1f7209331 Filesystem access.
repo/packages/core/src/config/storage.ts:404
      const content = await fs.promises.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 #2bd9bf962a6fbe41 Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:32
    fs.writeFileSync(path.join(oldPath, 'test.txt'), '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 production #b7c80dd31a014afd Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:38
    expect(fs.readFileSync(path.join(newPath, 'test.txt'), 'utf8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5188d5e06612efdb Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:57
    fs.writeFileSync(path.join(oldPath, 'old.txt'), 'old');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0df38af7e5fc72f6 Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:58
    fs.writeFileSync(path.join(newPath, 'new.txt'), 'new');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e63ac868d3b4c3d8 Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:72
    fs.writeFileSync(path.join(oldPath, 'history.db'), '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 production #ecf2883e0355e28a Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:73
    fs.writeFileSync(path.join(newPath, '.project_root'), '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 #9847e9b8c5f2cdd8 Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:78
    expect(fs.readFileSync(path.join(newPath, 'history.db'), 'utf8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5ccda1b4bd1ce57a Filesystem access.
repo/packages/core/src/config/storageMigration.test.ts:81
    expect(fs.readFileSync(path.join(newPath, '.project_root'), 'utf8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #60bebd3c5075d7c7 Filesystem access.
repo/packages/core/src/context/config/configLoader.test.ts:45
    await fs.writeFile(sidecarPath, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dea596c296430253 Filesystem access.
repo/packages/core/src/context/config/configLoader.test.ts:60
    await fs.writeFile(sidecarPath, JSON.stringify(validConfig));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ca900d3eed6affce Filesystem access.
repo/packages/core/src/context/config/configLoader.test.ts:76
    await fs.writeFile(sidecarPath, JSON.stringify(invalidConfig));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0d2f16aae3e4e2e7 Filesystem access.
repo/packages/core/src/context/config/configLoader.test.ts:83
    await fs.writeFile(sidecarPath, '   \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 #40f1f98d9d4b1f59 Filesystem access.
repo/packages/core/src/context/config/configLoader.ts:29
  const fileContent = await fs.readFile(sidecarPath, '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 #9caca31f3e966cf4 Filesystem access.
repo/packages/core/src/context/contextCompressionService.ts:64
        const data = await fs.readFile(this.stateFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9ff81984d7b73006 Filesystem access.
repo/packages/core/src/context/contextCompressionService.ts:98
      await fs.writeFile(
        this.stateFilePath,
        JSON.stringify(obj, null, 2),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e3e61fb883abc8d0 Environment-variable access.
repo/packages/core/src/context/initializer.ts:84
    enabled: !!process.env['GEMINI_CONTEXT_TRACE_DIR'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9c0a524dcc2a1ffa Environment-variable access.
repo/packages/core/src/context/initializer.ts:130
        !!process.env['GEMINI_CONTEXT_CALIBRATE_TOKEN_CALCULATIONS'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1bb03c07fd1b2f6 Filesystem access.
repo/packages/core/src/context/processors/blobDegradationProcessor.ts:70
          await fs.writeFile(filePath, buffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1ebf2640a5c3bee7 Filesystem access.
repo/packages/core/src/context/processors/toolMaskingProcessor.ts:126
        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 #539d38196e832b6b Filesystem access.
repo/packages/core/src/context/toolOutputMaskingService.ts:190
      await fsPromises.writeFile(filePath, 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 #675d9304ff9afb2e Filesystem access.
repo/packages/core/src/context/tracer.test.ts:54
    const initTraceLog = readFileSync(traceLogPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #24ee2733e69d15f5 Filesystem access.
repo/packages/core/src/context/tracer.test.ts:61
    const smallTraceLog = readFileSync(traceLogPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #753b9fe7d5cbbe62 Filesystem access.
repo/packages/core/src/context/tracer.test.ts:79
    const largeTraceLog = readFileSync(traceLogPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #97d27ce0c59be06f Environment-variable access.
repo/packages/core/src/context/tracer.ts:29
      process.env['GEMINI_CONTEXT_TRACE_DIR'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fca449be23249c3e Filesystem access.
repo/packages/core/src/context/tracer.ts:94
      fsSync.writeFileSync(assetPath, JSON.stringify(data, null, 2), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9481f1230dc6e08d Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:81
  if (process.env['GOOGLE_GENAI_USE_GCA'] === '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 #42369f93d912745b Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:84
  if (process.env['GOOGLE_GENAI_USE_VERTEXAI'] === '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 #bfd7215c7e730fb0 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:87
  if (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 production #9efdf00567f7e01d Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:90
  if (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 production #4c74b9e7e8b51d64 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:94
    process.env['CLOUD_SHELL'] === '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 #c2642ba7227d1558 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:95
    process.env['GEMINI_CLI_USE_COMPUTE_ADC'] === '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 #6ee6618c720c3b8f Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:169
    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 production #bab2203e8dd0d230 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:172
  const googleApiKey = process.env['GOOGLE_API_KEY'] || 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 #f44d9f82b32fa68c Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:174
    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 production #ce70e17f44850ad6 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:175
    process.env['GOOGLE_CLOUD_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 production #8adb96e463b8fa8b Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:177
  const googleCloudLocation = process.env['GOOGLE_CLOUD_LOCATION'] || 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 #9a04871b89f3d187 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:198
      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 production #9d5660b8876dc32c Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:238
      process.env['GEMINI_CLI_CUSTOM_HEADERS'] || 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 #ed5f57e4dac757d7 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:256
      const vscodeVersion = process.env['TERM_PROGRAM_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 #107ed4c649afdb21 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:260
          process.env['CLOUD_SHELL_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 #cee858e014fcce40 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:274
      process.env['GEMINI_API_KEY_AUTH_MECHANISM'] || 'x-goog-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 #93c9457f8ec1085a Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:275
    const apiVersionEnv = process.env['GOOGLE_GENAI_API_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 #e2de8370b7fbb2a5 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:348
            ? process.env['GOOGLE_VERTEX_BASE_URL']

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9cc7b4098c2afa4a Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:349
            : 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 production #eb887bf747584072 Environment-variable access.
repo/packages/core/src/core/contentGenerator.ts:354
          const 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 production #f8b1d18d6dc0433b Filesystem access.
repo/packages/core/src/core/fakeContentGenerator.ts:74
    const fileContent = await promises.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 #0dec3283e2eb79b1 Filesystem access.
repo/packages/core/src/core/logger.test.ts:60
    const content = await fs.readFile(TEST_LOG_FILE_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 #982eb1203e45a57c Filesystem access.
repo/packages/core/src/core/logger.test.ts:149
      await fs.writeFile(
        TEST_LOG_FILE_PATH,
        JSON.stringify(existingLogs, 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 #c781f8ecfb91ad0a Filesystem access.
repo/packages/core/src/core/logger.test.ts:173
      await fs.writeFile(
        TEST_LOG_FILE_PATH,
        JSON.stringify(existingLogs, 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 #dee163108a8ef0a9 Filesystem access.
repo/packages/core/src/core/logger.test.ts:197
      await fs.writeFile(TEST_LOG_FILE_PATH, 'invalid json');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #709d1b6358c91735 Filesystem access.
repo/packages/core/src/core/logger.test.ts:222
      await fs.writeFile(
        TEST_LOG_FILE_PATH,
        JSON.stringify({ not: 'an array' }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e61c39afdca95603 Filesystem access.
repo/packages/core/src/core/logger.test.ts:447
      const fileContent = await fs.readFile(taggedFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f8605d4c89d57669 Filesystem access.
repo/packages/core/src/core/logger.test.ts:480
      await fs.writeFile(
        TEST_CHECKPOINT_FILE_PATH,
        JSON.stringify(conversation, 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 #4d0ecee92af91fa8 Filesystem access.
repo/packages/core/src/core/logger.test.ts:516
      await fs.writeFile(
        taggedFilePath,
        JSON.stringify(taggedConversation, 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 #78fc1751b0c5c700 Filesystem access.
repo/packages/core/src/core/logger.test.ts:534
      await fs.writeFile(taggedFilePath, JSON.stringify(conversation, 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 #b79b61fc0b8d0eb1 Filesystem access.
repo/packages/core/src/core/logger.test.ts:558
      await fs.writeFile(taggedFilePath, 'invalid json');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bafbc3deefcaaee8 Filesystem access.
repo/packages/core/src/core/logger.test.ts:601
      await fs.writeFile(taggedFilePath, JSON.stringify(conversation));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #85f70baf6d648606 Filesystem access.
repo/packages/core/src/core/logger.test.ts:621
      await fs.writeFile(oldStylePath, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #679ec257f5f13c18 Filesystem access.
repo/packages/core/src/core/logger.test.ts:622
      await fs.writeFile(newStylePath, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #67ce783c32e6362b Filesystem access.
repo/packages/core/src/core/logger.test.ts:692
      await fs.writeFile(taggedFilePath, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b2c2b2f500678680 Filesystem access.
repo/packages/core/src/core/logger.test.ts:749
      await fs.writeFile(
        taggedFilePath,
        JSON.stringify(taggedConversation, 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 #d0596c271cc5f28b Filesystem access.
repo/packages/core/src/core/logger.ts:90
      const fileContent = await fs.readFile(this.logFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0c15fe12bf59f528 Filesystem access.
repo/packages/core/src/core/logger.ts:161
        await fs.writeFile(this.logFilePath, '[]', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84ddcac2247f49b4 Filesystem access.
repo/packages/core/src/core/logger.ts:230
      await fs.writeFile(
        this.logFilePath,
        JSON.stringify(currentLogsOnDisk, null, 2),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #13388ee23e814505 Filesystem access.
repo/packages/core/src/core/logger.ts:339
      await fs.writeFile(path, JSON.stringify(checkpoint, null, 2), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fb19975d98af10b0 Filesystem access.
repo/packages/core/src/core/logger.ts:355
      const fileContent = await fs.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 production #d404408863cbcffe Environment-variable access.
repo/packages/core/src/core/loggingContentGenerator.ts:216
      const 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 production #1d1bace7775775d1 Filesystem access.
repo/packages/core/src/hooks/trustedHooks.ts:37
        const content = fs.readFileSync(this.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 #6270d5b23b762f46 Filesystem access.
repo/packages/core/src/hooks/trustedHooks.ts:53
      fs.writeFileSync(
        this.configPath,
        JSON.stringify(this.trustedHooks, 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 #f15480d39d0ae61e Environment-variable access.
repo/packages/core/src/ide/detect-ide.test.ts:39
    delete process.env['CURSOR_TRACE_ID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf5a8385ca341288 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:40
  return !!(process.env['EDITOR_IN_CLOUD_SHELL'] || process.env['CLOUD_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 #a80b34105db78d4a Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:44
  return !!process.env['TERMINAL_EMULATOR']

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bef6f4a7edafcf22 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:50
  if (process.env['ANTIGRAVITY_CLI_ALIAS']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #98a659514819d4df Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:53
  if (process.env['__COG_BASHRC_SOURCED']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b140774e389edd61 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:56
  if (process.env['REPLIT_USER']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0b47e7d8cb9f7f19 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:59
  if (process.env['CURSOR_TRACE_ID']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1d879eba8d5ec713 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:62
  if (process.env['CODESPACES']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ef37f58b63b8bd4d Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:68
  if (process.env['TERM_PRODUCT'] === 'Trae') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #add2d8b4af7174ca Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:71
  if (process.env['MONOSPACE_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 #c64f1b003996cebe Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:74
  if (process.env['POSITRON'] === '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 #94b7d9ca6bb9e3fd Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:77
  if (process.env['TERM_PROGRAM'] === 'sublime') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #88afa72e4d6cc138 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:80
  if (process.env['ZED_SESSION_ID'] || process.env['TERM_PROGRAM'] === 'Zed') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #01529e2c0fd799e9 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:83
  if (process.env['XCODE_VERSION_ACTUAL']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7a1201c4866e0587 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:160
    process.env['TERM_PROGRAM'] !== 'vscode' &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0067ec66a8c27803 Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:161
    process.env['TERM_PROGRAM'] !== 'sublime' &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b4c0edb0b1487b9a Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:162
    process.env['TERM_PROGRAM'] !== 'Zed' &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a28bd5ce84b4b0cc Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:163
    !process.env['ZED_SESSION_ID'] &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b3d30649105975fd Environment-variable access.
repo/packages/core/src/ide/detect-ide.ts:164
    !process.env['XCODE_VERSION_ACTUAL'] &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9905785cd8ef5783 Environment-variable access.
repo/packages/core/src/ide/ide-client.test.ts:65
    process.env['GEMINI_CLI_IDE_WORKSPACE_PATH'] = '/test/workspace';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b7b85eb9856d98e1 Environment-variable access.
repo/packages/core/src/ide/ide-client.test.ts:66
    delete process.env['GEMINI_CLI_IDE_SERVER_PORT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4d4b019aad15d49d Environment-variable access.
repo/packages/core/src/ide/ide-client.test.ts:67
    delete process.env['GEMINI_CLI_IDE_SERVER_STDIO_COMMAND'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3989c686c52dcf31 Environment-variable access.
repo/packages/core/src/ide/ide-client.test.ts:68
    delete process.env['GEMINI_CLI_IDE_SERVER_STDIO_ARGS'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed77d1517518a381 Environment-variable access.
repo/packages/core/src/ide/ide-client.test.ts:69
    delete process.env['GEMINI_CLI_IDE_AUTH_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #694ce1f56205302d Environment-variable access.
repo/packages/core/src/ide/ide-client.test.ts:589
      process.env['GEMINI_CLI_IDE_AUTH_TOKEN'] = 'env-auth-token';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #47686da829cebf82 Environment-variable access.
repo/packages/core/src/ide/ide-client.ts:142
      connectionConfig?.authToken ?? process.env['GEMINI_CLI_IDE_AUTH_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9bc40fcc067a77d5 Environment-variable access.
repo/packages/core/src/ide/ide-client.ts:146
      process.env['GEMINI_CLI_IDE_WORKSPACE_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 #c64b060804168096 Environment-variable access.
repo/packages/core/src/ide/ide-connection-utils.ts:75
  const port = process.env['GEMINI_CLI_IDE_SERVER_PORT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bc7d540ae8b19a26 Environment-variable access.
repo/packages/core/src/ide/ide-connection-utils.ts:83
  const command = process.env['GEMINI_CLI_IDE_SERVER_STDIO_COMMAND'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #63b64082dfce0eb8 Environment-variable access.
repo/packages/core/src/ide/ide-connection-utils.ts:88
  const argsStr = process.env['GEMINI_CLI_IDE_SERVER_STDIO_ARGS'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #97a975a15bc1ad9f Filesystem access.
repo/packages/core/src/ide/ide-connection-utils.ts:125
    const portFileContents = await fs.promises.readFile(portFile, '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 #e87eb882a3954a3f Filesystem access.
repo/packages/core/src/ide/ide-connection-utils.ts:171
        fs.promises.readFile(path.join(portFileDir, 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 production #b78c26da9f95cdbb Environment-variable access.
repo/packages/core/src/ide/ide-connection-utils.ts:310
  const existingNoProxy = process.env['NO_PROXY'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f1a07e9847179bc6 Environment-variable access.
repo/packages/core/src/ide/ide-connection-utils.ts:356
  return !!process.env['SSH_CONNECTION'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #89498b1de2395375 Environment-variable access.
repo/packages/core/src/ide/ide-connection-utils.ts:361
    process.env['VSCODE_REMOTE_CONTAINERS_SESSION'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fe52ce69be968c6a Environment-variable access.
repo/packages/core/src/ide/ide-connection-utils.ts:362
    process.env['REMOTE_CONTAINERS']

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d6d4309cf9e440f8 Environment-variable access.
repo/packages/core/src/ide/ide-installer.ts:120
            process.env['ProgramFiles'] || 'C:\\Program Files',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dcef379370302d00 Environment-variable access.
repo/packages/core/src/ide/ide-installer.ts:255
    const envCommand = process.env['ANTIGRAVITY_CLI_ALIAS'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c25762184b1adacf Environment-variable access.
repo/packages/core/src/ide/process-utils.ts:229
  if (process.env['GEMINI_CLI_IDE_PID']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ef2ed6c9af7c8686 Environment-variable access.
repo/packages/core/src/ide/process-utils.ts:230
    const idePid = parseInt(process.env['GEMINI_CLI_IDE_PID'], 10);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low egress production #a0b4433acfa7ce7d Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/mcp/mcp-oauth-provider.test.ts:63
      const authUrl = new URL('http://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 env_fs production #9862e37fc74206f0 Environment-variable access.
repo/packages/core/src/mcp/oauth-token-storage.ts:31
    process.env[FORCE_ENCRYPTED_FILE_ENV_VAR] === '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 #c59693c986f01aa0 Filesystem access.
repo/packages/core/src/mcp/oauth-token-storage.ts:72
      const data = await fs.readFile(tokenFile, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8c146b374ad858ac Filesystem access.
repo/packages/core/src/mcp/oauth-token-storage.ts:113
      await fs.writeFile(
        tokenFile,
        JSON.stringify(tokenArray, null, 2),
        { mode: 0o600 }, // Restrict file permissions
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7a89110cd9e276d5 Filesystem access.
repo/packages/core/src/mcp/oauth-token-storage.ts:204
          await fs.writeFile(tokenFile, JSON.stringify(tokenArray, 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 production #3ce7298ffe45faa8 Environment-variable access.
repo/packages/core/src/mcp/token-storage/hybrid-token-storage.ts:28
    const forceFileStorage = process.env[FORCE_FILE_STORAGE_ENV_VAR] === '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 #c625599722616d28 Filesystem access.
repo/packages/core/src/policy/config.test.ts:119
      return (
        await vi.importActual<typeof import('node:fs/promises')>(
          'node:fs/promises',
        )
      ).readFile(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 production #a2769d7964c27697 Filesystem access.
repo/packages/core/src/policy/config.ts:808
              const fileContent = await fs.readFile(policyFile, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #508813f29fefc50f Filesystem access.
repo/packages/core/src/policy/config.ts:892
              await handle.writeFile(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 #6004fb7b2e318549 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:39
      await fs.writeFile(path.join(policyDir, 'a.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2a72d1dd300cfe71 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:55
      await fs.writeFile(path.join(policyDir, 'a.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4b64e68476f64cd5 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:66
      await fs.writeFile(
        integrityStoragePath,
        JSON.stringify({ 'workspace:id': currentHash }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #93494a44f09561a1 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:83
      await fs.writeFile(path.join(policyDir, 'a.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eeb91e85582bcc53 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:93
      await fs.writeFile(
        integrityStoragePath,
        JSON.stringify({ 'workspace:id': 'different_hash' }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cff99364570f5737 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:110
      await fs.writeFile(path.join(policyDir1, 'a.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff13aefc40843265 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:120
      await fs.writeFile(path.join(policyDir2, 'b.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2d3e4424f328db4b Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:135
      await fs.writeFile(path.join(policyDir, 'a.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8b205979bf0984f7 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:142
      await fs.writeFile(path.join(policyDir, 'a.toml'), 'contentB');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4b044f9fe27e41b0 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:155
      await fs.writeFile(path.join(policyDir1, 'a.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d14021ac9e3b4c99 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:156
      await fs.writeFile(path.join(policyDir1, 'b.toml'), 'contentB');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b15a7f763f536796 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:178
      await fs.writeFile(path.join(dirA, 'p.toml'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eb8a249200765525 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:182
      await fs.writeFile(path.join(dirB, 'p.toml'), 'contentB');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #59c367cdb5dc1905 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:196
      await fs.writeFile(
        integrityStoragePath,
        JSON.stringify({
          'workspace:idA': hashA,
          'workspace:idB': 'oldHashB',
        }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f569e46f6546df6c Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:229
        await fs.readFile(integrityStoragePath, 'utf-8'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eb2b3f4442aef41a Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:235
      await fs.writeFile(
        integrityStoragePath,
        JSON.stringify({ 'other:id': 'otherhash' }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5d87808b5b0437a9 Filesystem access.
repo/packages/core/src/policy/integrity.test.ts:243
        await fs.readFile(integrityStoragePath, 'utf-8'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3909341a19281f63 Filesystem access.
repo/packages/core/src/policy/integrity.ts:123
      const content = await fs.readFile(storagePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #07c3a3bcdacc7382 Filesystem access.
repo/packages/core/src/policy/integrity.ts:148
      await fs.writeFile(storagePath, JSON.stringify(data, null, 2), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46a2be820e9ac7d2 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:76
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #88dadc76563e7e43 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:98
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #8173845bc8d4502e Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:129
    memfs.writeFileSync(policyFile, existingContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #32443786fd44d247 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:139
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #9ceba8a5660b5e97 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:161
    memfs.writeFileSync(policyFile, existingContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4c7fee7caea0ddd1 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:171
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #5eb43e53d33ef3a2 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:192
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #9bef24f4bb0fb830 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:211
    const writtenContent = memfs.readFileSync(policyFile, 'utf-8') as 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 #5b639ecb16c0e555 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:251
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #178d12c5d0225c66 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:411
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #a50a4a5c0499c9b9 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:430
    memfs.writeFileSync(policyFile, existingContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a00ffbafb5cfd8c5 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:442
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #e161545515a27827 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:501
    memfs.writeFileSync(policyFile, 'this is not valid toml ][[[');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c079a1a19eb23d73 Filesystem access.
repo/packages/core/src/policy/persistence.test.ts:519
    const content = memfs.readFileSync(policyFile, 'utf-8') as 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 #675cb7df042e1dbb Filesystem access.
repo/packages/core/src/policy/sandboxPolicyManager.ts:59
        const content = fs.readFileSync(defaultPath, '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 #cfe4ae65b05058b8 Filesystem access.
repo/packages/core/src/policy/sandboxPolicyManager.ts:118
      const content = fs.readFileSync(this.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 #e886d5af191a7e78 Filesystem access.
repo/packages/core/src/policy/sandboxPolicyManager.ts:134
      fs.writeFileSync(this.configPath, 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 #03077c4fcbb28b42 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:59
    await fs.writeFile(path.join(tempDir, fileName), tomlContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7b47b10327fc2082 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:312
      await fs.writeFile(
        path.join(tempDir, 'tier4.toml'),
        `
[[rule]]
toolName = "tier4-tool"
decision = "allow"
priority = 100
modes = ["autoEdit"]
`,
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #065323af32d6b791 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:433
      await fs.writeFile(
        path.join(tempDir, 'valid.toml'),
        `
[[rule]]
toolName = "glob"
decision = "allow"
priority = 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 production #0ed1e4ca20639669 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:443
      await fs.writeFile(
        path.join(tempDir, 'invalid.toml'),
        `
[[rule]]
toolName = "grep"
decision = "allow"
priority = -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 #1417ebfbe43f0ed8 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:661
      await fs.writeFile(
        filePath,
        '[[rule]]\ntoolName = "test-tool"\ndecision = "allow"\npriority = 500\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 #10b61b7bf06b82dc Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:864
      const fileContent = await fs.readFile(planTomlPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #216ed8005b084631 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:869
        await fs.writeFile(path.join(tempPolicyDir, 'plan.toml'), fileContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #972314854d9f2096 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:982
      const planContent = await fs.readFile(planTomlPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c6744ecc7f67f82 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:983
      const readOnlyContent = await fs.readFile(readOnlyTomlPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #554820af4c0279f3 Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:989
        await fs.writeFile(path.join(tempPolicyDir, 'plan.toml'), planContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fad572993f6e8b7e Filesystem access.
repo/packages/core/src/policy/toml-loader.test.ts:990
        await fs.writeFile(
          path.join(tempPolicyDir, 'read-only.toml'),
          readOnlyContent,
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7757874cf41a6350 Filesystem access.
repo/packages/core/src/policy/toml-loader.ts:187
    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 #02c56068166da956 Environment-variable access.
repo/packages/core/src/prompts/promptProvider.ts:54
      process.env['GEMINI_SYSTEM_MD'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6b40362fb655c6ff Filesystem access.
repo/packages/core/src/prompts/promptProvider.ts:119
      basePrompt = fs.readFileSync(systemMdPath, '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 #2e784fa3d64618ae Environment-variable access.
repo/packages/core/src/prompts/promptProvider.ts:326
      process.env['GEMINI_WRITE_SYSTEM_MD'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c7ab6eec1e8d17f4 Filesystem access.
repo/packages/core/src/prompts/promptProvider.ts:333
      fs.writeFileSync(writePath, basePrompt);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #545e3cfc69bea05e Environment-variable access.
repo/packages/core/src/prompts/promptProvider.ts:345
  if (process.env['SANDBOX'] === 'sandbox-exec') return 'macos-seatbelt';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6990a46dcc60060a Environment-variable access.
repo/packages/core/src/prompts/promptProvider.ts:346
  if (process.env['SANDBOX']) return 'generic';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2faa5a4c6d026cb2 Environment-variable access.
repo/packages/core/src/prompts/utils.ts:110
  const envVar = process.env[`GEMINI_PROMPT_${key.toUpperCase()}`];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #58b5d13312d2134d Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:57
    await fs.writeFile(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 production #9a8446cf92d6dcf7 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:67
    await fs.writeFile(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 production #15298a08c3d0ed13 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:78
    await fs.writeFile(outsidePath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9d1f8f80d4fc9b93 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:87
    await fs.writeFile(secretPath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3f0fd0e449ca0b2d Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:98
    await fs.writeFile(passwdPath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bd68c502e342b47d Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:100
    await fs.writeFile(srcPath, 'source 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 #1806f02469f7c002 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:123
    await fs.writeFile(targetPath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3d1961d4a86adbe5 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:139
    await fs.writeFile(realFilePath, 'real 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 #faf8d12688429b79 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:152
    await fs.writeFile(outsidePath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #db916f3d66c3f653 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:165
    await fs.writeFile(outsidePath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bfbd7df1684233cd Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:178
    await fs.writeFile(outsidePath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74feaecf9e5a16fd Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:198
    await fs.writeFile(outsidePath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6073849e08dc8391 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:213
    await fs.writeFile(outsidePath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #008b69a832843bc0 Filesystem access.
repo/packages/core/src/safety/built-in.test.ts:231
    await fs.writeFile(outsidePath, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ec3c6f35322ec13b Filesystem access.
repo/packages/core/src/sandbox/linux/LinuxSandboxManager.ts:102
  fs.writeFileSync(bpfPath, buf);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c8c8c4ca09d9a7c6 Filesystem access.
repo/packages/core/src/sandbox/linux/LinuxSandboxManager.ts:192
    fs.writeFileSync(maskPath, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aacc8b3fec4a9ece Filesystem access.
repo/packages/core/src/sandbox/linux/LinuxSandboxManager.ts:346
    fs.writeFileSync(tempFile, content, { 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 production #a329d2a36b3962a5 Filesystem access.
repo/packages/core/src/sandbox/macos/MacOsSandboxManager.test.ts:82
      expect(fs.readFileSync(tempFile, 'utf8')).toBe('(mock profile)');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b2bd46ae409b004e Filesystem access.
repo/packages/core/src/sandbox/macos/MacOsSandboxManager.ts:200
    fs.writeFileSync(tempFile, profile, { 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 production #b4ded3bc275747c1 Environment-variable access.
repo/packages/core/src/sandbox/macos/seatbeltArgsBuilder.ts:116
  if (process.env['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 #81ca9cf3dc9be61f Environment-variable access.
repo/packages/core/src/sandbox/macos/seatbeltArgsBuilder.ts:117
    const paths = process.env['PATH'].split(':');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c49d143059b0435b Filesystem access.
repo/packages/core/src/sandbox/utils/fsUtils.ts:23
      const gitContent = await fs.readFile(gitPath, '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 #b443080278ffcabc Filesystem access.
repo/packages/core/src/sandbox/utils/fsUtils.ts:36
          const backlink = (await fs.readFile(backlinkPath, '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 #05124ab57c024be5 Filesystem access.
repo/packages/core/src/sandbox/utils/fsUtils.ts:45
            const config = 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 #e9b25ade2c25800f Environment-variable access.
repo/packages/core/src/sandbox/utils/proactivePermissions.ts:130
    const appData = process.env['AppData'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3fe83f4bcbb35e3c Environment-variable access.
repo/packages/core/src/sandbox/utils/proactivePermissions.ts:131
    const localAppData = process.env['LocalAppData'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #996fa5ee1f9e37f7 Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.test.ts:54
    const forbidden = fs
      .readFileSync(forbiddenPath, '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 #845fc1dfd50a1106 Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.test.ts:58
    const allowed = fs
      .readFileSync(allowedPath, '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 #7c2dcc9bd0beb43c Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.test.ts:380
      fs.writeFileSync(longPath, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bf6b4d8f1b8ec123 Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.test.ts:381
      fs.writeFileSync(devicePath, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7843f3cdd64feea6 Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.test.ts:490
    fs.writeFileSync(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 #69326bd602a9986d Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.test.ts:507
    fs.writeFileSync(maliciousPath, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #801af0d0fe524729 Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.test.ts:524
    fs.writeFileSync(filePath, '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 production #19b2cd80b3cd6737 Environment-variable access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.ts:124
          const systemRoot = process.env['SystemRoot'] || 'C:\\Windows';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0a447ea714f4b89d Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.ts:425
    await fs.promises.writeFile(
      forbiddenManifestPath,
      Array.from(forbiddenManifest).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 #907c6ec30aba0a66 Filesystem access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.ts:431
    await fs.promises.writeFile(
      allowedManifestPath,
      Array.from(allowedManifest).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 #94db85f72ac73541 Environment-variable access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.ts:468
    const systemRoot = process.env['SystemRoot'] || 'C:\\Windows';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8ce598ebe18324e6 Environment-variable access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.ts:469
    const programFiles = process.env['ProgramFiles'] || 'C:\\Program Files';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #35f4f844d2f03b12 Environment-variable access.
repo/packages/core/src/sandbox/windows/WindowsSandboxManager.ts:471
      process.env['ProgramFiles(x86)'] || 'C:\\Program Files (x86)';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9702f30aaeacbb23 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:35
    await fs.writeFile(
      path.join(commandsDir, 'test-cmd.toml'),
      'prompt = "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 #f52c5b1ce58c6e7b Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:43
    await fs.writeFile(path.join(skillsDir, 'test-skill', 'SKILL.md'), 'body');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #90b9eb88b9ad8b63 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:48
    await fs.writeFile(path.join(agentsDir, 'test-agent.md'), 'body');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e4f9517dbd4c314e Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:61
    await fs.writeFile(
      path.join(geminiDir, 'settings.json'),
      JSON.stringify(settings),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #43141dac78eb29b3 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:94
    await fs.writeFile(
      path.join(geminiDir, 'settings.json'),
      JSON.stringify(settings),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #65c83a6517e24539 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:124
    await fs.writeFile(path.join(geminiDir, 'settings.json'), 'invalid json');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ca4e129544f1aa02 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:135
    await fs.writeFile(path.join(geminiDir, 'settings.json'), '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 production #e7bb4c5f26e742e4 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:145
    await fs.writeFile(path.join(geminiDir, 'settings.json'), '[]');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #78b18fba0eb8308c Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:155
    await fs.writeFile(path.join(geminiDir, 'settings.json'), '"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 #baa74cec8b019085 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.test.ts:168
    await fs.writeFile(path.join(agentsDir, 'test-agent.md'), 'body');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #65a91e03db46d2e2 Filesystem access.
repo/packages/core/src/services/FolderTrustDiscoveryService.ts:141
      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 #8495ce3abb40f7a4 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:289
      fs.writeFileSync(
        sessionFile,
        JSON.stringify({ ...initialData, messages: undefined }) +
          '\n' +
          (initialData.messages || [])
            .map((m: unknown) => JSON.stringify(m))
            .join('\n') +
          '\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 #3d6fde2be435b70e Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:661
      fs.writeFileSync(sessionFile, JSON.stringify({ sessionId }) + '\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 #5d78eaf40dfd5c64 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:664
      fs.writeFileSync(logFile, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dd129d83e065b9a7 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:692
      fs.writeFileSync(
        sessionFile,
        JSON.stringify({ sessionId, messages: [] }, 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 #23d97dd516ad88c9 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:699
      fs.writeFileSync(path.join(toolOutputDir, 'output.txt'), '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 production #a77fcf0dea383e3f Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:717
      fs.writeFileSync(sessionFile, 'not-json');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8c76ed8c9a528a8c Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:741
      fs.writeFileSync(
        parentFile,
        JSON.stringify({ sessionId: parentSessionId }) + '\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 #21344208bffeaefe Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:750
      fs.writeFileSync(
        subagentFile,
        JSON.stringify({ sessionId: subagentSessionId, kind: 'subagent' }) +
          '\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 #a009f88782f98091 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:758
      fs.writeFileSync(parentLog, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3ef27b470c256950 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:763
      fs.writeFileSync(subagentLog, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84765f02a127d460 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:804
      fs.writeFileSync(
        parentFile,
        JSON.stringify({ sessionId: parentSessionId }) + '\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 #bb430286a39d4f3c Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:814
      fs.writeFileSync(
        subagentFile,
        JSON.stringify({ sessionId: subagentSessionId, kind: 'subagent' }) +
          '\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 #f8a84cb931a79b51 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:838
      fs.writeFileSync(sessionFile, JSON.stringify({ sessionId }) + '\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 #5271376a39205f50 Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:841
      fs.writeFileSync(logFile, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f25426af684a914b Filesystem access.
repo/packages/core/src/services/chatRecordingService.test.ts:878
      fs.writeFileSync(path.join(toolOutputDir, 'output.txt'), '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 production #27bf62ba709cfd8c Filesystem access.
repo/packages/core/src/services/chatRecordingService.ts:978
    const fileContent = await fs.promises.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 #61b3f368c85007f7 Filesystem access.
repo/packages/core/src/services/fileDiscoveryService.test.ts:21
    await fs.writeFile(fullPath, 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 #2fe1baa48215e7cb Filesystem access.
repo/packages/core/src/services/fileKeychain.ts:71
      const data = await fs.readFile(this.tokenFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #37f18d5b125a0136 Filesystem access.
repo/packages/core/src/services/fileKeychain.ts:102
    await fs.writeFile(this.tokenFilePath, encrypted, { 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 production #39da516b341fa48e Filesystem access.
repo/packages/core/src/services/fileSystemService.ts:35
    return 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 #abb9a7a4e059db0e Filesystem access.
repo/packages/core/src/services/fileSystemService.ts:39
    await fs.writeFile(filePath, 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 #2acbaf68c70fa27d Filesystem access.
repo/packages/core/src/services/gitService.test.ts:200
      const actualConfigContent = await fs.readFile(gitConfigPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2229aa6b8eb5a9cd Filesystem access.
repo/packages/core/src/services/gitService.test.ts:225
      await fs.writeFile(visibleGitIgnorePath, 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 production #9b9c6d73c60ecbcc Filesystem access.
repo/packages/core/src/services/gitService.test.ts:231
      const copiedContent = await fs.readFile(hiddenGitIgnorePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7f18d78a84e79b5c Filesystem access.
repo/packages/core/src/services/gitService.test.ts:241
      const content = await fs.readFile(hiddenGitIgnorePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f543f3721250eaf9 Filesystem access.
repo/packages/core/src/services/gitService.test.ts:304
      const systemConfigContent = await fs.readFile(
        path.join(repoDir, '.gitconfig_system_empty'),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d9ac7fffbd7518ef Filesystem access.
repo/packages/core/src/services/gitService.ts:140
    await fs.writeFile(gitConfigPath, gitConfigContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5efa4a2d41428e02 Filesystem access.
repo/packages/core/src/services/gitService.ts:143
    await fs.writeFile(shadowRepoEnv.GIT_CONFIG_SYSTEM, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3b1d721bd523153 Filesystem access.
repo/packages/core/src/services/gitService.ts:169
      userGitIgnoreContent = await fs.readFile(userGitIgnorePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7233d85ddd61d94d Filesystem access.
repo/packages/core/src/services/gitService.ts:176
    await fs.writeFile(shadowGitIgnorePath, userGitIgnoreContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #02cc86bacd07ebe3 Environment-variable access.
repo/packages/core/src/services/keychainService.test.ts:201
      process.env['GEMINI_FORCE_FILE_STORAGE'] = '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 #fa7364813401ae3c Environment-variable access.
repo/packages/core/src/services/keychainService.ts:101
    const forceFileStorage = process.env[FORCE_FILE_STORAGE_ENV_VAR] === '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 #53f68eacb324b4f8 Filesystem access.
repo/packages/core/src/services/memoryPatchUtils.ts:536
    content = await fs.readFile(sourcePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2ed30164c9f4f4d8 Filesystem access.
repo/packages/core/src/services/memoryPatchUtils.ts:744
        source = await fs.readFile(resolvedTargetPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7a2a4b459c1eacf3 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:137
  await fs.writeFile(
    filePath,
    records.map((record) => JSON.stringify(record)).join('\n') + '\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 #2a301bb5dcd99c66 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:173
      const content = JSON.parse(await fs.readFile(lockPath, 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7affc0a7f806120 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:187
      await fs.writeFile(lockPath, JSON.stringify(lockInfo));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #56cfb9b9bfe54f8c Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:203
      await fs.writeFile(lockPath, JSON.stringify(lockInfo));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5b4606fbcaad3c54 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:208
      const content = JSON.parse(await fs.readFile(lockPath, 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0060210a0a541ad5 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:222
      await fs.writeFile(lockPath, JSON.stringify(lockInfo));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c7f90488a90d108b Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:227
      const content = JSON.parse(await fs.readFile(lockPath, 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #14275f3ab2c266e8 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:244
      await fs.writeFile(lockPath, JSON.stringify(lockInfo));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff21437f44abb30e Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:258
      await fs.writeFile(lockPath, JSON.stringify(lockInfo));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #03b56658cf5b6075 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:271
      await fs.writeFile(lockPath, JSON.stringify(lockInfo));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ae39ab3f0ebf5bfe Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:290
      await fs.writeFile(lockPath, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #07d14b28d2363b78 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:329
      await fs.writeFile(statePath, JSON.stringify(existingState));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #77f54a6990200afe Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:378
      await fs.writeFile(
        lockPath,
        JSON.stringify({
          pid: process.pid,
          startedAt: 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 #e19350a950a25a25 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:461
      await fs.writeFile(
        path.join(chatsDir, 'session-2025-01-01T00-00-err00001.json'),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #183de46e62758f43 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:522
      await fs.writeFile(
        path.join(chatsDir, 'session-2025-01-01T00-00-skill001.json'),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bd71dd841f46f7f8 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:533
          await fs.writeFile(
            path.join(newSkillDir, 'SKILL.md'),
            '# My New Skill',
          );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d33e33a9f0be30fa Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:596
      await fs.writeFile(
        path.join(chatsDir, 'session-2025-01-01T00-00-inbox001.json'),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5e55fcf6a389530a Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:606
          await fs.writeFile(
            path.join(inboxDir, 'private', 'MEMORY.patch'),
            [
              `--- /dev/null`,
              `+++ ${path.join(memoryDir, 'MEMORY.md')}`,
              `@@ -0,0 +1,1 @@`,
              `+- new project fact`,
              ``,
            ].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 #1a71d853c1972842 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:616
          await fs.writeFile(
            path.join(inboxDir, 'global', 'reply-style.patch'),
            [
              `--- /dev/null`,
              `+++ ${path.join(globalMemoryDir, 'GEMINI.md')}`,
              `@@ -0,0 +1,1 @@`,
              `+Prefer concise architecture summaries.`,
              ``,
            ].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 #89d9d68eb2ce7d28 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:699
      await fs.writeFile(
        path.join(chatsDir, 'session-2025-01-01T00-00-malformed.json'),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b873cc1aef8e7b48 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:715
          await fs.writeFile(
            malformedPatchPath,
            [
              `--- /dev/null`,
              `+++ ${path.join(memoryDir, 'MEMORY.md')}`,
              `@@ -0,0 +1,1 @@`,
              `+First extracted fact.`,
              `+Second extracted fact exceeds the declared hunk count.`,
              ``,
            ].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 #b200efae90d53751 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1142
      await fs.writeFile(
        path.join(
          chatsDir,
          `${SESSION_FILE_PREFIX}2025-01-01T00-00-brandnew.json`,
        ),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9493e137eae7ad1c Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1164
      await fs.writeFile(
        path.join(
          chatsDir,
          `${SESSION_FILE_PREFIX}2025-01-01T00-00-oldsess1.json`,
        ),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9248ac49edf645b6 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1197
      await fs.writeFile(
        path.join(
          chatsDir,
          `${SESSION_FILE_PREFIX}2025-01-01T00-00-resumed01.json`,
        ),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a41fb9d25e5b674a Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1230
      await fs.writeFile(
        path.join(chatsDir, fileName),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bb022c619d269040 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1421
      await fs.writeFile(
        path.join(
          chatsDir,
          `${SESSION_FILE_PREFIX}2025-01-01T00-00-sub00001.json`,
        ),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #94f40bab427f1c11 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1443
      await fs.writeFile(
        path.join(
          chatsDir,
          `${SESSION_FILE_PREFIX}2025-01-01T00-00-short001.json`,
        ),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #30740f45463ffabc Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1468
        await fs.writeFile(
          path.join(
            chatsDir,
            `${SESSION_FILE_PREFIX}2025-01-0${i + 1}T00-00-cap${paddedIndex}.json`,
          ),
          JSON.stringify(conversation),
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #169941e2e678c19e Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1493
      await fs.writeFile(
        path.join(
          chatsDir,
          `${SESSION_FILE_PREFIX}2025-01-01T00-00-proc0001.json`,
        ),
        JSON.stringify(oldConv),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #86a3aca4db375de8 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1506
      await fs.writeFile(
        path.join(
          chatsDir,
          `${SESSION_FILE_PREFIX}2025-01-02T00-00-fres0001.json`,
        ),
        JSON.stringify(newConv),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cd6af8315574ff41 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1582
        await fs.writeFile(
          path.join(
            chatsDir,
            `${SESSION_FILE_PREFIX}2025-01-${day}T00-00-backlog${i}.json`,
          ),
          JSON.stringify(conversation),
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3bfa3ab32db17d28 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1630
        await fs.writeFile(filePath, JSON.stringify(conversation));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ffa3f92addebf409 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1693
      await fs.writeFile(statePath, JSON.stringify(state));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #302ef811b6c5424b Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1778
      await fs.writeFile(
        statePath,
        JSON.stringify({ lastProcessed: '2025-01-01' }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fbc68d65d3b334dc Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1813
      await fs.writeFile(path.join(skillsDir, 'some-file.txt'), '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 production #e4bfc976e9ebdcfa Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1838
      await fs.writeFile(patchPath, 'this is not a valid patch');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2ad2a32054175cfe Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1855
      await fs.writeFile(targetFile, 'line1\nline2\nline3\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 #705d737c1f14f0b0 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1869
      await fs.writeFile(patchPath, patchContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #82b68af7c7870c60 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1885
      await fs.writeFile(targetFile, 'alpha\nbeta\ngamma\ndelta\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 #7f0c2e8899c83e4a Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1888
      await fs.writeFile(
        patchPath,
        [
          `--- ${targetFile}`,
          `+++ ${targetFile}`,
          '@@ -1,4 +1,5 @@',
          ' alpha',
          ' beta',
          '+beta2',
          ' gamma',
          ' delta',
          `--- ${targetFile}`,
          `+++ ${targetFile}`,
          '@@ -2,4 +2,5 @@',
          ' beta',
          ' beta2',
          ' gamma',
          '+gamma2',
          ' delta',
          '',
        ].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 #e9d5295bd22b4c9d Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1924
      await fs.writeFile(targetFile, 'original content\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 #73781c3af0ed1649 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1927
      await fs.writeFile(
        patchPath,
        [
          '--- /dev/null',
          `+++ ${targetFile}`,
          '@@ -0,0 +1 @@',
          '+replacement content',
          '',
        ].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 #2a34d6cd2a9ece4d Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1942
      expect(await fs.readFile(targetFile, 'utf-8')).toBe('original content\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 #a7603b0b83fcc3f6 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1952
      await fs.writeFile(targetFile, 'line1\nline2\nline3\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 #74d8b4a1630b4ca7 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1955
      await fs.writeFile(
        patchPath,
        [
          `--- ${targetFile}`,
          '+++ .gemini/skills/foo/SKILL.md',
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #46847456c4aef8d8 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1973
      expect(await fs.readFile(targetFile, 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3c1680113fe154b Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:1983
      await fs.writeFile(
        patchPath,
        [
          `--- ${path.join(projectSkillsDir, 'target.md')}`,
          `+++ ${path.join(projectSkillsDir, 'target.md')}`,
          '',
        ].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 #fee60a0e07bd1cff Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2003
      await fs.writeFile(outsideFile, 'line1\nline2\nline3\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 #ba8bce6579dfa067 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2006
      await fs.writeFile(
        patchPath,
        [
          `--- ${outsideFile}`,
          `+++ ${outsideFile}`,
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #27ea597718e60a83 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2042
      await fs.writeFile(outsideFile, 'line1\nline2\nline3\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 #f19ee9cb708f5e21 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2045
      await fs.writeFile(
        patchPath,
        [
          `--- ${path.join(linkedDir, 'escaped.md')}`,
          `+++ ${path.join(linkedDir, 'escaped.md')}`,
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #048eeb02968619e5 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2063
      expect(await fs.readFile(outsideFile, 'utf-8')).not.toContain('line2.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 #68cdb745d91f0a9b Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2088
      await fs.writeFile(existingSkill, 'line1\nline2\nline3\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 #aba8415cb53bb1f8 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2094
      await fs.writeFile(
        path.join(chatsDir, 'session-2025-01-01T00-00-patchonly.json'),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1b31b86410d993ba Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2105
          await fs.writeFile(
            patchPath,
            [
              `--- ${existingSkill}`,
              `+++ ${existingSkill}`,
              '@@ -1,3 +1,4 @@',
              ' line1',
              ' line2',
              '+line2.5',
              ' line3',
              '',
            ].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 #b2ba257734d481ef Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2172
      await fs.writeFile(existingSkill, 'line1\nline2\nline3\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 #d4ea546d25a09602 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2173
      await fs.writeFile(
        path.join(skillsDir, 'existing-skill.patch'),
        [
          `--- ${existingSkill}`,
          `+++ ${existingSkill}`,
          '@@ -1,3 +1,4 @@',
          ' line1',
          ' line2',
          '+line2.5',
          ' line3',
          '',
        ].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 #5d0795d81bb6e473 Filesystem access.
repo/packages/core/src/services/memoryService.test.ts:2191
      await fs.writeFile(
        path.join(chatsDir, 'session-2025-01-01T00-00-oldpatch.json'),
        JSON.stringify(conversation),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f6fe89ba09071c48 Filesystem access.
repo/packages/core/src/services/memoryService.ts:436
      await fd.writeFile(JSON.stringify(lockInfo));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b2e3db57b0349c70 Filesystem access.
repo/packages/core/src/services/memoryService.ts:463
    const content = await fs.readFile(lockPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4d03c8948d781eaf Filesystem access.
repo/packages/core/src/services/memoryService.ts:514
    const content = await fs.readFile(statePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #50cf04bc635ca0f5 Filesystem access.
repo/packages/core/src/services/memoryService.ts:545
  await fs.writeFile(tmpPath, JSON.stringify(state, 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 #d6251d9eee083632 Filesystem access.
repo/packages/core/src/services/memoryService.ts:744
        const content = await fs.readFile(skillPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #95b5ac748055a345 Filesystem access.
repo/packages/core/src/services/memoryService.ts:876
      const patchContent = await fs.readFile(patchPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1d1b3d5e92747ae3 Filesystem access.
repo/packages/core/src/services/memoryService.ts:970
        snapshot.set(relativePath, 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 #b5fe26e17372529c Filesystem access.
repo/packages/core/src/services/memoryService.ts:1053
        content = 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 production #a477fc19331eb141 Filesystem access.
repo/packages/core/src/services/memoryService.ts:1218
              await fs.readFile(path.join(skillsDir, e), 'utf-8'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2c511fe610000464 Filesystem access.
repo/packages/core/src/services/memoryService.ts:1355
        currentContent = await fs.readFile(patchPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #08aaa0058befd7df Environment-variable access.
repo/packages/core/src/services/modelConfig.golden.test.ts:41
    if (process.env['UPDATE_GOLDENS']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9dda27c6c3e89bac Filesystem access.
repo/packages/core/src/services/modelConfig.golden.test.ts:43
      await fs.writeFile(
        GOLDEN_FILE_PATH,
        JSON.stringify(resolvedAliases, null, 2),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b8ae8f20d53ea58a Filesystem access.
repo/packages/core/src/services/modelConfig.golden.test.ts:54
      goldenContent = await fs.readFile(GOLDEN_FILE_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 #4f407ed59e92a097 Environment-variable access.
repo/packages/core/src/services/modelConfig.golden.test.ts:86
    if (process.env['UPDATE_GOLDENS']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2dfb3cefd2458243 Filesystem access.
repo/packages/core/src/services/modelConfig.golden.test.ts:88
      await fs.writeFile(
        RETRY_GOLDEN_FILE_PATH,
        JSON.stringify(resolvedAliases, null, 2),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c3b6771b26f4dc9 Filesystem access.
repo/packages/core/src/services/modelConfig.golden.test.ts:99
      goldenContent = await fs.readFile(RETRY_GOLDEN_FILE_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 #a266534093f83e97 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:233
        fs.writeFileSync(testFile, 'virtual read success');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a99c990a4d78e405 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:542
          fs.writeFileSync(testFile, 'secret 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 production #d6236f1df79dfd18 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:593
        fs.writeFileSync(nestedFile, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5818130069dd9bfc Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:699
        fs.writeFileSync(targetFile, 'secret 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 production #9ce395875685843a Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:778
        fs.writeFileSync(
          path.join(mainGitDir, 'config'),
          '[core]\n\trepositoryformatversion = 0\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 #0026f33fb8ce01f1 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:791
        fs.writeFileSync(
          path.join(worktreeDir, '.git'),
          `gitdir: ${worktreeGitDir}\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 #0c07216d1607f98f Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:798
        fs.writeFileSync(backlinkPath, path.join(worktreeDir, '.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 production #d4699125f3111842 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:802
        fs.writeFileSync(secretFile, 'git-secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fa6cf6e4637863a1 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:836
        fs.writeFileSync(
          path.join(worktreeDir, '.git'),
          `gitdir: ${worktreeGitDir}\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 #5fdb39be4996cdb1 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:840
        fs.writeFileSync(
          path.join(worktreeGitDir, 'gitdir'),
          path.join(worktreeDir, '.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 production #afc08c0f91e2380f Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:928
      fs.writeFileSync(
        path.join(mainGitDir, 'config'),
        '[core]\n\trepositoryformatversion = 0\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 #a20a33a17daa5d70 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:941
      fs.writeFileSync(
        path.join(worktreeDir, '.git'),
        `gitdir: ${worktreeGitDir}\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 #0a24bb0a267ecc0a Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:948
      fs.writeFileSync(backlinkPath, path.join(worktreeDir, '.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 production #542f8bc91c012451 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:952
      fs.writeFileSync(secretFile, 'git-secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #60296ddf375fe67e Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:986
      fs.writeFileSync(
        path.join(worktreeDir, '.git'),
        `gitdir: ${worktreeGitDir}\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 #ca210053a29a4e27 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:990
      fs.writeFileSync(
        path.join(worktreeGitDir, 'gitdir'),
        path.join(worktreeDir, '.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 production #7ccd594d3d48d312 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:1030
      fs.writeFileSync(
        path.join(worktreeDir, '.git'),
        `gitdir: ${worktreeGitDir}\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 #5e39c9462944bd89 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:1034
      fs.writeFileSync(
        path.join(worktreeGitDir, 'gitdir'),
        path.join(worktreeDir, '.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 production #2a972f166004572f Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:1073
      fs.writeFileSync(
        path.join(worktreeDir, '.git'),
        `gitdir: ${worktreeGitDir}\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 #efe061cf07ac03d5 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:1077
      fs.writeFileSync(
        path.join(worktreeGitDir, 'gitdir'),
        path.join(worktreeDir, '.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 production #6e6802ea5d25aedd Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:1111
      fs.writeFileSync(
        path.join(workspaceDir, '.git'),
        `gitdir: ${externalGitDir}\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 #b8166638f5d31c45 Filesystem access.
repo/packages/core/src/services/sandboxManager.integration.test.ts:1143
      fs.writeFileSync(testFile, 'initial');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2584a4ce1cdac8d4 Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.test.ts:105
  await fs.writeFile(filePath, 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 production #8b731eb40f2815b7 Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.test.ts:408
      const written = 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 #f37685291b7a9266 Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.test.ts:436
      const lines = (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 #cf5ba90cb694d3db Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.test.ts:463
      const lines = (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 #b64c3710c2110d49 Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.test.ts:651
      const lines = (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 #9af4462f47141544 Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.test.ts:689
      const previousLines = (await fs.readFile(previousPath, 'utf-8'))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5a5b7b3163ec13d5 Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.test.ts:701
      const currentLines = (await fs.readFile(currentPath, 'utf-8'))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f16c5910535f4921 Filesystem access.
repo/packages/core/src/services/sessionSummaryUtils.ts:438
    await fs.writeFile(
      sessionPath,
      JSON.stringify(
        {
          ...freshConversation,
          ...metadataUpdate,
          lastUpdated,
        },
        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 #d936a57854b72ce8 Environment-variable access.
repo/packages/core/src/services/shellExecutionService.test.ts:213
    process.env['PATH'] = '/test/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 #20980fb6884ff4eb Environment-variable access.
repo/packages/core/src/services/shellExecutionService.ts:496
        baseEnv[key] = 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 production #529987f92f1413d7 Filesystem access.
repo/packages/core/src/services/trackerService.ts:74
      const content = 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 #3284838dec2ff3d5 Filesystem access.
repo/packages/core/src/services/trackerService.ts:182
    await fs.writeFile(taskPath, JSON.stringify(task, null, 2), '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 #ef73c0bd928bbf39 Filesystem access.
repo/packages/core/src/skills/builtin/skill-creator/scripts/init_skill.cjs:211
    fs.writeFileSync(
      path.join(skillDir, 'SKILL.md'),
      SKILL_TEMPLATE.replace(/{skill_name}/g, skillName).replace(
        /{skill_title}/g,
        skillTitle,
      ),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e53b3560a86c7f3e Filesystem access.
repo/packages/core/src/skills/builtin/skill-creator/scripts/init_skill.cjs:218
    fs.writeFileSync(
      path.join(skillDir, 'scripts/example_script.cjs'),
      EXAMPLE_SCRIPT.replace(/{skill_name}/g, skillName),
      { 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 production #886103be747d070f Filesystem access.
repo/packages/core/src/skills/builtin/skill-creator/scripts/init_skill.cjs:223
    fs.writeFileSync(
      path.join(skillDir, 'references/example_reference.md'),
      EXAMPLE_REFERENCE.replace(/{skill_title}/g, skillTitle),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e349f326535c2f2d Filesystem access.
repo/packages/core/src/skills/builtin/skill-creator/scripts/init_skill.cjs:227
    fs.writeFileSync(
      path.join(skillDir, 'assets/example_asset.txt'),
      'Placeholder for assets.',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4706f320478cc46e Filesystem access.
repo/packages/core/src/skills/builtin/skill-creator/scripts/validate_skill.cjs:25
  const content = fs.readFileSync(skillMdPath, '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 #7b1e30b1fc38e4b6 Filesystem access.
repo/packages/core/src/skills/builtin/skill-creator/scripts/validate_skill.cjs:78
    const fileContent = fs.readFileSync(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 production #0c8c87111a7688d0 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:35
    await fs.writeFile(
      skillFile,
      `---\nname: my-skill\ndescription: A test skill\n---\n# Instructions\nDo something.\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 #06e9b4f9fec03e93 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:53
    await fs.writeFile(path.join(notASkillDir, 'some-file.txt'), '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 production #b9375132f6e2f403 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:88
    await fs.writeFile(skillFile, '# No frontmatter here');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d3ccc51fff0cc31f Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:108
    await fs.writeFile(
      skillFile,
      `---
name: foo
description: Simple story generation assistant for fiction writing. Use for creating characters, scenes, storylines, and prose. Trigger words: character, scene, storyline, story, prose, fiction, writing.
---
# Instructions
Do something.
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eec98e6499f7c070 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:130
    await fs.writeFile(
      skillFile,
      `---
name: multi-colon
description: Use this for tasks like: coding, reviewing, testing. Keywords: async, await, promise.
---
# Instructions
Do something.
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e528624a03c731a3 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:153
    await fs.writeFile(
      skillFile,
      `---
name: quoted-skill
description: "A skill with colons: like this one: and another."
---
# Instructions
Do something.
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #972b7e1fefc89662 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:177
    await fs.writeFile(
      skillFile,
      `---
name: multiline-skill
description:
  Expertise in reviewing code for style, security, and performance. Use when the
  user asks for "feedback," a "review," or to "check" their changes.
---
# Instructions
Do something.
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ee858f42c2cc9120 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:202
    await fs.writeFile(
      skillFile,
      `---
name: 
description: 
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8af5b33b84caa4f3 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:222
    await fs.writeFile(
      skillFile,
      `---
  name: indented-name
  description: indented-desc
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cc2256774fbaf0e3 Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:242
    await fs.writeFile(
      skillFile,
      `---
name:no-space-name
description:no-space-desc
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #363c3099575885ba Filesystem access.
repo/packages/core/src/skills/skillLoader.test.ts:260
    await fs.writeFile(
      skillFile,
      `---
name: gke:prs-troubleshooter
description: Test sanitization
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #49007f8e74f1c20d Filesystem access.
repo/packages/core/src/skills/skillLoader.ts:168
    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 #c7c9f1c68a3ee03b Filesystem access.
repo/packages/core/src/skills/skillManager.test.ts:46
    await fs.writeFile(
      path.join(userDir, 'skill-a', 'SKILL.md'),
      `---
name: skill-user
description: user-desc
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7aaa93ff3bfb2a93 Filesystem access.
repo/packages/core/src/skills/skillManager.test.ts:54
    await fs.writeFile(
      path.join(projectDir, 'skill-b', 'SKILL.md'),
      `---
name: skill-project
description: project-desc
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d23837410967ec60 Filesystem access.
repo/packages/core/src/skills/skillManager.test.ts:109
    await fs.writeFile(
      path.join(userDir, 'skill', 'SKILL.md'),
      `---
name: same-name
description: user-desc
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a090dffae503ec4e Filesystem access.
repo/packages/core/src/skills/skillManager.test.ts:117
    await fs.writeFile(
      path.join(projectDir, 'skill', 'SKILL.md'),
      `---
name: same-name
description: project-desc
---
`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f222b8174eebba56 Filesystem access.
repo/packages/core/src/skills/skillManager.test.ts:200
    await fs.writeFile(
      path.join(skillDir, 'SKILL.md'),
      `---
name: skill1
description: desc1
---
body1`,
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a1ed6f51627401b0 Filesystem access.
repo/packages/core/src/skills/skillManager.test.ts:234
    await fs.writeFile(
      path.join(projectDir, 'skill-project', 'SKILL.md'),
      `---
name: skill-project
description: project-desc
---
`,
    );

Reads environment variables or the filesystem — 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 #8f5c303c6bc715da Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.test.ts:221
      http.post(CLEARCUT_URL, () => HttpResponse.text(EXAMPLE_RESPONSE)),

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 #5f20edf0cec062e4 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.test.ts:913
      server.resetHandlers(http.post(CLEARCUT_URL, () => HttpResponse.error()));

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 #926bd0fad202e195 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.test.ts:932
        http.post(CLEARCUT_URL, () =>
          HttpResponse.json(
            { 'the system is down': true },
            {
              status: 500,
            },
          ),
        ),

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 #7de1e1b9187d6ca3 Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:186
  if (process.env['SURFACE']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #592146eb46f36fe6 Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:187
    return process.env['SURFACE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #00911099783ce91d Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:190
  } else if (process.env['GITHUB_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 production #e5164934ab52743c Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:192
  } else if (process.env['TERM_PROGRAM'] === 'vscode') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #21959975d0c53829 Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:203
  return process.env['GH_WORKFLOW_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 #70a45745cf57a786 Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:210
  return process.env['GITHUB_REPOSITORY'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1ecb43907fd7966 Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:217
  return process.env['GITHUB_EVENT_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 #48c630c01c9ef93d Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:224
  return process.env['GH_PR_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 #33c170eaeeefeabb Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:231
  return process.env['GH_ISSUE_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 #2cc4aee7477e0076 Environment-variable access.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:238
  return process.env['GH_CUSTOM_TRACKING_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 egress production #f0959da8198cc652 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:557
      const response = await fetch(CLEARCUT_URL, {
        method: 'POST',
        body: safeJsonStringify(request),
        headers: {
          'Content-Type': 'application/json',
        },
      });

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 #5756ca240bbc9158 Environment-variable access.
repo/packages/core/src/telemetry/event-loop-monitor.ts:22
      process.env['GEMINI_EVENT_LOOP_MONITOR_ENABLED'] === '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 #64eab889564d1329 Environment-variable access.
repo/packages/core/src/telemetry/gcp-exporters.ts:61
          process.env['GEMINI_STRICT_TELEMETRY_LIMITS'] === '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 #3047fc1e9ad3d569 Environment-variable access.
repo/packages/core/src/telemetry/gcp-exporters.ts:124
          process.env['GEMINI_STRICT_TELEMETRY_LIMITS'] === '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 #7ee9de03ac0f37a8 Environment-variable access.
repo/packages/core/src/telemetry/metrics.ts:1135
      process.env['GEMINI_STRICT_TELEMETRY_LIMITS'] === '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 #be2d5ea77569c885 Environment-variable access.
repo/packages/core/src/telemetry/metrics.ts:1153
      process.env['GEMINI_STRICT_TELEMETRY_LIMITS'] === '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 #57237fe2afee3746 Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:156
    const originalEnv = process.env['OTLP_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 production #53d2d02bad38adf9 Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:157
    process.env['OTLP_GOOGLE_CLOUD_PROJECT'] = 'test-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 production #5efca7d892575e6f Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:168
        process.env['OTLP_GOOGLE_CLOUD_PROJECT'] = 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 production #beb2f77c5e9de90a Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:170
        delete process.env['OTLP_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 production #c971c2ad794eca4c Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:205
    const originalOtlpEnv = process.env['OTLP_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 production #c7633eac7d056a9f Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:206
    const originalGoogleEnv = 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 production #ecb9adc553f95f3b Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:207
    delete process.env['OTLP_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 production #d147c9c1be057b3f Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:208
    delete 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 production #4c80410dfc57a0bc Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:219
        process.env['OTLP_GOOGLE_CLOUD_PROJECT'] = originalOtlpEnv;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1fc254bee72e59ca Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:222
        process.env['GOOGLE_CLOUD_PROJECT'] = originalGoogleEnv;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e6a682fd3c368565 Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:235
    const originalOtlpEnv = process.env['OTLP_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 production #3bf50ff86a589ee3 Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:236
    const originalGoogleEnv = 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 production #c23ad4ce9074ff69 Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:237
    delete process.env['OTLP_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 production #8e70fef887062728 Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:238
    process.env['GOOGLE_CLOUD_PROJECT'] = 'fallback-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 production #4fba2d4a712bd429 Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:258
        process.env['OTLP_GOOGLE_CLOUD_PROJECT'] = originalOtlpEnv;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9f1eacdd8f2d263b Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:261
        process.env['GOOGLE_CLOUD_PROJECT'] = originalGoogleEnv;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2127a3fb65a9945a Environment-variable access.
repo/packages/core/src/telemetry/sdk.test.ts:263
        delete 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 production #55a818f81b0f36a2 Environment-variable access.
repo/packages/core/src/telemetry/sdk.ts:250
    process.env['OTLP_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 production #c70cbd3a861ae668 Environment-variable access.
repo/packages/core/src/telemetry/sdk.ts:251
    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 production #bb42cf3c012d5fda Environment-variable access.
repo/packages/core/src/telemetry/sdk.ts:356
    const monitorInterval = process.env['GEMINI_MEMORY_MONITOR_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.

low env_fs production #8e979c8bce38b65e Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:84
    await fsp.writeFile(
      path.join(tempRootDir, 'policies', 'new-policies.txt'),
      '[[rule]]\ntoolName = "run_shell_command"\ndecision = "allow"\n',
      '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 #b5619972bca72bef Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:160
    const updatedContent = await fsp.readFile(correctFilePath, '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 #674580d1cade1bd9 Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:194
    const createdContent = await fsp.readFile(correctFilePath, '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 #10df0e4a0c66e702 Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:230
    const createdContent = await fsp.readFile(correctFilePath, '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 #3a4b861506b3b871 Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:269
    const createdContent = await fsp.readFile(correctFilePath, '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 #a65b22e86cc4af1e Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:310
    const createdContent = await fsp.readFile(correctFilePath, '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 #f188caf1a6468299 Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:362
    const createdContent = await fsp.readFile(correctFilePath, '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 #d099680f6930c05a Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:455
    await fsp.writeFile(
      path.join(plansDir, 'plan-file.txt'),
      'plan content',
      '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 #1375dbaef4e17f8d Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:500
    const updatedContent = await fsp.readFile(correctFilePath, '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 #07d74afcd65cbb99 Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:533
    const createdContent = await fsp.readFile(correctFilePath, '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 #a5899015ef1e548a Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:571
    const createdContent = await fsp.readFile(correctFilePath, '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 #be413b2e3f0c0597 Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:611
    const createdContent = await fsp.readFile(correctFilePath, '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 #ebd0d0016a5d7612 Filesystem access.
repo/packages/core/src/tools/at-reference-resolution.test.ts:662
    const createdContent = await fsp.readFile(correctFilePath, '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 #d921c9e430eda87b Filesystem access.
repo/packages/core/src/tools/confirmation-policy.test.ts:59
            return fs.readFileSync(p, '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 #ebf65890d60bbb3c Filesystem access.
repo/packages/core/src/tools/confirmation-policy.test.ts:64
          fs.writeFileSync(p, 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 production #6b2c8ca76a4ca7b4 Filesystem access.
repo/packages/core/src/tools/confirmation-policy.test.ts:163
          fs.writeFileSync(fullPath, 'existing 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 #9e6eb249246d895f Filesystem access.
repo/packages/core/src/tools/edit.test.ts:772
      fs.writeFileSync(filePath, initialContent, '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 #62a013606e2cea1a Filesystem access.
repo/packages/core/src/tools/edit.test.ts:797
      expect(fs.readFileSync(filePath, 'utf8')).toBe(newContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #98f40c8a1779022e Filesystem access.
repo/packages/core/src/tools/edit.test.ts:805
      fs.writeFileSync(filePath, 'Some content.', '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 #3184655a0066acd8 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:830
      fs.writeFileSync(filePath, initialContent, '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 #19b1ce353f389918 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:856
      expect(fs.readFileSync(filePath, 'utf8')).toBe(finalContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0973d70393083774 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:863
      fs.writeFileSync(filePath, initialContent, '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 #58bc8fffa1dfc55c Filesystem access.
repo/packages/core/src/tools/edit.test.ts:874
      const finalContent = 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 #67ec17b21c656d8f Filesystem access.
repo/packages/core/src/tools/edit.test.ts:890
      const finalContent = 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 #c52c339ce0f59e86 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:896
      fs.writeFileSync(filePath, initialContent, '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 #aca999e3ed65a42a Filesystem access.
repo/packages/core/src/tools/edit.test.ts:926
      expect(fs.readFileSync(filePath, 'utf8')).toBe(initialContent); // File is unchanged

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #692cfe1625651e60 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:942
      fs.writeFileSync(filePath, initialContent, '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 #6c5a689dc434b388 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:999
        setup: (fp: string) => fs.writeFileSync(fp, 'existing content', '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 #f127710124a6d19e Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1005
        setup: (fp: string) => fs.writeFileSync(fp, 'content', '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 #580ba3388217287a Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1011
        setup: (fp: string) => fs.writeFileSync(fp, 'one one two', '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 #29dd57974f755f01 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1099
        fs.writeFileSync(filePath, content, '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 #58acb28112cb560b Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1115
            expect(fs.readFileSync(filePath, 'utf8')).toBe(finalContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cd1a4e02fab63541 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1142
      fs.writeFileSync(filePath, initialContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b8687ff430f72f38 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1234
        fs.writeFileSync(filePath, content, '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 #c5d0c465fd0ff6a5 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1272
        const finalContent = fs.readFileSync(file.path, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #51b2f73f6d821c3a Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1294
      fs.writeFileSync(filePath, 'Some content.', '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 #afcc930f1be823d3 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1317
      fs.writeFileSync(filePath, 'Some content.', '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 #54925e632201ab2d Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1337
      fs.writeFileSync(filePath, '{"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 production #70966f78329c8717 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1356
      fs.writeFileSync(filePath, '{"cells": []}', '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 #8d1e387608e03fe5 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1387
      fs.writeFileSync(filePath, initialContent, '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 #edd07437d665b862 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1418
      fs.writeFileSync(filePath, initialContent, '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 #0818149029e79095 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1455
      fs.writeFileSync(planFilePath, initialContent, '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 #5a042dbb5e98398b Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1472
      expect(fs.readFileSync(planFilePath, 'utf8')).toBe('some 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 production #94907cb67b9ae0bb Filesystem access.
repo/packages/core/src/tools/exit-plan-mode.test.ts:78
    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 production #4bd66ded8a23dfdb Filesystem access.
repo/packages/core/src/tools/exit-plan-mode.test.ts:498
      fs.writeFileSync(outsideFile, 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4f8ca2c1c447a0cd Filesystem access.
repo/packages/core/src/tools/get-internal-docs.test.ts:45
    const expectedContent = await fs.readFile(expectedDocsPath, '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 #58e8d230f9b98630 Filesystem access.
repo/packages/core/src/tools/get-internal-docs.ts:131
      const content = await fs.readFile(resolvedPath, '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 #625dd46f0906acb0 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:44
    await fs.writeFile(path.join(tempRootDir, '.git'), ''); // Fake git 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 production #36132c597ae5de60 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:85
    await fs.writeFile(path.join(tempRootDir, 'fileA.txt'), 'contentA');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a40d9233e5b1496d Filesystem access.
repo/packages/core/src/tools/glob.test.ts:86
    await fs.writeFile(path.join(tempRootDir, 'FileB.TXT'), 'contentB'); // Different case for testing

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8e6d4404332fb6e6 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:90
    await fs.writeFile(path.join(tempRootDir, 'sub', 'fileC.md'), 'contentC');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #217afbff6bc230ca Filesystem access.
repo/packages/core/src/tools/glob.test.ts:91
    await fs.writeFile(path.join(tempRootDir, 'sub', 'FileD.MD'), 'contentD'); // Different case

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c22e10385fc18b9d Filesystem access.
repo/packages/core/src/tools/glob.test.ts:95
    await fs.writeFile(
      path.join(tempRootDir, 'sub', 'deep', 'fileE.log'),
      'contentE',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a931cffe146aabd2 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:101
    await fs.writeFile(path.join(tempRootDir, 'older.sortme'), 'older_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 #fb8671c24cc63046 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:104
    await fs.writeFile(path.join(tempRootDir, 'newer.sortme'), 'newer_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 #ff7294b65ade2fff Filesystem access.
repo/packages/core/src/tools/glob.test.ts:204
      await fs.writeFile(path.join(tempRootDir, 'file[1].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 production #f6b9b2eab6667c28 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:220
      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 #6eca60dc8b339d4e Filesystem access.
repo/packages/core/src/tools/glob.test.ts:333
      await fs.writeFile(path.join(tempRootDir, 'not-a-dir'), '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 #62645876424f9baf Filesystem access.
repo/packages/core/src/tools/glob.test.ts:380
      await fs.writeFile(
        path.join(tempRootDir, '.gitignore'),
        'ignored_test.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 production #3bcdb5bb2bb626f8 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:384
      await fs.writeFile(path.join(tempRootDir, 'ignored_test.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 production #058af6b1ac93e35a Filesystem access.
repo/packages/core/src/tools/glob.test.ts:385
      await fs.writeFile(path.join(tempRootDir, 'visible_test.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 production #3e3d9405576d820b Filesystem access.
repo/packages/core/src/tools/glob.test.ts:397
      await fs.writeFile(
        path.join(tempRootDir, GEMINI_IGNORE_FILE_NAME),
        'gemini-ignored_test.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 production #3cfdf9893c25e5a0 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:401
      await fs.writeFile(
        path.join(tempRootDir, 'gemini-ignored_test.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 production #19c316a98cde6613 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:405
      await fs.writeFile(path.join(tempRootDir, 'visible_test.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 production #6357838bf69e3be4 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:417
      await fs.writeFile(
        path.join(tempRootDir, '.gitignore'),
        'ignored_test.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 production #816f8728a298b5a4 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:421
      await fs.writeFile(path.join(tempRootDir, 'ignored_test.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 production #3c54d4388961b254 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:435
      await fs.writeFile(
        path.join(tempRootDir, GEMINI_IGNORE_FILE_NAME),
        'gemini-ignored_test.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 production #40c3c53825c45142 Filesystem access.
repo/packages/core/src/tools/glob.test.ts:439
      await fs.writeFile(
        path.join(tempRootDir, 'gemini-ignored_test.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 production #8850d4d7bbb3058e Filesystem access.
repo/packages/core/src/tools/grep-utils.ts:53
    const content = await fsPromises.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 #f69a7596c652e5f1 Filesystem access.
repo/packages/core/src/tools/grep.test.ts:89
    await fs.writeFile(
      path.join(tempRootDir, 'fileA.txt'),
      'hello world\nsecond line with 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 #9f207907f9c0929b Filesystem access.
repo/packages/core/src/tools/grep.test.ts:93
    await fs.writeFile(
      path.join(tempRootDir, 'fileB.js'),
      'const foo = "bar";\nfunction baz() { return "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 production #6e4c24480e4019d2 Filesystem access.
repo/packages/core/src/tools/grep.test.ts:98
    await fs.writeFile(
      path.join(tempRootDir, 'sub', 'fileC.txt'),
      'another world in sub dir',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9d2fb8730209be7f Filesystem access.
repo/packages/core/src/tools/grep.test.ts:102
    await fs.writeFile(
      path.join(tempRootDir, 'sub', 'fileD.md'),
      '# Markdown file\nThis is a 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 #54f336fea622e075 Filesystem access.
repo/packages/core/src/tools/grep.test.ts:196
      await fs.writeFile(path.join(tempRootDir, '..env'), 'world in ..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 #fde5e753731c888a Filesystem access.
repo/packages/core/src/tools/grep.test.ts:258
      await fs.writeFile(
        path.join(tempRootDir, 'sub', 'another.js'),
        '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 production #a4c2ef128608ae9a Filesystem access.
repo/packages/core/src/tools/grep.test.ts:368
      await fs.writeFile(
        path.join(secondDir, 'other.txt'),
        'hello from second directory\nworld in second',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5fececa9a27aa5bc Filesystem access.
repo/packages/core/src/tools/grep.test.ts:372
      await fs.writeFile(
        path.join(secondDir, 'another.js'),
        'function world() { return "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 #254cc0909401ffee Filesystem access.
repo/packages/core/src/tools/grep.test.ts:456
      await fs.writeFile(
        path.join(secondDir, 'sub', 'test.txt'),
        'hello from second sub 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 #7f86070b65c3bb6c Filesystem access.
repo/packages/core/src/tools/grep.test.ts:585
      await fs.writeFile(
        path.join(tempRootDir, 'copyright.txt'),
        'Copyright 2025 Google LLC\nCopyright 2026 Google LLC',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5d607543083f1e03 Filesystem access.
repo/packages/core/src/tools/grep.test.ts:609
      await fs.writeFile(
        path.join(tempRootDir, 'context.txt'),
        lines.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 #b7ba2e1079626f99 Filesystem access.
repo/packages/core/src/tools/grep.test.ts:631
      await fs.writeFile(
        path.join(tempRootDir, 'longline.txt'),
        `Target match ${longString}`,
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d13445d1b31260c2 Filesystem access.
repo/packages/core/src/tools/grep.ts:600
          const content = await fsPromises.readFile(fileAbsolutePath, '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 #3b507517f421976d Filesystem access.
repo/packages/core/src/tools/line-endings.test.ts:172
      fs.writeFileSync(filePath, originalContent); // Write with CRLF (or however Node writes binary buffer)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3e7982a5a7fbfe7f Filesystem access.
repo/packages/core/src/tools/line-endings.test.ts:174
      fs.writeFileSync(filePath, Buffer.from('line1\r\nline2\r\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 #59400ddbcac301d6 Filesystem access.
repo/packages/core/src/tools/line-endings.test.ts:197
      const writtenContent = 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 #44f42cbea34fd8b9 Filesystem access.
repo/packages/core/src/tools/line-endings.test.ts:222
      const writtenContent = 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 #82b67f8edda4160b Filesystem access.
repo/packages/core/src/tools/line-endings.test.ts:245
      fs.writeFileSync(filePath, Buffer.from(originalContent));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7f8bc46d1619d082 Filesystem access.
repo/packages/core/src/tools/line-endings.test.ts:270
      const writtenContent = 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 #cae53eb449fa0201 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:122
      await fs.writeFile(path.join(tempRootDir, 'file1.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bbb77d9c1e0626a7 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:124
      await fs.writeFile(
        path.join(tempSecondaryDir, 'secondary-file.txt'),
        'secondary',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #283e3c9573c9d8cd Filesystem access.
repo/packages/core/src/tools/ls.test.ts:141
      await fs.writeFile(path.join(tempRootDir, 'file1.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #87b1c223afeaca44 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:143
      await fs.writeFile(
        path.join(tempSecondaryDir, 'secondary-file.txt'),
        'secondary',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c23056cc216fc7a7 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:169
      await fs.writeFile(path.join(tempRootDir, 'file1.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8410646837dba200 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:170
      await fs.writeFile(path.join(tempRootDir, 'file2.log'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3860db1592394cfb Filesystem access.
repo/packages/core/src/tools/ls.test.ts:187
      await fs.writeFile(path.join(tempRootDir, 'file1.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6de4c6b1abb3a31d Filesystem access.
repo/packages/core/src/tools/ls.test.ts:188
      await fs.writeFile(path.join(tempRootDir, 'file2.log'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eea36b8b58abe251 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:189
      await fs.writeFile(path.join(tempRootDir, '.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 production #29ae50eee48cf0a9 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:190
      await fs.writeFile(path.join(tempRootDir, '.gitignore'), '*.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 #fe58cd61d17d3954 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:203
      await fs.writeFile(path.join(tempRootDir, 'file1.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #593c63c4707070f9 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:204
      await fs.writeFile(path.join(tempRootDir, 'file2.log'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5e01b8f7839fcfb8 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:205
      await fs.writeFile(
        path.join(tempRootDir, GEMINI_IGNORE_FILE_NAME),
        '*.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 #cdfccd0371fe5036 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:221
      await fs.writeFile(testPath, 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #936226ff18d8620b Filesystem access.
repo/packages/core/src/tools/ls.test.ts:242
      await fs.writeFile(path.join(tempRootDir, 'a-file.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #400786a8254d4fe2 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:243
      await fs.writeFile(path.join(tempRootDir, 'b-file.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #10f173c53c3354ad Filesystem access.
repo/packages/core/src/tools/ls.test.ts:282
      await fs.writeFile(path.join(tempRootDir, 'file1.txt'), 'content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d311299d69ba764c Filesystem access.
repo/packages/core/src/tools/ls.test.ts:284
      await fs.writeFile(problematicFile, 'content2');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #27bd056398414be7 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:357
      await fs.writeFile(
        path.join(tempSecondaryDir, 'secondary-file.txt'),
        'secondary',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3abf6653951ad190 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:378
      await fs.writeFile(path.join(tempRootDir, 'jit-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 production #ed42fe641b6750f5 Filesystem access.
repo/packages/core/src/tools/ls.test.ts:392
      await fs.writeFile(
        path.join(tempRootDir, 'jit-disabled-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 egress production #82069ca279cf5585 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2242
          _url: new URL('http://test-server'),

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 #5e3cf061ea7f444c Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2260
          _url: new URL('http://test-server'),

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 #dfc9402b501d8bf7 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2280
          _url: new URL('http://test-server'),

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 #0cb2ef286cd27fc2 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2298
          _url: new URL('http://test-server'),

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 #8a4007f0f1d6e959 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2315
          _url: new URL('http://test-server'),

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 #69f8f284cb57afd4 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2334
          _url: new URL('http://test-server'),

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 #5abcc085610c7318 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2355
          _url: new URL('http://test-server'),

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 #b974b14d1f246b83 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/core/src/tools/mcp-client.test.ts:2376
          _url: new URL('http://test-server-http'),

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 #b6ba16ab260bd710 Environment-variable access.
repo/packages/core/src/tools/mcp-client.ts:2192
  const noProxy = process.env['NO_PROXY'] || process.env['no_proxy'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a4973ef971dd6be8 Filesystem access.
repo/packages/core/src/tools/modifiable-tool.test.ts:82
      await fsp.writeFile(newPath, modifiedContent, '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 #384af5603ddbaa64 Filesystem access.
repo/packages/core/src/tools/modifiable-tool.test.ts:168
        await fsp.writeFile(newPath, modifiedContent, '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 #5e1012e46726451c Filesystem access.
repo/packages/core/src/tools/modifiable-tool.test.ts:187
      await fsp.writeFile(newPath, modifiedContent, '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 #865d3f5bd418bb7f Filesystem access.
repo/packages/core/src/tools/modifiable-tool.ts:93
  fs.writeFileSync(tempOldPath, currentContent, {
    encoding: 'utf8',
    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 production #543a5bbe6dc919f7 Filesystem access.
repo/packages/core/src/tools/modifiable-tool.ts:97
  fs.writeFileSync(tempNewPath, proposedContent, {
    encoding: 'utf8',
    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 production #93068f7ae5580f23 Filesystem access.
repo/packages/core/src/tools/modifiable-tool.ts:115
    oldContent = fs.readFileSync(tmpOldPath, '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 #e0aa7345c47318de Filesystem access.
repo/packages/core/src/tools/modifiable-tool.ts:122
    newContent = fs.readFileSync(tempNewPath, '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 #fe8aaf4b17c76e84 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:238
      await fsp.writeFile(filePath, fileContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #53afa7331e6969d7 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:276
      await fsp.writeFile(filePath, fileContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c1a5d2a61a72c4fb Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:316
      await fsp.writeFile(filePath, largeContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ef30e8ed2250efc3 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:332
      await fsp.writeFile(filePath, fileContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0696002923abbcbd Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:350
      await fsp.writeFile(imagePath, pngHeader);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3de405cd69e705e6 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:368
      await fsp.writeFile(pdfPath, pdfHeader);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8f2c2f6ff41b0073 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:386
      await fsp.writeFile(binPath, binaryData);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c9122830417d0722 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:400
      await fsp.writeFile(svgPath, svgContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4ba164869901fcb9 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:413
      await fsp.writeFile(svgPath, largeContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #90f885bcc8f1f628 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:428
      await fsp.writeFile(emptyPath, '', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e404bc769b0f01d1 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:441
      await fsp.writeFile(filePath, fileContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #134262a09765282d Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:470
      await fsp.writeFile(tempFilePath, tempFileContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8aada13e7ddf10ef Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:482
        await fsp.writeFile(
          path.join(tempRootDir, GEMINI_IGNORE_FILE_NAME),
          ['foo.*', 'ignored/'].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 #ecec82b9c626626f Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:525
        await fsp.writeFile(ignoredFilePath, '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 #04a6e11e3e0005a9 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:537
        await fsp.writeFile(ignoredFilePath, '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 #31d5b424d9270198 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:547
        await fsp.writeFile(allowedFilePath, '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 #392461da8821b8b3 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:557
        await fsp.writeFile(ignoredFilePath, '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 #3f087659d5215fbf Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:642
      await fsp.writeFile(filePath, fileContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf2c4327409f6404 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:658
      await fsp.writeFile(filePath, fileContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #22eb7c3936736832 Filesystem access.
repo/packages/core/src/tools/read-file.test.ts:684
      await fsp.writeFile(filePath, pngHeader);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e24cb1b95aad40c8 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:92
    fs.writeFileSync(path.join(tempRootDir, GEMINI_IGNORE_FILE_NAME), 'foo.*');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2f3d746aa32385c4 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:150
          return originalFs.promises.readFile(fp, options);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2187bdd71a3b7481 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:263
      fs.writeFileSync(fullPath, 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 #0d81f5d9dce90cf4 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:268
      fs.writeFileSync(fullPath, 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 production #cded557dd1746ce9 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:606
      fs.writeFileSync(path.join(tempDir1, 'file1.txt'), 'Content1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5ec633ab93f77e2a Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:607
      fs.writeFileSync(path.join(tempDir2, 'file2.txt'), 'Content2');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #77b34e756877b11e Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:752
      fs.writeFileSync(fullPath, 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 #63b4b351011e07b9 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:876
      fs.writeFileSync(
        path.join(tempRootDir, 'jit-test.ts'),
        'const x = 1;',
        '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 #ff9bd6c9aa649b75 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:899
      fs.writeFileSync(
        path.join(tempRootDir, 'jit-disabled-test.ts'),
        'const y = 2;',
        '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 #816b41496745e594 Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:938
      fs.writeFileSync(
        path.join(tempRootDir, 'subA', 'a.ts'),
        'const a = 1;',
        '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 #9970fc5c541e053a Filesystem access.
repo/packages/core/src/tools/read-many-files.test.ts:943
      fs.writeFileSync(
        path.join(tempRootDir, 'subB', 'b.ts'),
        'const b = 2;',
        '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 #e6db6cba9de8a46d Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:171
    await fs.writeFile(
      path.join(tempRootDir, 'fileA.txt'),
      'hello world\nsecond line with 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 #8f5618bc42448f43 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:175
    await fs.writeFile(
      path.join(tempRootDir, 'fileB.js'),
      'const foo = "bar";\nfunction baz() { return "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 production #23d1e5f0b2ceff77 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:180
    await fs.writeFile(
      path.join(tempRootDir, 'sub', 'fileC.txt'),
      'another world in sub dir',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f1611b708750a10f Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:184
    await fs.writeFile(
      path.join(tempRootDir, 'sub', 'fileD.md'),
      '# Markdown file\nThis is a 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 #da69c0650f62821c Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:407
      await fs.writeFile(
        path.join(tempRootDir, 'sub', 'another.js'),
        '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 production #7c418b79c6da61cf Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:561
      await fs.writeFile(
        path.join(tempRootDir, GEMINI_IGNORE_FILE_NAME),
        'ignored.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 production #4001c85112cf3235 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:707
      await fs.writeFile(
        path.join(secondDir, 'other.txt'),
        'hello from second directory\nworld in second',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7ecd2d64a0c1cf21 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:711
      await fs.writeFile(
        path.join(secondDir, 'another.js'),
        'function world() { return "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 #648eb8d2086600cd Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:792
      await fs.writeFile(
        path.join(secondDir, 'sub', 'test.txt'),
        'hello from second sub 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 #a24a3a48a735c85e Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:900
          await fs.writeFile(path.join(tempRootDir, 'empty.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 production #4f322e78e5e3ca81 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:916
      await fs.writeFile(
        path.join(tempRootDir, specialFileName),
        'hello world with special chars',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0d46289573ac4ece Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:947
      await fs.writeFile(
        path.join(deepPath, 'deep.txt'),
        'content in deep 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 #a01cb6cfe4f62347 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:978
      await fs.writeFile(
        path.join(tempRootDir, 'code.js'),
        'function getName() { return "test"; }\nconst getValue = () => "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 #44475732e417cece Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1010
      await fs.writeFile(
        path.join(tempRootDir, 'case.txt'),
        'Hello World\nhello world\nHELLO 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 #1c34c8e419c64f69 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1059
      await fs.writeFile(
        path.join(tempRootDir, 'special.txt'),
        'Price: $19.99\nRegex: [a-z]+ pattern\nEmail: [email protected]',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a751aac42b903772 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1093
      await fs.writeFile(
        path.join(tempRootDir, 'test.ts'),
        'typescript 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 #e16f435605f9ec40 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1097
      await fs.writeFile(path.join(tempRootDir, 'test.tsx'), 'tsx 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 #ab8bd5fcb3c1b6ba Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1098
      await fs.writeFile(
        path.join(tempRootDir, 'test.js'),
        'javascript 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 #747b56a62ae6016f Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1102
      await fs.writeFile(path.join(tempRootDir, 'test.txt'), 'text 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 #b0109711197a7b55 Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1144
      await fs.writeFile(
        path.join(tempRootDir, 'src', 'main.ts'),
        'source 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 #8c81eea3c00fcecb Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1148
      await fs.writeFile(path.join(tempRootDir, 'other.ts'), 'other 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 #4828d79f7c78bc1f Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1357
      await fs.writeFile(geminiIgnorePath, 'ignored.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 #4f05b7538cc7f07b Filesystem access.
repo/packages/core/src/tools/ripGrep.test.ts:1403
      await fs.writeFile(geminiIgnorePath, 'ignored.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 #0f2c6d4b6fbb92e6 Environment-variable access.
repo/packages/core/src/tools/shell.test.ts:90
const originalComSpec = 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 production #687102734cd76ee0 Environment-variable access.
repo/packages/core/src/tools/shell.test.ts:204
    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 production #40b94dacce3179d4 Environment-variable access.
repo/packages/core/src/tools/shell.test.ts:250
      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 production #e425e3de32bce297 Environment-variable access.
repo/packages/core/src/tools/shell.test.ts:252
      process.env['ComSpec'] = originalComSpec;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2f43891453d2f50c Filesystem access.
repo/packages/core/src/tools/shell.test.ts:317
      fs.writeFileSync(extractedTmpFile, `54321${os.EOL}54322${os.EOL}`);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7b9c3cb7a5e6104 Filesystem access.
repo/packages/core/src/tools/shell.test.ts:352
      fs.writeFileSync(extractedTmpFile, `67890${os.EOL}`);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a32a567fed9a90db Filesystem access.
repo/packages/core/src/tools/shell.test.ts:353
      expect(fs.readFileSync(extractedTmpFile, 'utf8').trim()).toBe('67890');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #44fd98fcbebfd973 Filesystem access.
repo/packages/core/src/tools/shell.test.ts:660
          fs.writeFileSync(extractedTmpFile, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #58fddb3a511db5ed Environment-variable access.
repo/packages/core/src/tools/shell.ts:209
      const systemRoot = process.env['SystemRoot'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b4ab22a570a50e0c Environment-variable access.
repo/packages/core/src/tools/shell.ts:214
      const programFiles = process.env['ProgramFiles'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #230202dccaffb580 Environment-variable access.
repo/packages/core/src/tools/shell.ts:216
      const programFilesX86 = process.env['ProgramFiles(x86)'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #45ab0155c0cb79ff Filesystem access.
repo/packages/core/src/tools/shell.ts:741
          const backgroundPIDContent = await fsPromises.readFile(
            tempFilePath,
            '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 #49096c81091b49b4 Filesystem access.
repo/packages/core/src/tools/shellBackgroundTools.integration.test.ts:54
    fs.writeFileSync(
      scriptPath,
      "setInterval(() => console.log('Log line'), 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 production #d74a3473fb8f1bd9 Filesystem access.
repo/packages/core/src/tools/shellBackgroundTools.test.ts:152
    fs.writeFileSync(logPath, 'line 1\nline 2\nline 3\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 #a6016ab0e4558381 Filesystem access.
repo/packages/core/src/tools/shellBackgroundTools.test.ts:211
    fs.writeFileSync(logPath, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #33532fb015976c56 Filesystem access.
repo/packages/core/src/tools/shellBackgroundTools.test.ts:243
    fs.writeFileSync(logPath, 'dummy content');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0115192125c3b04b Filesystem access.
repo/packages/core/src/tools/shellBackgroundTools.test.ts:281
    fs.writeFileSync(logPath, 'dummy content');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9864fce6127b33c9 Filesystem access.
repo/packages/core/src/tools/shellBackgroundTools.test.ts:320
    fs.writeFileSync(logPath, 'line1\nline2\nline3\nline4\nline5');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #755e79f887f3cbe1 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:406
      fs.writeFileSync(filePath, originalContent, '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 #d858347058d76ec2 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:468
      fs.writeFileSync(filePath, 'content', { mode: 0o000 });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c1e130d26fbb544c Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:503
      fs.writeFileSync(filePath, 'original', { mode: 0o000 });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fe6bd2ff29710785 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:557
      fs.writeFileSync(filePath, originalContent, '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 #78973b4bbdc31f24 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:738
      fs.writeFileSync(filePath, 'original', { mode: 0o000 });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #40ddcae88300c053 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:807
      fs.writeFileSync(filePath, initialContent, '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 #12346db0f0fed35c Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:854
      expect(fs.readFileSync(filePath, 'utf8')).toBe(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 #18e5583c5e4fe0e7 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:914
      fs.writeFileSync(filePath, originalContent, '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 #9774516f7c9faccd Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:1104
      fs.writeFileSync(filePath, originalContent, '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 #5ca3c6b2bb8efe89 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:1186
      expect(fs.readFileSync(expectedWritePath, 'utf8')).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 production #0f8658a0caeff782 Filesystem access.
repo/packages/core/src/utils/bfsFileSearch.test.ts:27
    await fsPromises.writeFile(fullPath, 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 #3d7f8e3f50b50c90 Filesystem access.
repo/packages/core/src/utils/bfsFileSearch.test.ts:250
    await fsPromises.writeFile(fullPath, 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 #b3a91b9f5aaff1b2 Environment-variable access.
repo/packages/core/src/utils/browser.ts:18
  const browserEnv = process.env['BROWSER'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #30c33552024c877f Environment-variable access.
repo/packages/core/src/utils/browser.ts:24
    process.env['CI'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a7c1fa7d4e438ec1 Environment-variable access.
repo/packages/core/src/utils/browser.ts:25
    process.env['DEBIAN_FRONTEND'] === 'noninteractive'

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c553f5d1432c28fb Environment-variable access.
repo/packages/core/src/utils/browser.ts:33
  const isSSH = !!process.env['SSH_CONNECTION'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d17987abc1e870a3 Environment-variable access.
repo/packages/core/src/utils/browser.ts:40
    const hasDisplay = displayVariables.some((v) => !!process.env[v]);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e909085f29f65496 Filesystem access.
repo/packages/core/src/utils/browserConsent.ts:86
    await fs.writeFile(
      consentFilePath,
      `Browser privacy consent acknowledged at ${new Date().toISOString()}\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 #2cfe7ffd0a16a0b2 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:40
  return !!process.env['TMUX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #27fed28a71e1e5d6 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:47
  return !!process.env['STY'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a872b944c3823427 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:54
  const term = process.env['TERM'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #49bed8a2946ae43e Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:55
  return isTmux() && term.startsWith('screen') && !process.env['COLORTERM'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #daacb90b7d0019f4 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:62
  const term = process.env['TERM'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3708042f8f0d964b Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:70
  return process.env['TERM_PROGRAM'] === 'Apple_Terminal';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3bdd60281daf3c65 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:83
  const term = process.env['TERM'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c6dc321802119a38 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:102
    process.env['COLORTERM'] === 'truecolor' ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2813cc8062b864b2 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:103
    process.env['COLORTERM'] === '24bit' ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #15f828c7cdad932e Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:104
    process.env['COLORTERM'] === 'kmscon'

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #93706bf702110e87 Environment-variable access.
repo/packages/core/src/utils/compatibility.ts:173
    const term = process.env['TERM'] || 'dumb';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74d9268160474f92 Environment-variable access.
repo/packages/core/src/utils/debugLogger.ts:27
    this.logStream = process.env['GEMINI_DEBUG_LOG_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 #c1b8f21386b3649b Environment-variable access.
repo/packages/core/src/utils/debugLogger.ts:28
      ? fs.createWriteStream(process.env['GEMINI_DEBUG_LOG_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 #5a6aa4f61b17fd68 Environment-variable access.
repo/packages/core/src/utils/editor.ts:263
  const notUsingSandbox = !process.env['SANDBOX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #458010c6dd617ad9 Filesystem access.
repo/packages/core/src/utils/errorReporting.test.ts:52
    const reportContent = await fs.readFile(expectedReportPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b6488b5a1ab70bb8 Filesystem access.
repo/packages/core/src/utils/errorReporting.test.ts:75
    const reportContent = await fs.readFile(expectedReportPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3f4cb9a0da62348e Filesystem access.
repo/packages/core/src/utils/errorReporting.test.ts:96
    const reportContent = await fs.readFile(expectedReportPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #400eecc6b79c0c86 Filesystem access.
repo/packages/core/src/utils/errorReporting.test.ts:171
    const reportContent = await fs.readFile(expectedMinimalReportPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b56f6b33223b96bf Filesystem access.
repo/packages/core/src/utils/errorReporting.test.ts:192
    const reportContent = await fs.readFile(expectedReportPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ba696895750a7855 Filesystem access.
repo/packages/core/src/utils/errorReporting.ts:81
      await fs.writeFile(reportPath, stringifiedReportContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4140236aba88f315 Filesystem access.
repo/packages/core/src/utils/errorReporting.ts:96
    await fs.writeFile(reportPath, stringifiedReportContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #edd1fc4fec80543b Environment-variable access.
repo/packages/core/src/utils/fetch.ts:177
    process.env['NO_PROXY'] ??

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0d498067811e1217 Environment-variable access.
repo/packages/core/src/utils/fetch.ts:178
    process.env['no_proxy'] ??

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #83cf63e16cb05ec0 Environment-variable access.
repo/packages/core/src/utils/fetch.ts:236
    process.env['NO_PROXY'] ??

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #55ac482ee952d4c5 Environment-variable access.
repo/packages/core/src/utils/fetch.ts:237
    process.env['no_proxy'] ??

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7823db52b9537107 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:100
        await fsPromises.readFile(wasmFixturePath),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d4d91c1401f371ca Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:183
      actualNodeFs.writeFileSync(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 production #e3937981229d7810 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:195
      actualNodeFs.writeFileSync(targetFile, '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 #e8deb5edc42ea466 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:205
      actualNodeFs.writeFileSync(testFile, 'some 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 #c77f756f6f47302c Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:211
      actualNodeFs.writeFileSync(testFile, '   ');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #11fcb451a1d00e16 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:224
      actualNodeFs.writeFileSync(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 production #2c7a77eb04774820 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:254
      actualNodeFs.writeFileSync(filePathForBinaryTest, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74107797eff9a584 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:259
      actualNodeFs.writeFileSync(
        filePathForBinaryTest,
        'Hello, world!\nThis is a test file with normal text 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 #8b1ac2c674f54443 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:270
      actualNodeFs.writeFileSync(filePathForBinaryTest, binaryContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0a21bd8b83503aba Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:278
      actualNodeFs.writeFileSync(filePathForBinaryTest, binaryContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3643c224c6fb7e73 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:293
      actualNodeFs.writeFileSync(filePathForBinaryTest, content, '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 #d114176fd23a41f7 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:299
      actualNodeFs.writeFileSync(filePathForBinaryTest, content, '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 #4c29ca9b033b72fe Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:305
      actualNodeFs.writeFileSync(filePathForBinaryTest, binaryContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a4a6fbaf8957c319 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:392
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f0baf2c0eb52060f Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:405
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d3466b025d7e6610 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:435
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0ab327b570ec7ad8 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:460
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b842c8328cc319e5 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:485
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #783ba31c243ea667 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:494
        await fsPromises.writeFile(filePath, content, '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 #1cc5b7b60819377d Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:502
        await fsPromises.writeFile(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 #e92e13a2c7a6f214 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:517
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8088e0a0345c3b9d Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:530
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e33099af308b33a2 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:570
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b86a65ff8864fadc Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:603
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1054ba964e800409 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:636
        await fsPromises.writeFile(filePath, fullBuffer);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7554215c3cef0f2b Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:652
        await fsPromises.writeFile(filePath, fullContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c43dc34eaeaf47b0 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:663
        await fsPromises.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 #8964195c13b00f05 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:677
      actualNodeFs.writeFileSync(filePathForDetectTest, 'Plain text 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 #3a6d9489ee4982e9 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:720
        actualNodeFs.writeFileSync(filePath, binaryContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1bd737709e567e5d Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:731
      actualNodeFs.writeFileSync(
        filePath,
        Buffer.from([0x66, 0x4c, 0x61, 0x43, 0x00, 0x00, 0x00, 0x22]),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ee580f9efe55bcbd Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:753
      actualNodeFs.writeFileSync(filePathForDetectTest, binaryContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #41b3c9b6a21bd994 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:773
      actualNodeFs.writeFileSync(adpFilePath, xmlContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #26f0e872832db680 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:801
      actualNodeFs.writeFileSync(testTextFilePath, 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 #1edd9ad45abb17be Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:823
      actualNodeFs.writeFileSync(testTextFilePath, 'content'); // File must exist for initial statSync

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #998131eb24161523 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:837
      actualNodeFs.writeFileSync(testImageFilePath, 'content'); // File must exist

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7807f87fc7509e46 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:853
      actualNodeFs.writeFileSync(testImageFilePath, fakePngData);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #079f420528fc2efc Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:875
      actualNodeFs.writeFileSync(testPdfFilePath, fakePdfData);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #047d1a17bfde9df6 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:900
      actualNodeFs.writeFileSync(testAudioFilePath, fakeMp3Data);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #195fc8a3464c6fc0 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:925
      actualNodeFs.writeFileSync(wavFilePath, fakeWavData);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ffc912d5625843ac Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:942
      actualNodeFs.writeFileSync(
        unsupportedAudioPath,
        Buffer.from([0x00, 0x01, 0x02, 0x03]),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1d4cbc5728a3a0b9 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:964
      actualNodeFs.writeFileSync(testVideoFilePath, fakeMp4Data);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5d8dfaae74845fd6 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:991
      actualNodeFs.writeFileSync(testSvgFilePath, svgContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b4f3163e51c2c498 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1006
      actualNodeFs.writeFileSync(
        testBinaryFilePath,
        Buffer.from([0x00, 0x01, 0x02]),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #576cfce291bca810 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1036
      actualNodeFs.writeFileSync(testTextFilePath, lines.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 #f7c563bff74f910a Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1056
      actualNodeFs.writeFileSync(testTextFilePath, lines.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 #3ea44d42ed87fa59 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1077
      actualNodeFs.writeFileSync(testTextFilePath, lines.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 #94c607c450438585 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1097
      actualNodeFs.writeFileSync(
        testTextFilePath,
        `Short line\n${longLine}\nAnother short line`,
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ac57c9ce8e2e1e7e Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1121
      actualNodeFs.writeFileSync(testTextFilePath, lines.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 #6acdd132424ec19c Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1141
      actualNodeFs.writeFileSync(testTextFilePath, lines.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 #1a28cf5bb0ab5af3 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1164
      actualNodeFs.writeFileSync(
        testTextFilePath,
        linesWithLongInMiddle.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 #ffd4ee374d948399 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1185
      actualNodeFs.writeFileSync(testTextFilePath, '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 production #46bb0f07cf2146a1 Filesystem access.
repo/packages/core/src/utils/fileUtils.test.ts:1231
      const savedContent = await fsPromises.readFile(
        expectedOutputFile,
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #327d0b801a633ee1 Filesystem access.
repo/packages/core/src/utils/fileUtils.ts:31
  const buffer = await fsPromises.readFile(resolvedPath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a530eafa466a3440 Filesystem access.
repo/packages/core/src/utils/fileUtils.ts:168
  const full = await fs.promises.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 #b4f1791440e37f5e Filesystem access.
repo/packages/core/src/utils/fileUtils.ts:587
        const contentBuffer = await fs.promises.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 #e48507af977ea15d Filesystem access.
repo/packages/core/src/utils/fileUtils.ts:604
        const contentBuffer = await fs.promises.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 #9ac288c6e4cdff9a Filesystem access.
repo/packages/core/src/utils/fileUtils.ts:709
  await fsPromises.writeFile(outputFile, 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 #17505da8a6a9306a Filesystem access.
repo/packages/core/src/utils/filesearch/crawler.test.ts:410
      await fs.writeFile(path.join(tmpDir, '.gitignore'), 'b.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 production #de178781c15533af Filesystem access.
repo/packages/core/src/utils/filesearch/fileSearch.test.ts:205
    await fs.writeFile(filePath, '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 production #5b7f16b2a25c3d02 Filesystem access.
repo/packages/core/src/utils/filesearch/fileWatcher.test.ts:54
    await fs.writeFile(filePath, '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 production #bd0628a89826578c Filesystem access.
repo/packages/core/src/utils/filesearch/fileWatcher.test.ts:87
    await fs.writeFile(path.join(tmpDir, 'ignored.txt'), 'x');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ac579bebf1b3a84f Filesystem access.
repo/packages/core/src/utils/filesearch/fileWatcher.test.ts:88
    await fs.writeFile(path.join(tmpDir, 'kept.txt'), 'x');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a6a35cc9e2e900b8 Filesystem access.
repo/packages/core/src/utils/filesearch/fileWatcher.test.ts:146
    await fs.writeFile(path.join(tmpDir, 'nested', 'file.txt'), '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 production #742b8c5b01619543 Filesystem access.
repo/packages/core/src/utils/filesearch/fileWatcher.test.ts:179
    await fs.writeFile(beforeStopFile, 'x');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f66ce4b766ffc2e0 Filesystem access.
repo/packages/core/src/utils/filesearch/fileWatcher.test.ts:189
    await fs.writeFile(path.join(tmpDir, 'after-stop.txt'), 'x');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9f40d1817cb63ac1 Filesystem access.
repo/packages/core/src/utils/filesearch/fileWatcher.test.ts:208
    await fs.writeFile(path.join(tmpDir, 'idempotent.txt'), 'x');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c9067b292e6826b0 Filesystem access.
repo/packages/core/src/utils/filesearch/ignore.ts:26
      ignorer.add(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 #ab2857ddc75ee4bd Filesystem access.
repo/packages/core/src/utils/getFolderStructure.test.ts:27
    await fsPromises.writeFile(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 #35456536fc765d45 Filesystem access.
repo/packages/core/src/utils/getFolderStructure.test.ts:252
      await fsPromises.writeFile(
        path.join(testRootDir, '.gitignore'),
        'ignored.txt\nnode_modules/\n.gemini/*\n!/.gemini/config.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 #657aeefa7dde4d14 Filesystem access.
repo/packages/core/src/utils/getFolderStructure.test.ts:275
      await fsPromises.writeFile(
        path.join(testRootDir, '.gitignore'),
        'ignored.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 production #6ba166a84b83a570 Filesystem access.
repo/packages/core/src/utils/getFolderStructure.test.ts:299
      await fsPromises.writeFile(
        path.join(testRootDir, GEMINI_IGNORE_FILE_NAME),
        'ignored.txt\nnode_modules/\n.gemini/\n!/.gemini/config.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 #66db31966d0fd73a Filesystem access.
repo/packages/core/src/utils/getFolderStructure.test.ts:319
      await fsPromises.writeFile(
        path.join(testRootDir, GEMINI_IGNORE_FILE_NAME),
        'ignored.txt\nnode_modules/\n.gemini/\n!/.gemini/config.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 #5426afe039c46d44 Environment-variable access.
repo/packages/core/src/utils/getPty.ts:21
  if (process.env['GEMINI_PTY_INFO'] === 'child_process') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed8c8f5d70dc0975 Filesystem access.
repo/packages/core/src/utils/gitIgnoreParser.test.ts:20
    await fs.writeFile(fullPath, 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 #8ccbd9a4d6802e71 Filesystem access.
repo/packages/core/src/utils/gitIgnoreParser.ts:42
      content = fs.readFileSync(patternsFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d9e02188bce8f108 Environment-variable access.
repo/packages/core/src/utils/headless.ts:31
  if (process.env['GEMINI_CLI_INTEGRATION_TEST'] !== '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 #61721a708a18fe79 Environment-variable access.
repo/packages/core/src/utils/headless.ts:33
      process.env['CI'] === 'true' || process.env['GITHUB_ACTIONS'] === '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 #647c21e008978d32 Filesystem access.
repo/packages/core/src/utils/ignoreFileParser.test.ts:20
    await fs.writeFile(fullPath, 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 #05ed7052fe15d879 Filesystem access.
repo/packages/core/src/utils/ignoreFileParser.ts:65
      content = fs.readFileSync(patternsFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7d1ed99e291cdd9 Filesystem access.
repo/packages/core/src/utils/installationManager.test.ts:86
      expect(fs.readFileSync(installationIdFile(), 'utf-8')).toBe(newId);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0417904e8085f27d Filesystem access.
repo/packages/core/src/utils/installationManager.test.ts:92
      fs.writeFileSync(installationIdFile(), existingId);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6e53307bd5e95ab8 Filesystem access.
repo/packages/core/src/utils/installationManager.ts:21
      const installationid = fs
        .readFileSync(installationIdFile, 'utf-8')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b28217a4a4eed2d7 Filesystem access.
repo/packages/core/src/utils/installationManager.ts:33
    fs.writeFileSync(installationIdFile, installationId, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #149161a13c5de4b6 Filesystem access.
repo/packages/core/src/utils/memoryDiscovery.test.ts:65
    await fsPromises.writeFile(fullPath, fileContents);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0181457188ddad10 Environment-variable access.
repo/packages/core/src/utils/memoryDiscovery.ts:184
          process.env['NODE_ENV'] === 'test' || process.env['VITEST'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ae83adbbe7b2ce0a Filesystem access.
repo/packages/core/src/utils/memoryDiscovery.ts:223
          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 #322cbe7badf68dad Environment-variable access.
repo/packages/core/src/utils/memoryDiscovery.ts:258
              process.env['NODE_ENV'] === 'test' || process.env['VITEST'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cbb8e0f76571589f Filesystem access.
repo/packages/core/src/utils/memoryImportProcessor.test.ts:884
        fsSync.writeFileSync(path.join(outsideDir, 'sensitive.md'), 'secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed71893d92ea959f Filesystem access.
repo/packages/core/src/utils/memoryImportProcessor.ts:278
          const importedContent = 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 production #c22c40bfd6306d52 Filesystem access.
repo/packages/core/src/utils/memoryImportProcessor.ts:347
      const fileContent = 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 production #4c257fd6e3292396 Environment-variable access.
repo/packages/core/src/utils/oauth-flow.ts:200
      const portStr = process.env['OAUTH_CALLBACK_PORT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3b5e295e71c75f74 Filesystem access.
repo/packages/core/src/utils/pathCorrector.test.ts:51
    fs.writeFileSync(path.join(rootDir, 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 production #fe29a1a588effe5b Filesystem access.
repo/packages/core/src/utils/pathCorrector.test.ts:66
    fs.writeFileSync(fullPath, '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 #3f5b598f94443684 Filesystem access.
repo/packages/core/src/utils/pathCorrector.test.ts:94
    fs.writeFileSync(path.join(subDir1, ambiguousFile), 'content 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 #c9a34c6f53cc0513 Filesystem access.
repo/packages/core/src/utils/pathCorrector.test.ts:95
    fs.writeFileSync(path.join(subDir2, ambiguousFile), 'content 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 #0cf3ab327d37f22a Environment-variable access.
repo/packages/core/src/utils/paths.ts:23
  const envHome = process.env['GEMINI_CLI_HOME'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a7b8e19564a470c7 Environment-variable access.
repo/packages/core/src/utils/paths.ts:532
    !!process.env['TEST_SRCDIR'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cc836f198bfea048 Environment-variable access.
repo/packages/core/src/utils/paths.ts:533
    !!process.env['TEST_WORKSPACE'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #75cd042a0bd15eda Environment-variable access.
repo/packages/core/src/utils/paths.ts:534
    !!process.env['BAZEL_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 #75c8649f7e9993c6 Environment-variable access.
repo/packages/core/src/utils/paths.ts:535
    !!process.env['RUNFILES_DIR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a27a098e4470483f Environment-variable access.
repo/packages/core/src/utils/paths.ts:547
      process.env['SystemRoot'] || 'C:\\Windows',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6413e28566fec75a Environment-variable access.
repo/packages/core/src/utils/paths.ts:548
      process.env['ProgramFiles'] || 'C:\\Program Files',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c8de4efb28668bf8 Environment-variable access.
repo/packages/core/src/utils/paths.ts:549
      process.env['ProgramFiles(x86)'] || 'C:\\Program Files (x86)',

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4e72c98e606c0e26 Filesystem access.
repo/packages/core/src/utils/planUtils.test.ts:36
      fs.writeFileSync(fullPath, '# My Plan');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d6220232de32b9ab Filesystem access.
repo/packages/core/src/utils/planUtils.test.ts:54
      fs.writeFileSync(outsideFile, 'secret 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 #70e919e53ef8d93f Filesystem access.
repo/packages/core/src/utils/planUtils.test.ts:71
      fs.writeFileSync(planPath, 'some 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 #f807be56db0e9049 Filesystem access.
repo/packages/core/src/utils/planUtils.test.ts:78
      fs.writeFileSync(planPath, '   ');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c43a0d20659e6d91 Environment-variable access.
repo/packages/core/src/utils/retry.ts:230
      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 production #148068a89a4aaa04 Environment-variable access.
repo/packages/core/src/utils/retry.ts:231
      process.env['GOOGLE_CLOUD_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 production #fb101057ad5a7f03 Environment-variable access.
repo/packages/core/src/utils/secure-browser-launcher.ts:154
  const browserEnv = process.env['BROWSER'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #295ca62dd26393ee Environment-variable access.
repo/packages/core/src/utils/secure-browser-launcher.ts:161
    process.env['CI'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b471cac87e27985d Environment-variable access.
repo/packages/core/src/utils/secure-browser-launcher.ts:162
    process.env['DEBIAN_FRONTEND'] === 'noninteractive'

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3587451950207455 Environment-variable access.
repo/packages/core/src/utils/secure-browser-launcher.ts:170
  const isSSH = !!process.env['SSH_CONNECTION'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c709fe333e272c0 Environment-variable access.
repo/packages/core/src/utils/secure-browser-launcher.ts:176
    const hasDisplay = displayVariables.some((v) => !!process.env[v]);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #67ce022aa74a5a6c Filesystem access.
repo/packages/core/src/utils/sessionOperations.test.ts:71
      await fs.writeFile(logFile, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9f6ec3b66d26efec Filesystem access.
repo/packages/core/src/utils/sessionOperations.test.ts:100
      await fs.writeFile(path.join(subDir, 'sub1.json'), '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc1e955245dd0024 Filesystem access.
repo/packages/core/src/utils/sessionOperations.test.ts:101
      await fs.writeFile(path.join(subDir, 'sub2.json'), '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8cbbdf6836b784d1 Filesystem access.
repo/packages/core/src/utils/sessionOperations.test.ts:105
      await fs.writeFile(path.join(logsDir, 'session-sub1.jsonl'), '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #66760634a493fab7 Filesystem access.
repo/packages/core/src/utils/sessionOperations.test.ts:106
      await fs.writeFile(path.join(logsDir, 'session-sub2.jsonl'), '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3481784ddcb3e821 Filesystem access.
repo/packages/core/src/utils/sessionOperations.ts:256
        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 #000427a52ca5db20 Environment-variable access.
repo/packages/core/src/utils/shell-utils.test.ts:294
  const originalComSpec = 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 production #28db21fa640d755d Environment-variable access.
repo/packages/core/src/utils/shell-utils.test.ts:298
    const systemRoot = process.env['SystemRoot'] || 'C:\\\\Windows';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ce28c694e0fa2fbc Environment-variable access.
repo/packages/core/src/utils/shell-utils.test.ts:299
    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 production #c426ac8202819d99 Environment-variable access.
repo/packages/core/src/utils/shell-utils.test.ts:305
      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 production #a3b6f7921ef67c57 Environment-variable access.
repo/packages/core/src/utils/shell-utils.test.ts:307
      process.env['ComSpec'] = originalComSpec;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2748fcb94c78db2d Environment-variable access.
repo/packages/core/src/utils/shell-utils.test.ts:580
    process.env['ComSpec'] = 'powershell.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 production #cb6aef2d757d3e39 Environment-variable access.
repo/packages/core/src/utils/shell-utils.ts:92
  const pathEnv = process.env['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 #e444d0150adc5295 Environment-variable access.
repo/packages/core/src/utils/shell-utils.ts:665
    const comSpec = 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 production #bb51feee8fa7f936 Environment-variable access.
repo/packages/core/src/utils/surface.ts:25
    process.env['GEMINI_CLI_SURFACE'] || process.env['SURFACE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #175039148facda77 Environment-variable access.
repo/packages/core/src/utils/surface.ts:43
  if (process.env['TERM_PROGRAM'] === 'vscode' || process.env['VSCODE_PID']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6f278605b9205134 Environment-variable access.
repo/packages/core/src/utils/surface.ts:49
  if (process.env['GITHUB_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 production #f16b4b0ccd5f07f2 Environment-variable access.
repo/packages/core/src/utils/trust.test.ts:48
    delete process.env['GEMINI_CLI_TRUST_WORKSPACE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5582962c34c3d4a0 Filesystem access.
repo/packages/core/src/utils/trust.test.ts:66
    fs.writeFileSync(trustedFoldersPath, JSON.stringify(config));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3b5638f911355889 Filesystem access.
repo/packages/core/src/utils/trust.test.ts:83
    fs.writeFileSync(trustedFoldersPath, JSON.stringify(config));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6c8ac57ca682bd29 Filesystem access.
repo/packages/core/src/utils/trust.test.ts:97
    fs.writeFileSync(trustedFoldersPath, JSON.stringify(config));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #09e7678c785d5e1d Filesystem access.
repo/packages/core/src/utils/trust.test.ts:113
      fs.readFileSync(trustedFoldersPath, 'utf-8'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #818394a5facdcd16 Filesystem access.
repo/packages/core/src/utils/trust.test.ts:129
    fs.writeFileSync(trustedFoldersPath, 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 #6370c8670ce1be99 Filesystem access.
repo/packages/core/src/utils/trust.test.ts:168
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1766a8706c2c3427 Filesystem access.
repo/packages/core/src/utils/trust.test.ts:192
      fs.writeFileSync(trustedFoldersPath, '{}', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7909e8164779f3b Filesystem access.
repo/packages/core/src/utils/trust.test.ts:195
      fs.writeFileSync(trustedFoldersPath, 'invalid 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 #e07fbdefa2d63202 Environment-variable access.
repo/packages/core/src/utils/trust.ts:47
  if (process.env['GEMINI_CLI_TRUST_WORKSPACE'] === '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 #36054f1fad14356b Filesystem access.
repo/packages/core/src/utils/trust.ts:209
      await fs.promises.writeFile(this.user.path, JSON.stringify({}, null, 2), {
        // Restrict file access to read/write for the owner only
        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 production #1dc9c9f537fbc858 Filesystem access.
repo/packages/core/src/utils/trust.ts:227
      const content = await fs.promises.readFile(this.user.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 #8cb2c4fd701686fb Filesystem access.
repo/packages/core/src/utils/trust.ts:289
      const content = fs.readFileSync(userPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd4e3c50f4d478ec Filesystem access.
repo/packages/core/src/utils/trust.ts:339
    fs.writeFileSync(tempPath, content, {
      encoding: 'utf-8',
      // Restrict file access to read/write for the owner only
      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 production #861ce5e8fd099c60 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:57
      expect(fs.readFileSync(accountsFile(), 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a11bc102000e6039 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:64
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify(
          { active: '[email protected]', old: ['[email protected]'] },
          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 #2a0a51cf331298a6 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:75
      expect(fs.readFileSync(accountsFile(), 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e5395f928d668194 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:89
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify(
          { active: '[email protected]', old: ['[email protected]'] },
          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 #997531105dc014a4 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:100
      expect(fs.readFileSync(accountsFile(), 'utf-8')).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9ee492ad5b082a36 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:111
      fs.writeFileSync(accountsFile(), '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 production #3e919f61e19c3eea Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:119
      expect(JSON.parse(fs.readFileSync(accountsFile(), 'utf-8'))).toEqual({

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b161184a77f5ffe3 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:127
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({ active: '[email protected]', old: 'not-an-array' }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ec830fdf62fd2bea Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:138
      expect(JSON.parse(fs.readFileSync(accountsFile(), 'utf-8'))).toEqual({

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cc012c2c2570cf58 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:148
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({ active: '[email protected]', old: [] }, 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 #5d4a1feee9d50481 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:163
      fs.writeFileSync(accountsFile(), '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e4b832e1e9f8ac28 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:170
      fs.writeFileSync(accountsFile(), '{ "active": "[email protected]"'); // Invalid JSON

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #909b7d0d4f9743f6 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:183
      fs.writeFileSync(accountsFile(), JSON.stringify({ old: [] }));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5d0767584a442f8a Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:192
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify(
          { active: '[email protected]', old: ['[email protected]'] },
          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 #9d1a141f1baa9f00 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:203
      const stored = JSON.parse(fs.readFileSync(accountsFile(), 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1c2185e0e3e0abf5 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:210
      fs.writeFileSync(accountsFile(), '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cdb97dd88c9ea3cf Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:212
      const stored = JSON.parse(fs.readFileSync(accountsFile(), 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f05a89dfb1d99612 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:219
      fs.writeFileSync(accountsFile(), '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 production #626b944ab3aabec0 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:227
      const stored = JSON.parse(fs.readFileSync(accountsFile(), 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ea3038a4f03d83e5 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:234
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({ active: null, old: ['[email protected]'] }, 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 #2802865a2b527468 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:241
      const stored = JSON.parse(fs.readFileSync(accountsFile(), 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dee39c906f88b374 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:248
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify(
          {
            active: '[email protected]',
            old: ['[email protected]'],
          },
          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 #5c8dc0fc2637fadf Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:262
      const stored = JSON.parse(fs.readFileSync(accountsFile(), 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0052d78a65f06519 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:275
      fs.writeFileSync(accountsFile(), '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #297a231cebb45423 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:281
      fs.writeFileSync(accountsFile(), 'invalid json');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c3fb68d4c56a0d5d Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:292
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({ active: '[email protected]', old: [] }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #79948ac828b0b204 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:301
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({
          active: null,
          old: ['[email protected]', '[email protected]'],
        }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #90a3a09da52d4af6 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:313
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({
          active: '[email protected]',
          old: ['[email protected]', '[email protected]'],
        }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c0794df63b4d07fe Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:325
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({ active: null, old: 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 #0385f3c819e832c8 Filesystem access.
repo/packages/core/src/utils/userAccountManager.test.ts:339
      fs.writeFileSync(
        accountsFile(),
        JSON.stringify({
          active: '[email protected]',
          old: ['[email protected]', '[email protected]'],
        }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d4daffce173c9488 Filesystem access.
repo/packages/core/src/utils/userAccountManager.ts:64
      const content = 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 #d0fc8053acf56104 Filesystem access.
repo/packages/core/src/utils/userAccountManager.ts:85
      const content = await fsp.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 #8a0d5933c9bb2f10 Filesystem access.
repo/packages/core/src/utils/userAccountManager.ts:116
    await fsp.writeFile(filePath, JSON.stringify(accounts, null, 2), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bda463cb62327d41 Filesystem access.
repo/packages/core/src/utils/userAccountManager.ts:146
    await fsp.writeFile(filePath, JSON.stringify(accounts, null, 2), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #81b2850e19aa610f Environment-variable access.
repo/packages/core/src/utils/version.test.ts:31
    process.env['CLI_VERSION'] = '2.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 #c302c5252529eb4c Environment-variable access.
repo/packages/core/src/utils/version.test.ts:37
    delete process.env['CLI_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 #0486e708a0d9bbed Environment-variable access.
repo/packages/core/src/utils/version.test.ts:43
    delete process.env['CLI_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 #addbb13e045bb9f7 Environment-variable access.
repo/packages/core/src/utils/version.test.ts:50
    delete process.env['CLI_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 #896df71e261b575e Environment-variable access.
repo/packages/core/src/utils/version.ts:22
    return process.env['CLI_VERSION'] || pkgJson?.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 #f4b1575e9031bbb5 Filesystem access.
repo/packages/core/src/utils/workspaceContext.test.ts:111
      fs.writeFileSync(validPath1, '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 #4fccf3291c687518 Filesystem access.
repo/packages/core/src/utils/workspaceContext.test.ts:113
      fs.writeFileSync(validPath2, '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 #05bf1fab3de862aa Filesystem access.
repo/packages/core/src/utils/workspaceContext.test.ts:248
        fs.writeFileSync(realFile, '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 #20a004e321580396 Environment-variable access.
repo/packages/core/test-setup.ts:8
if (process.env.NO_COLOR !== 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 #0ca214fb70b3ea6f Environment-variable access.
repo/packages/core/test-setup.ts:9
  delete process.env.NO_COLOR;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (npm): packages/cli

npm first-party
expand_more 896 low-confidence finding(s)
low env_fs production #4eda48a57b12aa89 Environment-variable access.
repo/packages/cli/index.ts:57
      process.env['GEMINI_CLI_HOME'] || join(os.homedir(), '.gemini');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2ee3dabdb9e43b83 Environment-variable access.
repo/packages/cli/index.ts:85
  if (!process.env['GEMINI_CLI_NO_RELAUNCH'] && !process.env['SANDBOX']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #099add7f92afedfe Environment-variable access.
repo/packages/cli/index.ts:175
        if (!process.env['NO_COLOR']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3e5a01d812b86bb6 Environment-variable access.
repo/packages/cli/src/acp/acpSessionManager.ts:73
      (authDetails.baseUrl || 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 production #2069879509aed7e8 Environment-variable access.
repo/packages/cli/src/acp/acpSessionManager.ts:239
      (authDetails.baseUrl || 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 production #130bb1009b33c123 Environment-variable access.
repo/packages/cli/src/acp/commands/about.ts:29
    if (process.env['SANDBOX'] && process.env['SANDBOX'] !== 'sandbox-exec') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #beac03ad70a63f5c Environment-variable access.
repo/packages/cli/src/acp/commands/about.ts:30
      sandboxEnv = process.env['SANDBOX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5153fa8449bcff0d Environment-variable access.
repo/packages/cli/src/acp/commands/about.ts:31
    } else if (process.env['SANDBOX'] === 'sandbox-exec') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5279f727a4a685bf Environment-variable access.
repo/packages/cli/src/acp/commands/about.ts:33
        process.env['SEATBELT_PROFILE'] || '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 #ec06b824643cd7b2 Environment-variable access.
repo/packages/cli/src/acp/commands/about.ts:40
    const gcpProject = 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 production #523f1da665743807 Filesystem access.
repo/packages/cli/src/acp/commands/init.ts:40
        fs.writeFileSync(geminiMdPath, '', '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 #fdfdcc2148f6349d Filesystem access.
repo/packages/cli/src/acp/commands/restore.ts:57
        data = 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 #5a2330ab712a73ce Filesystem access.
repo/packages/cli/src/acp/commands/restore.ts:147
        const data = 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 egress production #44d1d97aad326bad Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/cli/src/commands/extensions/examples/mcp-server/example.js:23
    const apiResponse = await fetch(
      'https://jsonplaceholder.typicode.com/posts',
    );

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 #d58b1611f5b93466 Filesystem access.
repo/packages/cli/src/commands/extensions/new.ts:65
    await writeFile(
      join(args.path, 'gemini-extension.json'),
      JSON.stringify(manifest, 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 #546754160b9f55a7 Filesystem access.
repo/packages/cli/src/commands/gemma/logs.test.ts:78
    await fs.promises.writeFile(filePath, 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 #a9b7be5e20f05704 Filesystem access.
repo/packages/cli/src/commands/gemma/logs.test.ts:91
    await fs.promises.writeFile(filePath, 'line-1\nline-2\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 #d691e7223b6db0cb Filesystem access.
repo/packages/cli/src/commands/gemma/platform.ts:191
    const content = fs.readFileSync(pidPath, '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 #496720ad552d3dde Filesystem access.
repo/packages/cli/src/commands/gemma/platform.ts:210
  fs.writeFileSync(getPidFilePath(), JSON.stringify(processInfo), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c9c8825e7c9bf4ae Filesystem access.
repo/packages/cli/src/commands/gemma/platform.ts:228
      const output = fs.readFileSync(`/proc/${pid}/cmdline`, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eaf1c2d21b8d8255 Filesystem access.
repo/packages/cli/src/commands/gemma/setup.test.ts:37
    await fs.promises.writeFile(filePath, 'hello world', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a13b6187cf424dff Filesystem access.
repo/packages/cli/src/commands/gemma/setup.test.ts:50
    await fs.promises.writeFile(filePath, 'hello world', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f2499c3c976710e7 Filesystem access.
repo/packages/cli/src/commands/hooks/migrate.ts:188
      const content = fs.readFileSync(claudeLocalSettingsPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8e517ff4dd88991f Filesystem access.
repo/packages/cli/src/commands/hooks/migrate.ts:202
      const content = fs.readFileSync(claudeSettingsPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #39407edb84746561 Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:150
      fs.writeFileSync(settingsPath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b9e583865d44192a Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:157
      const updatedContent = fs.readFileSync(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 #7b9ba2c5682b8829 Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:183
      fs.writeFileSync(settingsPath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #216bd3b5a1c733d3 Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:190
      const updatedContent = fs.readFileSync(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 #3e256aa5f48199ee Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:208
      fs.writeFileSync(settingsPath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #557ab5d4f707087a Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:215
      const updatedContent = fs.readFileSync(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 #32a51c58b1ada2fb Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:244
      fs.writeFileSync(settingsPath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #58fc4ea758270667 Filesystem access.
repo/packages/cli/src/commands/mcp/remove.test.ts:251
      const updatedContent = fs.readFileSync(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 #ef53560b38a2e2d2 Environment-variable access.
repo/packages/cli/src/config/auth.ts:22
    const key = process.env['GEMINI_API_KEY'] || (await loadApiKey());

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #80ff0eec61fb134b Environment-variable access.
repo/packages/cli/src/config/auth.ts:34
      !!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 production #4f89b60a6a21e76f Environment-variable access.
repo/packages/cli/src/config/auth.ts:35
      !!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 production #e232691b6253b709 Environment-variable access.
repo/packages/cli/src/config/auth.ts:36
    const hasGoogleApiKey = !!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 egress production #b965d89d35118757 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/cli/src/config/config.integration.test.ts:63
    server.resetHandlers(http.post(CLEARCUT_URL, () => HttpResponse.text()));

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 #3c04e56081c760ee Environment-variable access.
repo/packages/cli/src/config/config.test.ts:140
      if (process.env['VITEST'] === '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 #ac1cd61fcc8bd8b1 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:149
        process.env['CI'] === '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 #5af88121dbcde6c7 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:150
        process.env['GITHUB_ACTIONS'] === '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 #4589bef07007929f Environment-variable access.
repo/packages/cli/src/config/config.test.ts:167
const originalGeminiModel = process.env['GEMINI_MODEL'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3bcfdbddd28c2878 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:172
  delete process.env['GEMINI_MODEL'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b901ab511de98e45 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:195
    process.env['GEMINI_MODEL'] = originalGeminiModel;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #403ac717e8b3d632 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:197
    delete process.env['GEMINI_MODEL'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e80aa488ec42516c Environment-variable access.
repo/packages/cli/src/config/config.test.ts:890
        originalProxyEnv[key] = 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 production #b852896ecd8e5cf1 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:891
        delete 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 production #0e0a1c5e66c2dfd3 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:898
          process.env[key] = originalProxyEnv[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 #af43d9b961e87b6c Environment-variable access.
repo/packages/cli/src/config/config.test.ts:900
          delete 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 production #a4f7d062facf7619 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:1952
    originalVitest = process.env['VITEST'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0e95071952969f92 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:1953
    originalIntegrationTest = process.env['GEMINI_CLI_INTEGRATION_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 #a5700cb10e61214f Environment-variable access.
repo/packages/cli/src/config/config.test.ts:1954
    delete process.env['VITEST'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1fa8239ac58c8217 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:1955
    delete process.env['GEMINI_CLI_INTEGRATION_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 #d421ee01a651d06d Environment-variable access.
repo/packages/cli/src/config/config.test.ts:1960
      process.env['VITEST'] = originalVitest;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #755ffe8ed91e2469 Environment-variable access.
repo/packages/cli/src/config/config.test.ts:1963
      process.env['GEMINI_CLI_INTEGRATION_TEST'] = originalIntegrationTest;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46501099c276aa3c Environment-variable access.
repo/packages/cli/src/config/config.ts:516
      process.env['GEMINI_CLI_TRUST_WORKSPACE'] = '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 #bec5e58fa0953e04 Environment-variable access.
repo/packages/cli/src/config/config.ts:566
    [process.env['DEBUG'], process.env['DEBUG_MODE']].some(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #622016ae33dd6ab5 Environment-variable access.
repo/packages/cli/src/config/config.ts:600
    process.env['GEMINI_SANDBOX'] = 'true';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3b0f099fb4cc0d67 Environment-variable access.
repo/packages/cli/src/config/config.ts:608
    process.env['GEMINI_CLI_INTEGRATION_TEST'] === '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 #ab00bf3e8f2fe88d Environment-variable access.
repo/packages/cli/src/config/config.ts:609
    process.env['VITEST'] === '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 #13882e4a94ab1d75 Environment-variable access.
repo/packages/cli/src/config/config.ts:644
  const ideWorkspacePath = process.env['GEMINI_CLI_IDE_WORKSPACE_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 #3506b0ff02725ec1 Environment-variable access.
repo/packages/cli/src/config/config.ts:682
    process.env['GEMINI_CLI_EXTENSION_REGISTRY_URI'] ??

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d49a7270e473a568 Environment-variable access.
repo/packages/cli/src/config/config.ts:843
    argv.model || process.env['GEMINI_MODEL'] || settings.model?.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 #0ab7a03796a047bf Environment-variable access.
repo/packages/cli/src/config/config.ts:929
      (ide.name !== 'vscode' || process.env['TERM_PROGRAM'] === 'vscode')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #77bb5e4e7fc37dc6 Environment-variable access.
repo/packages/cli/src/config/config.ts:1028
      process.env['HTTPS_PROXY'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6b9e97abfe7a0159 Environment-variable access.
repo/packages/cli/src/config/config.ts:1029
      process.env['https_proxy'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46e31e4d4878ca97 Environment-variable access.
repo/packages/cli/src/config/config.ts:1030
      process.env['HTTP_PROXY'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #90ffeed58e6d976b Environment-variable access.
repo/packages/cli/src/config/config.ts:1031
      process.env['http_proxy'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e5dc410caddc57f3 Environment-variable access.
repo/packages/cli/src/config/config.ts:1063
    noBrowser: !!process.env['NO_BROWSER'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a90b4891acfbb082 Filesystem access.
repo/packages/cli/src/config/extension-manager-agents.test.ts:89
    fs.writeFileSync(
      path.join(agentsDir, 'test-agent.md'),
      '---\nname: test-agent\nkind: local\ndescription: test desc\n---\nbody',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc68455a6bd12c19 Filesystem access.
repo/packages/cli/src/config/extension-manager-agents.test.ts:124
    fs.writeFileSync(
      path.join(agentsDir, 'bad-agent.md'),
      '---\nname: bad-agent\nkind: local\n---\nbody',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6ab91b5e887f9519 Filesystem access.
repo/packages/cli/src/config/extension-manager-hydration.test.ts:107
    fs.writeFileSync(
      path.join(skillSubdir, 'SKILL.md'),
      `---
name: my-skill
description: test
---
Use key: \${MY_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 #ce1fa64ef64f05b7 Filesystem access.
repo/packages/cli/src/config/extension-manager-hydration.test.ts:157
    fs.writeFileSync(
      path.join(agentsDir, 'my-agent.md'),
      `---
name: my-agent
description: test
---
System using model: \${MODEL_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 #fac80cfd1ff752c5 Filesystem access.
repo/packages/cli/src/config/extension-manager-hydration.test.ts:213
    fs.writeFileSync(
      path.join(hooksDir, 'hooks.json'),
      JSON.stringify({
        hooks: {
          BeforeTool: [
            {
              hooks: [
                {
                  type: 'command',
                  command: 'echo $HOOK_CMD',
                },
              ],
            },
          ],
        },
      }),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8c9934141df7597d Filesystem access.
repo/packages/cli/src/config/extension-manager-hydration.test.ts:288
    fs.writeFileSync(
      path.join(skillSubdir, 'SKILL.md'),
      '---\nname: my-skill\ndescription: test\n---\nValue is: ${MY_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 #2ffd7d7c147adb7e Filesystem access.
repo/packages/cli/src/config/extension-manager-permissions.test.ts:50
    fs.writeFileSync(filePath, '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 production #6f241696c069d185 Filesystem access.
repo/packages/cli/src/config/extension-manager-permissions.test.ts:57
    expect(() => fs.writeFileSync(filePath, 'fail')).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 production #86fb64b0143fe6fd Filesystem access.
repo/packages/cli/src/config/extension-manager-permissions.test.ts:72
    fs.writeFileSync(destFilePath, 'writable');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e07df1b05c54aed3 Filesystem access.
repo/packages/cli/src/config/extension-manager-permissions.test.ts:73
    expect(fs.readFileSync(destFilePath, 'utf-8')).toBe('writable');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d6415169a095ae54 Filesystem access.
repo/packages/cli/src/config/extension-manager-permissions.test.ts:85
    fs.writeFileSync(filePath, '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 production #f0f4d88813f888b5 Filesystem access.
repo/packages/cli/src/config/extension-manager-permissions.test.ts:109
    fs.writeFileSync(symlinkTarget, '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 production #2b4582d7d4558237 Filesystem access.
repo/packages/cli/src/config/extension-manager-scope.test.ts:75
    fs.writeFileSync(
      path.join(extensionDir, 'gemini-extension.json'),
      JSON.stringify(extensionConfig),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #632efd572bc559bc Filesystem access.
repo/packages/cli/src/config/extension-manager-scope.test.ts:85
    fs.writeFileSync(
      path.join(extensionDir, 'install-metadata.json'),
      JSON.stringify(installMetadata),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #04a05ea6efdd3c50 Filesystem access.
repo/packages/cli/src/config/extension-manager-scope.test.ts:100
    fs.writeFileSync(userSettingsPath, 'TEST_SETTING=user-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 #20b4490ed0a13f4e Filesystem access.
repo/packages/cli/src/config/extension-manager-scope.test.ts:104
    fs.writeFileSync(workspaceSettingsPath, 'TEST_SETTING=workspace-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 #c8f4a9441eb95175 Filesystem access.
repo/packages/cli/src/config/extension-manager-scope.test.ts:141
    fs.writeFileSync(userSettingsPath, 'TEST_SETTING=user-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 #a345e8be33b666b1 Filesystem access.
repo/packages/cli/src/config/extension-manager-skills.test.ts:103
    fs.writeFileSync(path.join(skillsDir, 'not-a-skill.txt'), '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 production #b07be0cf9f4183d2 Filesystem access.
repo/packages/cli/src/config/extension-manager-skills.test.ts:130
    fs.writeFileSync(path.join(skillsDir, 'not-a-skill.txt'), '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 production #0e728dcc600b2438 Filesystem access.
repo/packages/cli/src/config/extension-manager-skills.test.ts:177
    fs.writeFileSync(
      path.join(skillSubdir, 'SKILL.md'),
      '---\nname: test-skill\ndescription: test desc\n---\nbody',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3febce0d6df44a19 Environment-variable access.
repo/packages/cli/src/config/extension-manager-themes.spec.ts:49
    process.env['GEMINI_CLI_HOME'] = tempHomeDir;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #22bdc8d8b60fb820 Environment-variable access.
repo/packages/cli/src/config/extension-manager-themes.spec.ts:73
    delete process.env['GEMINI_CLI_HOME'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #42504a9a3fae3229 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:171
      fs.writeFileSync(path.join(ext1Dir, 'gemini-extension.json'), config);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4b4b753c7fba7498 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:172
      fs.writeFileSync(
        path.join(ext1Dir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: ext1Dir }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e72de5742197b4ee Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:177
      fs.writeFileSync(path.join(ext2Dir, 'gemini-extension.json'), config);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #303bbf68d15366c9 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:178
      fs.writeFileSync(
        path.join(ext2Dir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: ext2Dir }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c2d231868223c920 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:204
      fs.writeFileSync(
        path.join(externalDir, 'gemini-extension.json'),
        JSON.stringify({ name: 'ext2', version: '1.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 #c5070683d37faac8 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:208
      fs.writeFileSync(
        path.join(externalDir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: externalDir }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #630304396afbad33 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:239
      fs.writeFileSync(
        path.join(extensionDir, 'gemini-extension.json'),
        JSON.stringify({ name: 'test-ext', version: '1.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 #5b885c2b42420487 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:393
      fs.writeFileSync(
        path.join(extDir, 'gemini-extension.json'),
        JSON.stringify({ name: oldName, version: '1.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 #2ff0d35ca5751fb3 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:397
      fs.writeFileSync(
        path.join(extDir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: extDir }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8edf2cfbc6a8a482 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:408
      fs.writeFileSync(
        path.join(newSourceDir, 'gemini-extension.json'),
        JSON.stringify({ name: newName, version: '1.1.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 #816f91eb1e571f33 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:412
      fs.writeFileSync(
        path.join(newSourceDir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: newSourceDir }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #53e2511732b27628 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:438
      fs.writeFileSync(
        path.join(extDir, 'gemini-extension.json'),
        JSON.stringify({ name: oldName, version: '1.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 #3996cd85fda14adc Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:442
      fs.writeFileSync(
        path.join(extDir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: extDir }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #17d5e0d205588bd5 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:458
      fs.writeFileSync(
        path.join(newSourceDir, 'gemini-extension.json'),
        JSON.stringify({ name: newName, version: '1.1.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 #075554fcf27a7396 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:462
      fs.writeFileSync(
        path.join(newSourceDir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: newSourceDir }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c046256369c55a0c Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:482
      fs.writeFileSync(
        path.join(ext1Dir, 'gemini-extension.json'),
        JSON.stringify({ name: 'ext1', version: '1.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 #39af3c675d480e59 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:486
      fs.writeFileSync(
        path.join(ext1Dir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: ext1Dir }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1195b923d33b5102 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:493
      fs.writeFileSync(
        path.join(ext2Dir, 'gemini-extension.json'),
        JSON.stringify({ name: 'ext2', version: '1.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 #a14a0a8b4343a371 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:497
      fs.writeFileSync(
        path.join(ext2Dir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: ext2Dir }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #75874b9a1373e053 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:508
      fs.writeFileSync(
        path.join(newSourceDir, 'gemini-extension.json'),
        JSON.stringify({ name: 'ext2', version: '1.1.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 #38a5acdc3efbfde3 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:512
      fs.writeFileSync(
        path.join(newSourceDir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: newSourceDir }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6a3ea67d7bccce75 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:532
      fs.writeFileSync(
        path.join(extDir, 'gemini-extension.json'),
        JSON.stringify({ name: 'integrity-ext', version: '1.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 #bc623c2ea2e54533 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:556
      fs.writeFileSync(
        path.join(extDir, 'gemini-extension.json'),
        JSON.stringify({ name: extName, version: '1.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 #1b1fffa888edaf35 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:560
      fs.writeFileSync(
        path.join(extDir, 'metadata.json'),
        JSON.stringify({ type: 'local', source: extDir }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6d6f9c1a73fd68d9 Filesystem access.
repo/packages/cli/src/config/extension-manager.test.ts:580
      fs.writeFileSync(
        path.join(newSourceDir, 'gemini-extension.json'),
        JSON.stringify({ name: extName, version: '1.1.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 #cd3413da7a559530 Filesystem access.
repo/packages/cli/src/config/extension-manager.ts:442
        await fs.promises.writeFile(metadataPath, metadataString);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eacce774e3d71948 Filesystem access.
repo/packages/cli/src/config/extension-manager.ts:1023
      const configContent = await fs.promises.readFile(configFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8fffb9ea00e09a3a Filesystem access.
repo/packages/cli/src/config/extension-manager.ts:1061
      const hooksContent = await fs.promises.readFile(hooksFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a71feb98e7832da5 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:373
      fs.writeFileSync(path.join(sourceExtDir, 'context.md'), 'linked context');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e560682d7abee14a Filesystem access.
repo/packages/cli/src/config/extension.test.ts:419
      fs.writeFileSync(
        path.join(policiesDir, 'policies.toml'),
        policiesContent,
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6903dc388013688a Filesystem access.
repo/packages/cli/src/config/extension.test.ts:473
      fs.writeFileSync(
        path.join(policiesDir, 'policies.toml'),
        policiesContent,
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f083daf7c3132796 Environment-variable access.
repo/packages/cli/src/config/extension.test.ts:536
      process.env['TEST_API_KEY'] = 'test-api-key-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 production #099e891cf764e8b3 Environment-variable access.
repo/packages/cli/src/config/extension.test.ts:537
      process.env['TEST_DB_URL'] = 'postgresql://localhost:5432/testdb';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #be17738c7de601d6 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:566
        fs.writeFileSync(configPath, JSON.stringify(extensionConfig));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0e94d2e935776553 Environment-variable access.
repo/packages/cli/src/config/extension.test.ts:584
        delete process.env['TEST_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 #7b18e0421240d614 Environment-variable access.
repo/packages/cli/src/config/extension.test.ts:585
        delete process.env['TEST_DB_URL'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ab45dea14d7cf312 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:614
      fs.writeFileSync(envFilePath, 'MY_API_KEY=test-key-from-file\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 #cc5b17cfbf3c46d6 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:651
      fs.writeFileSync(
        path.join(extDir, EXTENSIONS_CONFIG_FILENAME),
        JSON.stringify(extensionConfig),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #09d1a8c8e6bf0dda Filesystem access.
repo/packages/cli/src/config/extension.test.ts:682
      fs.writeFileSync(badConfigPath, '{ "name": "bad-ext"'); // Malformed

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #37e46ba74877b892 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:713
      fs.writeFileSync(badConfigPath, JSON.stringify({ version: '1.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 #b4016a9da7a5a46f Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1052
        fs.writeFileSync(
          path.join(hooksDir, 'hooks.json'),
          JSON.stringify(hooksConfig),
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #52ab611274d74eb9 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1088
        fs.writeFileSync(
          path.join(hooksDir, 'hooks.json'),
          JSON.stringify({ hooks: { BeforeTool: [] }, enabled: 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 production #51b3b7bb01abd8c0 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1121
        fs.writeFileSync(
          path.join(hooksDir, 'hooks.json'),
          JSON.stringify({ hooks: {} }),
        );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7eb7d26f4c9eb9c9 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1126
        fs.writeFileSync(
          path.join(sourceExtDir, 'gemini-extension.json'),
          JSON.stringify({
            name: 'hook-extension-install',
            version: '1.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 #844739c470102548 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1167
      const metadata = JSON.parse(fs.readFileSync(metadataPath, 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ce76201df660807a Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1216
      fs.writeFileSync(configPath, '{ "name": "bad-json", "version": "1.0.0"'); // Malformed JSON

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #514ec51b8598b95f Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1236
      fs.writeFileSync(configPath, JSON.stringify({ version: '1.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 #24f9b84151d952ee Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1258
        fs.writeFileSync(
          path.join(mockGit.path(), destination, EXTENSIONS_CONFIG_FILENAME),
          JSON.stringify({ name: extensionName, version: '1.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 #6c720c35b2746a78 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1278
      const metadata = JSON.parse(fs.readFileSync(metadataPath, 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #594ba0ee1809d8ca Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1308
      const metadata = JSON.parse(fs.readFileSync(metadataPath, 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7259f5ca88f7ad34 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1441
        fs.readFileSync(trustedFoldersPath, 'utf-8'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #572ea47d2604c4e5 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1617
      const metadata = JSON.parse(fs.readFileSync(metadataPath, 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9ebf5acb630636e2 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1739
      let envContent = fs.readFileSync(envPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed98c5e98237e4e0 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1780
      envContent = fs.readFileSync(envPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e9b814569929e3c6 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1864
          fs.writeFileSync(
            path.join(mockGit.path(), destination, EXTENSIONS_CONFIG_FILENAME),
            JSON.stringify({ name: extensionName, version: '1.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 #a0edf20cf2fe28df Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1904
        const metadata = JSON.parse(fs.readFileSync(metadataPath, 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #19c52acf666ada40 Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1939
        const metadata = JSON.parse(fs.readFileSync(metadataPath, 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c2538dff6490779d Filesystem access.
repo/packages/cli/src/config/extension.test.ts:1995
        const metadata = JSON.parse(fs.readFileSync(metadataPath, 'utf-8'));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3769063cc59abb7 Filesystem access.
repo/packages/cli/src/config/extension.ts:62
    const configContent = fs.readFileSync(metadataFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff980256376572ef Filesystem access.
repo/packages/cli/src/config/extensionRegistryClient.ts:135
          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 #a8db79ce67f1f11e Filesystem access.
repo/packages/cli/src/config/extensions/consent.test.ts:344
        await fs.writeFile(path.join(skill1Dir, 'SKILL.md'), 'body1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #791012c3b4e579a6 Filesystem access.
repo/packages/cli/src/config/extensions/consent.test.ts:345
        await fs.writeFile(path.join(skill1Dir, 'extra.txt'), 'extra');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9900e227b4bea42e Filesystem access.
repo/packages/cli/src/config/extensions/consent.test.ts:346
        await fs.writeFile(path.join(skill2Dir, 'SKILL.md'), 'body2');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #22b2c107fc606991 Filesystem access.
repo/packages/cli/src/config/extensions/consent.test.ts:427
      await fs.writeFile(path.join(skill1Dir, 'SKILL.md'), 'body1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4a00b4c3674477ee Filesystem access.
repo/packages/cli/src/config/extensions/extensionEnablement.test.ts:185
      fs.writeFileSync(configPath, 'not a json');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c269e2c79c89bba9 Filesystem access.
repo/packages/cli/src/config/extensions/extensionEnablement.ts:182
      const content = fs.readFileSync(this.configFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ac9a6d2d862238bf Filesystem access.
repo/packages/cli/src/config/extensions/extensionEnablement.ts:208
    fs.writeFileSync(this.configFilePath, JSON.stringify(config, 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 #1de0b19a31fd8981 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:190
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #60b7b033017041e9 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:223
      await fsPromises.writeFile(envPath, 'VAR1=previous-VAR1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6f46cb8aa71e1fd3 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:234
      const actualContent = await fsPromises.readFile(envPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d45977922b1f27bf Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:304
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9e11f2027ba63e2d Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:339
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0cc5141b5e95be9d Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:375
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9123eb03a10b00bb Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:397
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ae65604c22896f30 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:551
      await fsPromises.writeFile(userEnvPath, 'VAR1=user-value1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5bc8d19308de6213 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:575
      await fsPromises.writeFile(workspaceEnvPath, 'VAR1=workspace-value1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7686f4d4c6a827f7 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:633
      await fsPromises.writeFile(
        userEnvPath,
        'VAR1=user-value1\nVAR3=user-value3',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #41509164a68f2c9b Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:647
      await fsPromises.writeFile(workspaceEnvPath, 'VAR1=workspace-value1');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #80d8145bec80be11 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:680
      await fsPromises.writeFile(userEnvPath, 'VAR1=value1\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 #6dc77ed6b356d599 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:701
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d1ccb25e5c31113a Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:718
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4d135a62b1ee56d7 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:785
      await fsPromises.writeFile(workspaceEnvPath, originalEnvContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f1aa0f6c0fa9b027 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:799
      const actualContent = await fsPromises.readFile(
        workspaceEnvPath,
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #96d89812b3449307 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:845
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d46d4cc43b29f433 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:916
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6e3fa8e7967a6ff9 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.test.ts:933
      const actualContent = await fsPromises.readFile(expectedEnvPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #204a4dd035c4d1c3 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.ts:138
  await fs.writeFile(envFilePath, envContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #80f26af26e826719 Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.ts:188
      const envFile = fsSync.readFileSync(envFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f0b5c4d50bb1162e Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.ts:286
    envContent = await fs.readFile(envFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ca82cf6ea3da38eb Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.ts:308
  await fs.writeFile(envFilePath, newEnvContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #246e61669dac364d Filesystem access.
repo/packages/cli/src/config/extensions/extensionSettings.ts:352
      await fs.writeFile(envFilePath, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #00dcc0be3a3af2ac Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:16
  const originalToken = process.env['GITHUB_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ac20384cc8831a09 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:20
      process.env['GITHUB_TOKEN'] = originalToken;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d3fcb54afbada3df Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:22
      delete process.env['GITHUB_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a281b2f8a61d1859 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:27
    process.env['GITHUB_TOKEN'] = 'test-token';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #519925453e9d8591 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:32
    delete process.env['GITHUB_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c66c06b8f7d2a61a Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:137
    const originalToken = process.env['GITHUB_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fccfeb64d9f2ce72 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:140
      process.env['GITHUB_TOKEN'] = 'my-secret-token';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1f3d9eacd1ab4b30 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:145
        process.env['GITHUB_TOKEN'] = originalToken;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6a11ac065e707aed Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:147
        delete process.env['GITHUB_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #42fdc6f39fe68606 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:171
    const originalToken = process.env['GITHUB_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f72e067463005808 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:174
      delete process.env['GITHUB_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c4b2249e97c91c4b Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.test.ts:179
        process.env['GITHUB_TOKEN'] = originalToken;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9256534b4b2b1196 Environment-variable access.
repo/packages/cli/src/config/extensions/github_fetch.ts:10
  return process.env['GITHUB_TOKEN'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #efd38db702ceb443 Filesystem access.
repo/packages/cli/src/config/mcp/mcpServerEnablement.ts:360
      const content = await fs.readFile(this.configFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #459db2cc2596484d Filesystem access.
repo/packages/cli/src/config/mcp/mcpServerEnablement.ts:385
    await fs.writeFile(this.configFilePath, JSON.stringify(config, 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 #e5ec91c2b3677df8 Filesystem access.
repo/packages/cli/src/config/policy.test.ts:85
    fs.writeFileSync(path.join(policiesDir, 'policy.toml'), 'rules = []');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7f27a401b8811a95 Filesystem access.
repo/packages/cli/src/config/policy.test.ts:126
      fs.writeFileSync(path.join(policiesDir, 'policy.toml'), 'rules = []');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #310d2338eaf223fe Filesystem access.
repo/packages/cli/src/config/policy.test.ts:148
    fs.writeFileSync(path.join(policiesDir, 'policy.toml'), 'rules = []');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #98cbc069348e7817 Filesystem access.
repo/packages/cli/src/config/policy.test.ts:169
      fs.writeFileSync(path.join(policiesDir, 'policy.toml'), 'rules = []');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3994741933b9545f Filesystem access.
repo/packages/cli/src/config/policy.test.ts:189
    fs.writeFileSync(path.join(policiesDir, 'policy.toml'), 'rules = []');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7f59f2770540af97 Filesystem access.
repo/packages/cli/src/config/policy.test.ts:207
    fs.writeFileSync(path.join(policiesDir, 'policy.toml'), 'rules = []');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2f955b5a73a4bb38 Filesystem access.
repo/packages/cli/src/config/policy.test.ts:224
    fs.writeFileSync(path.join(policiesDir, 'policy.toml'), 'rules = []');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2d87a00339ba8a42 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:56
    delete process.env['SANDBOX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6c9901bd20ad5591 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:57
    delete process.env['GEMINI_SANDBOX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a106644c636aebcb Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:83
    process.env['SANDBOX'] = '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 #0362c91d8be53494 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:90
      process.env['GEMINI_SANDBOX'] = 'docker';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #08d50f3948715a20 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:104
      process.env['GEMINI_SANDBOX'] = 'invalid-command';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0585f93db7ffbecf Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:111
      process.env['GEMINI_SANDBOX'] = 'docker';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b5d041136cec6000 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:119
      process.env['GEMINI_SANDBOX'] = 'lxc';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2cd5a52c6d2df1d5 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:133
      process.env['GEMINI_SANDBOX'] = 'lxc';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b2ab10bb28ebd03f Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:240
      process.env['GEMINI_SANDBOX_IMAGE'] = 'env/image';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0db07a2d721b58b6 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:241
      process.env['GEMINI_SANDBOX'] = 'docker';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #04bff71266cc0710 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:254
      process.env['GEMINI_SANDBOX'] = 'docker';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #30b01351dd55daea Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:268
      process.env['GEMINI_SANDBOX'] = 'docker';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #915eb35ce141e50e Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:422
      process.env['GEMINI_SANDBOX'] = 'runsc';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5898f33771d31d8d Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.test.ts:454
      process.env['GEMINI_SANDBOX'] = 'runsc';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5c58c305cac623a7 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.ts:47
  if (process.env['SANDBOX']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9f8a2148ac8080ed Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.ts:53
    process.env['GEMINI_SANDBOX']?.toLowerCase().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 #bceff8b0448cd527 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.ts:155
    process.env['GEMINI_SANDBOX_IMAGE'] ??

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fbfd2095530e2ae5 Environment-variable access.
repo/packages/cli/src/config/sandboxConfig.ts:156
    process.env['GEMINI_SANDBOX_IMAGE_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 production #e480b231793d3132 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:51
    delete 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 production #37ac80f23c3a543d Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:52
    delete process.env['OTHER_VAR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e46e95cc5ca1cbe1 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:73
    expect(process.env['GEMINI_API_KEY']).toBe('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 production #da30f125547f1bc9 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:74
    delete 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 production #6b5e01428d8899f6 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:99
    expect(process.env['GEMINI_API_KEY']).toBe('home');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #75b5201af53a2bb6 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:100
    delete 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 production #fd05a80e4c002bbe Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:116
    expect(process.env['GEMINI_API_KEY']).toBe('gemini-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 production #a4a6c4188d131e1a Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:117
    delete 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 production #9b3b68978c5203aa Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:134
    expect(process.env['GEMINI_API_KEY']).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 production #2666cbfe2699c16a Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:151
    expect(process.env['GEMINI_API_KEY']).toBe('home');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b4930808e40b258c Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:152
    delete 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 production #40b09a6b0a443cf9 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:179
    expect(process.env['GEMINI_API_KEY']).toBe('home');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5913eb17f7437cde Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:180
    delete 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 production #bbdeac41afbe1b1d Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:200
    expect(process.env['GEMINI_API_KEY']).toBe('home');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f312fc343fb95e93 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:201
    expect(process.env['OTHER_VAR']).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 production #a974fc7e6f228e60 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:202
    delete 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 production #485fa94ec0401933 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:219
    expect(process.env['GEMINI_API_KEY']).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 production #a065e8a03dc2fa72 Environment-variable access.
repo/packages/cli/src/config/settings-env-isolation.test.ts:236
    expect(process.env['GEMINI_API_KEY']).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 production #5773577802d205fe Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:515
      delete process.env['TEST_AUTO_THEME'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3c1b2516d09a54d Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1351
      process.env['TEST_API_KEY'] = 'user_api_key_from_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 #862997a97e02034c Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1378
      delete process.env['TEST_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 #3f1ee5e5c901a623 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1382
      process.env['WORKSPACE_ENDPOINT'] = 'workspace_endpoint_from_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 #76909b43478a6058 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1410
      delete process.env['WORKSPACE_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 production #4f093346f026a878 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1414
      process.env['SYSTEM_VAR'] = 'system_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 #72b8a60e7123679d Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1415
      process.env['USER_VAR'] = 'user_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 #ed5c3774a551e837 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1416
      process.env['WORKSPACE_VAR'] = 'workspace_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 #52ed3028ce2dcde9 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1417
      process.env['SHARED_VAR'] = 'final_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 #8a3fb1bbeecceffd Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1491
      delete process.env['SYSTEM_VAR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #901f1e592d2c19fd Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1492
      delete process.env['USER_VAR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5c00f1923fc3a262 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1493
      delete process.env['WORKSPACE_VAR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #62a84484ad008a21 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1494
      delete process.env['SHARED_VAR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f21a0aea0cc5f6e4 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1564
      process.env['VAR_A'] = 'valueA';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2ee3e4e132c1951a Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1565
      process.env['VAR_B'] = 'valueB';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #226707269e9f5032 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1584
      delete process.env['VAR_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 #2e77ce06415f3dbb Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1585
      delete process.env['VAR_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 production #9a778467eb67ecfe Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1589
      process.env['ITEM_1'] = 'item1_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 #ace2ba93a4e0ba68 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1590
      process.env['ITEM_2'] = 'item2_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 #9a618ec5ad40cf52 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1611
      delete process.env['ITEM_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 #97d92dc18e1189df Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1612
      delete process.env['ITEM_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 #b967307a3e41ff3e Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1616
      process.env['MY_ENV_STRING'] = 'env_string_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 #162b8aa03970d3c1 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1617
      process.env['MY_ENV_STRING_NESTED'] = 'env_string_nested_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 #9f13cd38ebef8653 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1670
      delete process.env['MY_ENV_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 #fe54fa8c501a722e Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1671
      delete process.env['MY_ENV_STRING_NESTED'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0cc073cfde9ba510 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1675
      process.env['TEST_HOST'] = 'myhost';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f9af1fc8910451d1 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1676
      process.env['TEST_PORT'] = '9090';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #57cab315cf01aea9 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1697
      delete process.env['TEST_HOST'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e966e21a168f00ad Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1698
      delete process.env['TEST_PORT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #67f87e2da454b413 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1707
        process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #aa187d20944b2db8 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:1712
        delete process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #befcd4c4cdb8dc77 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2114
      delete process.env['GEMINI_API_KEY']; // reset

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #476e9f5e9760ef50 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2115
      delete process.env['TESTTEST']; // reset

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #20ed6016d0e4293e Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2167
      expect(process.env['TESTTEST']).toEqual('1234');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1f09946bf5590f9a Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2168
      expect(process.env['GEMINI_API_KEY']).toEqual('test-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 #1c63ff8e53c64451 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2179
      expect(process.env['TESTTEST']).not.toEqual('1234');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #221ff3af196e81c1 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2190
      expect(process.env['TESTTEST']).not.toEqual('1234');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #56b85ef40074733a Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2191
      expect(process.env['GEMINI_API_KEY']).toEqual('test-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 #d1b96fd515994343 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2195
      delete process.env['TESTTEST'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #879a59da449991e8 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2206
      expect(process.env['TESTTEST']).not.toEqual('1234');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8fa42a6869a4660f Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2207
      expect(process.env['GEMINI_API_KEY']).toEqual('test-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 #492c028045b2ffc8 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2218
      expect(process.env['GEMINI_API_KEY']).toEqual('test-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 #eb5d726cc78ceaee Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2220
      expect(process.env['TESTTEST']).not.toEqual('1234');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1047d48838b14475 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2233
        expect(process.env['GEMINI_API_KEY']).toEqual('test-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 #9fb3ef52cce46d3e Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:2234
        expect(process.env['TESTTEST']).not.toEqual('1234');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7da9024040d8033d Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3143
      delete 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 production #0682f20108621d60 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3144
      delete 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 production #e51971386e727fda Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3145
      delete 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 production #7588e0b4cee22a15 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3146
      delete 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 production #0711c56c992fdda5 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3147
      delete process.env['CLOUD_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 #a4b99dd16786b0c2 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3148
      delete process.env['MALICIOUS_VAR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2e5031135c88a143 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3149
      delete process.env['FOO'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c91f601c7c42099e Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3150
      delete process.env['_GEMINI_USER_GCP_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 production #129b1ed12ef91a76 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3178
        expect(process.env['FOO']).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 production #f368116317a2e00f Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3179
        expect(process.env['GEMINI_API_KEY']).toBe('secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fa437fee303082ec Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3196
        expect(process.env['GEMINI_API_KEY']).toBe('secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bce233dad8285ba6 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3215
        expect(process.env['GEMINI_API_KEY']).toEqual('secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e26041098462a08c Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3234
        expect(process.env['GEMINI_API_KEY']).toEqual('secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #01585d0140f4f696 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3259
        expect(process.env['GEMINI_API_KEY']).toBe('secret-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 #f6a43ec5f2bcf12f Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3260
        expect(process.env['GOOGLE_API_KEY']).toBe('another-secret');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #52fc5db820fda243 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3261
        expect(process.env['MALICIOUS_VAR']).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 production #b52c2dbcfcde7822 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3285
        expect(process.env['GEMINI_API_KEY']).toBe('key-whoami-id-');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5f807e95e0d1ec9d Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3308
        expect(process.env['GEMINI_API_KEY']).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8a1649a567cdb777 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3329
        expect(process.env['FOO']).toBe('$(bar)');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #39b548d7db4ab278 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3351
        expect(process.env['GEMINI_API_KEY']).toBe('un-sanitized;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 #9f30ad4cd81bccda Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3352
        expect(process.env['MALICIOUS_VAR']).toBe('allowed-because-trusted');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #923370f281e334f3 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3365
        process.env['CLOUD_SHELL'] = '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 #9e6316f70b97e689 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3380
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe('cloudshell-gca');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #70e51c395c4197de Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3403
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe('my-vertex-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 production #c7cc3d493a985eb0 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3429
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe('env-vertex-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 production #9db70e7b5b22917c Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3433
        process.env['CLOUD_SHELL'] = '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 #3744c31f698b6ced Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3446
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe('cloudshell-gca');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c67ca97ab10b9fe3 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3456
        expect(process.env['GOOGLE_CLOUD_PROJECT']).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 production #f3338ab63d065c08 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3460
        process.env['CLOUD_SHELL'] = '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 #1e6cdf513320493b Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3461
        process.env['GOOGLE_CLOUD_PROJECT'] = 'my-real-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 production #420d90a2c20dd62e Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3474
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe('cloudshell-gca');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5925ca365d8b25c5 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3475
        expect(process.env['_GEMINI_USER_GCP_PROJECT']).toBe('my-real-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 production #9d1cebaf4aa63ec9 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3485
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe('my-real-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 production #36e924be4a779ba2 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3491
        process.env['CLOUD_SHELL'] = '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 #370175eedf122633 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3492
        process.env['GOOGLE_CLOUD_PROJECT'] = 'cloudshell-gca';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c9e94b4592d4835d Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3493
        process.env['_GEMINI_USER_GCP_PROJECT'] = 'my-real-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 production #70563b630a3fd50a Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3508
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe('my-real-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 production #dc55350c416e48f2 Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3512
        process.env['CLOUD_SHELL'] = '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 #444cd769c9e1160d Environment-variable access.
repo/packages/cli/src/config/settings.test.ts:3528
        expect(process.env['GOOGLE_CLOUD_PROJECT']).toBe(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #06588357bb00d383 Environment-variable access.
repo/packages/cli/src/config/settings.ts:105
  if (process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #763081bf15ce87ed Environment-variable access.
repo/packages/cli/src/config/settings.ts:106
    return process.env['GEMINI_CLI_SYSTEM_SETTINGS_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 #0461c398ec4543b5 Environment-variable access.
repo/packages/cli/src/config/settings.ts:118
  if (process.env['GEMINI_CLI_SYSTEM_DEFAULTS_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 #fe29ab0f54613cef Environment-variable access.
repo/packages/cli/src/config/settings.ts:119
    return process.env['GEMINI_CLI_SYSTEM_DEFAULTS_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 #2393a8b684c66cbb Environment-variable access.
repo/packages/cli/src/config/settings.ts:621
  if (!process.env[USER_GCP_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 production #fbd82c1ac32deda4 Environment-variable access.
repo/packages/cli/src/config/settings.ts:622
    const current = 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 production #666502319d42dd54 Environment-variable access.
repo/packages/cli/src/config/settings.ts:624
      process.env[USER_GCP_PROJECT] = current;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #617637b84a0a2719 Environment-variable access.
repo/packages/cli/src/config/settings.ts:631
    value = process.env[USER_GCP_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 production #e4a7a6c7f35be63a Filesystem access.
repo/packages/cli/src/config/settings.ts:635
    const envFileContent = fs.readFileSync(envFilePath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e20d50a3930b6e80 Environment-variable access.
repo/packages/cli/src/config/settings.ts:647
    process.env['GOOGLE_CLOUD_PROJECT'] = 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 #dd23fa9a1c116533 Environment-variable access.
repo/packages/cli/src/config/settings.ts:648
  } else if (process.env['GOOGLE_CLOUD_PROJECT'] === 'cloudshell-gca') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #33a6c602126c56eb Environment-variable access.
repo/packages/cli/src/config/settings.ts:649
    delete 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 production #8c32e400ce831a18 Environment-variable access.
repo/packages/cli/src/config/settings.ts:683
  if (process.env['CLOUD_SHELL'] === '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 #ee795e2b40d6bdd8 Filesystem access.
repo/packages/cli/src/config/settings.ts:697
      const envFileContent = fs.readFileSync(envFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #08e5899ecafa4841 Environment-variable access.
repo/packages/cli/src/config/settings.ts:723
            process.env[key] = 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 #7cd3dce28014c3ce Filesystem access.
repo/packages/cli/src/config/settings.ts:784
        const 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 #5c9f23f962ae8a4a Environment-variable access.
repo/packages/cli/src/config/trustedFolders.test.ts:61
    delete process.env['GEMINI_CLI_TRUST_WORKSPACE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #21dc400370e45a9d Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:73
      fs.writeFileSync(trustedFoldersPath, '{}', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #66d21c3659fc869a Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:91
      const content = fs.readFileSync(trustedFoldersPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f58402d828046902 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:112
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #93cd53f86b34503d Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:125
      fs.writeFileSync(trustedFoldersPath, 'invalid 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 #e66021eeaf84d68f Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:135
      fs.writeFileSync(trustedFoldersPath, 'null', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1e653d9bb967fd63 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:147
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #883458c71cfe2c4f Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:164
      fs.writeFileSync(trustedFoldersPath, 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 #a78d7e10f06ae65d Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:176
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7ac8b52cc4e6897d Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:231
      fs.writeFileSync(trustedFoldersPath, '{}', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9d8f59b331c35b67 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:243
      const content = fs.readFileSync(trustedFoldersPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6bf5983ed18f3d29 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:249
      fs.writeFileSync(trustedFoldersPath, 'invalid 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 #3af4743093f60be2 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:271
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e34ac4beeeb2306c Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:281
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b4ede2278f4a43b7 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:291
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d8c308b0ee0093c1 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:301
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1f953c4d017795ca Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:311
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #117659e7e230c65b Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:319
      fs.writeFileSync(trustedFoldersPath, '{}', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c18bddf2edee92d Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:330
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #71cacb095476abf6 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:343
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #87ca5605b62c4859 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:356
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #300c3d45c00c2610 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:368
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bef994e000b9eb89 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:384
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5787e1b5bac15016 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:399
      fs.writeFileSync(trustedFoldersPath, 'invalid 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 #8388e263ff07a4d4 Environment-variable access.
repo/packages/cli/src/config/trustedFolders.test.ts:437
      process.env['GEMINI_CLI_TRUST_WORKSPACE'] = '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 #31a5006480e42f6e Environment-variable access.
repo/packages/cli/src/config/trustedFolders.test.ts:444
        delete process.env['GEMINI_CLI_TRUST_WORKSPACE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #489be3e89845628f Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:453
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf72b4886b274bbb Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:490
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7a4b56b7f283e7c8 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:520
        fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6fa44edf5f81e401 Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:536
      fs.writeFileSync(trustedFoldersPath, JSON.stringify(config), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #39a5f76f0fadcbcd Filesystem access.
repo/packages/cli/src/config/trustedFolders.test.ts:539
      fs.writeFileSync(envPath, 'GEMINI_API_KEY=secret', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #64a3766f544bec4a Environment-variable access.
repo/packages/cli/src/config/trustedFolders.test.ts:549
      expect(process.env['GEMINI_API_KEY']).toBe('');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #92d7a55938587088 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:417
    delete process.env['GEMINI_CLI_NO_RELAUNCH'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3815fa61a568a6eb Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:438
    process.env['GEMINI_CLI_NO_RELAUNCH'] = '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 #4ba1a07fa0ccec5e Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:491
    originalEnvNoRelaunch = process.env['GEMINI_CLI_NO_RELAUNCH'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c8d26a18cee96641 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:492
    process.env['GEMINI_CLI_NO_RELAUNCH'] = '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 #5fd6ee2afc504552 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:512
      process.env['GEMINI_CLI_NO_RELAUNCH'] = originalEnvNoRelaunch;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4a887da7972d01f4 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:514
      delete process.env['GEMINI_CLI_NO_RELAUNCH'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #087b7d5a404b7738 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:701
    process.env['GEMINI_API_KEY'] = 'test-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 #a49ae802afd4450f Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:707
      delete 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 production #2916c76940fe5675 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:766
    process.env['GEMINI_API_KEY'] = 'test-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 #dfef2511927e1674 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:772
      delete 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 production #b6db0eb13b03c7e2 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:820
    process.env['GEMINI_API_KEY'] = 'test-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 #a798c1c16e1145d6 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:826
      delete 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 production #369dacb1f9e5faad Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1041
    process.env['GEMINI_API_KEY'] = 'test-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 #054c343bc018a14b Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1047
      delete 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 production #fed1fdc0cd068497 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1236
    originalEnvNoRelaunch = process.env['GEMINI_CLI_NO_RELAUNCH'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9edce8dc0b93e4e0 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1237
    process.env['GEMINI_CLI_NO_RELAUNCH'] = '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 #c5e3e545a0703156 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1249
      process.env['GEMINI_CLI_NO_RELAUNCH'] = originalEnvNoRelaunch;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #87238efec4e3b4db Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1251
      delete process.env['GEMINI_CLI_NO_RELAUNCH'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5be3276f8ba755f0 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1387
    process.env['GEMINI_API_KEY'] = 'test-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 #69d12f41076c104f Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1395
      delete 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 production #d2681b93cb8e8e56 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1420
    process.env['GEMINI_API_KEY'] = 'test-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 #e1f55d9c5b61f31f Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1428
      delete 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 production #19e29ce6eba27a01 Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1465
    process.env['GEMINI_API_KEY'] = 'test-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 #8400fb0703a2550d Environment-variable access.
repo/packages/cli/src/gemini.test.tsx:1471
      delete 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 production #6c5903842249b3b3 Environment-variable access.
repo/packages/cli/src/gemini.tsx:138
  if (process.env['GEMINI_CLI_NO_RELAUNCH']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9df2755e7769c00d Filesystem access.
repo/packages/cli/src/gemini.tsx:271
      await fsPromises.writeFile(
        newSessionPath,
        lines.join('\n') + '\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 #196942cb010e8652 Environment-variable access.
repo/packages/cli/src/gemini.tsx:488
      process.env['CLOUD_SHELL'] === '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 #53ee359b6d91c412 Environment-variable access.
repo/packages/cli/src/gemini.tsx:489
      process.env['GEMINI_CLI_USE_COMPUTE_ADC'] === '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 #dbcea3bb9e080bbc Environment-variable access.
repo/packages/cli/src/gemini.tsx:569
  if (!process.env['SANDBOX'] && !argv.isCommand) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4215c049d5e3dbff Environment-variable access.
repo/packages/cli/src/gemini_cleanup.test.tsx:194
    process.env['GEMINI_CLI_NO_RELAUNCH'] = '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 #112349bac4a75c0c Environment-variable access.
repo/packages/cli/src/gemini_cleanup.test.tsx:199
    delete process.env['GEMINI_CLI_NO_RELAUNCH'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #812653dd53771f93 Environment-variable access.
repo/packages/cli/src/interactiveCli.tsx:99
  const isShpool = !!process.env['SHPOOL_SESSION_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 #8690805b0b30b40b Environment-variable access.
repo/packages/cli/src/interactiveCli.tsx:139
    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 #5ce48c001a3eeb1e Environment-variable access.
repo/packages/cli/src/nonInteractiveCli.ts:89
    if (process.env['GEMINI_CLI_ACTIVITY_LOG_TARGET']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8890fc47f7fd7717 Environment-variable access.
repo/packages/cli/src/nonInteractiveCliAgentSession.ts:86
    if (process.env['GEMINI_CLI_ACTIVITY_LOG_TARGET']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1fd4e4b511fbc07 Environment-variable access.
repo/packages/cli/src/services/BuiltinCommandLoader.test.ts:413
    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 #b527b1814451a0eb Environment-variable access.
repo/packages/cli/src/services/BuiltinCommandLoader.test.ts:422
    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 #f02117e61090f2c8 Filesystem access.
repo/packages/cli/src/services/FileCommandLoader.ts:267
      fileContent = 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 #8296537d5cd85c7d Filesystem access.
repo/packages/cli/src/test-utils/AppRig.tsx:190
    fs.writeFileSync(
      path.join(geminiDir, 'state.json'),
      JSON.stringify({ terminalSetupPromptShown: 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 #86569add213b601b Environment-variable access.
repo/packages/cli/src/test-utils/AppRig.tsx:254
      if (!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 production #2f900276da11c221 Environment-variable access.
repo/packages/cli/src/test-utils/AppRig.tsx:316
        apiKey: process.env['GEMINI_API_KEY'] || 'test-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 #588106fcf84581f8 Filesystem access.
repo/packages/cli/src/test-utils/createExtension.ts:33
  fs.writeFileSync(
    path.join(extDir, EXTENSIONS_CONFIG_FILENAME),
    JSON.stringify({
      name,
      version,
      contextFileName,
      mcpServers,
      settings,
      themes,
    }),
  );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d02a6bb0072977fa Filesystem access.
repo/packages/cli/src/test-utils/createExtension.ts:46
    fs.writeFileSync(path.join(extDir, 'GEMINI.md'), 'context');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bf026b0201fd512e Filesystem access.
repo/packages/cli/src/test-utils/createExtension.ts:50
    fs.writeFileSync(path.join(extDir, contextFileName), 'context');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5d196a0d531582df Filesystem access.
repo/packages/cli/src/test-utils/createExtension.ts:54
    fs.writeFileSync(
      path.join(extDir, INSTALL_METADATA_FILENAME),
      JSON.stringify(installMetadata),
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8aa9170f21376f52 Environment-variable access.
repo/packages/cli/src/test-utils/render.tsx:58
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 #633bfee0f18eadab Environment-variable access.
repo/packages/cli/src/test-utils/render.tsx:64
  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 #63775db48118a5ee Environment-variable access.
repo/packages/cli/src/ui/IdeIntegrationNudge.tsx:47
    !!process.env['GEMINI_CLI_IDE_SERVER_PORT'] &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a17fb24301c3eee4 Environment-variable access.
repo/packages/cli/src/ui/IdeIntegrationNudge.tsx:48
    !!process.env['GEMINI_CLI_IDE_WORKSPACE_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 #57845dc3472ac543 Environment-variable access.
repo/packages/cli/src/ui/auth/AuthDialog.tsx:51
    ...(process.env['CLOUD_SHELL'] === '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 #0888f5eaaa0f86ff Environment-variable access.
repo/packages/cli/src/ui/auth/AuthDialog.tsx:59
      : process.env['GEMINI_CLI_USE_COMPUTE_ADC'] === '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 #1a64f817123c1db9 Environment-variable access.
repo/packages/cli/src/ui/auth/AuthDialog.tsx:87
  const defaultAuthTypeEnv = process.env['GEMINI_DEFAULT_AUTH_TYPE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #efec27ebda4047fb Environment-variable access.
repo/packages/cli/src/ui/auth/AuthDialog.tsx:106
    if (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 production #66b82fbec8ba8aff Environment-variable access.
repo/packages/cli/src/ui/auth/AuthDialog.tsx:125
            process.env['CLOUD_SHELL'] === '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 #cf76402f0939fa4a Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.test.tsx:39
    delete 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 production #931f5a92ba46331e Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.test.tsx:40
    delete process.env['GEMINI_DEFAULT_AUTH_TYPE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #570fb1fd919a6050 Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.test.tsx:178
      process.env['GEMINI_API_KEY'] = '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 production #9908b1b2813b9e6a Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.test.tsx:236
      process.env['GEMINI_API_KEY'] = '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 production #0a33b229672f44ec Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.test.tsx:252
      process.env['GEMINI_API_KEY'] = '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 production #7400c2cdd240fea5 Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.test.tsx:278
      process.env['GEMINI_DEFAULT_AUTH_TYPE'] = 'INVALID_TYPE';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #72ea5d31a65e6b4c Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.ts:69
    const envKey = 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 production #285af8d06e2a2120 Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.ts:96
        if (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 production #670f3226ad2b49cc Environment-variable access.
repo/packages/cli/src/ui/auth/useAuth.ts:124
      const defaultAuthType = process.env['GEMINI_DEFAULT_AUTH_TYPE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e9404b154122b9b7 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.test.ts:66
    process.env['GOOGLE_CLOUD_PROJECT'] = 'test-gcp-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 production #680bc0d2ce699134 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.test.ts:87
    process.env['SANDBOX'] = '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e690fa7a5b45e808 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.test.ts:109
    process.env['SANDBOX'] = 'gemini-sandbox';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4d3fe04894aec04e Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.test.ts:124
    process.env['SANDBOX'] = 'sandbox-exec';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dbaee1e71a6c5e45 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.test.ts:125
    process.env['SEATBELT_PROFILE'] = 'test-profile';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #19ace681cd880811 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.test.ts:144
    process.env['SANDBOX'] = '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #28e2c98b259f3985 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.ts:30
    if (process.env['SANDBOX'] && process.env['SANDBOX'] !== 'sandbox-exec') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e76d08610ac8958d Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.ts:31
      sandboxEnv = process.env['SANDBOX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4877cbe96f375e58 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.ts:32
    } else if (process.env['SANDBOX'] === 'sandbox-exec') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8963f89c98b1d3b6 Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.ts:34
        process.env['SEATBELT_PROFILE'] || '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 #7891cc31aa2d96cf Environment-variable access.
repo/packages/cli/src/ui/commands/aboutCommand.ts:42
    const gcpProject = 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 production #eb5527ed8adcad8a Environment-variable access.
repo/packages/cli/src/ui/commands/bugCommand.ts:43
    if (process.env['SANDBOX'] && process.env['SANDBOX'] !== 'sandbox-exec') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c6673837c5e00d18 Environment-variable access.
repo/packages/cli/src/ui/commands/bugCommand.ts:44
      sandboxEnv = process.env['SANDBOX'].replace(/^gemini-(?: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 #99728202fa5856c7 Environment-variable access.
repo/packages/cli/src/ui/commands/bugCommand.ts:45
    } else if (process.env['SANDBOX'] === 'sandbox-exec') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a9fcc6e07373159b Environment-variable access.
repo/packages/cli/src/ui/commands/bugCommand.ts:47
        process.env['SEATBELT_PROFILE'] || '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 #dc72818a9ff20e2d Filesystem access.
repo/packages/cli/src/ui/commands/chatCommand.ts:364
      await fsPromises.writeFile(
        filePath,
        JSON.stringify(restPayload, 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 #adaaac9227dab24a Environment-variable access.
repo/packages/cli/src/ui/commands/docsCommand.ts:24
    if (process.env['SANDBOX'] && process.env['SANDBOX'] !== 'sandbox-exec') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b8ba8f1c7ce97729 Filesystem access.
repo/packages/cli/src/ui/commands/exportSessionCommand.ts:72
      await fs.writeFile(
        targetPath,
        JSON.stringify(sessionData, null, 2),
        'utf-8',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2972106c252a3973 Environment-variable access.
repo/packages/cli/src/ui/commands/extensionsCommand.ts:304
  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 #92315c7556699a79 Environment-variable access.
repo/packages/cli/src/ui/commands/extensionsCommand.ts:310
    process.env['SANDBOX'] &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #92174ce1372891ae Environment-variable access.
repo/packages/cli/src/ui/commands/extensionsCommand.ts:311
    process.env['SANDBOX'] !== 'sandbox-exec'

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f4fbe935df582cb3 Filesystem access.
repo/packages/cli/src/ui/commands/initCommand.ts:40
      fs.writeFileSync(geminiMdPath, '', '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 #53b41b85b32bdbe7 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:118
      await fs.writeFile(path.join(checkpointsDir, 'test1.json'), '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bb2747861aaf062b Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:119
      await fs.writeFile(path.join(checkpointsDir, 'test2.json'), '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b92fbfed068e65e8 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:130
      await fs.writeFile(path.join(checkpointsDir, 'test1.json'), '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #43deb9ae498fb480 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:166
      await fs.writeFile(
        path.join(checkpointsDir, 'my-checkpoint.json'),
        JSON.stringify(toolCallData),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d6dbeffac20cf0d7 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:197
      await fs.writeFile(
        path.join(checkpointsDir, 'my-checkpoint.json'),
        JSON.stringify(toolCallData),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #80228998ae72d6a7 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:218
    await fs.writeFile(
      path.join(checkpointsDir, `${checkpointName}.json`),
      JSON.stringify({ history: [] }), // An object that is valid JSON but missing the 'toolCall' property
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #237c16cb5058c241 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:248
      await fs.writeFile(path.join(checkpointsDir, 'test1.json'), '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ab6f34701ffa5816 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:249
      await fs.writeFile(path.join(checkpointsDir, 'test2.json'), '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f7b9e546be19699a Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.test.ts:250
      await fs.writeFile(
        path.join(checkpointsDir, 'not-a-checkpoint.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 production #09ad842b6aa27a90 Filesystem access.
repo/packages/cli/src/ui/commands/restoreCommand.ts:91
    const data = 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 #c5e80d841642fc4c Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:105
      const contents = await fs.readFile(workflowFile, '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 #b22151dbfc97a5c3 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:118
      const gitignoreContent = await fs.readFile(gitignorePath, '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 #84c883d5a76ec73d Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:175
      const contents = await fs.readFile(workflowFile, '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 #e11ee0dd27c62784 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:188
      const gitignoreContent = await fs.readFile(gitignorePath, '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 #70f8ecba5e7e4bf1 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:236
    const content = await fs.readFile(gitignorePath, '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 #c3131d2b55dc6bfb Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:244
    await fs.writeFile(gitignorePath, existingContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1e8da0262a2fd879 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:248
    const content = await fs.readFile(gitignorePath, '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 #2e242a2df8d341b7 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:258
    await fs.writeFile(gitignorePath, existingContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #af9b3648debde51d Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:262
    const content = await fs.readFile(gitignorePath, '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 #b3b4ce606bd9a9dd Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:270
    await fs.writeFile(gitignorePath, existingContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4f1f8d8976f049db Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:274
    const content = await fs.readFile(gitignorePath, '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 #cefef3a3ac1f5af0 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:292
    await fs.writeFile(gitignorePath, existingContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d31549dff70b2662 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.test.ts:296
    const content = await fs.readFile(gitignorePath, '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 #8a6810a6185f6784 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.ts:78
      existingContent = await fs.promises.readFile(gitignorePath, '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 #77abe209ec876db9 Filesystem access.
repo/packages/cli/src/ui/commands/setupGithubCommand.ts:87
      await fs.promises.writeFile(gitignorePath, contentToWrite);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f5f4ff71ee4e2a25 Environment-variable access.
repo/packages/cli/src/ui/components/Footer.tsx:81
  const sandbox = process.env['SANDBOX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8448efa7955002fe Environment-variable access.
repo/packages/cli/src/ui/components/Footer.tsx:312
        const sandbox = process.env['SANDBOX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9d4048376c2a3b07 Environment-variable access.
repo/packages/cli/src/ui/components/InboxDialog.tsx:186
    const homeDirs = [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 #d15becbe4b1623ed Environment-variable access.
repo/packages/cli/src/ui/components/InputPrompt.tsx:1735
  const useLineFallback = !!process.env['NO_COLOR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5891f95a4b913588 Environment-variable access.
repo/packages/cli/src/ui/components/StatusDisplay.tsx:26
  if (process.env['GEMINI_SYSTEM_MD']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c53a4c08dfc42c85 Environment-variable access.
repo/packages/cli/src/ui/components/shared/ScrollableList.tsx:115
      duration: number = process.env['NODE_ENV'] === 'test' ? 0 : 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 production #d8cfe8827cf258ce Environment-variable access.
repo/packages/cli/src/ui/components/shared/VirtualizedList.tsx:547
    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 #5139adc84e35dbaf Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.test.ts:1175
      fs.writeFileSync(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 #71653c6146232481 Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.test.ts:1193
      fs.writeFileSync(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 #633cb4e870cab260 Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.test.ts:1215
      fs.writeFileSync(file1, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c7119f6301696acf Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.test.ts:1216
      fs.writeFileSync(file2, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d0dc1a4f6519d8bc Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.test.ts:1231
      fs.writeFileSync(file1, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #384832e1db69440e Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.test.ts:1232
      fs.writeFileSync(file2, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9dc6fe15ad68a3f6 Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.test.ts:1249
      fs.writeFileSync(validFile, '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0519a7ce7a5cee5d Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.ts:3321
    fs.writeFileSync(filePath, expandedText, '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 #03710d9b45b57c5b Filesystem access.
repo/packages/cli/src/ui/components/shared/text-buffer.ts:3334
      let newText = 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 #84dd3a74ac871f12 Environment-variable access.
repo/packages/cli/src/ui/contexts/KeypressContext.tsx:383
  const lang = process.env['LANG'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5682475c4ee75a9a Environment-variable access.
repo/packages/cli/src/ui/contexts/KeypressContext.tsx:384
  const lcAll = process.env['LC_ALL'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf6ea3b8dd423fc7 Filesystem access.
repo/packages/cli/src/ui/hooks/atCommandProcessor.test.ts:54
    await fsPromises.writeFile(fullPath, fileContents);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5d20307c8754ffa7 Filesystem access.
repo/packages/cli/src/ui/hooks/atCommandProcessor.test.ts:1478
      await fsPromises.writeFile(filePath, fileContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #95f531f4a24eea3f Filesystem access.
repo/packages/cli/src/ui/hooks/atCommandProcessor.test.ts:1692
    await fsPromises.writeFile(realFile, '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 production #bc467749325a2e8d Filesystem access.
repo/packages/cli/src/ui/hooks/shell-completions/npmProvider.ts:51
        const content = await fs.readFile(pkgJsonPath, '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 #5ead1d41586d39a8 Environment-variable access.
repo/packages/cli/src/ui/hooks/useAnimatedScrollbar.ts:45
      typeof process !== 'undefined' && 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 #3ba938adb4287998 Filesystem access.
repo/packages/cli/src/ui/hooks/useExecutionLifecycle.ts:595
            const finalPwd = fs.readFileSync(pwdFilePath, '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 #fb73dbf8341d652a Filesystem access.
repo/packages/cli/src/ui/hooks/useGeminiStream.ts:2118
              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 #a81eb92ff0089fec Filesystem access.
repo/packages/cli/src/ui/hooks/useGitBranchName.test.tsx:277
      fs.writeFileSync(GIT_HEAD_PATH, 'ref: refs/heads/develop');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cb6b7b271c3ca2fe Environment-variable access.
repo/packages/cli/src/ui/hooks/useQuotaAndFallback.ts:143
            process.env['GOOGLE_CLOUD_LOCATION'] || 'your configured region';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5cc424ea6b5a7fbb Environment-variable access.
repo/packages/cli/src/ui/hooks/useShellCompletion.ts:186
  const pathEnv = process.env['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 #4b41cbfaede202ed Environment-variable access.
repo/packages/cli/src/ui/hooks/useShellCompletion.ts:190
    ? (process.env['PATHEXT'] ?? '.EXE;.CMD;.BAT;.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 production #a7b747bc9847ff51 Environment-variable access.
repo/packages/cli/src/ui/hooks/useShellCompletion.ts:452
  const pathEnvRef = useRef<string>(process.env['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 #b9d7ffd4a52d334b Environment-variable access.
repo/packages/cli/src/ui/hooks/useShellCompletion.ts:482
    const currentPath = process.env['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 #32269550e5eb260e Filesystem access.
repo/packages/cli/src/ui/hooks/useShellHistory.ts:34
    const text = 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 #9eb6f63b5fb96838 Filesystem access.
repo/packages/cli/src/ui/hooks/useShellHistory.ts:67
    await fs.writeFile(filePath, history.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 #e867a2852eb58f3d Environment-variable access.
repo/packages/cli/src/ui/hooks/useThemeCommand.ts:41
    if (process.env['NO_COLOR']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6ea23054043cc34e Environment-variable access.
repo/packages/cli/src/ui/hooks/useVoiceMode.ts:128
      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 production #12f212dbd4ef2459 Filesystem access.
repo/packages/cli/src/ui/key/keyBindings.test.ts:196
    await fs.writeFile(tempFilePath, customJson, '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 #e2ce487119c1d132 Filesystem access.
repo/packages/cli/src/ui/key/keyBindings.test.ts:214
    await fs.writeFile(tempFilePath, customJson, '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 #75867b83472815a0 Filesystem access.
repo/packages/cli/src/ui/key/keyBindings.test.ts:227
    await fs.writeFile(tempFilePath, invalidJson, '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 #5225eb3c903d26be Filesystem access.
repo/packages/cli/src/ui/key/keyBindings.test.ts:243
    await fs.writeFile(tempFilePath, mixedJson, '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 #38aa243c141c3a06 Filesystem access.
repo/packages/cli/src/ui/key/keyBindings.test.ts:260
    await fs.writeFile(tempFilePath, customJson, '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 #f3071e9188b66160 Filesystem access.
repo/packages/cli/src/ui/key/keyBindings.test.ts:273
    await fs.writeFile(tempFilePath, customJson, '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 #bfa0a6b41b32011a Filesystem access.
repo/packages/cli/src/ui/key/keyBindings.ts:727
    const content = await fs.readFile(userKeybindingsPath, '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 #9ba18b9530a6ae51 Filesystem access.
repo/packages/cli/src/ui/key/keyMatchers.test.ts:561
    await fs.writeFile(tempFilePath, customJson, '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 #60f6915c15f06ca1 Filesystem access.
repo/packages/cli/src/ui/key/keyMatchers.test.ts:573
    await fs.writeFile(tempFilePath, 'invalid 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 #91e60e5ff46e4365 Environment-variable access.
repo/packages/cli/src/ui/key/keybindingUtils.ts:78
    (process.env['FORCE_GENERIC_KEYBINDING_HINTS']

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84956063dd291f27 Environment-variable access.
repo/packages/cli/src/ui/themes/theme-manager.test.ts:8
if (process.env['NO_COLOR'] !== 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 #58f32a9ae65040a0 Environment-variable access.
repo/packages/cli/src/ui/themes/theme-manager.test.ts:9
  delete process.env['NO_COLOR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a147f2b61637443a Environment-variable access.
repo/packages/cli/src/ui/themes/theme-manager.test.ts:118
    const original = process.env['NO_COLOR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c34df9439123a73e Environment-variable access.
repo/packages/cli/src/ui/themes/theme-manager.test.ts:119
    process.env['NO_COLOR'] = '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 #55467a9d1449d823 Environment-variable access.
repo/packages/cli/src/ui/themes/theme-manager.test.ts:122
      delete process.env['NO_COLOR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4fa3cd4fe41bc3b8 Environment-variable access.
repo/packages/cli/src/ui/themes/theme-manager.test.ts:124
      process.env['NO_COLOR'] = 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 production #8f747e6cd15d24ed Environment-variable access.
repo/packages/cli/src/ui/themes/theme-manager.ts:317
    if (process.env['NO_COLOR']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2d0c6fe696f659b1 Filesystem access.
repo/packages/cli/src/ui/themes/theme-manager.ts:584
      const themeContent = this.fs.readFileSync(canonicalPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fcef8fc0b0113ba7 Environment-variable access.
repo/packages/cli/src/ui/utils/antigravityUtils.ts:23
    if (process.env['PSModulePath']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #51b6dcdcce3d1f56 Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.test.ts:113
      process.env['XDG_SESSION_TYPE'] = 'wayland';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #afb37fdd44948da0 Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.test.ts:132
      process.env['XDG_SESSION_TYPE'] = 'x11';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ccc187990f399698 Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.test.ts:157
      process.env['XDG_SESSION_TYPE'] = 'wayland';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3cdde16ea5e33a18 Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.test.ts:168
      process.env['XDG_SESSION_TYPE'] = 'wayland';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf256b51fb47d6e2 Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.test.ts:182
      process.env['XDG_SESSION_TYPE'] = 'wayland';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #28d015859663e6e7 Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.test.ts:230
      process.env['XDG_SESSION_TYPE'] = type;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #db2294245bec23f7 Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.test.ts:340
      delete process.env['XDG_SESSION_TYPE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0a21849b204a06be Environment-variable access.
repo/packages/cli/src/ui/utils/clipboardUtils.ts:44
  const displayServer = process.env['XDG_SESSION_TYPE'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #180ff3be9e1b522d Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:87
  delete process.env['TMUX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b103a7aecfaca71f Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:88
  delete process.env['STY'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0fa84836c423c954 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:89
  delete process.env['SSH_TTY'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c06d12614510b85c Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:90
  delete process.env['SSH_CONNECTION'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cb48fae26b581a07 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:91
  delete process.env['SSH_CLIENT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a091ce7d636e461c Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:92
  delete process.env['WSL_DISTRO_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 #16cd76d83fff7db6 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:93
  delete process.env['WSLENV'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #20122a1d03484729 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:94
  delete process.env['WSL_INTEROP'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #87085bf19a61ffae Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:95
  delete process.env['TERM'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #94f87e128ac032ad Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:96
  delete process.env['WT_SESSION'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0fdcf8c0978ef861 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:265
      process.env['SSH_CONNECTION'] = '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 #a2a99e1c5d9200e6 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:309
      process.env['SSH_CONNECTION'] = '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 #fe51b8b0216eb389 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:310
      process.env['TMUX'] = '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 #1ef02d60065db4ee Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:332
      process.env['SSH_CONNECTION'] = '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 #61ce1ee40911fd04 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:333
      process.env['STY'] = 'screen-session';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84308bfbf2351013 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:356
      process.env['SSH_TTY'] = '/dev/pts/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 #c35405ea614806ec Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:383
      process.env['SSH_CLIENT'] = 'client';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #87a2fd50da065fbf Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:396
      process.env['SSH_CONNECTION'] = '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 #f0c0b8749b5aa81a Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:411
      process.env['SSH_CONNECTION'] = '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 #03169f6c0140ea5e Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:450
      process.env['SSH_CONNECTION'] = '1'; // normally would trigger OSC52 on TTY

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6760ef7eaacc0429 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:476
      process.env['TMUX'] = '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 #b895c09523282ad1 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:487
      process.env['SSH_CONNECTION'] = '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 #b3cf2eba26e41610 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:512
      process.env['SSH_CONNECTION'] = '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 #5a77887b43f166e5 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:545
      process.env['WT_SESSION'] = 'some-uuid';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fdd57113576a7fa8 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:569
      process.env['WT_SESSION'] = 'some-uuid';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b993e49bf0701648 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.test.ts:598
      process.env['WT_SESSION'] = 'some-uuid';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #025cb90d4404cd23 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:145
    process.env['TMUX'] || (process.env['TERM'] ?? '').startsWith('tmux'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e8d37fd0a3be4d10 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:150
    process.env['STY'] || (process.env['TERM'] ?? '').startsWith('screen'),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2a3000185b840a90 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:155
    process.env['SSH_TTY'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #442557882106c0ed Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:156
      process.env['SSH_CONNECTION'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #20c53c196030cbc6 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:157
      process.env['SSH_CLIENT'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #404ce23835382dc2 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:162
    process.env['WSL_DISTRO_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 #474353c5a37d9178 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:163
      process.env['WSLENV'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #578f272dee4912d4 Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:164
      process.env['WSL_INTEROP'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5021f171acb7dabf Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:168
  process.platform === 'win32' && Boolean(process.env['WT_SESSION']);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #83c59ece3c75853c Environment-variable access.
repo/packages/cli/src/ui/utils/commandUtils.ts:170
const isDumbTerm = (): boolean => (process.env['TERM'] ?? '') === 'dumb';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0f344d702a9ab9ee Environment-variable access.
repo/packages/cli/src/ui/utils/editorUtils.ts:81
    const envCommand = process.env['VISUAL'] ?? process.env['EDITOR'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6ec83071911e5cb6 Filesystem access.
repo/packages/cli/src/ui/utils/historyExportUtils.ts:80
  await fsPromises.writeFile(filePath, 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 #1a14c9df7a6818e5 Filesystem access.
repo/packages/cli/src/ui/utils/rewindFileOps.ts:175
              currentContent = 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 #f055f4d8be263ea0 Filesystem access.
repo/packages/cli/src/ui/utils/rewindFileOps.ts:198
                await fs.writeFile(filePath, originalContent ?? '');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a18600bbed29661d Filesystem access.
repo/packages/cli/src/ui/utils/rewindFileOps.ts:223
                  await fs.writeFile(filePath, patchedContent);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5ce767cb2a584d10 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:87
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f7dac577bdcb4734 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:93
      process.env['CURSOR_TRACE_ID'] = 'some-id';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8541ea314d01e873 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:99
      process.env['VSCODE_GIT_ASKPASS_MAIN'] = '/path/to/windsurf/askpass';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #948f89a938f4a688 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:117
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4b45c6015078dd69 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:130
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7f09397eadc99501 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:141
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0f02eccc40f7f45a Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:183
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ee1c13559eb446b6 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:193
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #44a1113200caaeb0 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:218
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c6145080658bf810 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.test.ts:242
      process.env['TERM_PROGRAM'] = 'vscode';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3873fbbb4131a72b Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:115
  const termProgram = process.env['TERM_PROGRAM'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0788debcf1eb9093 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:120
    process.env['CURSOR_TRACE_ID'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #baf852de66308a25 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:121
    process.env['VSCODE_GIT_ASKPASS_MAIN']?.toLowerCase().includes('cursor')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2438daa2d2309eb4 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:127
    process.env['VSCODE_GIT_ASKPASS_MAIN']?.toLowerCase().includes('windsurf')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #43f0d4974079f6cd Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:133
    process.env['VSCODE_GIT_ASKPASS_MAIN']

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6ddca948c55f2a2e Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:140
  if (termProgram === 'vscode' || process.env['VSCODE_GIT_IPC_HANDLE']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #31a0db8dbb0b4492 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:205
    if (!process.env['APPDATA']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0dbfcf9b41103d05 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:208
    return path.join(process.env['APPDATA'], appName, 'User');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a147c3e3c99fad38 Filesystem access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:235
      const content = await fs.readFile(keybindingsFile, '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 #544088002339853d Filesystem access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:352
    await fs.writeFile(keybindingsFile, JSON.stringify(keybindings, 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 production #0174cebf0af6539d Filesystem access.
repo/packages/cli/src/ui/utils/terminalSetup.ts:403
    const content = await fs.readFile(keybindingsFile, '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 #bb37dc3509c81ca3 Environment-variable access.
repo/packages/cli/src/ui/utils/terminalUtils.ts:34
  cachedIsITerm2 = process.env['TERM_PROGRAM'] === 'iTerm.app';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #50fa7871ecff25e1 Environment-variable access.
repo/packages/cli/src/ui/utils/updateCheck.test.ts:51
    delete process.env['DEV'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #36550720ff91236f Environment-variable access.
repo/packages/cli/src/ui/utils/updateCheck.test.ts:76
    process.env['DEV'] = '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 #39121b190acfd362 Environment-variable access.
repo/packages/cli/src/ui/utils/updateCheck.ts:64
    if (process.env['DEV'] === 'true') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low egress production #28e180e29c5c7f71 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/cli/src/ui/utils/urlSecurityUtils.test.ts:19
      const urlObj = new URL('https://xn--tst-qla.com/path');

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 #2567cdb280ea871f Environment-variable access.
repo/packages/cli/src/utils/cleanup.test.ts:298
      const originalSandbox = process.env['SANDBOX'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f6924020350bf0f0 Environment-variable access.
repo/packages/cli/src/utils/cleanup.test.ts:299
      process.env['SANDBOX'] = 'true';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f08348eccb142277 Environment-variable access.
repo/packages/cli/src/utils/cleanup.test.ts:316
      process.env['SANDBOX'] = originalSandbox;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #740a48a26839eed0 Environment-variable access.
repo/packages/cli/src/utils/cleanup.ts:160
    if (process.env['SANDBOX']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2974a37f059af0ee Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:48
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ad0cca65a304255f Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:57
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e3c3344a687a4b8d Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:73
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #75fd7d8789646b36 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:82
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c72a766134128356 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:93
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #08565c08278386ca Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:100
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aa0320d7ea52047a Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:111
      const content = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #da3eb36f59744125 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:129
      fs.writeFileSync(testFilePath, complexContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #02112ec0f14a09bb Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:145
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c6329dcb8661ca82 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:166
      fs.writeFileSync(testFilePath, corruptedContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #588e80c3283ddad9 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:180
      const unchangedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #49be07508b0d22c8 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:194
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9bdcb976dc11faeb Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:200
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b053cdcdae265642 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:218
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #758abdff6416ba22 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:228
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #34e59f59028a46c5 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:253
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1c24644c15b665f4 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:265
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9b2cc38e56a2e0a0 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:294
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7b81c97233efcba7 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:300
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #03ad03ce6bda044d Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:313
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #16f40496db0d7560 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:319
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ba7c7cab7b84fec3 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:346
      fs.writeFileSync(testFilePath, originalContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #629fe354f361e8e8 Filesystem access.
repo/packages/cli/src/utils/commentJson.test.ts:357
      const updatedContent = fs.readFileSync(testFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #96347008d0ee15ef Filesystem access.
repo/packages/cli/src/utils/commentJson.ts:24
    fs.writeFileSync(filePath, JSON.stringify(updates, null, 2), 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46e07e5b805dcbfa Filesystem access.
repo/packages/cli/src/utils/commentJson.ts:28
  const originalContent = 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 #afc80f6b495bd226 Filesystem access.
repo/packages/cli/src/utils/commentJson.ts:46
  fs.writeFileSync(filePath, updatedContent, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3157c277a3c65cce Environment-variable access.
repo/packages/cli/src/utils/devtoolsService.test.ts:122
    delete process.env['GEMINI_CLI_ACTIVITY_LOG_TARGET'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8517a72c44d19d09 Environment-variable access.
repo/packages/cli/src/utils/devtoolsService.test.ts:139
      process.env['GEMINI_CLI_ACTIVITY_LOG_TARGET'] = '/tmp/test.jsonl';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd92f75823653820 Environment-variable access.
repo/packages/cli/src/utils/devtoolsService.test.ts:152
      process.env['GEMINI_CLI_ACTIVITY_LOG_TARGET'] = '/tmp/test.jsonl';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7d96af5f702e76ac Environment-variable access.
repo/packages/cli/src/utils/devtoolsService.ts:122
  const target = process.env['GEMINI_CLI_ACTIVITY_LOG_TARGET'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #08b55df3c307c4dd Environment-variable access.
repo/packages/cli/src/utils/envVarResolver.ts:48
        const val = process.env[varName];

Reads environment variables or the filesystem — 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 #a919abbc2246f3ab Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/cli/src/utils/gitUtils.ts:64
    const response = await fetch(endpoint, {
      method: 'GET',
      headers: {
        Accept: 'application/vnd.github+json',
        'Content-Type': 'application/json',
        'X-GitHub-Api-Version': '2022-11-28',
      },
      dispatcher: proxy ? new ProxyAgent(proxy) : undefined,
      /* eslint-disable @typescript-eslint/no-unsafe-type-assertion */
      signal: (
        AbortSignal as unknown as {
          any: (signals: AbortSignal[]) => AbortSignal;
        }
      ).any([AbortSignal.timeout(30_000), controller.signal]),
      /* eslint-enable @typescript-eslint/no-unsafe-type-assertion */
    } as RequestInit);

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 #e3ea4bed4a63f76a Environment-variable access.
repo/packages/cli/src/utils/installationInfo.ts:13
export const isDevelopment = 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 #c01c24f7d6b69231 Environment-variable access.
repo/packages/cli/src/utils/installationInfo.ts:47
    if (process.env['IS_BINARY'] === '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 #7c6869c7c716f228 Filesystem access.
repo/packages/cli/src/utils/persistentState.ts:41
        const 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 #c2c89a3197180a11 Filesystem access.
repo/packages/cli/src/utils/persistentState.ts:63
      fs.writeFileSync(filePath, JSON.stringify(this.cache, 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 #7739175e3ad77072 Environment-variable access.
repo/packages/cli/src/utils/processUtils.ts:46
    (process.env['IS_BINARY'] === '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 #4c3e84c9ff534791 Environment-variable access.
repo/packages/cli/src/utils/processUtils.ts:65
    process.env['IS_BINARY'] === '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 #9211d508482168c3 Environment-variable access.
repo/packages/cli/src/utils/processUtils.ts:103
      const existingNodeOptions = process.env['NODE_OPTIONS'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0332b3e9928fbd6e Environment-variable access.
repo/packages/cli/src/utils/relaunch.ts:43
  if (process.env['GEMINI_CLI_NO_RELAUNCH']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0a9d012f155b6e33 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:66
            const output = process.env['TEST_LXC_LIST_OUTPUT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5860d55bac076e0d Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:375
      process.env['GEMINI_CLI_INTEGRATION_TEST'] = '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 #492617d800d79792 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:534
      process.env['SANDBOX_MOUNTS'] = '/host/path:/container/path:ro';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d4fad2dd206261d7 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:710
      process.env['GOOGLE_GEMINI_BASE_URL'] = 'http://gemini.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 production #4fba885fc9b7d8eb Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:711
      process.env['GOOGLE_VERTEX_BASE_URL'] = 'http://vertex.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 production #4dd2eb4608a2ee45 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:757
      process.env['SANDBOX_SET_UID_GID'] = '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 #5092340d07564708 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:818
      process.env['SANDBOX_SET_UID_GID'] = '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 #26a88ff7c35f9407 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:928
        delete process.env['TEST_LXC_LIST_OUTPUT'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f88e43bb7f3ef038 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:932
        process.env['TEST_LXC_LIST_OUTPUT'] = LXC_RUNNING;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #627bc172b9ce59fc Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:966
        process.env['TEST_LXC_LIST_OUTPUT'] = 'throw';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #552979cab1e9a735 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:978
        process.env['TEST_LXC_LIST_OUTPUT'] = LXC_STOPPED;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #323eaa1a87fad149 Environment-variable access.
repo/packages/cli/src/utils/sandbox.test.ts:988
        process.env['TEST_LXC_LIST_OUTPUT'] = '[]';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #959ddead3b0b34de Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:53
    debugMode: cliConfig?.getDebugMode() || !!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 #5bfaca67ac910813 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:63
      if (process.env['BUILD_SANDBOX']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0ddaf7a097fc7f71 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:69
      const profile = (process.env['SEATBELT_PROFILE'] ??= 'permissive-open');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3d6e293d60399196 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:93
        ...(process.env['DEBUG'] ? ['--inspect-brk'] : []),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #beb2eb286b38a08e Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:167
      const proxyCommand = process.env['GEMINI_SANDBOX_PROXY_COMMAND'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #55bf6d1fb942566f Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:173
          process.env['HTTPS_PROXY'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e17e7988b41ad430 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:174
          process.env['https_proxy'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3b91bf3a09eb209 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:175
          process.env['HTTP_PROXY'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c18fb313d1c2274f Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:176
          process.env['http_proxy'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8c9def94ae1ce873 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:182
        const noProxy = process.env['NO_PROXY'] || process.env['no_proxy'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0d6017e75808c299 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:270
    if (process.env['BUILD_SANDBOX']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1ec59529a4943abe Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:327
    if (process.env['SANDBOX_FLAGS']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #690217d7e92c8aba Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:328
      const flags = parse(process.env['SANDBOX_FLAGS'], process.env).filter(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4c29a3657f2963e0 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:392
    if (process.env['GOOGLE_APPLICATION_CREDENTIALS']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #57334791fb5ce900 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:393
      const adcFile = process.env['GOOGLE_APPLICATION_CREDENTIALS'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0755c6dcef54fd71 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:404
    if (process.env['SANDBOX_MOUNTS']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #35cc45568b9d59b1 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:405
      for (let mount of process.env['SANDBOX_MOUNTS'].split(',')) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8fe5ed04cb047f2f Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:447
    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 #de3ca7b9fe7e1eab Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:448
      const debugPort = process.env['DEBUG_PORT'] || '9229';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #78e73691a78028a9 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:455
    const proxyCommand = process.env['GEMINI_SANDBOX_PROXY_COMMAND'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fce5b6f9726449aa Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:459
        process.env['HTTPS_PROXY'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6a3fbb5d1d10f035 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:460
        process.env['https_proxy'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #59ce1b5c9a54b426 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:461
        process.env['HTTP_PROXY'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8f7a5214b5bd542a Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:462
        process.env['http_proxy'] ||

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7f2d3ed088c9b29 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:471
      const noProxy = process.env['NO_PROXY'] || process.env['no_proxy'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bb403482027ba2eb Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:504
      process.env['GEMINI_CLI_INTEGRATION_TEST'] === '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 #913a07e98f2ef349 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:515
    if (process.env['GEMINI_CLI_TEST_VAR']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d3b564fcc3571c61 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:518
        `GEMINI_CLI_TEST_VAR=${process.env['GEMINI_CLI_TEST_VAR']}`,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46df13552c4e4975 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:523
    if (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 production #6af6aa2e0c25e929 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:524
      args.push('--env', `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 production #b90bc38f77fd8101 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:526
    if (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 production #f4ab013825726eab Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:527
      args.push('--env', `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 production #bbed00b1e9ff6df5 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:531
    if (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 production #4868eb2ec0289d7c Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:534
        `GOOGLE_GEMINI_BASE_URL=${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 production #27c169cee1dc8499 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:537
    if (process.env['GOOGLE_VERTEX_BASE_URL']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d5f9fd02b33cb5d1 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:540
        `GOOGLE_VERTEX_BASE_URL=${process.env['GOOGLE_VERTEX_BASE_URL']}`,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a1b21f1feda8b38e Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:545
    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 production #978d1f71180b18b5 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:548
        `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 production #f2890e2f2b72631b Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:553
    if (process.env['GOOGLE_GENAI_USE_GCA']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a1b125b2ca4b519f Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:556
        `GOOGLE_GENAI_USE_GCA=${process.env['GOOGLE_GENAI_USE_GCA']}`,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b3b958be53a083a4 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:561
    if (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 production #988c11b05d3d221f Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:564
        `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 production #7c5e221466dca8c1 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:569
    if (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 production #8e42b67fbbc04765 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:572
        `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 production #bce0815b228915b4 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:577
    if (process.env['GEMINI_MODEL']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6886d68f5a75b8d0 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:578
      args.push('--env', `GEMINI_MODEL=${process.env['GEMINI_MODEL']}`);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bd77203eefb868e8 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:582
    if (process.env['TERM']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e354383cdb587dd8 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:583
      args.push('--env', `TERM=${process.env['TERM']}`);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6add84e6b3bf8483 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:585
    if (process.env['COLORTERM']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2d4dae6345c5c2a4 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:586
      args.push('--env', `COLORTERM=${process.env['COLORTERM']}`);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #372ca88380016dd0 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:595
      if (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 #93ffb8c74d1093ab Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:596
        args.push('--env', `${envVar}=${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 #0cc69aacf5488532 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:605
      process.env['VIRTUAL_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 #6d3f1756712a9758 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:615
        `${sandboxVenvPath}:${getContainerPath(process.env['VIRTUAL_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 #d6cf50f36020b9ae Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:619
        `VIRTUAL_ENV=${getContainerPath(process.env['VIRTUAL_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 #edce1970fd7476ff Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:624
    if (process.env['SANDBOX_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 #3cbb0d404a495cfd Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:625
      for (let env of process.env['SANDBOX_ENV'].split(',')) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #37a8a6a5ea13d2c0 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:640
    const existingNodeOptions = process.env['NODE_OPTIONS'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3ae98af472b79b98 Filesystem access.
repo/packages/cli/src/utils/sandbox.ts:656
      fs.writeFileSync(emptyAuthFilePath, '{}', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f86579fbd6ed1971 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:665
    if (process.env['GEMINI_CLI_INTEGRATION_TEST'] === '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 #3add5d790d7edd12 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:987
      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 production #0daf7e0fcbb1b069 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:988
      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 production #51c4a868b4dd85a0 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:989
      GOOGLE_GEMINI_BASE_URL: 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 production #98b22d03fcbc9405 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:990
      GOOGLE_VERTEX_BASE_URL: process.env['GOOGLE_VERTEX_BASE_URL'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff34fcbfe91d96aa Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:991
      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 production #102916ffd16de01d Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:992
      GOOGLE_GENAI_USE_GCA: process.env['GOOGLE_GENAI_USE_GCA'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e69f4f4b28838b8b Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:993
      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 production #4d0216a73d74baac Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:994
      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 production #d157e2ab8280c526 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:995
      GEMINI_MODEL: process.env['GEMINI_MODEL'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc84ab3c1a572c97 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:996
      TERM: process.env['TERM'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8bb72735aef45fa8 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:997
      COLORTERM: process.env['COLORTERM'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6ce4bc0797e6f7d4 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:998
      GEMINI_CLI_IDE_SERVER_PORT: process.env['GEMINI_CLI_IDE_SERVER_PORT'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #60c76116c7ab8c74 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:1000
        process.env['GEMINI_CLI_IDE_WORKSPACE_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 #56abf0a47441d474 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:1001
      TERM_PROGRAM: process.env['TERM_PROGRAM'],

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed75a319e51a812b Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:1010
    if (process.env['SANDBOX_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 #c0ba6c560aa26587 Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:1011
      for (let env of process.env['SANDBOX_ENV'].split(',')) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bc1b382ebd71d87c Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:1025
    const existingNodeOptions = process.env['NODE_OPTIONS'] || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf942a1538557a8d Environment-variable access.
repo/packages/cli/src/utils/sandbox.ts:1124
      if (cliConfig?.getDebugMode() || 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 #358abf589b01090b Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:37
    delete 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 #0746c1afdf0197b7 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:38
    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 production #a8e1b189981d305c Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:80
      delete process.env['SANDBOX_PORTS'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5e360f9accb18821 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:85
      process.env['SANDBOX_PORTS'] = '8080, 3000 , 9000';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c737b6487fa6efcc Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:102
      process.env['PATH'] = '/work/bin:/usr/bin';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ad19c0e386f71abe Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:103
      process.env['PYTHONPATH'] = '/work/lib';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2b87eacf24c6ab00 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:116
      process.env['SANDBOX_PORTS'] = '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 production #aa3fec8a2195d124 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:122
      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 #8be007d50fe5d4e3 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:130
      process.env['SANDBOX_SET_UID_GID'] = '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 #dbb5b2c68660be08 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:135
      process.env['SANDBOX_SET_UID_GID'] = '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 #cc6a072089a6dd16 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:140
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ba4ab762936d01eb Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:147
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #295d5ddf84642922 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:154
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a1afbc6b907c2d26 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:161
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a21df32958c888e4 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:168
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74ab2ca81476b7c4 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:175
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b3ff529f093cd7a8 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:196
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #102a96c3811ea80e Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:205
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ae407f442552293d Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:224
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #45f7de0d7426e240 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.test.ts:236
      delete process.env['SANDBOX_SET_UID_GID'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a6f435c260a6ca6f Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:39
  const envVar = process.env['SANDBOX_SET_UID_GID']?.toLowerCase().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 #3d4e2ac33bc30b98 Filesystem access.
repo/packages/cli/src/utils/sandboxUtils.ts:51
      const osReleaseContent = await readFile('/etc/os-release', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1d44c9083997f1b Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:94
  return (process.env['SANDBOX_PORTS'] ?? '')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8c8ed4bac9875bd3 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:107
  if (process.env['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 #3f6750f80d0aba39 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:108
    const paths = process.env['PATH'].split(pathSeparator);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #409296add9301441 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:123
  if (process.env['PYTHONPATH']) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b232836ec6e1cea4 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:124
    const paths = process.env['PYTHONPATH'].split(pathSeparator);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #08e661bbbdaff112 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:151
    process.env['DEBUG'] === 'true' || process.env['DEBUG'] === '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 #efb705485f1ffb34 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:153
    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 #bbc360e6c19af316 Environment-variable access.
repo/packages/cli/src/utils/sandboxUtils.ts:158
        ? `node --inspect-brk=0.0.0.0:${process.env['DEBUG_PORT'] || '9229'} $(which gemini)`

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1e7216413865e4fa Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:85
    await fs.writeFile(
      sessionFile,
      JSON.stringify({
        sessionId: 'test123',
        messages: [],
        startTime: oldDate.toISOString(),
        lastUpdated: oldDate.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 #dabffa365f11036a Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:169
    await fs.writeFile(
      oldSessionFile,
      JSON.stringify({
        sessionId: 'old12345',
        messages: [{ type: 'user', content: 'test message' }],
        startTime: oldDate.toISOString(),
        lastUpdated: oldDate.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 #c32673fa02565391 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:184
    await fs.writeFile(
      recentSessionFile,
      JSON.stringify({
        sessionId: 'recent789',
        messages: [{ type: 'user', content: 'test message' }],
        startTime: recentDate.toISOString(),
        lastUpdated: recentDate.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 #19d3fb9831907bc3 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:199
    await fs.writeFile(
      currentSessionFile,
      JSON.stringify({
        sessionId: 'current123',
        messages: [{ type: 'user', content: 'test message' }],
        startTime: now.toISOString(),
        lastUpdated: now.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 #b641635ad5b0929b Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:282
    await fs.writeFile(
      parentFile,
      JSON.stringify({
        sessionId: parentSessionId,
        messages: [],
        startTime: oldDate.toISOString(),
        lastUpdated: oldDate.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 #053c957103302039 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:297
    await fs.writeFile(
      subagentFile,
      JSON.stringify({
        sessionId: subagentSessionId,
        messages: [],
        startTime: oldDate.toISOString(),
        lastUpdated: oldDate.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 #7724183d641cda99 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:311
    await fs.writeFile(parentLogFile, '{"log": "parent"}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e3d2d288360a746b Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:318
    await fs.writeFile(
      path.join(parentToolOutputsDir, 'some-output.txt'),
      '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 production #a8b32c8c790e7b6b Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:327
    await fs.writeFile(subagentLogFile, '{"log": "subagent"}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4cea9fd00322ee64 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:334
    await fs.writeFile(
      path.join(subagentToolOutputsDir, 'some-output.txt'),
      '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 production #d1e349a6fa4ebe51 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.integration.test.ts:344
    await fs.writeFile(
      currentFile,
      JSON.stringify({
        sessionId: 'current-session',
        messages: [
          {
            type: 'user',
            content: [{ type: 'text', text: 'hello' }],
            timestamp: now.toISOString(),
          },
        ],
        startTime: now.toISOString(),
        lastUpdated: now.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 #3d79cad261a5bb46 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:84
    await fs.writeFile(
      filePath,
      JSON.stringify({
        sessionId: session.id,
        lastUpdated: session.lastUpdated,
        startTime: session.lastUpdated,
        messages: [{ type: 'user', content: '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 production #c5abbff1fc34e6f7 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:97
    await fs.writeFile(
      path.join(logsDir, `session-${sessionId}.jsonl`),
      'log 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 #74d89a7d341c0053 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:104
    await fs.writeFile(
      path.join(sessionOutputDir, 'output.txt'),
      'tool output',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3baf182e4e0131d2 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:291
      await fs.writeFile(
        filePath,
        JSON.stringify(
          {
            sessionId,
            lastUpdated: twoWeeksAgo.toISOString(),
            startTime: twoWeeksAgo.toISOString(),
            messages: [{ type: 'user', content: 'hello legacy' }],
          },
          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 #220af8110d2054a5 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:337
      await fs.writeFile(
        filePath,
        JSON.stringify(metadata) + '\n' + JSON.stringify(message) + '\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 #233aee25fb988c68 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:364
      await fs.writeFile(filePath, 'completely invalid json');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #619a5931af998345 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:495
      await fs.writeFile(corruptPath, 'invalid json');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5dcf673dcea5ede3 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:515
      await fs.writeFile(badJsonPath, 'This is raw text, not JSON');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8ed7c4c81310cfc6 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:532
      await fs.writeFile(
        legacyPath,
        JSON.stringify({
          sessionId: 'legacy-session-id',
          lastUpdated: '2024-12-25T00:00:00.000Z',
          messages: [],
        }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1633436760980606 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:735
      await fs.writeFile(targetFile, JSON.stringify({ sessionId: '../../..' }));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ce559662de2d5d52 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:964
      await fs.writeFile(file1, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #21ac3139c1db5fbe Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.test.ts:967
      await fs.writeFile(file2, '{}');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #40027fb440e01899 Filesystem access.
repo/packages/cli/src/utils/sessionCleanup.ts:206
                  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 #16c6689289343de7 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:54
      await fs.writeFile(
        path.join(
          chatsDir,
          `session-20240101T000000-${sessionId.slice(0, 8)}.jsonl`,
        ),
        JSON.stringify({ sessionId }),
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e6ceb9526e6acf59 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:71
      await fs.writeFile(
        path.join(chatsDir, `session-different-uuid-20240101.jsonl`),
        '{}',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c509390a99e1952f Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:128
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionId1.slice(0, 8)}.json`,
      ),
      JSON.stringify(session1, 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 #b01e85d3675535df Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:136
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T11-00-${sessionId2.slice(0, 8)}.json`,
      ),
      JSON.stringify(session2, 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 #8a119db08cdc99d1 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:194
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionId1.slice(0, 8)}.json`,
      ),
      JSON.stringify(session1, 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 #60b2c168f99bdf42 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:202
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T11-00-${sessionId2.slice(0, 8)}.json`,
      ),
      JSON.stringify(session2, 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 #a3a7259eaf80acdf Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:258
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionId1.slice(0, 8)}.json`,
      ),
      JSON.stringify(session1, 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 #54acc8c7f9a964ba Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:266
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T11-00-${sessionId2.slice(0, 8)}.json`,
      ),
      JSON.stringify(session2, 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 #ce0a2dc87ab2bd9c Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:303
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionId.slice(0, 8)}.json`,
      ),
      JSON.stringify(session, 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 #4355f03a8723cde4 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:357
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionId.slice(0, 8)}.json`,
      ),
      JSON.stringify(sessionOriginal, 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 #3f2e7f2817a19ae6 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:366
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T11-00-${sessionId.slice(0, 8)}.json`,
      ),
      JSON.stringify(sessionDuplicate, 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 #e02722652cd99b8f Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:405
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionId1.slice(0, 8)}.json`,
      ),
      JSON.stringify(session1, 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 #efdd88632e343b5d Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:490
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionIdWithUser.slice(0, 8)}.json`,
      ),
      JSON.stringify(sessionWithUser, 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 #71c5e087bbc019ca Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:498
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T11-00-${sessionIdSystemOnly.slice(0, 8)}.json`,
      ),
      JSON.stringify(sessionSystemOnly, 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 #469f9804802c5763 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:533
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${commandOnlySessionId.slice(0, 8)}.jsonl`,
      ),
      `${JSON.stringify(metadata)}\n${JSON.stringify(commandMessage)}\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 #c89b366621b60446 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:572
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionId.slice(0, 8)}.jsonl`,
      ),
      `${JSON.stringify(metadata)}\n${JSON.stringify(commandMessage)}\n${JSON.stringify(realMessage)}\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 #91cab85b90a90b32 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:611
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${sessionIdGeminiOnly.slice(0, 8)}.json`,
      ),
      JSON.stringify(sessionGeminiOnly, 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 #00621b5c4f54c779 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:669
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${mainSessionId.slice(0, 8)}.json`,
      ),
      JSON.stringify(mainSession, 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 #da619da8620d4443 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:677
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T11-00-${subagentSessionId.slice(0, 8)}.json`,
      ),
      JSON.stringify(subagentSession, 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 #93e0f050dd3c672c Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:716
    await fs.writeFile(filePath, JSON.stringify(session, 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 #2bd7b901d3ca05ce Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:752
    await fs.writeFile(filePath, JSON.stringify(session, 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 #b1db3e4055389ab0 Filesystem access.
repo/packages/cli/src/utils/sessionUtils.test.ts:788
    await fs.writeFile(
      path.join(
        chatsDir,
        `${SESSION_FILE_PREFIX}2024-01-01T10-00-${existingSessionId.slice(0, 8)}.json`,
      ),
      JSON.stringify(session, 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 #e4e23f0e23c17b32 Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:35
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: test-skill\ndescription: test\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #87772a149d549853 Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:56
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: test-skill\ndescription: test\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #95c3a16c495aa25d Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:77
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: test-skill\ndescription: test\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ba252394d5b8fb4f Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:102
      await fs.writeFile(
        path.join(skillDir1, 'SKILL.md'),
        '---\nname: duplicate-skill\ndescription: desc1\n---\nbody1',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6a002f1675b5354e Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:106
      await fs.writeFile(
        path.join(skillDir2, 'SKILL.md'),
        '---\nname: duplicate-skill\ndescription: desc2\n---\nbody2',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b8da0c52b36e97ca Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:153
    await fs.writeFile(
      path.join(skillSubDir, 'SKILL.md'),
      '---\nname: test-skill\ndescription: test\n---\nbody',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bb5fb1c65239ffa6 Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:176
    await fs.writeFile(
      path.join(skillSubDir, 'SKILL.md'),
      '---\nname: test-skill\ndescription: test\n---\nbody',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #880e196414bd5965 Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:206
      await fs.writeFile(
        path.join(skillDir, 'SKILL.md'),
        '---\nname: test-skill\ndescription: test\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a68ab2ce88e2e343 Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:228
      await fs.writeFile(
        skillMdPath,
        '---\nname: original-name\ndescription: test\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eb17c67c06cd5a4a Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:244
      await fs.writeFile(
        skillMdPath,
        '---\nname: updated-name\ndescription: test\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aad8eee634c9facb Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:299
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: ..\ndescription: exploit\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e96ad2508962df8b Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:313
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: ..\ndescription: exploit\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74c77f48c19218aa Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:337
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: /tmp/exploit\ndescription: exploit\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d793cfcd4ec74c8f Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:360
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: " ../../exploit "\ndescription: exploit\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2e8e2c560408b4a0 Filesystem access.
repo/packages/cli/src/utils/skillUtils.test.ts:383
      await fs.writeFile(
        path.join(skillSubDir, 'SKILL.md'),
        '---\nname: ..-foo\ndescription: safe skill name starting with double dots\n---\nbody',
      );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9388ffee564f22ab Filesystem access.
repo/packages/cli/src/utils/startupWarnings.ts:17
    const warningsContent = await fs.readFile(warningsFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #704f3c28776da82a Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:101
      await fs.writeFile(recentFile, 'recent 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 #bd090b78b078d3f1 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:102
      await fs.writeFile(oldFile, '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 production #575fbb452d40c651 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:145
      await fs.writeFile(file1, 'content 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 #30e580f1928f2a59 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:146
      await fs.writeFile(file2, 'content 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 #b9e224ae7c741347 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:147
      await fs.writeFile(file3, 'content 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 production #b3bc587960784885 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:218
      await fs.writeFile(file1, 'content 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 #0ded4812e41d859e Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:219
      await fs.writeFile(file2, 'content 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 #17d7cf859313cb9f Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:220
      await fs.writeFile(file3, 'content 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 production #1734fc312f0bc5b8 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:221
      await fs.writeFile(file4, 'content 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 production #3128772568e43eb5 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:222
      await fs.writeFile(file5, 'content 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 #6ec09933759c78d6 Filesystem access.
repo/packages/cli/src/utils/toolOutputCleanup.test.ts:269
      await fs.writeFile(oldFile, '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 production #754d06972e606017 Environment-variable access.
repo/packages/cli/src/utils/windowTitle.ts:44
  let displayContext = process.env['CLI_TITLE'] || folderName;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1de30014ad7c5d6d Environment-variable access.
repo/packages/cli/src/utils/worktreeSetup.test.ts:82
    expect(process.env['GEMINI_CLI_WORKTREE_HANDLED']).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 production #dd918ec17f7b348e Environment-variable access.
repo/packages/cli/src/utils/worktreeSetup.test.ts:98
    process.env['GEMINI_CLI_WORKTREE_HANDLED'] = '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 #d8e173326217abc5 Environment-variable access.
repo/packages/cli/src/utils/worktreeSetup.ts:24
  if (process.env['GEMINI_CLI_WORKTREE_HANDLED'] === '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 #707acd678a1d2306 Environment-variable access.
repo/packages/cli/src/utils/worktreeSetup.ts:35
    process.env['GEMINI_CLI_WORKTREE_HANDLED'] = '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 #4ae8c8be35d52955 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:45
    originalEnvGeminiApiKey = 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 production #661b8172775f1af4 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:46
    originalEnvVertexAi = 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 production #44d70fd2c6e7f6d9 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:47
    originalEnvGcp = process.env['GOOGLE_GENAI_USE_GCA'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b5c0090121cc4c92 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:48
    delete 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 production #2d3fac41d1d9a9b0 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:49
    delete 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 production #f15e8e2df5d861ec Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:50
    delete process.env['GOOGLE_GENAI_USE_GCA'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b96f6ad6dbfa3670 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:86
      process.env['GEMINI_API_KEY'] = originalEnvGeminiApiKey;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d0c2342c397e9f90 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:88
      delete 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 production #92cdf6a8d9da86fa Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:91
      process.env['GOOGLE_GENAI_USE_VERTEXAI'] = originalEnvVertexAi;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc1846f244e6945d Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:93
      delete 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 production #47e997ae709c9ced Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:96
      process.env['GOOGLE_GENAI_USE_GCA'] = originalEnvGcp;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2900c5e472ca60fa Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:98
      delete process.env['GOOGLE_GENAI_USE_GCA'];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #91b1bd3ccdb4b523 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:132
    process.env['GOOGLE_GENAI_USE_GCA'] = '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 #d8c998f5de5f36d3 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:145
    process.env['GEMINI_API_KEY'] = 'fake-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 #46e49606ab7f2ed4 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:158
    process.env['GOOGLE_GENAI_USE_VERTEXAI'] = '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 #682ffc4c7f416404 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:159
    process.env['GOOGLE_CLOUD_PROJECT'] = 'test-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 production #1f42e83dc36ac1f2 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:160
    process.env['GOOGLE_CLOUD_LOCATION'] = 'us-central1';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f34280434b16ef05 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:173
    process.env['GOOGLE_GENAI_USE_VERTEXAI'] = '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 #fcb6c4db0fe1f6dd Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:174
    process.env['GOOGLE_API_KEY'] = 'vertex-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 #3abf9e4012ebd351 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:187
    process.env['GOOGLE_GENAI_USE_GCA'] = '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 #c61ea06ce6397384 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:188
    process.env['GEMINI_API_KEY'] = 'fake-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 #7e7e7197263d99ca Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:189
    process.env['GOOGLE_GENAI_USE_VERTEXAI'] = '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 #27ff3a5b1cbcbc7c Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:190
    process.env['GOOGLE_CLOUD_PROJECT'] = 'test-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 production #760d6c3f8cc6d70b Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:191
    process.env['GOOGLE_CLOUD_LOCATION'] = 'us-central1';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f9c8010fe078e4b3 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:204
    process.env['GEMINI_API_KEY'] = 'fake-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 #e04dfb7e76680593 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:205
    process.env['GOOGLE_GENAI_USE_VERTEXAI'] = '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 #ca1d05338441db01 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:206
    process.env['GOOGLE_CLOUD_PROJECT'] = 'test-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 production #ad1a92093296c905 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:207
    process.env['GOOGLE_CLOUD_LOCATION'] = 'us-central1';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #304039363fb52e3a Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:220
    process.env['GOOGLE_GENAI_USE_VERTEXAI'] = '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 production #ee019ec63643d65b Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:221
    process.env['GEMINI_API_KEY'] = 'fake-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 #e83f79127c1d67b4 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:222
    process.env['GOOGLE_CLOUD_PROJECT'] = 'test-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 production #284f063ac0b2561d Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:223
    process.env['GOOGLE_CLOUD_LOCATION'] = 'us-central1';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4940b7512ee4e366 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:236
    process.env['GEMINI_API_KEY'] = 'fake-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 #d8f8c3e8f3dced4c Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:299
    process.env['GEMINI_API_KEY'] = 'fake-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 #04d4c0dff19deb9e Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:339
    process.env['GEMINI_API_KEY'] = 'fake-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 #8ec330eeffd9fb89 Environment-variable access.
repo/packages/cli/src/validateNonInterActiveAuth.test.ts:436
      process.env['GEMINI_API_KEY'] = 'fake-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 #e79fc570ac1b44b4 Environment-variable access.
repo/packages/cli/test-setup.ts:17
if (process.env.CI !== 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 #0988a7270c773cfd Environment-variable access.
repo/packages/cli/test-setup.ts:18
  delete process.env.CI;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a441c67809bf9e72 Environment-variable access.
repo/packages/cli/test-setup.ts:27
if (process.env.NO_COLOR !== 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 #6dc3af4acdd27b88 Environment-variable access.
repo/packages/cli/test-setup.ts:28
  delete process.env.NO_COLOR;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4a890c08b3f103a1 Environment-variable access.
repo/packages/cli/test-setup.ts:32
process.env.FORCE_COLOR = '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 production #9d95b1333fac68d6 Environment-variable access.
repo/packages/cli/test-setup.ts:35
process.env.FORCE_GENERIC_KEYBINDING_HINTS = '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 #fa478466bd297688 Environment-variable access.
repo/packages/cli/test-setup.ts:38
process.env.TERM_PROGRAM = 'generic';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7ce35c7413b1d44b Environment-variable access.
repo/packages/cli/test-setup.ts:41
process.env.COLORTERM = 'truecolor';

Reads environment variables or the 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/devtools

npm first-party
expand_more 3 low-confidence finding(s)
low env_fs production #cfbbe0fa2d467fd0 Filesystem access.
repo/packages/devtools/esbuild.client.js:27
const indexHtml = readFileSync('client/index.html', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dba74cad639f834d Filesystem access.
repo/packages/devtools/esbuild.client.js:28
const clientJs = readFileSync('dist/client/main.js', 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #05a46d89136df6b0 Filesystem access.
repo/packages/devtools/esbuild.client.js:30
writeFileSync(
  'src/_client-assets.ts',
  `/**\n * @license\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n// Auto-generated by esbuild.client.js — do not edit\nexport const INDEX_HTML = ${JSON.stringify(indexHtml)};\nexport const CLIENT_JS = ${JSON.stringify(clientJs)};\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.

first-party (npm): packages/sdk

npm first-party
expand_more 6 low-confidence finding(s)
low env_fs production #f44f5ba0db5c666a Filesystem access.
repo/packages/sdk/examples/session-context.ts:30
        fileContent = await context.fs.readFile('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 production #a3cb4f45f1c2ccdd Environment-variable access.
repo/packages/sdk/src/agent.integration.test.ts:16
const RECORD_MODE = process.env['RECORD_NEW_RESPONSES'] === '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 #f947e52ca6e9c906 Filesystem access.
repo/packages/sdk/src/fs.ts:29
      return await fs.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 production #aa5d0033c2a9f00e Filesystem access.
repo/packages/sdk/src/fs.ts:40
    await fs.writeFile(path, 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 #5d44eb76b6c21652 Environment-variable access.
repo/packages/sdk/src/skills.integration.test.ts:17
const RECORD_MODE = process.env['RECORD_NEW_RESPONSES'] === '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 #655cb62e7d36a33a Environment-variable access.
repo/packages/sdk/src/tool.integration.test.ts:18
const RECORD_MODE = process.env['RECORD_NEW_RESPONSES'] === 'true';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (npm): packages/test-utils

npm first-party
expand_more 32 low-confidence finding(s)
low env_fs production #f89badf965abdcd0 Environment-variable access.
repo/packages/test-utils/src/env-setup.ts:18
  process.env['HOME'] = runDir;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5f14ed4252b6eaf6 Environment-variable access.
repo/packages/test-utils/src/env-setup.ts:20
    process.env['USERPROFILE'] = runDir;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #23bfbac44c0c93b7 Environment-variable access.
repo/packages/test-utils/src/env-setup.ts:25
  process.env['GEMINI_CONFIG_DIR'] = join(runDir, '.gemini');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4680cebc7bbc43df Environment-variable access.
repo/packages/test-utils/src/env-setup.ts:28
  process.env['GEMINI_FORCE_FILE_STORAGE'] = '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 #33a75c098954ae9e Environment-variable access.
repo/packages/test-utils/src/env-setup.ts:31
  process.env['GEMINI_CLI_INTEGRATION_TEST'] = '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 #bc6527367e2be214 Environment-variable access.
repo/packages/test-utils/src/env-setup.ts:34
  process.env['TELEMETRY_LOG_FILE'] = join(runDir, 'telemetry.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 #f2221dad5191edcf Filesystem access.
repo/packages/test-utils/src/file-system-test-helpers.ts:62
      await fs.writeFile(newPath, 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 #6ba9469925f5d994 Filesystem access.
repo/packages/test-utils/src/file-system-test-helpers.ts:67
          await fs.writeFile(path.join(newPath, 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 production #dbc56879ea665304 Filesystem access.
repo/packages/test-utils/src/memory-baselines.ts:42
  const content = readFileSync(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 #e3859b6d8b89ed5c Filesystem access.
repo/packages/test-utils/src/memory-baselines.ts:54
  writeFileSync(path, JSON.stringify(baselines, 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 #93536d8cd8862609 Filesystem access.
repo/packages/test-utils/src/perf-test-harness.ts:503
  const content = readFileSync(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 #417757523ab28f4d Filesystem access.
repo/packages/test-utils/src/perf-test-harness.ts:515
  writeFileSync(path, JSON.stringify(baselines, 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 #02337e53ff384c40 Filesystem access.
repo/packages/test-utils/src/test-mcp-server-template.mjs: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 #e5698d17b986766e Filesystem access.
repo/packages/test-utils/src/test-mcp-server-template.mjs:21
const config = JSON.parse(fs.readFileSync(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 #d307765bb6ebcc85 Environment-variable access.
repo/packages/test-utils/src/test-rig.ts:405
      if (process.env['REGENERATE_MODEL_GOLDENS'] !== '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 #c4298bf1a8b06b68 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:496
    writeFileSync(
      join(projectGeminiDir, 'settings.json'),
      JSON.stringify(settings, 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 #d28dcf8e2dd9c984 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:500
    writeFileSync(
      join(userGeminiDir, 'settings.json'),
      JSON.stringify(settings, 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 #1ce62fb62f396d4b Filesystem access.
repo/packages/test-utils/src/test-rig.ts:518
    writeFileSync(
      join(userGeminiDir, 'state.json'),
      JSON.stringify(state, 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 #c114b5586546fc72 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:526
    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 production #1d9b647b83c8d97f Environment-variable access.
repo/packages/test-utils/src/test-rig.ts:563
      if (process.env['REGENERATE_MODEL_GOLDENS'] === '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 #6e50c61ef12ea791 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:581
    writeFileSync(scriptPath, 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 #28377ae6926bec68 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:606
      testConfig = JSON.parse(fs.readFileSync(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 #c649ccd1d59d1173 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:619
    fs.writeFileSync(configFilePath, JSON.stringify(testConfig, 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 #13bd8557183e79aa Filesystem access.
repo/packages/test-utils/src/test-rig.ts:649
        settings = JSON.parse(fs.readFileSync(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 #1ae87327a4c7b012 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:664
      fs.writeFileSync(settingsPath, JSON.stringify(settings, 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 #06e2d7476db4bbbf Filesystem access.
repo/packages/test-utils/src/test-rig.ts:989
    const content = 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 #9521a387f0b6fa94 Environment-variable access.
repo/packages/test-utils/src/test-rig.ts:1039
      process.env['REGENERATE_MODEL_GOLDENS'] === '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 #045ab3794f366207 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:1078
          const content = readFileSync(logFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a865ccc0becd645d Filesystem access.
repo/packages/test-utils/src/test-rig.ts:1340
    const content = readFileSync(logFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f3939226b8ab48d7 Filesystem access.
repo/packages/test-utils/src/test-rig.ts:1380
          const content = readFileSync(logFilePath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b2b07f2d4fa72930 Environment-variable access.
repo/packages/test-utils/src/test-rig.ts:1652
        if (process.env[v] && !envVars[v]) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ace71548d9b9ef8e Environment-variable access.
repo/packages/test-utils/src/test-rig.ts:1653
          envVars[v] = process.env[v]!;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (npm): packages/vscode-ide-companion

npm first-party
expand_more 7 low-confidence finding(s)
low env_fs production #31d1d66e17720d07 Filesystem access.
repo/packages/vscode-ide-companion/scripts/generate-notices.js:44
    const depPackageJsonContent = await fs.readFile(
      depPackageJsonPath,
      'utf-8',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1b60e41de5dd9f24 Filesystem access.
repo/packages/vscode-ide-companion/scripts/generate-notices.js:74
        licenseContent = await fs.readFile(licenseFile, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b826d1ab74b67bd8 Filesystem access.
repo/packages/vscode-ide-companion/scripts/generate-notices.js:140
    const packageJsonContent = await fs.readFile(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 #ee8f9f92f33c4c1c Filesystem access.
repo/packages/vscode-ide-companion/scripts/generate-notices.js:144
    const packageLockJsonContent = await fs.readFile(
      packageLockJsonPath,
      'utf-8',
    );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #008c1edd9fd8f721 Filesystem access.
repo/packages/vscode-ide-companion/scripts/generate-notices.js:182
    await fs.writeFile(noticeFilePath, noticeText);

Reads environment variables or the filesystem — 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 #e32788fae85c238a Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/vscode-ide-companion/src/extension.ts:45
    const response = 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, // Corresponds to ExtensionName
                  value: CLI_IDE_COMPANION_IDENTIFIER,
                },
              ],
            },
          ],
          // See: https://learn.microsoft.com/en-us/azure/devops/extend/gallery/apis/hyper-linking?view=azure-devops
          // 946 = IncludeVersions | IncludeFiles | IncludeCategoryAndTags |
          //       IncludeShortDescription | IncludePublisher | IncludeStatistics
          flags: 946,
        }),
      },
    );

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 #bdbc3c44396bfa33 Filesystem access.
repo/packages/vscode-ide-companion/src/ide-server.ts:91
    await fs.writeFile(portFile, content).then(() => fs.chmod(portFile, 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.

</> Dependencies

winston

npm dependency
medium pii_flow dependency Excluded from app score #d2690632df6e70e4 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/winston/transports/http.js:242 · flow /tmp/closeopen-1vr2qt40/pkgs/npm/[email protected]/lib/winston/transports/http.js:249 → /tmp/closeopen-1vr2qt40/pkgs/npm/[email protected]/lib/winston/transports/http.js:242
    const req = (this.ssl ? https : http).request({
      ...this.options,
      method: 'POST',
      host: this.host,
      port: this.port,
      path: `/${path.replace(/^\//, '')}`,
      headers: headers,
      auth: (auth && auth.username && auth.password) ? (`${auth.username}:${auth.password}`) : '',
      agent: this.agent
    });

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 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #cd37888ebb2f6626 Filesystem access.
pkgs/npm/[email protected]/lib/winston/tail-file.js:10
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 #1c90bcd01cc304a7 Filesystem access.
pkgs/npm/[email protected]/lib/winston/transports/file.js:11
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.

@grpc/grpc-js

npm dependency
expand_more 17 low-confidence finding(s)
low env_fs dependency Excluded from app score #0668b6dc537b92d6 Filesystem access.
pkgs/npm/@[email protected]/src/certificate-provider.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 dependency Excluded from app score #435c0a0af2e7074d Environment-variable access.
pkgs/npm/@[email protected]/src/environment.ts:19
  (process.env.GRPC_NODE_USE_ALTERNATIVE_RESOLVER ?? 'false') === '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 #632d7292b4d20967 Environment-variable access.
pkgs/npm/@[email protected]/src/http_proxy.ts:51
  if (process.env.grpc_proxy) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9bbbf2fde862fef7 Environment-variable access.
pkgs/npm/@[email protected]/src/http_proxy.ts:53
    proxyEnv = process.env.grpc_proxy;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8dc9b50181a8fc52 Environment-variable access.
pkgs/npm/@[email protected]/src/http_proxy.ts:54
  } else if (process.env.https_proxy) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #868dcd2a38f65e95 Environment-variable access.
pkgs/npm/@[email protected]/src/http_proxy.ts:56
    proxyEnv = process.env.https_proxy;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9739497ead532c5e Environment-variable access.
pkgs/npm/@[email protected]/src/http_proxy.ts:57
  } else if (process.env.http_proxy) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5d573582d744b871 Environment-variable access.
pkgs/npm/@[email protected]/src/http_proxy.ts:59
    proxyEnv = process.env.http_proxy;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e76fedacfaa13b1a Environment-variable access.
pkgs/npm/@[email protected]/src/http_proxy.ts:108
  let noProxyStr: string | undefined = process.env.no_grpc_proxy;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #74a29fc9bca34311 Environment-variable access.
pkgs/npm/@[email protected]/src/http_proxy.ts:111
    noProxyStr = process.env.no_proxy;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3d23c3aef97c67dc Environment-variable access.
pkgs/npm/@[email protected]/src/load-balancer-outlier-detection.ts:57
  (process.env.GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION ?? 'true') === '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 #8f44499fc51d6d1e Environment-variable access.
pkgs/npm/@[email protected]/src/logging.ts:39
  process.env.GRPC_NODE_VERBOSITY ?? process.env.GRPC_VERBOSITY ?? '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1c1941cc26df48d9 Environment-variable access.
pkgs/npm/@[email protected]/src/logging.ts:97
  process.env.GRPC_NODE_TRACE ?? process.env.GRPC_TRACE ?? '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #79dd15b8573e54e2 Filesystem access.
pkgs/npm/@[email protected]/src/tls-helpers.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 dependency Excluded from app score #3179ae905fd302a8 Environment-variable access.
pkgs/npm/@[email protected]/src/tls-helpers.ts:21
  process.env.GRPC_SSL_CIPHER_SUITES;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bd7bee109b494c58 Environment-variable access.
pkgs/npm/@[email protected]/src/tls-helpers.ts:23
const DEFAULT_ROOTS_FILE_PATH = process.env.GRPC_DEFAULT_SSL_ROOTS_FILE_PATH;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #69e5192eb740c043 Filesystem access.
pkgs/npm/@[email protected]/src/tls-helpers.ts:30
      defaultRootsData = fs.readFileSync(DEFAULT_ROOTS_FILE_PATH);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

@lydell/node-pty

npm dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #a1269ed57d3e82b8 Environment-variable access.
pkgs/npm/@[email protected]/unixTerminal.js:192
        self._name = process.env.TERM || '';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b3d08cc5bc901157 Filesystem access.
pkgs/npm/@[email protected]/windowsPtyAgent.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.

ansi-escapes

npm dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #affbb004b05496e8 Environment-variable access.
pkgs/npm/[email protected]/base.js:10
const isTerminalApp = !isBrowser && process.env.TERM_PROGRAM === 'Apple_Terminal';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fa77e7dbeeb2e38e Environment-variable access.
pkgs/npm/[email protected]/base.js:12
const isTmux = !isBrowser && (process.env.TERM?.startsWith('screen') || process.env.TERM?.startsWith('tmux') || process.env.TMUX !== 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.

chokidar

npm dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #00f6ea7f3352fdbc 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 #5869bad4fe0a42dc 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.

clipboardy

npm dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #3eb525102f9d19de Environment-variable access.
pkgs/npm/[email protected]/index.js:23
			if (process.env.TERMUX_VERSION === 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.

command-exists

npm dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #74c294237b9e36e5 Filesystem access.
pkgs/npm/[email protected]/lib/command-exists.js:5
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.

dotenv

npm dependency
expand_more 18 low-confidence finding(s)
low env_fs dependency Excluded from app score #e76b478dc3e4e9b0 Environment-variable access.
pkgs/npm/[email protected]/lib/env-options.js:4
if (process.env.DOTENV_CONFIG_ENCODING != 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 #8853e66da23e4f2f Environment-variable access.
pkgs/npm/[email protected]/lib/env-options.js:5
  options.encoding = process.env.DOTENV_CONFIG_ENCODING

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #54e824b186e33d9d Environment-variable access.
pkgs/npm/[email protected]/lib/env-options.js:8
if (process.env.DOTENV_CONFIG_PATH != 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 #cbf8aba3ce04d1a1 Environment-variable access.
pkgs/npm/[email protected]/lib/env-options.js:9
  options.path = process.env.DOTENV_CONFIG_PATH

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #04122cb512aa7e57 Environment-variable access.
pkgs/npm/[email protected]/lib/env-options.js:12
if (process.env.DOTENV_CONFIG_QUIET != 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 #539d425634a71ff7 Environment-variable access.
pkgs/npm/[email protected]/lib/env-options.js:13
  options.quiet = process.env.DOTENV_CONFIG_QUIET

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a6364fffeeb12991 Environment-variable access.
pkgs/npm/[email protected]/lib/env-options.js:16
if (process.env.DOTENV_CONFIG_DEBUG != 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 #06786f051f9d416d Environment-variable access.
pkgs/npm/[email protected]/lib/env-options.js:17
  options.debug = process.env.DOTENV_CONFIG_DEBUG

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e4c0a281094f6bac Environment-variable access.
pkgs/npm/[email protected]/lib/env-options.js:20
if (process.env.DOTENV_CONFIG_OVERRIDE != 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 #0494003763213ef5 Environment-variable access.
pkgs/npm/[email protected]/lib/env-options.js:21
  options.override = process.env.DOTENV_CONFIG_OVERRIDE

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #dd1da242a459c2ac Environment-variable access.
pkgs/npm/[email protected]/lib/env-options.js:24
if (process.env.DOTENV_CONFIG_DOTENV_KEY != 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 #69e2993387f77243 Environment-variable access.
pkgs/npm/[email protected]/lib/env-options.js:25
  options.DOTENV_KEY = process.env.DOTENV_CONFIG_DOTENV_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 #91e7fc187bd4c27a Filesystem access.
pkgs/npm/[email protected]/lib/main.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 #88a2b4d3dc5b01bf Environment-variable access.
pkgs/npm/[email protected]/lib/main.js:152
  if (process.env.DOTENV_KEY && process.env.DOTENV_KEY.length > 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 #5abe376421bd59ae Environment-variable access.
pkgs/npm/[email protected]/lib/main.js:153
    return process.env.DOTENV_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 #fe916ea8ae2da722 Environment-variable access.
pkgs/npm/[email protected]/lib/main.js:232
  const debug = parseBoolean(process.env.DOTENV_CONFIG_DEBUG || (options && options.debug))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c18fe64b1232bab7 Environment-variable access.
pkgs/npm/[email protected]/lib/main.js:233
  const quiet = parseBoolean(process.env.DOTENV_CONFIG_QUIET || (options && options.quiet))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1f845e19c8c0876e Filesystem access.
pkgs/npm/[email protected]/lib/main.js:288
      const parsed = DotenvModule.parse(fs.readFileSync(path, { encoding }))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

execa

npm dependency
expand_more 4 low-confidence finding(s)
low env_fs dependency Excluded from app score #167456bbca7df6df Filesystem access.
pkgs/npm/[email protected]/lib/io/output-sync.js:132
			writeFileSync(path, serializedResult);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c49493126506b200 Filesystem access.
pkgs/npm/[email protected]/lib/stdio/handle-sync.js:41
		fileUrl: ({value}) => ({contents: [bufferToUint8Array(readFileSync(value))]}),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c63420e4b700d818 Filesystem access.
pkgs/npm/[email protected]/lib/stdio/handle-sync.js:42
		filePath: ({value: {file}}) => ({contents: [bufferToUint8Array(readFileSync(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 #a644f8e9f8ef7df1 Filesystem access.
pkgs/npm/[email protected]/lib/stdio/native.js:59
	return {type: 'uint8Array', value: bufferToUint8Array(readFileSync(targetFdNumber)), optionName};

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

extract-zip

npm dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #4fdb2958f79ccfb5 Filesystem access.
pkgs/npm/[email protected]/index.js:3
const { createWriteStream, 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.

fs-extra

npm dependency
expand_more 5 low-confidence finding(s)
low env_fs dependency Excluded from app score #c6a57058e3a459ea Filesystem access.
pkgs/npm/[email protected]/lib/ensure/file.js:24
      await fs.writeFile(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 #6f03a9d4061bd35b Filesystem access.
pkgs/npm/[email protected]/lib/ensure/file.js:32
    await fs.writeFile(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 #fee5a18a902d348f Filesystem access.
pkgs/npm/[email protected]/lib/ensure/file.js:60
  fs.writeFileSync(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 #8f145b8b24118020 Filesystem access.
pkgs/npm/[email protected]/lib/output-file/index.js:16
  return fs.writeFile(file, data, encoding)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f9e146b68d86060a Filesystem access.
pkgs/npm/[email protected]/lib/output-file/index.js:25
  fs.writeFileSync(file, ...args)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

ignore

npm dependency
expand_more 3 low-confidence finding(s)
low env_fs dependency Excluded from app score #848211f221aaa87a Environment-variable access.
pkgs/npm/[email protected]/index.js:752
    process.env && process.env.IGNORE_TEST_WIN32

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4182ab4a464ab6e1 Environment-variable access.
pkgs/npm/[email protected]/index.mjs:752
    process.env && process.env.IGNORE_TEST_WIN32

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #93654a53b3bb0968 Environment-variable access.
pkgs/npm/[email protected]/legacy.js:651
typeof process !== 'undefined' && (process.env && process.env.IGNORE_TEST_WIN32 || process.platform === 'win32')) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

isbinaryfile

npm dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #bf3b11955e28bf4c Filesystem access.
pkgs/npm/[email protected]/lib/index.js:4
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.

js-yaml

npm dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #a6a9c06ef6ff62d4 Filesystem access.
pkgs/npm/[email protected]/bin/js-yaml.js:9
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 #536bfac4f3b75de5 Filesystem access.
pkgs/npm/[email protected]/bin/js-yaml.js:74
    fs.readFile(filename, encoding, callback);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

mime

npm dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #69c83e748dd115d6 Filesystem access.
pkgs/npm/[email protected]/src/mime_cli.ts:17
  const json = await fs.readFile(
    path.join(__dirname, '../../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.

open

npm dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #1dc51fd41c318fac Filesystem access.
pkgs/npm/[email protected]/index.js:52
		const configContent = await fs.readFile(configFilePath, {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 #436ff33789add876 Environment-variable access.
pkgs/npm/[email protected]/index.js:219
			: `${process.env.SYSTEMROOT || process.env.windir || 'C:\\Windows'}\\System32\\WindowsPowerShell\\v1.0\\powershell`;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

puppeteer-core

npm dependency
expand_more 34 low-confidence finding(s)
low env_fs dependency Excluded from app score #0dc1b28e98809b2f Filesystem access.
pkgs/npm/[email protected]/lib/cjs/puppeteer/api/Frame.js:650
                content = await environment_js_1.environment.value.fs.promises.readFile(path, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7967ba18b4fad5ce Filesystem access.
pkgs/npm/[email protected]/lib/cjs/puppeteer/api/Frame.js:689
                content = await environment_js_1.environment.value.fs.promises.readFile(path, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c2bc65477818f20a Filesystem access.
pkgs/npm/[email protected]/lib/cjs/puppeteer/api/Page.js:821
            await environment_js_1.environment.value.fs.promises.writeFile(path, typedArray);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6a88fa4bbadc806d Filesystem access.
pkgs/npm/[email protected]/lib/cjs/puppeteer/common/util.js:177
                await fileHandle.writeFile(value);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3fe917859620eca2 Filesystem access.
pkgs/npm/[email protected]/lib/cjs/puppeteer/environment.d.ts:6
import type 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 #24a7eeb3841530a9 Filesystem access.
pkgs/npm/[email protected]/lib/cjs/puppeteer/node/BrowserLauncher.js:42
const fs_1 = 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 #a61f04a8fb9f0382 Environment-variable access.
pkgs/npm/[email protected]/lib/cjs/puppeteer/node/ChromeLauncher.js:122
        const turnOnExperimentalFeaturesForTesting = process.env['PUPPETEER_TEST_EXPERIMENTAL_CHROME_FEATURES'] === 'true';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #295cc4bfcfedc358 Filesystem access.
pkgs/npm/[email protected]/lib/cjs/puppeteer/node/FirefoxLauncher.js:12
const fs_1 = __importDefault(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 #565b0b67caf17ecc Filesystem access.
pkgs/npm/[email protected]/lib/cjs/puppeteer/node/util/fs.js:13
const fs_1 = __importDefault(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 #f0b0c556d356b080 Filesystem access.
pkgs/npm/[email protected]/lib/cjs/puppeteer/puppeteer-core.js:49
const fs_1 = __importDefault(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 #3e8c1bc44613954a Filesystem access.
pkgs/npm/[email protected]/lib/esm/puppeteer/api/Frame.js:647
                content = await environment.value.fs.promises.readFile(path, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bfee2455fbd07540 Filesystem access.
pkgs/npm/[email protected]/lib/esm/puppeteer/api/Frame.js:686
                content = await environment.value.fs.promises.readFile(path, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #73362d5020af5492 Filesystem access.
pkgs/npm/[email protected]/lib/esm/puppeteer/api/Page.js:817
            await environment.value.fs.promises.writeFile(path, typedArray);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #12b8ebb7a6e51126 Filesystem access.
pkgs/npm/[email protected]/lib/esm/puppeteer/common/util.js:156
                await fileHandle.writeFile(value);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9c641d81425123a9 Filesystem access.
pkgs/npm/[email protected]/lib/esm/puppeteer/environment.d.ts:6
import type 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 #e4f4a7cbf4c55f8c Filesystem access.
pkgs/npm/[email protected]/lib/esm/puppeteer/node/BrowserLauncher.js:6
import { existsSync } 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 #7577d8f3e52940cd Filesystem access.
pkgs/npm/[email protected]/lib/esm/puppeteer/node/ChromeLauncher.js:6
import { mkdtemp } from 'fs/promises';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4197e2f0ba3a7903 Environment-variable access.
pkgs/npm/[email protected]/lib/esm/puppeteer/node/ChromeLauncher.js:114
        const turnOnExperimentalFeaturesForTesting = process.env['PUPPETEER_TEST_EXPERIMENTAL_CHROME_FEATURES'] === 'true';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ff19c6b229e4aca9 Filesystem access.
pkgs/npm/[email protected]/lib/esm/puppeteer/node/FirefoxLauncher.js:6
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 #0b1ab53442910650 Filesystem access.
pkgs/npm/[email protected]/lib/esm/puppeteer/node/FirefoxLauncher.js:7
import { rename, unlink, mkdtemp } from 'fs/promises';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0db9e8dd12b7f2c7 Filesystem access.
pkgs/npm/[email protected]/lib/esm/puppeteer/node/util/fs.js:6
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 #48d7ca84254b291c Filesystem access.
pkgs/npm/[email protected]/lib/esm/puppeteer/puppeteer-core.js:7
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 #b9882722a5202941 Filesystem access.
pkgs/npm/[email protected]/src/api/Frame.ts:904
      content = await environment.value.fs.promises.readFile(path, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ca7ced3469974b5a Filesystem access.
pkgs/npm/[email protected]/src/api/Frame.ts:984
      content = await environment.value.fs.promises.readFile(path, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f913cd0526e1ec59 Filesystem access.
pkgs/npm/[email protected]/src/api/Page.ts:2312
    await environment.value.fs.promises.writeFile(path, typedArray);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f5f74fc83d133c18 Filesystem access.
pkgs/npm/[email protected]/src/common/util.ts:212
        await fileHandle.writeFile(value);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #23b5f1899b176cfe Filesystem access.
pkgs/npm/[email protected]/src/environment.ts:7
import type 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 #935282daa0f91066 Filesystem access.
pkgs/npm/[email protected]/src/node/BrowserLauncher.ts:6
import {existsSync} 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 #84d8b308fd1ed1b9 Filesystem access.
pkgs/npm/[email protected]/src/node/ChromeLauncher.ts:7
import {mkdtemp} from 'fs/promises';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #32d759e655dda998 Environment-variable access.
pkgs/npm/[email protected]/src/node/ChromeLauncher.ts:168
      process.env['PUPPETEER_TEST_EXPERIMENTAL_CHROME_FEATURES'] === 'true';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fbbefeea36c4ab91 Filesystem access.
pkgs/npm/[email protected]/src/node/FirefoxLauncher.ts:7
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 #776b39b6e55f1d95 Filesystem access.
pkgs/npm/[email protected]/src/node/FirefoxLauncher.ts:8
import {rename, unlink, mkdtemp} from 'fs/promises';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #80c8962169664e20 Filesystem access.
pkgs/npm/[email protected]/src/node/util/fs.ts:7
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 #bf3261983c15dc3a Filesystem access.
pkgs/npm/[email protected]/src/puppeteer-core.ts:9
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.

react

npm dependency
expand_more 14 low-confidence finding(s)
low env_fs dependency Excluded from app score #2efd6cbded76ec8c Environment-variable access.
pkgs/npm/[email protected]/cjs/react-compiler-runtime.development.js:12
"production" !== process.env.NODE_ENV &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #02a82988002b1410 Environment-variable access.
pkgs/npm/[email protected]/cjs/react-jsx-dev-runtime.development.js:12
"production" !== process.env.NODE_ENV &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #19cba20e80097195 Environment-variable access.
pkgs/npm/[email protected]/cjs/react-jsx-dev-runtime.react-server.development.js:12
"production" !== process.env.NODE_ENV &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f7156a9343f0d2cf Environment-variable access.
pkgs/npm/[email protected]/cjs/react-jsx-runtime.development.js:12
"production" !== process.env.NODE_ENV &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d52733b8c2dbae86 Environment-variable access.
pkgs/npm/[email protected]/cjs/react-jsx-runtime.react-server.development.js:12
"production" !== process.env.NODE_ENV &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c061c8b595dc8c12 Environment-variable access.
pkgs/npm/[email protected]/cjs/react.development.js:12
"production" !== process.env.NODE_ENV &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d276eca004c04d8b Environment-variable access.
pkgs/npm/[email protected]/cjs/react.react-server.development.js:12
"production" !== process.env.NODE_ENV &&

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #377a603f02caf78e Environment-variable access.
pkgs/npm/[email protected]/compiler-runtime.js:10
if (process.env.NODE_ENV === 'production') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8813665f028602cf Environment-variable access.
pkgs/npm/[email protected]/index.js:3
if (process.env.NODE_ENV === 'production') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2857b2ba8220ed12 Environment-variable access.
pkgs/npm/[email protected]/jsx-dev-runtime.js:3
if (process.env.NODE_ENV === 'production') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7db4c39f628d11c6 Environment-variable access.
pkgs/npm/[email protected]/jsx-dev-runtime.react-server.js:3
if (process.env.NODE_ENV === 'production') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fc287f41919f5030 Environment-variable access.
pkgs/npm/[email protected]/jsx-runtime.js:3
if (process.env.NODE_ENV === 'production') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #616d8b418f1c16d2 Environment-variable access.
pkgs/npm/[email protected]/jsx-runtime.react-server.js:3
if (process.env.NODE_ENV === 'production') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e625dd3634aa8a4e Environment-variable access.
pkgs/npm/[email protected]/react.react-server.js:3
if (process.env.NODE_ENV === 'production') {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

systeminformation

npm dependency
expand_more 27 low-confidence finding(s)
low env_fs dependency Excluded from app score #b1724617c87079a7 Filesystem access.
pkgs/npm/[email protected]/lib/battery.js:17
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 #c1cf3807e52a9da9 Filesystem access.
pkgs/npm/[email protected]/lib/battery.js:103
          const file = fs.readFileSync(acPath);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5901d95e04b198ed Filesystem access.
pkgs/npm/[email protected]/lib/battery.js:108
          fs.readFile(battery_path + 'uevent', function (error, stdout) {
            if (!error) {
              let lines = stdout.toString().split('\n');

              result.isCharging = (util.getValue(lines, 'POWER_SUPPLY_STATUS', '=').toLowerCase() === 'charging');
              result.acConnected = acConnected || result.isCharging;
              result.voltage = parseInt('0' + util.getValue(lines, 'POWER_SUPPLY_VOLTAGE_NOW', '='), 10) / 1000000.0;
              result.capacityUnit = result.voltage ? 'mWh' : 'mAh';
              result.cycleCount = parseInt('0' + util.getValue(lines, 'POWER_SUPPLY_CYCLE_COUNT', '='), 10);
              result.maxCapacity = Math.round(parseInt('0' + util.getValue(lines, 'POWER_SUPPLY_CHARGE_FULL', '=', true, true), 10) / 1000.0 * (result.voltage || 1));
              const desingedMinVoltage = parseInt('0' + util.getValue(lines, 'POWER_SUPPLY_VOLTAGE_MIN_DESIGN', '='), 10) / 1000000.0;
              result.designedCapacity = Math.round(parseInt('0' + util.getValue(lines, 'POWER_SUPPLY_CHARGE_FULL_DESIGN', '=', true, true), 10) / 1000.0 * (desingedMinVoltage || result.voltage || 1));
              result.currentCapacity = Math.round(parseInt('0' + util.getValue(lines, 'POWER_SUPPLY_CHARGE_NOW', '='), 10) / 1000.0 * (result.voltage || 1));
              if (!result.maxCapacity) {
                result.maxCapacity = parseInt('0' + util.getValue(lines, 'POWER_SUPPLY_ENERGY_FULL', '=', true, true), 10) / 1000.0;
                result.designedCapacity = parseInt('0' + util.getValue(lines, 'POWER_SUPPLY_ENERGY_FULL_DESIGN', '=', true, true), 10) / 1000.0 | result.maxCapacity;
                result.currentCapacity = parseInt('0' + util.getValue(lines, 'POWER_SUPPLY_ENERGY_NOW', '='), 10) / 1000.0;
              }
              const percent = util.getValue(lines, 'POWER_SUPPLY_CAPACITY', '=');
              const energy = parseInt('0' + util.getValue(lines, 'POWER_SUPPLY_ENERGY_NOW', '='), 10);
              const power = parseInt('0' + util.getValue(lines, 'POWER_SUPPLY_POWER_NOW', '='), 10);
              const current = parseInt('0' + util.getValue(lines, 'POWER_SUPPLY_CURRENT_NOW', '='), 10);
              const charge = parseInt('0' + util.getValue(lines, 'POWER_SUPPLY_CHARGE_NOW', '='), 10);

              result.percent = parseInt('0' + percent, 10);
              if (result.maxCapacity && result.currentCapacity) {
                result.hasBattery = true;
                if (!percent) {
                  result.percent = 100.0 * result.currentCapacity / result.maxCapacity;
                }
              }
              if (result.isCharging) {
                result.hasBattery = true;
              }
              if (energy && power) {
                result.timeRemaining = Math.floor(energy / power * 60);
              } else if (current && charge) {
                result.timeRemaining = Math.floor(charge / current * 60);
              } else if (current && result.currentCapacity) {
                result.timeRemaining = Math.floor(result.currentCapacity / current * 60);
              }
              result.type = util.getValue(lines, 'POWER_SUPPLY_TECHNOLOGY', '=');
              result.model = util.getValue(lines, 'POWER_SUPPLY_MODEL_NAME', '=');
              result.manufacturer = util.getValue(lines, 'POWER_SUPPLY_MANUFACTURER', '=');
              result.serial = util.getValue(lines, 'POWER_SUPPLY_SERIAL_NUMBER', '=');
              if (callback) { callback(result); }
              resolve(result);
            } else {
              if (callback) { callback(result); }
              resolve(result);
            }
          });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6635cb1895e6c7b9 Filesystem access.
pkgs/npm/[email protected]/lib/bluetooth.js:21
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b46ffb05bcc4ea1a Filesystem access.
pkgs/npm/[email protected]/lib/bluetooth.js:132
            const infoFile = fs.readFileSync(element, { encoding: 'utf8' }).split('\n');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #398f8a121144a6f1 Filesystem access.
pkgs/npm/[email protected]/lib/cpu.js:19
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 #e1f2c44d30daea20 Filesystem access.
pkgs/npm/[email protected]/lib/cpu.js:794
              const linesRiscV = fs.readFileSync('/proc/cpuinfo').toString().split('\n');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #00d1c3109298cc97 Filesystem access.
pkgs/npm/[email protected]/lib/cpu.js:1196
                  fs.readFile('/sys/class/thermal/thermal_zone0/temp', function (error, stdout) {
                    if (!error) {
                      let lines = stdout.toString().split('\n');
                      if (lines.length > 0) {
                        result.main = parseFloat(lines[0]) / 1000.0;
                        result.max = result.main;
                      }
                    }
                    if (callback) { callback(result); }
                    resolve(result);
                  });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d557edc480fa9a3d Filesystem access.
pkgs/npm/[email protected]/lib/cpu.js:1363
              fs.readFile('/proc/cpuinfo', function (error, stdout) {
                if (!error) {
                  let lines = stdout.toString().split('\n');
                  result = util.getValue(lines, 'features', ':', true).toLowerCase();
                }
                if (callback) { callback(result); }
                resolve(result);
              });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c2d7ab508be24b84 Filesystem access.
pkgs/npm/[email protected]/lib/filesystem.js:17
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 #68b1c46029ffb9d6 Filesystem access.
pkgs/npm/[email protected]/lib/filesystem.js:266
        fs.readFile('/proc/sys/fs/file-nr', function (error, stdout) {
          if (!error) {
            let lines = stdout.toString().split('\n');
            if (lines[0]) {
              const parts = lines[0].replace(/\s+/g, ' ').split(' ');
              if (parts.length === 3) {
                result.allocated = parseInt(parts[0], 10);
                result.available = parseInt(parts[1], 10);
                result.max = parseInt(parts[2], 10);
                if (!result.available) { result.available = result.max - result.allocated; }
              }
            }
            if (callback) {
              callback(result);
            }
            resolve(result);
          } else {
            fs.readFile('/proc/sys/fs/file-max', function (error, stdout) {
              if (!error) {
                let lines = stdout.toString().split('\n');
                if (lines[0]) {
                  result.max = parseInt(lines[0], 10);
                }
              }
              if (callback) {
                callback(result);
              }
              resolve(result);
            });
          }
        });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8a25b884ac767478 Filesystem access.
pkgs/npm/[email protected]/lib/filesystem.js:283
            fs.readFile('/proc/sys/fs/file-max', function (error, stdout) {
              if (!error) {
                let lines = stdout.toString().split('\n');
                if (lines[0]) {
                  result.max = parseInt(lines[0], 10);
                }
              }
              if (callback) {
                callback(result);
              }
              resolve(result);
            });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fcb28509543857af Filesystem access.
pkgs/npm/[email protected]/lib/graphics.js:16
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 #2d6f05096e5762c2 Filesystem access.
pkgs/npm/[email protected]/lib/memory.js:20
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 #408e6e25f12dc158 Filesystem access.
pkgs/npm/[email protected]/lib/memory.js:172
          fs.readFile('/proc/meminfo', function (error, stdout) {
            if (!error) {
              const lines = stdout.toString().split('\n');
              result.total = parseInt(util.getValue(lines, 'memtotal'), 10);
              result.total = result.total ? result.total * 1024 : os.totalmem();
              result.free = parseInt(util.getValue(lines, 'memfree'), 10);
              result.free = result.free ? result.free * 1024 : os.freemem();
              result.used = result.total - result.free;

              result.buffers = parseInt(util.getValue(lines, 'buffers'), 10);
              result.buffers = result.buffers ? result.buffers * 1024 : 0;
              result.cached = parseInt(util.getValue(lines, 'cached'), 10);
              result.cached = result.cached ? result.cached * 1024 : 0;
              result.slab = parseInt(util.getValue(lines, 'slab'), 10);
              result.slab = result.slab ? result.slab * 1024 : 0;
              result.buffcache = result.buffers + result.cached + result.slab;

              let available = parseInt(util.getValue(lines, 'memavailable'), 10);
              result.available = available ? available * 1024 : result.free + result.buffcache;
              result.active = result.total - result.available;

              result.swaptotal = parseInt(util.getValue(lines, 'swaptotal'), 10);
              result.swaptotal = result.swaptotal ? result.swaptotal * 1024 : 0;
              result.swapfree = parseInt(util.getValue(lines, 'swapfree'), 10);
              result.swapfree = result.swapfree ? result.swapfree * 1024 : 0;
              result.swapused = result.swaptotal - result.swapfree;
              result.writeback = parseInt(util.getValue(lines, 'writeback'), 10);
              result.writeback = result.writeback ? result.writeback * 1024 : 0;
              result.dirty = parseInt(util.getValue(lines, 'dirty'), 10);
              result.dirty = result.dirty ? result.dirty * 1024 : 0;
            }
            if (callback) { callback(result); }
            resolve(result);
          });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9b304ad7f25a6dc0 Filesystem access.
pkgs/npm/[email protected]/lib/network.js:19
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 #5702c21d8ce80b8c Filesystem access.
pkgs/npm/[email protected]/lib/osinfo.js:17
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 #af07af8370ea2dce Filesystem access.
pkgs/npm/[email protected]/lib/osinfo.js:1228
            const lines = fs.readFileSync('/proc/cpuinfo', { encoding: 'utf8' }).toString().split('\n');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a47978ede656a313 Filesystem access.
pkgs/npm/[email protected]/lib/processes.js:17
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 #d6a1405b80e1c167 Filesystem access.
pkgs/npm/[email protected]/lib/system.js:16
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 #6dfc2f8ddb9b6a3f Filesystem access.
pkgs/npm/[email protected]/lib/system.js:183
            fs.readFile('/proc/cpuinfo', function (error, stdout) {
              if (!error) {
                let lines = stdout.toString().split('\n');
                result.model = util.getValue(lines, 'hardware', ':', true).toUpperCase();
                result.version = util.getValue(lines, 'revision', ':', true).toLowerCase();
                result.serial = util.getValue(lines, 'serial', ':', true);
                const model = util.getValue(lines, 'model:', ':', true);
                // reference values: https://elinux.org/RPi_HardwareHistory
                // https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md
                if (util.isRaspberry(lines)) {
                  const rPIRevision = util.decodePiCpuinfo(lines);
                  result.model = rPIRevision.model;
                  result.version = rPIRevision.revisionCode;
                  result.manufacturer = 'Raspberry Pi Foundation';
                  result.raspberry = {
                    manufacturer: rPIRevision.manufacturer,
                    processor: rPIRevision.processor,
                    type: rPIRevision.type,
                    revision: rPIRevision.revision
                  };
                }
              }
              if (callback) { callback(result); }
              resolve(result);
            });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #df5780c7caff0e80 Filesystem access.
pkgs/npm/[email protected]/lib/util.js:17
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 #219fa43362eba951 Environment-variable access.
pkgs/npm/[email protected]/lib/util.js:38
const WINDIR = process.env.WINDIR || 'C:\\Windows';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e2efbde98fe653d6 Environment-variable access.
pkgs/npm/[email protected]/lib/util.js:380
  return _windows ? `"${process.env.VBOX_INSTALL_PATH || process.env.VBOX_MSI_INSTALL_PATH}\\VBoxManage.exe"` : 'vboxmanage';

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b83f7694574904d4 Filesystem access.
pkgs/npm/[email protected]/lib/util.js:654
      cpuinfo = fs.readFileSync('/proc/cpuinfo', { encoding: 'utf8' }).toString().split('\n');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2786408847480e2e Filesystem access.
pkgs/npm/[email protected]/lib/util.js:669
    osrelease = fs.readFileSync('/etc/os-release', { encoding: 'utf8' }).toString().split('\n');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #41077c243edba84d Filesystem access.
pkgs/npm/[email protected]/lib/util.js:1105
      cpuinfo = fs.readFileSync('/proc/cpuinfo', { encoding: 'utf8' }).toString().split('\n');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

undici

npm dependency
expand_more 10 low-confidence finding(s)
low env_fs dependency Excluded from app score #d96300093185c856 Environment-variable access.
pkgs/npm/[email protected]/lib/core/connect.js:18
if (global.FinalizationRegistry && !(process.env.NODE_V8_COVERAGE || process.env.UNDICI_NO_FG)) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3bc83cb242895420 Environment-variable access.
pkgs/npm/[email protected]/lib/dispatcher/client-h1.js:64
  const llhttpWasmData = process.env.JEST_WORKER_ID ? require('../llhttp/llhttp-wasm.js') : undefined

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8742a7b07a2d4942 Environment-variable access.
pkgs/npm/[email protected]/lib/dispatcher/env-http-proxy-agent.js:26
    const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #2aa30d4d106c17a9 Environment-variable access.
pkgs/npm/[email protected]/lib/dispatcher/env-http-proxy-agent.js:33
    const HTTPS_PROXY = httpsProxy ?? process.env.https_proxy ?? process.env.HTTPS_PROXY

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #690afdc4582bd3b3 Environment-variable access.
pkgs/npm/[email protected]/lib/dispatcher/env-http-proxy-agent.js:147
    return process.env.no_proxy ?? process.env.NO_PROXY ?? ''

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c77e1d34263d594f Environment-variable access.
pkgs/npm/[email protected]/lib/mock/pending-interceptors-formatter.js:23
        colors: !disableColors && !process.env.CI

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cbdef80a848d0aa2 Environment-variable access.
pkgs/npm/[email protected]/lib/web/fetch/dispatcher-weakref.js:38
  if (process.env.NODE_V8_COVERAGE && process.version.startsWith('v18')) {

Reads environment variables or the filesystem — an inventory-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 #5ddc261c8c17eec9 Filesystem access.
pkgs/npm/[email protected]/scripts/strip-comments.js:7
  ? transcode(readFileSync('./undici-fetch.js'), 'utf8', 'latin1')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #58674e09fe68b915 Filesystem access.
pkgs/npm/[email protected]/scripts/strip-comments.js:8
  : readFileSync('./undici-fetch.js')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #d2a0151d15d11a4e Filesystem access.
pkgs/npm/[email protected]/scripts/strip-comments.js:10
writeFileSync('./undici-fetch.js', buffer.toString('latin1'))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

web-tree-sitter

npm dependency
expand_more 20 low-confidence finding(s)
low env_fs dependency Excluded from app score #22b2a33ef46cadbe Filesystem access.
pkgs/npm/[email protected]/debug/tree-sitter.cjs:83
          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 #11872822267d0032 Filesystem access.
pkgs/npm/[email protected]/debug/tree-sitter.cjs:88
            var ret = fs.readFileSync(filename);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9f099e4e015f450a Filesystem access.
pkgs/npm/[email protected]/debug/tree-sitter.cjs:94
            var ret = fs.readFileSync(filename, binary2 ? void 0 : "utf8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e84ad638ec8e0576 Filesystem access.
pkgs/npm/[email protected]/debug/tree-sitter.cjs:4287
        bytes = fs2.readFile(input);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5a398e514a7d7172 Filesystem access.
pkgs/npm/[email protected]/debug/tree-sitter.js:2035
        bytes = fs2.readFile(input);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e56f19d5f1444b5f Filesystem access.
pkgs/npm/[email protected]/debug/tree-sitter.js:2109
      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 #a79fe688650ae063 Filesystem access.
pkgs/npm/[email protected]/debug/tree-sitter.js:2116
        var ret = fs.readFileSync(filename);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #13834d42bbe7d07f Filesystem access.
pkgs/npm/[email protected]/debug/tree-sitter.js:2122
        var ret = fs.readFileSync(filename, binary2 ? void 0 : "utf8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b7a5cd8aa111c374 Filesystem access.
pkgs/npm/[email protected]/lib/tree-sitter.cjs:98
  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 #83c6e0cee35f27b8 Filesystem access.
pkgs/npm/[email protected]/lib/tree-sitter.cjs:105
    var ret = fs.readFileSync(filename);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #78cd5d7e031e1466 Filesystem access.
pkgs/npm/[email protected]/lib/tree-sitter.cjs:112
    var ret = fs.readFileSync(filename, binary ? undefined : "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 #1a1a228155b71b87 Filesystem access.
pkgs/npm/[email protected]/src/language.ts:265
        bytes = fs.readFile(input);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #13ef65f76c1dbb02 Filesystem access.
pkgs/npm/[email protected]/tree-sitter.cjs:75
          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 #960975ce05884d59 Filesystem access.
pkgs/npm/[email protected]/tree-sitter.cjs:80
            var ret = fs.readFileSync(filename);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #dd62e6a3a7ddcdc1 Filesystem access.
pkgs/npm/[email protected]/tree-sitter.cjs:85
            var ret = fs.readFileSync(filename, binary2 ? void 0 : "utf8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5c9bda6358734f48 Filesystem access.
pkgs/npm/[email protected]/tree-sitter.cjs:3760
        bytes = fs2.readFile(input);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b0c6aa406e5e422a Filesystem access.
pkgs/npm/[email protected]/tree-sitter.js:2035
        bytes = fs2.readFile(input);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6ce508ca31b81adb Filesystem access.
pkgs/npm/[email protected]/tree-sitter.js:2101
      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 #a4ee1dd55d0d228d Filesystem access.
pkgs/npm/[email protected]/tree-sitter.js:2108
        var ret = fs.readFileSync(filename);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #63e8838f7fc9faa9 Filesystem access.
pkgs/npm/[email protected]/tree-sitter.js:2113
        var ret = fs.readFileSync(filename, binary2 ? void 0 : "utf8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

ws

npm dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #77526fb51c09e91a Environment-variable access.
pkgs/npm/[email protected]/lib/buffer-util.js:115
if (!process.env.WS_NO_BUFFER_UTIL) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #1103b114d7f23755 Environment-variable access.
pkgs/npm/[email protected]/lib/validation.js:120
} /* istanbul ignore else  */ else if (!process.env.WS_NO_UTF_8_VALIDATE) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

zod-to-json-schema

npm dependency
expand_more 6 low-confidence finding(s)
low env_fs dependency Excluded from app score #25892dbc05f2daa9 Filesystem access.
pkgs/npm/[email protected]/createIndex.ts:1
import { readdirSync, writeFileSync, statSync } 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 #7dde920ca1b0213e Filesystem access.
pkgs/npm/[email protected]/createIndex.ts:32
writeFileSync("./src/index.ts", lines.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 dependency Excluded from app score #26ebafb4b22b845b Filesystem access.
pkgs/npm/[email protected]/postcjs.ts:1
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 #5d9360855502a96e Filesystem access.
pkgs/npm/[email protected]/postcjs.ts:3
writeFileSync("./dist/cjs/package.json", '{"type":"commonjs"}', "utf-8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #18ebdb439bd8d800 Filesystem access.
pkgs/npm/[email protected]/postesm.ts:1
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 #aa764aaf8912033b Filesystem access.
pkgs/npm/[email protected]/postesm.ts:3
writeFileSync("./dist/esm/package.json", '{"type":"module","main":"index.js"}', "utf-8");

Reads environment variables or the 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

  • @a2a-js/sdk prod — dist-only: no readable source
  • @bufbuild/protobuf prod — dist-only: no readable source
  • @google/genai prod — dist-only: no readable source
  • fdir prod — dist-only: no readable source
  • fzf prod — dist-only: no readable source
  • http-proxy-agent prod — dist-only: no readable source
  • https-proxy-agent prod — dist-only: no readable source
  • @google/gemini-cli-core prod — dist-only: no readable source
  • tar prod — dist-only: no readable source
  • ink-gradient prod — dist-only: no readable source