Close Open Privacy Scan

bolt Snapshot: commit 23843e9
science engine v1.22
schedule 2026-07-21T02:07:31.370378+00:00

verified_user No application data leak found

No high-confidence exfiltration was found in application code.

smart_toy MCP server detected: @modelcontextprotocol/sdk — detected in dependencies, not a safety judgment.

App Privacy Score

82 /100
Low privacy risk

Low risk · 264 finding(s)

Dependency score: 82 (Low risk)

bar_chart Score Breakdown

egress −15
env_fs −3

list Scan Summary

0 high 0 medium 264 low
First-party packages: 5
Dependency packages: 8
Ecosystem: npm

swap_horiz External domains

api.github.comcaca.zoy.orgcdn.jsdelivr.netcontext7.comgithub.comlogin.microsoftonline.commcp.context7.comraw.githubusercontent.comregistry.npmjs.orgsam.zoy.orgwww.googleapis.comwww.rfc-editor.org

</> First-Party Code

first-party (npm): packages/cli

npm first-party
expand_more 118 low-confidence finding(s)
low env_fs test-only Excluded from app score #b5249a921f854d22 Filesystem access.
repo/packages/cli/src/__tests__/auth-utils.test.ts:19
import * as fs from "fs";

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

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

low env_fs test-only Excluded from app score #7ae74a840df841ef Filesystem access.
repo/packages/cli/src/__tests__/find-docs-skill-alignment.test.ts:2
import { readFile } from "fs/promises";

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

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

low env_fs test-only Excluded from app score #3b93f835c1724bef Filesystem access.
repo/packages/cli/src/__tests__/find-docs-skill-alignment.test.ts:12
    const skill = await 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 test-only Excluded from app score #e75c8a4a4424608a Filesystem access.
repo/packages/cli/src/__tests__/find-docs-skill-alignment.test.ts:20
    const skill = await 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 test-only Excluded from app score #4584151d9ffb298a Filesystem access.
repo/packages/cli/src/__tests__/find-docs-skill-alignment.test.ts:21
    const rule = await readFile(rulePath, "utf-8");

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

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

low env_fs test-only Excluded from app score #99eb3110491da0d4 Filesystem access.
repo/packages/cli/src/__tests__/find-docs-skill-alignment.test.ts:29
    const skill = await 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 test-only Excluded from app score #3a5259503ef55c4a Filesystem access.
repo/packages/cli/src/__tests__/installer.test.ts:2
import { mkdir, readFile, writeFile, rm, access } from "fs/promises";

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

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

