Close Open Privacy Scan

bolt Snapshot: commit 132f38c
science engine v3
schedule 2026-07-08T20:11:59.106446+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 · 4756 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 4749 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 #5aa9d49f2b85f453 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-y1z99nbf/repo/packages/a2a-server/src/http/app.ts:228 → /tmp/closeopen-y1z99nbf/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 #425b03899f9ff1c5 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-y1z99nbf/repo/packages/a2a-server/src/http/app.ts:228 → /tmp/closeopen-y1z99nbf/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 #82632a845fe24fed 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-y1z99nbf/repo/packages/core/src/utils/oauth-flow.ts:472 → /tmp/closeopen-y1z99nbf/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 2469 low-confidence finding(s)
low env_fs production #f80e540868c77ec1 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 #ecc98ca5eb3ca6c9 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 #64969fa0b419dba8 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 #eb61089e378b62ce 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 #aac1fcc8d3ce0e9b 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 #fabebb8a8f9b0943 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 #453578b435cb3387 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 #d83d8ef52395a862 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 #a433f949e3f892e1 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 #37b2aeea75b7f8a1 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 #040ff7e153ab1f62 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 #5e5b38aef1cf3348 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 #01c0697d9ef6abaa 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 #d2e530c602f25db9 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 #0309f6c74bb2ab9e 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 #ae04908776f4bdc8 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 #f7ec4f27c4a9f90e 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 #1ed6e0dd0a3887fe 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 #9438e8a275dfe098 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 #9978ed74f7c41636 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 #83db489ef15ce5b6 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 #b51dca66a352eaf3 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 #1d43615c9ac874a0 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 #c59e4da07334ef6b 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 #5aca0ca6cb7d6e15 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 #e7b3e3d2b8b44880 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 #5332c4bfb04aac16 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 #3402acece45b047b 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 #f95eb45c3a4136d8 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 #f3502c7a283dc933 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 #b2e3e26010bae2ff 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 #25fd20a9bfb7bc8c 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 #610cc58c82f293e4 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 #1283bba7a0b3915e 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 #16a8249cf67546e0 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 #00aeee6ee047d11d 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 #e442b9df9d7ebfd5 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 #e5b9734cb63e6650 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 #783ec38767cb84d3 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 #4bce8993cb94f701 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 #16866f31cdff35bd 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 #47ebdf9113c901a0 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 #96db72ed3e24386c 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 #929a70e6d243b91e 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 #2128f213c2c79c1a 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 #8d8ec480b3ea519c 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 #74d3056c282d9e62 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 #3a7821a461f5e383 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 #c604f95861e11f37 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 #df867270f241401f 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 #c30d4e50e6303198 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 #73ff6343782586f4 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 #e30f3488597d4d1c 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 #04483086b21074bc 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 #260dc991b4e003ae 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 #a52b3685a0490b1c 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 #ebeb94b83aa47ad5 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 #8c35230e5b554add 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 #13ad64b6cf2322a5 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 #0fc876df7f157f80 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 #a176ef5859583c37 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 #59c6ff1720ff13f6 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 #d3db865bdec5c396 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 #68b0a611efdd3dc9 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 #87f3bfa572cb1dc9 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 #edc5735d2d9c5de5 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 #6a37d88aea7c9b56 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 #810b869f2670c36e 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 #789260db0a33b3a7 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 #a41ace463d9f339d 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 #0f6b8d4fbd020639 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 #c6aea304f1547979 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 #1fe544f9ffc91768 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 #f2f3c8f7371dbbdd 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 #4496ed52b80adb8f 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 #b52cc67831ab9f4f 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 #80f39f17381c50fa 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 #ae70df3b429804c9 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 #e5fad7a8be31c8f0 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 #2868f644c5f554be 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 #572f25aef8a91040 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 #94b30cb02ec76087 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 #cd7c01ef369ba39f 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 #b13f7b9168b78811 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 #8c0a420f96b78891 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 #c2c8cc1758c51ff2 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 #bc223332719d49f5 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 #afb8794ee2ae7981 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 #37df1b75f7d1d244 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 #970390902b305102 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 #cf8476919d3be76a 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 #5e56d68877d466e6 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 #0b4239814d59a7e1 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 #513f398457898248 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 #d757b5c226325127 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 #47432cfbf136313b 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 #3f774bb141e6659a 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 #f8799ec2291c7364 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 #dbea2fb4c872de37 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 #e6b7156711502927 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 #c68b5a27f461d58d 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 #eceeb0d02c243eaf 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 #5290d95cfa5c9ebe 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 #a5d2d4c1c0e3561c 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 #217b8697de7da794 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 #6f79d6befd101e82 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 #de92f0023c9c71d7 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 #37be73cbf23ce5da 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 #b5f365c11cba31e3 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 #4fe5b5dc60f0fc69 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 #7214bc0f943c3373 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 #b3c4223b47bb5a1a 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 #a6289bd91eb19c2d 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 #1aa6fb8141743bc2 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 #61d00686e6b11c20 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 #07d2b3c80ff35943 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 #c1af5bac9432cc0a 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 #835d211002081464 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 #e9ed2cfe5752ed29 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 #0348918a9c7c4eb5 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 #4845ba4b5505c94d 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 #ba7abeee11505248 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 #2ee94cab4df1d94a 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 #77e15e6e10fee76d 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 #15c5fbc0a6a297bf 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 #78115fc40d05cdcc 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 #123b565621033c6f 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 #baf2af2794d50758 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 #880b765c5247a6e4 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 #41cd7da8d5878d8c 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 #8da1c3031b5a95fe 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 #2595ed08118a747b 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 #0ba77a5be602fb9b 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 #2e16fa0ff2279ee1 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 #2b6d7f65e72f254a 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 #8e087db75a2ceb61 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 #c8bf9f26c0f8db23 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 #a62e05200c051816 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 #1d1c11c4883ca7fb 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 #2e9ceb2faa451192 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 #4b23d6e350295fdc 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 #c5b7d59672bc158b 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 #c0e07a368fd21cf8 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 #3e8316d19b8e6652 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 #5ead979fcf3c1a21 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 #2eb94e5f2b5ebacb 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 #dbe39ff325b941df 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 #745d1e7563cac8bc 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 #c514988d7ad3b8b3 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 #368567e283d4b3a0 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 #5610057620979e3d 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 #91f3c2786b38f95b 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 #14ba67343a6373ca 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 #09df551796b2f809 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 #e68d3b772ccd551f 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 #89452ad73e5f2177 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 #73c025ff8a0ee053 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 #bdb0b368d4871b04 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 #e80abbc0182edb3a 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 #ad2507539f08b087 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 #474a18a7d01e0905 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 #9fe10453d1d9daea 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 #7feca29d510642d5 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 #5da14a7ca4aa857f 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 #b869a1dc0ee4b375 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 #61cfd9660eafeb87 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 #80ceb516ca0762aa 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 #fbc845b1df26b01f 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 #2e43b20d3f03b32b 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 #21ad72c9da45af26 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 #4c9a26bd52e8861a 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 #0708e5bc3cc3dad1 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 #f13f1271c6cdf608 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 #841dfee4291adeae 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 #a9a8f838739a4356 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 #a9965cf20b3d47e5 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 #3cd169a4b59b1f67 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 #ff97bc1f1f40665a 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 #012c162e990fcbbb 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 #71c76bd36dd82dd6 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 #e33da7d5b7deb0a1 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 #4193ffd5fefc8912 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 #9f99fe7187e121d3 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 #ff9b5222a6151106 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 #70674dde7160c228 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 #fe781108b158a686 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 #a35244ec7f3d310e 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 #a6e6c0a055ff0f33 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 #3f46c377edd9f988 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 #5c9b27f73144599e 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 #3e691663ce5ff43d 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 #4e06d72c6b532e91 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 #f3520b592034aeaf 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 #cdef1372cf19121a 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 #1bc3099e43ccd7cb 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 #5429bfbd623c6de8 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 #2c1bea9e1ffee5b0 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 #01962cca46fdec36 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 #f85fddd334e7579d 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 #398dd934bb1bbfd6 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 #6779afa4d15beca3 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 #065086cda2cbb9e4 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 #0d12ab9a49c7e205 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 #16e319d361d13b09 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 #fc0a87df1ef429d0 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 #361da413022297d0 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 #e7b7166d92ec759c 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 #84c3351b9e598c89 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 #9b59c954f6b22a8d 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 #0afc54f97238e9b9 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 #8d3792982557aad4 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 #7e070b56fead20c4 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 #34fe78e115078f56 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 #1fa1d09d3cf36c5b 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 #58c9d66802d02ace 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 #673a0917b99c7a49 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 #9bf36e6f98678371 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 #c44712d1e329e376 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 #b8262b02795ef9db 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 #86c1b7c641c4f00a 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 #b8c34edc9e833a9c 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 #37caea27d5a6c917 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 #0cbe58330cfe87a2 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 #51faccb78ba701c0 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 #72ff8ea7cc3f3304 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 #110b0196d3ea0812 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 #3b95d58a19dfb038 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 #8fb8e84a5cd6d5ff 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 #bf86c141e68ca96b 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 #015a7b74c9300e29 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 #64700c2fff2def2f 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 #ed535d483596ab3d 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 #53304477d3da77a5 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 #8d6e8240aab2e982 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 #d211d1f8cd235b8f 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 #5599915226b91c61 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 #013f59e51e2db5ac 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 #9f746506b5d41ffc 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 #f599c14d306ea21c 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 #ac6c57f72be0b94c 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 #18f78e57767da5db 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 #7304716057d60b82 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 #f57c489cbefcfc06 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 #8b500b448f3a994e 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 #6242b1908e0ac8c1 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 #5e43b5ca79b5cce2 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 #04fce75119e59ce9 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 #e914bbe5ef138853 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 #2980509b7d244765 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 #42b19217fee1eb40 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 #5b9eab4f95f317f5 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 #a14e8666dad38a31 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 #b5ed88d984cd787a 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 #0c15dca14b014de3 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 #0c8d5b3ab91e0e68 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 #9eff6c834d84cd09 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 #44a477c91f0ed389 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 #5e3a0667b404710a 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 #3dbca1e4b677f97c 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 #f2682e15ce62338b 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 #a94a86ca900ce4fe 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 #c56e8f7755f720bd 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 #f844fd116e6fb1b1 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 #1ab0b593ce59030d 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 #d7671c979e1c605c 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 #b9357f7fa3950732 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 #1d8e9658754d84fa 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 #85afefee9f83476a 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 #14a3769482c50d24 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 #dd2363990b56f1ad 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 #b3c47ab7011f8040 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 #79268e9b06140d5a 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 #2ac1d9e29ff3fc90 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 #c78edac64c546267 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 #398225405383425e 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 #5e82f7c9ff1fdfb7 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 #846b0a2d1f8e52d1 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 #21e0a6b45ab19991 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 #05db90e548353783 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 #a53524abfcda3257 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 #ca960013f57dfb7d 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 #f4eb148a07526877 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 #2acf0fb077f76441 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 #ad2dfb862c44cdb8 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 #294f8687ca0999e3 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 #d2739540ae8d2ce8 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 #49c8d2b6bfffa5fb 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 #683a15092cec576c 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 #9e030f642639d5a6 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 #7e886b25d0c8d848 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 #b7b203d537ff480b 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 #d24b45f8c97416dc 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 #415820117e2ad3db 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 #2c6ac11278e34380 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 #6d5f11686fb0067c 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 #1176658dc0afdcac 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 #5b43526080839e2b 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 #7ce5bba8978576c6 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 #116d5c41d60888f3 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 #d31b2ad2d3e2d16f 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 #18b7342a4344da22 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 #6d1532122e9a5629 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 #b29f0eacfdf226bf 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 #7848890e34fe545b 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 #0a0bdf135123bb48 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 #a36f8ceeec9c1dbc 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 #e673ac815b0cbc51 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 #5a9ad9be73309081 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 #a691226a5616f79f 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 #6bc310b0b08bfc11 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 #4152a3c3a885347c 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 #695e1b04feaffb98 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 #ce4d0504f399e91b 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 #adb865d302c6fd2d 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 #8975198881fd2162 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 #5d70e83b123e6645 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 #2629d0a5be748d81 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 #b09179416360f646 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 #56844605da202c2b 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 #56503d6dc722ce36 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 #8f0d7ffedef4f84f 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 #c8addce8aa96c3a5 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 #4fe08ca92fc503b1 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 #c22532a6320d95d2 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 #7a52b0721e71e266 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 #a2c274602f55415c 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 #a33af81e2cfdcf51 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 #c651892c572eb121 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 #4d561d93c5a62209 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 #20dbf19abfd59d50 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 #57e9009efd2d4acc 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 #e916133b81bdbe41 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 #71500115afbaa87a 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 #d34dc37b54afa86f 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 #d24a5f01dcea6054 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 #0ab18331f93c2163 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 #b1f4fcf80d5509df 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 #d72cfed636f02d43 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 #f4290852513e45eb 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 #8a1a0d80234777bb 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 #baaf50db1aa8e076 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 #09127d3d91da9af8 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 #9ba8697a260a0338 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 #816f026aac60ecdb 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 #e6aa8a6bfc6687e6 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 #c421dd3a4116e875 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 #17b00ff630180e7a 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 #8a303e744c243d5f 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 #9ae4c322079e58ef 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 #b7496b671fc055cf 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 #1581cf548c5f167e 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 #016423e662c78100 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 #d194c59c7b5a34bb 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 #94f859c3404b21d3 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 #c83734fcdd0d02a4 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 #39d19cea8382fb63 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 #722f2bf540340dc8 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 #e214320afc9861cd 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 #18905a5da6ceba31 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 #372eef43810f764d 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 #8a1bcc533971c6b5 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 #4999587bd7c9b8b4 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 #9bc14854868e2adc 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 #d614fde01371761f 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 #162b13b52f6318ab 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 #24b1dcb9ba332ac7 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 #f2d05506bcad63b7 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 #c3d380e3492abed9 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 #fbc60f7118f752fc 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 #6668c05c6a957328 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 #932e62f359795a7b 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 #8db3092d311af2dd 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 #5154d29e270a25d6 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 #7cf73154b7afbae9 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 #4ffb270857c985a9 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 #e1bf66ce591d6611 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 #c4edb8a81099a9a9 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 #ab90322274ccb48b 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 #d21fb17311b12ea1 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 #2c9d3f9026a1814f 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 #a666500240356d44 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 #75d6566005bcbdf4 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 #2f542436b07fc51b 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 #4666190fbeca9bff 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 #ed833efe649aa805 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 #81c7a80bd5c37a55 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 #2ba9f04d6ff38891 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 #943cd4f9d508824a 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 #c279dc2cff55e7ae 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 #5056110274ae7b1c 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 #41f96d9c75d57504 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 #56dba925fcfefda5 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 #119c00305b12f022 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 #5d12511432ebd720 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 #927dd6db1919986b 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 #446825e6193afaa0 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 #e252a8a8e37027ea 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 #297f8d8f4066a09f 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 #08ae898458b02144 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 #1df586d57f33f77c 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 #7e84b2a83799a3fd 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 #492e638943d473ed 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 #12da37033d4b97a9 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 #cc55bdd20b181a02 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 #8e6cfe188a83dd70 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 #3a4eaa2a71abdd22 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 #5e284705adadd0e4 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 #566ae1d860bb1dfc 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 #e7aa2fef4b06ffbf 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 #cc24bf7a71d34009 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 #61119aa1120c28c5 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 #21617b8824240715 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 #c41dc0d3cfd2a8a7 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 #a18202693f2fd4e8 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 #2a53ed41007589da 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 #8d8c7bc734e1680c 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 #3305439f947114cf 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 #760e3ad1e574b18d 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 #4c1acc9adffccb71 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 #c6a8edf870bad133 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 #320963080ff08dd0 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 #a998e0b3a1f72b38 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 #644ded92bd70ace9 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 #64606bb3da5aea52 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 #660957f76d63e99f 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 #0ca77e30b40b0baa 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 #2985ad14f12a0099 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 #ff36ea0098335349 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 #888634c057275d4e 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 #ad36bfc62560fd55 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 #df021614812d77a2 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 #1c4bb46b7af5c93b 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 #e952ba1cc600dad6 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 #12ef03adf98415e5 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 #20dc24e084dace3f 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 #cf8aa87312f7e718 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 #768e96d2e75b60dd 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 #df9467d6c46ff2cb 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 #1598679746509832 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 #d5b18af71498c288 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 #7912113dc5be4815 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 #c9e13cbd46130151 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 #26e254ca3876e376 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 #edbfdcf332987b79 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 #861361cf65c5382c 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 #7ac1419ed5d7a5c6 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 #3410dcb2a8b4e52a 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 #832a0a8f3f439b1f 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 #e706e363912c8fb6 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 #5d750d65fd0f8d1e 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 #cc04c134cf3556e5 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 #0cb79ae155e83d3a 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 #566da55f7af0bbc4 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 #e81b91b56ef5ac22 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 #8b1a30ee39c642ea 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 #360800ca040365cc 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 #e2deac1ee0a50664 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 #6f891c67a8b38023 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 #6f511418f3dc1bb2 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 #55e72dbb4d024864 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 #42a5597922796676 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 #c88633d060cac019 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 #1b6197f54c56f7f2 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 #43d179cb51b739ea 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 #e59ad4a9bb8c3077 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 #342ff0f5210775b7 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 #e45ddf1de68357d2 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 #840e8d727513452e 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 #bd9728b395563162 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 #ab81c9bb4562c656 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 #3ae0e070a68ce7ca 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 #a1427209f356599a 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 #1d13dfd076a325d1 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 #f96945f43f4fd803 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 #c6b7b7476be512eb 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 #e981fec6fa1db63a 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 #728f6bdab3eb62e5 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 #6ed24d264a8bd8a0 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 #f23d53bfe21ee6da 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 #5231fd0b4f29de6d 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 #99cf01938b62cc0c 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 #d47752ad5a4c9666 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 #58b66c03db984aae 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 #85cb0fd3747daa2c 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 #0cbeda856999486c 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 #fef5cfaae86814ff 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 #32444b782d59f26e 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 #4a4295caefe1137e 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 #432c9fd7455290b3 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 #7d3d6e3cc85a40c1 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 #6512e575ede97abc 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 #235b9e793a97122c 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 #2bd8f290589109e4 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 #cf611fe88e90f0d4 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 #9393534888914294 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 #3ef61261c6fb2e00 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 #38918f23b4c138f9 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 #0866e06f7fc9841b 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 #2cafbca00f2a5001 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 #b4aca65aae80850e 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 #dc16fda82b100e22 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 #efaf993ad10c0a1f 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 #cf5ad41512c00ecb 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 #eba920844b78a257 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 #aed052dc11a1f364 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 #cc92dde55e70f02e 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 #6047703189be4b72 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 #573948762440f0c4 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 #57fe1406990da7ae 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 #f2ae7a8dec84ea14 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 #16268fa14c6dc54a 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 #c285f547689ca2b1 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 #fdfcf56f5e478f57 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 #6ce6b368471ec263 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 #a7704d71aacd991d 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 #3d0ded3dbc2608da 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 #3bc01448470214f7 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 #26a4e245ab2c890e 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 #010cc6acbf946d24 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 #ad5d59c3a6a4e36c 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 #09c2057f2dd635ec 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 #83108e0aeb84a3fe 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 #2766cc8925745b08 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 #979792f228162d3d 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 #0c63d92d732bddb6 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 #94f0fa82f4bf0268 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 #bd54646747cbb282 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 #cbc0c121ee3bed07 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 #08136c9113175597 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 #f3b8cd60a3ebdadf 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 #6a1a1d10535a372b 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 #77b9094d6c79d6e2 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 #c76aa7fb56530104 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 #14ddb774feffe6fb 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 #9f4d365a6afc29e8 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 #c3716d3180b882fa 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 #a5690edad4655eec 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 #e8b683ee3425df61 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 #07210ecf125b9502 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 #f300a5b84556225a 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 #46ef16d5d38c5953 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 #eed30da93d381ec6 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 #2e87e75fa9cd6728 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 #db70307b3c523b33 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 #c713c1f9f0add34a 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 #2fdd7219e82c1564 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 #88d0d47d3e59d4c6 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 #bdd130d039f952ad 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 #af846b1f5fbf5192 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 #9bcf3ce9dac34ff3 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 #b2ceec57488bdaf3 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 #c4f983af459e8429 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 #c106d7ffdfb09da2 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 #b81f0b27a04fe787 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 #02e520e8d96ece1c 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 #409113d1fc9bc93f 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 #db91a269b19e34e2 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 #0dc0ad4e0a66b671 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 #0d3dcc3eb4dccc33 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 #c3898511f65d4cef 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 #7eb90e57347fcf80 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 #9ed4f15d5a483a41 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 #46ff6695aeafdd89 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 #214e9da4f1a82a34 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 #230975ff280090f2 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 #5eaee3127bc84ab2 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 #c4917c6c6fb8c054 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 #59f45f4a78e4440d 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 #14d97c5b91764a3f 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 #593810b9530eb671 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 #760d212c8cd2e4f5 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 #c37142d681ad1328 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 #7ae506aff7fe7e39 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 #ff3f16a154ce645d 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 #183c9146d1f0b904 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 #fe175739d4246ed6 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 #e4feaa3d0e54552b 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 #4c9e66680fab9540 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 #2e31958854c66257 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 #f963243fa4ccb3d5 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 #4a0e488264cec4c9 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 #18f68e2be51fa242 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 #3f1ce5b963aba258 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 #c62a56183544a2b4 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 #c4a286235063a1cb 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 #6e842b259519d094 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 #e41fcb21fda4b903 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 #213659eac3d4a412 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 #60a7f5443faba2e0 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 #cdba1623de173f31 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 #a2d24297c583760b 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 #858cd155151a0987 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 #9d896a15c2233b6a 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 #e7132fd37f4af307 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 #c5d672ddb363d0cf 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 #d1e05e05abbbd469 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 #bb4a31f1d8bf310a 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 #4becad4350e058f5 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 #0985f919ecdcffa5 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 #a620f61e8ce39b91 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 #f18a303669406467 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 #f4e9b53083aa3b49 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 #ef87f9dfc8faac70 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 #6b73ce950b93523a 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 #72ee618addcb24d0 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 #9945d52e5da30104 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 #71ba9740cda7a6d0 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 #451406ec9d72ebff 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 #6bf79f9817ea7d48 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 #776adf223c965cd9 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 #df501ad5e87d09b7 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 #e0f32d5ca91e21bb 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 #d976edee6d68064b 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 #a91f326da9b87458 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 #f40e6bcceecfb46f 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 #1c9ce7ea5d56aeda 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 #ecbe9a8b7baf86ac 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 #8ab44e2c0cdc8a52 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 #7d8853a13729b14b 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 #82f91b417bbd3d1c 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 #741ced7dfab7026f 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 #439bf85808558685 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 #4c77b8080524402c 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 #319e4d2cf40c236b 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 #9d0f672f976359cc 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 #93f7914ff70d242b 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 #355fe12f6ae40561 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 #e4cfa5c066963c47 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 #d240f8b0980da147 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 #a06669311f9a312b 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 #dc2356a75bfd4705 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 #dfc9fd59d7cab82a 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 #bc0ca31c264fab46 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 #b64bac1517e30ed6 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 #7958a9fdd124e3e9 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 #529f1c96c8e01f48 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 #1172c03d16d0d1ab 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 #d51d65a7420e4121 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 #67ec7b103d5bea16 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 #9477724a1e6eb854 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 #cfb0c1e24d6f3662 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 #af1bf53d42c16c7b 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 #7549fe67bb962b33 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 #dff851ab0d3fa1f6 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 #46623a7092cf26cb 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 #3bca43b8c42b162a 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 #8da36cfaabd12b55 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 #892aa382bc74a74f 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 #5688262dc1f1bd36 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 #51c0d3ca432b91d3 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 #8b39fc5e9d605aeb 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 #69ed85b8e93ac7c7 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 #4cac2aa872cc5fe8 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 #d0630a488e9dc27c 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 #b303c75c28d77eb6 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 #1dfa9236ff750b72 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 #b2709e6614f7a1e6 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 #e72fb1b74195e7e5 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 #cd0c74979757391a 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 #de2fec6c7349bcc6 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 #d66f36154f94be91 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 #718d81709ccf9602 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 #0346681bd289db3a 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 #27c068177c8d0221 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 #574046f47d536dc2 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 #2f9352b3b3428fed 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 #8ef116a2a0432117 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 #eef585e9d83529cf 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 #b491984f30553e1c 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 #d630fb55eb5b2f48 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 #4d6d1da05a799f9d 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 #e42c182c8b254fcb 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 #5d9b5b0371fe9fe9 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 #9b4c6e5f2e5bbbd4 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 #eca69e003e2a1d10 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 #69b493a159729b41 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 #7bfd61305f33013c 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 #1b3a1a17dcf090ae 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 #cb25765129b19dab 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 #bd3410df54f17698 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 #9275710b097919c2 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 #42a7c49d8656ec4e 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 #b09cec69511f2408 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 #631a049b0aeb3d60 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 #fad8759a20193cad 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 #8a3c13402acf221a 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 #11486f52ba48486c 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 #e8132a06c3b5f07f 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 #2c63fd92f2daa8bf 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 #79f35ed60cac6550 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 #e97b8142debb91e1 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 #9fba6c6de5c10d9b 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 #15ea722f2da92850 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 #bfa4ce12bb1ef557 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 #ee894e603e0b51d6 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 #10dfd5aac4bdb3b3 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 #00b94c7ebc57c770 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 #a8a24e179f876fb6 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 #29a8deefa7aab3a9 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 #47c9b1cde0dfd0e1 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 #804624724f512174 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 #a3e8a61e87f7a5bd 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 #f50978f014b39201 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 #75b98ee4226cd288 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 #aa2b03fecba031a6 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 #6ff7b1e1fd4f4dd1 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 #6931b0987e3483f5 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 #2fddd8d23b0171a4 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 #daa3b5d67e83c2c8 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 #43458794be7c2136 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 #5dbed428b3214e8c 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 #a003a3fecbfe4ee2 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 #10d96da8a3317251 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 #f528a75c7f0db5c8 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 #85a528602c32904a 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 #13dc969c3bd90844 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 #45cfc2a3065782ec 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 #1cebca2a4b73b7f6 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 #114ca9d3fc1ded2d 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 #05276791a29035e4 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 #1b5af342d21b774a 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 #ec9fad8c351bb8e7 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 #b06a6601cea7e54d 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 #0bde050c47013639 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 #7196d2c02ae891e1 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 #7bc3c6cfc8e86e12 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 #a4ce0808e2615d3c 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 #16aeb38d9bc08345 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 #6f64a6fa7d774fe7 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 #e4df41186987c4bd 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 #d0a120a2b512db59 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 #180133c9a6a6707c 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 #77cd6a00cabea745 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 #15f74fc187cd78e3 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 #e1f24514d0ccaeff 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 #1f3626457401d345 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 #5fe9bc35178f9dba 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 #e1faf6c69f2064ac 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 #d1400bda6e0c1745 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 #62a32684624db49f 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 #17d8525198760476 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 #251a69074221fe68 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 #5717e6b1925059ae 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 #09a8dbf113d1bac6 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 #abdfaca809456502 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 #a7a18dbf03359389 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 #4bad4a51a7b743e9 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 #99cdd1555c08a683 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 #cae98c86edd0348b 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 #8f982e8c9e0a76ed 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 #990a44468c57a2a5 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 #d80b3a9167f6cb86 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 #6dff80cee8f18f43 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 #7f95a032cb74a56b 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 #d61101f302c0d512 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 #941d0f1e17e086ea 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 #dd8db0fdd6a97174 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 #28f06edb60010eb4 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 #3719c812e73230ae 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 #bb2f11105037af2f 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 #ef26697d1e18e26f 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 #e1a68e830bb1e211 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 #09fca23ce1aa4c73 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 #f03106e325b3cbc9 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 #b6f5979af14b58fe 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 #4505bc6205e26243 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 #68de22bdf6d84ea1 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 #09d2793f8335941d 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 #e5d664c6a4b295ee 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 #d5d8991623b63546 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 #4fc02c90884a25b6 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 #d5493d13ca6ad342 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 #6ce99c9ed948a3f3 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 #64d4485229b54f86 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 #21f11e6a3c31c220 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 #2c7755c83c7c71ae 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 #63fd3cfc1dd64216 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 #055d07d42cc33d1a 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 #0db5338c2ed33f7a 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 #389bbc57da44611e 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 #a2e3fef5458a2a6b 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 #74842293550ceeee 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 #ee74f516ec8dfdfe 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 #b2404f47a739a635 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 #e18ca9408b73db9a 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 #66109ea3450530ac 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 #554b2a4b1cdfb91b 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 #8f5e4196b88cd111 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 #74bd4fab39db5a48 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 #b350d0ef8591c42d 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 #8e6aac2fc9e99212 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 #47902b72a890bf44 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 #4f5b89f82c2bf954 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 #9f60526404c08590 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 #abdab48dc52ab2bd 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 #2d9a0dbcbdb9bea0 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 #d531261f9446a57c 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 #80b279fb6a0f51e9 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 #be9cb7fa74645448 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 #3b81619f927c84ee 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 #7108dec5c102b115 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 #dca4d47a706021c9 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 #1f73b55eb3f39208 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 #e5c62a92fd9d2254 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 #7f751e14784c8b59 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 #8b7f679ca84e322b 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 #5652864a073eefbe 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 #d6a8601958f852af 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 #47a58da5fd1b2054 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 #a9bf2986b164a4ee 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 #cf04d0831746287b 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 #932e1ea58bc48cbc 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 #5706c47f4721b228 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 #ac02fc1c23400dc0 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 #489db91d3d3f87c7 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 #04f0d4fde62d1182 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 #b690af0261029014 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 #8491adb588638a3b 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 #70c756b620efbc41 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 #1f16fce5c969fd98 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 #7fc24ee191018419 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 #dc69e5f941eae309 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 #10dfbc2e30669955 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 #ef999458b3580151 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 #24146297fd3de96b 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 #024ec1dd48c40157 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 #95d23c0cc266ee03 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 #9294e7e657567c6f 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 #671f21582f04c7bb 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 #1bf226cb7f9abe7f 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 #006d7caca24fde3d 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 #71228e1b4067c2fa 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 #e1db1fc43824375d 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 #aae2c3458245e770 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 #74d41595d2de11c5 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 #5981fda86613743c 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 #c50dce5952f976ff 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 #bfdb88348ec1086d 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 #3eae2b2362e5bdfc 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 #6056cb0880a50128 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 #62af12c748e14e00 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 #f56ff80c08107829 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 #a55d00b7a62f1dc5 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 #9874fd4e967281c2 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 #c8ad264b6bc2b0a4 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 #50183374ec474cd2 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 #e7266ef1a0def90b 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 #f4a5b81984c4d0cb 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 #8b98bd89cad49294 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 #d6e006b36176dc50 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 #93992f416b0770ae 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 #bba25feab4b948b3 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 #572c896fe2903972 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 #d341c9b360065746 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 #b04d72031c444c51 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 #a54265fe7e29c4dd 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 #4ec5b5a6e7f5c7c3 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 #7ddb87fd4d047596 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 #73b552a2b4624d3a 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 #d310d40c05390264 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 #35419a3a665a940f 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 #547dcb87f964e33b 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 #67ea410ca1b629bd 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 #bc6320fc171a4f85 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 #011c127ee4afd952 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 #0e9ebd4238fac040 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 #15993c5b9dc9ec51 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 #fe7a1d89fd26f2b4 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 #4b42b85d122efce8 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 #4a5e42fab095aca8 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 #81bc9bc4db8b0b5a 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 #13277f7e2d73234f 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 #67d92d3a3072a0f4 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 #50d239e935e0bb33 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 #4eee63609d3909ef 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 #aa605ebe0fb16fa6 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 #a08940b29b70127b 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 #25c0a810abdf04d2 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 #9fb5a7c5cc4b4247 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 #4ea7a7cd96e8d753 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 #f299a31a506a9060 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 #1190a1ed20986883 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 #e472a6d6214eabb5 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 #3e2b94e4ea8216ce 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 #1b542abe35459a40 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 #04b82d70d519381b 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 #e63862d5b3afefa6 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 #f0d06516ffe54379 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 #2237e99f611412ab 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 #9e86304296262f10 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 #8ca76549a350bae4 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 #9caf6a5f0990c447 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 #83e96bfe56d0e55f 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 #006884a841d64d02 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 #9b718b8c2c41e74c 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 #ec320c4a8db12ee3 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 #b9d61fea1a6370bb 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 #b54c4fca914c203b 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 #4b133d4a83ae4ed9 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 #63b8b5462c9612f3 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 #d643a2c1c976a115 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 #579d856863a69144 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 #144b56da8b3b73c8 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 #905048cb15097906 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 #b4e4540d14bf2a95 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 #2aba57ed350d8ae2 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 #8b1eaf28ef3e4db4 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 #e2c5fce064a305b0 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 #91802a98423618f1 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 #64f2d641fa4541aa 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 #4ae96fb9a356bf36 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 #7404bb1afb0971df 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 #1736e9ead544e90e 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 #03405ca4c2aadc69 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 #1d45f713428dbbe7 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 #1b245542ceaec17c 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 #a02a74eef37f4cc2 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 #87f920a0b40654f1 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 #f43e73bffa7dd035 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 #4bd7c3f63e0778be 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 #accf14e221486b37 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 #261fef9446e34a72 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 #4c2a1ef9c6620b9a 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 #13715a61e8513db2 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 #bd117af059bedc16 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 #59328511cfcabd37 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 #7de4f42b5bd3a5f9 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 #369549b4b723a874 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 #994c4c6b25e7ee10 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 #98bfba874b34738f 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 #7a8dc26777b7490e 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 #9505a0ce1ff57407 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 #d0184b3757d21eef 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 #99fcb0394e522a0a 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 #e1f3c55007d5e96c 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 #b1d4b8d0f15fa194 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 #b487f5b3c4eecd71 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 #ddf655b4af1b8659 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 #d71f0e90ab6c807f 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 #45cb057977f386f1 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 #a8a623537fd0b67d 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 #7587d88ef746f4b2 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 #a59b6e7fda06e915 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 #9d7843394f64cdc1 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 #b14fbea82392829a 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 #4ed208634a3775f7 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 #d01d7d399de0d94b 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 #df777c7a84ff59cc 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 #dcfcc14edfce509f 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 #02e9f3c4f57208fa 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 #d6f51fdfa180a869 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 #3d6f71d4024204f3 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 #fedae411960bc4d8 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 #1b447f2d35a52ef8 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 #a024ca67360b2681 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 #772cd461a8697824 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 #910c477e6e97a042 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 #221d6c6a31ad2b81 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 #e441c18fd4279972 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 #4a460ee63d912721 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 #a92fc6c25cb0c56d 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 #0305e041100ad216 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 #5286a9f2b1f30b76 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 #1be64ae46d778801 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 #6e86f2912923b3ce 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 #c9281039a566b0c8 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 #931d0f0889e9d8bf 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 #89cf82d03170138f 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 #5a85741b123b3e51 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 #986fb7ef5d21b288 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 #43a07b87d743fb56 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 #7bd4507d23a24acb 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 #10a1a27f1d132291 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 #2d43a479f7c4cfeb 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 #37d7b9cbc584f364 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 #2b6ff46cda7e0059 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 #ee3044a889171c4c 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 #c6f89244f2949976 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 #b16ea635cb9c302d 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 #f479477c84217ea5 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 #b33cfafaa014d051 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 #a03958a1b13e7c50 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 #005d495559ecdb5c 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 #9b84601c3c658ec4 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 #366f36b129b5b39a 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 #ffa311acd597fece 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 #00b0606e0f1cd458 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 #79ae3ba109e97c50 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 #22ef9c9b6ca0328d 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 #dfa7b3165f0198db 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 #155558af9b2db00a 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 #fe91f9701f54ebe4 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 #20bec57ba232deee 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 #b95e611b35a80ece 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 #69069a6b376e9dd1 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 #e0f6a2f3a0955d81 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 #a66f3219f934921c 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 #b56b18dfc154db0d 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 #9913bb2e10b14e82 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 #931702f731566a4c 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 #e25f543e26b0107c 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 #879aa3cb0df67a81 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 #2a4e5b4a491276ff 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 #05a3d1a1188c81ea 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 #15ae8d3f601c67e0 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 #7d63de352ebd8bd2 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 #c8d9945b6883b0cb 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 #b0c219fae9f6ec29 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 #e200247bc4ec128f 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 #3a7cf899ecf334ed 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 #64adaaa4d10f8a46 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 #a4850f25bfee2614 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 #51dc0c14dbb5cdce 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 #3f288d38a4bb8a40 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 #c67e0472255b306c 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 #dcb84e3191b86059 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 #4a430ef594b8bc58 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 #8a8843950934bc0e 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 #abf8cfbdf6b93439 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 #400900d030f71c79 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 #b28c57664356e5d2 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 #5a82e50da5ffb256 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 #3429531efd503b63 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 #00695acf8fb8ee0a 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 #c162510f7268b705 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 #e7270d8f31b036d8 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 #257adee5c7707850 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 #704eeb54b35b1e58 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 #dff996f4d7f5fe5b 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 #8053fc44b9ba3a11 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 #e0ec4f13d5ec04ff 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 #74835d20952a1c67 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 #118cb9ecbe9df79f 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 #912c9641f5e9410f 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 #87ed34e2f0600470 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 #305e595755a904a9 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 #f9a70ca7c6ce72b3 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 #63d86ec68ec6bac6 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 #bbdfeb77b3ca2912 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 #0f2ea60fc5d26ccf 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 #c686b4006b154fd5 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 #e19089db9dbb786a 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 #388180958fadfd69 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 #f94628f1b47a6c5c 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 #0f5632ac84dffe4e 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 #8d2136c038cfe387 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 #6171ab066f430334 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 #d9e2e78d64240024 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 #f64e05bf67444aa6 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 #671baddabd36b12b 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 #d9315b1ac30131f2 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 #14339060aa1b82e9 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 #f3eac7a739652d7a 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 #19ae0231e26efd48 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 #adc0fce832b2e510 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 #f4721e657bf5190b 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 #5009e763b3f10e99 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 #9e2a0195bb28bf75 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 #2cb8af90ced49750 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 #aee7802765c605e1 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 #3b05ef3b972a759e 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 #c007cc5d0cf345df 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 #c26a772f1ae3f8bb 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 #592f8500d2930f6d 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 #041f7e1a2b4a02fb 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 #f549dea8b6659140 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 #04660b00bad14714 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 #07017d9fb7cf5b2c 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 #3f66df2ed41e240b 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 #2c3b4b5f8b8815d1 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 #74b3c971da175381 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 #b507491fdf8ccb57 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 #bfecad803ed6e336 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 #fa993a133e52c634 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 #72f08ff666a2eef3 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 #64a8af1b53294305 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 #c225f5f85b7144b1 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 #7a898ffbb94e9a13 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 #0f2d10e5c92aa735 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 #fcf239520ec23c0f 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 #b9aca9c0aec097c4 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 #4db28884e0d9d2ea 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 #99c52505793167b5 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 #5698cce8e2ae61d2 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 #500e25dc65d88e4d 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 #5a1e2bf4013e2d48 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 #a3101d8d3dbbf0a2 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 #4f67d66ca4a97787 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 #cc50fbaa3aa0a929 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 #316c0ce1f02f7199 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 #a4d3405f0c65c0bb 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 #32a8833f46088f9e 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 #98d4b3a839394c0c 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 #c25cfd02d1b859d4 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 #8d3954c999d89899 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 #364783c5d9178a60 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 #8a2d9c88fd74d195 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 #d4ec4c898957c0ec 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 #a57400b3bdf48c48 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 #49cf28e55885da60 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 #99d46cfa0c8bea4d 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 #0e5c8947d7bedcf2 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 #c14b5d2a7ea098da 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 #9565d7ff9417fff3 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 #23a62f9a817210b6 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 #fa7f7df4ce8f8e40 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 #65a1414f84d90122 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 #d2c3ed491f09aea9 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 #9c1e892127a5c22e 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 #a4ef1cc6c43ce2ad 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 #d5e22301e2e49182 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 #27ff1c745eb9504e 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 #84a93abecec5c3f8 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 #eaa55fbfc81899dc 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 #54a89e12e859adc5 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 #5fbb2b531b5cd688 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 #7bb8195a8c15ee43 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 #c71e5d7d7f07201c 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 #db9d6bef3410948b 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 #607c368df2cd15d1 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 #597ee85c1493d5a3 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 #6a14322490d1c805 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 #8617c6acc0261803 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 #99c7af15e8af99b4 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 #423449115675d6a6 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 #dffd9facc8a66bb3 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 #2427b50ca9f35431 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 #e67ec9b7a6fc210c 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 #01156872d963859c 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 #d0da26872477480a 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 #4b18429d9d59eb5b 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 #b82380dc44a55bad 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 #7842665539435534 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 #c512ac14a380257a 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 #3de2be0b10c074e0 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 #641b5460d041fc71 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 #8b0846c731d76c54 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 #8ad4328db67feb56 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 #8d326e7e0575528a 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 #f429054a5e5e9c6d 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 #0d4ed18ad2bb409c 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 #339728f60f658a73 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 #e6b7cf50b05a9d87 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 #ad2d2841cffe75ba 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 #f2d9aa45827ad127 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 #1d323b2ba70bccd8 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 #cc872f5adce2ef72 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 #e082c41b2c432f73 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 #fb31a176789dc92d 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 #e62d5967cf049cf2 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 #4518568c93aadbf2 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 #fc4885bae5cc1ce6 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 #7ae5123431a5f09a 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 #90033bca88b0b15b 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 #8f4594bf37a958f0 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 #621ce20c3ed28ca8 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 #2d364b5b87a33b5c 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 #68c7242014064998 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 #3c658cbb4a3113c7 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 #d74990bc89e2c88a 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 #ec0ceb68c04b9144 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 #93cbcb56a32e7c88 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 #f1242d957a91e36e 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 #08ad6bbaa9313796 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 #253b94810cd5b9ff 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 #9f1cea8c4a1df974 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 #06e8e8defa9921a0 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 #f53d67023affb36e 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 #db94c8e8292abdb9 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 #49be6b5268e35222 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 #4693b597b9449c40 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 #4afdd85538da2a79 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 #83076a66f8f31066 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 #1c0f028a231f14b1 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 #22f7118b245c3a00 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 #3447eeae3b19cf1b 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 #ab7dfbd9f981e56e 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 #a6090c92c639ed56 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 #a5393450e094fa9d 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 #d3bf2e1bf5c3933c 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 #09400117d26887cd 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 #fef98e960859b9a1 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 #0953fb5c45726a35 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 #8537c9fe64fb3608 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 #88d2e6d5bb94aa25 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 #a35f5cde9a464f9c 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 #1c214f7f556c56c7 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 #718671a7020b90d1 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 #859ea073bf1b2731 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 #72fb591385479581 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 #23fa2c641f85c665 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 #af6aad640e069cd6 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 #cef607588329e6f7 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 #55088544f09acc45 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 #8ccc208253bfee02 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 #670a0aadb0863880 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 #7a1ee181c252a554 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 #5dfde9b159cad767 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 #882197176d627cbd 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 #b1467156ffdfcfa2 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 #a0d7d2570511a680 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 #5e03e49d0ca64f11 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 #514a58138210c53a 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 #6f547e7076c0ff01 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 #85ed8f8b86399381 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 #08bcebc25847c412 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 #9a8478aba23c158e 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 #9d13d6c3984b1473 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 #402bf9358fb39021 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 #c9154596fc736473 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 #2fd31cfac8d19bd1 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 #bd3a5dac295b77de 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 #0744bed707fafc89 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 #b8b5bec017725050 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 #d913918aa9ee489f 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 #1c99c6c16fa28a69 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 #c643c24d774aca1b 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 #2c4c1d1c82166a0c 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 #18a802ed3d08fde6 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 #04d9a8379e5d7b25 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 #888f3eded1ec7bac 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 #f72262db7fb836c6 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 #3dc32203d13c8780 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 #52041a7198a05e21 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 #b4245d81ee342f4e 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 #f857b1a9ebc9ae88 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 #8a7d810a4003a318 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 #1d9120be15303a4a 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 #5d293923606081c8 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 #ece7292f1b5e64df 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 #2daabde8d0c0c1a1 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 #0ee7a81a5d87c141 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 #17c64cacc7e5f517 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 #e6eda16b543679e3 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 #ba3b9411f493873c 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 #2a2dbe1d0bc4eeb7 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 #2e1a12693d5e93a3 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 #d497d06ad28e1797 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 #5f2a7e8951a20548 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 #faf9fe234bf6ca29 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 #52f84e4213d96051 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 #53d9e167e21eeb7b 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 #af0976f47a639c50 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 #a0a0992e096f3c6f 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 #423f11bfdaa935d6 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 #3f01a490e73eb8e4 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 #e8b33a484f42b46e 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 #72974f0bcb8d6dc2 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 #928b20190a2626cc 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 #b7eda7f1188f16a3 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 #86954060ebdee76c 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 #e34b55bd411d0f5b 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 #664beddcb56feaf6 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 #3feff03be2d650de 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 #4d9dd09380b3a4ee 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 #f4d5313612cf2b05 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 #001d11fc26c0a754 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 #89003c8ec7073bd5 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 #51c218102903c552 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 #249e17239bf6057d 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 #48b3752d6242ce14 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 #71f6d62916768419 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 #9167a9c62ef3079a 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 #02ced132bd7296e3 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 #5553c35c42dd623a 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 #df72ec8f49185b25 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 #bd1c76fea3d482d3 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 #b6c4dcfdd5e55fe1 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 #f20146a3e5738657 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 #3aa1d1ed36132e38 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 #7f63bc9fb48270e7 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 #8d39309c0bc5247e 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 #e997283953a9c7d8 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 #69f7d29b3f36880e 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 #fbf4ffc327771ded 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 #f592a7bd9e6e0a5d 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 #f8461991684aec88 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 #7933640b9e6e6b6d 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 #033a7b164dd1a108 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 #5293716ee5282c3a 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 #eb6702cd60ef9d97 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 #111f113e00ef91e4 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 #afd6aeaa1da51152 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 #e83f888429102aca 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 #89f05c752cd06993 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 #e3a5578a644a11ee 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 #34cc0f1f37f9f70f 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 #fa232f79444b0f0c 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 #1e6a062a7cfe6812 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 #fc5a3048bad5bc5a 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 #4eac23ad9f950727 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 #038246b6a4f03bc3 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 #5e98db6fa633a612 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 #4da4badcedff5649 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 #accc5441f55dd810 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 #2a8c7920282d48bb 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 #5134a24b9b0d22e1 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 #f159253244855a83 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 #3998a600a6c94861 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 #1fecacf5fd069e03 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 #05c5ef0012b2065b 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 #a52d1e2636aa6741 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 #7cfd84883ccbf52b 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 #a973885e9a148cbd 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 #b8e4ae7f65ab41bc 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 #3a5c99b176bf6ae3 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 #582e0da9bd3f4a72 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 #de0d971dad00dd0c 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 #343ef31cafb3de02 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 #870f9a75be95429a 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 #f9820977549ccb65 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 #23d9bda5b084b89b 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 #37da8eeb588f74ab 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 #c144ecee3474d152 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 #987c1787ed590420 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 #3a4139da49960084 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 #4c6046891b6bfff3 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 #2a2190eb1b6cca5b 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 #d4355f9aa9e4de99 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 #8cf88a9348d9ee47 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 #275cc2c630964e66 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 #bc46f430a7c0b4c5 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 #628e2c4014b8cdb8 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 #72b441294c8e177b 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 #13fc2e0c75570b69 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 #f5d1ad6363301353 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 #1f3097acb6814f84 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 #f0665f6b29420c18 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 #deebfda283af0abf 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 #89b79a2a6bea4681 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 #6369a07ac8135f5d 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 #c0c891128a13b356 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 #a25b0e12b0df5808 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 #0c0640c32791c015 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 #50680cef1aed7913 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 #91f5e44483e8b1b7 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 #54a7f40b399a2948 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 #8175098cfbcd44f1 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 #eadf6b9942d4761b 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 #b7cde0a55e8ede5a 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 #d2959f075dec1882 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 #eed78c7a5047f521 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 #89590ff6eb415606 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 #dd2a060d709ac4de 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 #0ecbc9998356b2eb 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 #c1c7003505d4a930 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 #e1badfd914d87fa1 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 #244377b524af2e29 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 #1a31179e5c5a3856 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 #e17c83c44bb404f9 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 #6578e5ab60627a66 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 #900b845a516d2bac 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 #642c9df881b1a934 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 #0fe1e16d624f51ff 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 #0d2426d82ebe0de0 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 #52c09a887330f8c7 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 #6a983fbb3ef839c2 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 #3a8fb6fafb57421a 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 #e56b41d2ee993df4 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 #0574ce941e2fd734 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 #95289dc7edaacbb8 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 #1aef8f3b89eca337 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 #43aa97cc99e8a39f 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 #3e84e97368f5ff7c 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 #91c41cd78011654f 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 #4c7647db882c914f 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 #ba5ed4811441f450 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 #909a05d1aa9f9216 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 #7f849debe05a9344 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 #a453327fcbd047db 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 #5b702198128587cf 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 #b7b72306c59ddc18 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 #d220f125e76eab91 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 #20b3a975c7969f9e 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 #53a77aec99df87e0 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 #986f4c8c6eb2b56f 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 #329da35660394ea3 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 #b78f8f623e20d693 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 #1c5842d2fef887fe 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 #f22a495316ae6f2a 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 #b3dcb56ba0bfcc4b 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 #b3eb77ea21195ec3 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 #b3434f6724f9d52e 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 #8bb148a8fbb7b918 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 #91ca16b15204cac1 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 #3a075d58a8911622 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 #ed638c2f58e4f7cb 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 #4121dcbe0744f205 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 #13c94d4cbcefda69 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 #feb7bb6ed655b58b 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 #313bb0e43d5e296d 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 #c45f6659a9289e91 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 #1dca539e973fdf79 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 #bf2c457f03a2715d 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 #db613277af03ea1a 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 #f57f99f8b7c21d72 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 #1bb180b8222be463 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 #ba95431a7004088f 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 #c6e1223be4a3adc0 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 #3f2be7d73f350f95 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 #63bea6e5f544b004 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 #8ed2b744ae36f980 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 #de32a84249731d48 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 #695d527079363e7a 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 #abdd93002679d02c 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 #1b8aa73e51ae5019 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 #1fbdbbee3f8a3142 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 #a868b834dfdda226 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 #846a5f879ce11350 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 #2b1c6619efd26743 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 #a5f8f1a8a380408d 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 #a14a6e857154363c 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 #e668192849991301 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 #e93db382c7fc47af 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 #518eb41ddce91f82 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 #07acbadd11d3e91a 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 #0fe87c24696491f8 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 #fbdff2d84197d356 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 #6cb2e35243d023d9 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 #1314802d0312efa9 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 #66b187b8f1530286 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 #30a823ace1884ed4 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 #095ad3ca7257c843 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 #6171aa4b5031a1d7 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 #039adf3444a11bf1 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 #e6b1951b23abf7da 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 #cd741e8d7251a77c 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 #79937bb190629b56 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 #b3121967bcd53b9f 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 #43a0e8b93d54ef05 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 #9782f5b5dfe0b059 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 #d00de759aa8cb44d 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 #b51afe0d2ab9165f 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 #11722dcf02b9c178 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 #2b8567db0fa22018 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 #49c03e48e4711368 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 #12634a7cfec80bee 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 #84f887a0ea06e05f 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 #86f1f10c72bd1e3e 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 #11b53ed273769b96 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 #ab2def6650ebc775 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 #8a5481198d7b41a2 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 #ce2f7a8e849fa667 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 #48a332e6c480a33a 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 #1f8745f0f913f687 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 #d9da69a2c3236c74 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 #ba3f8fc0f08dfe8b 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 #08c732b4634f3432 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 #60dcafd9b81829fa 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 #a061c3672c69bb3e 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 #4372567be5a8bacd 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 #8f6078fc701a805e 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 #dec6386a3aa28e2c 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 #10b61b79fd39c44c 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 #ca1ab6d633df783a 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 #c3c4cbe924ed2045 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 #f5466fdbbaa8131e 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 #eefbd8c58686236d 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 #4b709744210d9961 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 #3621f84cec44f677 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 #1e811bb6c994ae32 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 #8dc363a7df6a60c7 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 #6f01968cdea04a34 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 #6355376ba641930a 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 #f6a76f38fe83a851 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 #ec8d4a9d1aa36ac1 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 #259b26bb4342dda0 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 #9b2aa1377a49a126 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 #03b267be7ac95e65 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 #6bb2da80c2c392f1 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 #13e07beeda0eb0d5 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 #eaa812c407008ca3 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 #03c6317f84fe98f9 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 #46d725195281a9d3 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 #4b319db85ea3e5f3 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 #354c89652cd2259e 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 #2868df663c80fced 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 #fc9d401a066b7dd1 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 #e757b1f86a17e1a8 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 #cb4e2209424300c5 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 #b953ade742290210 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 #0233a9931a12ab0e 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 #2951d8d92d3b173d 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 #b96725796ee198ab 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 #6edc7194e467c63d 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 #1d64d0b380ba768d 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 #d035312aa0507512 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 #4f1569265b81c448 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 #fdeef4b1797424ab 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 #597d3e8eb52a4987 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 #ae4e3777d86280e3 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 #9967948f8732b8a5 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 #d4b12eec9f98c0b2 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 #78468ee007bd5d2f 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 #3cff8cf970779f56 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 #07809a75929de497 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 #5cf117029f6058f4 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 #6cfa2a374221b05d 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 #0532d8624e22f3e2 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 #b364f4767a3504e7 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 #df2b2cc2f829e6b3 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 #1b082bdcb36f71b8 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 #1ffc8769e967a6e9 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 #1698777bfe57c21e 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 #bbb23faf9d3d4858 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 #6f3ac05f17e591ec 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 #aa49b3cebbee6431 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 #3e6fa5bdcf956209 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 #54fd8910a95a049e 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 #7e296f56a4df2cff 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 #d49615dfed53799b 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 #2d5f67f362098de6 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 #912b1a1a2eb7109a 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 #7e60bfee6a11dbb8 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 #e22e97fce4ed3d5d 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 #555aaac6eabfe15e 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 #68816d1b0931a94a 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 #3692b3b2b46f00c3 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 #51040e8d2c38b01c 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 #54f73d5725017702 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 #084ad626a96901c2 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 #5a3e4eecdea7c68d 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 #20d2332b56d3094f 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 #6a4f1e78c7e2a338 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 #e9ede0d308e2bf5f 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 #5fe32536c3d67a6e 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 #d655cc4ee1e30653 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 #527df798c73eec19 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 #c543bd75e5b5edb6 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 #009bdd8a8cc84d67 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 #ccb0ea7e8ddb874a 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 #2cdd02c8ecc1cfce 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 #973d851049632707 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 #6f7366b423d8b7bb 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 #6144600b6a6f3b06 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 #48931cc5fea29f16 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 #d01a87d79e1e0568 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 #11ea4379a0e6b5a3 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 #0de0d16b44421bf5 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 #a7e67e3de5b1c341 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 #8574c69ad1e935f1 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 #2c40b929769af0e0 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 #ed855e20044cd450 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 #0e962ea479f7d645 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 #f573c675fca345f6 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 #3bea6d91bea24ec3 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 #37a781fd98a2af5b 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 #8604c4ef2f007988 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 #b34b1fcd8ee677f3 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 #aa2699cfa09ff82e 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 #4deb042a720edcfb 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 #7e1c9e8584cd3b63 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 #28a1af2df7f068ed 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 #3a7e3dbc4408ed7c 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 #644b271e99531552 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 #b1b1734b83beaae7 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 #0f61524521c5bf48 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 #ab16c61feabd5fc5 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 #840aa92cab06633a 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 #aa23b225a8145d16 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 #13a0c37ec8af16d3 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 #dc07edc703525bb3 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 #1ce36a4234b53622 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 #e95f5b857736ca42 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 #fcc89d0fd9b650cd 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 #0b0bcab4207cdad2 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 #0fd784aec5f59255 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 #0b78875c293e6b8d 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 #c9760e60cf27cf89 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 #6784c5d546f03e42 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 #d44c6ff899684773 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 #de53858e638a135d 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 #c70d3209109ffff3 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 #bb46b7bf805b2ac5 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 #c3fa26fcb0675e7a 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 #644fcea7672d7566 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 #e78b0b64965c9b2e 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 #ebc2c1f38042b7cb 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 #af3550489afb2829 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 #52b59c9139f1c69c 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 #e2fd8ea69d9e2230 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 #9ce1a823348c9fcb 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 #d06727ea1061839f 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 #75d30be39cc2c3ca 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 #5ef4fc295b20e973 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 #0ec21b9740dc01af 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 #cf36ac60d33104a3 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 #bc250b867f64c16c 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 #228c3446e7ce0981 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 #5559a34b0db5ba2b 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 #c8903017383f5fd4 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 #518d3d4d2429a1d1 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 #dfdec2816d880fe3 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 #360f609e2c4b91cb 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 #eb8a05958e1351a1 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 #80e87eeb1209742e 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 #eee820664973f095 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 #d903460defe36fef 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 #a47c5fbec2615d67 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 #85ba6a6e9070a4d9 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 #06a041bbc9ec9ff0 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 #12d3b2e202b1f447 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 #0c9152feaf8539b2 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 #5aede1a2347118bc 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 #7d1b761fe5f8d3df 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 #2304db2208379ee3 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 #b547b9c41d6d5ef9 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 #d9d9dad3403f1984 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 #89974719fc3f4c96 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 #2abd9cc207beb986 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 #d7ad12f8751a9253 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 #606c5b9fb9d6de47 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 #0df873594be10178 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 #92e07b5173984fd8 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 #db64b687d6f8928d 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 #285b11ce52ad1c43 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 #3f983db1c8fb3c2d 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 #de15796eb9a7fd1b 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 #42ccc1c9ed566699 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 #5230ee56942863c6 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 #59647bdf244b6e41 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 #d2cfe8485c6a6054 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 #3d0480f0de993c8d 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 #ef4a6ebcc747b9b1 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 #4bfe6faeff0617b1 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 #da7f1d6a2b1d3965 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 #825b335caecd4a54 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 #5edf64b6547c47bb 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 #5055ba99026f4990 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 #cffe33b24d6a3194 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 #05c6559cb9392d9c 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 #15670b06fc3d4b36 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 #8b04b3440f52b230 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 #8321b113aaf9cd90 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 #07c9c0eea03fcc09 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 #311a3ef86ca34bdf 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 #85c71e5068c6eaa8 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 #4aa25537b301ba83 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 #8949cf6a3a7a4b42 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 #dc6bd294aff06048 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 #0023929aaaec8fc7 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 #7f47fc1a6e3f15bb 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 #92f444c0a77d0a32 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 #279e1c57ab7122e1 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 #01545b1bef707900 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 #96e2244268c90ecf 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 #f483afaff92dba31 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 #4eb07e04ccdf89c5 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 #8ca37fe6c6ec6e18 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 #c4e72e78cb69b552 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 #e6d0cad507865e96 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 #47249ed9a3d9c98a 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 #7775cf51f42648c0 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 #ae499ff2b94f9442 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 #9c97dd942ccf4bb1 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 #00569f105bef44d6 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 #3c697a0388b75903 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 #b488baac8c125791 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 #906beea2cea33db9 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 #49db971f59e1e502 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 #8f081f9b459e1751 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 #632ae8afb18d48d3 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 #1430fd0a725afdaa 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 #859d103967277d8f 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 #a4bb00ee01e7650e 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 #efccb5e96ae6d47e 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 #6ede12b3a7644fde 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 #119aef26bbe89446 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 #7ead7191d8d22787 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 #6cebe509042ef52d 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 #a497df0a41264841 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 #0872fe3f2cfdd169 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 #a60aaa80e4428f2a 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 #2ccda3df5ede795a 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 #094ce3187b5d1f68 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 #56f36cf03f8ae77e 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 #6104615908020792 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 #a6e58141b669ac00 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 #d5845a2bdc17b6e5 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 #fb8787a5ade241ac 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 #5b5e13636112d164 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 #ac92aa08bf0fc09e 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 #b36dbda219122fa8 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 #aac40b1546487af3 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 #dc9539dc543b8b59 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 #901728b6a3196c66 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 #5da653b98970faa3 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 #38354cf066b7aa50 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 #a2091cc246136b3a 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 #e2f5742ab71754ea 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 #12577d180ab2c6bc 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 #b7fac0b01c40a7c1 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 #3a92ebe19da37791 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 #770b36221bd0c625 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 #da225408808b6521 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 #a1861d97bba2b01c 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 #e0f744eae282f531 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 #7de07dd57d65d4e8 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 #54a20a0cb230208e 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 #221e46429555b3e1 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 #0496c4dc5a10d6be 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 #f3f3548bbd755c65 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 #a24976c1d94443ae 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 #e3e409fad4a2d79c 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 #418732401edd9949 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 #3ea3cfca3733a8af 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 #a41cd76e8864aec2 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 #fa782ca3449d5536 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 #8b1a21321a71edd4 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 #637c2d0b8a4472ce 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 #f90a9c066ff72ff4 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 #de2241ae4a5cabe3 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 #929d180989707d35 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 #41856628f087bdce 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 #67deec4fb14a442d 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 #5d08071842a35a07 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 #f517b53626594662 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 #2eb87152f50c9096 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 #37894d932111a89c 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 #04fc329a504392d2 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 #36d184061ba7a931 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 #3d56269c1d27e4d5 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 #e9fb0643f25080e4 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 #7b64e9d853241604 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 #4305a07e5422fb1b 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 #0aa7dfe4a52fd032 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 #1479972dc41ab536 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 #e12aa935fcea94cd 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 #6bf02a618e9e9f00 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 #758adb38b06481aa 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 #e03abfc0f6efe605 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 #aec03ffd354c9cef 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 #05e288b364026675 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 #553b80ad964513b6 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 #fdcde820f17c9196 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 #0234004ff3b8cf04 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 #a903583fb7f3c316 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 #d17950f286b4c572 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 #8ebeaa740af882bd 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 #a0c2856e1fdb160f 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 #e91f1c54194f2c5b 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 #11773dc111ae9593 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 #00f1e4c395ad94d6 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 #2f3f75013b591ed0 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 #03966d29832d0512 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 #67603f1f286a2838 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 #7dd5e7a56906064b 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 #d8ba64e71a242090 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 #b9edb1a85b1cc1fb 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 #94e17b7efaefccac 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 #12c42d30c9dd5b85 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 #d686367d9f74472b 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 #783425ece3092417 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 #2d6302f5b5ede5f5 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 #3a7e74971564e2ba 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 #5618ffabe2634bdb 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 #a0ddf818acbb7d79 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 #f488f0a3a7e7d629 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 #bfcce50e211e7232 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 #3b978937c3842cf7 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 #177a674b6fa2b5c8 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 #3c3c5ddf8a28c214 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 #e3bf28be22677597 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 #e84e2e2bd4f4e5d6 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 #11394d52a9630e4b 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 #a1b8560ffe4fa94f 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 #612d34ab2b322621 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 #b832b984f4993030 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 #f81b7a893b0a90e9 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 #f08f77978f77da11 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 #ef8734a46f51446b 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 #e89bbb291b3cb8ab 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 #753dc456f959023f 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 #5b234bb9322e1d8a 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 #370c3ea1389ca5a6 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 #73b64677107ff79f 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 #3eee1472d4a636d6 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 #338fdea4a47515a5 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 #ba7cd0563443beff 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 #4e7029ad5980b748 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 #ed2956356105e5d7 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 #0e7f35e6cc29a94a 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 #3fe40dd5e2c43f1f 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 #7e7c6b71219bf439 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 #e288c0a27daa1358 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 #9249d4c4e40274cc 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 #3c12d05868011664 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 #7e51642d74a1126e 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 #193dbc927adc96ea 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 #1a433d63a6c3ef83 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 #5d7fb89c882c73b9 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 #b2833ca8f6839f1a 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 #a19b34cc53d9b903 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 #9c0f91c8616ab231 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 #6fff610d0ff9f98e 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 #8f44b194ea513ca1 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 #0675d3f6cb039016 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 #7f3a4f7a2a7d5c2f 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 #00860abbf6684cc7 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 #fe06e4bf33ce9a41 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 #ac1e4f55a3c15c71 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 #440c1cb8e036d840 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 #6b9b1c3dd9bfe050 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 #d473749cbb620df1 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 #c73b2287efb71df4 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 #b351df50bd30e401 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 #fc9d53850a758d69 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 #310cf8d976eeecac 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 #2a8f7960d6cd1f42 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 #8411be850abb938e 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 #15183a4b5b0c473c 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 #a2f0e90c2d98ff97 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 #2e028953183ae0e1 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 #25c0f127f3f6ca2a 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 #2aff2b4227f8a51c 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 #e92cddce1e47723d 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 #2e5b3ca93bae4d41 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 #044ee4c65f9f9c0b 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 #39d694595eb59484 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 #5856cdbba9ae28c2 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 #61195819ce0100c3 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 #98bb574a9b183226 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 #8b6a8fd062950f4b 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 #a95170f473816aec 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 #363e0743978c7bdc 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 #1eb8672c28084b51 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 #4e5d7c4ae86a21bf 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 #6a606ff105611538 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 #e2c2071f660f3121 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 #c4e8ff8f5bff8331 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 #6f6ff14adb4fa2c8 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 #660b1bd587674842 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 #b610626048d13c9c 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 #9eae3ac2e0e04606 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 #7212af70841334db 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 #29cab9c5110ea973 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 #89d8bd0d2748d71e 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 #7a5d573c72ed8931 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 #89d0f18d52131495 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 #db3f534d2d69e13c 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 #802f8a3600461620 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 #a8178ff8486f5443 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 #ddcef6bd435530b7 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 #41b05f4ec3d6d979 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 #e082c37c88c0f7bf 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 #59a77ecbc77ad17e 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 #7fd6ceb357d08444 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 #56b519f77a6f6302 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 #f2381172aa095a3d 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 #2516db11686224dd 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 #1dd4b7416eba05b2 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 #42d7284e54f35330 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 #9a500897dbb2a709 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 #b717dbba34d4d972 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 #54412b7d27cd88ff Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1349
      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 #68f7bb7e68f294f3 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1380
      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 #a5f6c70bef858ad4 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1417
      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 #01dd7550c665b960 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1434
      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 #e31a7d4f5bfbd6bd 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 #0123d0028095a137 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 #df2eb31f4ca85587 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 #7815fb133829a9e6 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 #b1d7374f60eb3a33 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 #725f1fe3308f1b1c 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 #6a878b6f3becc1f6 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 #f4586e74e5425466 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 #8687b00d8f8689b7 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 #946958e5099cad70 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 #5aa2a22f5bc0957e 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 #97b0a39e3b665570 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 #852b7913357970f3 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 #575b845b25a943d9 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 #cfb06ba9eeaabe2a 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 #1428d20d4f490f07 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 #18ef7aa86a2b79f5 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 #737350890dcb2a83 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 #5a695ffb33507041 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 #78dc0b49697c21c4 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 #32a569ee440a296e 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 #3c7b06a6fbb1a5af 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 #3e2ec7a2c218fdf1 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 #7ed438cc05813fea 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 #f154acd0763e5acc 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 #e223536517b8720c 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 #e555f55feba42378 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 #61b674733dec6dbf 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 #517f84347827a11a 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 #40a7ce3e422bd087 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 #d28501b5c12d63d7 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 #514b94d200b13cdf 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 #bf7d754d2f5fc921 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 #8d8afc8c2925dd4d 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 #6c94bbf722edeeb5 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 #1462857c5b3c1e80 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 #82f4b0d6040de3c4 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 #7576d82556e026d6 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 #8f5632a59fec6a86 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 #46c5e343bdaa897b 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 #92ee9ab824f134f2 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 #f4b20fb49daf11e8 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 #f6eeaf2e4c673a68 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 #3df8ed9dde804a92 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 #037bb2a00c44a2f7 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 #d888dd0dfb8440b9 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 #e628f70b96f53644 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 #95d9cf45f7ed1641 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 #114d972f4f37d2d8 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 #960855786a8b6c63 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 #51f17b693d9dc9f9 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 #10b9d048cfc25ee3 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 #fb9ed32759b709d9 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 #64a94e7de2690502 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 #a804dbd0bcdf31c1 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 #c3402a347c7fc5de 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 #05a9faa5a76003ad 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 #6e38f3e6152f600e 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 #1795fb16390565d3 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 #e4288f6b4cd35c72 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 #6f475da05306eb78 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 #9e3d2c233edad262 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 #ab8d5c23c1df2cf8 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 #487b0b18b1e76e6a 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 #39c8dc83e78d11a3 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 #642edee08bf7fa68 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 #4840ae73eec2098a 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 #ab554dc9bafaa10e 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 #970ac7bffef36376 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 #57d6726b7d4b5c0b 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 #16d2d87c73e61328 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 #40418aa1d359a967 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 #dc4a5b10150af0ca 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 #7a2467a8562b475c 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 #5f0384a0c797b846 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 #ec0b4aa889524741 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 #a3bb5882b5b76f50 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 #c47d2e92a4b1ff98 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 #eecc5254f169c254 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 #8351a5d7e620a920 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 #6e5d6689ece3631c 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 #ee461203689f7c11 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 #6ecbfcbd246d6205 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 #92cc8af7a5e5e304 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 #cf88bbba0422ed75 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 #3b49797f92972a0c 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 #b5d1a63cde84be13 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 #4d2b542ed02b0c05 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 #075bdf0a47ad5551 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 #191f1d0ae4f78b25 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 #23eae01a84cb0e6f 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 #144fd9eff2d142bd 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 #ea88d6e72a655fe4 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 #59909b4e0af3460b 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 #eea6eb18417f15fd 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 #ec053811c33bebf3 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 #514513d807fce121 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 #28e568204db02ed6 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 #d2bceb6594e7b8ee 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 #3e41f48fa7a8dc84 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 #4ed266631900c58a 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 #4d326fde0e2eb239 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 #06805233eea57f39 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 #7a3c939dc1d859f6 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 #7fb02d92ada7caf5 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 #38e6168a72cd22aa 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 #95bb883cccd40a5b 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 #306a0c6bf86c2404 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 #1fd43beab5182829 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 #93ba1a8dda21b733 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 #5ba3bd5ebaec4481 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 #43802fbe9b6cff90 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 #5306593d588eabe9 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 #e2bdd1a940bc80c8 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 #cae7b0609a8fc57d 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 #b50f73a57ae938bc 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 #8a6e16d685655452 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 #da882746b2636861 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 #7f3a2aea5e4cd668 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 #9d2b21efe27cf2fb 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 #6547314819f75a3c 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 #f8b7c8546b59f7e9 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 #8e24111bcac8412d 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 #009c4a5c9c26415d 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 #22c2941bcf589517 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 #c27703e0f4ad1cb2 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 #2f0124dca4661cae 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 #ce9f2c404f1b4839 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 #0c889cf7c99b6dd4 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 #4c5ba0b88bcf8871 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 #36b436309e0d3af7 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 #40320a97a3a6c79a 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 #f0d1c94d84273840 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 #4e5f31906cad80a8 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 #8952549fb99bb810 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 #f90d1ddab2f078c0 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 #f23de4653393f93e 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 #f35e995966c6e807 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 #28104b4b96ac67c9 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 #18fd094c58129455 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 #e15f8152f1014097 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 #b85ebdc58eea2062 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 #c69bbb853416c258 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 #3994391b40901d6c 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 #4f44c8493757c728 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 #91be0a04cca5b9a8 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 #93a3c4efa80bf91c 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 #6cae94d8b1905fbe 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 #5e123bfd1c4ea6da 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 #09116ef8c6f93f9f 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 #9c0d4fa9eaedd78d 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 #50fee7fb5e3f738f 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 #7fca7bbefaf59e94 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 #fd08d9aba14bbd63 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 #511bf0a577ec85c8 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 #7054a5bb7413d5df Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:435
      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 #fd1cd50a9fb1e058 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:470
      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 #dcb6ead9fa446f1a Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:524
      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 #45543c53e10407bb Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:705
      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 #7365577e1512f085 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:774
      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 #56bb676850bf8906 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:821
      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 #b77020b71992d601 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:881
      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 #ea18307642a5f913 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:1071
      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 #ae28f552a6633568 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:1153
      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 #159c20f30b9c14b2 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 #d99d2020faaf05fe 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 #dd0089b75d38ad97 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 #b00ee26de9c8d369 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 #cec4064b59cd158b 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 #1a8b0856fce59b3c 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 #ae09683723240979 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 #da9d5e15321aaf9d 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 #e5145f2ff8a07bcf 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 #757a8260e818c6a3 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 #380b09033ed2c438 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 #980f0697e0658bdc 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 #870f04fa5a330225 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 #77f1ba62f9acd26e 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 #56789161bc7e7b43 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 #ae9eee77156bf86d 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 #e7c99f3ce1e60206 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 #bc3174000819d63c 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 #2dcf788b6c53fd70 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 #d2abdd48c7503eb3 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 #e25a5e4647d35644 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 #98b10003c2187645 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 #aee0428062b598b5 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 #bc223debcc367741 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 #37164ce5ce69acac 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 #2b76302c85b17354 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 #11ed2219e51f1e36 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 #16f671f2d41164a0 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 #086865bfcb64cddf 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 #1fea1960c582ebd7 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 #b0dd19a06cf5840b 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 #9a38a2d98515a0b7 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 #bcd3d5555a4e753e 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 #cf49791d4a662726 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 #726e68c0795e119d 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 #cfc40eca9ca68223 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 #8fd08dd784749978 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 #065f88a518c2faf9 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 #e98cb3a018577402 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 #538c369d74f3e3c8 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 #600c2a58968ea17c 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 #b51880dfffd18c48 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 #ce72417937afd606 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 #3928cd787a34b51b 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 #d7db8e48ba3d5502 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 #670ad0f330c09cb8 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 #0bf2fe67bb53a740 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 #e6ed375e8956b4c0 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 #aa1d5c4d53142a13 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 #3c8254c625bc97c0 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 #82ad0bd4cb433ced 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 #68bf1915c3fcb13e 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 #90c2f88181aa4c9c 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 #31b8eb436b90d338 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 #037fc143a7bfe0af 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 #d8bc2326abd02246 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 #bb873b2f20620cf9 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 #9a04456dba1afcac 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 #c175cb7eccf80bdd 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 #9f4dc615246d832d 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 #b8b4ebd32aee5b60 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 #8252c1f8acdcf1d4 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 #44b21fab5de24d4a 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 #6a6d362eadb9c5d6 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 #3776989cfa802c63 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 #bbe131a8ff5148ab 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 #00ff0af42e8c665f 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 #965a919a2f841d8a 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 #23c7b3cae9b1c300 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 #701c9526f02a62df 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 #505d5b1705c9c139 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 #737bfcacbc6e0ef2 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 #42340ae1ef0a456a 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 #8fd80699ed4aa579 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 #58ff04bbafcd182b 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 #8b4efd27d83adf5e 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 #ed5994c6910332b3 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 #53138fe652b59f67 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 #c7d5407101b426cb 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 #97fa80cae917bbb5 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 #54dd18950ed1bfd7 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 #e6d68e3618c11f6c 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 #41fe344429d38ef9 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 #ed9bf57b22aaa19f 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 #f4187544342639f1 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 #18e6fd20b599479c 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 #d8d0633aff4e0569 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 #015c171985774c12 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 #70586204137b4a9b 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 #ac3379881449ab7b 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 #f75ba382f51e9500 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 #8afe4a4606901835 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 #b4cc69ef70e475aa 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 #4492b13b28dadd91 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 #7b160a0b97bdc5d4 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 #a7a4f77c66658a16 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 #05226a2f2d8e20fd 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 #fdbe93e569de0720 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 #de12d49b55a32edc 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 #d73d48b337af653c 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 #7435142a38d617fd 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 #85a89fa39619dfb1 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 #85c8a92fdbc99e2b 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 #11dd2d4a32779508 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 #298dba695741a311 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 #14fc991fb9e3b52e 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 #e1c788db51182e99 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 #01bb460ff042b20a 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 #7f65bbcfbf2ee4e5 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 #36fdff2540f514e3 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 #dd5b974433b0e08a 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 #97f3576563a46ef7 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 #86776e8e934e926b 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 #f641fdb7e86caeb1 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 #ae286ff8fd6f40be 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 #319692e8fadbf13e 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 #bc2d2fcd74de69bc 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 #128cd36c421da12a 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 #b59e3125922a91d5 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 #7cd1a00b2bf95c01 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 #0a1cc37dd45c6265 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 #34a8d8c792c10c1d 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 #4a77096d1752293f 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 #5e36686253c50cf4 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 #977cb2d3b4139c2a 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 #51d6c286d8e1da5f 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 #3d45a7fc7889d60f 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 #8c7629fa48b71673 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 #6e392ae4d7e5607d 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 #02fb04c32745cd54 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 #20259add0d5eb5fe 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 #259fc4e890dee682 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 #6122767c40815979 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 #9b8b0fe381081258 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 #fbbdac133b0ebd11 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 #36d431748fe7807c 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 #e50bba9d63592df6 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 #8cedfeeac657ed0f 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 #428eddfbebc5e73e 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 #9c74809c57050c38 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 #6118df00f7363b6b 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 #e4e71430ce725828 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 #ae43c5de1d626787 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 #8175e93bdb06b754 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 #6e70269841257d2e 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 #61d9fdde861dd357 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 #b499c6fad3adf37d 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 #b8dcfb1311057e00 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 #fdd929a7e3a0bc30 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 #dc706e5b294e480f 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 #5fde5cd074e81e62 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 #e54bcc86c567a149 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 #903d5f532ab88ee5 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 #8fd2eac2b03964a2 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 #c56126a4ce3048e0 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 #9a2761b829089662 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 #23d3154f903a2995 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 #54a3e74df8124770 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 #897ca89ffa8df255 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 #506aa0e87cee7973 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 #2480cb121baa7c32 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 #9ce28ecd6328959f 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 #83af336b0cc068bc 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 #1f3f120c14866c14 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 #95162968061fbbc7 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 #11bc515ea51c2b69 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 #35bd914ad80e0986 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 #c9b5704fa0bfe270 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 #1371b37173669ca2 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 #31976c0e86e067f1 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 #8edcf94ad426c04b 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 #3057b894216a62d2 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 #005dc99204f20878 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 #98deb492df3d5409 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 #92cef2e248997f3b 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 #7d84daf08e59bc40 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 #2ab79a828e5beb4a 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 #70277b083b8c5f29 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 #3809020c1020a71a 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 #899b7bcf757ca0ad 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 #892937170a573413 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 #6a2c6afcfdc0e679 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 #e642a5b9c6543c3f 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 #9e7131d580222d69 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 #4b2c624296e4d254 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 #e386ad799c66619b 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 #e70734b51679f0ed 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 #b84ac869da28e46b 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 #b82f354eb13170aa 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 #121f62a153f5d8f7 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 #a3260cfe02b9076a 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 #69f623e53c612f96 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 #b90f9e2f29b30e1c 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 #2e9f9369e4418dc2 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 #78701a36b1695aed 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 #f8c4e3f32f9a4a56 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 #6ea5fd0ab3f38acc 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 #cbea5838a7f69ecc 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 #c797e024f8f786db 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 #b8ed002d4019ea0d 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 #9a539ce03d98b900 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 #72cd5ba10b8b90eb 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 #7fdb37d40fc1df99 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 #5f7a3db6f956fa65 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 #8b9b64584d269cdd 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 #4eacd8e9df4c23f4 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 #26fd636666fc5290 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 #32af6cf93f774c98 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 #72c86c21ab694999 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 #29baa5436cae7ba5 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 #2a734df98d982d2c 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 #53d4482c79074942 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 #17cb64c9e9031901 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 #233b847da908c876 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 #c1ae659d2fa20305 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 #7a3474d338b00801 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 #677a215f68c236ef 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 #d53df67485179520 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 #e1ca0f9ecd974470 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 #cf5500de92e009f5 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 #fc1802cb4d8b5d88 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 #71972e693f6ac16a 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 #a41bd06a679fa8ec 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 #799669db56412c20 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 #9c2ee3ef7f56a389 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 #8deca6c1bc656fb9 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 #96728a143f4f679c 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 #9a46a350f3c9ba96 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 #03549d5995fe84a6 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 #186c2191ef1f5984 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 #cff8d367aae87d1d 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 #252c280d9425e509 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 #d2287a889d962c36 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 #cf8c19465e05db95 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 #8c28c3d1afb6e18e 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 #efebf9487f757b1e 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 #a18c03ac854ee4e0 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 #14968dd1ef1fc999 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 #9465de537d521f3d 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 #13b3ee920e53905e 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 #9c2f9e68b7c24636 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 #2dfc5e6034e85978 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 #316da8e6a1c3ccb0 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 #5b17e856f08375d4 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 #7ff9f2d3b3d87789 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 #718f506a2c295131 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 #7a983f4b7ac93009 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 #dcd18dedee84bae0 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 #0ff399b9ad5739d3 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 #a7cc5b204787104f 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 #c6819cd223c20a87 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 #08ff680c2c8b148d 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 #d5cc9135ab42a18c 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 #c6952c2b77ab0dc4 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 #8f8d953268607f2d 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 #f5a7059790dbe07f 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 #ee1218fce661165d 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 #fe711d6a21a7e579 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 #a0a80c467f34ba0b 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 #26983b51f4cefcb2 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 #f695e9631584da9e 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 #1cdd4ee142b8ce8b 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 #4e535f4959b2cafc 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 #ff0e81703e6e943a 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 #61ffd9ca773f6e7d 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 #4c0683a72f980da8 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 #c530f4fd4988c39f 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 #917963ac2ee04c58 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 #3dde62031c0bf7aa 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 #2a6cf8d8cc34a3eb 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 #bca325206d54ecd9 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 #db0e17e0d973703c 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 #0a39f718d401c1b3 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 #75c97022ae4c15b7 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 #9991423ce07273d1 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 #763809566b92c382 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 #e8aff786e1d67df5 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 #362417e80d578efe 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 #4a46e7ae9faddf44 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 #262c262c6ac183ee 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 #8795922d8117398e 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 #bdd848a9ac8b9f2f 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 #e176f0e1dba6b615 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 #73b3fc04cb34eec6 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 #e443959105f490e9 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 #b3686ddb25aa3e6b 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 #4d27d592b26e603c 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 #c5fa3b650e41a2ac 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 #cbad34caa2cfc0d7 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 #a9b48aab29d9d39a 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 #d301b03e679df9eb 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 #935cc6ed14de2740 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 #0b3b191fe8f13249 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 #b7372a7604269286 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 #d5493d6856a38673 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 #0bd717555486ea95 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 #b541988f375b29ad 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 #387c994b8418f1b7 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 #8e12deac0c4ec4ff 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 #4688609998adbe1b 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 #1daf14434731e921 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 #dcdb58545843cd98 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 #2449683a9247d515 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 #f9437c583c6d08e1 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 #0b1dee77ff6bffef 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 #d0c80d542355c218 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 #e6eaf453093e8ebc 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 #df0a8000033f1896 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 #da9dab0b5179e190 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 #3d47f34e9cdd265e 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 #91cfcf31897e5f21 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 #75bc1405e813f7cb 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 #dcef107300f63d5d 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 #36746218dfcc8f77 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 #2933e4335fa3adc5 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 #6af0111a3000a11e 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 #25fb902860578159 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 #7642dccf413db4a4 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 #2f1eb49ce18fbe92 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 #7f5d3cb17ed2d2bb 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 #85dfdb9c8d409c6c 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 #ec08e6b935000877 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 #dc7961c1a8e1f417 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 #8e21f4b535f4ced1 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 #aecff6117d4a0764 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 #7dc7b3dec572229e 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 #fabe05e51133b8ad 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 #e7c04af118bb33e0 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 #77bb6035badf3505 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 #ffcd4da15db5a5a4 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 #41c3d7734a4f7cb3 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 #6033922e7750a861 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 #403d58fbdbfbf336 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 #dfe50df77cac6f06 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 #242c3e215285d5d9 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 #e68f969b5c05e04b 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 #cc25f483b1678a85 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 #40efddcd471eec00 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 #815b54f04b5e1c8e 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 #fbbeacc18acf229c 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 #e91a0ea4c888bf0e 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 #2ec626e150ab2e94 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 #c2fcc8551c865880 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 #1e862832f611e05e 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 #dd182682a43fe9c2 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 #0e41ade1cf4046ed 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 #6bfbe37ce9cb3d34 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 #7d241432c23df12d 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 #03b6ef933b9fa413 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 #6cf18ccc06ecadfc 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 #7ec426ca2a7a6863 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 #c0a2b7cd25736b37 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 #04bce18e0860745a 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 #e29ef73ae893dbe7 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 #638b33a9eb1ed505 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 #cf7f78b52e626608 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 #2b4ea143c6898e1f 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 #ea90e6f52d75b634 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 #6b9132b9baebcbd1 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 #a8c6aa9e625c596a 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 #34a4b973d1111084 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 #5fd20978aeb6e8db 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 #f8105227d10183f8 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 #2d5547372eb6d1d0 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 #5d16c58cdb225c8a 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 #68b69e8c9cf826e2 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 #e0b7cb1c899140bd 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 #d1e79fc4fd2d89aa 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 #fa8c08111d16faf6 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 #b9a87dd58988bb61 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 #41813191dd4a9b73 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 #10d4152ea2e0d355 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 #ed1839dc1dc7fe01 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 #52c226f44b05341d 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 #699bc03e741bc8e0 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 #291fa95e90b29573 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 #243a07b5e37d7dd6 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 #aa419797fa88c467 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 #3573adc59b28478f 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 #1dedf0042241113f 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 #095718d8bb1407d5 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 #a4587f5f8814b285 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 #4471769441acb21f 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 #ccfc8254d5cb8459 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 #b5d7b5c12e125474 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 #e51667b764589786 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 #cac63a7579d7681d 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 #de7e282fd8c30c5b 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 #e746768cbe2cf291 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 #56b03e14f946489e 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 #b51d8b85482f16bf 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 #c875e01ab0647716 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 #2ff26433764d08ee 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 #e5aeadd34876d721 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 #0c837fe28a8036c2 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 #c5ad7d32335f0514 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 #d04021a29d4fe571 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 #5de91af18582abe9 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 #9eafd8dbf58fe5f3 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 #80a35052c19ecb96 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 #b0a67467ffb87b73 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 #b6a02143e9217ebb 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 #4ec4415ef15110e7 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 #fd5412591ae6af59 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 #a7d263e5d0867dc4 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 #456798ea0d37e5ca 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 #ca5e604ffe8ff74c 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 #a1b174e23b2a9209 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 #c7e647b98460d599 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 #ebb51f9b8e1b4b2c 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 #2f884292ef61e016 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 #6b495d37677b58ac 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 #f250bda13596baf4 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 #914c977358a32426 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 #8bf8854c505774f5 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 #3173aacfcb6bde75 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 #1a0675fa5404e658 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 #9c25cf0f075f443c 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 #bc47f402a63dbddd 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 #cadebb6b127921d5 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 #0512386b8a0d10bc 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 #d8de489c291db9e0 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 #14588dfbc78cb541 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 #7bc5f3bd67b51e98 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 #41c7230d2159fa8c 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 #c7c9c40743af8e82 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 #6491dde51c48c017 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 #06549544ce1c6c0d 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 #061268b79dc8f30e 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 #bbcce039089129e9 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 #c52ea95a031bead1 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 #ff71b41d03f421d7 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 #19303d3b321cc4b8 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 #dc95d1994dbf92b5 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 #52fc318c38518056 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 #04ae23b41904453e 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 #ebbe5c1f433a3b77 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 #7b771efcd96ae20c 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 #d531c27c8ccd1135 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 #bc9b36c2e0ebc7a5 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 #a9397abf3bb47ee7 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 #0c8544633995a40a 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 #ae1c807feeac9f8b 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 #703bca8a50c66176 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 #ca70e26859594846 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 #132dc4c66b6f99da 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 #d7a223fe565e6a34 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 #5aa9d49f2b85f453 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-y1z99nbf/repo/packages/a2a-server/src/http/app.ts:228 → /tmp/closeopen-y1z99nbf/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 #425b03899f9ff1c5 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-y1z99nbf/repo/packages/a2a-server/src/http/app.ts:228 → /tmp/closeopen-y1z99nbf/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 #3f46c377edd9f988 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 #5c9b27f73144599e 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 #3e691663ce5ff43d 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 #4e06d72c6b532e91 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 #f3520b592034aeaf 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 #cdef1372cf19121a 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 #1bc3099e43ccd7cb 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 #5429bfbd623c6de8 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 #2c1bea9e1ffee5b0 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 #01962cca46fdec36 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 #f85fddd334e7579d 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 #398dd934bb1bbfd6 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 #6779afa4d15beca3 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 #065086cda2cbb9e4 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 #0d12ab9a49c7e205 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 #16e319d361d13b09 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 #fc0a87df1ef429d0 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 #361da413022297d0 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 #e7b7166d92ec759c 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 #84c3351b9e598c89 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 #9b59c954f6b22a8d 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 #0afc54f97238e9b9 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 #8d3792982557aad4 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 #7e070b56fead20c4 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 #34fe78e115078f56 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 #1fa1d09d3cf36c5b 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 #58c9d66802d02ace 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 #673a0917b99c7a49 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 #9bf36e6f98678371 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 #c44712d1e329e376 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 #b8262b02795ef9db 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 #86c1b7c641c4f00a 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 #b8c34edc9e833a9c 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 #37caea27d5a6c917 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 #0cbe58330cfe87a2 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 #51faccb78ba701c0 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 #72ff8ea7cc3f3304 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 #110b0196d3ea0812 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 #3b95d58a19dfb038 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 #8fb8e84a5cd6d5ff 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 #bf86c141e68ca96b 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 #015a7b74c9300e29 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 #64700c2fff2def2f 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 #ed535d483596ab3d 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 #53304477d3da77a5 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 #8d6e8240aab2e982 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 #d211d1f8cd235b8f 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 #5599915226b91c61 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 #013f59e51e2db5ac 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 #9f746506b5d41ffc 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 #f599c14d306ea21c 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 #ac6c57f72be0b94c 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 #82632a845fe24fed 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-y1z99nbf/repo/packages/core/src/utils/oauth-flow.ts:472 → /tmp/closeopen-y1z99nbf/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 1106 low-confidence finding(s)
