Close Open Privacy Scan

bolt Snapshot: commit f354eeb
science engine v3
schedule 2026-07-13T03:11:58.808470+00:00

verified_user Application data leak confirmed

High-confidence data exfiltration identified in application code.

App Privacy Score

22 /100
High privacy risk — application leak confirmed

High risk · 4764 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 4757 low
First-party packages: 8
Dependency packages: 24
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 #ae2b74877b72b9d5 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-r2ofuorh/repo/packages/a2a-server/src/http/app.ts:228 → /tmp/closeopen-r2ofuorh/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 #aa133aee73c2dbb1 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-r2ofuorh/repo/packages/a2a-server/src/http/app.ts:228 → /tmp/closeopen-r2ofuorh/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 #77b878f6af86d9fb 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-r2ofuorh/repo/packages/core/src/utils/oauth-flow.ts:472 → /tmp/closeopen-r2ofuorh/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 2471 low-confidence finding(s)
low env_fs production #2ceb1a3413554b1d 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 #9f6edbce0ea9a4a9 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 #0e8211642e7c4df4 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 #7bc2162d6645f239 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 #bb2175c901f76b77 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 #33d22cd48d5ff2b6 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 #ac6d01f794c7b4c1 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 #6a744be1b2495c57 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 #c1c50bb514b98b23 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 #d8746b7393ab2bef 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 #9705d2f2c4f20741 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 #2ad76c0abf9fe8be 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 #fce36be4af86e86f 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 #29ff8877745f11ec 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 #035d1671b530e836 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 #f8a5723bb5e6bc21 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 #06a26daf8c2b478f 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 #c71937439992b9a4 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 #f7c294e0d548d271 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 #2b4c9c2b83647af4 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 #9321f71c96c32932 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 #31ac3dd0d9f5bb5b 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 #0c6e70995b685613 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 #81de13d7718b38cd 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 #1420ece2f4e072fb 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 #2002c67df8989716 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 #8edfbbe8f79b9297 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 #a370e674f8d47db6 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 #a4ffe1d1d5060617 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 #fe8fc87447c118ed 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 #f312ee558f8f2013 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 #0536a31da733b60b 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 #ae678139dbb71f20 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 #20a1b929b54acf2c 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 #cd4dd3e120f35e2d 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 #85862c7e098a9256 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 #ea407dea5d089e82 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 #96c452cfcfbb91ad 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 #2ffefe88bcd06b69 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 #3a4511d6e14b3373 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 #2af13a9a7778cf28 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 #1c892ee126708376 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 #6712ee5c74d5b824 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 #6e8ce4b53b51295d 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 #7fdf3238c9d09d71 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 #7c5bad52b6d6de55 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 #d52043b78de5f70b 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 #85e6b3b2b52b2e27 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 #1f82853fadc6fe11 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 #d454aa3b525ae1ab 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 #c2dd6ae16fd737fd 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 #a74bb2f1a41678b9 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 #f2d397930f4b96ca 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 #18791c59f9829ee9 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 #f75f8553418731f6 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 #37efe9a5bc3bc1e4 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 #a775a353280b234d 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 #b16e71d8ffb888b2 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 #338d0eac3bc3dc5a 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 #a2b186b99ce18ba2 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 #a12aaaf868bd127b 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 #247f2ede2a8b2e75 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 #97ae8a8a1e552483 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 #430e0f37a5daac2a 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 #9be4af6b5e30c149 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 #f199239c758a66cb 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 #7b553742b04cacfb 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 #40c1c7b9a968e148 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 #2ccabb65b0b142e7 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 #8e063907a74611e1 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 #abc1bd504b00a238 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 #6b87ae855c48e7fd 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 #9f477a0def2af35c 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 #91f541ba5caacb2c 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 #9b142915ab0fb153 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 #44f01e1d5bd63135 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 #6036527fe9c56e48 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 #edb57377a379335c 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 #fbde28b5cc5fa003 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 #d800261b779acbdc 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 #44ec20e1acfc62f4 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 #8e93a26457bb17a9 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 #3ea61de5782fa186 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 #71ad670558d63dfb 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 #cb1d7bc971ea6643 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 #7cd05ec33a207b42 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 #0d853967e717ec80 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 #84a6a1a87abb2147 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 #bf61a18701ad714f 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 #69b59f50198c0321 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 #217d70eaa4ba9792 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 #90255ef0f4de8d5c 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 #8276f4b82b8dbf89 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 #e1c81c9cb753a327 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 #e4e6352b9e94c670 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 #624a40062fd68124 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 #6ba4fd6f3fd3c3ff 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 #abd0ca1bcabfaa46 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 #cb2ad75b60a62279 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 #55d2760a4c485c34 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 #5f985237a0d98288 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 #faeecd5d7ed173b3 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 #d3e06edec7a7f4a2 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 #73e134df869ccfdb 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 #b4a05fc7f4f8a2d0 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 #7d36a6d1cdca7f86 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 #32ffac8c5efc8138 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 #8fd1e3baa2b91020 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 #6a931513679c35ce 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 #dd355b42507e9c3b 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 #8acadf3bb7182d82 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 #c5cc63c3a97fb292 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 #28b79827af171545 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 #8283600433cd0b4a 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 #5f0bf57550cc392f 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 #7fafa6cbb99f73ca 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 #ed4043266d50ba4a 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 #c295693177999450 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 #3e514306f7b84d1c 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 #1a02e40dcb181778 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 #4c45f287a74ba06d 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 #5bc867cb59b20151 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 #64e7d011e27a9eda 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 #df05e04434f91114 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 #438c659acabb9932 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 #35e679640cce7b5b 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 #4df538dde3e75338 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 #f4c5d1bf0b48b862 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 #1fe23a4bef24c205 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 #02372dec4294a7dc 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 #7b9629317bb500f8 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 #f988c36d6424a6ca 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 #33071635395eccba 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 #da5f93f3cf90aaf2 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 #d70de366fbbf68bf 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 #91ed59aabc0efa91 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 #61f4c18a7b322ab7 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 #5f78cbe94c7c3d61 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 #5dc1fb7e902b3d76 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 #da0c2892b39ff639 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 #176d81aed2f25667 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 #c7fc7ab64803b606 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 #44b92c12415b843e 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 #e08f7771e4776c57 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 #611a88fbae9ac887 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 #1ea2003590c20edc 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 #8689520213fb774c 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 #0fb42a221704cd85 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 #a334b9eef8d7134b 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 #7b98ced6f351aa6f 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 #0fc2b44848b1a1aa 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 #a882c65cea938067 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 #0a61416ebf98fbb7 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 #3f95e9a9166254cf 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 #e0e73e7f849fd676 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 #80ed5b41377176ac 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 #e6c85791901f7c36 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 #0c5c435daf1c73fa 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 #35d620322653739b 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 #a37f0a667cb30d91 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 #847654063c125741 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 #8f16b2276fecad64 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 #ef18777c6644a9c4 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 #a70feeb0c4893cfb 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 #6d58082981a8fe41 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 #fdd6f064202b8064 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 #07ccb9d92598e7b8 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 #39d6dee247220c9b 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 #5c15ee392545601b 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 #afce9a6d2fd43935 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 #23a3bb484b8120b9 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 #240c442515c056ea 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 #5190b9e447a87c43 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 #229995256cfa6ca5 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 #571b0fe4b3b8d468 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 #df073c4ac5d9db23 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 #7e14b8107b0d3993 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 #f72ae1131f32d51b 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 #4d7cf77e814ba9a0 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 #a098acdbfc7bb511 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 #0f61af6270b81507 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 #ba9d1bc01e5f544d 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 #9f980b415503f728 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 #cefc430e6b247e31 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 #e0d4476011bbec68 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 #a16f65228ab54951 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 #8f8111b1186e459e 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 #783019f3893356cc 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 #7a59f397e72f551a 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 #d9cfd17a178525c8 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 #c838106bfa1dee4d 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 #bd64b40e77892d16 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 #7dcb112a8365e326 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 #52f356c761945da7 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 #28dfbfc43ce1cbb9 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 #360f7a5e9a2b3297 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 #c3e3afd09c27ea73 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 #71d07525972eeb33 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 #3fd71cf4edef35d9 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 #8b4b633a6901ecc4 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 #249ffb66bd6fab80 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 #a2d83d5df40ed76f 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 #2e99b15b50ecd360 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 #1a16dbc09eb99cd9 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 #8e771bf073666b96 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 #6aa24cec70717064 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 #54a6bb4593e7d01a 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 #94fa4226c47a9fcb 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 #8db03e804fa94455 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 #df3c642ff17d8569 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 #5c45f21e26e0dc59 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 #a1e3a1959e70526b 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 #e730b22fa7f22aa6 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 #f1e2d2b8734c887a 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 #18b6042f7ae66fe5 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 #fd195a298ce4c588 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 #9199c79a6f6d850e 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 #c39bb3982ae477b3 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 #6cdf994e07a86188 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 #91b37b15ab9ac918 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 #e1537d9379989b8e 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 #9b4c64a4aed48d74 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 #2d4b41a17151504e 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 #fa83be89a383ff78 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 #0ab23cf698fd47f9 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 #6e16a1fa629cf110 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 #4c6ab806a5bae041 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 #3bb589e479f5d3e0 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 #c401031edefc9278 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 #5fe05dcea3f62486 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 #1897193889774bf0 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 #4d31f59ffeaf59fa 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 #4c7c8f2be9422178 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 #4dff878b1b7722dc 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 #be1191e83db3d83e 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 #0684bf544c5f4f3b 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 #6e8518190a3e6683 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 #aec2e7c79fea097c 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 #1325f775b49b62c0 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 #f0e5737ac0b976ee 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 #7798ad1686dd7756 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 #4be55220ad48d564 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 #1f32b1a5de8aeba5 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 #9649870ff8324a1e 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 #77b924dcbafc12d1 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 #b5f17006b951dfc1 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 #939f94eb42bf1900 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 #bbce0315bc2e2754 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 #c5c11ced52968153 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 #d9dab27a6a0f4ddd 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 #ac5d881f0114621d 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 #78478f5540899dd1 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 #bb224be6177576dd 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 #c13fdb341822982e 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 #fdebba8442219d28 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 #0ad9b3ccbf989176 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 #0070a8755a42346f 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 #18327aaf5fd0cc19 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 #b0d834fac05cd270 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 #387506c7908809c7 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 #19bfcfe4f724220a 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 #a16ca22ea1ce32f4 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 #685b5f2be46cce2c 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 #06bbb7c689403fad 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 #b6bdc21922b54d0e 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 #a9c8174d3e9ff2b9 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 #55ad11f72237a9d3 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 #dc286c350b28d1c6 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 #ed259f0a45f9ec5d 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 #f37eb2bb0a4f017d 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 #3279b4955a9fd48e 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 #173ece7ca4c9ec0c 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 #9172606ef9b55c4d 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 #5e59cbfdb97730ce 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 #7715827b7307c60a 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 #00c54c4e951f2165 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 #bbf1ee68e104b178 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 #7b627233f3212e42 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 #70063ad0e9ec3de2 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 #f74b130672e90e9e 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 #1bb66171338ec54b 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 #98d4fb6316586f1f 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 #418f3e6d09d70c9b 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 #1acdfa2b4fa5cebb 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 #50d0989d7315d1b0 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 #b4a008136f884ab8 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 #cc2a407dec3fa208 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 #6029519c30362f4e 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 #2d9dfd4aca7334d0 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 #e8b2a85798cac6dc 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 #716dcc6f8bbcff36 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 #b49aa9aafa1f603b 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 #664857ba1a7582f5 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 #526dd3ae8198a0d4 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 #663278c72ff88643 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 #b193a66aeb91caca 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 #dd3bf5932f4cdb20 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 #7b2ff8be490c1251 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 #f9bc9dd6dbc566e9 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 #eb9c7548dd2b867b 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 #24bab5ecb95ca64d 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 #5bb72a2ce4d63f75 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 #aaab6d339e3e3271 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 #f244ebdee1552b3d 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 #20bc215547aa1f53 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 #5591f4c1db6c0375 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 #ae5d630375cf8b1b 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 #d8e8da21edc241c2 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 #80cc048166ba2d9e 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 #be196c305bc54919 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 #0374c7ef7defafb3 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 #68148519a7bcad38 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 #111f003a99c94883 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 #2f631042522837e6 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 #6a46fa9626ec547c 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 #e1e3ced24b2f491c 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 #5bb31ce2fdb101d1 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 #43aa9029ace2e696 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 #7ce856573d50ba7b 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 #63a952664dcf2a65 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 #9a35d623e981ed65 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 #601ce12fd5959ae2 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 #d55332995a51b173 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 #45468d8c67b20593 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 #13cad38b1cd65654 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 #71d2afc286a72712 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 #153df7f7bf2f42c5 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 #dc72fc2a1b6e92ad 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 #5e84276dc5880290 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 #0e8928301acf3122 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 #88879be759fccd01 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 #981a12a01c949f9c 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 #4d06d48b143daeca 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 #22cb2485ea14e503 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 #a7441e9846d9491b 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 #55c378fe4b980cd0 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 #98e00c3c2ac0302f 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 #7a08dcf47e692ae7 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 #3056546afeb3715c 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 #65106027acd812aa 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 #032a1fd66fd75fb5 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 #aeebe6c11c7aaeb7 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 #821c5baa99441317 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 #236d57e9ecf23a10 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 #8422bf845e3912b1 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 #2c3a1f2e59e6c333 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 #9ea449ccda1f96a9 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 #845881794ab8ef55 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 #284d7969cd86d5e1 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 #be185f12b54eaa26 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 #07f5d088ee04f72d 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 #e735bed37356c1f0 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 #3d16cb2e3a9d2045 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 #bf460a8d56f03435 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 #d62f0a5af2e894a4 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 #3ac1722776fb46a6 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 #676b41dac82ea306 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 #6798d74df6d5f006 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 #a2588c9123588cdc 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 #a3c3e1d63e789c81 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 #ca2312f849c0ce0e 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 #5bc4465c2cb5bc36 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 #212d391c18dc7d93 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 #c5c0d69bc69f45d0 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 #df930b2d6484023d 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 #91389cdaf87b7ded 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 #0ff22b39a8de0537 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 #12f3b8cf3c5a27bc 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 #89d2b7735b6dcf01 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 #0b7fe13d37c2d492 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 #a7fd888c2ef57a13 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 #12859e184e9063b7 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 #0820617110ef54d5 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 #6353289cc5e845b9 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 #444d8ac5087ff03c 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 #53dbc6802d25c1f9 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 #383fddbf091b3cc2 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 #15ffe93c253b757a 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 #4788b3bfedfdaa7b 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 #a84f40a9313bdf12 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 #e45320955cecd9bc 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 #73e3a30833690e60 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 #712619099e40091a 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 #1c152eb21ed27bfb 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 #aa651b4c7f7c692d 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 #b95ac93d0397724f 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 #1987eeef94ee1e7c 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 #05baaa9bc9409a7d 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 #bb67dece90f076d7 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 #bbc6b89e1ead2472 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 #d5efd82d49a92661 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 #a74940ae718af2d9 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 #ac2170571117342f 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 #a74ab530bb91ba2f 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 #defd4a9ebf425c3d 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 #c7587df9d5f2e9c5 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 #704f068045699e40 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 #6da530143d3c0687 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 #7904249c3a81ab24 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 #4cb11ba32c70ac00 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 #5ca8358209cd3c11 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 #823b933ac649e2ed 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 #b8fe8b5f1b6d1052 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 #fb5befc3e37c4e1d 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 #e910e445fb7fe946 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 #db70f8796cf88251 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 #1279954c11ef4982 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 #91f0035a136794e4 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 #6e8fe9d68036960d 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 #a4094f22f53f1ae1 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 #83eda80b2a503ccb 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 #7645710aac2979c9 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 #3b62e6e6eac5ab51 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 #8ffedd5f98d965fa 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 #f1894a3fcb08bb83 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 #c80777cf34c11fdf 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 #f0fe573c5d236eaa 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 #4bd7ae881c4a7e07 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 #826bee54fa1343d4 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 #c1af80172ffae129 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 #09f641168b61ee25 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 #c98859da56042884 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 #cd624586ddf558b7 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 #9e7bdaa415a47dde 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 #9b8285947459a3d9 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 #4f85685239ddfe32 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 #586a6c8218ccdea1 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 #3f574f04e806d2a9 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 #5fd30b957c7c5d80 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 #7fb13c222dd9156b 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 #11e62aefbcedb46c 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 #27953490ddebbe4f 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 #96f954abf2dfb203 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 #91442fb71f7d7e15 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 #1debf0bff78e8bd1 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 #901fd7dd280895b0 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 #507176535a80bef8 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 #1c99cd12f795ff2f 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 #456fe48781f599c0 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 #4a1b5230d535d78c 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 #586c68a2f3743ccb 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 #ed30c6680aaca314 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 #10d5a5833d616937 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 #cc3e46d562fd7f5a 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 #bc91c16c52cca731 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 #9b9509bf766e1fb7 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 #8cefafc5b0d29c90 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 #4bb419ec974557d7 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 #1a4a0cec409daaa8 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 #b30bccedead6be69 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 #40f93adae694c3bb 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 #758f4583b3c6356c 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 #d611f2c8a2cec518 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 #ba97531b33e23641 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 #6c9afdda5915eb5f 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 #dd48de220c49c0b5 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 #984ee42040316751 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 #048535c05c9e9418 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 #30d31436dee547a8 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 #4235f3e0ef16f4cc 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 #ab7c0f4b3553acf4 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 #f8f5bcac5a6882a5 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 #fa2bb53dfbee0b47 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 #a32d5249f48d16f8 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 #efaed4792b8654d6 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 #a5cb20383f280cf6 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 #eedb676950e5ae13 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 #59bec70df9987ad8 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 #0e51e179d628f021 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 #f76e908f2d7b187f 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 #6e60b37862251f57 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 #1a835940d01638dd 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 #8469166913b5a4f1 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 #18bb2bad11ea3ada 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 #4a7fb9cd311ea5fc 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 #d62cfc2b455eb64d 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 #09d51630b02081c9 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 #ece4600b888752ce 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 #e49110c6b26ea804 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 #cc05ef31a718160b 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 #99ca576b5a799ae8 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 #3ce8086c8f78f9f3 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 #13d6cd393ca1dc6f 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 #9126b2c5714cfb7d 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 #25a1bbe1cae82bcd 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 #a5f17383324ba8fe 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 #de7819f257d67750 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 #924b6c8bc5a6d269 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 #10076e5be55c7038 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 #f8dbb1c78fccdcf3 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 #a59d1f03f5f13a43 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 #a57db1d1d871d572 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 #a70e7f97e34a0633 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 #5429c41d7cc11b88 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 #65f71028a9f7af84 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 #08dd15a812bc50e1 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 #0dd90003d3d05ca0 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 #0c3454fdac41384b 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 #9c394661ad52669f 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 #5f327939acaca6c9 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 #ebc54bb17bff5d92 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 #7c238b8828defd7d 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 #89a58836b80a09bc 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 #1ea37f48c2f4b1ea 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 #2056d58d323ecef3 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 #c05f4830e13d9794 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 #22419e295f38fa35 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 #3fe7ef74696da92c 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 #0c25610b9fb8159e 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 #ca64366e34dbb84c 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 #08a92ebab0a3c694 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 #25eadca78c19e49b 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 #2bb5a97418b80b99 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 #2f8b8b68c1a3ba17 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 #503a385fd1d68470 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 #2062bf7504f9439a 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 #06fce731b1f983b2 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 #b4ba2d78e2c5020c 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 #c8449b0ebf47fb9f 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 #8e8c57e3326d19e1 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 #2f719920cb94b9fa 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 #b57f44052d3c3fa2 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 #88dc304500975bea 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 #f947d4c4dc1404b7 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 #c5912ff09a0f3168 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 #0a56c5d73a39600c 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 #f2956acac70639cb 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 #1409f13a989670e0 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 #a12b9ca1a2cb45d5 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 #a70f5e4d78c7851e 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 #3b09703aba551d62 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 #12adf950f9fbdfd0 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 #38ea092bd72f2912 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 #339207d2de3cdef6 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 #bbd7a2ab847570f2 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 #abe4bacfcdf4acd6 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 #a540a9a8a9981d92 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 #27cc7cd2cbfdeea9 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 #a75258dec40df0db 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 #ceb33c29ed58c59f 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 #871314945d455ecc 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 #42f95d592413ab2b 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 #9855e0cc29739af3 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 #5eb3234d817584a4 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 #624b3c9955f5f62d 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 #b0e2bfc94a0b9f9e 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 #084f805a2aa415f8 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 #f4b2378ed36a0d8a 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 #8e479b9eed9c2e62 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 #5a9d95840a0f826a 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 #0bfe95629fd642ef 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 #3f96e8da481fb973 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 #9a189aefe2c2da71 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 #7c92840bb8a90e79 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 #943ef734f1d8b6cb 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 #71f7273e6afd9abf 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 #b3d5ce30a53ee7f6 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 #a487f437eda7cb1a 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 #b9eba400a6b027d5 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 #80b72715ea67e6b3 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 #f436363a63cc8e2e 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 #a26cbeae0fd80bd6 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 #39366c4921c20991 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 #6fa20fd65e5a0f9b 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 #8c1460f35b4bede3 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 #bd7cf6836a6f4ae3 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 #a0866b93b6615465 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 #e4ec477bbad62558 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 #27a66fda6608bf21 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 #43034ad3ce58a351 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 #cac1fea9d2150b1e 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 #0c7a6f034032259d 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 #4a8465af7eccc439 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 #4b64f55417eebda5 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 #9ef77042503828b1 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 #f7cf9a821cf2b37c 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 #0a9411d1395f6ded 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 #831619f1051d0108 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 #072322ecdbc87727 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 #4351d7e46c622a2b 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 #e0c347d8c7d17b0e 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 #d2ba6872f5429249 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 #2d81ac8db57e3a63 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 #a73da4fedecea083 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 #5a2c0a6eb2038397 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 #02ec4bdee1a36a5e 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 #eed20202a83eec71 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 #2184f39a4a471616 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 #04128ca3be7f3f86 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 #5ab6daf0bede1b03 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 #0da13d728e7f8d25 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 #d624130969b42854 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 #6e5764c4322cc941 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 #95aeb4b31859be32 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 #a73706de8ee8cc73 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 #0bc0f99a576700c8 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 #e54e94b1be59515f 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 #7a37f8392c9e2a2c 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 #e60103298e12015b 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 #3d5de8eb317c69ed 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 #a314569cef3dff38 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 #82f8364579431c24 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 #7930d89447cb26a8 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 #9b5b9111d0396121 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 #6dcf12bc5a7813d0 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 #0c447ce44ac0edaf 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 #ed527fa52af79743 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 #c74b2b2d0c6da514 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 #be8d50c97a5f32ed 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 #00374cd177200475 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 #85ce3ae5db79472b 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 #df1606529f1ed913 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 #fc60170cc4321f95 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 #49e4307321a20eac 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 #d5820c1c71240326 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 #3ff0783e078ab2ec 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 #9e346df54d1b906e 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 #2de6fc40a5e75253 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 #01ae6484a66a9b25 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 #ec05cb3f1994f992 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 #84d1595a990abc6d 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 #d1442053733ae2fc 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 #241114748e8e001f 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 #7ff39b02b6ccdb7a 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 #1204d3bbe2f4c96b 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 #3887d222cba14279 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 #181f316c6af0859d 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 #bf53e8f6f5ce5fa6 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 #2628fe9e96b26941 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 #580bb013b84a65f1 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 #ea9e08753838635a 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 #bc7dd8592399190d 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 #04bc24fddc6c22e8 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 #f25544402865beb5 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 #6b49801947276141 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 #f254c0670024e663 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 #dc0cea47a7963329 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 #5c039da4719abfb2 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 #1d0252c6a4b5fed3 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 #55012c63082f744d 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 #dd6adcbdf6cfe159 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 #42f5cbd96fb3a90d 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 #a76915d171314eba 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 #63ecec054f2b1e03 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 #05fec354f5d7cd40 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 #057610c24b8f9ad2 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 #a6a04630ed1b526d 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 #17e461939e639f73 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 #41390e0d8c8d111a 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 #1d823fa109514394 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 #be70da54c4158375 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 #2127265706dbdf21 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 #b5694d02efaa020e 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 #44aafb09a9062f3c 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 #343e9241a3700b84 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 #820e3466a936f2be 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 #20113004581dcdfa 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 #21079e9cd976a7cd 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 #fc94eccb98a89ead 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 #072ff0051fdcfae3 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 #09aeeeed43b8e6c4 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 #bc49730a9a252a11 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 #33d60ca395cda40d 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 #6f8e52d25846d42d 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 #2fab2cfdab4bfcb1 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 #0294d008e2d17cb4 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 #d8ac2ca7c1887d3d 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 #04e0e88e8636b450 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 #947f42e86c717dcc 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 #6d77d100e7a2bd93 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 #c6286cd64ae48dfc 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 #5878aa38fbbfe87f 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 #dbbd02f559648fff 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 #c7f06386fa7e3d3e 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 #e45773cf3aa9b4a5 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 #2c97bf2eaa0d4c24 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 #07f98c6e0878ae2e 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 #b1da007bd63e98d9 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 #c6994cf4263f6741 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 #fd0912b2b944c8d4 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 #5a326369399358d6 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 #9dd36b6bdb2bf1ec 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 #3b4af703873fb51e 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 #2942b2f151b7e60b 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 #efeea1bdac343f0e 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 #d398e3f9022be7d9 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 #62bf088ef1574695 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 #20aa5e354f9748db 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 #3cb4ec9dbc48d33a 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 #1ed3872df9b4c9a7 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 #09f23b145a0030d8 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 #464b8327d6d6f407 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 #0a0b6b4c8467a96f 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 #abef7e11bbd82be8 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 #95b5e8bea70f779e 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 #a45efd38437da8ec 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 #ad238b99234f5c7b 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 #db0507beb4eb277e 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 #5e3d481b768db125 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 #d6536f04c2a1cbb8 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 #46bae3a171f97612 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 #607dd89468bb345e 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 #e51980bff555bc9c 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 #e29d5a18d273c70a 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 #9abbbd8963afefa6 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 #6337929407e4d39b 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 #6482535d2c31a4f1 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 #a51bb9e6189e29ca 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 #9e7494f722ab450e 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 #91a23c8660765648 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 #85db4fcdba999a79 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 #bf00e0b91188f1dd 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 #a1f051d6ca23f827 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 #5df9aacc7754da74 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 #877a2e1e3c155d81 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 #887720731ab6dddd 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 #940d34ffd9e0a7c3 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 #2576b2aea279fb10 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 #2c94fc91a827d123 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 #cb2eb8558e5a8f6c 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 #d3a0d41530d7d306 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 #18d6094e800fad6a 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 #8d404d1fde000c65 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 #3c45bbb0e8d191dc 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 #8038d0d4da03c075 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 #c9f4c10a74f7a1c0 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 #1dc2528d7bf7a2ed 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 #6eb8b1624c8b4111 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 #1e69b833ec1571b6 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 #ab07e1a3e8dc3b76 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 #eab3d06d951c43e6 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 #65891be34c124602 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 #e11603fadae713be 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 #a70c9babe327901c 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 #b9a9125cbbd9aec3 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 #a5ccdeeabf5a3959 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 #8ec6a1aafdf982dd 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 #bf471dfc8b87e8e1 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 #98901edf942795a4 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 #2f96d4d0813b2a76 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 #e255a0a17da4f449 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 #c376d7d9fef8a2c4 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 #588732688fadc62a 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 #91ecfbe71ba2fd9c 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 #ccfc24a5bd17a336 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 #732ac8910e309d08 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 #621be6f14f716b52 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 #bd1f3587c8f3c53c 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 #5be58a04152bb3f0 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 #04dc24e2bb939c9b 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 #3669de6a59831c95 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 #d1d88660e5806e5f 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 #61503e8554c5891b 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 #ff0388c5c84bcf66 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 #32b947657b45105d 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 #d3b8d9fce6538e2f 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 #22d42726dbffcaaf 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 #8cd366563e2cfa88 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 #8aed46b26c3c0de1 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 #1a3a3a5f3afa1382 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 #44e28cdbca526e6e 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 #bd79c8377a28b107 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 #5ec857dfb4fd1153 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 #332afeb1e8908a63 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 #062882a5245578f9 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 #8ede9ffc8d6951e7 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 #74cc831ba281fb6c 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 #a1d099a6f2c26593 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 #f5372f374d7c774d 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 #bf20b7f80d2ef842 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 #f3ca6bd5efe3a213 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 #ce7937f550504448 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 #ef53573097057eff 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 #b89787a9ddfde932 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 #013d244e865d3fb6 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 #781d3e07cf3844c5 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 #1095435bb4199f61 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 #5d292fa75bdeccc5 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 #bed2fb7c148daa0f 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 #d8758014f73dcd8c 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 #2b5755299e44f774 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 #a21f1b2fcf648963 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 #38efdc5fe72093b9 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 #2e39a28fa6880b4e 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 #fd09426892324b95 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 #50898fd23f29c9b0 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 #9c834068790a6ec9 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 #9dfa2f7c40fdeffe 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 #64bd371b678d4b3b 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 #deb195dcce8b0536 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 #a64486f18cf2b3eb 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 #387491d1c6284af7 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 #f24a50940c54c35f 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 #c54297e5f32b5b66 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 #1e734d9593bbc3e3 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 #e7e29ef213012263 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 #ea84155a3fefed9c 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 #099d8e040eeed471 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 #4fbbd4d8fe31ccd6 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 #93252519f9499c7f 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 #eee38b0d3b04b573 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 #380a84ba33d1aa60 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 #eac28a85f6ce9900 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 #c07103ce8cc11f7d 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 #e6011e222074256a 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 #c17001ff94654102 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 #c51b2533833cda80 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 #cf27fe1d32afcb80 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 #9b953a483f205ef7 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 #703732b500b7a8f5 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 #327ae574c5fb9bc0 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 #370d780b5509cb67 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 #b239effaab4d51d5 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 #22730fefcd90817c 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 #e2351638ed0a8d02 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 #19e5aa08ba490de7 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 #7e503576818fd572 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 #b2b3606d33856402 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 #882f036745f2ac6f 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 #c180a8ff6a0c9353 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 #501785c45be6e02c 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 #20d3aa43f6657201 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 #8d90469db2de6f65 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 #4c4fbe9863882903 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 #19a5900a0202f78f 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 #b85d469cbc1e6041 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 #85622454a844fcb2 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 #d82b0974f50b4609 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 #e54d2a9b45ca351c 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 #574837edd81ab4a7 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 #f08a1ac7abc7eb2c 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 #83081b253edeeea0 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 #2f70b5e27bc081d1 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 #03db90c50bd83507 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 #dc14bc439b150a98 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 #6eefd36258231ee4 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 #3793dd9cb8caf64b 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 #94399c0ad513aac6 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 #aed06a33b4f3fb64 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 #247df2c6152baeae 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 #2f7bc97ee82a50bd 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 #b8be7ffe0a453436 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 #c0b56841af15bb21 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 #8bf22b11a3cd4142 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 #262895298c8c44a9 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 #22b5e2bc81eabfe8 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 #77bb3fc1f12e4575 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 #caf10c6b098de8c7 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 #dc6a9aa99babcdd3 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 #bfe3223f9d5a0a7c 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 #8af22ed67bab0df3 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 #27025046c19e47f9 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 #2b525216d849afbf 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 #303fe9e4a5b9c8f9 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 #e5e72dcbe1a941c7 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 #1c60492cf0844c8e 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 #94a7e9211497c42a 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 #fcf5eeea3fe8fcba 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 #d469745c1a727856 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 #e44878583e4210d2 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 #8aed075e97f2f83e 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 #10317741b2c2249b 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 #e32c180e379d45ba 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 #867c04386e628b5a 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 #8825686ad4b244e2 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 #852d7408e173466d 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 #b9eb13eecd69753d 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 #ad932afce06aa279 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 #55c20329637e9a9c 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 #8d3cdfbf0b7fda71 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 #0520399af737f180 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 #75a423ec319e805d 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 #654216924e1a4d73 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 #27079aa4881c8a50 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 #4ae2ab5a93d5dd20 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 #b8ee7effcd6b407d 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 #56807a55eb6ca2ab 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 #eb070b29d068b2b7 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 #1744b9f4494b445f 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 #36dfba4cb89b48c8 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 #5c0e217ea2e578a0 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 #be850f6cd842ecad 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 #3b1d3344c534f4c8 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 #76acbfba0a4f1de8 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 #b0d8a5b5325a47bb 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 #bd99f21f4ef3a38b 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 #f525e4ada5e9964b 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 #b31e7d2d860584ed 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 #3e6a0a20f4f1bf56 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 #99e344125ba45bfd 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 #707281d6cd763845 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 #9d95cabc8c69e0a6 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 #360526ba5d66debd 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 #341cfbe2fb8823e3 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 #4a8c875fc2069f74 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 #cada83862935bdec 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 #5dc2bbd2a0834307 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 #e49933bdee0ef21f 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 #c70fb40581f92acb 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 #ec0bf6be760e91be 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 #d2c5edcd95bb2063 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 #96f724f1d759f4e6 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 #2823ff9edcb30273 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 #c2eb2507823d080f 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 #11e2643e6a6bf3a2 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 #b0925753c078e03c 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 #7a0454608a77a6c5 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 #8cff646e86ef44d7 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 #a21445fd19dddefe 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 #70c093c7c5f6c00e 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 #45e6b720f0eb692a 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 #b461cfa44cfc1f85 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 #7614c0b6b7c83a66 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 #eec6064f7d9adb32 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 #ceabb2d274be6948 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 #d4fa2ca750cac495 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 #424af58d9394ac4a 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 #f50aab98a6d32bee 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 #78fedc18ee23d064 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 #5923d54cdecac90a 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 #2df8a22ac164c897 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 #fe4a419fb85431a9 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 #1d0b7ed3878f55f2 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 #e1d8b051162a52d2 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 #0751c1de035eb712 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 #a65562d109bb7e83 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 #e62bf32e74fba22c 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 #ad68d67b3e585008 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 #915c82e7013315f1 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 #5cfe68cef135345e 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 #73659b080f7eaf25 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 #5b54a7e3b4d1bdb2 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 #c3c77c5190a34aa5 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 #d40d93123020e971 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 #61b0b65567f489dc 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 #04ee862a4ee3b1ac 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 #5129161ad7ea7c7a 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 #63c780a5110eb407 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 #1c080042b7b2dca2 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 #deb32a649d1c94ab 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 #91e769a9cd22e6f7 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 #aed2479366e60779 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 #4823398fdd866f5a 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 #f4e562db1b8bf270 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 #89727b4d3f40a3c5 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 #b1bd0c95746d405a 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 #c62cd48cd4a326d9 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 #70feca9aff3e28a7 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 #07a98b348a8e3110 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 #45e39850732202d5 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 #51fe8feef989f7c9 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 #d6364a4f1b17a141 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 #02075424027a9a3b 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 #587f4c6dbe31ea1c 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 #53f65a893014df4c 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 #5068cf29249f416d 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 #24cd310702edb7e4 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 #b0933c5707397a14 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 #5cde73f2e293c95e 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 #437886f4793addb5 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 #bac5e00054a99f96 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 #dad0f7bb9f8691d3 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 #5e5e880a63093cd9 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 #349e5aefb296e259 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 #788e25ed211e2270 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 #b4029812cbe2c070 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 #26aa06b1a66b8a07 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 #a9f0c9d23157a0c0 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 #bf78bb89650bb79d 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 #9c14bfb713a823f9 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 #6664d05129435b26 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 #af2f4172cfc4a661 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 #e33ebf1c7b7b7d84 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 #8105605f2ce17439 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 #b648854c6046dcb2 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 #73a652e83617b1f0 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 #859e8de30f041c77 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 #246ea211051be8cf 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 #3f52d66f9d3a0bdd 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 #f94146b81c0091cb 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 #931ca7f233eb6580 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 #3db2bee579a9aa17 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 #8c106d4120cc6d57 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 #6002e66776d4002e 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 #f338c782ab5e6273 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 #c5ed04a1ccac1326 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 #29db4f25744b00c7 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 #c7e274e6cb3ce5f4 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 #9bca263205d45420 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 #09fa7100b7834ef9 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 #f3b6461c094093b3 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 #8e5bdfcf158356cd 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 #76433f015bc0e8d4 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 #4868c3915d36c390 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 #d820655b94235721 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 #39bd825cfe28624e 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 #54219dffd906109b 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 #2d46e33c96990b4f 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 #0d1b19507bc2d849 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 #89232a27702eb1d6 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 #bba73dded3b3a7cb 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 #21977435e80fa558 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 #73b9852fb7c4f652 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 #a1e36fbc218d6b58 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 #725bb3d00dbea9b0 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 #a218347815022930 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 #7483fd458d2edf98 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 #f5ba3d3a5dbabbea 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 #7c804a00f8c23fcd 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 #f615eef6e639667a 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 #077f7ded970c18df 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 #c4cd8ae82fdba7a1 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 #4a4fb244ec6e22ca 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 #7f4d963093ee87e3 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 #bb01e707d74d287c 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 #755f07ad7c1f778f 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 #d6252d1b086ac863 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 #c01ebce5405f613a 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 #e39b9d0e83c05517 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 #d4a389146c5adb61 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 #a9bc5f2ab9785bd6 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 #f78d8a463745c2fb 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 #8066e26522514c3b 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 #851a5379022a151d 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 #9f0d325117d0b524 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 #1f5142575c85b02c 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 #7e38cdfa675bbec0 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 #bff98a109af719c8 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 #cdc83e71f17ba52d 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 #37fbf630f6ccbe90 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 #b379167a8413710e 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 #2869fd9284959d86 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 #97adf19501510b16 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 #538d31c4bb5cf213 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 #e756e047cd6ec89e 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 #442a28fd35eef536 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 #608d6fe4510cda0d 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 #aa558fd75b1b2761 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 #8bb69f9e1b9e9e2d 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 #632643152a2d0a21 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 #9556bb002a649e52 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 #b2183a757fc6a8ab 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 #b9688c0a69790c35 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 #0ae0769319c4aeb2 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 #fda0ed9162497ca6 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 #fd2cb0d9e2972506 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 #bc4f2fd84c9b0b6c 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 #dc15fd4e8ed737fa 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 #9bbc0b5d48f2e44d 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 #13eb8597d041042e 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 #20521798c10c6f62 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 #ed8447846d9985e8 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 #2d7a86e9201bd9bf 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 #5193699a2c7f828c 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 #eed4a2a90c5eacbd 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 #7ddbcf8370ae9f6d 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 #75487a2db810d34f 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 #6ca2a0583e534a15 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 #3a1d17c077a243f0 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 #bb1e25fbd88769eb 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 #53650ae24974008d 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 #f50dae59fa4045f2 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 #da36425550ddbc5f 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 #0f48d6530868d54e 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 #6afc17d5bd58836b 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 #86e0ff39400f7ee2 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 #d2204299984e16a8 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 #d486e083d531d88c 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 #20cb029a6f6c86fc 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 #95dddc062dc134b5 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 #a39fee8910242753 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 #a5b673d1e3b4664a 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 #87dde639db549026 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 #28df010847be75ed 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 #3cb6a090d1cf8aba 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 #31d1348f6838f6ff 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 #39fd4e70b7f505c8 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 #34987824dddd62e0 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 #6574e7535c6bceae 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 #9dbf18a61e7d6b6e 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 #1952038723a30525 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 #4e2eb4d5c2d168de 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 #f6606ece11a15109 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 #db7ed4f92500f7f2 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 #5778de69ae75b228 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 #a75b372b430ea257 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 #07d3090ddb2dcbd6 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 #769271022f8d7d26 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 #26b941c7e4dde07c 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 #5dac86dbeae5d531 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 #4aaa7ab7fe873207 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 #8fbcab326d761d71 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 #f9231e7897a8ae4d 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 #eec4edaf169b2af5 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 #a3bfbd12d80b0c87 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 #b6cf6abe15dfd33e 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 #b9ff71f31a0ec71f 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 #bdc4806a4467abf8 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 #269dac9ec270e738 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 #9af15ae42f4d8666 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 #1df22d46870378f9 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 #36a6aa562e5724da 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 #16f08c69d3806f57 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 #30daa95594c9eb16 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 #af19c2d0e695a93d 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 #768bee8ae85a43d3 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 #4f438f8c666c7517 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 #509b2a3826765037 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 #1aa7e3ecaee6da43 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 #ed887644bba93981 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 #d16870032af01f4e 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 #be1c0c98ee04a456 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 #858612a684eecb29 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 #65440c08e748c85b 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 #e35dafdd2053123c 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 #3678b0fa87d88bae 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 #c45cdb2f8d9c0db7 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 #f165952fc2455370 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 #fdfb47f199954dfe 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 #cdb8d91c05da01cf 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 #aa1d0ba217b29748 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 #3822ac6f7b74163a 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 #efaacf59bdd41ce6 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 #0a276beb4271de11 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 #b8e7c38ee66dd28b 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 #2a90eb91ee7e271b 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 #f0b7f1ccf5ce38c9 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 #e24367d758a263b5 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 #27c645161bdd5d17 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 #c1e9d4df2179dfe4 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 #ad9c8f8adfc21423 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 #97fbc04cf8e73cba 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 #256e596dd47ce152 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 #f5d48b742fdc2ed3 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 #d3ba59f5b69fc67e 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 #4012e18ef86f1de8 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 #255e71acd68a7459 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 #14d89558d243df21 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 #b90ec8769460c84d 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 #b9dc851f45cc2e8a 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 #457df6c345d5eb0a 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 #ea8164b06d717d63 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 #8f5749c1ca9ad752 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 #5b6ec87d4ced652e 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 #377a0cc978a3e9e1 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 #62d547cced4da7f0 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 #db3dcab23b08fe22 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 #e39492a98c9be9e2 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 #ce411b5b17ff37ce 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 #bc966cdfb460edc0 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 #bf8d4552cb3c48f0 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 #6da14ea8f230519c 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 #fe39cdf0e9412257 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 #2d3523f7856c2fc9 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 #f36b730cd7a153b6 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 #b9c2827d713c6082 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 #607f39e21c95ce7c 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 #e603deb9e494b8bc 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 #66547cfa910d3628 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 #4c76c66f06cffb4f 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 #531eaba7d10f9090 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 #bebdeb942b044f8d 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 #aef8d61b965e2152 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 #498e2091006a8e72 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 #f5000f56dbc0097f 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 #4b5830073ddfa0c8 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 #d68703a685efdcb0 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 #cd2d623f0810f550 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 #2abb11acd8dd716c 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 #df5758fb763c7940 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 #82b8b7beea31805b 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 #56ae34f2013308e1 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 #97b981b96b7aea3e 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 #b044c6fee06c6eea 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 #8fd28aa4c8230d1e 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 #64c39f46898fcdc6 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 #274c79c5080752a9 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 #ec71338e527e0d3e 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 #3db8450d3bafe942 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 #891b6d63e0f94830 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 #aa6c11d614788057 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 #1cbd1e59dd8fe108 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 #5346916b2b363074 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 #2475653310903228 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 #f39a1afa7cfb5cf5 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 #bc74867c1fc89f73 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 #4319ece5936c3fbd 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 #38c44d20b17f7cee 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 #f7eeb6e269ef6308 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 #8dde1ebfce529c13 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 #87325e233896e1c1 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 #3417dd0604822bd1 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 #24f860a75a515d56 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 #7503f2e83d6fc20e 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 #f938887530ea636e 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 #7eba4369baa812b3 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 #9ce95ada34cb4363 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 #3f250b7a0c0e7e95 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 #cb6a73e64ddcb2a6 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 #0e39633c1ac1e9fa 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 #1af5fb8b313ccf6e 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 #d647d918490fa020 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 #7f14d21f5a428655 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 #0c6b212bc46d41e3 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 #cff5235c75b64189 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 #8304ec61b5e8812a 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 #eb13859e47d7e6be 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 #910b31617a03eff3 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 #73728d7f2308dac0 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 #851d21fc4e42c4e9 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 #400a26f1972b38fb 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 #c69100a764b0b6b6 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 #b9ab1cc194bb23dc 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 #944a557ce28bb4c0 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 #2a5903330d803912 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 #e17e24734726fae9 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 #77f0840efb61f38e 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 #c64ed2f0f4dbe4b1 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 #faa5e1b86e53c0a6 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 #6668a763530f8445 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 #2654a60e84874773 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 #bb7f88e1f0300c36 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 #1bdd8ad968017366 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 #437d5544198c6a36 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 #d985c3657831739a 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 #3d4062dfb4070c57 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 #7b1508b8a891a91e 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 #e9b8b8c177d9d905 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 #a077c4611bedc923 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 #1ed55f533b270d64 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 #5caf3ec6dd8d4e3a 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 #97ad0848548037b3 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 #5cf1eb6e1bcd0577 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 #47da38c047732461 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 #1431a1acfe2b3d29 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 #6123c6810d5a8fea 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 #81ff69bd61fbeb9b 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 #97a32420e165c360 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 #8f5463ed45513542 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 #7a6160ea900dc284 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 #630d184e353469f0 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 #c1314b4d33ab333b 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 #023046b757aac062 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 #02070b45b6accfca 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 #9de4c3f799b9d0ab 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 #e581528472ae1eea 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 #0a6e9a92452c7862 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 #2eb2f64cf62853ce 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 #264de057766d2748 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 #6bcbfa963bba2ece 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 #efe97c6d6a7aea91 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 #4c4576dcb5de0b98 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 #a3e9238548b77bf0 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 #a4d73dde1c5103b6 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 #10aa1a1e4be6b2ea 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 #a26336e4c1e928fc 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 #70d522224e5a7f48 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 #ee4e7f798869e5a5 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 #2af487089fea3032 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 #e8826fbca099fcee 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 #db85f5a7a128cda1 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 #620aefa054af5ab3 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 #2881b0fb11119e17 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 #479a99b497a714a3 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 #e71d9652de52955f 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 #e1084eda93a3f2ec 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 #c04518f16045ce61 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 #96e4aff57cab90a0 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 #08bc6c0fec96b0c5 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 #98cbc926fea691ef 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 #f401a5225a250570 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 #6eb03d6e5d62dc4e 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 #bf1908b31b318d47 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 #efc1656e97c955a4 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 #2ce04783f18df2e5 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 #23637320a7c63a05 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 #363ae5663ee2464e 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 #87502217be76413b 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 #9671d6fddcbee687 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 #69ea57730dd8f33b 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 #938fb8e1c12a100d 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 #b93099d735dae95b 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 #f6b3b77ddc695dab 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 #f387ff43b6bbd658 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 #8f135863fe676e3a 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 #0bc77c5cd590d443 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 #6a2aada876375a58 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 #16b852452c9fff6a 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 #f76fc90a01ddecc1 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 #36a376ed7f3c9068 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 #8c8e467266225a30 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 #25842e05a9a976e4 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 #1c5c2833539eea05 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 #1f7f7d8ac89e58b9 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 #0c7466116dd9990d 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 #ce6a1ed4f2eee679 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 #3eb0475bf36ffdfe 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 #66c91f1d225151ff 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 #8ad701cc1eb662d1 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 #aef95f90f694c33a 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 #d7e2745d70f11ed6 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 #4b5126b2cdc9ade4 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 #16c9e89145a92381 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 #d69863e627f8f7a6 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 #792046ecaa5c6fee 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 #7e8b9e0534fae7e2 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 #784132e4f9d33438 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 #92f44fe9d53142a8 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 #00f49c395c83d17e 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 #c6c3a80a309b5431 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 #02a9a9c16dc60bc6 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 #cd19ad6b3f694e4b 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 #6999b57360230525 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 #535c3107ee9ae95e 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 #b120886005c478cc 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 #a1b01697a76f73b0 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 #74d86aa717cf3fae 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 #8f94fc0b676edf04 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 #aa0de5678400c2b6 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 #4b9a2e3aecacae42 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 #626ae9db9a3d9844 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 #f6347d232e50e31f 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 #34953f662cf0b22e 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 #31a846dbb4ce4ca9 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 #0befbd31310cf9de 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 #1c0c5e0853583d9f 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 #8b1438d40ce5ccf3 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 #70e80025f7d70998 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 #41d2a79e1cfcf086 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 #9cf177b9e1d41964 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 #d702a30dac0aa2f5 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 #789c1af1d788c4c3 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 #e117a608b3afaddb 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 #99f513a01318faba 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 #b86827ba43d6f36c 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 #80b0ee8944930049 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 #c119d9d21d90e0b3 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 #9ed4c73f389e92c5 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 #ab4e286e1b0e0363 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 #f9099725d8a7a09e 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 #44a4fee3a30131bc 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 #2a406dbb6cf316c7 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 #b663ba6cbc7cd095 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 #c5749558a538ca9d 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 #3148289b99ca07aa 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 #58f9ec21c85fc8c6 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 #07a1fbe10166bf65 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 #2f7ff1be26303333 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 #506ae99a179627a3 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 #754919c5d7ef05fb 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 #d25a4c2347f07b64 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 #23b1c2f1e7e22654 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 #39a51417a90b3995 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 #35133214cf895149 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 #dadf982c369a9149 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 #1bd3c20d4719030e 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 #13b4a394f9596423 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 #1151a5d2096bc722 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 #6e4865d12d052153 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 #2e825817e259b29f 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 #70d1b974244c0e78 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 #bc1e36cdcccc4505 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 #020eb911e45ae4b6 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 #cf425f1e54ec5102 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 #10727e7e7c73555a 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 #8bcc059922efe8d6 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 #171dd37bdff0018f 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 #76bb740b928e94e5 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 #51dacff3ed9c6826 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 #4dc0da566a1d4b6c 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 #373832e187dfa968 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 #0b3849ee34639513 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 #cb36da9b98a23fad 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 #6b7e56c18a94ef5a 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 #6c4640fe9f21eae6 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 #67ffe58310f55ebe 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 #f7d07988006cdb02 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 #4b2ac99cb0420e4d 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 #c7e0fb844b303df3 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 #5236af2f8b849d3e 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 #fb19a0d97c48dbe8 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 #3a3dcc98c86272c8 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 #033006d600c0a182 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 #825882df12aa0423 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 #d8d8ce40e21876fd 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 #3695ab0aa6387485 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 #2959e600f3e9e2b9 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 #7bb68e122326b464 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 #3c4e37ec9310201f 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 #2becc16392f9b3b1 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 #c512cd6446879abc 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 #e8999c4256b3af00 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 #843e82caca5aad21 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 #bd48600a3b5348ed 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 #b19a6acca67e2554 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 #dce7e3d7d682d4d6 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 #75a61e8b5c4622cb 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 #7055d37a7abe0223 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 #9a31fbc77f6a2cc1 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 #1999c8578231c536 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 #2fef2654ebcbbc8a 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 #f647ae025afebf81 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 #60f8e7c620dc1fe5 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 #c3bc4db9f1ff3eb9 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 #70280a5fb2165880 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 #b8c682ce240e7107 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 #8b180f0d2c2bc7e0 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 #07758a84db7e2b85 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 #7bca87991c96d5d4 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 #c4b246c1ff0eff91 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 #444f00b158e17cd1 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 #6dd1f0c4cffea430 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 #06c17f541f22e307 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 #cd337d14b9c32a2d 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 #bf9c1d5e994d9738 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 #3587c68a2deb2fa0 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 #0b71dffd0542e80c 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 #026f5f14524fd157 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 #7d9b041ffbf59b17 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 #900948439846403b 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 #dbaa41f748b02fa6 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 #2d4127b56eea5573 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 #945c462f5b170978 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 #f9107f94621ac1cf 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 #e137e4cc5ccac34f 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 #4013c8a8d2369710 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 #30f6f8e24173b28c 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 #591102c964cd1c18 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 #c7194735847bc592 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 #a11c967ac853bf51 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 #96cf9b2be2d78e73 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 #101f3054cba56d48 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 #24fbf98a3bc3f8b7 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 #ae1b28d1c0027e3b 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 #b12bcccb32d70f89 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 #416670286c1cfc50 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 #66bf97d43fc0815d 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 #d92b7153b730cf79 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 #f75f4262b2eca811 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 #aede99a2fa3611cd 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 #9e75106291645320 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 #511cc685f202a169 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 #e5df600ec1adda07 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 #eecd7853a05c5d42 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 #997040b9242809d8 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 #e73d7e3bf2ce0658 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 #c53368ed4f27fd10 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 #462b80ccbcbbbd7c 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 #9b0f74bf33d63c05 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 #d4545f6db850ac1b 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 #3cbda6036c338fc3 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 #4b63565670e4fa21 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 #ca264bc5cc0b0dfe 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 #e76c6db61168e737 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 #d16c1862cba751cf 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 #b1a53dee494e0985 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 #fddd5c6af296935d 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 #bffe170edfcb219a 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 #d4d0b857d0d47cbe 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 #94abdfe80aa6579f 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 #ec2a63f699f981fd 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 #d90d7ef530d23aca 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 #6b3473a2aba21d66 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 #5b1a28b2500a301c 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 #34e24a85aee5c711 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 #42e04b3250c94c48 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 #4ada58907143d230 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 #aa9631c3d1cbf271 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 #ae5d19ab488ac093 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 #6f7bcd64ecb53bc4 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 #8c885e369e43b3dd 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 #54c66da01a8f9439 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 #6cec40084ea5ada3 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 #f10d3ceacc034f64 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 #53d83b5af85771a3 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 #d38bab7d094a8084 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 #b167d3630afeb533 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 #7faba28a9fa704e2 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 #03cf8eec19c127b9 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 #fa2541b21c209539 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 #595eed353f26cb2e 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 #0c602019ea8759a8 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 #870a147c313f77ee 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 #99e3e66ae1783bef 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 #a3c72476316fa5b1 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 #820138a6456d09f5 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 #b66f5e150bb1b56f 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 #d51bc41d8a4fc02e 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 #5d003932b82b33ad 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 #a38731ee93503724 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 #a81423e703e20d0c 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 #9e3487d635185f8c 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 #dff0ea537405b720 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 #b04dacc2a0a2e028 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 #cf6082a956127e70 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 #478af97380898b96 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 #52e0039189a080de 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 #7c4c891c40a631a9 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 #6c9d6281d8256f34 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 #6d402643c6c3241f 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 #0a335072e72b6537 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 #276d1a0482ca66d9 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 #f48bc69242002098 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 #c1ed0ffd10c59f39 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 #cec8a388531dbc29 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 #2e1f291d5ded4875 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 #ebe6b0964c14ef2c 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 #85bc22c9fb49dd6f 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 #9a9708ec504c3248 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 #38cc288609959d0d 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 #5aa9de7cad660adf 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 #c7f48c97a7c35dee 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 #68a30a23ef1c56ad 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 #7432041837224677 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 #1baa078bd6df13b6 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 #64ff15ef29463c90 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 #5f4f40e6414511c3 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 #27399317a96999ce 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 #d2f4f08d130b42ec 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 #36352dca64f91a09 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 #87c9d8b225cb292d 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 #fdab77978487255b 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 #6f5937571fdc23ee 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 #cb4abeb17800414d 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 #dfdcd0da7032becb 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 #070e57de6c77769d 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 #21e0d7bb6b36354a 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 #86e97ba955f08dd4 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 #0b1d468d5e89efab 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 #81add4d69da21f76 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 #b94ffd77e7da778d 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 #a98745220fc8a840 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 #59946c0d31fa4dbd 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 #1bd0248e137f9053 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 #92609896363398bf 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 #583fc747f375ce02 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 #8f2b08c625e67bf0 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 #50ec2a4f2209bcf4 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 #58fd4032f29c215a 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 #c1c575b22fa6d53b 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 #b48152a8750b6473 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 #a61cc2558a645288 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 #47c08d6aa26784d6 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 #890983fb15d47a84 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 #ed3fe73d1d66713d 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 #ff9d12b6ee9c9a6b 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 #7ff0cfe9e6a3990a 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 #b5bfc4902ff84913 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 #ff8757a6495d7068 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 #07c66860e10681ae 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 #77d13b6fa5810ee1 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 #79350e38f0b5c804 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 #2dde4d72fe66c3fc 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 #b0e4ad451f7239eb 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 #41f401759c76cde8 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 #c13a5158d7b06697 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 #9598389ed36100f9 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 #21a3ec5dd0f5fdf4 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 #07e1f4523dd26c22 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 #443d1a6c939d070c 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 #e5b1275959d04d27 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 #16390a731904a7e2 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 #f02353cdf635e226 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 #4dc72c59ece14340 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 #637f55d9ecec56e5 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 #74f81ca47ed01a3b 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 #640cdfa457e22b57 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 #b88493ceef9075e1 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 #18ab5ca237715dc1 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 #a6dbdce577bc4c1a 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 #59b51d365a4e92da 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 #a31d84af694e4c58 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 #afb254006879266a 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 #39dc3ef9a1c07669 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 #e7655e70c8ed04fe 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 #8859189f57cf64fe 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 #6b43770124d97326 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 #2dd80efd903e4c25 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 #ccbbb27b45632e9a 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 #d14f381acdab7b17 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 #8b53e505335aacd4 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 #6f1d66f62a771e20 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 #97287d39b95978c7 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 #36c888e3fea88c12 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 #e7b066a2e598aa80 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 #7c9ce85dd5955c0f 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 #6062391e5b1d32de 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 #d4f62d547f884108 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 #4e0197385342514f 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 #41143c163c3b9498 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 #0e8db83b22b7bedd 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 #9141df8d2793bad2 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 #4b3d652c6f7120d2 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 #c66ca5bfd8b6285f 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 #087097bf5da4a049 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 #7978ab0d3c40408c 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 #a5535c6b7fe75d49 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 #406022f3d3a0639c 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 #1e197f4273ce354d 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 #994b46798ce9f534 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 #ab27e51f0ba90108 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 #1a33c45e36f9701a 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 #560a0d31858d8ce7 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 #3a345c0f858862ac 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 #082164044408f529 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 #3fc333eef3a7b9c9 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 #0efef461dd177920 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 #2057f1f9ed99ee57 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 #f54753dd7012e290 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 #e4f52b8f6f488068 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 #bfc9c6ba0010dc4d 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 #83cca5eddf2e4309 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 #dd2cb249869c6e08 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 #6fff7940408edf61 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 #03cd4ae06b7fd9df 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 #fcf5d0b7baf97388 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 #95722e77e1310c57 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 #e5d2ece7f9239637 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 #a8a8f8c5a6ba9625 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 #07899cacf6365f92 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 #50f612aed218238b 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 #1e66a60952fc64fd 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 #436b725a5b0a30f0 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 #f3cee3db5af1ec76 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 #11bceec8c8b5ae27 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 #004c582be07da740 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 #e13979e6893bf0f2 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 #58e8dd86600e8d36 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 #09626dc04e67bb77 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 #b106ea9f94feb764 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 #e27e86363fe768ba 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 #198a0907fd86d284 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 #d7406110ab2501a4 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 #1cc7c4ab33305564 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 #baabebc1535239b9 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 #0044926532d0037f 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 #fa61e562f67a0eb3 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 #82127de57aced0be 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 #ed505e20f6663f08 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 #d04ebe752dc4909c 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 #f3c58e02cd2293ff 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 #0e3524caea35e624 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 #277cde9a5c82377b 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 #c39e3a8da2e63540 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 #72e2dedb4c957661 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 #6585af0e2cb2927c 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 #0bcefffa680c46d2 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 #2804ad1a0c26683f 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 #b13cb585987a901e 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 #cd98d61939dbaf51 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 #c95bd031c677ca93 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 #94efd318a166a58f 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 #24d61b81c1f32b8c 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 #aac086fcf6ee972c 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 #885b30b9960050f1 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 #3512c34a7b586d20 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 #00cab4d9a2ad4ac5 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 #b75ece6a52b2816e 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 #881b0bbe56426df1 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 #de826a36292c1c8f 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 #14cb30097a884777 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 #47fcb91e51182f10 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 #a2490d783f771b06 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 #5209fb2deae7c09b 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 #68a1ae6a9aefaa36 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 #bc9e53ece8ab8711 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 #8e218b06c0ebf7e8 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 #5d309d6767a55714 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 #963a60938d394782 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 #339329d3283ec814 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 #ac08fc5d6f57fe63 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 #4ba4e603cf6b737f 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 #fc71f7ba3e3338c3 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 #67b479c0fc0d3245 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 #53c5ae973c7e3892 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 #bc7268f8fb3891c9 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 #2cdcd308f6f4a898 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 #c6aa2c19bb2d7f87 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 #65ca21219a15da2f 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 #c3a21aff26316a46 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 #eb65e96573afee25 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 #6a180b6e3a517ea2 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 #dcb0b856b9acbcfc 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 #3105ca87d992c8ba 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 #172375388d66294a 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 #d246c378f6d63cc1 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 #1df16747e12251ce 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 #c43a0110f7de88e5 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 #ca8eac86d656646b 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 #d507f22276c760ca 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 #21e21b563e3a9888 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 #fee9add5e8c2cbf3 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 #040c4426e4301310 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 #0c94e0262d52553b 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 #e20ffd4b35c02cdd 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 #0b34050fd45caacc 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 #7328453e39c5f784 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 #e8dc7f054060b17c 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 #394a4fe56cac665f 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 #16d516658f44acf4 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 #1e10ff6f318c13d3 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 #f9f8823e321bc303 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 #1eea446f5213f554 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 #a4635405b9495a1f 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 #541c4c0fe54f77bd 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 #b6a18aba111e6c82 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 #86a81d34341a390e 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 #cf23aa90b0ed27c7 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 #dfd547a8b5d80545 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 #54d14123f99e660c 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 #4f1394f3a8aba65d 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 #c344bc8bfcfb2248 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 #e043c6367487bd91 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 #bc5ee3eb9feba752 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 #935b7235d52670b0 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 #39794fd916df71ed 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 #568953737f009938 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 #b352f98d102e50ff 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 #8beba83a3419c45b 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 #482b5d4d5b93d446 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 #3007b7955a85e9ea 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 #938c5c184a0391ec 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 #1b0f9fa56ba4297e 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 #7f7fdd7ea6ab8741 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 #d83d0a3dc6289171 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 #11aa36257568ec93 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 #78a8f12395276435 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 #a0c488e20a24fd68 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 #c7d1352086ed3ddd 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 #fd4289dc531d2c9c 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 #ebd46c622d809f9e 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 #09b2bc06093328ff 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 #95be88122afc810f 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 #c2512055fcde9f65 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 #0b4aa403ef5f4c54 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 #89e6693e08c27b6e 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 #b6201b3cfb91b4e4 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 #853d42a120e2f5f3 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 #3798dddc922f9a33 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 #175b3c9d6b3c62af 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 #0610b05a4fe83878 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 #ae70e3ba124b1823 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 #863249b246599a4e 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 #97fb730227261ceb 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 #9da40200be80aab3 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 #ff4bf28def6a18e7 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 #a832e184ee2158ea 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 #0ed44e00ca16ad4d 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 #0440ae220e00e0f1 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 #ed174c199ed72cf2 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 #604327b5354c0823 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 #5c5ef4a0fd23bdbd 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 #e9d2f5627e18db4e 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 #11f8be13cca196d2 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 #e0a22045fedd79b0 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 #7c17c81acc4efe61 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 #bfd30f28abab8463 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 #023083969d1eadb9 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 #cc1be4cd2431b04e 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 #e164f840bfcfc6ee 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 #bb432cacb7ef87c4 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 #53d34b60854d1c2b 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 #b468eff50d165306 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 #59f47debe45009ac 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 #955f3d5376980d9e 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 #3debc0394d56d2a8 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 #bcad0bd0d986a34b 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 #29ca6e0d402a642d 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 #087e51895a10b614 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 #bd5b50df476571ae 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 #548d41fff42b6217 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 #76f1835976604765 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 #d7ae8dac866f5348 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 #3c8e35f1903ffb68 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 #5f9eecc5a75ea534 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 #30a6dde7ee5ecef1 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 #f15d8ad512e72271 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 #de049ef9857882a2 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 #9bc5effa12330187 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 #7a3adc94dce9c2f0 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 #df7449eaa60e9565 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 #f92367d78cb69999 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 #c6bbba5ec755758b 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 #5f44907ede5c56a8 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 #243fa937ceb18ae0 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 #27d59022a5801763 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 #e63bc58461c01d1b 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 #751842bd5209bd5b 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 #e773204bd4d02a08 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 #b19b7cb90700b176 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 #17764351b7a548d5 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 #ad0183bf24cc1ce4 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 #0147aa93c47f4153 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 #4a73ac3d73dcc1e0 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 #5113d57c74e68513 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 #0b0bf2bf37a09b04 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 #13a077da3c93cf00 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 #a37581de099271e5 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 #9e2e41f9592ae934 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 #2dfb7a053b0b6435 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 #a4ec0ff382fe9f59 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 #d659fc99aab2dd0f 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 #828a0cafbd1ed6dc 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 #97ef36a1627b67d2 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 #cf569a2a47e95f11 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 #cf8e416fafbd53e6 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 #b2d19de3d98ed604 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 #b27a2ad7050405fc 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 #f25cadcd25a962e9 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 #f5035b01fe9f9284 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 #0681ce8db67df914 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 #bb41796add7af292 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 #414000a7f1bc3995 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 #e84d309ad76339da 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 #502092c0dbc0c113 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 #c30a04ed5940eeb1 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 #1b7397bc6b8458d6 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 #ffcc80fa1f0b778e 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 #6c845f9bf7083ea5 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 #47044b8454f3021f 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 #97270629a3d78e23 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 #5cc33f19c42a7a5e 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 #29ceb1204cfc4b6c 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 #ad85207b419c7b6b 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 #02aee8763f4f5497 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 #f285e110428246e9 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 #dce6e8e4c9c2f600 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 #ff9a0c528d349102 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 #1e9ca5ff063b3753 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 #27b2f860938b68e0 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 #281867a82cfc8627 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 #03414380c4e541d1 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 #6259bae64d0bffa9 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 #ec5382301e08b230 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 #46823ff6f637b13e 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 #57910c7c1d67c268 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 #f9fc700a5e5e6b2d 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 #bad485105ce420bb 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 #0b167c0d02b31627 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 #42b25222c35afa66 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 #7b687a9e099c67f8 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 #a6905cfa86f96768 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 #49df50f238a2db27 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 #ebc939905c8d127b 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 #9c559b2def8dd9df 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 #c96ef8bef9a5da61 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 #d2e23a9d81362441 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 #f3cf97730bb6eda2 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 #a32e36dd0f67ee1b 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 #b6cf6709142bb18f 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 #14ba1181325618d5 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 #f831e20fcf69ba3a 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 #8d900d52d092ce5b 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 #28521be13034c195 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 #5c8249920fb325c9 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 #b4f80948e5306516 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 #606d8b9e577ec8d3 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 #b9bc486b88807bef 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 #77e8e0d4d6e3680a 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 #68fa6f0b60cb660a 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 #de6b102ed3db25ab 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 #05974eb1df6ab013 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 #c5c65c19db1a4357 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 #d40e6652160b3355 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 #cedcea1c5cd20234 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 #937b283113fa533b 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 #57d69b090208d2ba 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 #f243c257d28036f2 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 #c90c3d4dfbbdb48d 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 #5622a600399d3ab7 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 #e8778b401539b575 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 #7da6fe7d7e9e0429 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 #9916208ffa320f56 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 #20f79341488b0404 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 #886c6fe6ce6fec96 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 #f4891391f0fb5164 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 #df5a1396c6d799bd 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 #9d30abeeaeff1cf5 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 #b66e5969dace049f 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 #2bf8df84a0f22ea7 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 #155442fed9fa6746 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 #287c01256541a8ab 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 #41a4146a13a16c5f 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 #7da15b03137e7b58 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 #84e056a8bef1e58a 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 #3e32046b524a518d 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 #ab9584c6c145415f 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 #4b371abb44af7389 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 #9173b2a0d023bf3e 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 #a7e84c9a8c3243e2 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 #a46195cc1b95e1d8 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 #d55d75471a436f5d 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 #17b36184f7825358 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 #c994a4a8d4214d66 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 #41f2810f829edf61 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 #2746bcba3d593893 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 #47f113c7841b62ed 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 #41e99674346c1818 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 #622b45a3cf277914 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 #6743c59e04955cc6 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 #56abf9d2db78bf63 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 #ea279b4e983320bd 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 #c05825fc869a9743 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 #1de502b4da4c65b6 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 #10bbfe3d7cbb4f9d 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 #901cbba40a81a40f 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 #8ca579fe0b240e9a 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 #c10d85742e860752 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 #30e176518a421f8d 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 #14edcb76c3a5b845 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 #d76395d2e16ff873 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 #43026de2a34913fc 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 #822b6c6b1b7cf1a8 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 #f56b966850ab7313 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 #edaaaff5587fc171 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 #a0f92c409c953daa 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 #97c0403f058e0a05 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 #8879b5eb10313336 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 #7e97588e51cb5ba4 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 #e94e8016e31d5bfb 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 #b07c8d71c34fba63 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 #c34b67373e7e1609 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 #c89c98e710659ca6 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 #816c6a70b5f9a3ce 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 #7a457ea01c785ebd 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 #e7d5f0e40b24873c 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 #a3553dd5ff9f3d36 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 #8d05a75b6a24df6f 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 #45edf91c491b2702 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 #c2074fee4101cfe1 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 #69e8bd84dee273d3 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 #6a89bbdeead3ec32 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 #06f98654cbdef6d3 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 #1fb5a78e1f071b47 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 #b7907d5fe5874455 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 #fdfb84722363ed6a 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 #fb7fad4a6b95a30f 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 #835275b2ac161340 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 #3d9fad627d2682c3 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 #7acd26da15af6399 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 #f98338f4b73f3e13 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 #98e362aa8aec44f7 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 #4900d64e60c7d64f 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 #f224f47f783d2101 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 #a0aca2efa7f1003e 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 #567eb44490211792 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 #d06cf94fc5c6bebc 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 #4995b6621bd507c4 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 #6ec4b4c0a10a1aa5 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 #59a04945546b77cd 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 #98d0c2af2c883970 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 #0c0577e561a8d750 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 #6f3a27f20fff2a08 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 #42eaab4f8b6d12c6 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 #1df1ed92d1e45cc0 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 #779aa36ec1299eed 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 #d5fc1a767b0325d9 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 #0f2c0db3220bbef6 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 #c3feec4819e23c3d 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 #01d37bff3d76aae3 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 #10159755a59c614c 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 #3d373fef4e185a6e 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 #fb60d7ad07bb3110 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 #4e8e9e90e6d78c77 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 #3b1b8b2852799d5b 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 #abf2c7c6a36d8467 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 #adcf033e8d2c8a97 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 #1d59c79bce6ff757 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 #4ac630b690a48cd8 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 #5f188cf706b70cff 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 #16b74a231854cc56 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 #2085b38d2453b4fa 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 #e109cef129b7d840 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 #9fed4a52c0a3bd6d 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 #36b27eedef064962 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 #782002ce8783bc87 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 #f0a4a1682d06dd97 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 #520dd45003c47817 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 #51d2c724e31ffa98 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 #3d0438fd2fbe3f48 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 #4d7f2cf3cb63065e 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 #c0aeb575cfed37fa 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 #76ad11b0702e32ed 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 #2b64022e79fd2836 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 #b11faedb3b2a022b 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 #60b5389614d13a53 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 #5442ae0220a3ca36 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 #a384462dfd353fd9 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 #fda2a1f2536dc813 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 #d95c88b973bb49c4 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 #c3f2b9472205810e 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 #64943a35cbe1cb31 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 #aa0eaad915d5034a 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 #72d89889d02cc2a5 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 #5718afeb73183a6a 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 #d75ce3d89b66da2a 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 #e11534020f9b7123 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 #4e8eeb074a5ee2eb 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 #e37b03234f89ebcb 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 #c5c42eea3843f085 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 #3764de32823b2d97 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 #70488945d91286fa 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 #11ba17dcab970979 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 #76a72d9544648942 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 #a9b25408eb7b7723 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 #7d487db8f702e2c1 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 #e293ad16968b0d4e 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 #5c1fdd9f595bb154 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 #5dd779d214b554e0 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 #4d2efcb551c9b24b 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 #fa8c0da055556309 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 #4dc72de9c2c53e06 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 #cb3a432bf72aa324 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 #165bbe4d5ab86a29 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 #aa48af65316d0450 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 #de546df592d4b67c 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 #8313a434c7d0487c 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 #3091f6a2245745d6 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 #4934748f96a56ad0 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 #6d91caa9017d69fb 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 #dd878e3abcfeb57d 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 #c6efe4bfec0cd1ed 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 #ecbe5dc002aefee9 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 #915a60eae8f04585 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 #3cae8f19e05abd16 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 #87b144aa2bffd8fe 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 #4ef7735c6196f650 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 #41ab0e3283e44cbd 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 #f783bdf543841cea 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 #8a5f1a736c13dfe0 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 #d0482e96738934e4 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 #fc2fc2e9ecff1781 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 #1f8043dc418d740b 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 #2aed260ea98ea0da 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 #0663af68278f5d84 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 #9df8b03387ec8dda 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 #d27d63e6ce8ac1ac 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 #9fd571add4b05840 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 #d889e253883b3ecb 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 #5b26740dae73465a 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 #09cc2c124dddb883 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 #dada22290ed15fab 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 #95a4ace3725a2e2e 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 #5ac17b649160767b 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 #8b42ce67cdf302dc 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 #8356c326353cb1e8 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 #2801c10326361626 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 #98939ce7eeaf420c 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 #1bddd5ccd75727e1 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 #cbc720961b7e06e7 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 #ec49dfb9834605db 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 #5fa9387c024c3d95 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 #c2de6e178dbe7aa9 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 #d809bb17559f2d03 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 #db1e73562403497c 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 #22fb6c2082f7e411 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 #5d441952c4055b9b 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 #bcdf11d394d9ab85 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 #0b1196adc19695a9 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 #66ae790a7c84a619 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 #5a261b2da8e24b10 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 #9aee8c688227525a 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 #9dbf7804189c1ad2 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 #edba7fa649d7c2ed 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 #a204ecbae7029936 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 #465a63163e203844 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 #0a6809e1fdd85f60 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 #ab9d535fdf73b3d3 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 #a2fea81e26d747a9 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 #46f681450b793b41 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 #c3c7325870821983 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 #893ab9ccdba5dd8b 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 #f812018266e82ba8 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 #c2f964243a43d148 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 #f64a455918682bb0 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 #a4d172b7f6efe024 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 #0314404a62161233 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 #206a624589993a63 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 #2bf49ab62609071f 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 #5a8733aff47b0c56 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 #f023a06dfc64626e 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 #21240dd93cc54c7a 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 #f082b60942a76115 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 #d99ea65a8a106154 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 #94b7474b08cfc584 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 #1f1281795acd75bb 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 #cca837b6a7b757e9 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 #feab2152d0dd605a 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 #db97063a7eaeaa8e 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 #48f813614c4a95f3 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 #338abf6a0310582c 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 #2570ebf40ce2f181 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 #82e02ad281d69df3 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 #6b6aa5eced47d396 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 #fb97b8b58fea0ad4 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 #efafd33c2a0b8b8a 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 #aeb8e17c2fc35948 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 #2af823dab4b18684 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 #6038502f8a4fb168 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 #e447dd24f0f0c690 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 #0cf1532502543e49 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 #eab9c4f1767b7464 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 #ba1e77a4e3e7cbca 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 #aea55b89589ae845 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 #76ffa30762193a08 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 #a0008e989291bf60 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 #a279ef05974be8fd 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 #c2a61f30e31056b0 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 #27a827a1bc7e9be7 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 #4b09bd06b5fd814b 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 #6722341a53ada39d 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 #5b29919d48c9ffb2 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 #bd59c0f2f9d6eee1 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 #3c6d5a20e74313f2 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 #e3e3c3c0e25ff4c0 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 #b102d1b47d56ddd2 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 #28e6dd3b61b987bd 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 #cfe68aefadcb22f4 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 #05d09ccc0e278b54 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 #d2a9deb8f00f8335 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 #5cfb83eea30b40ff 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 #c732b5c7bfbbb530 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 #fb72c2baa92f9af3 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 #6b03199f242f0a5c 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 #ec58f940157226f8 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 #0a938d82599ed9a0 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 #641474b6c5c7e4b1 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 #740b4e6a8e784f27 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 #b735af925941bf0a 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 #da0cf6049b7a13ce 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 #79cbc5640f0bce1f 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 #0d68f7e3d642b3d9 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 #711a0bde4d25369d 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 #660225046d89a067 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 #2e0e6ebbc30ee136 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 #98c32ae10ee551f0 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 #5c5674cc5d8ab9e8 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 #98968ccccc67c125 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 #766c4b1e9dd579c4 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 #2cc44cdd550024e3 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 #d4efeb65eb3090ca 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 #1c68cdcb4cc7e939 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 #2d5cf63ab83a312d 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 #dd69456c6308fa8d 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 #47f1cdce8dc51fad 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 #feb8f5df51c84974 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 #35035b327d32b702 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 #ae779adeb0660e52 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 #8855e6989fb1cfb6 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 #249f43fde3eb52bb 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 #45200f8ac93aadb8 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 #cbf0ab5297d0ee83 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 #28a1748dfa5b305b 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 #98fa94f334d392ce 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 #01467bbf9ef00721 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 #e3bd722cce5aefeb 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 #56fa130e89347d13 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 #27d45cf83a96c6a3 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 #62b33797b3c84197 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 #40dfe91228ce1f01 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 #ea6212f2071be06b 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 #81b0c9a2ab54fa4f 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 #7b5473f0144444bc 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 #03cab8395d3cc1ec 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 #1cd495a5b3df7c60 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 #8c60fccd9ec9fb66 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 #c7fb5af292496ba7 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 #e3b26c4542e751f0 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 #dd7d148ef345825f 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 #62e0d6de814b581a 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 #5143332a5b0f29dc 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 #7e0a063cf11797d6 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 #027ed91b584b60b6 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 #fc5a4c7f7d43eecd 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 #0602954a68aac3cb 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 #b6d8d8f8da9ad65c 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 #e1b3838d2876b207 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 #e25fafaa87a4b063 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 #1788ff1b0b79eb17 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 #59ce4984e021731e 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 #f82fff8538f79194 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 #4f7726a694ad9b9b 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 #b8362b517e6dbda6 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 #e424723ff462dfaa 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 #613f82e33d57025f 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 #67b8ccf748f94835 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 #be44b4c62cb76b3e 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 #f6244a5b6c450c55 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 #6514ce71feb6f663 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 #b240ef0804fe3fcc 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 #03b96eddbf6f86ae 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 #85fe1ad5724d0db7 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 #5121950f8fa0dabe 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 #873f9227b9ae09e5 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 #973c57230b8b02c9 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 #10d19353dd4707a8 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 #7eacaffbeabeddc2 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 #c65250bcf80e85f3 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 #17ad0e33e2024b2a 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 #7e6441bcbb21f8d7 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 #ba2b660f1b2dca69 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 #2d5883e8beb1a174 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 #5e4d095e52635fe4 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 #caf58f6f01f039ea 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 #be7e233bcdcd0579 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 #647b1ad47e463878 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 #2e2604e4e65f82db 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 #84b6a88b641b0fdc 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 #a9007577f1c8ba0b 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 #4e9c8dba5e267ff9 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 #518131d1629016e7 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 #bb1434c984a6d659 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 #0f5ff9e8bf1b0db7 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 #d8e5f55a88a95c5c 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 #9629b6847ebecf49 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 #b6012fee77c0be1d 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 #0352285b34432c59 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 #a73cf77a30230824 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 #50c76f846e420776 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 #6e8dd765ad9ef2f6 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 #12039f57afdbe7b1 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 #42da33345117cdeb 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 #34094a2ed6efc1f4 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 #1a2e9016e01e9016 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 #8ffaa02d6a62a7a0 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 #4bd129fcf7016045 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 #1f0345fc697138e9 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 #37a465f2f37bbe31 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 #7e56824189c82838 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 #4850cd8651b0743b 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 #3c9c5ed72ecb5bd5 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 #553772b7f2a40970 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 #55e6197c8e6fbb5e 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 #c4f8a6efb16397b4 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 #0c41a0744d4c6b73 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 #ae8e9a64e639b2e1 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 #e3788ffa4ecaf248 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 #7ed27d3134861548 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 #a4692477e6b4f627 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 #684d39bffd3c36dc 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 #8d182570d5f8235e 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 #5d0ea309f18c63a0 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 #f2b5a826afd83306 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 #950c44dbb32c7562 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 #46e310f5ac860411 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 #cb880f0a173b4851 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 #9f31f172c585ee80 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 #ba7a8e102f6bcbfc 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 #d94f5b4d6125202e 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 #e6bf574744dbd918 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 #ee7339f8e6883b9e 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 #70b7b62765dad294 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 #5b8857c6fa0caa74 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 #1deea0fc49649122 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 #53c9f0083dd81414 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 #6a6ffd9ae15bfbb3 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 #60ebafd5a0b61c85 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 #9a398cf803dfb2ac 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 #25ceaa5688503d75 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 #fa99012821f986be 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 #8eb4fb42ec2a9e6e 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 #f60e771931ce0ad5 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 #8e4efcfd53c6d458 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 #c22fff24e9d74027 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 #9185ec4a5f39d725 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 #23480abe63a1876f 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 #9c110c473b41aca3 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 #4d352ae916d97851 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 #b599619719c9e90b 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 #fae9d9840385c045 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 #e9820077ec77701e 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 #1c4ff59b00a7b032 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 #3ffb59c9e2f61151 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 #31009912066c5870 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 #60c8259b7cb370cd 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 #d4250544f4362921 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 #101ee0b4f2a48e20 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 #be104db386cd73cb 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 #0ad810a8c0506f38 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 #01a26f2f165cb493 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 #3b0b1634c120ba59 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 #b42f8480d3e60883 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 #8243441a8dd8f59d 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 #042195296c7df2d7 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 #59d449531af89c82 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 #a7247bd7a7e0b740 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 #4f3f14fa2e5de79f 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 #b94902a46a54a35f 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 #76910f6d4f07f39b 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 #b22889593e57f03b 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 #5f18eadf51309d59 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 #efe933c677e76c6a 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 #365ec37f0854ed5f 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 #5af5559218d4b29c 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 #e3ccf089c55d0c41 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 #d99c6e7b7030e2bb 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 #c1bd1f0349bbade1 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 #1bcf3c50cf8e8cf2 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 #41618aa8b3cbfd63 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 #91aa92d952cc5403 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 #85b2744d7557d3f4 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 #02fff1e281fbf49a 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 #86096b6e97f80a99 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 #4fd95836c9b5810a 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 #420967e453e72dd8 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 #cc6d918cf88dba7d 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 #aad85d55d3452714 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 #395316ca7539574e 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 #6b383835f7053539 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 #63a1a9637282bcb1 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 #a8838d1383730331 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 #560d2ea150666b24 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 #3cfe06f0b1f88b6f 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 #59ceefcb67a40408 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 #2b99f2c1a54ed145 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 #2bcf0bb246c7ada6 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 #6f5cd9617d2e75ee 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 #ae137b280329b22c 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 #7468d0e7e42b2bc4 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 #3d621ba81ae825bc 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 #ad117b72296c8cd7 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 #f473cb0f08d0eb78 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 #4bf362670af8e966 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 #0b186a6b10d5683d 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 #fae4a9b7fdc3d93b 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 #fe47ee27167c2dc8 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 #be2764fb6575bd03 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 #b2270fe33281e4c0 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 #cf5506fc1e50f380 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 #cf53710598d39f58 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 #c4aaeba1d21e5dfb 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 #50957e690fe4c7c3 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 #21e0a04b2383d94f 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 #91cebbb490d60ed7 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 #123e3dd2a14a8e8e 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 #d2e3307ef3ead9e4 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 #5e329a0436b8ee10 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 #83e0776bf8ffe972 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 #9e7ffc6fc0e662e0 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 #4a8509ea59c12ed9 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 #30eb697cdf220643 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 #e066abdf26b90f61 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 #dbc4535f2609f0ce 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 #a90b3b65d29b2ce0 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 #52e7d0096a326cda 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 #ff892fce0f4a50b7 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 #3236e54dfc8bf738 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 #fa9f031c6cb84881 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 #329efd5d29bafb5e 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 #f0f4df4c2684fd50 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 #66ad81b06019dbe7 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 #4d9cda22224e5ed8 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 #ce1a98a66e8a03c3 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 #766ae1e9b39bce35 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 #46b4a2450c012d0d 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 #1f6f4edb9cbde56e 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 #211598d3bacc2bf3 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 #43b2edf6dfa0976b 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 #64ddc7adf4b155e6 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 #84958920f416b92d 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 #39675d3e8a32eb4e 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 #464ea786f7eac1ce 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 #7e6019441f4cb710 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 #699ed8ba6c92039d 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 #ba35a8f3c8c0ff6b 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 #102af707837183eb 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 #214a343300664e53 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 #ccf82bdbe9278cb1 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 #b22380d7c74311ae 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 #34b118c2b521a776 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 #3b801738f56ea49c 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 #e90a150e2627d951 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 #c7400faacf513498 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 #c793289f4f64a5c0 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 #b116711c6f4fe2e8 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 #1d65f45f66ee0039 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 #86ffb4c077d424b0 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 #9ccf50a518358a2e 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 #cee110c974548280 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 #7526e3a3f035c6b4 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 #a625dcd6d93d2f49 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 #5ea41c87f74402bb 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 #579cbbb864106fde 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 #16cac0ffb7234ebf 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 #681fd80ddb132798 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 #ebbe67978f976750 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 #18fb61a0a0d2c36e 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 #e827f10e52faec5d 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 #49ca18a4d5dd617e 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 #8bedee51ad36c951 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 #bedf4f48cf8021d1 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 #a198b29deaaf43f3 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 #70eae07fc3f8833d 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 #e7fd021703559dca 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 #9bfb20c09c4b1b3b 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 #d6e2f301f3b1f3d2 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 #fbb6878fa7a2618c 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 #65a0d79bd253e068 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 #dee4750e69c233d4 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 #8b4a108e20ae8a3b 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 #b341205d3bd99f19 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 #eafac17c20c732e6 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 #239973b737061dc4 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 #636ac49dbbd9b900 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 #c55af735da8e9916 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 #b1ed67d98ad56656 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 #730733d9aad78b1a 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 #8c27c71d03468a3d 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 #84bd361fb4decac2 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 #89f659c3fdfab02b 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 #5fe44828a07b139d 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 #ab90b90ce4d7feb5 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 #316a3d4413873337 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 #44ca9849243d6cc0 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 #91ef2a62061795b2 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 #71865ed0300721c0 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 #c3cef6fd80f47450 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 #6ef3af3fe99ca9e7 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 #a8edff3700a00078 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 #5e2d7a7da7fcc947 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 #ce0c5de4b2f2d4b0 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 #85e038084b96db35 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 #a033fe5d36cd2981 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 #28639403cc89fd01 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 #c982c9c649ddee0a 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 #9ea2646535db9a92 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 #5b09b2d9bb22d163 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 #e3140938d595c76c 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 #7e09ab9e0ff2ab96 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 #8564b939e79657c9 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 #46e5c3f2440dc496 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 #3f7411de2402f52c 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 #905808513e2c4cb0 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 #3d167bff4e0b2869 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 #deb20bdc834fab68 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 #00357dd1eae46891 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 #fa848f19ce04f067 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 #7cfebfce6d595c77 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 #30c00f4d68ff1509 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 #dec9a4edffe7234f 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 #bbbd29459e681200 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 #0fd52de9e026111f 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 #a859653c30969606 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 #1a083a0f713aabae 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 #fe0975d8a23e4a2d 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 #ca5dbb31a4643155 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 #7530955f68970d30 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 #4e720d7044382c1f 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 #c585c1d0bac820ab 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 #9e446b85bbf230a2 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 #ce21b6aed7e33887 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 #7d847016f7f01ab0 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 #db0d91f2074265a0 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 #59dcb51e4420f445 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 #9db17c13c302b15b 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 #958848df08c8ed49 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 #8d47b912e8d596c1 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 #9cef7772ec9d9d95 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 #728477e214df5b94 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 #21721997a43afd4d 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 #d4a3df40ac696653 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 #2443979f986541f9 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 #5016270d9c7b07ee 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 #c5819a248df79000 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 #e37795a328d0fba7 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 #b5106d287ff56f7a 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 #c2f3933b6c999340 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 #c24480679d0c9d36 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 #ac3cf4c6971d9d1c 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 #338dad60715130b3 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 #b02246ee69fd665b 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 #ae2b74877b72b9d5 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-r2ofuorh/repo/packages/a2a-server/src/http/app.ts:228 → /tmp/closeopen-r2ofuorh/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 #aa133aee73c2dbb1 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-r2ofuorh/repo/packages/a2a-server/src/http/app.ts:228 → /tmp/closeopen-r2ofuorh/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 #7a59f397e72f551a 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 #d9cfd17a178525c8 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 #c838106bfa1dee4d 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 #bd64b40e77892d16 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 #7dcb112a8365e326 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 #52f356c761945da7 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 #28dfbfc43ce1cbb9 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 #360f7a5e9a2b3297 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 #c3e3afd09c27ea73 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 #71d07525972eeb33 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 #3fd71cf4edef35d9 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 #8b4b633a6901ecc4 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 #249ffb66bd6fab80 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 #a2d83d5df40ed76f 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 #2e99b15b50ecd360 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 #1a16dbc09eb99cd9 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 #8e771bf073666b96 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 #6aa24cec70717064 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 #54a6bb4593e7d01a 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 #94fa4226c47a9fcb 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 #8db03e804fa94455 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 #df3c642ff17d8569 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 #5c45f21e26e0dc59 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 #a1e3a1959e70526b 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 #e730b22fa7f22aa6 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 #f1e2d2b8734c887a 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 #18b6042f7ae66fe5 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 #fd195a298ce4c588 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 #9199c79a6f6d850e 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 #c39bb3982ae477b3 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 #6cdf994e07a86188 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 #91b37b15ab9ac918 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 #e1537d9379989b8e 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 #9b4c64a4aed48d74 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 #2d4b41a17151504e 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 #fa83be89a383ff78 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 #0ab23cf698fd47f9 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 #6e16a1fa629cf110 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 #4c6ab806a5bae041 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 #3bb589e479f5d3e0 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 #c401031edefc9278 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 #5fe05dcea3f62486 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 #1897193889774bf0 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 #4d31f59ffeaf59fa 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 #4c7c8f2be9422178 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 #4dff878b1b7722dc 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 #be1191e83db3d83e 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 #0684bf544c5f4f3b 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 #6e8518190a3e6683 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 #aec2e7c79fea097c 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 #1325f775b49b62c0 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 #f0e5737ac0b976ee 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 #77b878f6af86d9fb 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-r2ofuorh/repo/packages/core/src/utils/oauth-flow.ts:472 → /tmp/closeopen-r2ofuorh/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 1108 low-confidence finding(s)
low env_fs production #255e71acd68a7459 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 #14d89558d243df21 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 #b90ec8769460c84d 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 #b9dc851f45cc2e8a 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 #457df6c345d5eb0a 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 #ea8164b06d717d63 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 #8f5749c1ca9ad752 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 #5b6ec87d4ced652e 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 #377a0cc978a3e9e1 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 #62d547cced4da7f0 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 #db3dcab23b08fe22 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 #e39492a98c9be9e2 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 #ce411b5b17ff37ce 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 #bc966cdfb460edc0 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 #bf8d4552cb3c48f0 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 #6da14ea8f230519c 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 #fe39cdf0e9412257 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 #2d3523f7856c2fc9 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 #f36b730cd7a153b6 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 #b9c2827d713c6082 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 #607f39e21c95ce7c 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 #e603deb9e494b8bc 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 #66547cfa910d3628 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 #4c76c66f06cffb4f 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 #531eaba7d10f9090 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 #bebdeb942b044f8d 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 #aef8d61b965e2152 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 #498e2091006a8e72 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 #f5000f56dbc0097f 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 #4b5830073ddfa0c8 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 #d68703a685efdcb0 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 #cd2d623f0810f550 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 #2abb11acd8dd716c 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 #df5758fb763c7940 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 #82b8b7beea31805b 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 #56ae34f2013308e1 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 #97b981b96b7aea3e 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 #b044c6fee06c6eea 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 #8fd28aa4c8230d1e 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 #64c39f46898fcdc6 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 #274c79c5080752a9 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 #ec71338e527e0d3e 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 #3db8450d3bafe942 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 #891b6d63e0f94830 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 #aa6c11d614788057 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 #1cbd1e59dd8fe108 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 #5346916b2b363074 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 #2475653310903228 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 #f39a1afa7cfb5cf5 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 #bc74867c1fc89f73 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 #4319ece5936c3fbd 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 #38c44d20b17f7cee 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 #f7eeb6e269ef6308 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 #8dde1ebfce529c13 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 #87325e233896e1c1 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 #3417dd0604822bd1 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 #24f860a75a515d56 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 #7503f2e83d6fc20e 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 #f938887530ea636e 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 #7eba4369baa812b3 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 #9ce95ada34cb4363 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 #3f250b7a0c0e7e95 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 #cb6a73e64ddcb2a6 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 #0e39633c1ac1e9fa 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 #1af5fb8b313ccf6e 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 #d647d918490fa020 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 #7f14d21f5a428655 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 #0c6b212bc46d41e3 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 #cff5235c75b64189 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 #8304ec61b5e8812a 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 #eb13859e47d7e6be 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 #910b31617a03eff3 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 #73728d7f2308dac0 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 #851d21fc4e42c4e9 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 #400a26f1972b38fb 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 #c69100a764b0b6b6 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 #b9ab1cc194bb23dc 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 #944a557ce28bb4c0 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 #2a5903330d803912 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 #e17e24734726fae9 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 #77f0840efb61f38e 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 #c64ed2f0f4dbe4b1 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 #faa5e1b86e53c0a6 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 #6668a763530f8445 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 #2654a60e84874773 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 #bb7f88e1f0300c36 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 #1bdd8ad968017366 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 #437d5544198c6a36 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 #d985c3657831739a 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 #3d4062dfb4070c57 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 #7b1508b8a891a91e 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 #e9b8b8c177d9d905 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 #a077c4611bedc923 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 #1ed55f533b270d64 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 #5caf3ec6dd8d4e3a 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 #97ad0848548037b3 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 #5cf1eb6e1bcd0577 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 #47da38c047732461 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 #1431a1acfe2b3d29 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 #6123c6810d5a8fea 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 #81ff69bd61fbeb9b 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 #97a32420e165c360 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 #8f5463ed45513542 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 #7a6160ea900dc284 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 #630d184e353469f0 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 #c1314b4d33ab333b 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 #023046b757aac062 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 #02070b45b6accfca 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 #9de4c3f799b9d0ab 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 #e581528472ae1eea 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 #0a6e9a92452c7862 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 #2eb2f64cf62853ce 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 #264de057766d2748 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 #6bcbfa963bba2ece 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 #efe97c6d6a7aea91 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 #4c4576dcb5de0b98 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 #a3e9238548b77bf0 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 #a4d73dde1c5103b6 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 #10aa1a1e4be6b2ea 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 #a26336e4c1e928fc 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 #70d522224e5a7f48 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 #ee4e7f798869e5a5 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 #2af487089fea3032 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 #e8826fbca099fcee 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 #db85f5a7a128cda1 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 #620aefa054af5ab3 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 #2881b0fb11119e17 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 #479a99b497a714a3 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 #e71d9652de52955f 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 #e1084eda93a3f2ec 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 #c04518f16045ce61 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 #96e4aff57cab90a0 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 #08bc6c0fec96b0c5 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 #98cbc926fea691ef 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 #f401a5225a250570 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 #6eb03d6e5d62dc4e 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 #bf1908b31b318d47 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 #efc1656e97c955a4 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 #2ce04783f18df2e5 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 #23637320a7c63a05 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 #363ae5663ee2464e 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 #87502217be76413b 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 #9671d6fddcbee687 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 #69ea57730dd8f33b 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 #938fb8e1c12a100d 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 #b93099d735dae95b 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 #f6b3b77ddc695dab 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 #f387ff43b6bbd658 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 #8f135863fe676e3a 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 #0bc77c5cd590d443 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 #6a2aada876375a58 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 #16b852452c9fff6a 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 #f76fc90a01ddecc1 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 #36a376ed7f3c9068 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 #8c8e467266225a30 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 #25842e05a9a976e4 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 #1c5c2833539eea05 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 #1f7f7d8ac89e58b9 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 #0c7466116dd9990d 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 #ce6a1ed4f2eee679 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 #3eb0475bf36ffdfe 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 #66c91f1d225151ff 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 #8ad701cc1eb662d1 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 #aef95f90f694c33a 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 #d7e2745d70f11ed6 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 #4b5126b2cdc9ade4 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 #16c9e89145a92381 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 #d69863e627f8f7a6 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 #792046ecaa5c6fee 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 #7e8b9e0534fae7e2 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 #784132e4f9d33438 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 #92f44fe9d53142a8 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 #00f49c395c83d17e 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 #c6c3a80a309b5431 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 #02a9a9c16dc60bc6 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 #cd19ad6b3f694e4b 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 #6999b57360230525 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 #535c3107ee9ae95e 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 #b120886005c478cc 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 #a1b01697a76f73b0 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 #74d86aa717cf3fae 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 #8f94fc0b676edf04 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 #aa0de5678400c2b6 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 #4b9a2e3aecacae42 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 #626ae9db9a3d9844 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 #f6347d232e50e31f 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 #34953f662cf0b22e 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 #31a846dbb4ce4ca9 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 #0befbd31310cf9de 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 #1c0c5e0853583d9f 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 #8b1438d40ce5ccf3 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 #70e80025f7d70998 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 #41d2a79e1cfcf086 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 #9cf177b9e1d41964 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 #d702a30dac0aa2f5 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 #789c1af1d788c4c3 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 #e117a608b3afaddb 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 #99f513a01318faba 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 #b86827ba43d6f36c 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 #80b0ee8944930049 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 #c119d9d21d90e0b3 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 #9ed4c73f389e92c5 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 #ab4e286e1b0e0363 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 #f9099725d8a7a09e 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 #44a4fee3a30131bc 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 #2a406dbb6cf316c7 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 #b663ba6cbc7cd095 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 #c5749558a538ca9d 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 #3148289b99ca07aa 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 #58f9ec21c85fc8c6 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 #07a1fbe10166bf65 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 #2f7ff1be26303333 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 #506ae99a179627a3 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 #754919c5d7ef05fb 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 #d25a4c2347f07b64 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 #23b1c2f1e7e22654 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 #39a51417a90b3995 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 #35133214cf895149 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 #dadf982c369a9149 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 #1bd3c20d4719030e 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 #13b4a394f9596423 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 #1151a5d2096bc722 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 #6e4865d12d052153 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 #2e825817e259b29f 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 #70d1b974244c0e78 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 #bc1e36cdcccc4505 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 #020eb911e45ae4b6 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 #cf425f1e54ec5102 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 #10727e7e7c73555a 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 #8bcc059922efe8d6 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 #171dd37bdff0018f 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 #76bb740b928e94e5 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 #51dacff3ed9c6826 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 #4dc0da566a1d4b6c 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 #373832e187dfa968 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 #0b3849ee34639513 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 #cb36da9b98a23fad 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 #6b7e56c18a94ef5a 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 #6c4640fe9f21eae6 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 #67ffe58310f55ebe 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 #f7d07988006cdb02 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 #4b2ac99cb0420e4d 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 #c7e0fb844b303df3 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 #5236af2f8b849d3e 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 #fb19a0d97c48dbe8 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 #3a3dcc98c86272c8 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 #033006d600c0a182 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 #825882df12aa0423 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 #d8d8ce40e21876fd 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 #3695ab0aa6387485 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 #2959e600f3e9e2b9 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 #7bb68e122326b464 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 #3c4e37ec9310201f 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 #2becc16392f9b3b1 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 #c512cd6446879abc 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 #e8999c4256b3af00 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 #843e82caca5aad21 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 #bd48600a3b5348ed 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 #b19a6acca67e2554 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 #dce7e3d7d682d4d6 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 #75a61e8b5c4622cb 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 #7055d37a7abe0223 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 #9a31fbc77f6a2cc1 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 #1999c8578231c536 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 #2fef2654ebcbbc8a 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 #f647ae025afebf81 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 #60f8e7c620dc1fe5 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 #c3bc4db9f1ff3eb9 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 #70280a5fb2165880 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 #b8c682ce240e7107 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 #8b180f0d2c2bc7e0 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 #07758a84db7e2b85 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 #7bca87991c96d5d4 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 #c4b246c1ff0eff91 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 #444f00b158e17cd1 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 #6dd1f0c4cffea430 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 #06c17f541f22e307 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 #cd337d14b9c32a2d 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 #bf9c1d5e994d9738 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 #3587c68a2deb2fa0 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 #0b71dffd0542e80c 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 #026f5f14524fd157 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 #7d9b041ffbf59b17 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 #900948439846403b 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 #dbaa41f748b02fa6 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 #2d4127b56eea5573 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 #945c462f5b170978 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 #f9107f94621ac1cf 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 #e137e4cc5ccac34f 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 #4013c8a8d2369710 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 #30f6f8e24173b28c 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 #591102c964cd1c18 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 #c7194735847bc592 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 #a11c967ac853bf51 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 #96cf9b2be2d78e73 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 #101f3054cba56d48 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 #24fbf98a3bc3f8b7 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 #ae1b28d1c0027e3b 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 #b12bcccb32d70f89 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 #416670286c1cfc50 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 #66bf97d43fc0815d 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 #d92b7153b730cf79 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 #f75f4262b2eca811 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 #aede99a2fa3611cd 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 #9e75106291645320 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 #511cc685f202a169 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 #e5df600ec1adda07 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 #eecd7853a05c5d42 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 #997040b9242809d8 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 #e73d7e3bf2ce0658 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 #c53368ed4f27fd10 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 #462b80ccbcbbbd7c 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 #9b0f74bf33d63c05 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 #d4545f6db850ac1b 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 #3cbda6036c338fc3 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 #4b63565670e4fa21 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 #ca264bc5cc0b0dfe 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 #e76c6db61168e737 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 #d16c1862cba751cf 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 #b1a53dee494e0985 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 #fddd5c6af296935d 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 #bffe170edfcb219a 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 #d4d0b857d0d47cbe 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 #94abdfe80aa6579f 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 #ec2a63f699f981fd 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 #d90d7ef530d23aca 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 #6b3473a2aba21d66 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 #5b1a28b2500a301c 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 #34e24a85aee5c711 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 #42e04b3250c94c48 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 #4ada58907143d230 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 #aa9631c3d1cbf271 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 #ae5d19ab488ac093 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 #6f7bcd64ecb53bc4 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 #8c885e369e43b3dd 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 #54c66da01a8f9439 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 #6cec40084ea5ada3 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 #f10d3ceacc034f64 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 #53d83b5af85771a3 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 #d38bab7d094a8084 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 #b167d3630afeb533 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 #7faba28a9fa704e2 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 #03cf8eec19c127b9 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 #fa2541b21c209539 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 #595eed353f26cb2e 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 #0c602019ea8759a8 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 #870a147c313f77ee 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 #99e3e66ae1783bef 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 #a3c72476316fa5b1 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 #820138a6456d09f5 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 #b66f5e150bb1b56f 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 #d51bc41d8a4fc02e 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 #5d003932b82b33ad 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 #a38731ee93503724 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 #a81423e703e20d0c 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 #9e3487d635185f8c 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 #dff0ea537405b720 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 #b04dacc2a0a2e028 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 #cf6082a956127e70 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 #478af97380898b96 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 #52e0039189a080de 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 #7c4c891c40a631a9 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 #6c9d6281d8256f34 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 #6d402643c6c3241f 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 #0a335072e72b6537 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 #276d1a0482ca66d9 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 #f48bc69242002098 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 #c1ed0ffd10c59f39 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 #cec8a388531dbc29 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 #2e1f291d5ded4875 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 #ebe6b0964c14ef2c 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 #85bc22c9fb49dd6f 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 #9a9708ec504c3248 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 #38cc288609959d0d 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 #5aa9de7cad660adf 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 #c7f48c97a7c35dee 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 #68a30a23ef1c56ad 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 #7432041837224677 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 #1baa078bd6df13b6 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 #64ff15ef29463c90 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 #5f4f40e6414511c3 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 #27399317a96999ce 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 #d2f4f08d130b42ec 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 #36352dca64f91a09 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 #87c9d8b225cb292d 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 #fdab77978487255b 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 #6f5937571fdc23ee 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 #cb4abeb17800414d 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 #dfdcd0da7032becb 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 #070e57de6c77769d 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 #21e0d7bb6b36354a 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 #86e97ba955f08dd4 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 #0b1d468d5e89efab 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 #81add4d69da21f76 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 #b94ffd77e7da778d 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 #a98745220fc8a840 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 #59946c0d31fa4dbd 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 #1bd0248e137f9053 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 #92609896363398bf 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 #583fc747f375ce02 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 #8f2b08c625e67bf0 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 #50ec2a4f2209bcf4 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 #58fd4032f29c215a 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 #c1c575b22fa6d53b 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 #b48152a8750b6473 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 #a61cc2558a645288 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 #47c08d6aa26784d6 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 #890983fb15d47a84 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 #ed3fe73d1d66713d 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 #ff9d12b6ee9c9a6b 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 #7ff0cfe9e6a3990a 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 #b5bfc4902ff84913 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 #ff8757a6495d7068 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 #07c66860e10681ae 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 #77d13b6fa5810ee1 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 #79350e38f0b5c804 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 #2dde4d72fe66c3fc 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 #b0e4ad451f7239eb 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 #41f401759c76cde8 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 #c13a5158d7b06697 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 #9598389ed36100f9 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 #21a3ec5dd0f5fdf4 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 #07e1f4523dd26c22 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 #443d1a6c939d070c 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 #e5b1275959d04d27 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 #16390a731904a7e2 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 #f02353cdf635e226 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 #4dc72c59ece14340 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 #637f55d9ecec56e5 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 #74f81ca47ed01a3b 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 #640cdfa457e22b57 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 #b88493ceef9075e1 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 #18ab5ca237715dc1 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 #a6dbdce577bc4c1a 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 #59b51d365a4e92da 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 #a31d84af694e4c58 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 #afb254006879266a 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 #39dc3ef9a1c07669 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 #e7655e70c8ed04fe 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 #8859189f57cf64fe 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 #6b43770124d97326 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 #2dd80efd903e4c25 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 #ccbbb27b45632e9a 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 #d14f381acdab7b17 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 #8b53e505335aacd4 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 #6f1d66f62a771e20 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 #97287d39b95978c7 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 #36c888e3fea88c12 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 #e7b066a2e598aa80 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 #7c9ce85dd5955c0f 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 #6062391e5b1d32de 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 #d4f62d547f884108 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 #4e0197385342514f 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 #41143c163c3b9498 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 #0e8db83b22b7bedd 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 #9141df8d2793bad2 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 #4b3d652c6f7120d2 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 #c66ca5bfd8b6285f 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 #087097bf5da4a049 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 #7978ab0d3c40408c 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 #a5535c6b7fe75d49 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 #406022f3d3a0639c 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 #1e197f4273ce354d 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 #994b46798ce9f534 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 #ab27e51f0ba90108 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 #1a33c45e36f9701a 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 #560a0d31858d8ce7 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 #3a345c0f858862ac 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 #082164044408f529 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 #3fc333eef3a7b9c9 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 #0efef461dd177920 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 #2057f1f9ed99ee57 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 #f54753dd7012e290 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 #e4f52b8f6f488068 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 #bfc9c6ba0010dc4d 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 #83cca5eddf2e4309 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 #dd2cb249869c6e08 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 #6fff7940408edf61 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 #03cd4ae06b7fd9df 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 #fcf5d0b7baf97388 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 #95722e77e1310c57 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 #e5d2ece7f9239637 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 #a8a8f8c5a6ba9625 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 #07899cacf6365f92 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 #50f612aed218238b 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 #1e66a60952fc64fd 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 #436b725a5b0a30f0 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 #f3cee3db5af1ec76 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 #11bceec8c8b5ae27 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 #004c582be07da740 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 #e13979e6893bf0f2 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 #58e8dd86600e8d36 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 #09626dc04e67bb77 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 #b106ea9f94feb764 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 #e27e86363fe768ba 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 #198a0907fd86d284 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 #d7406110ab2501a4 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 #1cc7c4ab33305564 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 #baabebc1535239b9 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 #0044926532d0037f 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 #fa61e562f67a0eb3 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 #82127de57aced0be 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 #ed505e20f6663f08 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 #d04ebe752dc4909c 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 #f3c58e02cd2293ff 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 #0e3524caea35e624 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 #277cde9a5c82377b 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 #c39e3a8da2e63540 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 #72e2dedb4c957661 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 #6585af0e2cb2927c 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 #0bcefffa680c46d2 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 #2804ad1a0c26683f 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 #b13cb585987a901e 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 #cd98d61939dbaf51 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 #c95bd031c677ca93 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 #94efd318a166a58f 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 #24d61b81c1f32b8c 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 #aac086fcf6ee972c 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 #885b30b9960050f1 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 #3512c34a7b586d20 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 #00cab4d9a2ad4ac5 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 #b75ece6a52b2816e 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 #881b0bbe56426df1 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 #de826a36292c1c8f 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 #14cb30097a884777 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 #47fcb91e51182f10 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 #a2490d783f771b06 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 #5209fb2deae7c09b 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 #68a1ae6a9aefaa36 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 #bc9e53ece8ab8711 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 #8e218b06c0ebf7e8 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 #5d309d6767a55714 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 #963a60938d394782 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 #339329d3283ec814 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 #ac08fc5d6f57fe63 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 #4ba4e603cf6b737f 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 #fc71f7ba3e3338c3 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 #67b479c0fc0d3245 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 #53c5ae973c7e3892 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 #bc7268f8fb3891c9 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 #2cdcd308f6f4a898 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 #c6aa2c19bb2d7f87 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 #65ca21219a15da2f 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 #c3a21aff26316a46 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 #eb65e96573afee25 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 #6a180b6e3a517ea2 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 #dcb0b856b9acbcfc 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 #3105ca87d992c8ba 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 #172375388d66294a 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 #d246c378f6d63cc1 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 #1df16747e12251ce 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 #c43a0110f7de88e5 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 #ca8eac86d656646b 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 #d507f22276c760ca 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 #21e21b563e3a9888 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 #fee9add5e8c2cbf3 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 #040c4426e4301310 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 #0c94e0262d52553b 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 #e20ffd4b35c02cdd 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 #0b34050fd45caacc 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 #7328453e39c5f784 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 #e8dc7f054060b17c 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 #394a4fe56cac665f 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 #16d516658f44acf4 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 #1e10ff6f318c13d3 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 #f9f8823e321bc303 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 #1eea446f5213f554 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 #a4635405b9495a1f 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 #541c4c0fe54f77bd 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 #b6a18aba111e6c82 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 #86a81d34341a390e 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 #cf23aa90b0ed27c7 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 #dfd547a8b5d80545 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 #54d14123f99e660c 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 #4f1394f3a8aba65d 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 #c344bc8bfcfb2248 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 #e043c6367487bd91 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 #bc5ee3eb9feba752 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 #935b7235d52670b0 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 #39794fd916df71ed 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 #568953737f009938 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 #b352f98d102e50ff 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 #8beba83a3419c45b 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 #482b5d4d5b93d446 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 #3007b7955a85e9ea 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 #938c5c184a0391ec 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 #1b0f9fa56ba4297e 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 #7f7fdd7ea6ab8741 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 #d83d0a3dc6289171 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 #11aa36257568ec93 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 #78a8f12395276435 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 #a0c488e20a24fd68 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 #c7d1352086ed3ddd 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 #fd4289dc531d2c9c 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 #ebd46c622d809f9e 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 #09b2bc06093328ff 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 #95be88122afc810f 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 #c2512055fcde9f65 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 #0b4aa403ef5f4c54 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 #89e6693e08c27b6e 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 #b6201b3cfb91b4e4 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 #853d42a120e2f5f3 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 #3798dddc922f9a33 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 #175b3c9d6b3c62af 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 #0610b05a4fe83878 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 #ae70e3ba124b1823 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 #863249b246599a4e 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 #97fb730227261ceb 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 #9da40200be80aab3 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 #ff4bf28def6a18e7 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 #a832e184ee2158ea 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 #0ed44e00ca16ad4d 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 #0440ae220e00e0f1 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 #ed174c199ed72cf2 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 #604327b5354c0823 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 #5c5ef4a0fd23bdbd 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 #e9d2f5627e18db4e 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 #11f8be13cca196d2 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 #e0a22045fedd79b0 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 #7c17c81acc4efe61 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 #bfd30f28abab8463 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 #023083969d1eadb9 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 #cc1be4cd2431b04e 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 #e164f840bfcfc6ee 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 #bb432cacb7ef87c4 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 #53d34b60854d1c2b 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 #b468eff50d165306 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 #59f47debe45009ac 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 #955f3d5376980d9e 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 #3debc0394d56d2a8 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 #bcad0bd0d986a34b 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 #29ca6e0d402a642d 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 #087e51895a10b614 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 #bd5b50df476571ae 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 #548d41fff42b6217 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 #76f1835976604765 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 #d7ae8dac866f5348 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 #3c8e35f1903ffb68 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 #5f9eecc5a75ea534 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 #30a6dde7ee5ecef1 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 #f15d8ad512e72271 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 #de049ef9857882a2 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 #9bc5effa12330187 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 #7a3adc94dce9c2f0 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 #df7449eaa60e9565 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 #f92367d78cb69999 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 #c6bbba5ec755758b 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 #5f44907ede5c56a8 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 #243fa937ceb18ae0 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 #27d59022a5801763 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 #e63bc58461c01d1b 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 #751842bd5209bd5b 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 #e773204bd4d02a08 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 #b19b7cb90700b176 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 #17764351b7a548d5 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 #ad0183bf24cc1ce4 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 #0147aa93c47f4153 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 #4a73ac3d73dcc1e0 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 #5113d57c74e68513 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 #0b0bf2bf37a09b04 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 #13a077da3c93cf00 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 #a37581de099271e5 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 #9e2e41f9592ae934 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 #2dfb7a053b0b6435 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 #a4ec0ff382fe9f59 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 #d659fc99aab2dd0f 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 #828a0cafbd1ed6dc 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 #97ef36a1627b67d2 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 #cf569a2a47e95f11 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 #cf8e416fafbd53e6 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 #b2d19de3d98ed604 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 #b27a2ad7050405fc 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 #f25cadcd25a962e9 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 #f5035b01fe9f9284 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 #0681ce8db67df914 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 #bb41796add7af292 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 #414000a7f1bc3995 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 #e84d309ad76339da 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 #502092c0dbc0c113 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 #c30a04ed5940eeb1 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 #1b7397bc6b8458d6 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 #ffcc80fa1f0b778e 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 #6c845f9bf7083ea5 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 #47044b8454f3021f 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 #97270629a3d78e23 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 #5cc33f19c42a7a5e 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 #29ceb1204cfc4b6c 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 #ad85207b419c7b6b 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 #02aee8763f4f5497 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 #f285e110428246e9 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 #dce6e8e4c9c2f600 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 #ff9a0c528d349102 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 #1e9ca5ff063b3753 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 #27b2f860938b68e0 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 #281867a82cfc8627 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 #03414380c4e541d1 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 #6259bae64d0bffa9 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 #ec5382301e08b230 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 #46823ff6f637b13e 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 #57910c7c1d67c268 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 #f9fc700a5e5e6b2d 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 #bad485105ce420bb 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 #0b167c0d02b31627 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 #42b25222c35afa66 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 #7b687a9e099c67f8 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 #a6905cfa86f96768 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 #49df50f238a2db27 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 #ebc939905c8d127b 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 #9c559b2def8dd9df 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 #c96ef8bef9a5da61 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 #d2e23a9d81362441 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 #f3cf97730bb6eda2 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 #a32e36dd0f67ee1b 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 #b6cf6709142bb18f 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 #14ba1181325618d5 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 #f831e20fcf69ba3a 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 #8d900d52d092ce5b 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 #28521be13034c195 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 #5c8249920fb325c9 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 #b4f80948e5306516 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 #606d8b9e577ec8d3 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 #b9bc486b88807bef 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 #77e8e0d4d6e3680a 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 #68fa6f0b60cb660a 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 #de6b102ed3db25ab 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 #05974eb1df6ab013 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 #c5c65c19db1a4357 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 #d40e6652160b3355 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 #cedcea1c5cd20234 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 #937b283113fa533b 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 #57d69b090208d2ba 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 #f243c257d28036f2 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 #c90c3d4dfbbdb48d 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 #5622a600399d3ab7 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 #e8778b401539b575 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 #7da6fe7d7e9e0429 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 #9916208ffa320f56 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 #20f79341488b0404 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 #886c6fe6ce6fec96 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 #f4891391f0fb5164 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 #df5a1396c6d799bd 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 #9d30abeeaeff1cf5 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 #b66e5969dace049f 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 #2bf8df84a0f22ea7 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 #155442fed9fa6746 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 #287c01256541a8ab 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 #41a4146a13a16c5f 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 #7da15b03137e7b58 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 #84e056a8bef1e58a 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 #3e32046b524a518d 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 #ab9584c6c145415f 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 #4b371abb44af7389 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 #9173b2a0d023bf3e 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 #a7e84c9a8c3243e2 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 #a46195cc1b95e1d8 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 #d55d75471a436f5d 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 #17b36184f7825358 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 #c994a4a8d4214d66 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 #41f2810f829edf61 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 #2746bcba3d593893 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 #47f113c7841b62ed 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 #41e99674346c1818 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 #622b45a3cf277914 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 #6743c59e04955cc6 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 #56abf9d2db78bf63 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 #ea279b4e983320bd 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 #c05825fc869a9743 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 #1de502b4da4c65b6 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 #10bbfe3d7cbb4f9d 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 #901cbba40a81a40f 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 #8ca579fe0b240e9a 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 #c10d85742e860752 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 #30e176518a421f8d 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 #14edcb76c3a5b845 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 #d76395d2e16ff873 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 #43026de2a34913fc 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 #822b6c6b1b7cf1a8 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 #f56b966850ab7313 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 #edaaaff5587fc171 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 #a0f92c409c953daa 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 #97c0403f058e0a05 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 #8879b5eb10313336 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 #7e97588e51cb5ba4 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 #e94e8016e31d5bfb 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 #b07c8d71c34fba63 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 #c34b67373e7e1609 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 #c89c98e710659ca6 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 #816c6a70b5f9a3ce 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 #7a457ea01c785ebd 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 #e7d5f0e40b24873c 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 #a3553dd5ff9f3d36 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 #8d05a75b6a24df6f 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 #45edf91c491b2702 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 #c2074fee4101cfe1 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 #69e8bd84dee273d3 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 #6a89bbdeead3ec32 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 #06f98654cbdef6d3 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 #1fb5a78e1f071b47 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 #b7907d5fe5874455 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 #fdfb84722363ed6a 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 #fb7fad4a6b95a30f 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 #835275b2ac161340 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 #3d9fad627d2682c3 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 #7acd26da15af6399 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 #f98338f4b73f3e13 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 #98e362aa8aec44f7 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 #4900d64e60c7d64f 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 #f224f47f783d2101 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 #a0aca2efa7f1003e 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 #567eb44490211792 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 #d06cf94fc5c6bebc 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 #4995b6621bd507c4 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 #6ec4b4c0a10a1aa5 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 #59a04945546b77cd 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 #98d0c2af2c883970 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 #0c0577e561a8d750 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 #6f3a27f20fff2a08 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 #42eaab4f8b6d12c6 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 #1df1ed92d1e45cc0 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 #779aa36ec1299eed 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 #d5fc1a767b0325d9 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 #0f2c0db3220bbef6 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 #c3feec4819e23c3d 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 #01d37bff3d76aae3 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 #10159755a59c614c 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 #3d373fef4e185a6e 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 #fb60d7ad07bb3110 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 #4e8e9e90e6d78c77 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 #3b1b8b2852799d5b 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 #abf2c7c6a36d8467 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 #adcf033e8d2c8a97 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 #1d59c79bce6ff757 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 #4ac630b690a48cd8 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 #5f188cf706b70cff 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 #16b74a231854cc56 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 #2085b38d2453b4fa 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 #e109cef129b7d840 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 #9fed4a52c0a3bd6d 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 #36b27eedef064962 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 #782002ce8783bc87 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 #f0a4a1682d06dd97 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 #520dd45003c47817 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 #51d2c724e31ffa98 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 #3d0438fd2fbe3f48 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 #4d7f2cf3cb63065e 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 #c0aeb575cfed37fa 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 #76ad11b0702e32ed 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 #2b64022e79fd2836 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 #b11faedb3b2a022b 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 #60b5389614d13a53 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 #5442ae0220a3ca36 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 #a384462dfd353fd9 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 #fda2a1f2536dc813 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 #d95c88b973bb49c4 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 #c3f2b9472205810e 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 #64943a35cbe1cb31 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 #aa0eaad915d5034a 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 #72d89889d02cc2a5 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 #5718afeb73183a6a 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 #d75ce3d89b66da2a 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 #e11534020f9b7123 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 #4e8eeb074a5ee2eb 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 #e37b03234f89ebcb 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 #c5c42eea3843f085 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 #3764de32823b2d97 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 #70488945d91286fa 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 #11ba17dcab970979 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 #76a72d9544648942 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 #a9b25408eb7b7723 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 #7d487db8f702e2c1 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 #e293ad16968b0d4e 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 #5c1fdd9f595bb154 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 #5dd779d214b554e0 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 #4d2efcb551c9b24b 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 #fa8c0da055556309 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 #4dc72de9c2c53e06 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 #cb3a432bf72aa324 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 #165bbe4d5ab86a29 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 #aa48af65316d0450 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 #de546df592d4b67c 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 #8313a434c7d0487c 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 #3091f6a2245745d6 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 #4934748f96a56ad0 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 #6d91caa9017d69fb 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 #dd878e3abcfeb57d 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 #c6efe4bfec0cd1ed 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 #ecbe5dc002aefee9 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 #915a60eae8f04585 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 #3cae8f19e05abd16 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 #87b144aa2bffd8fe 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 #4ef7735c6196f650 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 #41ab0e3283e44cbd 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 #f783bdf543841cea 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 #8a5f1a736c13dfe0 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 #d0482e96738934e4 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 #fc2fc2e9ecff1781 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 #1f8043dc418d740b 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 #2aed260ea98ea0da 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 #0663af68278f5d84 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 #9df8b03387ec8dda 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 #d27d63e6ce8ac1ac 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 #9fd571add4b05840 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 #d889e253883b3ecb 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 #5b26740dae73465a 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 #09cc2c124dddb883 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 #dada22290ed15fab 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 #95a4ace3725a2e2e 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 #5ac17b649160767b 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 #8b42ce67cdf302dc 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 #8356c326353cb1e8 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 #2801c10326361626 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 #98939ce7eeaf420c 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 #1bddd5ccd75727e1 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 #cbc720961b7e06e7 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 #ec49dfb9834605db 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 #5fa9387c024c3d95 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 #c2de6e178dbe7aa9 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 #d809bb17559f2d03 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 #db1e73562403497c 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 #22fb6c2082f7e411 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 #5d441952c4055b9b 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 #bcdf11d394d9ab85 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 #0b1196adc19695a9 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 #66ae790a7c84a619 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 #5a261b2da8e24b10 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 #9aee8c688227525a 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 #9dbf7804189c1ad2 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 #edba7fa649d7c2ed 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 #a204ecbae7029936 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 #465a63163e203844 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 #0a6809e1fdd85f60 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 #ab9d535fdf73b3d3 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 #a2fea81e26d747a9 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 #46f681450b793b41 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 #c3c7325870821983 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 #893ab9ccdba5dd8b 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 #f812018266e82ba8 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 #c2f964243a43d148 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 #f64a455918682bb0 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 #a4d172b7f6efe024 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 #0314404a62161233 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 #206a624589993a63 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 #2bf49ab62609071f 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 #5a8733aff47b0c56 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 #f023a06dfc64626e 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 #21240dd93cc54c7a 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 #f082b60942a76115 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 #d99ea65a8a106154 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 #94b7474b08cfc584 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 #1f1281795acd75bb 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 #cca837b6a7b757e9 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 #feab2152d0dd605a 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 #db97063a7eaeaa8e 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 #48f813614c4a95f3 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 #338abf6a0310582c 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 #2570ebf40ce2f181 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 #82e02ad281d69df3 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 #6b6aa5eced47d396 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 #fb97b8b58fea0ad4 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 #efafd33c2a0b8b8a 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 #aeb8e17c2fc35948 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 #2af823dab4b18684 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 #6038502f8a4fb168 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 #e447dd24f0f0c690 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 #0cf1532502543e49 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 #eab9c4f1767b7464 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 #ba1e77a4e3e7cbca 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 #aea55b89589ae845 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 #76ffa30762193a08 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 #a0008e989291bf60 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 #a279ef05974be8fd 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 #c2a61f30e31056b0 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 #27a827a1bc7e9be7 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 #4b09bd06b5fd814b 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 #6722341a53ada39d 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 #5b29919d48c9ffb2 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 #bd59c0f2f9d6eee1 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 #3c6d5a20e74313f2 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 #e3e3c3c0e25ff4c0 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 #b102d1b47d56ddd2 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 #28e6dd3b61b987bd 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 #cfe68aefadcb22f4 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 #05d09ccc0e278b54 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 #d2a9deb8f00f8335 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 #5cfb83eea30b40ff 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 #c732b5c7bfbbb530 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 #fb72c2baa92f9af3 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 #6b03199f242f0a5c 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 #ec58f940157226f8 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 #0a938d82599ed9a0 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 #641474b6c5c7e4b1 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 #740b4e6a8e784f27 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 #b735af925941bf0a 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 #da0cf6049b7a13ce 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 #79cbc5640f0bce1f 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 #0d68f7e3d642b3d9 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 #711a0bde4d25369d 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 #660225046d89a067 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 #2e0e6ebbc30ee136 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 #98c32ae10ee551f0 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 #5c5674cc5d8ab9e8 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 #98968ccccc67c125 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 #766c4b1e9dd579c4 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 #2cc44cdd550024e3 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 #d4efeb65eb3090ca 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 #1c68cdcb4cc7e939 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 #2d5cf63ab83a312d 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 #dd69456c6308fa8d 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 #47f1cdce8dc51fad 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 #feb8f5df51c84974 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 #35035b327d32b702 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 #ae779adeb0660e52 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 #8855e6989fb1cfb6 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 #249f43fde3eb52bb 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 #45200f8ac93aadb8 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 #cbf0ab5297d0ee83 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 #28a1748dfa5b305b 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 #98fa94f334d392ce 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 #01467bbf9ef00721 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 #e3bd722cce5aefeb 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 #56fa130e89347d13 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 #27d45cf83a96c6a3 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 #62b33797b3c84197 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 #40dfe91228ce1f01 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 #ea6212f2071be06b 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 #81b0c9a2ab54fa4f 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 #7b5473f0144444bc 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 #03cab8395d3cc1ec 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 #1cd495a5b3df7c60 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 #8c60fccd9ec9fb66 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 #c7fb5af292496ba7 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 #e3b26c4542e751f0 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 #dd7d148ef345825f 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 #62e0d6de814b581a 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 #5143332a5b0f29dc 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 #7e0a063cf11797d6 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 #027ed91b584b60b6 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 #fc5a4c7f7d43eecd 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 #0602954a68aac3cb 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 #b6d8d8f8da9ad65c 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 #e1b3838d2876b207 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 #e25fafaa87a4b063 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 #1788ff1b0b79eb17 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 #59ce4984e021731e 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 #f82fff8538f79194 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 #4f7726a694ad9b9b 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 #b8362b517e6dbda6 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 #e424723ff462dfaa 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 #613f82e33d57025f 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 #67b8ccf748f94835 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 #be44b4c62cb76b3e 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 #f6244a5b6c450c55 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 #6514ce71feb6f663 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 #b240ef0804fe3fcc 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 #03b96eddbf6f86ae 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 #85fe1ad5724d0db7 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 #5121950f8fa0dabe 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 #873f9227b9ae09e5 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 #973c57230b8b02c9 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 #10d19353dd4707a8 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 #7eacaffbeabeddc2 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 #c65250bcf80e85f3 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 #17ad0e33e2024b2a 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 #7e6441bcbb21f8d7 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 #ba2b660f1b2dca69 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 #2d5883e8beb1a174 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 #5e4d095e52635fe4 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 #caf58f6f01f039ea 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 #be7e233bcdcd0579 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 #647b1ad47e463878 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 #2e2604e4e65f82db 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 #84b6a88b641b0fdc 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 #a9007577f1c8ba0b 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 #4e9c8dba5e267ff9 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 #518131d1629016e7 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 #bb1434c984a6d659 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 #0f5ff9e8bf1b0db7 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 #d8e5f55a88a95c5c 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 #9629b6847ebecf49 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 #b6012fee77c0be1d 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 #0352285b34432c59 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 #a73cf77a30230824 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 #50c76f846e420776 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 #6e8dd765ad9ef2f6 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 #12039f57afdbe7b1 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 #42da33345117cdeb 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 #34094a2ed6efc1f4 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 #1a2e9016e01e9016 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 #8ffaa02d6a62a7a0 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 #4bd129fcf7016045 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 #1f0345fc697138e9 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 #37a465f2f37bbe31 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 #7e56824189c82838 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 #4850cd8651b0743b 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 #3c9c5ed72ecb5bd5 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 #553772b7f2a40970 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 #55e6197c8e6fbb5e 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 #c4f8a6efb16397b4 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 #0c41a0744d4c6b73 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 #ae8e9a64e639b2e1 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 #e3788ffa4ecaf248 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 #7ed27d3134861548 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 #a4692477e6b4f627 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 #684d39bffd3c36dc 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 #8d182570d5f8235e 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 #5d0ea309f18c63a0 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 #f2b5a826afd83306 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 #950c44dbb32c7562 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 #7798ad1686dd7756 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 #4be55220ad48d564 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 #1f32b1a5de8aeba5 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 #9649870ff8324a1e 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 #77b924dcbafc12d1 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 #b5f17006b951dfc1 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 #939f94eb42bf1900 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 #bbce0315bc2e2754 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 #c5c11ced52968153 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 #d9dab27a6a0f4ddd 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 #ac5d881f0114621d 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 #78478f5540899dd1 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 #bb224be6177576dd 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 #c13fdb341822982e 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 #fdebba8442219d28 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 #0ad9b3ccbf989176 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 #0070a8755a42346f 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 #18327aaf5fd0cc19 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 #b0d834fac05cd270 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 #387506c7908809c7 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 #19bfcfe4f724220a 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 #a16ca22ea1ce32f4 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 #685b5f2be46cce2c 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 #06bbb7c689403fad 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 #b6bdc21922b54d0e 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 #a9c8174d3e9ff2b9 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 #55ad11f72237a9d3 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 #dc286c350b28d1c6 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 #ed259f0a45f9ec5d 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 #f37eb2bb0a4f017d 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 #3279b4955a9fd48e 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 #173ece7ca4c9ec0c 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 #9172606ef9b55c4d 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 #5e59cbfdb97730ce 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 #7715827b7307c60a 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 #00c54c4e951f2165 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 #bbf1ee68e104b178 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 #7b627233f3212e42 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 #70063ad0e9ec3de2 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 #f74b130672e90e9e 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 #1bb66171338ec54b 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 #98d4fb6316586f1f 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 #418f3e6d09d70c9b 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 #1acdfa2b4fa5cebb 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 #50d0989d7315d1b0 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 #b4a008136f884ab8 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 #cc2a407dec3fa208 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 #6029519c30362f4e 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 #2d9dfd4aca7334d0 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 #e8b2a85798cac6dc 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 #716dcc6f8bbcff36 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 #b49aa9aafa1f603b 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 #664857ba1a7582f5 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 #526dd3ae8198a0d4 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 #663278c72ff88643 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 #b193a66aeb91caca 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 #dd3bf5932f4cdb20 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 #7b2ff8be490c1251 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 #f9bc9dd6dbc566e9 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 #eb9c7548dd2b867b 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 #24bab5ecb95ca64d 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 #5bb72a2ce4d63f75 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 #aaab6d339e3e3271 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 #f244ebdee1552b3d 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 #20bc215547aa1f53 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 #5591f4c1db6c0375 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 #ae5d630375cf8b1b 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 #d8e8da21edc241c2 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 #80cc048166ba2d9e 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 #be196c305bc54919 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 #0374c7ef7defafb3 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 #68148519a7bcad38 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 #111f003a99c94883 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 #2f631042522837e6 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 #6a46fa9626ec547c 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 #e1e3ced24b2f491c 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 #5bb31ce2fdb101d1 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 #43aa9029ace2e696 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 #7ce856573d50ba7b 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 #63a952664dcf2a65 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 #9a35d623e981ed65 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 #601ce12fd5959ae2 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 #d55332995a51b173 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 #45468d8c67b20593 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 #13cad38b1cd65654 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 #71d2afc286a72712 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 #153df7f7bf2f42c5 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 #dc72fc2a1b6e92ad 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 #5e84276dc5880290 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 #0e8928301acf3122 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 #88879be759fccd01 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 #981a12a01c949f9c 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 #4d06d48b143daeca 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 #22cb2485ea14e503 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 #a7441e9846d9491b 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 #55c378fe4b980cd0 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 #98e00c3c2ac0302f 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 #7a08dcf47e692ae7 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 #3056546afeb3715c 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 #65106027acd812aa 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 #032a1fd66fd75fb5 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 #aeebe6c11c7aaeb7 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 #821c5baa99441317 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 #236d57e9ecf23a10 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 #8422bf845e3912b1 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 #2c3a1f2e59e6c333 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 #9ea449ccda1f96a9 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 #845881794ab8ef55 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 #284d7969cd86d5e1 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 #be185f12b54eaa26 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 #07f5d088ee04f72d 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 #e735bed37356c1f0 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 #3d16cb2e3a9d2045 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 #bf460a8d56f03435 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 #d62f0a5af2e894a4 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 #3ac1722776fb46a6 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 #676b41dac82ea306 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 #6798d74df6d5f006 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 #a2588c9123588cdc 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 #a3c3e1d63e789c81 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 #ca2312f849c0ce0e 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 #5bc4465c2cb5bc36 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 #212d391c18dc7d93 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 #c5c0d69bc69f45d0 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 #df930b2d6484023d 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 #91389cdaf87b7ded 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 #0ff22b39a8de0537 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 #12f3b8cf3c5a27bc 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 #89d2b7735b6dcf01 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 #0b7fe13d37c2d492 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 #a7fd888c2ef57a13 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 #12859e184e9063b7 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 #0820617110ef54d5 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 #6353289cc5e845b9 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 #444d8ac5087ff03c 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 #53dbc6802d25c1f9 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 #383fddbf091b3cc2 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 #15ffe93c253b757a 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 #4788b3bfedfdaa7b 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 #a84f40a9313bdf12 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 #e45320955cecd9bc 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 #73e3a30833690e60 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 #712619099e40091a 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 #1c152eb21ed27bfb 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 #aa651b4c7f7c692d 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 #b95ac93d0397724f 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 #1987eeef94ee1e7c 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 #05baaa9bc9409a7d 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 #bb67dece90f076d7 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 #bbc6b89e1ead2472 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 #d5efd82d49a92661 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 #a74940ae718af2d9 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 #ac2170571117342f 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 #a74ab530bb91ba2f 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 #defd4a9ebf425c3d 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 #c7587df9d5f2e9c5 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 #704f068045699e40 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 #6da530143d3c0687 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 #7904249c3a81ab24 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 #4cb11ba32c70ac00 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 #5ca8358209cd3c11 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 #823b933ac649e2ed 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 #b8fe8b5f1b6d1052 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 #fb5befc3e37c4e1d 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 #e910e445fb7fe946 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 #db70f8796cf88251 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 #1279954c11ef4982 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 #91f0035a136794e4 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 #6e8fe9d68036960d 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 #a4094f22f53f1ae1 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 #83eda80b2a503ccb 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 #7645710aac2979c9 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 #3b62e6e6eac5ab51 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 #8ffedd5f98d965fa 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 #f1894a3fcb08bb83 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 #c80777cf34c11fdf 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 #f0fe573c5d236eaa 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 #4bd7ae881c4a7e07 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 #826bee54fa1343d4 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 #c1af80172ffae129 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 #09f641168b61ee25 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 #c98859da56042884 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 #cd624586ddf558b7 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 #9e7bdaa415a47dde 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 #9b8285947459a3d9 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 #4f85685239ddfe32 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 #586a6c8218ccdea1 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 #3f574f04e806d2a9 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 #5fd30b957c7c5d80 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 #7fb13c222dd9156b 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 #11e62aefbcedb46c 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 #27953490ddebbe4f 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 #96f954abf2dfb203 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 #91442fb71f7d7e15 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 #1debf0bff78e8bd1 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 #901fd7dd280895b0 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 #507176535a80bef8 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 #1c99cd12f795ff2f 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 #456fe48781f599c0 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 #4a1b5230d535d78c 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 #586c68a2f3743ccb 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 #ed30c6680aaca314 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 #10d5a5833d616937 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 #cc3e46d562fd7f5a 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 #bc91c16c52cca731 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 #9b9509bf766e1fb7 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 #8cefafc5b0d29c90 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 #4bb419ec974557d7 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 #1a4a0cec409daaa8 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 #b30bccedead6be69 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 #40f93adae694c3bb 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 #758f4583b3c6356c 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 #d611f2c8a2cec518 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 #ba97531b33e23641 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 #6c9afdda5915eb5f 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 #dd48de220c49c0b5 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 #984ee42040316751 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 #048535c05c9e9418 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 #30d31436dee547a8 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 #4235f3e0ef16f4cc 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 #ab7c0f4b3553acf4 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 #f8f5bcac5a6882a5 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 #fa2bb53dfbee0b47 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 #a32d5249f48d16f8 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 #efaed4792b8654d6 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 #a5cb20383f280cf6 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 #eedb676950e5ae13 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 #59bec70df9987ad8 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 #0e51e179d628f021 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 #f76e908f2d7b187f 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 #6e60b37862251f57 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 #1a835940d01638dd 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 #8469166913b5a4f1 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 #18bb2bad11ea3ada 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 #4a7fb9cd311ea5fc 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 #d62cfc2b455eb64d 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 #09d51630b02081c9 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 #ece4600b888752ce 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 #e49110c6b26ea804 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 #cc05ef31a718160b 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 #99ca576b5a799ae8 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 #3ce8086c8f78f9f3 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 #13d6cd393ca1dc6f 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 #9126b2c5714cfb7d 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 #25a1bbe1cae82bcd 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 #a5f17383324ba8fe 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 #de7819f257d67750 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 #924b6c8bc5a6d269 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 #10076e5be55c7038 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 #f8dbb1c78fccdcf3 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 #a59d1f03f5f13a43 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 #a57db1d1d871d572 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 #a70e7f97e34a0633 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 #5429c41d7cc11b88 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 #65f71028a9f7af84 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 #08dd15a812bc50e1 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 #0dd90003d3d05ca0 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 #0c3454fdac41384b 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 #9c394661ad52669f 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 #5f327939acaca6c9 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 #ebc54bb17bff5d92 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 #7c238b8828defd7d 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 #89a58836b80a09bc 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 #1ea37f48c2f4b1ea 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 #2056d58d323ecef3 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 #c05f4830e13d9794 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 #22419e295f38fa35 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 #3fe7ef74696da92c 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 #0c25610b9fb8159e 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 #ca64366e34dbb84c 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 #08a92ebab0a3c694 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 #25eadca78c19e49b 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 #2bb5a97418b80b99 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 #2f8b8b68c1a3ba17 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 #503a385fd1d68470 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 #2062bf7504f9439a 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 #06fce731b1f983b2 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 #b4ba2d78e2c5020c 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 #c8449b0ebf47fb9f 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 #8e8c57e3326d19e1 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 #2f719920cb94b9fa 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 #b57f44052d3c3fa2 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 #88dc304500975bea 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 #f947d4c4dc1404b7 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 #c5912ff09a0f3168 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 #0a56c5d73a39600c 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 #f2956acac70639cb 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 #1409f13a989670e0 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 #a12b9ca1a2cb45d5 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 #a70f5e4d78c7851e 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 #3b09703aba551d62 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 #12adf950f9fbdfd0 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 #38ea092bd72f2912 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 #339207d2de3cdef6 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 #bbd7a2ab847570f2 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 #abe4bacfcdf4acd6 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 #a540a9a8a9981d92 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 #27cc7cd2cbfdeea9 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 #a75258dec40df0db 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 #ceb33c29ed58c59f 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 #871314945d455ecc 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 #42f95d592413ab2b 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 #9855e0cc29739af3 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 #5eb3234d817584a4 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 #624b3c9955f5f62d 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 #b0e2bfc94a0b9f9e 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 #084f805a2aa415f8 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 #f4b2378ed36a0d8a 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 #8e479b9eed9c2e62 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 #5a9d95840a0f826a 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 #0bfe95629fd642ef 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 #3f96e8da481fb973 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 #9a189aefe2c2da71 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 #7c92840bb8a90e79 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 #943ef734f1d8b6cb 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 #71f7273e6afd9abf 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 #b3d5ce30a53ee7f6 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 #a487f437eda7cb1a 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 #b9eba400a6b027d5 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 #80b72715ea67e6b3 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 #f436363a63cc8e2e 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 #a26cbeae0fd80bd6 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 #39366c4921c20991 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 #6fa20fd65e5a0f9b 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 #8c1460f35b4bede3 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 #bd7cf6836a6f4ae3 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 #a0866b93b6615465 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 #e4ec477bbad62558 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 #27a66fda6608bf21 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 #43034ad3ce58a351 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 #cac1fea9d2150b1e 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 #0c7a6f034032259d 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 #4a8465af7eccc439 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 #4b64f55417eebda5 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 #9ef77042503828b1 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 #f7cf9a821cf2b37c 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 #0a9411d1395f6ded 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 #831619f1051d0108 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 #072322ecdbc87727 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 #4351d7e46c622a2b 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 #e0c347d8c7d17b0e 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 #d2ba6872f5429249 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 #2d81ac8db57e3a63 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 #a73da4fedecea083 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 #5a2c0a6eb2038397 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 #02ec4bdee1a36a5e 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 #eed20202a83eec71 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 #2184f39a4a471616 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 #04128ca3be7f3f86 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 #5ab6daf0bede1b03 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 #0da13d728e7f8d25 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 #d624130969b42854 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 #6e5764c4322cc941 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 #95aeb4b31859be32 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 #a73706de8ee8cc73 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 #0bc0f99a576700c8 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 #e54e94b1be59515f 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 #7a37f8392c9e2a2c 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 #e60103298e12015b 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 #3d5de8eb317c69ed 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 #a314569cef3dff38 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 #82f8364579431c24 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 #7930d89447cb26a8 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 #9b5b9111d0396121 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 #6dcf12bc5a7813d0 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 #0c447ce44ac0edaf 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 #ed527fa52af79743 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 #c74b2b2d0c6da514 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 #be8d50c97a5f32ed 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 #00374cd177200475 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 #85ce3ae5db79472b 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 #df1606529f1ed913 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 #fc60170cc4321f95 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 #49e4307321a20eac 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 #d5820c1c71240326 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 #3ff0783e078ab2ec 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 #9e346df54d1b906e 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 #2de6fc40a5e75253 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 #01ae6484a66a9b25 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 #ec05cb3f1994f992 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 #84d1595a990abc6d 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 #d1442053733ae2fc 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 #241114748e8e001f 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 #7ff39b02b6ccdb7a 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 #1204d3bbe2f4c96b 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 #3887d222cba14279 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 #181f316c6af0859d 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 #bf53e8f6f5ce5fa6 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 #2628fe9e96b26941 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 #580bb013b84a65f1 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 #ea9e08753838635a 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 #bc7dd8592399190d 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 #04bc24fddc6c22e8 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 #f25544402865beb5 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 #6b49801947276141 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 #f254c0670024e663 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 #dc0cea47a7963329 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 #5c039da4719abfb2 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 #1d0252c6a4b5fed3 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 #55012c63082f744d 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 #dd6adcbdf6cfe159 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 #42f5cbd96fb3a90d 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 #a76915d171314eba 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 #63ecec054f2b1e03 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 #05fec354f5d7cd40 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 #057610c24b8f9ad2 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 #a6a04630ed1b526d 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 #17e461939e639f73 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 #41390e0d8c8d111a 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 #1d823fa109514394 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 #be70da54c4158375 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 #2127265706dbdf21 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 #b5694d02efaa020e 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 #44aafb09a9062f3c 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 #343e9241a3700b84 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 #820e3466a936f2be 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 #20113004581dcdfa 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 #21079e9cd976a7cd 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 #fc94eccb98a89ead 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 #072ff0051fdcfae3 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 #09aeeeed43b8e6c4 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 #bc49730a9a252a11 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 #33d60ca395cda40d 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 #6f8e52d25846d42d 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 #2fab2cfdab4bfcb1 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 #0294d008e2d17cb4 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 #d8ac2ca7c1887d3d 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 #04e0e88e8636b450 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 #947f42e86c717dcc 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 #6d77d100e7a2bd93 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 #c6286cd64ae48dfc 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 #5878aa38fbbfe87f 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 #dbbd02f559648fff 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 #c7f06386fa7e3d3e 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 #e45773cf3aa9b4a5 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 #2c97bf2eaa0d4c24 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 #07f98c6e0878ae2e 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 #b1da007bd63e98d9 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 #c6994cf4263f6741 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 #fd0912b2b944c8d4 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 #5a326369399358d6 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 #9dd36b6bdb2bf1ec 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 #3b4af703873fb51e 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 #2942b2f151b7e60b 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 #efeea1bdac343f0e 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 #d398e3f9022be7d9 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 #62bf088ef1574695 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 #20aa5e354f9748db 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 #3cb4ec9dbc48d33a 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 #1ed3872df9b4c9a7 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 #09f23b145a0030d8 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 #464b8327d6d6f407 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 #0a0b6b4c8467a96f 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 #abef7e11bbd82be8 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 #95b5e8bea70f779e 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 #a45efd38437da8ec 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 #ad238b99234f5c7b 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 #db0507beb4eb277e 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 #5e3d481b768db125 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 #d6536f04c2a1cbb8 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 #46bae3a171f97612 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 #607dd89468bb345e 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 #e51980bff555bc9c 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 #e29d5a18d273c70a 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 #9abbbd8963afefa6 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 #6337929407e4d39b 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 #6482535d2c31a4f1 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 #a51bb9e6189e29ca 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 #9e7494f722ab450e 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 #91a23c8660765648 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 #85db4fcdba999a79 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 #bf00e0b91188f1dd 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 #a1f051d6ca23f827 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 #5df9aacc7754da74 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 #877a2e1e3c155d81 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 #887720731ab6dddd 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 #940d34ffd9e0a7c3 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 #2576b2aea279fb10 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 #2c94fc91a827d123 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 #cb2eb8558e5a8f6c 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 #d3a0d41530d7d306 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 #18d6094e800fad6a 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 #8d404d1fde000c65 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 #3c45bbb0e8d191dc 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 #8038d0d4da03c075 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 #c9f4c10a74f7a1c0 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 #1dc2528d7bf7a2ed 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 #6eb8b1624c8b4111 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 #1e69b833ec1571b6 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 #ab07e1a3e8dc3b76 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 #eab3d06d951c43e6 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 #65891be34c124602 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 #e11603fadae713be 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 #a70c9babe327901c 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 #b9a9125cbbd9aec3 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 #a5ccdeeabf5a3959 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 #8ec6a1aafdf982dd 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 #bf471dfc8b87e8e1 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 #98901edf942795a4 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 #2f96d4d0813b2a76 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 #e255a0a17da4f449 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 #c376d7d9fef8a2c4 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 #588732688fadc62a 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 #91ecfbe71ba2fd9c 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 #ccfc24a5bd17a336 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 #732ac8910e309d08 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 #621be6f14f716b52 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 #bd1f3587c8f3c53c 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 #5be58a04152bb3f0 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 #04dc24e2bb939c9b 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 #3669de6a59831c95 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 #d1d88660e5806e5f 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 #61503e8554c5891b 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 #ff0388c5c84bcf66 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 #32b947657b45105d 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 #d3b8d9fce6538e2f 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 #22d42726dbffcaaf 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 #8cd366563e2cfa88 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 #8aed46b26c3c0de1 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 #1a3a3a5f3afa1382 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 #44e28cdbca526e6e 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 #bd79c8377a28b107 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 #5ec857dfb4fd1153 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 #332afeb1e8908a63 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 #062882a5245578f9 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 #8ede9ffc8d6951e7 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 #74cc831ba281fb6c 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 #a1d099a6f2c26593 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 #f5372f374d7c774d 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 #bf20b7f80d2ef842 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 #f3ca6bd5efe3a213 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 #ce7937f550504448 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 #ef53573097057eff 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 #b89787a9ddfde932 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 #013d244e865d3fb6 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 #781d3e07cf3844c5 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 #1095435bb4199f61 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 #5d292fa75bdeccc5 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 #bed2fb7c148daa0f 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 #d8758014f73dcd8c 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 #2b5755299e44f774 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 #a21f1b2fcf648963 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 #38efdc5fe72093b9 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 #2e39a28fa6880b4e 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 #fd09426892324b95 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 #50898fd23f29c9b0 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 #9c834068790a6ec9 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 #9dfa2f7c40fdeffe 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 #64bd371b678d4b3b 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 #deb195dcce8b0536 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 #a64486f18cf2b3eb 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 #387491d1c6284af7 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 #f24a50940c54c35f 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 #c54297e5f32b5b66 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 #1e734d9593bbc3e3 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 #e7e29ef213012263 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 #ea84155a3fefed9c 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 #099d8e040eeed471 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 #4fbbd4d8fe31ccd6 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 #93252519f9499c7f 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 #eee38b0d3b04b573 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 #380a84ba33d1aa60 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 #eac28a85f6ce9900 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 #c07103ce8cc11f7d 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 #e6011e222074256a 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 #c17001ff94654102 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 #c51b2533833cda80 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 #cf27fe1d32afcb80 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 #9b953a483f205ef7 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 #703732b500b7a8f5 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 #327ae574c5fb9bc0 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 #370d780b5509cb67 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 #b239effaab4d51d5 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 #22730fefcd90817c 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 #e2351638ed0a8d02 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 #19e5aa08ba490de7 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 #7e503576818fd572 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 #b2b3606d33856402 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 #882f036745f2ac6f 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 #c180a8ff6a0c9353 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 #501785c45be6e02c 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 #20d3aa43f6657201 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 #8d90469db2de6f65 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 #4c4fbe9863882903 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 #19a5900a0202f78f 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 #b85d469cbc1e6041 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 #85622454a844fcb2 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 #d82b0974f50b4609 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 #e54d2a9b45ca351c 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 #574837edd81ab4a7 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 #f08a1ac7abc7eb2c 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 #83081b253edeeea0 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 #2f70b5e27bc081d1 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 #03db90c50bd83507 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 #dc14bc439b150a98 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 #6eefd36258231ee4 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 #3793dd9cb8caf64b 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 #94399c0ad513aac6 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 #aed06a33b4f3fb64 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 #247df2c6152baeae 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 #2f7bc97ee82a50bd 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 #b8be7ffe0a453436 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 #c0b56841af15bb21 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 #8bf22b11a3cd4142 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 #262895298c8c44a9 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 #22b5e2bc81eabfe8 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 #77bb3fc1f12e4575 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 #caf10c6b098de8c7 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 #dc6a9aa99babcdd3 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 #bfe3223f9d5a0a7c 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 #8af22ed67bab0df3 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 #27025046c19e47f9 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 #2b525216d849afbf 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 #303fe9e4a5b9c8f9 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 #e5e72dcbe1a941c7 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 #1c60492cf0844c8e 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 #94a7e9211497c42a 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 #fcf5eeea3fe8fcba 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 #d469745c1a727856 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 #e44878583e4210d2 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 #8aed075e97f2f83e 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 #10317741b2c2249b 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 #e32c180e379d45ba 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 #867c04386e628b5a 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 #8825686ad4b244e2 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 #852d7408e173466d 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 #b9eb13eecd69753d 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 #ad932afce06aa279 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 #55c20329637e9a9c 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 #8d3cdfbf0b7fda71 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 #0520399af737f180 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 #75a423ec319e805d 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 #654216924e1a4d73 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 #27079aa4881c8a50 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 #4ae2ab5a93d5dd20 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 #b8ee7effcd6b407d 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 #56807a55eb6ca2ab 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 #eb070b29d068b2b7 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 #1744b9f4494b445f 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 #36dfba4cb89b48c8 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 #5c0e217ea2e578a0 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 #be850f6cd842ecad 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 #3b1d3344c534f4c8 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 #76acbfba0a4f1de8 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 #b0d8a5b5325a47bb 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 #bd99f21f4ef3a38b 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 #f525e4ada5e9964b 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 #b31e7d2d860584ed 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 #3e6a0a20f4f1bf56 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 #99e344125ba45bfd 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 #707281d6cd763845 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 #9d95cabc8c69e0a6 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 #360526ba5d66debd 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 #341cfbe2fb8823e3 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 #4a8c875fc2069f74 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 #cada83862935bdec 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 #5dc2bbd2a0834307 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 #e49933bdee0ef21f 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 #c70fb40581f92acb 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 #ec0bf6be760e91be 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 #d2c5edcd95bb2063 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 #96f724f1d759f4e6 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 #2823ff9edcb30273 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 #c2eb2507823d080f 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 #11e2643e6a6bf3a2 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 #b0925753c078e03c 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 #7a0454608a77a6c5 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 #8cff646e86ef44d7 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 #a21445fd19dddefe 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 #70c093c7c5f6c00e 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 #45e6b720f0eb692a 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 #b461cfa44cfc1f85 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 #7614c0b6b7c83a66 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 #eec6064f7d9adb32 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 #ceabb2d274be6948 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 #d4fa2ca750cac495 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 #424af58d9394ac4a 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 #f50aab98a6d32bee 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 #78fedc18ee23d064 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 #5923d54cdecac90a 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 #2df8a22ac164c897 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 #fe4a419fb85431a9 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 #1d0b7ed3878f55f2 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 #e1d8b051162a52d2 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 #0751c1de035eb712 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 #a65562d109bb7e83 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 #e62bf32e74fba22c 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 #ad68d67b3e585008 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 #915c82e7013315f1 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 #5cfe68cef135345e 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 #73659b080f7eaf25 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 #5b54a7e3b4d1bdb2 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 #c3c77c5190a34aa5 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 #d40d93123020e971 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 #61b0b65567f489dc 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 #04ee862a4ee3b1ac 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 #5129161ad7ea7c7a 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 #63c780a5110eb407 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 #1c080042b7b2dca2 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 #deb32a649d1c94ab 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 #91e769a9cd22e6f7 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 #aed2479366e60779 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 #4823398fdd866f5a 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 #f4e562db1b8bf270 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 #89727b4d3f40a3c5 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 #b1bd0c95746d405a 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 #c62cd48cd4a326d9 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 #70feca9aff3e28a7 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 #07a98b348a8e3110 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 #45e39850732202d5 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 #51fe8feef989f7c9 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 #d6364a4f1b17a141 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 #02075424027a9a3b 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 #587f4c6dbe31ea1c 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 #53f65a893014df4c 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 #5068cf29249f416d 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 #24cd310702edb7e4 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 #b0933c5707397a14 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 #5cde73f2e293c95e 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 #437886f4793addb5 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 #bac5e00054a99f96 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 #dad0f7bb9f8691d3 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 #5e5e880a63093cd9 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 #349e5aefb296e259 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 #788e25ed211e2270 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 #b4029812cbe2c070 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 #26aa06b1a66b8a07 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 #a9f0c9d23157a0c0 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 #bf78bb89650bb79d 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 #9c14bfb713a823f9 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 #6664d05129435b26 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 #af2f4172cfc4a661 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 #e33ebf1c7b7b7d84 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 #8105605f2ce17439 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 #b648854c6046dcb2 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 #73a652e83617b1f0 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 #859e8de30f041c77 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 #246ea211051be8cf 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 #3f52d66f9d3a0bdd 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 #f94146b81c0091cb 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 #931ca7f233eb6580 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 #3db2bee579a9aa17 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 #8c106d4120cc6d57 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 #6002e66776d4002e 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 #f338c782ab5e6273 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 #c5ed04a1ccac1326 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 #29db4f25744b00c7 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 #c7e274e6cb3ce5f4 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 #9bca263205d45420 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 #09fa7100b7834ef9 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 #f3b6461c094093b3 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 #8e5bdfcf158356cd 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 #76433f015bc0e8d4 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 #4868c3915d36c390 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 #d820655b94235721 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 #39bd825cfe28624e 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 #54219dffd906109b 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 #2d46e33c96990b4f 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 #0d1b19507bc2d849 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 #89232a27702eb1d6 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 #bba73dded3b3a7cb 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 #21977435e80fa558 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 #73b9852fb7c4f652 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 #a1e36fbc218d6b58 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 #725bb3d00dbea9b0 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 #a218347815022930 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 #7483fd458d2edf98 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 #f5ba3d3a5dbabbea 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 #7c804a00f8c23fcd 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 #f615eef6e639667a 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 #077f7ded970c18df 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 #c4cd8ae82fdba7a1 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 #4a4fb244ec6e22ca 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 #7f4d963093ee87e3 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 #bb01e707d74d287c 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 #755f07ad7c1f778f 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 #d6252d1b086ac863 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 #c01ebce5405f613a 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 #e39b9d0e83c05517 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 #d4a389146c5adb61 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 #a9bc5f2ab9785bd6 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 #f78d8a463745c2fb 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 #8066e26522514c3b 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 #851a5379022a151d 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 #9f0d325117d0b524 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 #1f5142575c85b02c 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 #7e38cdfa675bbec0 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 #bff98a109af719c8 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 #cdc83e71f17ba52d 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 #37fbf630f6ccbe90 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 #b379167a8413710e 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 #2869fd9284959d86 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 #97adf19501510b16 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 #538d31c4bb5cf213 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 #e756e047cd6ec89e 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 #442a28fd35eef536 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 #608d6fe4510cda0d 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 #aa558fd75b1b2761 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 #8bb69f9e1b9e9e2d 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 #632643152a2d0a21 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 #9556bb002a649e52 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 #b2183a757fc6a8ab 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 #b9688c0a69790c35 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 #0ae0769319c4aeb2 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 #fda0ed9162497ca6 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 #fd2cb0d9e2972506 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 #bc4f2fd84c9b0b6c 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 #dc15fd4e8ed737fa 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 #9bbc0b5d48f2e44d 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 #13eb8597d041042e 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 #20521798c10c6f62 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 #ed8447846d9985e8 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 #2d7a86e9201bd9bf 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 #5193699a2c7f828c 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 #eed4a2a90c5eacbd 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 #7ddbcf8370ae9f6d 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 #75487a2db810d34f 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 #6ca2a0583e534a15 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 #3a1d17c077a243f0 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 #bb1e25fbd88769eb 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 #53650ae24974008d 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 #f50dae59fa4045f2 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 #da36425550ddbc5f 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 #0f48d6530868d54e 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 #6afc17d5bd58836b 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 #86e0ff39400f7ee2 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 #d2204299984e16a8 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 #d486e083d531d88c 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 #20cb029a6f6c86fc 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 #95dddc062dc134b5 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 #a39fee8910242753 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 #a5b673d1e3b4664a 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 #87dde639db549026 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 #28df010847be75ed 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 #3cb6a090d1cf8aba 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 #31d1348f6838f6ff 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 #39fd4e70b7f505c8 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 #34987824dddd62e0 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 #6574e7535c6bceae 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 #9dbf18a61e7d6b6e 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 #1952038723a30525 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 #4e2eb4d5c2d168de 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 #f6606ece11a15109 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 #db7ed4f92500f7f2 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 #5778de69ae75b228 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 #a75b372b430ea257 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 #07d3090ddb2dcbd6 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 #769271022f8d7d26 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 #26b941c7e4dde07c 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 #5dac86dbeae5d531 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 #4aaa7ab7fe873207 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 #8fbcab326d761d71 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 #f9231e7897a8ae4d 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 #eec4edaf169b2af5 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 #a3bfbd12d80b0c87 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 #b6cf6abe15dfd33e 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 #b9ff71f31a0ec71f 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 #bdc4806a4467abf8 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 #269dac9ec270e738 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 #9af15ae42f4d8666 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 #1df22d46870378f9 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 #36a6aa562e5724da 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 #16f08c69d3806f57 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 #30daa95594c9eb16 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 #af19c2d0e695a93d 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 #768bee8ae85a43d3 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 #4f438f8c666c7517 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 #509b2a3826765037 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 #1aa7e3ecaee6da43 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 #ed887644bba93981 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 #d16870032af01f4e 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 #be1c0c98ee04a456 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 #858612a684eecb29 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 #65440c08e748c85b 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 #e35dafdd2053123c 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 #3678b0fa87d88bae 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 #c45cdb2f8d9c0db7 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 #f165952fc2455370 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 #fdfb47f199954dfe 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 #cdb8d91c05da01cf 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 #aa1d0ba217b29748 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 #3822ac6f7b74163a 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 #efaacf59bdd41ce6 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 #0a276beb4271de11 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 #b8e7c38ee66dd28b 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 #2a90eb91ee7e271b 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 #f0b7f1ccf5ce38c9 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 #e24367d758a263b5 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 #27c645161bdd5d17 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 #c1e9d4df2179dfe4 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 #ad9c8f8adfc21423 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 #97fbc04cf8e73cba 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 #256e596dd47ce152 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 #f5d48b742fdc2ed3 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 #d3ba59f5b69fc67e 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 #4012e18ef86f1de8 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 #46e310f5ac860411 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 #cb880f0a173b4851 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 #9f31f172c585ee80 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 #ba7a8e102f6bcbfc 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 #d94f5b4d6125202e 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 #e6bf574744dbd918 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 #ee7339f8e6883b9e 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 #70b7b62765dad294 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 #5b8857c6fa0caa74 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 #1deea0fc49649122 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 #53c9f0083dd81414 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 #6a6ffd9ae15bfbb3 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 #60ebafd5a0b61c85 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 #9a398cf803dfb2ac 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 #25ceaa5688503d75 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 #fa99012821f986be 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 #8eb4fb42ec2a9e6e 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 #f60e771931ce0ad5 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 #8e4efcfd53c6d458 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 #c22fff24e9d74027 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 #9185ec4a5f39d725 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 #23480abe63a1876f 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 #9c110c473b41aca3 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 #4d352ae916d97851 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 #b599619719c9e90b 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 #fae9d9840385c045 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 #e9820077ec77701e 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 #1c4ff59b00a7b032 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 #3ffb59c9e2f61151 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 #31009912066c5870 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 #60c8259b7cb370cd 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 #d4250544f4362921 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 #101ee0b4f2a48e20 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 #be104db386cd73cb 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 #0ad810a8c0506f38 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 #01a26f2f165cb493 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 #3b0b1634c120ba59 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 #b42f8480d3e60883 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 #8243441a8dd8f59d 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 #042195296c7df2d7 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 #59d449531af89c82 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 #a7247bd7a7e0b740 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 #4f3f14fa2e5de79f 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 #b94902a46a54a35f 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 #76910f6d4f07f39b 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 #b22889593e57f03b 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 #5f18eadf51309d59 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 #efe933c677e76c6a 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 #bea882f83f5cfbc6 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-r2ofuorh/pkgs/npm/[email protected]/lib/winston/transports/http.js:249 → /tmp/closeopen-r2ofuorh/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 #7d49855c90b12037 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 #33762edc4fe85711 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 #d09455744a2d507e 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 #da8848487dd74d99 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 #9b730ce7ce7e9dd8 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 #8b7694fbd1b66260 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 #903ffd7c4383a174 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 #4fbb45d9e8c97267 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 #8c5b8151b441266e 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 #2c4ae7c5fc120444 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 #f864362c934a385c 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 #957a9e4f2bf25828 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 #377a1840ec80c0b4 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 #99cd26821ddbe920 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 #b39aca8aa0b6223a 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 #305e58bedb9b286e 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 #25154b9565a64786 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 #a2aca056fef917d8 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 #380ae4e5278fc923 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 #5c241d6d053c7fed 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 #160d7b2abe5236cb 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 #1f7c864168f9cd9c 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 #cdf14216739f1563 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 #d1e7bd161df4ea01 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 #344455f6f717d85e 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 #ddfca5ed6f93a9f6 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 #ef68e07a6a76f8a9 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 #da9b79f83f4d3bd1 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 #cdc4f8d0a7d400ea 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 #c181d8182d86a8d1 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 #8ea89f917f8f1b08 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 #a1fde44d06c874b7 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 #9b73e19451fef211 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 #5241619033d857bf 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 #72d40272e4008a83 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 #95e07732d0d181af 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 #42bd0f38dfeed2d1 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 #291d16272011cb18 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 #f4ef6373a37b6efc 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 #b03821883edf5741 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 #2133d0c16e6a8dc0 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 #e01cd6edd2c2233a 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 #1e3ae95d538a20ef 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 #a99bdf99ced8ffde 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 #54ddf865eba5c6d7 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 #21b7c889fec9f328 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 #6d267dbeb19610a3 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 #41c4fd0587f8b1b3 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 #747a9adfe02ea8a6 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.