low env_fs test-only Excluded from app score #598d9c3de5772d3a Filesystem access.
repo/packages/cli/src/__tests__/installer.test.ts:91
    const written = await readFile(join(skillsRoot, "good", "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 test-only Excluded from app score #74ac7616200a9862 Filesystem access.
repo/packages/cli/src/__tests__/installer.test.ts:136
    await writeFile(join(source, "marker"), "ok");

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

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

low env_fs test-only Excluded from app score #f19d5902b4a71b9e Filesystem access.
repo/packages/cli/src/__tests__/installer.test.ts:140
    const linkedMarker = await readFile(join(skillsRoot, "good", "marker"), "utf8");

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

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

low env_fs test-only Excluded from app score #2cba058ab0454a89 Filesystem access.
repo/packages/cli/src/__tests__/installer.test.ts:149
    await writeFile(sentinel, "sentinel");

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

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

low env_fs test-only Excluded from app score #199516a015916876 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:3
import { mkdir, readFile, writeFile, rm, access } from "fs/promises";

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

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

low env_fs test-only Excluded from app score #e68519628372eb22 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:77
    await writeFile(rulePath, "cursor rule", "utf-8");

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

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

low env_fs test-only Excluded from app score #975288a93b1a6cdb Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:78
    await writeFile(cliSkillPath, "find docs", "utf-8");

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

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

low env_fs test-only Excluded from app score #86cb7644bb22bcfa Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:79
    await writeFile(mcpSkillPath, "mcp skill", "utf-8");

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

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

low env_fs test-only Excluded from app score #8469c7d72f5deeb9 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:103
    await writeFile(
      agentsPath,
      "# Before\n\n<!-- context7 -->\nrule body\n<!-- context7 -->\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 test-only Excluded from app score #eef232cd1a615ef7 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:108
    await writeFile(
      tomlPath,
      'model = "gpt-5"\n\n[mcp_servers.context7]\nurl = "https://mcp.context7.com/mcp"\n\n[mcp_servers.other]\nurl = "https://other.com"\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 test-only Excluded from app score #1faaff5278dbea2d Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:113
    await writeFile(mcpSkillPath, "mcp skill", "utf-8");

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

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

low env_fs test-only Excluded from app score #eabeb1173675c061 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:114
    await writeFile(cliSkillPath, "find docs", "utf-8");

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

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

low env_fs test-only Excluded from app score #8e8d6fcd59e2cffe Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:118
    const agentsContent = await readFile(agentsPath, "utf-8");

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

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

low env_fs test-only Excluded from app score #eb62bc12021641f4 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:119
    const tomlContent = await readFile(tomlPath, "utf-8");

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

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

low env_fs test-only Excluded from app score #a1234cfacefff482 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:142
    await writeFile(
      agentsPath,
      "# Before\n\n<!-- context7 -->\nrule body\n<!-- context7 -->\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 test-only Excluded from app score #46d3cf87e51e598f Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:147
    await writeFile(
      tomlPath,
      '[mcp_servers.context7]\nurl = "https://mcp.context7.com/mcp"\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 test-only Excluded from app score #22539c0cb6696237 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:152
    await writeFile(mcpSkillPath, "mcp skill", "utf-8");

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

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

low env_fs test-only Excluded from app score #971f162fc43257f2 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:153
    await writeFile(cliSkillPath, "find docs", "utf-8");

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

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

low env_fs test-only Excluded from app score #8e3a488145d77679 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:157
    const agentsContent = await readFile(agentsPath, "utf-8");

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

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

low env_fs test-only Excluded from app score #3a08ce261c398ea6 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:161
    expect(await readFile(tomlPath, "utf-8")).not.toContain("[mcp_servers.context7]");

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

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

low env_fs test-only Excluded from app score #f79afbaba6bf0ffa Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:177
    await writeFile(rulePath, "cursor rule", "utf-8");

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

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

low env_fs test-only Excluded from app score #6294d6af74bfc35b Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:178
    await writeFile(cliSkillPath, "find docs", "utf-8");

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

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

low env_fs test-only Excluded from app score #e07b3a0c53c0dab4 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:179
    await writeFile(mcpSkillPath, "mcp skill", "utf-8");

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

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

low env_fs test-only Excluded from app score #fd3e2cec24f1e498 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:205
    await writeFile(
      agentsPath,
      "# Before\n\n<!-- context7 -->\nrule body\n<!-- context7 -->\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 test-only Excluded from app score #c40d277df2c3042c Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:210
    await writeFile(
      tomlPath,
      '[mcp_servers.context7]\nurl = "https://mcp.context7.com/mcp"\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 test-only Excluded from app score #e9692a8c12cac68e Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:215
    await writeFile(mcpSkillPath, "mcp skill", "utf-8");

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

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

low env_fs test-only Excluded from app score #34dfd05283b4ac5a Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:216
    await writeFile(cliSkillPath, "find docs", "utf-8");

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

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

low env_fs test-only Excluded from app score #03eda2c35ace27b0 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:227
    expect(await readFile(tomlPath, "utf-8")).toContain("[mcp_servers.context7]");

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

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

low env_fs test-only Excluded from app score #ed2548df49af15bf Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:242
    await writeFile(
      agentsPath,
      "# Before\n\n<!-- context7 -->\nrule body\n<!-- context7 -->\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 test-only Excluded from app score #abdba8741360032a Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:247
    await writeFile(
      tomlPath,
      '[mcp_servers.context7]\nurl = "https://mcp.context7.com/mcp"\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 test-only Excluded from app score #268f0ed00532a4e1 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:252
    await writeFile(mcpSkillPath, "mcp skill", "utf-8");

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

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

low env_fs test-only Excluded from app score #43f93ca4e1ffa394 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:266
    await writeFile(
      mcpPath,
      JSON.stringify(
        {
          theme: "dark",
          mcpServers: {
            alpha: { url: "https://alpha.com" },
            context7: { url: "https://mcp.context7.com/mcp" },
            omega: { url: "https://omega.com" },
          },
          telemetry: { enabled: true },
        },
        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 test-only Excluded from app score #5154ec1f8a427559 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:286
    expect(JSON.parse(await readFile(mcpPath, "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 test-only Excluded from app score #d3e977dc7b31c377 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:299
    await writeFile(
      configPath,
      `{
  // keep this file functional after removing Context7
  "theme": "night",
  "mcp": {
    "alpha": { "type": "remote", "url": "https://alpha.com", "enabled": true },
    "context7": { "type": "remote", "url": "https://mcp.context7.com/mcp", "enabled": true },
    "omega": { "type": "remote", "url": "https://omega.com", "enabled": false }
  },
  "telemetry": { "enabled": true }
}
`,
      "utf-8"
    );

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

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

low env_fs test-only Excluded from app score #69c3a372fea6e962 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:317
    expect(JSON.parse(await readFile(configPath, "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 test-only Excluded from app score #33b2525d6ba0f33e Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:334
    await writeFile(rulePath, "cursor rule", "utf-8");

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

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

low env_fs test-only Excluded from app score #2d1d0bedc5e68733 Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:335
    await writeFile(cliSkillPath, "find docs", "utf-8");

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

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

low env_fs test-only Excluded from app score #627e499b4b8c7c5d Filesystem access.
repo/packages/cli/src/__tests__/remove.test.ts:350
    await writeFile(join(tempDir, ".gemini", "settings.json"), "{}", "utf-8");

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

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

low env_fs test-only Excluded from app score #7356db482fa4cadf Filesystem access.
repo/packages/cli/src/__tests__/skill-list.test.ts:3
import { mkdir, rm, realpath } from "fs/promises";

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

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

low env_fs test-only Excluded from app score #813903f7c65ef1e7 Filesystem access.
repo/packages/cli/src/__tests__/update-check.test.ts:2
import { mkdir, readFile, rm, writeFile } from "fs/promises";

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

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

low env_fs test-only Excluded from app score #a62caf85352d230c Filesystem access.
repo/packages/cli/src/__tests__/update-check.test.ts:183
      await readFile(join(fakeHome, ".local", "state", "context7", "cli-state.json"), "utf-8")

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

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

low env_fs test-only Excluded from app score #315b123e26a469ca Filesystem access.
repo/packages/cli/src/__tests__/update-check.test.ts:224
      await readFile(join(stateHome, "context7", "cli-state.json"), "utf-8")

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

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

low env_fs test-only Excluded from app score #aa44eb6e6c28d3c9 Filesystem access.
repo/packages/cli/src/__tests__/update-check.test.ts:240
    await writeFile(
      join(legacyDir, "cli-state.json"),
      JSON.stringify({ latestVersion: "9.9.9", lastCheckedAt: 1000 }),
      "utf-8"
    );

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

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

low env_fs test-only Excluded from app score #bc17825580e9869f Filesystem access.
repo/packages/cli/src/__tests__/update-check.test.ts:270
        await readFile(join(fakeHome, ".local", "state", "context7", "cli-state.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 egress production #bc0cab1d1e19b581 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/commands/auth.ts:255
  const response = await fetch(`${getBaseUrl()}/api/dashboard/whoami`, {
    headers: {
      Authorization: `Bearer ${accessToken}`,
    },
  });

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 #7ae8ed147728c4c2 Filesystem access.
repo/packages/cli/src/commands/generate.ts:4
import { mkdir, writeFile, readFile, unlink } from "fs/promises";

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

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

low env_fs production #c674e1bab785ac66 Filesystem access.
repo/packages/cli/src/commands/generate.ts:436
        await writeFile(previewFile, generatedContent!, "utf-8");

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

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

low env_fs production #ed3532e864ebbf72 Environment-variable access.
repo/packages/cli/src/commands/generate.ts:439
      const editor = process.env.EDITOR || "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 #64c6631699c53f4d Filesystem access.
repo/packages/cli/src/commands/generate.ts:450
        generatedContent = await readFile(previewFile, "utf-8");

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

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

low env_fs production #648acdcfc9827b8b Filesystem access.
repo/packages/cli/src/commands/generate.ts:528
      await writeFile(skillPath, generatedContent!, "utf-8");

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

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

low env_fs production #c6f4b7cf98743c07 Filesystem access.
repo/packages/cli/src/commands/remove.ts:17
import { access, readFile, rm, writeFile } from "fs/promises";

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

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

low env_fs production #b38f9a3c0492e3df Filesystem access.
repo/packages/cli/src/commands/remove.ts:236
    const existing = await 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 #023015e3894be750 Filesystem access.
repo/packages/cli/src/commands/remove.ts:377
    const existing = await 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 #6154273083d8e514 Filesystem access.
repo/packages/cli/src/commands/remove.ts:392
      await writeFile(filePath, `${updated}\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 #a70d99903e3a874f Filesystem access.
repo/packages/cli/src/commands/setup.ts:5
import { mkdir, readFile, writeFile } from "fs/promises";

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

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

low egress production #bfd3068a2b607fbd Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/commands/setup.ts:110
    const response = await fetch(`${getBaseUrl()}/api/dashboard/api-keys`, {
      method: "POST",
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({ name: `ctx7-cli-${randomBytes(3).toString("hex")}` }),
    });

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 #7f89e6fa53dd62e8 Filesystem access.
repo/packages/cli/src/commands/setup.ts:243
    await writeFile(rulePath, 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 #941a8855f0aab335 Filesystem access.
repo/packages/cli/src/commands/setup.ts:254
    existing = await 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 #bbc171dbead65829 Filesystem access.
repo/packages/cli/src/commands/setup.ts:262
    await writeFile(filePath, updated, "utf-8");

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

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

low env_fs production #91009418646cecc3 Filesystem access.
repo/packages/cli/src/commands/setup.ts:269
  await writeFile(filePath, existing + separator + section + "\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 #c3d4f6a09e86dc15 Filesystem access.
repo/packages/cli/src/commands/skill.ts:4
import { readdir, rm } from "fs/promises";

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

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

low env_fs production #21652d28218cfaa3 Filesystem access.
repo/packages/cli/src/constants.ts:1
import { readFileSync } from "fs";

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

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

low env_fs production #d233000daa53e5da Filesystem access.
repo/packages/cli/src/constants.ts:6
const pkg = JSON.parse(readFileSync(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.

low env_fs production #e83880c39fcc7b45 Filesystem access.
repo/packages/cli/src/setup/agents.ts:1
import { access } from "fs/promises";

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

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

low env_fs production #a0dd7fa0e78d1875 Environment-variable access.
repo/packages/cli/src/setup/agents.ts:44
  return process.env.CLAUDE_CONFIG_DIR || join(homedir(), ".claude");

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

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

low env_fs production #9fb8717513751a56 Environment-variable access.
repo/packages/cli/src/setup/agents.ts:48
  if (process.env.CLAUDE_CONFIG_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 #9a6cf131ef945100 Filesystem access.
repo/packages/cli/src/setup/mcp-writer.ts:1
import { access, readFile, writeFile, mkdir } from "fs/promises";

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

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

low env_fs production #76fef382d609e2f2 Filesystem access.
repo/packages/cli/src/setup/mcp-writer.ts:33
    raw = await 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 #1fac8d766777d4bc Filesystem access.
repo/packages/cli/src/setup/mcp-writer.ts:107
  await writeFile(filePath, JSON.stringify(config, null, 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 #36cf0cf664ace80f Filesystem access.
repo/packages/cli/src/setup/mcp-writer.ts:112
    const raw = await 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 #ab07b098cbb67f80 Filesystem access.
repo/packages/cli/src/setup/mcp-writer.ts:132
    raw = await 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 #bc05e240b0631ed5 Filesystem access.
repo/packages/cli/src/setup/mcp-writer.ts:259
    existing = await 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 #44b3563658d29467 Filesystem access.
repo/packages/cli/src/setup/mcp-writer.ts:290
    await 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 #7e035b1d04758627 Filesystem access.
repo/packages/cli/src/setup/mcp-writer.ts:295
    await writeFile(filePath, existing + separator + block, "utf-8");

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

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

low env_fs production #0d114d5f269d7762 Filesystem access.
repo/packages/cli/src/setup/mcp-writer.ts:307
    existing = await 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 #5ccff0507f39272f Filesystem access.
repo/packages/cli/src/setup/mcp-writer.ts:338
  await writeFile(filePath, content.length > 0 ? `${content}\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 egress production #360e6e10ff64aab9 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/setup/templates.ts:44
      const res = await fetch(`${base}/${filename}`);

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 #d0bd20b32baa86ca Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/api.ts:31
  const response = await fetch(`${baseUrl}/api/v2/skills?${params}`);

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 #c0657cd6ce1295d5 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/api.ts:37
  const response = await fetch(`${baseUrl}/api/v2/skills?${params}`);

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 #530b4725e1c3e62b Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/api.ts:43
  const response = await fetch(`${baseUrl}/api/v2/skills?${params}`);

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 #0e65d2fc4f37003d Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/api.ts:55
  const response = await fetch(`${baseUrl}/api/v2/skills/suggest`, {
    method: "POST",
    headers,
    body: JSON.stringify({ dependencies }),
  });

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 #213d27e650b32fb6 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/api.ts:115
  const response = await fetch(`${baseUrl}/api/v2/libs/search?${params}`, { headers });

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress production #f767e7b74c3244fd Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/api.ts:120
  const response = await fetch(`${baseUrl}/api/v2/skills/quota`, {
    headers: { Authorization: `Bearer ${accessToken}` },
  });

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 #cefd4b79761cc97f Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/api.ts:149
  const response = await fetch(`${baseUrl}/api/v2/skills/questions`, {
    method: "POST",
    headers,
    body: JSON.stringify({ libraries, motivation }),
  });

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 #f2ecb6d07711ce04 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/api.ts:176
  const response = await fetch(`${baseUrl}/api/v2/skills/generate`, {
    method: "POST",
    headers,
    body: JSON.stringify(input),
  });

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 #5a7da24fcd37c356 Environment-variable access.
repo/packages/cli/src/utils/api.ts:274
  const apiKey = process.env.CONTEXT7_API_KEY;

Reads environment variables or the filesystem — 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 #0b5c3c3e6a0d8aa6 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/api.ts:293
  const response = await fetch(`${baseUrl}/api/v2/libs/search?${params}`, {
    headers: getAuthHeaders(accessToken),
  });

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 #4d5fb772011949ec Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/api.ts:327
  const response = await fetch(`${baseUrl}/api/v2/context?${params}`, {
    headers,
  });

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low env_fs production #2fd8d8ede5b29c3b Filesystem access.
repo/packages/cli/src/utils/auth.ts:1
import * as fs from "fs";

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

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

low env_fs production #e9c041d72ccd83c4 Filesystem access.
repo/packages/cli/src/utils/auth.ts:43
  fs.writeFileSync(credentialsFile, JSON.stringify(data, null, 2), { mode: CREDENTIALS_MODE });

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

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

low env_fs production #2768756ba36a8620 Filesystem access.
repo/packages/cli/src/utils/auth.ts:58
    const data = JSON.parse(fs.readFileSync(credentialsFile, "utf-8"));

Reads environment variables or the filesystem — 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 #cb76cd9d9bef31de Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/auth.ts:205
    return await fetch(url, {
      method: "POST",
      headers: { "Content-Type": "application/x-www-form-urlencoded" },
      body: params.toString(),
    });

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 #6ff6fcf1e6d535f3 Filesystem access.
repo/packages/cli/src/utils/deps.ts:1
import { readFile } from "fs/promises";

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

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

low env_fs production #f9252c2d54623d6c Filesystem access.
repo/packages/cli/src/utils/deps.ts:6
    return await 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 #07c01cf232aa362a Environment-variable access.
repo/packages/cli/src/utils/github.ts:85
  const envToken = process.env.GITHUB_TOKEN || process.env.GH_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 egress production #01237a2b2cb3f70e Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/github.ts:177
  const response = await fetch(treeUrl, { headers });

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress production #30f023dce7bf296d Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/github.ts:187
  const response = await fetch(`${GITHUB_API}/repos/${owner}/${repo}`, { headers });

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress production #fb82577958505dce Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/github.ts:223
      const response = await fetch(rawUrl, { headers });

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress production #de0f1c65744d3360 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/github.ts:290
      const fileResponse = await fetch(rawUrl, { headers: ghHeaders });

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 #e4972028b94de57d Filesystem access.
repo/packages/cli/src/utils/ide.ts:3
import { access } from "fs/promises";

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

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

low env_fs production #1da4b84607a152f3 Filesystem access.
repo/packages/cli/src/utils/installer.ts:1
import { mkdir, writeFile, rm, symlink, lstat } from "fs/promises";

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

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

low env_fs production #a0282aa51f042819 Filesystem access.
repo/packages/cli/src/utils/installer.ts:29
    await writeFile(filePath, file.content);

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

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

low env_fs production #ba561f36fe2a09cd Filesystem access.
repo/packages/cli/src/utils/storage-paths.ts:1
import * as fs from "fs";

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

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

low env_fs production #3606d3e848772644 Filesystem access.
repo/packages/cli/src/utils/storage-paths.ts:2
import { access, chmod, mkdir, rename } from "fs/promises";

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

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

low env_fs production #41ac9f469f09bb40 Environment-variable access.
repo/packages/cli/src/utils/storage-paths.ts:16
  const value = 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 #65c8ab8f47ae601c Environment-variable access.
repo/packages/cli/src/utils/tracking.ts:4
  if (process.env.CTX7_TELEMETRY_DISABLED) return;

Reads environment variables or the filesystem — 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 #d353da8c56d3c599 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/tracking.ts:5
  fetch(`${getBaseUrl()}/api/v2/cli/events`, {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({ event, data }),
  }).catch(() => {});

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 #d32564f1bac9a702 Filesystem access.
repo/packages/cli/src/utils/update-check.ts:2
import { mkdir, readFile, writeFile } from "fs/promises";

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

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

low env_fs production #8a38968c271419fd Filesystem access.
repo/packages/cli/src/utils/update-check.ts:76
    const raw = await readFile(await readStateFilePath(stateFile), "utf-8");

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

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

low env_fs production #0d11f99aee884a89 Filesystem access.
repo/packages/cli/src/utils/update-check.ts:86
  await writeFile(path, JSON.stringify(state, null, 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 egress production #2a7cc84683c9ae9c Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/cli/src/utils/update-check.ts:201
    const response = await fetch(
      `https://registry.npmjs.org/${encodeURIComponent(packageName)}/latest`,
      {
        headers: { Accept: "application/json" },
        signal: AbortSignal.timeout(1500),
      }
    );

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.

first-party (npm): packages/mcp

npm first-party
expand_more 21 low-confidence finding(s)
low egress production #060983d435ae691b Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/mcp/src/index.ts:559
          const response = await fetch(`${authServerUrl}/.well-known/oauth-authorization-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 env_fs production #1252a218cb472601 Environment-variable access.
repo/packages/mcp/src/index.ts:623
    stdioApiKey = cliOptions.apiKey || process.env.CONTEXT7_API_KEY;

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

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

low env_fs production #fe8f1d4fa5368193 Filesystem access.
repo/packages/mcp/src/lib/api.ts:5
import { readFileSync } from "fs";

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

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

low env_fs production #18c4b79c416d555e Environment-variable access.
repo/packages/mcp/src/lib/api.ts:41
  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 #68600fc9cbec8d67 Environment-variable access.
repo/packages/mcp/src/lib/api.ts:42
  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 #db486df9a0634e70 Environment-variable access.
repo/packages/mcp/src/lib/api.ts:43
  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 #0f2fe5715fa76fd7 Environment-variable access.
repo/packages/mcp/src/lib/api.ts:44
  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 #fa86de53d324d223 Environment-variable access.
repo/packages/mcp/src/lib/api.ts:47
const CUSTOM_CA_CERTS: string | undefined = process.env.NODE_EXTRA_CA_CERTS;

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

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

low env_fs production #4d5768623bdf8fc7 Filesystem access.
repo/packages/mcp/src/lib/api.ts:60
    const customCa = readFileSync(customCACertsPath, "utf-8");

Reads environment variables or the filesystem — 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 #9711b489fa424fc0 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/mcp/src/lib/api.ts:122
    const response = await fetch(url, { headers });

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress production #9f78f68a69e0efcb Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/mcp/src/lib/api.ts:155
    const response = await fetch(url, { headers });

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low env_fs production #efc9b0a60004f4df Filesystem access.
repo/packages/mcp/src/lib/constants.ts:1
import { readFileSync } from "fs";

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

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

low env_fs production #2b4f69ca05c4fc46 Filesystem access.
repo/packages/mcp/src/lib/constants.ts:6
const pkg = JSON.parse(readFileSync(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.

low env_fs production #e92f424d4e655904 Environment-variable access.
repo/packages/mcp/src/lib/constants.ts:14
export const CONTEXT7_API_BASE_URL = process.env.CONTEXT7_API_URL || `${CONTEXT7_BASE_URL}/api`;

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

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

low env_fs production #4a3795089ad20d40 Environment-variable access.
repo/packages/mcp/src/lib/constants.ts:15
export const RESOURCE_URL = process.env.RESOURCE_URL || MCP_RESOURCE_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 #23a94e5e2f2f3d76 Environment-variable access.
repo/packages/mcp/src/lib/constants.ts:16
export const AUTH_SERVER_URL = process.env.AUTH_SERVER_URL || CONTEXT7_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 #5c2415377fb2fdbe Environment-variable access.
repo/packages/mcp/src/lib/constants.ts:21
export const EMA_JWKS_URL = process.env.EMA_JWKS_URL || `${CONTEXT7_API_BASE_URL}/oauth/ema-jwks`;

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

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

low env_fs production #42e65c5c4284af33 Environment-variable access.
repo/packages/mcp/src/lib/constants.ts:22
export const OPENAI_APPS_CHALLENGE_TOKEN = process.env.OPENAI_APPS_CHALLENGE_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 #038693e689079a20 Environment-variable access.
repo/packages/mcp/src/lib/encryption.ts:6
const ENCRYPTION_KEY = process.env.CLIENT_IP_ENCRYPTION_KEY || DEFAULT_ENCRYPTION_KEY;

Reads environment variables or the filesystem — 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 #4f81e398f3859810 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/mcp/src/lib/jwt.ts:44
    const res = await fetch(
      `${CONTEXT7_API_BASE_URL}/v2/entra/config/${encodeURIComponent(audience)}`
    );

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 #14b96c4ff3960980 Environment-variable access.
repo/packages/mcp/src/lib/redis.ts:10
  if (!process.env.UPSTASH_REDIS_REST_URL || !process.env.UPSTASH_REDIS_REST_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.

first-party (npm): packages/pi

npm first-party
expand_more 6 low-confidence finding(s)
low env_fs production #ef13b9b39178f0aa Environment-variable access.
repo/packages/pi/lib/api.ts:11
  const apiKey = process.env.CONTEXT7_API_KEY;

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

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

low env_fs production #ce53845278660284 Environment-variable access.
repo/packages/pi/lib/api.ts:23
  const hasKey = Boolean(process.env.CONTEXT7_API_KEY);

Reads environment variables or the filesystem — 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 #3a446967e9725cc9 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/pi/lib/api.ts:39
  const url = new URL(`${BASE_URL}/v2/libs/search`);

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 #aac360bcfee109a6 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/pi/lib/api.ts:43
  const response = await fetch(url, { headers: authHeaders() });

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 #270d6d1c042ff6e8 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/pi/lib/api.ts:51
  const url = new URL(`${BASE_URL}/v2/context`);

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 #b8431d2412f7785d Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/pi/lib/api.ts:55
  const response = await fetch(url, { headers: authHeaders() });

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.

first-party (npm): packages/sdk

npm first-party
expand_more 18 low-confidence finding(s)
low env_fs test-only Excluded from app score #90da0fe8deba6b73 Environment-variable access.
repo/packages/sdk/src/client.test.ts:6
  const apiKey = process.env.CONTEXT7_API_KEY || process.env.API_KEY!;

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

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

low env_fs test-only Excluded from app score #0a359f25bf91337b Environment-variable access.
repo/packages/sdk/src/client.test.ts:20
      const originalEnv = process.env.CONTEXT7_API_KEY;

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

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

low env_fs test-only Excluded from app score #3592a585480cd5c3 Environment-variable access.
repo/packages/sdk/src/client.test.ts:21
      const originalApiKey = process.env.API_KEY;

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

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

low env_fs test-only Excluded from app score #d28a1863fe76e683 Environment-variable access.
repo/packages/sdk/src/client.test.ts:23
      delete process.env.CONTEXT7_API_KEY;

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

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

low env_fs test-only Excluded from app score #699a96bdf5d68b2b Environment-variable access.
repo/packages/sdk/src/client.test.ts:24
      delete process.env.API_KEY;

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

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

low env_fs test-only Excluded from app score #2502697d40f25cc6 Environment-variable access.
repo/packages/sdk/src/client.test.ts:30
      if (originalEnv) process.env.CONTEXT7_API_KEY = originalEnv;

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

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

low env_fs test-only Excluded from app score #2f067645346afab2 Environment-variable access.
repo/packages/sdk/src/client.test.ts:31
      if (originalApiKey) process.env.API_KEY = originalApiKey;

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

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

low env_fs production #5c1fb6d77c29cefd Environment-variable access.
repo/packages/sdk/src/client.ts:22
    const apiKey = config.apiKey || process.env.CONTEXT7_API_KEY;

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

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

low env_fs test-only Excluded from app score #0d5937bc48be8427 Environment-variable access.
repo/packages/sdk/src/commands/get-context/index.test.ts:39
      apiKey: process.env.CONTEXT7_API_KEY || process.env.API_KEY!,

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

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

low env_fs test-only Excluded from app score #147a15cde08e9d95 Environment-variable access.
repo/packages/sdk/src/commands/get-context/index.test.ts:56
      apiKey: process.env.CONTEXT7_API_KEY || process.env.API_KEY!,

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

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

low env_fs test-only Excluded from app score #b1a785960e1b53a4 Environment-variable access.
repo/packages/sdk/src/commands/search-library/index.test.ts:28
      apiKey: process.env.CONTEXT7_API_KEY || process.env.API_KEY!,

Reads environment variables or the filesystem — 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 test-only Excluded from app score #376d5e0433e298a6 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/sdk/src/http/index.test.ts:32
    await expect(newClient().request({ path: ["search"] })).rejects.toThrowError(

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 test-only Excluded from app score #28a9e643dda3be9d Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/sdk/src/http/index.test.ts:45
    const error = await newClient()
      .request({ path: ["search"] })

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 test-only Excluded from app score #9bf8ea1571cf8996 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/sdk/src/http/index.test.ts:62
    const error = await newClient()
      .request({ path: ["search"] })

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 test-only Excluded from app score #92e0a51a36cc4c43 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/sdk/src/http/index.test.ts:74
    const error = await newClient()
      .request({ path: ["search"] })

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 #8633f60645806dea Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/sdk/src/http/index.ts:155
        res = await fetch(url, requestOptions 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 #7fc6b9f4253a4a46 Environment-variable access.
repo/packages/sdk/src/utils/test-utils.ts:4
  const apiKey = process.env.CONTEXT7_API_KEY || process.env.API_KEY;

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

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

low env_fs production #640e6a21a387315c Environment-variable access.
repo/packages/sdk/src/utils/test-utils.ts:11
    baseUrl: process.env.CONTEXT7_BASE_URL || "https://context7.com/api",

Reads environment variables or the 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/tools-ai-sdk

npm first-party
expand_more 2 low-confidence finding(s)
low env_fs test-only Excluded from app score #ea478ebe25bc9b4a Environment-variable access.
repo/packages/tools-ai-sdk/src/index.test.ts:15
  region: process.env.AWS_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 test-only Excluded from app score #ef6459d04eb933a1 Environment-variable access.
repo/packages/tools-ai-sdk/src/index.test.ts:16
  apiKey: process.env.AWS_BEARER_TOKEN_BEDROCK,

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

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

</> Dependencies

@modelcontextprotocol/sdk

npm dependency
expand_more 38 low-confidence finding(s)
low egress tooling Excluded from app score unknown #77fc6dab54bd027e Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/scripts/cli.ts:54
    await client.request({ method: 'resources/list' }, ListResourcesResultSchema);

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 tooling Excluded from app score unknown #4ba315502dc69355 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/scripts/fetch-spec-types.ts:16
    const response = await fetch(url);

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress tooling Excluded from app score unknown #f7d51ffc3d62dc52 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/scripts/fetch-spec-types.ts:32
    const response = await fetch(url);

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low env_fs tooling Excluded from app score unknown #663dfd719da2e713 Filesystem access.
pkgs/npm/@[email protected]__reposrc/scripts/fetch-spec-types.ts:77
        writeFileSync(outputPath, fullContent, 'utf-8');

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

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

low env_fs dependency Excluded from app score #5f75c14e979d0d02 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/client/stdio.ts:71
        const value = process.env[key];

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

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

low egress tooling Excluded from app score unknown #3d81e9609ea91e30 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/elicitationUrlExample.ts:632
        const toolsResult = await client.request(toolsRequest, ListToolsResultSchema);

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 tooling Excluded from app score unknown #33fa1dd31f9f6159 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/elicitationUrlExample.ts:663
        const result = await client.request(request, CallToolResultSchema);

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 tooling Excluded from app score unknown #dca4bdb8571cd67a Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/multipleClientsParallel.ts:64
        const result = await client.request(toolRequest, CallToolResultSchema);

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 tooling Excluded from app score unknown #4f29e8d69b305d46 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/parallelToolCallsClient.ts:95
        const toolsResult = await client.request(toolsRequest, ListToolsResultSchema);

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 tooling Excluded from app score unknown #dc6eeec6ee37b101 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/parallelToolCallsClient.ts:167
            return client
                .request(request, CallToolResultSchema)

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 tooling Excluded from app score unknown #5156159889e32595 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleClientCredentials.ts:26
const DEFAULT_SERVER_URL = process.env.MCP_SERVER_URL || 'http://localhost:3000/mcp';

Reads environment variables or the filesystem — an inventory-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 #813afa1aad99deca Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleClientCredentials.ts:29
    const clientId = process.env.MCP_CLIENT_ID;

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

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

low env_fs tooling Excluded from app score unknown #ece1cbe5c494fcc4 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleClientCredentials.ts:36
    const privateKeyPem = process.env.MCP_CLIENT_PRIVATE_KEY_PEM;

Reads environment variables or the filesystem — an inventory-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 #68f056569afa2f04 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleClientCredentials.ts:38
        const algorithm = process.env.MCP_CLIENT_ALGORITHM || 'RS256';

Reads environment variables or the filesystem — an inventory-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 #b808ff146a5469bb Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleClientCredentials.ts:48
    const clientSecret = process.env.MCP_CLIENT_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 egress tooling Excluded from app score unknown #1e2ac6b43db3a812 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleOAuthClient.ts:232
            const result = await this.client.request(request, ListToolsResultSchema);

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 tooling Excluded from app score unknown #df91e27df0d460aa Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleOAuthClient.ts:290
            const result = await this.client.request(request, CallToolResultSchema);

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 tooling Excluded from app score unknown #3ac745b9513bfe59 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleStreamableHttp.ts:510
                const resourcesResult = await client.request(
                    {
                        method: 'resources/list',
                        params: {}
                    },
                    ListResourcesResultSchema
                );

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 tooling Excluded from app score unknown #fb72d4e684d37915 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleStreamableHttp.ts:601
        const toolsResult = await client.request(toolsRequest, ListToolsResultSchema);

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 tooling Excluded from app score unknown #c88b996e83fe1b09 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleStreamableHttp.ts:632
        const result = await client.request(request, CallToolResultSchema);

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 tooling Excluded from app score unknown #a37a58ba5d6693be Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleStreamableHttp.ts:719
        const result = await client.request(request, CallToolResultSchema, {
            resumptionToken: notificationsToolLastEventId,
            onresumptiontoken: onLastEventIdUpdate
        });

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 tooling Excluded from app score unknown #f116f6ddb9be3f7f Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleStreamableHttp.ts:748
        const promptsResult = await client.request(promptsRequest, ListPromptsResultSchema);

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 tooling Excluded from app score unknown #1f1ed497e7891432 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleStreamableHttp.ts:777
        const promptResult = await client.request(promptRequest, GetPromptResultSchema);

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 tooling Excluded from app score unknown #adbf20fd9b6b817c Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleStreamableHttp.ts:798
        const resourcesResult = await client.request(resourcesRequest, ListResourcesResultSchema);

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 tooling Excluded from app score unknown #2425617e944ab51b Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/simpleStreamableHttp.ts:826
        const result = await client.request(request, ReadResourceResultSchema);

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 tooling Excluded from app score unknown #63f5465c4a145276 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/ssePollingClient.ts:75
        const result = await client.request(
            {
                method: 'tools/call',
                params: {
                    name: 'long-task',
                    arguments: {}
                }
            },
            CallToolResultSchema,
            {
                // Track resumption tokens for debugging
                onresumptiontoken: token => {
                    lastEventId = token;
                    console.log(`[Event ID] ${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 egress tooling Excluded from app score unknown #f988debf39567dde Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/streamableHttpWithSseFallbackClient.ts:139
        const toolsResult = await client.request(toolsRequest, ListToolsResultSchema);

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 tooling Excluded from app score unknown #0e7b4f55b64ea6d1 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/client/streamableHttpWithSseFallbackClient.ts:172
        const result = await client.request(request, CallToolResultSchema);

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 tooling Excluded from app score unknown #d1ed2b29371e6cda Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/examples/server/elicitationFormExample.ts:350
    const PORT = process.env.PORT ? parseInt(process.env.PORT, 10) : 3000;

Reads environment variables or the filesystem — an inventory-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 #9304f1b74f3530ab Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/examples/server/elicitationUrlExample.ts:215
const MCP_PORT = process.env.MCP_PORT ? parseInt(process.env.MCP_PORT, 10) : 3000;

Reads environment variables or the filesystem — an inventory-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 #713e909ba53f17bf Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/examples/server/elicitationUrlExample.ts:216
const AUTH_PORT = process.env.MCP_AUTH_PORT ? parseInt(process.env.MCP_AUTH_PORT, 10) : 3001;

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

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

low egress tooling Excluded from app score unknown #d25df727f6b42162 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/server/elicitationUrlExample.ts:245
        const response = await fetch(endpoint, {
            method: 'POST',
            headers: {
                'Content-Type': 'application/x-www-form-urlencoded'
            },
            body: new URLSearchParams({
                token: token
            }).toString()
        });

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 tooling Excluded from app score unknown #f155898f9537af4d Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/examples/server/honoWebStandardStreamableHttp.ts:69
const PORT = process.env.MCP_PORT ? parseInt(process.env.MCP_PORT, 10) : 3000;

Reads environment variables or the filesystem — an inventory-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 #469aa569c5bf2cc8 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/examples/server/simpleStreamableHttp.ts:621
const MCP_PORT = process.env.MCP_PORT ? parseInt(process.env.MCP_PORT, 10) : 3000;

Reads environment variables or the filesystem — an inventory-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 #c1879e32f702b31a Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/examples/server/simpleStreamableHttp.ts:622
const AUTH_PORT = process.env.MCP_AUTH_PORT ? parseInt(process.env.MCP_AUTH_PORT, 10) : 3001;

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

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

low egress tooling Excluded from app score unknown #68defaaa6f23eb28 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__reposrc/src/examples/server/simpleStreamableHttp.ts:643
            const response = await fetch(endpoint, {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/x-www-form-urlencoded'
                },
                body: new URLSearchParams({
                    token: token
                }).toString()
            });

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 tooling Excluded from app score unknown #cba2fad4ee40b4d6 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/examples/server/simpleTaskInteractive.ts:448
const PORT = process.env.PORT ? parseInt(process.env.PORT, 10) : 8000;

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

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

low env_fs dependency Excluded from app score #4d58472406a57cfe Environment-variable access.
pkgs/npm/@[email protected]__reposrc/src/server/auth/router.ts:12
    process.env.MCP_DANGEROUSLY_ALLOW_INSECURE_ISSUER_URL === 'true' || process.env.MCP_DANGEROUSLY_ALLOW_INSECURE_ISSUER_URL === '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.

@upstash/redis

npm dependency
expand_more 16 low-confidence finding(s)
low egress dependency Excluded from app score #2330dc8534e4087a Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/chunk-2X4SLXT7.mjs:170
        res = await fetch(requestUrl, requestOptions);

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #841845a19811fcba Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/chunk-2X4SLXT7.mjs:376
    const { result, error } = await client.request({
      body: this.command,
      path: this.path,
      upstashSyncToken: client.upstashSyncToken,
      headers: this.headers,
      onMessage: this.onMessage,
      isStreaming: this.isStreaming,
      signal: this.signal
    });

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #781fd0d125bcb572 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/chunk-2X4SLXT7.mjs:3057
    const res = await this.client.request({
      path,
      body: Object.values(this.commands).map((c) => c.command)
    });

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #a94d154d27821e3a Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/cloudflare.js:191
        res = await fetch(requestUrl, requestOptions);

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #b755ca21d85c976d Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/cloudflare.js:613
    const { result, error } = await client.request({
      body: this.command,
      path: this.path,
      upstashSyncToken: client.upstashSyncToken,
      headers: this.headers,
      onMessage: this.onMessage,
      isStreaming: this.isStreaming,
      signal: this.signal
    });

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #f44eb2cce3d248b3 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/cloudflare.js:3480
    const res = await this.client.request({
      path,
      body: Object.values(this.commands).map((c) => c.command)
    });

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #3b4996188c2b635f Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/fastly.js:191
        res = await fetch(requestUrl, requestOptions);

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #7a9ab69a0b539d13 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/fastly.js:613
    const { result, error } = await client.request({
      body: this.command,
      path: this.path,
      upstashSyncToken: client.upstashSyncToken,
      headers: this.headers,
      onMessage: this.onMessage,
      isStreaming: this.isStreaming,
      signal: this.signal
    });

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #6f2554058da3b5e0 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/fastly.js:3480
    const res = await this.client.request({
      path,
      body: Object.values(this.commands).map((c) => c.command)
    });

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #511480342b7b6763 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/nodejs.js:193
        res = await fetch(requestUrl, requestOptions);

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #ccc849acf403fa08 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/nodejs.js:615
    const { result, error } = await client.request({
      body: this.command,
      path: this.path,
      upstashSyncToken: client.upstashSyncToken,
      headers: this.headers,
      onMessage: this.onMessage,
      isStreaming: this.isStreaming,
      signal: this.signal
    });

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress dependency Excluded from app score #21ab161080a9df97 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/nodejs.js:3482
    const res = await this.client.request({
      path,
      body: Object.values(this.commands).map((c) => c.command)
    });

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low env_fs dependency Excluded from app score #c000e1de95326665 Environment-variable access.
pkgs/npm/@[email protected]/nodejs.js:5712
    const url = process.env.UPSTASH_REDIS_REST_URL || process.env.KV_REST_API_URL;

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

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

low env_fs dependency Excluded from app score #f0723df0f2c098fa Environment-variable access.
pkgs/npm/@[email protected]/nodejs.js:5716
    const token = process.env.UPSTASH_REDIS_REST_TOKEN || process.env.KV_REST_API_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 dependency Excluded from app score #2ce84f5c06eb1089 Environment-variable access.
pkgs/npm/@[email protected]/nodejs.mjs:272
    const url = process.env.UPSTASH_REDIS_REST_URL || process.env.KV_REST_API_URL;

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

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

low env_fs dependency Excluded from app score #9796b1fcdf2dbaa9 Environment-variable access.
pkgs/npm/@[email protected]/nodejs.mjs:276
    const token = process.env.UPSTASH_REDIS_REST_TOKEN || process.env.KV_REST_API_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.

commander

npm dependency
expand_more 5 low-confidence finding(s)
low env_fs dependency Excluded from app score #df012ae6f9ade65b Environment-variable access.
pkgs/npm/[email protected]/lib/command.js:1992
            this.emit(`optionEnv:${option.name()}`, process.env[option.envVar]);

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

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

low env_fs dependency Excluded from app score #7682a5bc622bdde9 Environment-variable access.
pkgs/npm/[email protected]/lib/command.js:2782
    process.env.NO_COLOR ||

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

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

low env_fs dependency Excluded from app score #6c994e145ee2e8f8 Environment-variable access.
pkgs/npm/[email protected]/lib/command.js:2783
    process.env.FORCE_COLOR === '0' ||

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

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

low env_fs dependency Excluded from app score #488159e2db0f7164 Environment-variable access.
pkgs/npm/[email protected]/lib/command.js:2784
    process.env.FORCE_COLOR === 'false'

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

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

low env_fs dependency Excluded from app score #fc4ea4229e627f03 Environment-variable access.
pkgs/npm/[email protected]/lib/command.js:2787
  if (process.env.FORCE_COLOR || process.env.CLICOLOR_FORCE !== undefined)

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

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

express

npm dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #1734423f2e907022 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.

figlet

npm dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #bdc248fb5c3e3e9e Filesystem access.
pkgs/npm/[email protected]/bin/index.js:5
import fs from 'fs';

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

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

low env_fs dependency Excluded from app score #2aca3fc91aaed2ec Filesystem access.
pkgs/npm/[email protected]/bin/index.js:15
  fs.readFileSync(path.join(__dirname, '../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.

jose

npm dependency
expand_more 23 low-confidence finding(s)
low env_fs dependency Excluded from app score #b5babda94b227777 Filesystem access.
pkgs/npm/[email protected]__reposrc/tap/.browser.ts:5
const script = readFileSync('./tap/run-browser.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 egress dependency Excluded from app score #39ef56f0bc9ca0d4 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/tap/jwks.ts:11
    const response = await fetch(jwksUri).then((r) => r.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 egress dependency Excluded from app score #f4e07ad7d05d0abc Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/tap/jwks.ts:14
    const jwks = lib.createRemoteJWKSet(new URL(jwksUri))

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 tooling Excluded from app score unknown #1512423b8b9d2829 Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/iife-to-umd.cjs:1
const { readFileSync, writeFileSync } = require('fs')

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

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

low env_fs tooling Excluded from app score unknown #1eb0299586d57d10 Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/iife-to-umd.cjs:14
  let code = 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 tooling Excluded from app score unknown #092536aa92b07d1b Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/iife-to-umd.cjs:28
  writeFileSync(file, 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 tooling Excluded from app score unknown #9d9b804e26ee9c57 Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/postbump.cjs:4
const { readFileSync, writeFileSync, globSync } = require('fs')

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

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

low env_fs tooling Excluded from app score unknown #858f7c62dd49a6ae Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/postbump.cjs:7
const readme = readFileSync('docs/README.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 tooling Excluded from app score unknown #65bda13a82949649 Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/postbump.cjs:18
  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 tooling Excluded from app score unknown #9c50491355f642fa Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/postbump.cjs:21
  writeFileSync(file, 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 tooling Excluded from app score unknown #df55e5bc612cda56 Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/postbump.cjs:23
writeFileSync('docs/README.md', readme)

Reads environment variables or the filesystem — an inventory-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 #7b206cab818ede31 Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/postbump.cjs:35
writeFileSync(
  'dist/deno/README.md',
  readFileSync('docs/readme.md', { encoding: 'utf-8' })
    .replace(/^`jose` is distributed.+$\n\n/m, '')
    .replace(
      /\*\*[\s\S]+```/gm,
      `**\`example\`** Deno import
\`\`\`js
import * as jose from 'https://deno.land/x/jose@${tagName}/index.ts'
\`\`\``,
    )
    .replace(/(\]\()(?!https)/gm, `](https://github.com/panva/jose/blob/${tagName}/docs/`),
)

Reads environment variables or the filesystem — an inventory-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 #62578938e5600210 Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/postbump.cjs:37
  readFileSync('docs/readme.md', { encoding: 'utf-8' })

Reads environment variables or the filesystem — an inventory-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 #a8c4c1e188cf7fec Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/postbump.cjs:64
  writeFileSync(path, readFileSync(path, { encoding: 'utf-8' }).replace(regex, replacement))

Reads environment variables or the filesystem — an inventory-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 #a6126e89e42c2257 Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/postbump.cjs:108
  writeFileSync(file, trimExcessComment(filterExamples(readFileSync(file, { encoding: 'utf-8' }))))

Reads environment variables or the filesystem — an inventory-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 #9fa287d42b8dc093 Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/prebump.cjs:2
const { readFileSync, writeFileSync } = require('fs')

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

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

low env_fs tooling Excluded from app score unknown #c943c2d6f8651865 Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/prebump.cjs:11
writeFileSync(path, readFileSync(path, { encoding: 'utf-8' }).replace(/v(\d+\.\d+\.\d+)/g, tagName))

Reads environment variables or the filesystem — an inventory-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 #849789d41b21e296 Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/publish.cjs:1
const { readFileSync, writeFileSync, unlinkSync } = require('fs')

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

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

low env_fs tooling Excluded from app score unknown #8a6838fdbb0c9e30 Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/publish.cjs:3
const pkg = JSON.parse(readFileSync('./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 tooling Excluded from app score unknown #b1018354a01829fa Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/publish.cjs:8
writeFileSync('./package.json', `${JSON.stringify(pkg, null, 2)}\n`)

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

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

low env_fs tooling Excluded from app score unknown #ef2a7f2726364f93 Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/release-notes.cjs:1
const fs = require('fs')

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

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

low env_fs tooling Excluded from app score unknown #fe9ed71cd023bfb9 Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/release-notes.cjs:8
fs.writeFileSync(
  'notes.md',
  fs
    .readFileSync('CHANGELOG.diff')
    .toString()
    .split('\n')
    .filter((line) => line.startsWith('+') && !line.startsWith('+++'))
    .map((line) => line.slice(1))
    .slice(3)
    .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 tooling Excluded from app score unknown #2f6cbe0fc579e628 Filesystem access.
pkgs/npm/[email protected]__reposrc/tools/release-notes.cjs:10
  fs
    .readFileSync('CHANGELOG.diff')

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

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

ora

npm dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #cdb278aa342fc83f Environment-variable access.
pkgs/npm/[email protected]/index.js:161
		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.

undici

npm dependency
expand_more 13 low-confidence finding(s)
low env_fs dependency Excluded from app score #b50616a0e95652c7 Environment-variable access.
pkgs/npm/[email protected]/lib/dispatcher/client-h1.js:68
  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 #de9499c23e3fd6d0 Environment-variable access.
pkgs/npm/[email protected]/lib/dispatcher/client-h1.js:75
  if (process.env.UNDICI_NO_WASM_SIMD === '1') {

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

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

low env_fs dependency Excluded from app score #d35fa259d602c6b4 Environment-variable access.
pkgs/npm/[email protected]/lib/dispatcher/client-h1.js:77
  } else if (process.env.UNDICI_NO_WASM_SIMD === '0') {

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

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

low egress dependency Excluded from app score #d20c68a6b830deb3 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/[email protected]/lib/dispatcher/client-h2.js:851
    return session.request(headers, options)

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low env_fs dependency Excluded from app score #649cdfd9a6c647fe 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 #fdebace939ddae68 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 #b7f37fcecb1cefed Environment-variable access.
pkgs/npm/[email protected]/lib/dispatcher/env-http-proxy-agent.js:142
    return process.env.no_proxy ?? process.env.NO_PROXY ?? ''

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

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

low env_fs dependency Excluded from app score #90e37dec531c1e62 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 #cd7b1673d9e52362 Filesystem access.
pkgs/npm/[email protected]/lib/mock/snapshot-recorder.js:424
      const data = await readFile(resolve(path), 'utf8')

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

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

low env_fs dependency Excluded from app score #640d92e00729e468 Filesystem access.
pkgs/npm/[email protected]/lib/mock/snapshot-recorder.js:470
    await writeFile(resolvedPath, JSON.stringify(data, null, 2), { flush: true })

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

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

low env_fs tooling Excluded from app score unknown #6a7a215f85891bdd 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 #7380661d2e52764a 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 #bb941d92d2415cc9 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.

Skipped dependencies

Production

  • @inquirer/core prod — dist-only: no readable source
  • @inquirer/type prod — dist-only: no readable source
  • @inquirer/prompts prod — dist-only: no readable source