low env_fs production #8b0846c731d76c54 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 #8ad4328db67feb56 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 #8d326e7e0575528a 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 #f429054a5e5e9c6d 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 #0d4ed18ad2bb409c 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 #339728f60f658a73 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 #e6b7cf50b05a9d87 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 #ad2d2841cffe75ba 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 #f2d9aa45827ad127 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 #1d323b2ba70bccd8 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 #cc872f5adce2ef72 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 #e082c41b2c432f73 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 #fb31a176789dc92d 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 #e62d5967cf049cf2 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 #4518568c93aadbf2 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 #fc4885bae5cc1ce6 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 #7ae5123431a5f09a 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 #90033bca88b0b15b 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 #8f4594bf37a958f0 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 #621ce20c3ed28ca8 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 #2d364b5b87a33b5c 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 #68c7242014064998 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 #3c658cbb4a3113c7 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 #d74990bc89e2c88a 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 #ec0ceb68c04b9144 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 #93cbcb56a32e7c88 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 #f1242d957a91e36e 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 #08ad6bbaa9313796 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 #253b94810cd5b9ff 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 #9f1cea8c4a1df974 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 #06e8e8defa9921a0 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 #f53d67023affb36e 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 #db94c8e8292abdb9 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 #49be6b5268e35222 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 #4693b597b9449c40 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 #4afdd85538da2a79 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 #83076a66f8f31066 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 #1c0f028a231f14b1 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 #22f7118b245c3a00 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 #3447eeae3b19cf1b 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 #ab7dfbd9f981e56e 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 #a6090c92c639ed56 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 #a5393450e094fa9d 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 #d3bf2e1bf5c3933c 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 #09400117d26887cd 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 #fef98e960859b9a1 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 #0953fb5c45726a35 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 #8537c9fe64fb3608 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 #88d2e6d5bb94aa25 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 #a35f5cde9a464f9c 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 #1c214f7f556c56c7 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 #718671a7020b90d1 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 #859ea073bf1b2731 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 #72fb591385479581 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 #23fa2c641f85c665 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 #af6aad640e069cd6 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 #cef607588329e6f7 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 #55088544f09acc45 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 #8ccc208253bfee02 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 #670a0aadb0863880 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 #7a1ee181c252a554 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 #5dfde9b159cad767 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 #882197176d627cbd 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 #b1467156ffdfcfa2 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 #a0d7d2570511a680 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 #5e03e49d0ca64f11 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 #514a58138210c53a 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 #6f547e7076c0ff01 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 #85ed8f8b86399381 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 #08bcebc25847c412 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 #9a8478aba23c158e 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 #9d13d6c3984b1473 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 #402bf9358fb39021 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 #c9154596fc736473 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 #2fd31cfac8d19bd1 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 #bd3a5dac295b77de 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 #0744bed707fafc89 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 #b8b5bec017725050 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 #d913918aa9ee489f 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 #1c99c6c16fa28a69 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 #c643c24d774aca1b 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 #2c4c1d1c82166a0c 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 #18a802ed3d08fde6 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 #04d9a8379e5d7b25 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 #888f3eded1ec7bac 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 #f72262db7fb836c6 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 #3dc32203d13c8780 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 #52041a7198a05e21 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 #b4245d81ee342f4e 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 #f857b1a9ebc9ae88 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 #8a7d810a4003a318 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 #1d9120be15303a4a 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 #5d293923606081c8 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 #ece7292f1b5e64df 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 #2daabde8d0c0c1a1 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 #0ee7a81a5d87c141 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 #17c64cacc7e5f517 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 #e6eda16b543679e3 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 #ba3b9411f493873c 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 #2a2dbe1d0bc4eeb7 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 #2e1a12693d5e93a3 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 #d497d06ad28e1797 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 #5f2a7e8951a20548 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 #faf9fe234bf6ca29 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 #52f84e4213d96051 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 #53d9e167e21eeb7b 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 #af0976f47a639c50 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 #a0a0992e096f3c6f 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 #423f11bfdaa935d6 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 #3f01a490e73eb8e4 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 #e8b33a484f42b46e 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 #72974f0bcb8d6dc2 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 #928b20190a2626cc 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 #b7eda7f1188f16a3 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 #86954060ebdee76c 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 #e34b55bd411d0f5b 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 #664beddcb56feaf6 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 #3feff03be2d650de 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 #4d9dd09380b3a4ee 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 #f4d5313612cf2b05 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 #001d11fc26c0a754 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 #89003c8ec7073bd5 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 #51c218102903c552 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 #249e17239bf6057d 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 #48b3752d6242ce14 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 #71f6d62916768419 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 #9167a9c62ef3079a 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 #02ced132bd7296e3 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 #5553c35c42dd623a 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 #df72ec8f49185b25 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 #bd1c76fea3d482d3 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 #b6c4dcfdd5e55fe1 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 #f20146a3e5738657 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 #3aa1d1ed36132e38 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 #7f63bc9fb48270e7 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 #8d39309c0bc5247e 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 #e997283953a9c7d8 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 #69f7d29b3f36880e 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 #fbf4ffc327771ded 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 #f592a7bd9e6e0a5d 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 #f8461991684aec88 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 #7933640b9e6e6b6d 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 #033a7b164dd1a108 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 #5293716ee5282c3a 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 #eb6702cd60ef9d97 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 #111f113e00ef91e4 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 #afd6aeaa1da51152 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 #e83f888429102aca 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 #89f05c752cd06993 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 #e3a5578a644a11ee 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 #34cc0f1f37f9f70f 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 #fa232f79444b0f0c 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 #1e6a062a7cfe6812 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 #fc5a3048bad5bc5a 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 #4eac23ad9f950727 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 #038246b6a4f03bc3 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 #5e98db6fa633a612 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 #4da4badcedff5649 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 #accc5441f55dd810 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 #2a8c7920282d48bb 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 #5134a24b9b0d22e1 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 #f159253244855a83 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 #3998a600a6c94861 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 #1fecacf5fd069e03 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 #05c5ef0012b2065b 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 #a52d1e2636aa6741 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 #7cfd84883ccbf52b 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 #a973885e9a148cbd 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 #b8e4ae7f65ab41bc 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 #3a5c99b176bf6ae3 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 #582e0da9bd3f4a72 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 #de0d971dad00dd0c 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 #343ef31cafb3de02 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 #870f9a75be95429a 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 #f9820977549ccb65 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 #23d9bda5b084b89b 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 #37da8eeb588f74ab 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 #c144ecee3474d152 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 #987c1787ed590420 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 #3a4139da49960084 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 #4c6046891b6bfff3 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 #2a2190eb1b6cca5b 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 #d4355f9aa9e4de99 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 #8cf88a9348d9ee47 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 #275cc2c630964e66 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 #bc46f430a7c0b4c5 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 #628e2c4014b8cdb8 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 #72b441294c8e177b 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 #13fc2e0c75570b69 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 #f5d1ad6363301353 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 #1f3097acb6814f84 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 #f0665f6b29420c18 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 #deebfda283af0abf 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 #89b79a2a6bea4681 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 #6369a07ac8135f5d 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 #c0c891128a13b356 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 #a25b0e12b0df5808 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 #0c0640c32791c015 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 #50680cef1aed7913 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 #91f5e44483e8b1b7 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 #54a7f40b399a2948 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 #8175098cfbcd44f1 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 #eadf6b9942d4761b 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 #b7cde0a55e8ede5a 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 #d2959f075dec1882 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 #eed78c7a5047f521 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 #89590ff6eb415606 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 #dd2a060d709ac4de 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 #0ecbc9998356b2eb 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 #c1c7003505d4a930 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 #e1badfd914d87fa1 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 #244377b524af2e29 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 #1a31179e5c5a3856 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 #e17c83c44bb404f9 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 #6578e5ab60627a66 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 #900b845a516d2bac 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 #642c9df881b1a934 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 #0fe1e16d624f51ff 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 #0d2426d82ebe0de0 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 #52c09a887330f8c7 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 #6a983fbb3ef839c2 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 #3a8fb6fafb57421a 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 #e56b41d2ee993df4 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 #0574ce941e2fd734 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 #95289dc7edaacbb8 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 #1aef8f3b89eca337 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 #43aa97cc99e8a39f 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 #3e84e97368f5ff7c 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 #91c41cd78011654f 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 #4c7647db882c914f 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 #ba5ed4811441f450 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 #909a05d1aa9f9216 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 #7f849debe05a9344 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 #a453327fcbd047db 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 #5b702198128587cf 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 #b7b72306c59ddc18 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 #d220f125e76eab91 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 #20b3a975c7969f9e 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 #53a77aec99df87e0 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 #986f4c8c6eb2b56f 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 #329da35660394ea3 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 #b78f8f623e20d693 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 #1c5842d2fef887fe 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 #f22a495316ae6f2a 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 #b3dcb56ba0bfcc4b 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 #b3eb77ea21195ec3 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 #b3434f6724f9d52e 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 #8bb148a8fbb7b918 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 #91ca16b15204cac1 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 #3a075d58a8911622 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 #ed638c2f58e4f7cb 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 #4121dcbe0744f205 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 #13c94d4cbcefda69 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 #feb7bb6ed655b58b 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 #313bb0e43d5e296d 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 #c45f6659a9289e91 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 #1dca539e973fdf79 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 #bf2c457f03a2715d 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 #db613277af03ea1a 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 #f57f99f8b7c21d72 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 #1bb180b8222be463 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 #ba95431a7004088f 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 #c6e1223be4a3adc0 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 #3f2be7d73f350f95 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 #63bea6e5f544b004 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 #8ed2b744ae36f980 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 #de32a84249731d48 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 #695d527079363e7a 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 #abdd93002679d02c 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 #1b8aa73e51ae5019 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 #1fbdbbee3f8a3142 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 #a868b834dfdda226 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 #846a5f879ce11350 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 #2b1c6619efd26743 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 #a5f8f1a8a380408d 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 #a14a6e857154363c 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 #e668192849991301 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 #e93db382c7fc47af 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 #518eb41ddce91f82 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 #07acbadd11d3e91a 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 #0fe87c24696491f8 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 #fbdff2d84197d356 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 #6cb2e35243d023d9 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 #1314802d0312efa9 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 #66b187b8f1530286 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 #30a823ace1884ed4 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 #095ad3ca7257c843 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 #6171aa4b5031a1d7 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 #039adf3444a11bf1 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 #e6b1951b23abf7da 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 #cd741e8d7251a77c 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 #79937bb190629b56 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 #b3121967bcd53b9f 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 #43a0e8b93d54ef05 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 #9782f5b5dfe0b059 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 #d00de759aa8cb44d 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 #b51afe0d2ab9165f 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 #11722dcf02b9c178 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 #2b8567db0fa22018 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 #49c03e48e4711368 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 #12634a7cfec80bee 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 #84f887a0ea06e05f 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 #86f1f10c72bd1e3e 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 #11b53ed273769b96 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 #ab2def6650ebc775 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 #8a5481198d7b41a2 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 #ce2f7a8e849fa667 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 #48a332e6c480a33a 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 #1f8745f0f913f687 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 #d9da69a2c3236c74 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 #ba3f8fc0f08dfe8b 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 #08c732b4634f3432 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 #60dcafd9b81829fa 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 #a061c3672c69bb3e 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 #4372567be5a8bacd 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 #8f6078fc701a805e 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 #dec6386a3aa28e2c 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 #10b61b79fd39c44c 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 #ca1ab6d633df783a 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 #c3c4cbe924ed2045 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 #f5466fdbbaa8131e 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 #eefbd8c58686236d 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 #4b709744210d9961 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 #3621f84cec44f677 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 #1e811bb6c994ae32 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 #8dc363a7df6a60c7 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 #6f01968cdea04a34 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 #6355376ba641930a 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 #f6a76f38fe83a851 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 #ec8d4a9d1aa36ac1 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 #259b26bb4342dda0 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 #9b2aa1377a49a126 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 #03b267be7ac95e65 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 #6bb2da80c2c392f1 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 #13e07beeda0eb0d5 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 #eaa812c407008ca3 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 #03c6317f84fe98f9 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 #46d725195281a9d3 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 #4b319db85ea3e5f3 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 #354c89652cd2259e 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 #2868df663c80fced 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 #fc9d401a066b7dd1 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 #e757b1f86a17e1a8 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 #cb4e2209424300c5 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 #b953ade742290210 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 #0233a9931a12ab0e 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 #2951d8d92d3b173d 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 #b96725796ee198ab 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 #6edc7194e467c63d 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 #1d64d0b380ba768d 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 #d035312aa0507512 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 #4f1569265b81c448 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 #fdeef4b1797424ab 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 #597d3e8eb52a4987 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 #ae4e3777d86280e3 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 #9967948f8732b8a5 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 #d4b12eec9f98c0b2 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 #78468ee007bd5d2f 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 #3cff8cf970779f56 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 #07809a75929de497 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 #5cf117029f6058f4 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 #6cfa2a374221b05d 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 #0532d8624e22f3e2 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 #b364f4767a3504e7 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 #df2b2cc2f829e6b3 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 #1b082bdcb36f71b8 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 #1ffc8769e967a6e9 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 #1698777bfe57c21e 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 #bbb23faf9d3d4858 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 #6f3ac05f17e591ec 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 #aa49b3cebbee6431 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 #3e6fa5bdcf956209 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 #54fd8910a95a049e 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 #7e296f56a4df2cff 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 #d49615dfed53799b 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 #2d5f67f362098de6 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 #912b1a1a2eb7109a 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 #7e60bfee6a11dbb8 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 #e22e97fce4ed3d5d 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 #555aaac6eabfe15e 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 #68816d1b0931a94a 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 #3692b3b2b46f00c3 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 #51040e8d2c38b01c 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 #54f73d5725017702 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 #084ad626a96901c2 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 #5a3e4eecdea7c68d 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 #20d2332b56d3094f 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 #6a4f1e78c7e2a338 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 #e9ede0d308e2bf5f 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 #5fe32536c3d67a6e 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 #d655cc4ee1e30653 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 #527df798c73eec19 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 #c543bd75e5b5edb6 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 #009bdd8a8cc84d67 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 #ccb0ea7e8ddb874a 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 #2cdd02c8ecc1cfce 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 #973d851049632707 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 #6f7366b423d8b7bb 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 #6144600b6a6f3b06 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 #48931cc5fea29f16 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 #d01a87d79e1e0568 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 #11ea4379a0e6b5a3 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 #0de0d16b44421bf5 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 #a7e67e3de5b1c341 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 #8574c69ad1e935f1 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 #2c40b929769af0e0 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 #ed855e20044cd450 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 #0e962ea479f7d645 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 #f573c675fca345f6 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 #3bea6d91bea24ec3 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 #37a781fd98a2af5b 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 #8604c4ef2f007988 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 #b34b1fcd8ee677f3 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 #aa2699cfa09ff82e 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 #4deb042a720edcfb 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 #7e1c9e8584cd3b63 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 #28a1af2df7f068ed 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 #3a7e3dbc4408ed7c 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 #644b271e99531552 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 #b1b1734b83beaae7 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 #0f61524521c5bf48 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 #ab16c61feabd5fc5 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 #840aa92cab06633a 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 #aa23b225a8145d16 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 #13a0c37ec8af16d3 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 #dc07edc703525bb3 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 #1ce36a4234b53622 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 #e95f5b857736ca42 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 #fcc89d0fd9b650cd 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 #0b0bcab4207cdad2 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 #0fd784aec5f59255 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 #0b78875c293e6b8d 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 #c9760e60cf27cf89 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 #6784c5d546f03e42 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 #d44c6ff899684773 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 #de53858e638a135d 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 #c70d3209109ffff3 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 #bb46b7bf805b2ac5 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 #c3fa26fcb0675e7a 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 #644fcea7672d7566 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 #e78b0b64965c9b2e 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 #ebc2c1f38042b7cb 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 #af3550489afb2829 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 #52b59c9139f1c69c 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 #e2fd8ea69d9e2230 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 #9ce1a823348c9fcb 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 #d06727ea1061839f 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 #75d30be39cc2c3ca 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 #5ef4fc295b20e973 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 #0ec21b9740dc01af 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 #cf36ac60d33104a3 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 #bc250b867f64c16c 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 #228c3446e7ce0981 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 #5559a34b0db5ba2b 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 #c8903017383f5fd4 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 #518d3d4d2429a1d1 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 #dfdec2816d880fe3 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 #360f609e2c4b91cb 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 #eb8a05958e1351a1 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 #80e87eeb1209742e 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 #eee820664973f095 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 #d903460defe36fef 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 #a47c5fbec2615d67 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 #85ba6a6e9070a4d9 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 #06a041bbc9ec9ff0 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 #12d3b2e202b1f447 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 #0c9152feaf8539b2 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 #5aede1a2347118bc 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 #7d1b761fe5f8d3df 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 #2304db2208379ee3 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 #b547b9c41d6d5ef9 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 #d9d9dad3403f1984 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 #89974719fc3f4c96 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 #2abd9cc207beb986 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 #d7ad12f8751a9253 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 #606c5b9fb9d6de47 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 #0df873594be10178 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 #92e07b5173984fd8 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 #db64b687d6f8928d 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 #285b11ce52ad1c43 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 #3f983db1c8fb3c2d 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 #de15796eb9a7fd1b 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 #42ccc1c9ed566699 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 #5230ee56942863c6 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 #59647bdf244b6e41 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 #d2cfe8485c6a6054 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 #3d0480f0de993c8d 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 #ef4a6ebcc747b9b1 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 #4bfe6faeff0617b1 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 #da7f1d6a2b1d3965 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 #825b335caecd4a54 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 #5edf64b6547c47bb 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 #5055ba99026f4990 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 #cffe33b24d6a3194 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 #05c6559cb9392d9c 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 #15670b06fc3d4b36 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 #8b04b3440f52b230 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 #8321b113aaf9cd90 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 #07c9c0eea03fcc09 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 #311a3ef86ca34bdf 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 #85c71e5068c6eaa8 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 #4aa25537b301ba83 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 #8949cf6a3a7a4b42 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 #dc6bd294aff06048 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 #0023929aaaec8fc7 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 #7f47fc1a6e3f15bb 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 #92f444c0a77d0a32 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 #279e1c57ab7122e1 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 #01545b1bef707900 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 #96e2244268c90ecf 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 #f483afaff92dba31 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 #4eb07e04ccdf89c5 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 #8ca37fe6c6ec6e18 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 #c4e72e78cb69b552 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 #e6d0cad507865e96 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 #47249ed9a3d9c98a 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 #7775cf51f42648c0 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 #ae499ff2b94f9442 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 #9c97dd942ccf4bb1 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 #00569f105bef44d6 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 #3c697a0388b75903 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 #b488baac8c125791 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 #906beea2cea33db9 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 #49db971f59e1e502 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 #8f081f9b459e1751 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 #632ae8afb18d48d3 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 #1430fd0a725afdaa 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 #859d103967277d8f 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 #a4bb00ee01e7650e 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 #efccb5e96ae6d47e 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 #6ede12b3a7644fde 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 #119aef26bbe89446 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 #7ead7191d8d22787 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 #6cebe509042ef52d 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 #a497df0a41264841 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 #0872fe3f2cfdd169 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 #a60aaa80e4428f2a 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 #2ccda3df5ede795a 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 #094ce3187b5d1f68 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 #56f36cf03f8ae77e 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 #6104615908020792 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 #a6e58141b669ac00 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 #d5845a2bdc17b6e5 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 #fb8787a5ade241ac 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 #5b5e13636112d164 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 #ac92aa08bf0fc09e 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 #b36dbda219122fa8 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 #aac40b1546487af3 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 #dc9539dc543b8b59 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 #901728b6a3196c66 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 #5da653b98970faa3 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 #38354cf066b7aa50 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 #a2091cc246136b3a 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 #e2f5742ab71754ea 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 #12577d180ab2c6bc 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 #b7fac0b01c40a7c1 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 #3a92ebe19da37791 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 #770b36221bd0c625 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 #da225408808b6521 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 #a1861d97bba2b01c 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 #e0f744eae282f531 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 #7de07dd57d65d4e8 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 #54a20a0cb230208e 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 #221e46429555b3e1 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 #0496c4dc5a10d6be 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 #f3f3548bbd755c65 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 #a24976c1d94443ae 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 #e3e409fad4a2d79c 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 #418732401edd9949 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 #3ea3cfca3733a8af 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 #a41cd76e8864aec2 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 #fa782ca3449d5536 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 #8b1a21321a71edd4 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 #637c2d0b8a4472ce 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 #f90a9c066ff72ff4 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 #de2241ae4a5cabe3 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 #929d180989707d35 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 #41856628f087bdce 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 #67deec4fb14a442d 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 #5d08071842a35a07 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 #f517b53626594662 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 #2eb87152f50c9096 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 #37894d932111a89c 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 #04fc329a504392d2 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 #36d184061ba7a931 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 #3d56269c1d27e4d5 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 #e9fb0643f25080e4 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 #7b64e9d853241604 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 #4305a07e5422fb1b 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 #0aa7dfe4a52fd032 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 #1479972dc41ab536 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 #e12aa935fcea94cd 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 #6bf02a618e9e9f00 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 #758adb38b06481aa 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 #e03abfc0f6efe605 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 #aec03ffd354c9cef 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 #05e288b364026675 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 #553b80ad964513b6 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 #fdcde820f17c9196 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 #0234004ff3b8cf04 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 #a903583fb7f3c316 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 #d17950f286b4c572 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 #8ebeaa740af882bd 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 #a0c2856e1fdb160f 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 #e91f1c54194f2c5b 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 #11773dc111ae9593 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 #00f1e4c395ad94d6 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 #2f3f75013b591ed0 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 #03966d29832d0512 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 #67603f1f286a2838 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 #7dd5e7a56906064b 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 #d8ba64e71a242090 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 #b9edb1a85b1cc1fb 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 #94e17b7efaefccac 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 #12c42d30c9dd5b85 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 #d686367d9f74472b 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 #783425ece3092417 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 #2d6302f5b5ede5f5 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 #3a7e74971564e2ba 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 #5618ffabe2634bdb 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 #a0ddf818acbb7d79 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 #f488f0a3a7e7d629 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 #bfcce50e211e7232 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 #3b978937c3842cf7 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 #177a674b6fa2b5c8 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 #3c3c5ddf8a28c214 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 #e3bf28be22677597 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 #e84e2e2bd4f4e5d6 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 #11394d52a9630e4b 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 #a1b8560ffe4fa94f 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 #612d34ab2b322621 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 #b832b984f4993030 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 #f81b7a893b0a90e9 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 #f08f77978f77da11 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 #ef8734a46f51446b 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 #e89bbb291b3cb8ab 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 #753dc456f959023f 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 #5b234bb9322e1d8a 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 #370c3ea1389ca5a6 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 #73b64677107ff79f 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 #3eee1472d4a636d6 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 #338fdea4a47515a5 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 #ba7cd0563443beff 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 #4e7029ad5980b748 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 #ed2956356105e5d7 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 #0e7f35e6cc29a94a 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 #3fe40dd5e2c43f1f 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 #7e7c6b71219bf439 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 #e288c0a27daa1358 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 #9249d4c4e40274cc 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 #3c12d05868011664 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 #7e51642d74a1126e 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 #193dbc927adc96ea 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 #1a433d63a6c3ef83 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 #5d7fb89c882c73b9 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 #b2833ca8f6839f1a 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 #a19b34cc53d9b903 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 #9c0f91c8616ab231 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 #6fff610d0ff9f98e 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 #8f44b194ea513ca1 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 #0675d3f6cb039016 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 #7f3a4f7a2a7d5c2f 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 #00860abbf6684cc7 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 #fe06e4bf33ce9a41 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 #ac1e4f55a3c15c71 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 #440c1cb8e036d840 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 #6b9b1c3dd9bfe050 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 #d473749cbb620df1 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 #c73b2287efb71df4 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 #b351df50bd30e401 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 #fc9d53850a758d69 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 #310cf8d976eeecac 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 #2a8f7960d6cd1f42 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 #8411be850abb938e 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 #15183a4b5b0c473c 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 #a2f0e90c2d98ff97 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 #2e028953183ae0e1 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 #25c0f127f3f6ca2a 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 #2aff2b4227f8a51c 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 #e92cddce1e47723d 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 #2e5b3ca93bae4d41 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 #044ee4c65f9f9c0b 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 #39d694595eb59484 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 #5856cdbba9ae28c2 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 #61195819ce0100c3 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 #98bb574a9b183226 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 #8b6a8fd062950f4b 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 #a95170f473816aec 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 #363e0743978c7bdc 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 #1eb8672c28084b51 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 #4e5d7c4ae86a21bf 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 #6a606ff105611538 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 #e2c2071f660f3121 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 #c4e8ff8f5bff8331 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 #6f6ff14adb4fa2c8 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 #660b1bd587674842 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 #b610626048d13c9c 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 #9eae3ac2e0e04606 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 #7212af70841334db 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 #29cab9c5110ea973 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 #89d8bd0d2748d71e 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 #7a5d573c72ed8931 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 #89d0f18d52131495 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 #db3f534d2d69e13c 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 #802f8a3600461620 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 #a8178ff8486f5443 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 #ddcef6bd435530b7 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 #41b05f4ec3d6d979 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 #e082c37c88c0f7bf 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 #59a77ecbc77ad17e 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 #7fd6ceb357d08444 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 #56b519f77a6f6302 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 #f2381172aa095a3d 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 #2516db11686224dd 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 #1dd4b7416eba05b2 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 #42d7284e54f35330 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 #9a500897dbb2a709 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 #b717dbba34d4d972 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 #54412b7d27cd88ff Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1349
      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 #68f7bb7e68f294f3 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1380
      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 #a5f6c70bef858ad4 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1417
      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 #01dd7550c665b960 Filesystem access.