express

npm dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #7d859bf7845c7691 Environment-variable access.
pkgs/npm/[email protected]/lib/application.js:91
  var env = 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.

extract-zip

npm dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #1e86b615f31d46b3 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 #e8720c20421c5f2e 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 #95a8e805ed9d7aa6 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 #f43f989f4b009877 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 #9afa2b8a85817c31 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 #c01b523dd6606b1e 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 #e0bbcb58b3b6e18e 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 #2f6ead544639242c 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 #f931d2bd1a23da70 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 #81c1278e9a7783b0 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 #7e6f6492a5c8811d 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 #6863e55fdd7c1c1d 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 #d8dc2bac22c95d9c 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 #577f98b562fbd2be 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 #e026ea0f1437b49d 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 38 low-confidence finding(s)
low env_fs dependency Excluded from app score #a2c76e41092314b5 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 #5ef4e17b35ea246d 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 #9859157b64a33eae 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 #8332b57b3777b1a8 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 #7b50f3e3161cda7c 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 #6ad6c34ac849e602 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 #2fdd6eb409324724 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 #ffdf27fd2184206c 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 #a31acb88e23ae0bf 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 #9bdfb2d3c8a13ad5 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 #7b611c3240467907 Filesystem access.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:3319
          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 #ce5330f39b5997de Filesystem access.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:8956
          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 #514b2cdb7ed2fb3f Filesystem access.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:9011
          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 #a9d15e7777a327ec Filesystem access.