repo/packages/core/src/tools/edit.test.ts:1434
      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 #e31a7d4f5bfbd6bd 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 #0123d0028095a137 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 #df2eb31f4ca85587 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 #7815fb133829a9e6 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 #b1d7374f60eb3a33 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 #725f1fe3308f1b1c 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 #6a878b6f3becc1f6 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 #f4586e74e5425466 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 #8687b00d8f8689b7 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 #946958e5099cad70 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 #5aa2a22f5bc0957e 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 #97b0a39e3b665570 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 #852b7913357970f3 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 #575b845b25a943d9 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 #cfb06ba9eeaabe2a 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 #1428d20d4f490f07 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 #18ef7aa86a2b79f5 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 #737350890dcb2a83 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 #5a695ffb33507041 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 #78dc0b49697c21c4 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 #32a569ee440a296e 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 #3c7b06a6fbb1a5af 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 #3e2ec7a2c218fdf1 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 #7ed438cc05813fea 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 #f154acd0763e5acc 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 #e223536517b8720c 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 #e555f55feba42378 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 #61b674733dec6dbf 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 #517f84347827a11a 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 #40a7ce3e422bd087 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 #d28501b5c12d63d7 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 #514b94d200b13cdf 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 #bf7d754d2f5fc921 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 #8d8afc8c2925dd4d 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 #6c94bbf722edeeb5 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 #1462857c5b3c1e80 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 #82f4b0d6040de3c4 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 #7576d82556e026d6 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 #8f5632a59fec6a86 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 #46c5e343bdaa897b 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 #92ee9ab824f134f2 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 #f4b20fb49daf11e8 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 #f6eeaf2e4c673a68 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 #3df8ed9dde804a92 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 #037bb2a00c44a2f7 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 #d888dd0dfb8440b9 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 #e628f70b96f53644 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 #95d9cf45f7ed1641 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 #114d972f4f37d2d8 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 #960855786a8b6c63 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 #51f17b693d9dc9f9 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 #10b9d048cfc25ee3 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 #fb9ed32759b709d9 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 #64a94e7de2690502 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 #a804dbd0bcdf31c1 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 #c3402a347c7fc5de 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 #05a9faa5a76003ad 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 #6e38f3e6152f600e 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 #1795fb16390565d3 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 #e4288f6b4cd35c72 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 #6f475da05306eb78 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 #9e3d2c233edad262 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 #ab8d5c23c1df2cf8 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 #487b0b18b1e76e6a 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 #39c8dc83e78d11a3 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 #642edee08bf7fa68 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 #4840ae73eec2098a 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 #ab554dc9bafaa10e 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 #970ac7bffef36376 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 #57d6726b7d4b5c0b 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 #16d2d87c73e61328 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 #40418aa1d359a967 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 #dc4a5b10150af0ca 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 #7a2467a8562b475c 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 #5f0384a0c797b846 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 #ec0b4aa889524741 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 #a3bb5882b5b76f50 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 #c47d2e92a4b1ff98 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 #eecc5254f169c254 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 #8351a5d7e620a920 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 #6e5d6689ece3631c 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 #ee461203689f7c11 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 #6ecbfcbd246d6205 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 #92cc8af7a5e5e304 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 #cf88bbba0422ed75 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 #3b49797f92972a0c 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 #b5d1a63cde84be13 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 #4d2b542ed02b0c05 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 #075bdf0a47ad5551 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 #191f1d0ae4f78b25 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 #23eae01a84cb0e6f 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 #144fd9eff2d142bd 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 #ea88d6e72a655fe4 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 #59909b4e0af3460b 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 #eea6eb18417f15fd 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 #ec053811c33bebf3 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 #514513d807fce121 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 #28e568204db02ed6 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 #d2bceb6594e7b8ee 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 #3e41f48fa7a8dc84 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 #4ed266631900c58a 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 #4d326fde0e2eb239 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 #06805233eea57f39 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 #7a3c939dc1d859f6 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 #7fb02d92ada7caf5 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 #38e6168a72cd22aa 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 #95bb883cccd40a5b 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 #306a0c6bf86c2404 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 #1fd43beab5182829 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 #93ba1a8dda21b733 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 #5ba3bd5ebaec4481 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 #43802fbe9b6cff90 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 #5306593d588eabe9 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 #e2bdd1a940bc80c8 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 #cae7b0609a8fc57d 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 #b50f73a57ae938bc 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 #8a6e16d685655452 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 #da882746b2636861 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 #7f3a2aea5e4cd668 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 #9d2b21efe27cf2fb 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 #6547314819f75a3c 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 #f8b7c8546b59f7e9 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 #8e24111bcac8412d 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 #009c4a5c9c26415d 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 #22c2941bcf589517 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 #c27703e0f4ad1cb2 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 #2f0124dca4661cae 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 #ce9f2c404f1b4839 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 #0c889cf7c99b6dd4 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 #4c5ba0b88bcf8871 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 #36b436309e0d3af7 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 #40320a97a3a6c79a 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 #f0d1c94d84273840 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 #4e5f31906cad80a8 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 #8952549fb99bb810 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 #f90d1ddab2f078c0 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 #f23de4653393f93e 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 #f35e995966c6e807 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 #28104b4b96ac67c9 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 #18fd094c58129455 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 #e15f8152f1014097 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 #b85ebdc58eea2062 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 #c69bbb853416c258 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 #3994391b40901d6c 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 #4f44c8493757c728 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 #91be0a04cca5b9a8 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 #93a3c4efa80bf91c 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 #6cae94d8b1905fbe 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 #5e123bfd1c4ea6da 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 #09116ef8c6f93f9f 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 #9c0d4fa9eaedd78d 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 #50fee7fb5e3f738f 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 #7fca7bbefaf59e94 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 #fd08d9aba14bbd63 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 #511bf0a577ec85c8 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 #7054a5bb7413d5df Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:435
      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 #fd1cd50a9fb1e058 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:470
      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 #dcb6ead9fa446f1a Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:524
      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 #45543c53e10407bb Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:705
      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 #7365577e1512f085 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:774
      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 #56bb676850bf8906 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:821
      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 #b77020b71992d601 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:881
      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 #ea18307642a5f913 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:1071
      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 #ae28f552a6633568 Filesystem access.
repo/packages/core/src/tools/write-file.test.ts:1153
      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 #159c20f30b9c14b2 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 #d99d2020faaf05fe 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 #dd0089b75d38ad97 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 #b00ee26de9c8d369 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 #cec4064b59cd158b 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 #1a8b0856fce59b3c 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 #ae09683723240979 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 #da9d5e15321aaf9d 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 #e5145f2ff8a07bcf 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 #757a8260e818c6a3 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 #380b09033ed2c438 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 #980f0697e0658bdc 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 #870f04fa5a330225 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 #77f1ba62f9acd26e 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 #56789161bc7e7b43 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 #ae9eee77156bf86d 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 #e7c99f3ce1e60206 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 #bc3174000819d63c 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 #2dcf788b6c53fd70 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 #d2abdd48c7503eb3 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 #e25a5e4647d35644 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 #98b10003c2187645 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 #aee0428062b598b5 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 #bc223debcc367741 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 #37164ce5ce69acac 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 #2b76302c85b17354 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 #11ed2219e51f1e36 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 #16f671f2d41164a0 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 #086865bfcb64cddf 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 #1fea1960c582ebd7 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 #b0dd19a06cf5840b 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 #9a38a2d98515a0b7 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 #bcd3d5555a4e753e 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 #cf49791d4a662726 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 #726e68c0795e119d 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 #cfc40eca9ca68223 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 #8fd08dd784749978 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 #065f88a518c2faf9 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 #e98cb3a018577402 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 #538c369d74f3e3c8 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 #600c2a58968ea17c 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 #b51880dfffd18c48 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 #ce72417937afd606 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 #3928cd787a34b51b 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 #d7db8e48ba3d5502 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 #670ad0f330c09cb8 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 #0bf2fe67bb53a740 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 #e6ed375e8956b4c0 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 #aa1d5c4d53142a13 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 #3c8254c625bc97c0 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 #82ad0bd4cb433ced 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 #68bf1915c3fcb13e 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 #90c2f88181aa4c9c 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 #31b8eb436b90d338 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 #037fc143a7bfe0af 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 #d8bc2326abd02246 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 #bb873b2f20620cf9 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 #9a04456dba1afcac 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 #c175cb7eccf80bdd 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 #9f4dc615246d832d 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 #b8b4ebd32aee5b60 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 #8252c1f8acdcf1d4 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 #44b21fab5de24d4a 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 #6a6d362eadb9c5d6 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 #3776989cfa802c63 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 #bbe131a8ff5148ab 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 #00ff0af42e8c665f 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 #965a919a2f841d8a 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 #23c7b3cae9b1c300 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 #701c9526f02a62df 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 #505d5b1705c9c139 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 #737bfcacbc6e0ef2 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 #42340ae1ef0a456a 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 #8fd80699ed4aa579 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 #58ff04bbafcd182b 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 #8b4efd27d83adf5e 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 #ed5994c6910332b3 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 #53138fe652b59f67 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 #c7d5407101b426cb 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 #97fa80cae917bbb5 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 #54dd18950ed1bfd7 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 #e6d68e3618c11f6c 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 #41fe344429d38ef9 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 #ed9bf57b22aaa19f 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 #f4187544342639f1 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 #18e6fd20b599479c 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 #d8d0633aff4e0569 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 #015c171985774c12 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 #70586204137b4a9b 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 #ac3379881449ab7b 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 #f75ba382f51e9500 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 #8afe4a4606901835 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 #b4cc69ef70e475aa 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 #4492b13b28dadd91 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 #7b160a0b97bdc5d4 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 #a7a4f77c66658a16 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 #05226a2f2d8e20fd 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 #fdbe93e569de0720 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 #de12d49b55a32edc 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 #d73d48b337af653c 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 #7435142a38d617fd 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 #85a89fa39619dfb1 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 #85c8a92fdbc99e2b 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 #11dd2d4a32779508 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 #298dba695741a311 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 #14fc991fb9e3b52e 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 #e1c788db51182e99 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 #01bb460ff042b20a 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 #7f65bbcfbf2ee4e5 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 #36fdff2540f514e3 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 #dd5b974433b0e08a 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 #97f3576563a46ef7 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 #86776e8e934e926b 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 #f641fdb7e86caeb1 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 #ae286ff8fd6f40be 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 #319692e8fadbf13e 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 #bc2d2fcd74de69bc 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 #128cd36c421da12a 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 #b59e3125922a91d5 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 #7cd1a00b2bf95c01 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 #0a1cc37dd45c6265 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 #34a8d8c792c10c1d 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 #4a77096d1752293f 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 #5e36686253c50cf4 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 #977cb2d3b4139c2a 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 #51d6c286d8e1da5f 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 #3d45a7fc7889d60f 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 #8c7629fa48b71673 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 #6e392ae4d7e5607d 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 #02fb04c32745cd54 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 #20259add0d5eb5fe 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 #259fc4e890dee682 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 #6122767c40815979 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 #9b8b0fe381081258 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 #fbbdac133b0ebd11 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 #36d431748fe7807c 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 #e50bba9d63592df6 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 #8cedfeeac657ed0f 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 #428eddfbebc5e73e 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 #9c74809c57050c38 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 #6118df00f7363b6b 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 #e4e71430ce725828 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 #ae43c5de1d626787 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 #8175e93bdb06b754 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 #6e70269841257d2e 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 #61d9fdde861dd357 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 #b499c6fad3adf37d 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 #b8dcfb1311057e00 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 #fdd929a7e3a0bc30 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 #dc706e5b294e480f 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 #5fde5cd074e81e62 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 #e54bcc86c567a149 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 #903d5f532ab88ee5 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 #8fd2eac2b03964a2 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 #c56126a4ce3048e0 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 #9a2761b829089662 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 #23d3154f903a2995 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 #54a3e74df8124770 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 #897ca89ffa8df255 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 #506aa0e87cee7973 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 #2480cb121baa7c32 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 #9ce28ecd6328959f 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 #83af336b0cc068bc 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 #1f3f120c14866c14 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 #95162968061fbbc7 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 #11bc515ea51c2b69 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 #35bd914ad80e0986 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 #c9b5704fa0bfe270 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 #1371b37173669ca2 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 #31976c0e86e067f1 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 #8edcf94ad426c04b 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 #3057b894216a62d2 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 #005dc99204f20878 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 #98deb492df3d5409 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 #92cef2e248997f3b 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 #7d84daf08e59bc40 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 #2ab79a828e5beb4a 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 #70277b083b8c5f29 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 #3809020c1020a71a 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 #899b7bcf757ca0ad 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 #892937170a573413 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 #6a2c6afcfdc0e679 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 #e642a5b9c6543c3f 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 #9e7131d580222d69 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 #4b2c624296e4d254 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 #e386ad799c66619b 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 #e70734b51679f0ed 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 #b84ac869da28e46b 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 #b82f354eb13170aa 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 #121f62a153f5d8f7 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 #a3260cfe02b9076a 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 #69f623e53c612f96 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 #b90f9e2f29b30e1c 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 #2e9f9369e4418dc2 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 #78701a36b1695aed 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 #f8c4e3f32f9a4a56 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 #6ea5fd0ab3f38acc 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 #cbea5838a7f69ecc 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 #c797e024f8f786db 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 #b8ed002d4019ea0d 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 #9a539ce03d98b900 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 #72cd5ba10b8b90eb 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 #7fdb37d40fc1df99 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 #5f7a3db6f956fa65 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 #8b9b64584d269cdd 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 #4eacd8e9df4c23f4 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 #26fd636666fc5290 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 #32af6cf93f774c98 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 #72c86c21ab694999 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 #29baa5436cae7ba5 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 #2a734df98d982d2c 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 #53d4482c79074942 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 #17cb64c9e9031901 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 #233b847da908c876 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 #c1ae659d2fa20305 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 #7a3474d338b00801 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 #677a215f68c236ef 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 #d53df67485179520 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 #e1ca0f9ecd974470 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 #cf5500de92e009f5 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 #18f78e57767da5db 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 #7304716057d60b82 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 #f57c489cbefcfc06 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 #8b500b448f3a994e 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 #6242b1908e0ac8c1 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 #5e43b5ca79b5cce2 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 #04fce75119e59ce9 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 #e914bbe5ef138853 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 #2980509b7d244765 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 #42b19217fee1eb40 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 #5b9eab4f95f317f5 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 #a14e8666dad38a31 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 #b5ed88d984cd787a 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 #0c15dca14b014de3 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 #0c8d5b3ab91e0e68 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 #9eff6c834d84cd09 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 #44a477c91f0ed389 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 #5e3a0667b404710a 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 #3dbca1e4b677f97c 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 #f2682e15ce62338b 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 #a94a86ca900ce4fe 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 #c56e8f7755f720bd 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 #f844fd116e6fb1b1 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 #1ab0b593ce59030d 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 #d7671c979e1c605c 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 #b9357f7fa3950732 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 #1d8e9658754d84fa 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 #85afefee9f83476a 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 #14a3769482c50d24 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 #dd2363990b56f1ad 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 #b3c47ab7011f8040 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 #79268e9b06140d5a 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 #2ac1d9e29ff3fc90 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 #c78edac64c546267 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 #398225405383425e 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 #5e82f7c9ff1fdfb7 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 #846b0a2d1f8e52d1 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 #21e0a6b45ab19991 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 #05db90e548353783 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 #a53524abfcda3257 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 #ca960013f57dfb7d 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 #f4eb148a07526877 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 #2acf0fb077f76441 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 #ad2dfb862c44cdb8 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 #294f8687ca0999e3 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 #d2739540ae8d2ce8 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 #49c8d2b6bfffa5fb 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 #683a15092cec576c 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 #9e030f642639d5a6 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 #7e886b25d0c8d848 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 #b7b203d537ff480b 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 #d24b45f8c97416dc 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 #415820117e2ad3db 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 #2c6ac11278e34380 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 #6d5f11686fb0067c 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 #1176658dc0afdcac 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 #5b43526080839e2b 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 #7ce5bba8978576c6 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 #116d5c41d60888f3 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 #d31b2ad2d3e2d16f 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 #18b7342a4344da22 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 #6d1532122e9a5629 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 #b29f0eacfdf226bf 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 #7848890e34fe545b 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 #0a0bdf135123bb48 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 #a36f8ceeec9c1dbc 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 #e673ac815b0cbc51 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 #5a9ad9be73309081 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 #a691226a5616f79f 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 #6bc310b0b08bfc11 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 #4152a3c3a885347c 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 #695e1b04feaffb98 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 #ce4d0504f399e91b 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 #adb865d302c6fd2d 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 #8975198881fd2162 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 #5d70e83b123e6645 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 #2629d0a5be748d81 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 #b09179416360f646 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 #56844605da202c2b 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 #56503d6dc722ce36 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 #8f0d7ffedef4f84f 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 #c8addce8aa96c3a5 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 #4fe08ca92fc503b1 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 #c22532a6320d95d2 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 #7a52b0721e71e266 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 #a2c274602f55415c 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 #a33af81e2cfdcf51 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 #c651892c572eb121 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 #4d561d93c5a62209 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 #20dbf19abfd59d50 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 #57e9009efd2d4acc 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 #e916133b81bdbe41 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 #71500115afbaa87a 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 #d34dc37b54afa86f 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 #d24a5f01dcea6054 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 #0ab18331f93c2163 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 #b1f4fcf80d5509df 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 #d72cfed636f02d43 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 #f4290852513e45eb 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 #8a1a0d80234777bb 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 #baaf50db1aa8e076 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 #09127d3d91da9af8 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 #9ba8697a260a0338 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 #816f026aac60ecdb 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 #e6aa8a6bfc6687e6 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 #c421dd3a4116e875 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 #17b00ff630180e7a 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 #8a303e744c243d5f 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 #9ae4c322079e58ef 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 #b7496b671fc055cf 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 #1581cf548c5f167e 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 #016423e662c78100 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 #d194c59c7b5a34bb 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 #94f859c3404b21d3 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 #c83734fcdd0d02a4 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 #39d19cea8382fb63 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 #722f2bf540340dc8 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 #e214320afc9861cd 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 #18905a5da6ceba31 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 #372eef43810f764d 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 #8a1bcc533971c6b5 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 #4999587bd7c9b8b4 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 #9bc14854868e2adc 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 #d614fde01371761f 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 #162b13b52f6318ab 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 #24b1dcb9ba332ac7 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 #f2d05506bcad63b7 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 #c3d380e3492abed9 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 #fbc60f7118f752fc 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 #6668c05c6a957328 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 #932e62f359795a7b 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 #8db3092d311af2dd 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 #5154d29e270a25d6 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 #7cf73154b7afbae9 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 #4ffb270857c985a9 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 #e1bf66ce591d6611 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 #c4edb8a81099a9a9 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 #ab90322274ccb48b 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 #d21fb17311b12ea1 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 #2c9d3f9026a1814f 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 #a666500240356d44 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 #75d6566005bcbdf4 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 #2f542436b07fc51b 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 #4666190fbeca9bff 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 #ed833efe649aa805 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 #81c7a80bd5c37a55 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 #2ba9f04d6ff38891 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 #943cd4f9d508824a 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 #c279dc2cff55e7ae 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 #5056110274ae7b1c 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 #41f96d9c75d57504 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 #56dba925fcfefda5 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 #119c00305b12f022 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 #5d12511432ebd720 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 #927dd6db1919986b 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 #446825e6193afaa0 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 #e252a8a8e37027ea 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 #297f8d8f4066a09f 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 #08ae898458b02144 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 #1df586d57f33f77c 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 #7e84b2a83799a3fd 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 #492e638943d473ed 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 #12da37033d4b97a9 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 #cc55bdd20b181a02 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 #8e6cfe188a83dd70 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 #3a4eaa2a71abdd22 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 #5e284705adadd0e4 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 #566ae1d860bb1dfc 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 #e7aa2fef4b06ffbf 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 #cc24bf7a71d34009 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 #61119aa1120c28c5 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 #21617b8824240715 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 #c41dc0d3cfd2a8a7 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 #a18202693f2fd4e8 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 #2a53ed41007589da 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 #8d8c7bc734e1680c 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 #3305439f947114cf 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 #760e3ad1e574b18d 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 #4c1acc9adffccb71 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 #c6a8edf870bad133 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 #320963080ff08dd0 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 #a998e0b3a1f72b38 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 #644ded92bd70ace9 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 #64606bb3da5aea52 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 #660957f76d63e99f 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 #0ca77e30b40b0baa 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 #2985ad14f12a0099 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 #ff36ea0098335349 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 #888634c057275d4e 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 #ad36bfc62560fd55 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 #df021614812d77a2 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 #1c4bb46b7af5c93b 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 #e952ba1cc600dad6 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 #12ef03adf98415e5 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 #20dc24e084dace3f 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 #cf8aa87312f7e718 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 #768e96d2e75b60dd 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 #df9467d6c46ff2cb 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 #1598679746509832 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 #d5b18af71498c288 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 #7912113dc5be4815 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 #c9e13cbd46130151 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 #26e254ca3876e376 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 #edbfdcf332987b79 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 #861361cf65c5382c 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 #7ac1419ed5d7a5c6 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 #3410dcb2a8b4e52a 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 #832a0a8f3f439b1f 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 #e706e363912c8fb6 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 #5d750d65fd0f8d1e 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 #cc04c134cf3556e5 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 #0cb79ae155e83d3a 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 #566da55f7af0bbc4 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 #e81b91b56ef5ac22 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 #8b1a30ee39c642ea 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 #360800ca040365cc 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 #e2deac1ee0a50664 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 #6f891c67a8b38023 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 #6f511418f3dc1bb2 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 #55e72dbb4d024864 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 #42a5597922796676 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 #c88633d060cac019 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 #1b6197f54c56f7f2 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 #43d179cb51b739ea 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 #e59ad4a9bb8c3077 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 #342ff0f5210775b7 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 #e45ddf1de68357d2 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 #840e8d727513452e 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 #bd9728b395563162 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 #ab81c9bb4562c656 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 #3ae0e070a68ce7ca 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 #a1427209f356599a 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 #1d13dfd076a325d1 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 #f96945f43f4fd803 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 #c6b7b7476be512eb 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 #e981fec6fa1db63a 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 #728f6bdab3eb62e5 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 #6ed24d264a8bd8a0 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 #f23d53bfe21ee6da 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 #5231fd0b4f29de6d 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 #99cf01938b62cc0c 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 #d47752ad5a4c9666 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 #58b66c03db984aae 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 #85cb0fd3747daa2c 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 #0cbeda856999486c 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 #fef5cfaae86814ff 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 #32444b782d59f26e 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 #4a4295caefe1137e 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 #432c9fd7455290b3 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 #7d3d6e3cc85a40c1 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 #6512e575ede97abc 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 #235b9e793a97122c 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 #2bd8f290589109e4 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 #cf611fe88e90f0d4 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 #9393534888914294 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 #3ef61261c6fb2e00 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 #38918f23b4c138f9 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 #0866e06f7fc9841b 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 #2cafbca00f2a5001 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 #b4aca65aae80850e 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 #dc16fda82b100e22 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 #efaf993ad10c0a1f 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 #cf5ad41512c00ecb 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 #eba920844b78a257 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 #aed052dc11a1f364 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 #cc92dde55e70f02e 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 #6047703189be4b72 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 #573948762440f0c4 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 #57fe1406990da7ae 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 #f2ae7a8dec84ea14 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 #16268fa14c6dc54a 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 #c285f547689ca2b1 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 #fdfcf56f5e478f57 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 #6ce6b368471ec263 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 #a7704d71aacd991d 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 #3d0ded3dbc2608da 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 #3bc01448470214f7 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 #26a4e245ab2c890e 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 #010cc6acbf946d24 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 #ad5d59c3a6a4e36c 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 #09c2057f2dd635ec 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 #83108e0aeb84a3fe 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 #2766cc8925745b08 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 #979792f228162d3d 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 #0c63d92d732bddb6 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 #94f0fa82f4bf0268 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 #bd54646747cbb282 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 #cbc0c121ee3bed07 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 #08136c9113175597 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 #f3b8cd60a3ebdadf 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 #6a1a1d10535a372b 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 #77b9094d6c79d6e2 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 #c76aa7fb56530104 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 #14ddb774feffe6fb 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 #9f4d365a6afc29e8 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 #c3716d3180b882fa 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 #a5690edad4655eec 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 #e8b683ee3425df61 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 #07210ecf125b9502 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 #f300a5b84556225a 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 #46ef16d5d38c5953 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 #eed30da93d381ec6 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 #2e87e75fa9cd6728 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 #db70307b3c523b33 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 #c713c1f9f0add34a 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 #2fdd7219e82c1564 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 #88d0d47d3e59d4c6 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 #bdd130d039f952ad 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 #af846b1f5fbf5192 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 #9bcf3ce9dac34ff3 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 #b2ceec57488bdaf3 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 #c4f983af459e8429 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 #c106d7ffdfb09da2 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 #b81f0b27a04fe787 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 #02e520e8d96ece1c 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 #409113d1fc9bc93f 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 #db91a269b19e34e2 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 #0dc0ad4e0a66b671 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 #0d3dcc3eb4dccc33 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 #c3898511f65d4cef 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 #7eb90e57347fcf80 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 #9ed4f15d5a483a41 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 #46ff6695aeafdd89 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 #214e9da4f1a82a34 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 #230975ff280090f2 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 #5eaee3127bc84ab2 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 #c4917c6c6fb8c054 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 #59f45f4a78e4440d 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 #14d97c5b91764a3f 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 #593810b9530eb671 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 #760d212c8cd2e4f5 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 #c37142d681ad1328 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 #7ae506aff7fe7e39 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 #ff3f16a154ce645d 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 #183c9146d1f0b904 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 #fe175739d4246ed6 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 #e4feaa3d0e54552b 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 #4c9e66680fab9540 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 #2e31958854c66257 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 #f963243fa4ccb3d5 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 #4a0e488264cec4c9 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 #18f68e2be51fa242 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 #3f1ce5b963aba258 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 #c62a56183544a2b4 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 #c4a286235063a1cb 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 #6e842b259519d094 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 #e41fcb21fda4b903 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 #213659eac3d4a412 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 #60a7f5443faba2e0 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 #cdba1623de173f31 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 #a2d24297c583760b 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 #858cd155151a0987 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 #9d896a15c2233b6a 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 #e7132fd37f4af307 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 #c5d672ddb363d0cf 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 #d1e05e05abbbd469 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 #bb4a31f1d8bf310a 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 #4becad4350e058f5 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 #0985f919ecdcffa5 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 #a620f61e8ce39b91 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 #f18a303669406467 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 #f4e9b53083aa3b49 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 #ef87f9dfc8faac70 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 #6b73ce950b93523a 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 #72ee618addcb24d0 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 #9945d52e5da30104 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 #71ba9740cda7a6d0 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 #451406ec9d72ebff 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 #6bf79f9817ea7d48 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 #776adf223c965cd9 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 #df501ad5e87d09b7 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 #e0f32d5ca91e21bb 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 #d976edee6d68064b 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 #a91f326da9b87458 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 #f40e6bcceecfb46f 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 #1c9ce7ea5d56aeda 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 #ecbe9a8b7baf86ac 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 #8ab44e2c0cdc8a52 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 #7d8853a13729b14b 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 #82f91b417bbd3d1c 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 #741ced7dfab7026f 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 #439bf85808558685 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 #4c77b8080524402c 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 #319e4d2cf40c236b 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 #9d0f672f976359cc 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 #93f7914ff70d242b 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 #355fe12f6ae40561 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 #e4cfa5c066963c47 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 #d240f8b0980da147 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 #a06669311f9a312b 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 #dc2356a75bfd4705 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 #dfc9fd59d7cab82a 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 #bc0ca31c264fab46 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 #b64bac1517e30ed6 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 #7958a9fdd124e3e9 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 #529f1c96c8e01f48 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 #1172c03d16d0d1ab 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 #d51d65a7420e4121 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 #67ec7b103d5bea16 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 #9477724a1e6eb854 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 #cfb0c1e24d6f3662 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 #af1bf53d42c16c7b 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 #7549fe67bb962b33 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 #dff851ab0d3fa1f6 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 #46623a7092cf26cb 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 #3bca43b8c42b162a 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 #8da36cfaabd12b55 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 #892aa382bc74a74f 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 #5688262dc1f1bd36 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 #51c0d3ca432b91d3 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 #8b39fc5e9d605aeb 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 #69ed85b8e93ac7c7 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 #4cac2aa872cc5fe8 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 #d0630a488e9dc27c 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 #b303c75c28d77eb6 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 #1dfa9236ff750b72 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 #b2709e6614f7a1e6 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 #e72fb1b74195e7e5 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 #cd0c74979757391a 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 #de2fec6c7349bcc6 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 #d66f36154f94be91 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 #718d81709ccf9602 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 #0346681bd289db3a 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 #27c068177c8d0221 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 #574046f47d536dc2 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 #2f9352b3b3428fed 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 #8ef116a2a0432117 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 #eef585e9d83529cf 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 #b491984f30553e1c 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 #d630fb55eb5b2f48 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 #4d6d1da05a799f9d 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 #e42c182c8b254fcb 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 #5d9b5b0371fe9fe9 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 #9b4c6e5f2e5bbbd4 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 #eca69e003e2a1d10 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 #69b493a159729b41 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 #7bfd61305f33013c 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 #1b3a1a17dcf090ae 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 #cb25765129b19dab 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 #bd3410df54f17698 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 #9275710b097919c2 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 #42a7c49d8656ec4e 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 #b09cec69511f2408 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 #631a049b0aeb3d60 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 #fad8759a20193cad 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 #8a3c13402acf221a 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 #11486f52ba48486c 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 #e8132a06c3b5f07f 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 #2c63fd92f2daa8bf 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 #79f35ed60cac6550 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 #e97b8142debb91e1 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 #9fba6c6de5c10d9b 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 #15ea722f2da92850 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 #bfa4ce12bb1ef557 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 #ee894e603e0b51d6 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 #10dfd5aac4bdb3b3 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 #00b94c7ebc57c770 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 #a8a24e179f876fb6 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 #29a8deefa7aab3a9 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 #47c9b1cde0dfd0e1 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 #804624724f512174 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 #a3e8a61e87f7a5bd 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 #f50978f014b39201 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 #75b98ee4226cd288 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 #aa2b03fecba031a6 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 #6ff7b1e1fd4f4dd1 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 #6931b0987e3483f5 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 #2fddd8d23b0171a4 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 #daa3b5d67e83c2c8 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 #43458794be7c2136 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 #5dbed428b3214e8c 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 #a003a3fecbfe4ee2 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 #10d96da8a3317251 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 #f528a75c7f0db5c8 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 #85a528602c32904a 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 #13dc969c3bd90844 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 #45cfc2a3065782ec 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 #1cebca2a4b73b7f6 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 #114ca9d3fc1ded2d 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 #05276791a29035e4 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 #1b5af342d21b774a 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 #ec9fad8c351bb8e7 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 #b06a6601cea7e54d 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 #0bde050c47013639 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 #7196d2c02ae891e1 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 #7bc3c6cfc8e86e12 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 #a4ce0808e2615d3c 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 #16aeb38d9bc08345 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 #6f64a6fa7d774fe7 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 #e4df41186987c4bd 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 #d0a120a2b512db59 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 #180133c9a6a6707c 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 #77cd6a00cabea745 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 #15f74fc187cd78e3 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 #e1f24514d0ccaeff 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 #1f3626457401d345 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 #5fe9bc35178f9dba 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 #e1faf6c69f2064ac 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 #d1400bda6e0c1745 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 #62a32684624db49f 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 #17d8525198760476 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 #251a69074221fe68 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 #5717e6b1925059ae 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 #09a8dbf113d1bac6 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 #abdfaca809456502 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 #a7a18dbf03359389 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 #4bad4a51a7b743e9 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 #99cdd1555c08a683 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 #cae98c86edd0348b 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 #8f982e8c9e0a76ed 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 #990a44468c57a2a5 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 #d80b3a9167f6cb86 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 #6dff80cee8f18f43 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 #7f95a032cb74a56b 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 #d61101f302c0d512 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 #941d0f1e17e086ea 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 #dd8db0fdd6a97174 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 #28f06edb60010eb4 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 #3719c812e73230ae 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 #bb2f11105037af2f 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 #ef26697d1e18e26f 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 #e1a68e830bb1e211 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 #09fca23ce1aa4c73 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 #f03106e325b3cbc9 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 #b6f5979af14b58fe 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 #4505bc6205e26243 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 #68de22bdf6d84ea1 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 #09d2793f8335941d 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 #e5d664c6a4b295ee 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 #d5d8991623b63546 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 #4fc02c90884a25b6 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 #d5493d13ca6ad342 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 #6ce99c9ed948a3f3 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 #64d4485229b54f86 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 #21f11e6a3c31c220 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 #2c7755c83c7c71ae 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 #63fd3cfc1dd64216 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 #055d07d42cc33d1a 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 #0db5338c2ed33f7a 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 #389bbc57da44611e 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 #a2e3fef5458a2a6b 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 #74842293550ceeee 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 #ee74f516ec8dfdfe 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 #b2404f47a739a635 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 #e18ca9408b73db9a 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 #66109ea3450530ac 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 #554b2a4b1cdfb91b 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 #8f5e4196b88cd111 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 #74bd4fab39db5a48 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 #b350d0ef8591c42d 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 #8e6aac2fc9e99212 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 #47902b72a890bf44 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 #4f5b89f82c2bf954 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 #9f60526404c08590 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 #abdab48dc52ab2bd 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 #2d9a0dbcbdb9bea0 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 #d531261f9446a57c 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 #80b279fb6a0f51e9 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 #be9cb7fa74645448 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 #3b81619f927c84ee 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 #7108dec5c102b115 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 #dca4d47a706021c9 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 #1f73b55eb3f39208 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 #e5c62a92fd9d2254 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 #7f751e14784c8b59 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 #8b7f679ca84e322b 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 #5652864a073eefbe 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 #d6a8601958f852af 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 #47a58da5fd1b2054 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 #a9bf2986b164a4ee 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 #cf04d0831746287b 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 #932e1ea58bc48cbc 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 #5706c47f4721b228 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 #ac02fc1c23400dc0 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 #489db91d3d3f87c7 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 #04f0d4fde62d1182 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 #b690af0261029014 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 #8491adb588638a3b 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 #70c756b620efbc41 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 #1f16fce5c969fd98 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 #7fc24ee191018419 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 #dc69e5f941eae309 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 #10dfbc2e30669955 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 #ef999458b3580151 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 #24146297fd3de96b 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 #024ec1dd48c40157 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 #95d23c0cc266ee03 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 #9294e7e657567c6f 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 #671f21582f04c7bb 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 #1bf226cb7f9abe7f 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 #006d7caca24fde3d 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 #71228e1b4067c2fa 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 #e1db1fc43824375d 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 #aae2c3458245e770 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 #74d41595d2de11c5 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 #5981fda86613743c 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 #c50dce5952f976ff 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 #bfdb88348ec1086d 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 #3eae2b2362e5bdfc 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 #6056cb0880a50128 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 #62af12c748e14e00 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 #f56ff80c08107829 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 #a55d00b7a62f1dc5 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 #9874fd4e967281c2 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 #c8ad264b6bc2b0a4 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 #50183374ec474cd2 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 #e7266ef1a0def90b 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 #f4a5b81984c4d0cb 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 #8b98bd89cad49294 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 #d6e006b36176dc50 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 #93992f416b0770ae 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 #bba25feab4b948b3 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 #572c896fe2903972 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 #d341c9b360065746 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 #b04d72031c444c51 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 #a54265fe7e29c4dd 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 #4ec5b5a6e7f5c7c3 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 #7ddb87fd4d047596 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 #73b552a2b4624d3a 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 #d310d40c05390264 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 #35419a3a665a940f 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 #547dcb87f964e33b 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 #67ea410ca1b629bd 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 #bc6320fc171a4f85 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 #011c127ee4afd952 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 #0e9ebd4238fac040 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 #15993c5b9dc9ec51 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 #fe7a1d89fd26f2b4 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 #4b42b85d122efce8 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 #4a5e42fab095aca8 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 #81bc9bc4db8b0b5a 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 #13277f7e2d73234f 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 #67d92d3a3072a0f4 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 #50d239e935e0bb33 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 #4eee63609d3909ef 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 #aa605ebe0fb16fa6 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 #a08940b29b70127b 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 #25c0a810abdf04d2 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 #9fb5a7c5cc4b4247 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 #4ea7a7cd96e8d753 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 #f299a31a506a9060 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 #1190a1ed20986883 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 #e472a6d6214eabb5 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 #3e2b94e4ea8216ce 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 #1b542abe35459a40 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 #04b82d70d519381b 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 #e63862d5b3afefa6 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 #f0d06516ffe54379 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 #2237e99f611412ab 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 #9e86304296262f10 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 #8ca76549a350bae4 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 #9caf6a5f0990c447 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 #83e96bfe56d0e55f 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 #006884a841d64d02 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 #9b718b8c2c41e74c 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 #ec320c4a8db12ee3 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 #b9d61fea1a6370bb 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 #b54c4fca914c203b 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 #4b133d4a83ae4ed9 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 #63b8b5462c9612f3 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 #d643a2c1c976a115 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 #579d856863a69144 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 #144b56da8b3b73c8 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 #905048cb15097906 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 #b4e4540d14bf2a95 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 #2aba57ed350d8ae2 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 #8b1eaf28ef3e4db4 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 #e2c5fce064a305b0 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 #91802a98423618f1 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 #64f2d641fa4541aa 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 #4ae96fb9a356bf36 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 #7404bb1afb0971df 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 #1736e9ead544e90e 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 #03405ca4c2aadc69 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 #1d45f713428dbbe7 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 #1b245542ceaec17c 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 #a02a74eef37f4cc2 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 #87f920a0b40654f1 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 #f43e73bffa7dd035 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 #4bd7c3f63e0778be 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 #accf14e221486b37 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 #261fef9446e34a72 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 #4c2a1ef9c6620b9a 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 #13715a61e8513db2 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 #bd117af059bedc16 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 #59328511cfcabd37 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 #7de4f42b5bd3a5f9 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 #369549b4b723a874 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 #994c4c6b25e7ee10 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 #98bfba874b34738f 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 #7a8dc26777b7490e 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 #9505a0ce1ff57407 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 #d0184b3757d21eef 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 #99fcb0394e522a0a 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 #e1f3c55007d5e96c 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 #b1d4b8d0f15fa194 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 #b487f5b3c4eecd71 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 #ddf655b4af1b8659 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 #d71f0e90ab6c807f 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 #45cb057977f386f1 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 #a8a623537fd0b67d 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 #7587d88ef746f4b2 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 #a59b6e7fda06e915 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 #9d7843394f64cdc1 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 #b14fbea82392829a 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 #4ed208634a3775f7 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 #d01d7d399de0d94b 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 #df777c7a84ff59cc 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 #dcfcc14edfce509f 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 #02e9f3c4f57208fa 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 #d6f51fdfa180a869 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 #3d6f71d4024204f3 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 #fedae411960bc4d8 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 #1b447f2d35a52ef8 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 #a024ca67360b2681 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 #772cd461a8697824 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 #910c477e6e97a042 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 #221d6c6a31ad2b81 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 #e441c18fd4279972 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 #4a460ee63d912721 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 #a92fc6c25cb0c56d 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 #0305e041100ad216 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 #5286a9f2b1f30b76 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 #1be64ae46d778801 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 #6e86f2912923b3ce 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 #c9281039a566b0c8 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 #931d0f0889e9d8bf 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 #89cf82d03170138f 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 #5a85741b123b3e51 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 #986fb7ef5d21b288 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 #43a07b87d743fb56 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 #7bd4507d23a24acb 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 #10a1a27f1d132291 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 #2d43a479f7c4cfeb 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 #37d7b9cbc584f364 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 #2b6ff46cda7e0059 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 #ee3044a889171c4c 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 #c6f89244f2949976 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 #b16ea635cb9c302d 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 #f479477c84217ea5 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 #b33cfafaa014d051 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 #a03958a1b13e7c50 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 #005d495559ecdb5c 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 #9b84601c3c658ec4 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 #366f36b129b5b39a 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 #ffa311acd597fece 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 #00b0606e0f1cd458 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 #79ae3ba109e97c50 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 #22ef9c9b6ca0328d 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 #dfa7b3165f0198db 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 #155558af9b2db00a 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 #fe91f9701f54ebe4 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 #20bec57ba232deee 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 #b95e611b35a80ece 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 #69069a6b376e9dd1 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 #e0f6a2f3a0955d81 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 #a66f3219f934921c 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 #b56b18dfc154db0d 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 #9913bb2e10b14e82 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 #931702f731566a4c 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 #e25f543e26b0107c 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 #879aa3cb0df67a81 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 #2a4e5b4a491276ff 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 #05a3d1a1188c81ea 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 #15ae8d3f601c67e0 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 #7d63de352ebd8bd2 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 #c8d9945b6883b0cb 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 #b0c219fae9f6ec29 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 #e200247bc4ec128f 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 #3a7cf899ecf334ed 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 #64adaaa4d10f8a46 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 #a4850f25bfee2614 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 #51dc0c14dbb5cdce 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 #3f288d38a4bb8a40 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 #c67e0472255b306c 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 #dcb84e3191b86059 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 #4a430ef594b8bc58 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 #8a8843950934bc0e 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 #abf8cfbdf6b93439 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 #400900d030f71c79 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 #b28c57664356e5d2 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 #5a82e50da5ffb256 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 #3429531efd503b63 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 #00695acf8fb8ee0a 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 #c162510f7268b705 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 #e7270d8f31b036d8 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 #257adee5c7707850 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 #704eeb54b35b1e58 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 #dff996f4d7f5fe5b 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 #8053fc44b9ba3a11 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 #e0ec4f13d5ec04ff 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 #74835d20952a1c67 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 #118cb9ecbe9df79f 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 #912c9641f5e9410f 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 #87ed34e2f0600470 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 #305e595755a904a9 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 #f9a70ca7c6ce72b3 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 #63d86ec68ec6bac6 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 #bbdfeb77b3ca2912 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 #0f2ea60fc5d26ccf 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 #c686b4006b154fd5 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 #e19089db9dbb786a 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 #388180958fadfd69 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 #f94628f1b47a6c5c 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 #0f5632ac84dffe4e 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 #8d2136c038cfe387 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 #6171ab066f430334 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 #d9e2e78d64240024 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 #f64e05bf67444aa6 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 #671baddabd36b12b 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 #d9315b1ac30131f2 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 #14339060aa1b82e9 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 #f3eac7a739652d7a 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 #19ae0231e26efd48 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 #adc0fce832b2e510 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 #f4721e657bf5190b 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 #5009e763b3f10e99 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 #9e2a0195bb28bf75 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 #2cb8af90ced49750 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 #aee7802765c605e1 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 #3b05ef3b972a759e 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 #c007cc5d0cf345df 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 #c26a772f1ae3f8bb 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 #592f8500d2930f6d 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 #041f7e1a2b4a02fb 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 #f549dea8b6659140 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 #04660b00bad14714 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 #07017d9fb7cf5b2c 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 #3f66df2ed41e240b 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 #2c3b4b5f8b8815d1 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 #74b3c971da175381 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 #b507491fdf8ccb57 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 #bfecad803ed6e336 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 #fa993a133e52c634 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 #72f08ff666a2eef3 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 #64a8af1b53294305 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 #c225f5f85b7144b1 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 #7a898ffbb94e9a13 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 #0f2d10e5c92aa735 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 #fcf239520ec23c0f 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 #b9aca9c0aec097c4 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 #4db28884e0d9d2ea 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 #99c52505793167b5 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 #5698cce8e2ae61d2 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 #500e25dc65d88e4d 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 #5a1e2bf4013e2d48 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 #a3101d8d3dbbf0a2 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 #4f67d66ca4a97787 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 #cc50fbaa3aa0a929 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 #316c0ce1f02f7199 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 #a4d3405f0c65c0bb 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 #32a8833f46088f9e 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 #98d4b3a839394c0c 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 #c25cfd02d1b859d4 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 #8d3954c999d89899 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 #364783c5d9178a60 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 #8a2d9c88fd74d195 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 #d4ec4c898957c0ec 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 #a57400b3bdf48c48 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 #49cf28e55885da60 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 #99d46cfa0c8bea4d 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 #0e5c8947d7bedcf2 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 #c14b5d2a7ea098da 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 #9565d7ff9417fff3 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 #23a62f9a817210b6 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 #fa7f7df4ce8f8e40 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 #65a1414f84d90122 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 #d2c3ed491f09aea9 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 #9c1e892127a5c22e 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 #a4ef1cc6c43ce2ad 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 #d5e22301e2e49182 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 #27ff1c745eb9504e 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 #84a93abecec5c3f8 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 #eaa55fbfc81899dc 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 #54a89e12e859adc5 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 #5fbb2b531b5cd688 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 #7bb8195a8c15ee43 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 #c71e5d7d7f07201c 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 #db9d6bef3410948b 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 #607c368df2cd15d1 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 #597ee85c1493d5a3 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 #6a14322490d1c805 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 #8617c6acc0261803 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 #99c7af15e8af99b4 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 #423449115675d6a6 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 #dffd9facc8a66bb3 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 #2427b50ca9f35431 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 #e67ec9b7a6fc210c 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 #01156872d963859c 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 #d0da26872477480a 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 #4b18429d9d59eb5b 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 #b82380dc44a55bad 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 #7842665539435534 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 #c512ac14a380257a 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 #3de2be0b10c074e0 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 #641b5460d041fc71 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 #fc1802cb4d8b5d88 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 #71972e693f6ac16a 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 #a41bd06a679fa8ec 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 #799669db56412c20 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 #9c2ee3ef7f56a389 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 #8deca6c1bc656fb9 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 #96728a143f4f679c 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 #9a46a350f3c9ba96 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 #03549d5995fe84a6 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 #186c2191ef1f5984 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 #cff8d367aae87d1d 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 #252c280d9425e509 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 #d2287a889d962c36 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 #cf8c19465e05db95 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 #8c28c3d1afb6e18e 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 #efebf9487f757b1e 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 #a18c03ac854ee4e0 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 #14968dd1ef1fc999 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 #9465de537d521f3d 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 #13b3ee920e53905e 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 #9c2f9e68b7c24636 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 #2dfc5e6034e85978 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 #316da8e6a1c3ccb0 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 #5b17e856f08375d4 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 #7ff9f2d3b3d87789 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 #718f506a2c295131 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 #7a983f4b7ac93009 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 #dcd18dedee84bae0 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 #0ff399b9ad5739d3 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 #a7cc5b204787104f 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 #c6819cd223c20a87 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 #08ff680c2c8b148d 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 #d5cc9135ab42a18c 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 #c6952c2b77ab0dc4 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 #8f8d953268607f2d 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 #f5a7059790dbe07f 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 #ee1218fce661165d 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 #fe711d6a21a7e579 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 #a0a80c467f34ba0b 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 #26983b51f4cefcb2 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 #f695e9631584da9e 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 #1cdd4ee142b8ce8b 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 #4e535f4959b2cafc 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 #ff0e81703e6e943a 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 #61ffd9ca773f6e7d 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 #4c0683a72f980da8 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 #c530f4fd4988c39f 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 #917963ac2ee04c58 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 #97f1fbe8f1e5a788 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-y1z99nbf/pkgs/npm/[email protected]/lib/winston/transports/http.js:249 → /tmp/closeopen-y1z99nbf/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 #b134880e5be5b965 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 #1821dc33ed625d63 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 #51940d5ad1b2beb5 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 #9484327caa96f820 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 #5c3ca534420f4d55 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 #fe18c25598ba4045 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 #8e142a8912897af0 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 #9371987a39eb255a 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 #bf34b7f441a13120 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 #b13240f72f11fad3 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 #59dfe461675c5569 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 #6efc046feb261801 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 #05edd9e2345df769 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 #1535439807a9f4e5 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 #27123628c2477c52 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 #61b095cad19c5953 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 #d12a6d9e00b4fc3d 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 #5763fd187a0aef97 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 #b9fc9a6e7f2df4bb 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 #14ccb2da75f2d985 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 #5df0a3e8b91dda43 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 #3c007a4ebdfd18f3 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 #ca5581a34d682dbc 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 #390dfa3272a4f5bc 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 #0b383ff2e43dcd85 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 #80b61977c484d8b9 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 #072ed7e1d06975ae 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 #9a47840d3222c93c 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 #0d342a0fc797f4f8 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 #76109e0d251a771b 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 #921f43c6537d9707 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 #02b9087c029699f6 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 #b6b0a11cf3ca04d6 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 #32cf522ef01f543d 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 #1e979f38437c13ff 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 #7aafd2b349913448 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 #27b243cd5c8794a3 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 #8c372e0c98e92ae0 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 #245bb7291630e543 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 #6dc8b8278e746321 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 #74e3615ad444ee13 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 #61476ce84f96b375 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 #a3194a99cefdea0a 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 #b2bb1e7576fd90a8 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 #ee3e9b79995a7d2a 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 #234cf916d1bb9f6f 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 #00b3e38e1a541b75 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 #a8e736502df0dc34 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 #dcd53f47e149e324 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 #90e3e66ae9728d70 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 #a1facb2eb8c73daf 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 #63beaf0f8df65e6b 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 #80ee5d8d66f232f4 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 #1f188781ab84c85c 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 #aebdd0e44fff07f2 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 #2f5c88de0f6a9cc6 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 #c10cb32ba23be8dd 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 #246838f1bd32eb5a 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 #d93ae87e2647e9ca 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 #6746682760bbd3d8 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 #e82999e217788dbd 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 #883f115dba46ea0a 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 #fab2269ee2c332a0 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 #00b67d12bade1c7d 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 #708bbc23adaba01b Environment-variable access.