pkgs/npm/[email protected]/lib/es5-iife/puppeteer-core-browser.js:11109
        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 #9dcbea2fc69c5a69 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 #f8a6bcaa386f6827 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 #b8f54826a7659dfd 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 #271496d7911b8494 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 #4191699c32b65d83 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 #df00471098ccf8a5 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 #d2c23febe9e69b1e 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 #1cb06601ec1f4b8e 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 #1a47ba963d9c7533 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 #8eba32d922cda29e 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 #64ac995595dda468 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 #17c94cebeadbfe91 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 #596fea6a3b35e47a 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 #4bda31c299a02d8c 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 #12c13f7c474f375d 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 #c2344b972760e740 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 #73301bbb36f77a56 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 #6e6a612175832b38 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 #0eaf1ac2a1d392df 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 #0e13001097179c1b 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 #ced126fe1ece8946 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 #c115eef0c1868f84 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 #904def2c88eb3a78 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 #452c427cb7c4a5d3 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 #9664c9e36563e5db 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 #071494a983c539ad 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 #c6ef8bd2ecf30713 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 #5688035a11621cb2 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 #b8b33e217a483e1b 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 #776307c360f0c1f0 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 #6efb6d8bff4e3950 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 #3aefda71d044f1ec 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 #b1bf71d145c17e49 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 #b7086fb2f6014878 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 #763fcddc5c596e21 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 #f717df1af6dde796 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 #bc8f8f38a50ffc86 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 #66602a5b7875157f 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 #bce312acd1d7a941 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 #b217046b6f755177 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 #43d122546d18de1f 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 #929689a08b32a570 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 #5fbded2d2102b54a 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 #3f2bb263d2771af0 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 #e7ad9a8dbe77cbc5 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 #ccfef966b0d363ff 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 #2e97ac34f4163377 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 #a5285b091cb21007 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 #46c3ad8377c641ff 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 #8814cf949f50d4d0 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 #c63ccaa3014874e1 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 #6d0d22f6eec66906 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 #3889de1a0f9bbe48 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 #ab5fbc65512ca94e 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 #cd18097c20cc4502 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 #4941876dec438a22 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 #96e86f1b0ba55b56 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 #d8aae2d2afd4c952 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 #43cfd30112d2ba25 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 #bfca9fd1019acd37 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 #67a1ae18a2f101b3 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 #0afd030da45dc12b 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 #890c623e1b74f225 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 #c55dbdeb6b8ac476 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 #2b6c32b5b0f60b58 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 #4b15d7f56582d9fa 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 #14d5e57d5cbb19c5 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 #0c6e02684705fee4 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 #a5b484ea6a6b56bf 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 #8cae155f032fdcca 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 #294f792b44dddaa1 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 #2b1ca1d566fef510 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 #dcfdb928cd5f380f 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 #080bc1d730b3c2c8 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 #8f8797cdddb6a84f 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 #813b9a1514582ee9 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 #87df924b6e413658 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 #721514c25032862e 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 #16af5579ce07695e 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 #0482ef11714d760b 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 #8800e60453ffe10e 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 #982409b6398ff781 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 #18ddcdc33ed04824 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 #33260b3ef8104871 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 #f198d47b0d1a00bd 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 #ccac73664480c3e5 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 #e503296113a4ab11 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 #48defef1cf1f4da0 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 #0fce3495b6daab36 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 #314caa26d445b053 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 #a044da67eaf7a16a 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 #90877a21c8c07b74 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 #4511c0782c946177 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 #aba53fe07f63f791 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 #7622b1c658f3880b 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 #518b74248d9596a6 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 #2f5bec3238528334 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 #c8ba52791f248a24 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 #0034a5cb70086bff 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 #150a11c0111b5617 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 #d3fb3ce5cb3d39a2 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 #6e275f49ddd7a1ac 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 #e006c0eaf3a23c39 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

  • @bufbuild/protobuf prod — dist-only: no readable source
  • @a2a-js/sdk prod — dist-only: no readable source
  • @google/genai prod — dist-only: no readable source
  • @modelcontextprotocol/sdk 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