pkgs/npm/[email protected]/index.js:219
			: `${process.env.SYSTEMROOT || process.env.windir || 'C:\\Windows'}\\System32\\WindowsPowerShell\\v1.0\\powershell`;

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

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

puppeteer-core

npm dependency
expand_more 34 low-confidence finding(s)
low env_fs dependency Excluded from app score #fbd379bb11276353 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 #dfb3788cf847d378 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 #9e80f771dcf67ac2 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 #757948ff5f31ea1c 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 #731b81080fc452f0 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 #d68401bb3dab0bf4 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 #96b2ef79a0f72538 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 #c950b9edfda19ac7 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 #16d2b79472fe2da1 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 #1b3863606be96a01 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 #31d03e74003df11d 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 #41ab7e3bbfc1e63a 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 #5c6960ebfc165df1 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 #695fa9a3eab9ede2 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 #66735d4921d50c5a 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 #94142f58b60ba024 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 #12ef0c602e687dec 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 #93f2690b1f7a5d36 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 #d8452911a5eda197 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 #591676807b4c885e 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 #e5ca8d869b2e3b51 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 #87ffbb5f1c8f1059 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 #dc1cc4767de4ea90 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 #e681c6b5af8ccec5 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 #4685b59a78ad35c1 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 #c866249a856a70a0 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 #c7aa980ec43eae35 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 #b7a29bc9bbfd602e 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 #35bcab6f9c857f2d 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 #ee07cbc7d47439cd 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 #3b733a840bc5f144 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 #ff3d41876538917c 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 #36f3c40630f161cc 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 #f4d885a19db5f65a 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 #d2e8f192d564b7d8 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 #aba393ead697da20 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 #67dac708f434cebe 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 #b281a42b4b4df8e4 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 #eeb6f172ff3dc57c 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 #14363c3fcdc94c4c 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 #a57f8839eca7aa42 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 #47399f0faa654b58 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 #437e1dd9ad1104f7 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 #b168023cb218eab7 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 #39bba1c94e81b39f 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 #57a34c09cc704987 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 #fac8d388ebea3fb3 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 #333349fa9d4b6181 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 #15428fd8bace34e8 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 #bff5666fd19cccf2 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 #b5bd9a019613e871 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 #068301a8ff642e65 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 #bb8092e5528aacdf 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 #d222b4b237c13303 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 #1b9f41ddd8a94f05 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 #3c328ab64ddd0bba 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 #5d0494876f1784bc 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 #13bef85b28875cff 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 #04d100443772b1e7 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 #3fe3c0cb4d39954b 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 #f169d367c5beb83b 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 #5c5370c56a802635 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 #4b105c85c34a3f6b 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 #ecaf24a82e391a59 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 #5f517058d92f60bb 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 #ae679237f9977a06 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 #6b3126ffbe11709c 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 #81a38767ab68be18 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 #2eaab30a73abec0d 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 #e72b30dbbfe36738 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 #dd3da189f15a691b 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 #526e6309d0750832 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 #fa4668bef4ccef0f 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 #b97133e12379cb95 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 #471fec6172fd219e 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 #d0b17586a053b976 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 #acde0b26111c9d86 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 #abb36128ab3ad7b7 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 #51c650c4f22a8ffc 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 #44f7204977f4e126 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 #1b9c1e91fc0b5440 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 #b2a1918d7683fd7d 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 #67ccdd3212b4e80d 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 #b46a9374899ad568 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 #2469774c3ac5d26e 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 #b2c90e0fd99b716b 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 #eff7af35c0125220 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 #ece8e0f580703108 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 #720760bc534e0f8e 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 #2f3b5b429e58cec0 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 #539d2622c1a981d0 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 #a429f3a820303ce0 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 #59b29ed1edd71fca 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 #2d26f05a3a7bf209 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 #31a59c23f8899fb7 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 #a7a40dd303b5c7b1 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 #7839dc5592c04b43 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 #f1e128790fbc26dd 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 #f4b499df0f5ed154 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 #c837b5eb65e242f5 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 #beb86649e30a4790 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 #2afc0387d4402283 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 #3d20972e43239752 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 #b8c7174ababe02b9 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 #4a3e73f91d4f8f75 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 #0d5a226290ba9a9a 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 #d968c001707be6b0 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 #df6b13f917f5726d 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 #e4ea6e04b47b3b43 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 #5d082f8141a39963 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 #2f4784d14aabea90 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 #9947b412fa2f9c42 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 #8c078ee42299f313 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